Annotation of embedaddon/quagga/configure, revision 1.1.1.2

1.1       misho       1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.1.1.2 ! misho       3: # Generated by GNU Autoconf 2.68 for Quagga 0.99.20.1.
1.1       misho       4: #
                      5: # Report bugs to <https://bugzilla.quagga.net>.
                      6: #
                      7: #
                      8: # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
                      9: # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
                     10: # Foundation, Inc.
                     11: #
                     12: #
                     13: # This configure script is free software; the Free Software Foundation
                     14: # gives unlimited permission to copy, distribute and modify it.
                     15: ## -------------------- ##
                     16: ## M4sh Initialization. ##
                     17: ## -------------------- ##
                     18: 
                     19: # Be more Bourne compatible
                     20: DUALCASE=1; export DUALCASE # for MKS sh
                     21: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
                     22:   emulate sh
                     23:   NULLCMD=:
                     24:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
                     25:   # is contrary to our usage.  Disable this feature.
                     26:   alias -g '${1+"$@"}'='"$@"'
                     27:   setopt NO_GLOB_SUBST
                     28: else
                     29:   case `(set -o) 2>/dev/null` in #(
                     30:   *posix*) :
                     31:     set -o posix ;; #(
                     32:   *) :
                     33:      ;;
                     34: esac
                     35: fi
                     36: 
                     37: 
                     38: as_nl='
                     39: '
                     40: export as_nl
                     41: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                     42: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                     43: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                     44: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                     45: # Prefer a ksh shell builtin over an external printf program on Solaris,
                     46: # but without wasting forks for bash or zsh.
                     47: if test -z "$BASH_VERSION$ZSH_VERSION" \
                     48:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                     49:   as_echo='print -r --'
                     50:   as_echo_n='print -rn --'
                     51: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                     52:   as_echo='printf %s\n'
                     53:   as_echo_n='printf %s'
                     54: else
                     55:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                     56:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                     57:     as_echo_n='/usr/ucb/echo -n'
                     58:   else
                     59:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                     60:     as_echo_n_body='eval
                     61:       arg=$1;
                     62:       case $arg in #(
                     63:       *"$as_nl"*)
                     64:        expr "X$arg" : "X\\(.*\\)$as_nl";
                     65:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                     66:       esac;
                     67:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                     68:     '
                     69:     export as_echo_n_body
                     70:     as_echo_n='sh -c $as_echo_n_body as_echo'
                     71:   fi
                     72:   export as_echo_body
                     73:   as_echo='sh -c $as_echo_body as_echo'
                     74: fi
                     75: 
                     76: # The user is always right.
                     77: if test "${PATH_SEPARATOR+set}" != set; then
                     78:   PATH_SEPARATOR=:
                     79:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                     80:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                     81:       PATH_SEPARATOR=';'
                     82:   }
                     83: fi
                     84: 
                     85: 
                     86: # IFS
                     87: # We need space, tab and new line, in precisely that order.  Quoting is
                     88: # there to prevent editors from complaining about space-tab.
                     89: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                     90: # splitting by setting IFS to empty value.)
                     91: IFS=" ""       $as_nl"
                     92: 
                     93: # Find who we are.  Look in the path if we contain no directory separator.
                     94: as_myself=
                     95: case $0 in #((
                     96:   *[\\/]* ) as_myself=$0 ;;
                     97:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                     98: for as_dir in $PATH
                     99: do
                    100:   IFS=$as_save_IFS
                    101:   test -z "$as_dir" && as_dir=.
                    102:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                    103:   done
                    104: IFS=$as_save_IFS
                    105: 
                    106:      ;;
                    107: esac
                    108: # We did not find ourselves, most probably we were run as `sh COMMAND'
                    109: # in which case we are not to be found in the path.
                    110: if test "x$as_myself" = x; then
                    111:   as_myself=$0
                    112: fi
                    113: if test ! -f "$as_myself"; then
                    114:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                    115:   exit 1
                    116: fi
                    117: 
                    118: # Unset variables that we do not need and which cause bugs (e.g. in
                    119: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                    120: # suppresses any "Segmentation fault" message there.  '((' could
                    121: # trigger a bug in pdksh 5.2.14.
                    122: for as_var in BASH_ENV ENV MAIL MAILPATH
                    123: do eval test x\${$as_var+set} = xset \
                    124:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                    125: done
                    126: PS1='$ '
                    127: PS2='> '
                    128: PS4='+ '
                    129: 
                    130: # NLS nuisances.
                    131: LC_ALL=C
                    132: export LC_ALL
                    133: LANGUAGE=C
                    134: export LANGUAGE
                    135: 
                    136: # CDPATH.
                    137: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                    138: 
                    139: if test "x$CONFIG_SHELL" = x; then
                    140:   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
                    141:   emulate sh
                    142:   NULLCMD=:
                    143:   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
                    144:   # is contrary to our usage.  Disable this feature.
                    145:   alias -g '\${1+\"\$@\"}'='\"\$@\"'
                    146:   setopt NO_GLOB_SUBST
                    147: else
                    148:   case \`(set -o) 2>/dev/null\` in #(
                    149:   *posix*) :
                    150:     set -o posix ;; #(
                    151:   *) :
                    152:      ;;
                    153: esac
                    154: fi
                    155: "
                    156:   as_required="as_fn_return () { (exit \$1); }
                    157: as_fn_success () { as_fn_return 0; }
                    158: as_fn_failure () { as_fn_return 1; }
                    159: as_fn_ret_success () { return 0; }
                    160: as_fn_ret_failure () { return 1; }
                    161: 
                    162: exitcode=0
                    163: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
                    164: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
                    165: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
                    166: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
                    167: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
                    168: 
                    169: else
                    170:   exitcode=1; echo positional parameters were not saved.
                    171: fi
                    172: test x\$exitcode = x0 || exit 1"
                    173:   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
                    174:   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
                    175:   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
                    176:   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
                    177: test \$(( 1 + 1 )) = 2 || exit 1
                    178: 
                    179:   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
                    180:     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                    181:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
                    182:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
                    183:     PATH=/empty FPATH=/empty; export PATH FPATH
                    184:     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
                    185:       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
                    186:   if (eval "$as_required") 2>/dev/null; then :
                    187:   as_have_required=yes
                    188: else
                    189:   as_have_required=no
                    190: fi
                    191:   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
                    192: 
                    193: else
                    194:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                    195: as_found=false
                    196: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                    197: do
                    198:   IFS=$as_save_IFS
                    199:   test -z "$as_dir" && as_dir=.
                    200:   as_found=:
                    201:   case $as_dir in #(
                    202:         /*)
                    203:           for as_base in sh bash ksh sh5; do
                    204:             # Try only shells that exist, to save several forks.
                    205:             as_shell=$as_dir/$as_base
                    206:             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
                    207:                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
                    208:   CONFIG_SHELL=$as_shell as_have_required=yes
                    209:                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
                    210:   break 2
                    211: fi
                    212: fi
                    213:           done;;
                    214:        esac
                    215:   as_found=false
                    216: done
                    217: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
                    218:              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
                    219:   CONFIG_SHELL=$SHELL as_have_required=yes
                    220: fi; }
                    221: IFS=$as_save_IFS
                    222: 
                    223: 
                    224:       if test "x$CONFIG_SHELL" != x; then :
                    225:   # We cannot yet assume a decent shell, so we have to provide a
                    226:        # neutralization value for shells without unset; and this also
                    227:        # works around shells that cannot unset nonexistent variables.
                    228:        # Preserve -v and -x to the replacement shell.
                    229:        BASH_ENV=/dev/null
                    230:        ENV=/dev/null
                    231:        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
                    232:        export CONFIG_SHELL
                    233:        case $- in # ((((
                    234:          *v*x* | *x*v* ) as_opts=-vx ;;
                    235:          *v* ) as_opts=-v ;;
                    236:          *x* ) as_opts=-x ;;
                    237:          * ) as_opts= ;;
                    238:        esac
                    239:        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
                    240: fi
                    241: 
                    242:     if test x$as_have_required = xno; then :
                    243:   $as_echo "$0: This script requires a shell more modern than all"
                    244:   $as_echo "$0: the shells that I found on your system."
                    245:   if test x${ZSH_VERSION+set} = xset ; then
                    246:     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
                    247:     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
                    248:   else
                    249:     $as_echo "$0: Please tell bug-autoconf@gnu.org and
                    250: $0: https://bugzilla.quagga.net about your system,
                    251: $0: including any error possibly output before this
                    252: $0: message. Then install a modern shell, or manually run
                    253: $0: the script under such a shell if you do have one."
                    254:   fi
                    255:   exit 1
                    256: fi
                    257: fi
                    258: fi
                    259: SHELL=${CONFIG_SHELL-/bin/sh}
                    260: export SHELL
                    261: # Unset more variables known to interfere with behavior of common tools.
                    262: CLICOLOR_FORCE= GREP_OPTIONS=
                    263: unset CLICOLOR_FORCE GREP_OPTIONS
                    264: 
                    265: ## --------------------- ##
                    266: ## M4sh Shell Functions. ##
                    267: ## --------------------- ##
                    268: # as_fn_unset VAR
                    269: # ---------------
                    270: # Portably unset VAR.
                    271: as_fn_unset ()
                    272: {
                    273:   { eval $1=; unset $1;}
                    274: }
                    275: as_unset=as_fn_unset
                    276: 
                    277: # as_fn_set_status STATUS
                    278: # -----------------------
                    279: # Set $? to STATUS, without forking.
                    280: as_fn_set_status ()
                    281: {
                    282:   return $1
                    283: } # as_fn_set_status
                    284: 
                    285: # as_fn_exit STATUS
                    286: # -----------------
                    287: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                    288: as_fn_exit ()
                    289: {
                    290:   set +e
                    291:   as_fn_set_status $1
                    292:   exit $1
                    293: } # as_fn_exit
                    294: 
                    295: # as_fn_mkdir_p
                    296: # -------------
                    297: # Create "$as_dir" as a directory, including parents if necessary.
                    298: as_fn_mkdir_p ()
                    299: {
                    300: 
                    301:   case $as_dir in #(
                    302:   -*) as_dir=./$as_dir;;
                    303:   esac
                    304:   test -d "$as_dir" || eval $as_mkdir_p || {
                    305:     as_dirs=
                    306:     while :; do
                    307:       case $as_dir in #(
                    308:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                    309:       *) as_qdir=$as_dir;;
                    310:       esac
                    311:       as_dirs="'$as_qdir' $as_dirs"
                    312:       as_dir=`$as_dirname -- "$as_dir" ||
                    313: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                    314:         X"$as_dir" : 'X\(//\)[^/]' \| \
                    315:         X"$as_dir" : 'X\(//\)$' \| \
                    316:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                    317: $as_echo X"$as_dir" |
                    318:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                    319:            s//\1/
                    320:            q
                    321:          }
                    322:          /^X\(\/\/\)[^/].*/{
                    323:            s//\1/
                    324:            q
                    325:          }
                    326:          /^X\(\/\/\)$/{
                    327:            s//\1/
                    328:            q
                    329:          }
                    330:          /^X\(\/\).*/{
                    331:            s//\1/
                    332:            q
                    333:          }
                    334:          s/.*/./; q'`
                    335:       test -d "$as_dir" && break
                    336:     done
                    337:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                    338:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                    339: 
                    340: 
                    341: } # as_fn_mkdir_p
                    342: # as_fn_append VAR VALUE
                    343: # ----------------------
                    344: # Append the text in VALUE to the end of the definition contained in VAR. Take
                    345: # advantage of any shell optimizations that allow amortized linear growth over
                    346: # repeated appends, instead of the typical quadratic growth present in naive
                    347: # implementations.
                    348: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                    349:   eval 'as_fn_append ()
                    350:   {
                    351:     eval $1+=\$2
                    352:   }'
                    353: else
                    354:   as_fn_append ()
                    355:   {
                    356:     eval $1=\$$1\$2
                    357:   }
                    358: fi # as_fn_append
                    359: 
                    360: # as_fn_arith ARG...
                    361: # ------------------
                    362: # Perform arithmetic evaluation on the ARGs, and store the result in the
                    363: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                    364: # must be portable across $(()) and expr.
                    365: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                    366:   eval 'as_fn_arith ()
                    367:   {
                    368:     as_val=$(( $* ))
                    369:   }'
                    370: else
                    371:   as_fn_arith ()
                    372:   {
                    373:     as_val=`expr "$@" || test $? -eq 1`
                    374:   }
                    375: fi # as_fn_arith
                    376: 
                    377: 
                    378: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                    379: # ----------------------------------------
                    380: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                    381: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                    382: # script with STATUS, using 1 if that was 0.
                    383: as_fn_error ()
                    384: {
                    385:   as_status=$1; test $as_status -eq 0 && as_status=1
                    386:   if test "$4"; then
                    387:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                    388:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                    389:   fi
                    390:   $as_echo "$as_me: error: $2" >&2
                    391:   as_fn_exit $as_status
                    392: } # as_fn_error
                    393: 
                    394: if expr a : '\(a\)' >/dev/null 2>&1 &&
                    395:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                    396:   as_expr=expr
                    397: else
                    398:   as_expr=false
                    399: fi
                    400: 
                    401: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                    402:   as_basename=basename
                    403: else
                    404:   as_basename=false
                    405: fi
                    406: 
                    407: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                    408:   as_dirname=dirname
                    409: else
                    410:   as_dirname=false
                    411: fi
                    412: 
                    413: as_me=`$as_basename -- "$0" ||
                    414: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                    415:         X"$0" : 'X\(//\)$' \| \
                    416:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                    417: $as_echo X/"$0" |
                    418:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                    419:            s//\1/
                    420:            q
                    421:          }
                    422:          /^X\/\(\/\/\)$/{
                    423:            s//\1/
                    424:            q
                    425:          }
                    426:          /^X\/\(\/\).*/{
                    427:            s//\1/
                    428:            q
                    429:          }
                    430:          s/.*/./; q'`
                    431: 
                    432: # Avoid depending upon Character Ranges.
                    433: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                    434: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                    435: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                    436: as_cr_digits='0123456789'
                    437: as_cr_alnum=$as_cr_Letters$as_cr_digits
                    438: 
                    439: 
                    440:   as_lineno_1=$LINENO as_lineno_1a=$LINENO
                    441:   as_lineno_2=$LINENO as_lineno_2a=$LINENO
                    442:   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
                    443:   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
                    444:   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
                    445:   sed -n '
                    446:     p
                    447:     /[$]LINENO/=
                    448:   ' <$as_myself |
                    449:     sed '
                    450:       s/[$]LINENO.*/&-/
                    451:       t lineno
                    452:       b
                    453:       :lineno
                    454:       N
                    455:       :loop
                    456:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
                    457:       t loop
                    458:       s/-\n.*//
                    459:     ' >$as_me.lineno &&
                    460:   chmod +x "$as_me.lineno" ||
                    461:     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
                    462: 
                    463:   # Don't try to exec as it changes $[0], causing all sort of problems
                    464:   # (the dirname of $[0] is not the place where we might find the
                    465:   # original and so on.  Autoconf is especially sensitive to this).
                    466:   . "./$as_me.lineno"
                    467:   # Exit status is that of the last command.
                    468:   exit
                    469: }
                    470: 
                    471: ECHO_C= ECHO_N= ECHO_T=
                    472: case `echo -n x` in #(((((
                    473: -n*)
                    474:   case `echo 'xy\c'` in
                    475:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                    476:   xy)  ECHO_C='\c';;
                    477:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                    478:        ECHO_T='        ';;
                    479:   esac;;
                    480: *)
                    481:   ECHO_N='-n';;
                    482: esac
                    483: 
                    484: rm -f conf$$ conf$$.exe conf$$.file
                    485: if test -d conf$$.dir; then
                    486:   rm -f conf$$.dir/conf$$.file
                    487: else
                    488:   rm -f conf$$.dir
                    489:   mkdir conf$$.dir 2>/dev/null
                    490: fi
                    491: if (echo >conf$$.file) 2>/dev/null; then
                    492:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                    493:     as_ln_s='ln -s'
                    494:     # ... but there are two gotchas:
                    495:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                    496:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
                    497:     # In both cases, we have to default to `cp -p'.
                    498:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
                    499:       as_ln_s='cp -p'
                    500:   elif ln conf$$.file conf$$ 2>/dev/null; then
                    501:     as_ln_s=ln
                    502:   else
                    503:     as_ln_s='cp -p'
                    504:   fi
                    505: else
                    506:   as_ln_s='cp -p'
                    507: fi
                    508: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                    509: rmdir conf$$.dir 2>/dev/null
                    510: 
                    511: if mkdir -p . 2>/dev/null; then
                    512:   as_mkdir_p='mkdir -p "$as_dir"'
                    513: else
                    514:   test -d ./-p && rmdir ./-p
                    515:   as_mkdir_p=false
                    516: fi
                    517: 
                    518: if test -x / >/dev/null 2>&1; then
                    519:   as_test_x='test -x'
                    520: else
                    521:   if ls -dL / >/dev/null 2>&1; then
                    522:     as_ls_L_option=L
                    523:   else
                    524:     as_ls_L_option=
                    525:   fi
                    526:   as_test_x='
                    527:     eval sh -c '\''
                    528:       if test -d "$1"; then
                    529:        test -d "$1/.";
                    530:       else
                    531:        case $1 in #(
                    532:        -*)set "./$1";;
                    533:        esac;
                    534:        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
                    535:        ???[sx]*):;;*)false;;esac;fi
                    536:     '\'' sh
                    537:   '
                    538: fi
                    539: as_executable_p=$as_test_x
                    540: 
                    541: # Sed expression to map a string onto a valid CPP name.
                    542: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                    543: 
                    544: # Sed expression to map a string onto a valid variable name.
                    545: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                    546: 
                    547: SHELL=${CONFIG_SHELL-/bin/sh}
                    548: 
                    549: 
                    550: test -n "$DJDIR" || exec 7<&0 </dev/null
                    551: exec 6>&1
                    552: 
                    553: # Name of the host.
                    554: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
                    555: # so uname gets run too.
                    556: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
                    557: 
                    558: #
                    559: # Initializations.
                    560: #
                    561: ac_default_prefix=/usr/local
                    562: ac_clean_files=
                    563: ac_config_libobj_dir=.
                    564: LIBOBJS=
                    565: cross_compiling=no
                    566: subdirs=
                    567: MFLAGS=
                    568: MAKEFLAGS=
                    569: 
                    570: # Identity of this package.
                    571: PACKAGE_NAME='Quagga'
                    572: PACKAGE_TARNAME='quagga'
1.1.1.2 ! misho     573: PACKAGE_VERSION='0.99.20.1'
        !           574: PACKAGE_STRING='Quagga 0.99.20.1'
1.1       misho     575: PACKAGE_BUGREPORT='https://bugzilla.quagga.net'
                    576: PACKAGE_URL=''
                    577: 
                    578: ac_unique_file="lib/zebra.h"
                    579: # Factoring default headers for most tests.
                    580: ac_includes_default="\
                    581: #include <stdio.h>
                    582: #ifdef HAVE_SYS_TYPES_H
                    583: # include <sys/types.h>
                    584: #endif
                    585: #ifdef HAVE_SYS_STAT_H
                    586: # include <sys/stat.h>
                    587: #endif
                    588: #ifdef STDC_HEADERS
                    589: # include <stdlib.h>
                    590: # include <stddef.h>
                    591: #else
                    592: # ifdef HAVE_STDLIB_H
                    593: #  include <stdlib.h>
                    594: # endif
                    595: #endif
                    596: #ifdef HAVE_STRING_H
                    597: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
                    598: #  include <memory.h>
                    599: # endif
                    600: # include <string.h>
                    601: #endif
                    602: #ifdef HAVE_STRINGS_H
                    603: # include <strings.h>
                    604: #endif
                    605: #ifdef HAVE_INTTYPES_H
                    606: # include <inttypes.h>
                    607: #endif
                    608: #ifdef HAVE_STDINT_H
                    609: # include <stdint.h>
                    610: #endif
                    611: #ifdef HAVE_UNISTD_H
                    612: # include <unistd.h>
                    613: #endif"
                    614: 
                    615: ac_header_list=
                    616: ac_func_list=
                    617: ac_subst_vars='am__EXEEXT_FALSE
                    618: am__EXEEXT_TRUE
                    619: LTLIBOBJS
                    620: quagga_statedir
                    621: PILDFLAGS
                    622: PICFLAGS
                    623: CONFDATE
                    624: LIBCAP
                    625: SNMP_INCLUDES
                    626: LIB_REGEX
                    627: HAVE_LIBPCREPOSIX
                    628: OSPFAPI
                    629: OSPFCLIENT
                    630: CURSES
                    631: INCLUDES
                    632: VTYSH
                    633: SOLARIS
                    634: ISISD
                    635: WATCHQUAGGA
                    636: OSPF6D
                    637: OSPFD
                    638: RIPNGD
                    639: RIPD
                    640: BGPD
                    641: ZEBRA
                    642: DOC
                    643: LIB_IPV6
                    644: IPFORWARD
                    645: IF_PROC
                    646: IOCTL_METHOD
                    647: IF_METHOD
                    648: RTREAD_METHOD
                    649: OTHER_METHOD
                    650: KERNEL_METHOD
                    651: RT_METHOD
                    652: LIBM
                    653: LIBOBJS
                    654: LIBPAM
                    655: LIBREADLINE
                    656: PERL
                    657: MULTIPATH_NUM
                    658: enable_vty_group
                    659: enable_group
                    660: enable_user
                    661: ISIS_TOPOLOGY_LIB
                    662: ISIS_TOPOLOGY_DIR
                    663: ISIS_TOPOLOGY_INCLUDES
                    664: OTOOL64
                    665: OTOOL
                    666: LIPO
                    667: NMEDIT
                    668: DSYMUTIL
                    669: MANIFEST_TOOL
                    670: RANLIB
                    671: ac_ct_AR
                    672: DLLTOOL
                    673: OBJDUMP
                    674: NM
                    675: ac_ct_DUMPBIN
                    676: DUMPBIN
                    677: LD
                    678: FGREP
                    679: LIBTOOL
                    680: AR
                    681: LN_S
                    682: SED
                    683: EGREP
                    684: GREP
                    685: CPP
                    686: am__fastdepCC_FALSE
                    687: am__fastdepCC_TRUE
                    688: CCDEPMODE
1.1.1.2 ! misho     689: am__nodep
1.1       misho     690: AMDEPBACKSLASH
                    691: AMDEP_FALSE
                    692: AMDEP_TRUE
                    693: am__quote
                    694: am__include
                    695: DEPDIR
                    696: OBJEXT
                    697: EXEEXT
                    698: ac_ct_CC
                    699: CPPFLAGS
                    700: LDFLAGS
                    701: CFLAGS
                    702: CC
                    703: pkgsrcrcdir
                    704: pkgsrcdir
                    705: exampledir
                    706: GAWK
                    707: am__untar
                    708: am__tar
                    709: AMTAR
                    710: am__leading_dot
                    711: SET_MAKE
                    712: AWK
                    713: mkdir_p
                    714: MKDIR_P
                    715: INSTALL_STRIP_PROGRAM
                    716: STRIP
                    717: install_sh
                    718: MAKEINFO
                    719: AUTOHEADER
                    720: AUTOMAKE
                    721: AUTOCONF
                    722: ACLOCAL
                    723: VERSION
                    724: PACKAGE
                    725: CYGPATH_W
                    726: am__isrc
                    727: INSTALL_DATA
                    728: INSTALL_SCRIPT
                    729: INSTALL_PROGRAM
                    730: target_os
                    731: target_vendor
                    732: target_cpu
                    733: target
                    734: host_os
                    735: host_vendor
                    736: host_cpu
                    737: host
                    738: build_os
                    739: build_vendor
                    740: build_cpu
                    741: build
                    742: target_alias
                    743: host_alias
                    744: build_alias
                    745: LIBS
                    746: ECHO_T
                    747: ECHO_N
                    748: ECHO_C
                    749: DEFS
                    750: mandir
                    751: localedir
                    752: libdir
                    753: psdir
                    754: pdfdir
                    755: dvidir
                    756: htmldir
                    757: infodir
                    758: docdir
                    759: oldincludedir
                    760: includedir
                    761: localstatedir
                    762: sharedstatedir
                    763: sysconfdir
                    764: datadir
                    765: datarootdir
                    766: libexecdir
                    767: sbindir
                    768: bindir
                    769: program_transform_name
                    770: prefix
                    771: exec_prefix
                    772: PACKAGE_URL
                    773: PACKAGE_BUGREPORT
                    774: PACKAGE_STRING
                    775: PACKAGE_VERSION
                    776: PACKAGE_TARNAME
                    777: PACKAGE_NAME
                    778: PATH_SEPARATOR
                    779: SHELL'
                    780: ac_subst_files=''
                    781: ac_user_opts='
                    782: enable_option_checking
                    783: enable_exampledir
                    784: enable_pkgsrcrcdir
                    785: with_cflags
                    786: enable_dependency_tracking
                    787: enable_shared
                    788: enable_static
                    789: with_pic
                    790: enable_fast_install
                    791: with_gnu_ld
                    792: with_sysroot
                    793: enable_libtool_lock
                    794: enable_vtysh
                    795: enable_ipv6
                    796: enable_doc
                    797: enable_zebra
                    798: enable_bgpd
                    799: enable_ripd
                    800: enable_ripngd
                    801: enable_ospfd
                    802: enable_ospf6d
                    803: enable_watchquagga
                    804: enable_isisd
                    805: enable_solaris
                    806: enable_bgp_announce
                    807: enable_netlink
                    808: enable_broken_aliases
                    809: with_crypto
                    810: enable_snmp
                    811: with_libpam
                    812: enable_tcp_zebra
                    813: enable_opaque_lsa
                    814: enable_ospfapi
                    815: enable_ospfclient
                    816: enable_ospf_te
                    817: enable_multipath
                    818: enable_user
                    819: enable_group
                    820: enable_vty_group
                    821: enable_configfile_mask
                    822: enable_logfile_mask
                    823: enable_rtadv
                    824: enable_irdp
                    825: enable_isis_topology
                    826: enable_capabilities
                    827: enable_gcc_ultra_verbose
                    828: enable_linux24_tcp_md5
                    829: enable_gcc_rdynamic
                    830: enable_time_check
                    831: enable_pcreposix
                    832: enable_largefile
                    833: enable_pie
                    834: '
                    835:       ac_precious_vars='build_alias
                    836: host_alias
                    837: target_alias
                    838: GAWK
                    839: CC
                    840: CFLAGS
                    841: LDFLAGS
                    842: LIBS
                    843: CPPFLAGS
                    844: CPP'
                    845: 
                    846: 
                    847: # Initialize some variables set by options.
                    848: ac_init_help=
                    849: ac_init_version=false
                    850: ac_unrecognized_opts=
                    851: ac_unrecognized_sep=
                    852: # The variables have the same names as the options, with
                    853: # dashes changed to underlines.
                    854: cache_file=/dev/null
                    855: exec_prefix=NONE
                    856: no_create=
                    857: no_recursion=
                    858: prefix=NONE
                    859: program_prefix=NONE
                    860: program_suffix=NONE
                    861: program_transform_name=s,x,x,
                    862: silent=
                    863: site=
                    864: srcdir=
                    865: verbose=
                    866: x_includes=NONE
                    867: x_libraries=NONE
                    868: 
                    869: # Installation directory options.
                    870: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    871: # and all the variables that are supposed to be based on exec_prefix
                    872: # by default will actually change.
                    873: # Use braces instead of parens because sh, perl, etc. also accept them.
                    874: # (The list follows the same order as the GNU Coding Standards.)
                    875: bindir='${exec_prefix}/bin'
                    876: sbindir='${exec_prefix}/sbin'
                    877: libexecdir='${exec_prefix}/libexec'
                    878: datarootdir='${prefix}/share'
                    879: datadir='${datarootdir}'
                    880: sysconfdir='${prefix}/etc'
                    881: sharedstatedir='${prefix}/com'
                    882: localstatedir='${prefix}/var'
                    883: includedir='${prefix}/include'
                    884: oldincludedir='/usr/include'
                    885: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
                    886: infodir='${datarootdir}/info'
                    887: htmldir='${docdir}'
                    888: dvidir='${docdir}'
                    889: pdfdir='${docdir}'
                    890: psdir='${docdir}'
                    891: libdir='${exec_prefix}/lib'
                    892: localedir='${datarootdir}/locale'
                    893: mandir='${datarootdir}/man'
                    894: 
                    895: ac_prev=
                    896: ac_dashdash=
                    897: for ac_option
                    898: do
                    899:   # If the previous option needs an argument, assign it.
                    900:   if test -n "$ac_prev"; then
                    901:     eval $ac_prev=\$ac_option
                    902:     ac_prev=
                    903:     continue
                    904:   fi
                    905: 
                    906:   case $ac_option in
                    907:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
                    908:   *=)   ac_optarg= ;;
                    909:   *)    ac_optarg=yes ;;
                    910:   esac
                    911: 
                    912:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    913: 
                    914:   case $ac_dashdash$ac_option in
                    915:   --)
                    916:     ac_dashdash=yes ;;
                    917: 
                    918:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    919:     ac_prev=bindir ;;
                    920:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
                    921:     bindir=$ac_optarg ;;
                    922: 
                    923:   -build | --build | --buil | --bui | --bu)
                    924:     ac_prev=build_alias ;;
                    925:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
                    926:     build_alias=$ac_optarg ;;
                    927: 
                    928:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    929:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    930:     ac_prev=cache_file ;;
                    931:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    932:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
                    933:     cache_file=$ac_optarg ;;
                    934: 
                    935:   --config-cache | -C)
                    936:     cache_file=config.cache ;;
                    937: 
                    938:   -datadir | --datadir | --datadi | --datad)
                    939:     ac_prev=datadir ;;
                    940:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
                    941:     datadir=$ac_optarg ;;
                    942: 
                    943:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
                    944:   | --dataroo | --dataro | --datar)
                    945:     ac_prev=datarootdir ;;
                    946:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
                    947:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
                    948:     datarootdir=$ac_optarg ;;
                    949: 
                    950:   -disable-* | --disable-*)
                    951:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
                    952:     # Reject names that are not valid shell variable names.
                    953:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                    954:       as_fn_error $? "invalid feature name: $ac_useropt"
                    955:     ac_useropt_orig=$ac_useropt
                    956:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    957:     case $ac_user_opts in
                    958:       *"
                    959: "enable_$ac_useropt"
                    960: "*) ;;
                    961:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
                    962:         ac_unrecognized_sep=', ';;
                    963:     esac
                    964:     eval enable_$ac_useropt=no ;;
                    965: 
                    966:   -docdir | --docdir | --docdi | --doc | --do)
                    967:     ac_prev=docdir ;;
                    968:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
                    969:     docdir=$ac_optarg ;;
                    970: 
                    971:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
                    972:     ac_prev=dvidir ;;
                    973:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
                    974:     dvidir=$ac_optarg ;;
                    975: 
                    976:   -enable-* | --enable-*)
                    977:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
                    978:     # Reject names that are not valid shell variable names.
                    979:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                    980:       as_fn_error $? "invalid feature name: $ac_useropt"
                    981:     ac_useropt_orig=$ac_useropt
                    982:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    983:     case $ac_user_opts in
                    984:       *"
                    985: "enable_$ac_useropt"
                    986: "*) ;;
                    987:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
                    988:         ac_unrecognized_sep=', ';;
                    989:     esac
                    990:     eval enable_$ac_useropt=\$ac_optarg ;;
                    991: 
                    992:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    993:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    994:   | --exec | --exe | --ex)
                    995:     ac_prev=exec_prefix ;;
                    996:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                    997:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                    998:   | --exec=* | --exe=* | --ex=*)
                    999:     exec_prefix=$ac_optarg ;;
                   1000: 
                   1001:   -gas | --gas | --ga | --g)
                   1002:     # Obsolete; use --with-gas.
                   1003:     with_gas=yes ;;
                   1004: 
                   1005:   -help | --help | --hel | --he | -h)
                   1006:     ac_init_help=long ;;
                   1007:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                   1008:     ac_init_help=recursive ;;
                   1009:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                   1010:     ac_init_help=short ;;
                   1011: 
                   1012:   -host | --host | --hos | --ho)
                   1013:     ac_prev=host_alias ;;
                   1014:   -host=* | --host=* | --hos=* | --ho=*)
                   1015:     host_alias=$ac_optarg ;;
                   1016: 
                   1017:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
                   1018:     ac_prev=htmldir ;;
                   1019:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
                   1020:   | --ht=*)
                   1021:     htmldir=$ac_optarg ;;
                   1022: 
                   1023:   -includedir | --includedir | --includedi | --included | --include \
                   1024:   | --includ | --inclu | --incl | --inc)
                   1025:     ac_prev=includedir ;;
                   1026:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                   1027:   | --includ=* | --inclu=* | --incl=* | --inc=*)
                   1028:     includedir=$ac_optarg ;;
                   1029: 
                   1030:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                   1031:     ac_prev=infodir ;;
                   1032:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
                   1033:     infodir=$ac_optarg ;;
                   1034: 
                   1035:   -libdir | --libdir | --libdi | --libd)
                   1036:     ac_prev=libdir ;;
                   1037:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
                   1038:     libdir=$ac_optarg ;;
                   1039: 
                   1040:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                   1041:   | --libexe | --libex | --libe)
                   1042:     ac_prev=libexecdir ;;
                   1043:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                   1044:   | --libexe=* | --libex=* | --libe=*)
                   1045:     libexecdir=$ac_optarg ;;
                   1046: 
                   1047:   -localedir | --localedir | --localedi | --localed | --locale)
                   1048:     ac_prev=localedir ;;
                   1049:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
                   1050:     localedir=$ac_optarg ;;
                   1051: 
                   1052:   -localstatedir | --localstatedir | --localstatedi | --localstated \
                   1053:   | --localstate | --localstat | --localsta | --localst | --locals)
                   1054:     ac_prev=localstatedir ;;
                   1055:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
                   1056:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
                   1057:     localstatedir=$ac_optarg ;;
                   1058: 
                   1059:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                   1060:     ac_prev=mandir ;;
                   1061:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
                   1062:     mandir=$ac_optarg ;;
                   1063: 
                   1064:   -nfp | --nfp | --nf)
                   1065:     # Obsolete; use --without-fp.
                   1066:     with_fp=no ;;
                   1067: 
                   1068:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
                   1069:   | --no-cr | --no-c | -n)
                   1070:     no_create=yes ;;
                   1071: 
                   1072:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                   1073:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                   1074:     no_recursion=yes ;;
                   1075: 
                   1076:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                   1077:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                   1078:   | --oldin | --oldi | --old | --ol | --o)
                   1079:     ac_prev=oldincludedir ;;
                   1080:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                   1081:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                   1082:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
                   1083:     oldincludedir=$ac_optarg ;;
                   1084: 
                   1085:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   1086:     ac_prev=prefix ;;
                   1087:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   1088:     prefix=$ac_optarg ;;
                   1089: 
                   1090:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                   1091:   | --program-pre | --program-pr | --program-p)
                   1092:     ac_prev=program_prefix ;;
                   1093:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                   1094:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
                   1095:     program_prefix=$ac_optarg ;;
                   1096: 
                   1097:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                   1098:   | --program-suf | --program-su | --program-s)
                   1099:     ac_prev=program_suffix ;;
                   1100:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                   1101:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
                   1102:     program_suffix=$ac_optarg ;;
                   1103: 
                   1104:   -program-transform-name | --program-transform-name \
                   1105:   | --program-transform-nam | --program-transform-na \
                   1106:   | --program-transform-n | --program-transform- \
                   1107:   | --program-transform | --program-transfor \
                   1108:   | --program-transfo | --program-transf \
                   1109:   | --program-trans | --program-tran \
                   1110:   | --progr-tra | --program-tr | --program-t)
                   1111:     ac_prev=program_transform_name ;;
                   1112:   -program-transform-name=* | --program-transform-name=* \
                   1113:   | --program-transform-nam=* | --program-transform-na=* \
                   1114:   | --program-transform-n=* | --program-transform-=* \
                   1115:   | --program-transform=* | --program-transfor=* \
                   1116:   | --program-transfo=* | --program-transf=* \
                   1117:   | --program-trans=* | --program-tran=* \
                   1118:   | --progr-tra=* | --program-tr=* | --program-t=*)
                   1119:     program_transform_name=$ac_optarg ;;
                   1120: 
                   1121:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
                   1122:     ac_prev=pdfdir ;;
                   1123:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
                   1124:     pdfdir=$ac_optarg ;;
                   1125: 
                   1126:   -psdir | --psdir | --psdi | --psd | --ps)
                   1127:     ac_prev=psdir ;;
                   1128:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
                   1129:     psdir=$ac_optarg ;;
                   1130: 
                   1131:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1132:   | -silent | --silent | --silen | --sile | --sil)
                   1133:     silent=yes ;;
                   1134: 
                   1135:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                   1136:     ac_prev=sbindir ;;
                   1137:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                   1138:   | --sbi=* | --sb=*)
                   1139:     sbindir=$ac_optarg ;;
                   1140: 
                   1141:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                   1142:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                   1143:   | --sharedst | --shareds | --shared | --share | --shar \
                   1144:   | --sha | --sh)
                   1145:     ac_prev=sharedstatedir ;;
                   1146:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                   1147:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                   1148:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                   1149:   | --sha=* | --sh=*)
                   1150:     sharedstatedir=$ac_optarg ;;
                   1151: 
                   1152:   -site | --site | --sit)
                   1153:     ac_prev=site ;;
                   1154:   -site=* | --site=* | --sit=*)
                   1155:     site=$ac_optarg ;;
                   1156: 
                   1157:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   1158:     ac_prev=srcdir ;;
                   1159:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   1160:     srcdir=$ac_optarg ;;
                   1161: 
                   1162:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                   1163:   | --syscon | --sysco | --sysc | --sys | --sy)
                   1164:     ac_prev=sysconfdir ;;
                   1165:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                   1166:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
                   1167:     sysconfdir=$ac_optarg ;;
                   1168: 
                   1169:   -target | --target | --targe | --targ | --tar | --ta | --t)
                   1170:     ac_prev=target_alias ;;
                   1171:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
                   1172:     target_alias=$ac_optarg ;;
                   1173: 
                   1174:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                   1175:     verbose=yes ;;
                   1176: 
                   1177:   -version | --version | --versio | --versi | --vers | -V)
                   1178:     ac_init_version=: ;;
                   1179: 
                   1180:   -with-* | --with-*)
                   1181:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
                   1182:     # Reject names that are not valid shell variable names.
                   1183:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1184:       as_fn_error $? "invalid package name: $ac_useropt"
                   1185:     ac_useropt_orig=$ac_useropt
                   1186:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1187:     case $ac_user_opts in
                   1188:       *"
                   1189: "with_$ac_useropt"
                   1190: "*) ;;
                   1191:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
                   1192:         ac_unrecognized_sep=', ';;
                   1193:     esac
                   1194:     eval with_$ac_useropt=\$ac_optarg ;;
                   1195: 
                   1196:   -without-* | --without-*)
                   1197:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
                   1198:     # Reject names that are not valid shell variable names.
                   1199:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1200:       as_fn_error $? "invalid package name: $ac_useropt"
                   1201:     ac_useropt_orig=$ac_useropt
                   1202:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1203:     case $ac_user_opts in
                   1204:       *"
                   1205: "with_$ac_useropt"
                   1206: "*) ;;
                   1207:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
                   1208:         ac_unrecognized_sep=', ';;
                   1209:     esac
                   1210:     eval with_$ac_useropt=no ;;
                   1211: 
                   1212:   --x)
                   1213:     # Obsolete; use --with-x.
                   1214:     with_x=yes ;;
                   1215: 
                   1216:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                   1217:   | --x-incl | --x-inc | --x-in | --x-i)
                   1218:     ac_prev=x_includes ;;
                   1219:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                   1220:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
                   1221:     x_includes=$ac_optarg ;;
                   1222: 
                   1223:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                   1224:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                   1225:     ac_prev=x_libraries ;;
                   1226:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                   1227:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
                   1228:     x_libraries=$ac_optarg ;;
                   1229: 
                   1230:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
                   1231: Try \`$0 --help' for more information"
                   1232:     ;;
                   1233: 
                   1234:   *=*)
                   1235:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                   1236:     # Reject names that are not valid shell variable names.
                   1237:     case $ac_envvar in #(
                   1238:       '' | [0-9]* | *[!_$as_cr_alnum]* )
                   1239:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
                   1240:     esac
                   1241:     eval $ac_envvar=\$ac_optarg
                   1242:     export $ac_envvar ;;
                   1243: 
                   1244:   *)
                   1245:     # FIXME: should be removed in autoconf 3.0.
                   1246:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
                   1247:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
                   1248:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
                   1249:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
                   1250:     ;;
                   1251: 
                   1252:   esac
                   1253: done
                   1254: 
                   1255: if test -n "$ac_prev"; then
                   1256:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
                   1257:   as_fn_error $? "missing argument to $ac_option"
                   1258: fi
                   1259: 
                   1260: if test -n "$ac_unrecognized_opts"; then
                   1261:   case $enable_option_checking in
                   1262:     no) ;;
                   1263:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
                   1264:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
                   1265:   esac
                   1266: fi
                   1267: 
                   1268: # Check all directory arguments for consistency.
                   1269: for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
                   1270:                datadir sysconfdir sharedstatedir localstatedir includedir \
                   1271:                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
                   1272:                libdir localedir mandir
                   1273: do
                   1274:   eval ac_val=\$$ac_var
                   1275:   # Remove trailing slashes.
                   1276:   case $ac_val in
                   1277:     */ )
                   1278:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
                   1279:       eval $ac_var=\$ac_val;;
                   1280:   esac
                   1281:   # Be sure to have absolute directory names.
                   1282:   case $ac_val in
                   1283:     [\\/$]* | ?:[\\/]* )  continue;;
                   1284:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
                   1285:   esac
                   1286:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
                   1287: done
                   1288: 
                   1289: # There might be people who depend on the old broken behavior: `$host'
                   1290: # used to hold the argument of --host etc.
                   1291: # FIXME: To remove some day.
                   1292: build=$build_alias
                   1293: host=$host_alias
                   1294: target=$target_alias
                   1295: 
                   1296: # FIXME: To remove some day.
                   1297: if test "x$host_alias" != x; then
                   1298:   if test "x$build_alias" = x; then
                   1299:     cross_compiling=maybe
                   1300:     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
                   1301:     If a cross compiler is detected then cross compile mode will be used" >&2
                   1302:   elif test "x$build_alias" != "x$host_alias"; then
                   1303:     cross_compiling=yes
                   1304:   fi
                   1305: fi
                   1306: 
                   1307: ac_tool_prefix=
                   1308: test -n "$host_alias" && ac_tool_prefix=$host_alias-
                   1309: 
                   1310: test "$silent" = yes && exec 6>/dev/null
                   1311: 
                   1312: 
                   1313: ac_pwd=`pwd` && test -n "$ac_pwd" &&
                   1314: ac_ls_di=`ls -di .` &&
                   1315: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
                   1316:   as_fn_error $? "working directory cannot be determined"
                   1317: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
                   1318:   as_fn_error $? "pwd does not report name of working directory"
                   1319: 
                   1320: 
                   1321: # Find the source files, if location was not specified.
                   1322: if test -z "$srcdir"; then
                   1323:   ac_srcdir_defaulted=yes
                   1324:   # Try the directory containing this script, then the parent directory.
                   1325:   ac_confdir=`$as_dirname -- "$as_myself" ||
                   1326: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   1327:         X"$as_myself" : 'X\(//\)[^/]' \| \
                   1328:         X"$as_myself" : 'X\(//\)$' \| \
                   1329:         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
                   1330: $as_echo X"$as_myself" |
                   1331:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   1332:            s//\1/
                   1333:            q
                   1334:          }
                   1335:          /^X\(\/\/\)[^/].*/{
                   1336:            s//\1/
                   1337:            q
                   1338:          }
                   1339:          /^X\(\/\/\)$/{
                   1340:            s//\1/
                   1341:            q
                   1342:          }
                   1343:          /^X\(\/\).*/{
                   1344:            s//\1/
                   1345:            q
                   1346:          }
                   1347:          s/.*/./; q'`
                   1348:   srcdir=$ac_confdir
                   1349:   if test ! -r "$srcdir/$ac_unique_file"; then
                   1350:     srcdir=..
                   1351:   fi
                   1352: else
                   1353:   ac_srcdir_defaulted=no
                   1354: fi
                   1355: if test ! -r "$srcdir/$ac_unique_file"; then
                   1356:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
                   1357:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
                   1358: fi
                   1359: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
                   1360: ac_abs_confdir=`(
                   1361:        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
                   1362:        pwd)`
                   1363: # When building in place, set srcdir=.
                   1364: if test "$ac_abs_confdir" = "$ac_pwd"; then
                   1365:   srcdir=.
                   1366: fi
                   1367: # Remove unnecessary trailing slashes from srcdir.
                   1368: # Double slashes in file names in object file debugging info
                   1369: # mess up M-x gdb in Emacs.
                   1370: case $srcdir in
                   1371: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
                   1372: esac
                   1373: for ac_var in $ac_precious_vars; do
                   1374:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
                   1375:   eval ac_env_${ac_var}_value=\$${ac_var}
                   1376:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
                   1377:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
                   1378: done
                   1379: 
                   1380: #
                   1381: # Report the --help message.
                   1382: #
                   1383: if test "$ac_init_help" = "long"; then
                   1384:   # Omit some internal or obsolete options to make the list less imposing.
                   1385:   # This message is too long to be a string in the A/UX 3.1 sh.
                   1386:   cat <<_ACEOF
1.1.1.2 ! misho    1387: \`configure' configures Quagga 0.99.20.1 to adapt to many kinds of systems.
1.1       misho    1388: 
                   1389: Usage: $0 [OPTION]... [VAR=VALUE]...
                   1390: 
                   1391: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                   1392: VAR=VALUE.  See below for descriptions of some of the useful variables.
                   1393: 
                   1394: Defaults for the options are specified in brackets.
                   1395: 
                   1396: Configuration:
                   1397:   -h, --help              display this help and exit
                   1398:       --help=short        display options specific to this package
                   1399:       --help=recursive    display the short help of all the included packages
                   1400:   -V, --version           display version information and exit
                   1401:   -q, --quiet, --silent   do not print \`checking ...' messages
                   1402:       --cache-file=FILE   cache test results in FILE [disabled]
                   1403:   -C, --config-cache      alias for \`--cache-file=config.cache'
                   1404:   -n, --no-create         do not create output files
                   1405:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                   1406: 
                   1407: Installation directories:
                   1408:   --prefix=PREFIX         install architecture-independent files in PREFIX
                   1409:                           [$ac_default_prefix]
                   1410:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                   1411:                           [PREFIX]
                   1412: 
                   1413: By default, \`make install' will install all the files in
                   1414: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                   1415: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                   1416: for instance \`--prefix=\$HOME'.
                   1417: 
                   1418: For better control, use the options below.
                   1419: 
                   1420: Fine tuning of the installation directories:
                   1421:   --bindir=DIR            user executables [EPREFIX/bin]
                   1422:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
                   1423:   --libexecdir=DIR        program executables [EPREFIX/libexec]
                   1424:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
                   1425:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
                   1426:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
                   1427:   --libdir=DIR            object code libraries [EPREFIX/lib]
                   1428:   --includedir=DIR        C header files [PREFIX/include]
                   1429:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
                   1430:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
                   1431:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
                   1432:   --infodir=DIR           info documentation [DATAROOTDIR/info]
                   1433:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
                   1434:   --mandir=DIR            man documentation [DATAROOTDIR/man]
                   1435:   --docdir=DIR            documentation root [DATAROOTDIR/doc/quagga]
                   1436:   --htmldir=DIR           html documentation [DOCDIR]
                   1437:   --dvidir=DIR            dvi documentation [DOCDIR]
                   1438:   --pdfdir=DIR            pdf documentation [DOCDIR]
                   1439:   --psdir=DIR             ps documentation [DOCDIR]
                   1440: _ACEOF
                   1441: 
                   1442:   cat <<\_ACEOF
                   1443: 
                   1444: Program names:
                   1445:   --program-prefix=PREFIX            prepend PREFIX to installed program names
                   1446:   --program-suffix=SUFFIX            append SUFFIX to installed program names
                   1447:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
                   1448: 
                   1449: System types:
                   1450:   --build=BUILD     configure for building on BUILD [guessed]
                   1451:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                   1452:   --target=TARGET   configure for building compilers for TARGET [HOST]
                   1453: _ACEOF
                   1454: fi
                   1455: 
                   1456: if test -n "$ac_init_help"; then
                   1457:   case $ac_init_help in
1.1.1.2 ! misho    1458:      short | recursive ) echo "Configuration of Quagga 0.99.20.1:";;
1.1       misho    1459:    esac
                   1460:   cat <<\_ACEOF
                   1461: 
                   1462: Optional Features:
                   1463:   --disable-option-checking  ignore unrecognized --enable/--with options
                   1464:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                   1465:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
                   1466:   --enable-exampledir     specify alternate directory for examples
                   1467:   --enable-pkgsrcrcdir    specify directory for rc.d scripts
                   1468:   --disable-dependency-tracking  speeds up one-time build
                   1469:   --enable-dependency-tracking   do not reject slow dependency extractors
                   1470:   --enable-shared[=PKGS]  build shared libraries [default=yes]
                   1471:   --enable-static[=PKGS]  build static libraries [default=yes]
                   1472:   --enable-fast-install[=PKGS]
                   1473:                           optimize for fast installation [default=yes]
                   1474:   --disable-libtool-lock  avoid locking (might break parallel builds)
                   1475:   --enable-vtysh          include integrated vty shell for Quagga
                   1476:   --disable-ipv6          turn off IPv6 related features and daemons
                   1477:   --disable-doc           do not build docs
                   1478:   --disable-zebra         do not build zebra daemon
                   1479:   --disable-bgpd          do not build bgpd
                   1480:   --disable-ripd          do not build ripd
                   1481:   --disable-ripngd        do not build ripngd
                   1482:   --disable-ospfd         do not build ospfd
                   1483:   --disable-ospf6d        do not build ospf6d
                   1484:   --disable-watchquagga   do not build watchquagga
                   1485:   --enable-isisd          build isisd
                   1486:   --enable-solaris          build solaris
                   1487:   --disable-bgp-announce, turn off BGP route announcement
                   1488:   --enable-netlink        force to use Linux netlink interface
                   1489:   --enable-broken-aliases enable aliases as distinct interfaces for Linux 2.2.X
                   1490:   --enable-snmp           enable SNMP support
                   1491:   --enable-tcp-zebra      enable TCP/IP socket connection between zebra and protocol daemon
                   1492:   --disable-opaque-lsa    do not build OSPF Opaque-LSA with OSPFAPI support
                   1493:                           (RFC2370)
                   1494:   --disable-ospfapi       do not build OSPFAPI to access the OSPF LSA Database
                   1495:   --disable-ospfclient    do not build OSPFAPI client for OSPFAPI,
                   1496:                           (this is the default if --disable-ospfapi is set)
                   1497:   --disable-ospf-te       disable Traffic Engineering Extension to OSPF
                   1498:   --enable-multipath=ARG  enable multipath function, ARG must be digit
                   1499:   --enable-user=user      user to run Quagga suite as (default quagga)
                   1500:   --enable-group=group    group to run Quagga suite as (default quagga)
                   1501:   --enable-vty-group=ARG  set vty sockets to have specified group as owner
                   1502:   --enable-configfile-mask=ARG  set mask for config files
                   1503:   --enable-logfile-mask=ARG     set mask for log files
                   1504:   --disable-rtadv               disable IPV6 router advertisement feature
                   1505:   --enable-irdp                 enable IRDP server support in zebra
                   1506:   --enable-isis-topology        enable IS-IS topology generator
                   1507:   --disable-capabilities        disable using POSIX capabilities
                   1508:   --enable-gcc-ultra-verbose    enable ultra verbose GCC warnings
                   1509:   --enable-linux24-tcp-md5  enable support for old, Linux-2.4 RFC2385 patch
                   1510:   --enable-gcc-rdynamic   enable gcc linking with -rdynamic for better backtraces
                   1511:   --disable-time-check          disable slow thread warning messages
                   1512:   --enable-pcreposix          enable using PCRE Posix libs for regex functions
                   1513:   --disable-largefile     omit support for large files
                   1514:   --disable-pie           Do not build tools as a Position Independent
                   1515:                           Executables
                   1516: 
                   1517: Optional Packages:
                   1518:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                   1519:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
                   1520:   --with-cflags           Set CFLAGS for use in compilation.
1.1.1.2 ! misho    1521:   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1.1       misho    1522:                           both]
                   1523:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
                   1524:   --with-sysroot=DIR Search for dependent libraries within DIR
                   1525:                         (or the compiler's sysroot if not specified).
                   1526:   --without-crypto        do not use libcrypto in SNMP
                   1527:   --with-libpam           use libpam for PAM support in vtysh
                   1528: 
                   1529: Some influential environment variables:
                   1530:   GAWK        GNU AWK
                   1531:   CC          C compiler command
                   1532:   CFLAGS      C compiler flags
                   1533:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                   1534:               nonstandard directory <lib dir>
                   1535:   LIBS        libraries to pass to the linker, e.g. -l<library>
                   1536:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
                   1537:               you have headers in a nonstandard directory <include dir>
                   1538:   CPP         C preprocessor
                   1539: 
                   1540: Use these variables to override the choices made by `configure' or to help
                   1541: it to find libraries and programs with nonstandard names/locations.
                   1542: 
                   1543: Report bugs to <https://bugzilla.quagga.net>.
                   1544: _ACEOF
                   1545: ac_status=$?
                   1546: fi
                   1547: 
                   1548: if test "$ac_init_help" = "recursive"; then
                   1549:   # If there are subdirs, report their specific --help.
                   1550:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
                   1551:     test -d "$ac_dir" ||
                   1552:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
                   1553:       continue
                   1554:     ac_builddir=.
                   1555: 
                   1556: case "$ac_dir" in
                   1557: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1558: *)
                   1559:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   1560:   # A ".." for each directory in $ac_dir_suffix.
                   1561:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   1562:   case $ac_top_builddir_sub in
                   1563:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1564:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   1565:   esac ;;
                   1566: esac
                   1567: ac_abs_top_builddir=$ac_pwd
                   1568: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   1569: # for backward compatibility:
                   1570: ac_top_builddir=$ac_top_build_prefix
                   1571: 
                   1572: case $srcdir in
                   1573:   .)  # We are building in place.
                   1574:     ac_srcdir=.
                   1575:     ac_top_srcdir=$ac_top_builddir_sub
                   1576:     ac_abs_top_srcdir=$ac_pwd ;;
                   1577:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   1578:     ac_srcdir=$srcdir$ac_dir_suffix;
                   1579:     ac_top_srcdir=$srcdir
                   1580:     ac_abs_top_srcdir=$srcdir ;;
                   1581:   *) # Relative name.
                   1582:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   1583:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   1584:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   1585: esac
                   1586: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   1587: 
                   1588:     cd "$ac_dir" || { ac_status=$?; continue; }
                   1589:     # Check for guested configure.
                   1590:     if test -f "$ac_srcdir/configure.gnu"; then
                   1591:       echo &&
                   1592:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
                   1593:     elif test -f "$ac_srcdir/configure"; then
                   1594:       echo &&
                   1595:       $SHELL "$ac_srcdir/configure" --help=recursive
                   1596:     else
                   1597:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
                   1598:     fi || ac_status=$?
                   1599:     cd "$ac_pwd" || { ac_status=$?; break; }
                   1600:   done
                   1601: fi
                   1602: 
                   1603: test -n "$ac_init_help" && exit $ac_status
                   1604: if $ac_init_version; then
                   1605:   cat <<\_ACEOF
1.1.1.2 ! misho    1606: Quagga configure 0.99.20.1
1.1       misho    1607: generated by GNU Autoconf 2.68
                   1608: 
                   1609: Copyright (C) 2010 Free Software Foundation, Inc.
                   1610: This configure script is free software; the Free Software Foundation
                   1611: gives unlimited permission to copy, distribute and modify it.
                   1612: _ACEOF
                   1613:   exit
                   1614: fi
                   1615: 
                   1616: ## ------------------------ ##
                   1617: ## Autoconf initialization. ##
                   1618: ## ------------------------ ##
                   1619: 
                   1620: # ac_fn_c_try_compile LINENO
                   1621: # --------------------------
                   1622: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1623: ac_fn_c_try_compile ()
                   1624: {
                   1625:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1626:   rm -f conftest.$ac_objext
                   1627:   if { { ac_try="$ac_compile"
                   1628: case "(($ac_try" in
                   1629:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1630:   *) ac_try_echo=$ac_try;;
                   1631: esac
                   1632: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1633: $as_echo "$ac_try_echo"; } >&5
                   1634:   (eval "$ac_compile") 2>conftest.err
                   1635:   ac_status=$?
                   1636:   if test -s conftest.err; then
                   1637:     grep -v '^ *+' conftest.err >conftest.er1
                   1638:     cat conftest.er1 >&5
                   1639:     mv -f conftest.er1 conftest.err
                   1640:   fi
                   1641:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1642:   test $ac_status = 0; } && {
                   1643:         test -z "$ac_c_werror_flag" ||
                   1644:         test ! -s conftest.err
                   1645:        } && test -s conftest.$ac_objext; then :
                   1646:   ac_retval=0
                   1647: else
                   1648:   $as_echo "$as_me: failed program was:" >&5
                   1649: sed 's/^/| /' conftest.$ac_ext >&5
                   1650: 
                   1651:        ac_retval=1
                   1652: fi
                   1653:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1654:   as_fn_set_status $ac_retval
                   1655: 
                   1656: } # ac_fn_c_try_compile
                   1657: 
                   1658: # ac_fn_c_try_cpp LINENO
                   1659: # ----------------------
                   1660: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
                   1661: ac_fn_c_try_cpp ()
                   1662: {
                   1663:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1664:   if { { ac_try="$ac_cpp conftest.$ac_ext"
                   1665: case "(($ac_try" in
                   1666:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1667:   *) ac_try_echo=$ac_try;;
                   1668: esac
                   1669: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1670: $as_echo "$ac_try_echo"; } >&5
                   1671:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
                   1672:   ac_status=$?
                   1673:   if test -s conftest.err; then
                   1674:     grep -v '^ *+' conftest.err >conftest.er1
                   1675:     cat conftest.er1 >&5
                   1676:     mv -f conftest.er1 conftest.err
                   1677:   fi
                   1678:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1679:   test $ac_status = 0; } > conftest.i && {
                   1680:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   1681:         test ! -s conftest.err
                   1682:        }; then :
                   1683:   ac_retval=0
                   1684: else
                   1685:   $as_echo "$as_me: failed program was:" >&5
                   1686: sed 's/^/| /' conftest.$ac_ext >&5
                   1687: 
                   1688:     ac_retval=1
                   1689: fi
                   1690:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1691:   as_fn_set_status $ac_retval
                   1692: 
                   1693: } # ac_fn_c_try_cpp
                   1694: 
                   1695: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
                   1696: # -------------------------------------------------------
                   1697: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
                   1698: # the include files in INCLUDES and setting the cache variable VAR
                   1699: # accordingly.
                   1700: ac_fn_c_check_header_mongrel ()
                   1701: {
                   1702:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1703:   if eval \${$3+:} false; then :
                   1704:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1705: $as_echo_n "checking for $2... " >&6; }
                   1706: if eval \${$3+:} false; then :
                   1707:   $as_echo_n "(cached) " >&6
                   1708: fi
                   1709: eval ac_res=\$$3
                   1710:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1711: $as_echo "$ac_res" >&6; }
                   1712: else
                   1713:   # Is the header compilable?
                   1714: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
                   1715: $as_echo_n "checking $2 usability... " >&6; }
                   1716: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1717: /* end confdefs.h.  */
                   1718: $4
                   1719: #include <$2>
                   1720: _ACEOF
                   1721: if ac_fn_c_try_compile "$LINENO"; then :
                   1722:   ac_header_compiler=yes
                   1723: else
                   1724:   ac_header_compiler=no
                   1725: fi
                   1726: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1727: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
                   1728: $as_echo "$ac_header_compiler" >&6; }
                   1729: 
                   1730: # Is the header present?
                   1731: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
                   1732: $as_echo_n "checking $2 presence... " >&6; }
                   1733: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1734: /* end confdefs.h.  */
                   1735: #include <$2>
                   1736: _ACEOF
                   1737: if ac_fn_c_try_cpp "$LINENO"; then :
                   1738:   ac_header_preproc=yes
                   1739: else
                   1740:   ac_header_preproc=no
                   1741: fi
                   1742: rm -f conftest.err conftest.i conftest.$ac_ext
                   1743: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
                   1744: $as_echo "$ac_header_preproc" >&6; }
                   1745: 
                   1746: # So?  What about this header?
                   1747: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
                   1748:   yes:no: )
                   1749:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
                   1750: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   1751:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   1752: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   1753:     ;;
                   1754:   no:yes:* )
                   1755:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
                   1756: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
                   1757:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
                   1758: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
                   1759:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
                   1760: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
                   1761:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
                   1762: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
                   1763:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   1764: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   1765: ( $as_echo "## ------------------------------------------ ##
                   1766: ## Report this to https://bugzilla.quagga.net ##
                   1767: ## ------------------------------------------ ##"
                   1768:      ) | sed "s/^/$as_me: WARNING:     /" >&2
                   1769:     ;;
                   1770: esac
                   1771:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1772: $as_echo_n "checking for $2... " >&6; }
                   1773: if eval \${$3+:} false; then :
                   1774:   $as_echo_n "(cached) " >&6
                   1775: else
                   1776:   eval "$3=\$ac_header_compiler"
                   1777: fi
                   1778: eval ac_res=\$$3
                   1779:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1780: $as_echo "$ac_res" >&6; }
                   1781: fi
                   1782:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1783: 
                   1784: } # ac_fn_c_check_header_mongrel
                   1785: 
                   1786: # ac_fn_c_try_run LINENO
                   1787: # ----------------------
                   1788: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
                   1789: # that executables *can* be run.
                   1790: ac_fn_c_try_run ()
                   1791: {
                   1792:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1793:   if { { ac_try="$ac_link"
                   1794: case "(($ac_try" in
                   1795:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1796:   *) ac_try_echo=$ac_try;;
                   1797: esac
                   1798: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1799: $as_echo "$ac_try_echo"; } >&5
                   1800:   (eval "$ac_link") 2>&5
                   1801:   ac_status=$?
                   1802:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1803:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
                   1804:   { { case "(($ac_try" in
                   1805:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1806:   *) ac_try_echo=$ac_try;;
                   1807: esac
                   1808: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1809: $as_echo "$ac_try_echo"; } >&5
                   1810:   (eval "$ac_try") 2>&5
                   1811:   ac_status=$?
                   1812:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1813:   test $ac_status = 0; }; }; then :
                   1814:   ac_retval=0
                   1815: else
                   1816:   $as_echo "$as_me: program exited with status $ac_status" >&5
                   1817:        $as_echo "$as_me: failed program was:" >&5
                   1818: sed 's/^/| /' conftest.$ac_ext >&5
                   1819: 
                   1820:        ac_retval=$ac_status
                   1821: fi
                   1822:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1823:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1824:   as_fn_set_status $ac_retval
                   1825: 
                   1826: } # ac_fn_c_try_run
                   1827: 
                   1828: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
                   1829: # -------------------------------------------------------
                   1830: # Tests whether HEADER exists and can be compiled using the include files in
                   1831: # INCLUDES, setting the cache variable VAR accordingly.
                   1832: ac_fn_c_check_header_compile ()
                   1833: {
                   1834:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1835:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1836: $as_echo_n "checking for $2... " >&6; }
                   1837: if eval \${$3+:} false; then :
                   1838:   $as_echo_n "(cached) " >&6
                   1839: else
                   1840:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1841: /* end confdefs.h.  */
                   1842: $4
                   1843: #include <$2>
                   1844: _ACEOF
                   1845: if ac_fn_c_try_compile "$LINENO"; then :
                   1846:   eval "$3=yes"
                   1847: else
                   1848:   eval "$3=no"
                   1849: fi
                   1850: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1851: fi
                   1852: eval ac_res=\$$3
                   1853:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1854: $as_echo "$ac_res" >&6; }
                   1855:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1856: 
                   1857: } # ac_fn_c_check_header_compile
                   1858: 
                   1859: # ac_fn_c_try_link LINENO
                   1860: # -----------------------
                   1861: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1862: ac_fn_c_try_link ()
                   1863: {
                   1864:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1865:   rm -f conftest.$ac_objext conftest$ac_exeext
                   1866:   if { { ac_try="$ac_link"
                   1867: case "(($ac_try" in
                   1868:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1869:   *) ac_try_echo=$ac_try;;
                   1870: esac
                   1871: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1872: $as_echo "$ac_try_echo"; } >&5
                   1873:   (eval "$ac_link") 2>conftest.err
                   1874:   ac_status=$?
                   1875:   if test -s conftest.err; then
                   1876:     grep -v '^ *+' conftest.err >conftest.er1
                   1877:     cat conftest.er1 >&5
                   1878:     mv -f conftest.er1 conftest.err
                   1879:   fi
                   1880:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1881:   test $ac_status = 0; } && {
                   1882:         test -z "$ac_c_werror_flag" ||
                   1883:         test ! -s conftest.err
                   1884:        } && test -s conftest$ac_exeext && {
                   1885:         test "$cross_compiling" = yes ||
                   1886:         $as_test_x conftest$ac_exeext
                   1887:        }; then :
                   1888:   ac_retval=0
                   1889: else
                   1890:   $as_echo "$as_me: failed program was:" >&5
                   1891: sed 's/^/| /' conftest.$ac_ext >&5
                   1892: 
                   1893:        ac_retval=1
                   1894: fi
                   1895:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   1896:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   1897:   # interfere with the next link command; also delete a directory that is
                   1898:   # left behind by Apple's compiler.  We do this before executing the actions.
                   1899:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1900:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1901:   as_fn_set_status $ac_retval
                   1902: 
                   1903: } # ac_fn_c_try_link
                   1904: 
                   1905: # ac_fn_c_check_func LINENO FUNC VAR
                   1906: # ----------------------------------
                   1907: # Tests whether FUNC exists, setting the cache variable VAR accordingly
                   1908: ac_fn_c_check_func ()
                   1909: {
                   1910:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1911:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1912: $as_echo_n "checking for $2... " >&6; }
                   1913: if eval \${$3+:} false; then :
                   1914:   $as_echo_n "(cached) " >&6
                   1915: else
                   1916:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1917: /* end confdefs.h.  */
                   1918: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
                   1919:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   1920: #define $2 innocuous_$2
                   1921: 
                   1922: /* System header to define __stub macros and hopefully few prototypes,
                   1923:     which can conflict with char $2 (); below.
                   1924:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   1925:     <limits.h> exists even on freestanding compilers.  */
                   1926: 
                   1927: #ifdef __STDC__
                   1928: # include <limits.h>
                   1929: #else
                   1930: # include <assert.h>
                   1931: #endif
                   1932: 
                   1933: #undef $2
                   1934: 
                   1935: /* Override any GCC internal prototype to avoid an error.
                   1936:    Use char because int might match the return type of a GCC
                   1937:    builtin and then its argument prototype would still apply.  */
                   1938: #ifdef __cplusplus
                   1939: extern "C"
                   1940: #endif
                   1941: char $2 ();
                   1942: /* The GNU C library defines this for functions which it implements
                   1943:     to always fail with ENOSYS.  Some functions are actually named
                   1944:     something starting with __ and the normal name is an alias.  */
                   1945: #if defined __stub_$2 || defined __stub___$2
                   1946: choke me
                   1947: #endif
                   1948: 
                   1949: int
                   1950: main ()
                   1951: {
                   1952: return $2 ();
                   1953:   ;
                   1954:   return 0;
                   1955: }
                   1956: _ACEOF
                   1957: if ac_fn_c_try_link "$LINENO"; then :
                   1958:   eval "$3=yes"
                   1959: else
                   1960:   eval "$3=no"
                   1961: fi
                   1962: rm -f core conftest.err conftest.$ac_objext \
                   1963:     conftest$ac_exeext conftest.$ac_ext
                   1964: fi
                   1965: eval ac_res=\$$3
                   1966:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1967: $as_echo "$ac_res" >&6; }
                   1968:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1969: 
                   1970: } # ac_fn_c_check_func
                   1971: 
                   1972: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
                   1973: # -------------------------------------------
                   1974: # Tests whether TYPE exists after having included INCLUDES, setting cache
                   1975: # variable VAR accordingly.
                   1976: ac_fn_c_check_type ()
                   1977: {
                   1978:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1979:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1980: $as_echo_n "checking for $2... " >&6; }
                   1981: if eval \${$3+:} false; then :
                   1982:   $as_echo_n "(cached) " >&6
                   1983: else
                   1984:   eval "$3=no"
                   1985:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1986: /* end confdefs.h.  */
                   1987: $4
                   1988: int
                   1989: main ()
                   1990: {
                   1991: if (sizeof ($2))
                   1992:         return 0;
                   1993:   ;
                   1994:   return 0;
                   1995: }
                   1996: _ACEOF
                   1997: if ac_fn_c_try_compile "$LINENO"; then :
                   1998:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1999: /* end confdefs.h.  */
                   2000: $4
                   2001: int
                   2002: main ()
                   2003: {
                   2004: if (sizeof (($2)))
                   2005:            return 0;
                   2006:   ;
                   2007:   return 0;
                   2008: }
                   2009: _ACEOF
                   2010: if ac_fn_c_try_compile "$LINENO"; then :
                   2011: 
                   2012: else
                   2013:   eval "$3=yes"
                   2014: fi
                   2015: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2016: fi
                   2017: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2018: fi
                   2019: eval ac_res=\$$3
                   2020:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2021: $as_echo "$ac_res" >&6; }
                   2022:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2023: 
                   2024: } # ac_fn_c_check_type
                   2025: 
                   2026: # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
                   2027: # ----------------------------------------------------
                   2028: # Tries to find if the field MEMBER exists in type AGGR, after including
                   2029: # INCLUDES, setting cache variable VAR accordingly.
                   2030: ac_fn_c_check_member ()
                   2031: {
                   2032:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2033:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
                   2034: $as_echo_n "checking for $2.$3... " >&6; }
                   2035: if eval \${$4+:} false; then :
                   2036:   $as_echo_n "(cached) " >&6
                   2037: else
                   2038:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2039: /* end confdefs.h.  */
                   2040: $5
                   2041: int
                   2042: main ()
                   2043: {
                   2044: static $2 ac_aggr;
                   2045: if (ac_aggr.$3)
                   2046: return 0;
                   2047:   ;
                   2048:   return 0;
                   2049: }
                   2050: _ACEOF
                   2051: if ac_fn_c_try_compile "$LINENO"; then :
                   2052:   eval "$4=yes"
                   2053: else
                   2054:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2055: /* end confdefs.h.  */
                   2056: $5
                   2057: int
                   2058: main ()
                   2059: {
                   2060: static $2 ac_aggr;
                   2061: if (sizeof ac_aggr.$3)
                   2062: return 0;
                   2063:   ;
                   2064:   return 0;
                   2065: }
                   2066: _ACEOF
                   2067: if ac_fn_c_try_compile "$LINENO"; then :
                   2068:   eval "$4=yes"
                   2069: else
                   2070:   eval "$4=no"
                   2071: fi
                   2072: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2073: fi
                   2074: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2075: fi
                   2076: eval ac_res=\$$4
                   2077:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2078: $as_echo "$ac_res" >&6; }
                   2079:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2080: 
                   2081: } # ac_fn_c_check_member
                   2082: 
                   2083: # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
                   2084: # ---------------------------------------------
                   2085: # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
                   2086: # accordingly.
                   2087: ac_fn_c_check_decl ()
                   2088: {
                   2089:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2090:   as_decl_name=`echo $2|sed 's/ *(.*//'`
                   2091:   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
                   2092:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
                   2093: $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
                   2094: if eval \${$3+:} false; then :
                   2095:   $as_echo_n "(cached) " >&6
                   2096: else
                   2097:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2098: /* end confdefs.h.  */
                   2099: $4
                   2100: int
                   2101: main ()
                   2102: {
                   2103: #ifndef $as_decl_name
                   2104: #ifdef __cplusplus
                   2105:   (void) $as_decl_use;
                   2106: #else
                   2107:   (void) $as_decl_name;
                   2108: #endif
                   2109: #endif
                   2110: 
                   2111:   ;
                   2112:   return 0;
                   2113: }
                   2114: _ACEOF
                   2115: if ac_fn_c_try_compile "$LINENO"; then :
                   2116:   eval "$3=yes"
                   2117: else
                   2118:   eval "$3=no"
                   2119: fi
                   2120: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2121: fi
                   2122: eval ac_res=\$$3
                   2123:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2124: $as_echo "$ac_res" >&6; }
                   2125:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   2126: 
                   2127: } # ac_fn_c_check_decl
                   2128: cat >config.log <<_ACEOF
                   2129: This file contains any messages produced by compilers while
                   2130: running configure, to aid debugging if configure makes a mistake.
                   2131: 
1.1.1.2 ! misho    2132: It was created by Quagga $as_me 0.99.20.1, which was
1.1       misho    2133: generated by GNU Autoconf 2.68.  Invocation command line was
                   2134: 
                   2135:   $ $0 $@
                   2136: 
                   2137: _ACEOF
                   2138: exec 5>>config.log
                   2139: {
                   2140: cat <<_ASUNAME
                   2141: ## --------- ##
                   2142: ## Platform. ##
                   2143: ## --------- ##
                   2144: 
                   2145: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   2146: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   2147: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   2148: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   2149: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                   2150: 
                   2151: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   2152: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
                   2153: 
                   2154: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   2155: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   2156: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
                   2157: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
                   2158: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   2159: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   2160: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   2161: 
                   2162: _ASUNAME
                   2163: 
                   2164: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2165: for as_dir in $PATH
                   2166: do
                   2167:   IFS=$as_save_IFS
                   2168:   test -z "$as_dir" && as_dir=.
                   2169:     $as_echo "PATH: $as_dir"
                   2170:   done
                   2171: IFS=$as_save_IFS
                   2172: 
                   2173: } >&5
                   2174: 
                   2175: cat >&5 <<_ACEOF
                   2176: 
                   2177: 
                   2178: ## ----------- ##
                   2179: ## Core tests. ##
                   2180: ## ----------- ##
                   2181: 
                   2182: _ACEOF
                   2183: 
                   2184: 
                   2185: # Keep a trace of the command line.
                   2186: # Strip out --no-create and --no-recursion so they do not pile up.
                   2187: # Strip out --silent because we don't want to record it for future runs.
                   2188: # Also quote any args containing shell meta-characters.
                   2189: # Make two passes to allow for proper duplicate-argument suppression.
                   2190: ac_configure_args=
                   2191: ac_configure_args0=
                   2192: ac_configure_args1=
                   2193: ac_must_keep_next=false
                   2194: for ac_pass in 1 2
                   2195: do
                   2196:   for ac_arg
                   2197:   do
                   2198:     case $ac_arg in
                   2199:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   2200:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   2201:     | -silent | --silent | --silen | --sile | --sil)
                   2202:       continue ;;
                   2203:     *\'*)
                   2204:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   2205:     esac
                   2206:     case $ac_pass in
                   2207:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
                   2208:     2)
                   2209:       as_fn_append ac_configure_args1 " '$ac_arg'"
                   2210:       if test $ac_must_keep_next = true; then
                   2211:        ac_must_keep_next=false # Got value, back to normal.
                   2212:       else
                   2213:        case $ac_arg in
                   2214:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   2215:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   2216:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   2217:          | -with-* | --with-* | -without-* | --without-* | --x)
                   2218:            case "$ac_configure_args0 " in
                   2219:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   2220:            esac
                   2221:            ;;
                   2222:          -* ) ac_must_keep_next=true ;;
                   2223:        esac
                   2224:       fi
                   2225:       as_fn_append ac_configure_args " '$ac_arg'"
                   2226:       ;;
                   2227:     esac
                   2228:   done
                   2229: done
                   2230: { ac_configure_args0=; unset ac_configure_args0;}
                   2231: { ac_configure_args1=; unset ac_configure_args1;}
                   2232: 
                   2233: # When interrupted or exit'd, cleanup temporary files, and complete
                   2234: # config.log.  We remove comments because anyway the quotes in there
                   2235: # would cause problems or look ugly.
                   2236: # WARNING: Use '\'' to represent an apostrophe within the trap.
                   2237: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
                   2238: trap 'exit_status=$?
                   2239:   # Save into config.log some information that might help in debugging.
                   2240:   {
                   2241:     echo
                   2242: 
                   2243:     $as_echo "## ---------------- ##
                   2244: ## Cache variables. ##
                   2245: ## ---------------- ##"
                   2246:     echo
                   2247:     # The following way of writing the cache mishandles newlines in values,
                   2248: (
                   2249:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
                   2250:     eval ac_val=\$$ac_var
                   2251:     case $ac_val in #(
                   2252:     *${as_nl}*)
                   2253:       case $ac_var in #(
                   2254:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   2255: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   2256:       esac
                   2257:       case $ac_var in #(
                   2258:       _ | IFS | as_nl) ;; #(
                   2259:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   2260:       *) { eval $ac_var=; unset $ac_var;} ;;
                   2261:       esac ;;
                   2262:     esac
                   2263:   done
                   2264:   (set) 2>&1 |
                   2265:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
                   2266:     *${as_nl}ac_space=\ *)
                   2267:       sed -n \
                   2268:        "s/'\''/'\''\\\\'\'''\''/g;
                   2269:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
                   2270:       ;; #(
                   2271:     *)
                   2272:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   2273:       ;;
                   2274:     esac |
                   2275:     sort
                   2276: )
                   2277:     echo
                   2278: 
                   2279:     $as_echo "## ----------------- ##
                   2280: ## Output variables. ##
                   2281: ## ----------------- ##"
                   2282:     echo
                   2283:     for ac_var in $ac_subst_vars
                   2284:     do
                   2285:       eval ac_val=\$$ac_var
                   2286:       case $ac_val in
                   2287:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2288:       esac
                   2289:       $as_echo "$ac_var='\''$ac_val'\''"
                   2290:     done | sort
                   2291:     echo
                   2292: 
                   2293:     if test -n "$ac_subst_files"; then
                   2294:       $as_echo "## ------------------- ##
                   2295: ## File substitutions. ##
                   2296: ## ------------------- ##"
                   2297:       echo
                   2298:       for ac_var in $ac_subst_files
                   2299:       do
                   2300:        eval ac_val=\$$ac_var
                   2301:        case $ac_val in
                   2302:        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2303:        esac
                   2304:        $as_echo "$ac_var='\''$ac_val'\''"
                   2305:       done | sort
                   2306:       echo
                   2307:     fi
                   2308: 
                   2309:     if test -s confdefs.h; then
                   2310:       $as_echo "## ----------- ##
                   2311: ## confdefs.h. ##
                   2312: ## ----------- ##"
                   2313:       echo
                   2314:       cat confdefs.h
                   2315:       echo
                   2316:     fi
                   2317:     test "$ac_signal" != 0 &&
                   2318:       $as_echo "$as_me: caught signal $ac_signal"
                   2319:     $as_echo "$as_me: exit $exit_status"
                   2320:   } >&5
                   2321:   rm -f core *.core core.conftest.* &&
                   2322:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
                   2323:     exit $exit_status
                   2324: ' 0
                   2325: for ac_signal in 1 2 13 15; do
                   2326:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
                   2327: done
                   2328: ac_signal=0
                   2329: 
                   2330: # confdefs.h avoids OS command line length limits that DEFS can exceed.
                   2331: rm -f -r conftest* confdefs.h
                   2332: 
                   2333: $as_echo "/* confdefs.h */" > confdefs.h
                   2334: 
                   2335: # Predefined preprocessor variables.
                   2336: 
                   2337: cat >>confdefs.h <<_ACEOF
                   2338: #define PACKAGE_NAME "$PACKAGE_NAME"
                   2339: _ACEOF
                   2340: 
                   2341: cat >>confdefs.h <<_ACEOF
                   2342: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   2343: _ACEOF
                   2344: 
                   2345: cat >>confdefs.h <<_ACEOF
                   2346: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   2347: _ACEOF
                   2348: 
                   2349: cat >>confdefs.h <<_ACEOF
                   2350: #define PACKAGE_STRING "$PACKAGE_STRING"
                   2351: _ACEOF
                   2352: 
                   2353: cat >>confdefs.h <<_ACEOF
                   2354: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   2355: _ACEOF
                   2356: 
                   2357: cat >>confdefs.h <<_ACEOF
                   2358: #define PACKAGE_URL "$PACKAGE_URL"
                   2359: _ACEOF
                   2360: 
                   2361: 
                   2362: # Let the site file select an alternate cache file if it wants to.
                   2363: # Prefer an explicitly selected file to automatically selected ones.
                   2364: ac_site_file1=NONE
                   2365: ac_site_file2=NONE
                   2366: if test -n "$CONFIG_SITE"; then
                   2367:   # We do not want a PATH search for config.site.
                   2368:   case $CONFIG_SITE in #((
                   2369:     -*)  ac_site_file1=./$CONFIG_SITE;;
                   2370:     */*) ac_site_file1=$CONFIG_SITE;;
                   2371:     *)   ac_site_file1=./$CONFIG_SITE;;
                   2372:   esac
                   2373: elif test "x$prefix" != xNONE; then
                   2374:   ac_site_file1=$prefix/share/config.site
                   2375:   ac_site_file2=$prefix/etc/config.site
                   2376: else
                   2377:   ac_site_file1=$ac_default_prefix/share/config.site
                   2378:   ac_site_file2=$ac_default_prefix/etc/config.site
                   2379: fi
                   2380: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
                   2381: do
                   2382:   test "x$ac_site_file" = xNONE && continue
                   2383:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
                   2384:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
                   2385: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
                   2386:     sed 's/^/| /' "$ac_site_file" >&5
                   2387:     . "$ac_site_file" \
                   2388:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2389: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2390: as_fn_error $? "failed to load site script $ac_site_file
                   2391: See \`config.log' for more details" "$LINENO" 5; }
                   2392:   fi
                   2393: done
                   2394: 
                   2395: if test -r "$cache_file"; then
                   2396:   # Some versions of bash will fail to source /dev/null (special files
                   2397:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
                   2398:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
                   2399:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
                   2400: $as_echo "$as_me: loading cache $cache_file" >&6;}
                   2401:     case $cache_file in
                   2402:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
                   2403:       *)                      . "./$cache_file";;
                   2404:     esac
                   2405:   fi
                   2406: else
                   2407:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
                   2408: $as_echo "$as_me: creating cache $cache_file" >&6;}
                   2409:   >$cache_file
                   2410: fi
                   2411: 
                   2412: as_fn_append ac_header_list " sys/time.h"
                   2413: as_fn_append ac_header_list " unistd.h"
                   2414: as_fn_append ac_func_list " alarm"
                   2415: # Check that the precious variables saved in the cache have kept the same
                   2416: # value.
                   2417: ac_cache_corrupted=false
                   2418: for ac_var in $ac_precious_vars; do
                   2419:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   2420:   eval ac_new_set=\$ac_env_${ac_var}_set
                   2421:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
                   2422:   eval ac_new_val=\$ac_env_${ac_var}_value
                   2423:   case $ac_old_set,$ac_new_set in
                   2424:     set,)
                   2425:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   2426: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
                   2427:       ac_cache_corrupted=: ;;
                   2428:     ,set)
                   2429:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
                   2430: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
                   2431:       ac_cache_corrupted=: ;;
                   2432:     ,);;
                   2433:     *)
                   2434:       if test "x$ac_old_val" != "x$ac_new_val"; then
                   2435:        # differences in whitespace do not lead to failure.
                   2436:        ac_old_val_w=`echo x $ac_old_val`
                   2437:        ac_new_val_w=`echo x $ac_new_val`
                   2438:        if test "$ac_old_val_w" != "$ac_new_val_w"; then
                   2439:          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
                   2440: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
                   2441:          ac_cache_corrupted=:
                   2442:        else
                   2443:          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
                   2444: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
                   2445:          eval $ac_var=\$ac_old_val
                   2446:        fi
                   2447:        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
                   2448: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
                   2449:        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
                   2450: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
                   2451:       fi;;
                   2452:   esac
                   2453:   # Pass precious variables to config.status.
                   2454:   if test "$ac_new_set" = set; then
                   2455:     case $ac_new_val in
                   2456:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
                   2457:     *) ac_arg=$ac_var=$ac_new_val ;;
                   2458:     esac
                   2459:     case " $ac_configure_args " in
                   2460:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
                   2461:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
                   2462:     esac
                   2463:   fi
                   2464: done
                   2465: if $ac_cache_corrupted; then
                   2466:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2467: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2468:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
                   2469: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
                   2470:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
                   2471: fi
                   2472: ## -------------------- ##
                   2473: ## Main body of script. ##
                   2474: ## -------------------- ##
                   2475: 
                   2476: ac_ext=c
                   2477: ac_cpp='$CPP $CPPFLAGS'
                   2478: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2479: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2480: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2481: 
                   2482: 
                   2483: 
                   2484: 
                   2485: 
                   2486: ac_aux_dir=
                   2487: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
                   2488:   if test -f "$ac_dir/install-sh"; then
                   2489:     ac_aux_dir=$ac_dir
                   2490:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   2491:     break
                   2492:   elif test -f "$ac_dir/install.sh"; then
                   2493:     ac_aux_dir=$ac_dir
                   2494:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   2495:     break
                   2496:   elif test -f "$ac_dir/shtool"; then
                   2497:     ac_aux_dir=$ac_dir
                   2498:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   2499:     break
                   2500:   fi
                   2501: done
                   2502: if test -z "$ac_aux_dir"; then
                   2503:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
                   2504: fi
                   2505: 
                   2506: # These three variables are undocumented and unsupported,
                   2507: # and are intended to be withdrawn in a future Autoconf release.
                   2508: # They can cause serious problems if a builder's source tree is in a directory
                   2509: # whose full name contains unusual characters.
                   2510: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
                   2511: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
                   2512: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
                   2513: 
                   2514: 
                   2515: # Make sure we can run config.sub.
                   2516: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
                   2517:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
                   2518: 
                   2519: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
                   2520: $as_echo_n "checking build system type... " >&6; }
                   2521: if ${ac_cv_build+:} false; then :
                   2522:   $as_echo_n "(cached) " >&6
                   2523: else
                   2524:   ac_build_alias=$build_alias
                   2525: test "x$ac_build_alias" = x &&
                   2526:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
                   2527: test "x$ac_build_alias" = x &&
                   2528:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
                   2529: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
                   2530:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
                   2531: 
                   2532: fi
                   2533: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
                   2534: $as_echo "$ac_cv_build" >&6; }
                   2535: case $ac_cv_build in
                   2536: *-*-*) ;;
                   2537: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
                   2538: esac
                   2539: build=$ac_cv_build
                   2540: ac_save_IFS=$IFS; IFS='-'
                   2541: set x $ac_cv_build
                   2542: shift
                   2543: build_cpu=$1
                   2544: build_vendor=$2
                   2545: shift; shift
                   2546: # Remember, the first character of IFS is used to create $*,
                   2547: # except with old shells:
                   2548: build_os=$*
                   2549: IFS=$ac_save_IFS
                   2550: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
                   2551: 
                   2552: 
                   2553: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
                   2554: $as_echo_n "checking host system type... " >&6; }
                   2555: if ${ac_cv_host+:} false; then :
                   2556:   $as_echo_n "(cached) " >&6
                   2557: else
                   2558:   if test "x$host_alias" = x; then
                   2559:   ac_cv_host=$ac_cv_build
                   2560: else
                   2561:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
                   2562:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
                   2563: fi
                   2564: 
                   2565: fi
                   2566: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
                   2567: $as_echo "$ac_cv_host" >&6; }
                   2568: case $ac_cv_host in
                   2569: *-*-*) ;;
                   2570: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
                   2571: esac
                   2572: host=$ac_cv_host
                   2573: ac_save_IFS=$IFS; IFS='-'
                   2574: set x $ac_cv_host
                   2575: shift
                   2576: host_cpu=$1
                   2577: host_vendor=$2
                   2578: shift; shift
                   2579: # Remember, the first character of IFS is used to create $*,
                   2580: # except with old shells:
                   2581: host_os=$*
                   2582: IFS=$ac_save_IFS
                   2583: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
                   2584: 
                   2585: 
                   2586: { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
                   2587: $as_echo_n "checking target system type... " >&6; }
                   2588: if ${ac_cv_target+:} false; then :
                   2589:   $as_echo_n "(cached) " >&6
                   2590: else
                   2591:   if test "x$target_alias" = x; then
                   2592:   ac_cv_target=$ac_cv_host
                   2593: else
                   2594:   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
                   2595:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
                   2596: fi
                   2597: 
                   2598: fi
                   2599: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
                   2600: $as_echo "$ac_cv_target" >&6; }
                   2601: case $ac_cv_target in
                   2602: *-*-*) ;;
                   2603: *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
                   2604: esac
                   2605: target=$ac_cv_target
                   2606: ac_save_IFS=$IFS; IFS='-'
                   2607: set x $ac_cv_target
                   2608: shift
                   2609: target_cpu=$1
                   2610: target_vendor=$2
                   2611: shift; shift
                   2612: # Remember, the first character of IFS is used to create $*,
                   2613: # except with old shells:
                   2614: target_os=$*
                   2615: IFS=$ac_save_IFS
                   2616: case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
                   2617: 
                   2618: 
                   2619: # The aliases save the names the user supplied, while $host etc.
                   2620: # will get canonicalized.
                   2621: test -n "$target_alias" &&
                   2622:   test "$program_prefix$program_suffix$program_transform_name" = \
                   2623:     NONENONEs,x,x, &&
                   2624:   program_prefix=${target_alias}-
                   2625: 
                   2626: am__api_version='1.11'
                   2627: 
                   2628: # Find a good install program.  We prefer a C program (faster),
                   2629: # so one script is as good as another.  But avoid the broken or
                   2630: # incompatible versions:
                   2631: # SysV /etc/install, /usr/sbin/install
                   2632: # SunOS /usr/etc/install
                   2633: # IRIX /sbin/install
                   2634: # AIX /bin/install
                   2635: # AmigaOS /C/install, which installs bootblocks on floppy discs
                   2636: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   2637: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   2638: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
                   2639: # OS/2's system install, which has a completely different semantic
                   2640: # ./install, which can be erroneously created by make from ./install.sh.
                   2641: # Reject install programs that cannot install multiple files.
                   2642: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
                   2643: $as_echo_n "checking for a BSD-compatible install... " >&6; }
                   2644: if test -z "$INSTALL"; then
                   2645: if ${ac_cv_path_install+:} false; then :
                   2646:   $as_echo_n "(cached) " >&6
                   2647: else
                   2648:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2649: for as_dir in $PATH
                   2650: do
                   2651:   IFS=$as_save_IFS
                   2652:   test -z "$as_dir" && as_dir=.
                   2653:     # Account for people who put trailing slashes in PATH elements.
                   2654: case $as_dir/ in #((
                   2655:   ./ | .// | /[cC]/* | \
                   2656:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
                   2657:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
                   2658:   /usr/ucb/* ) ;;
                   2659:   *)
                   2660:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   2661:     # Don't use installbsd from OSF since it installs stuff as root
                   2662:     # by default.
                   2663:     for ac_prog in ginstall scoinst install; do
                   2664:       for ac_exec_ext in '' $ac_executable_extensions; do
                   2665:        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
                   2666:          if test $ac_prog = install &&
                   2667:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2668:            # AIX install.  It has an incompatible calling convention.
                   2669:            :
                   2670:          elif test $ac_prog = install &&
                   2671:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2672:            # program-specific install script used by HP pwplus--don't use.
                   2673:            :
                   2674:          else
                   2675:            rm -rf conftest.one conftest.two conftest.dir
                   2676:            echo one > conftest.one
                   2677:            echo two > conftest.two
                   2678:            mkdir conftest.dir
                   2679:            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
                   2680:              test -s conftest.one && test -s conftest.two &&
                   2681:              test -s conftest.dir/conftest.one &&
                   2682:              test -s conftest.dir/conftest.two
                   2683:            then
                   2684:              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   2685:              break 3
                   2686:            fi
                   2687:          fi
                   2688:        fi
                   2689:       done
                   2690:     done
                   2691:     ;;
                   2692: esac
                   2693: 
                   2694:   done
                   2695: IFS=$as_save_IFS
                   2696: 
                   2697: rm -rf conftest.one conftest.two conftest.dir
                   2698: 
                   2699: fi
                   2700:   if test "${ac_cv_path_install+set}" = set; then
                   2701:     INSTALL=$ac_cv_path_install
                   2702:   else
                   2703:     # As a last resort, use the slow shell script.  Don't cache a
                   2704:     # value for INSTALL within a source directory, because that will
                   2705:     # break other packages using the cache if that directory is
                   2706:     # removed, or if the value is a relative name.
                   2707:     INSTALL=$ac_install_sh
                   2708:   fi
                   2709: fi
                   2710: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
                   2711: $as_echo "$INSTALL" >&6; }
                   2712: 
                   2713: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   2714: # It thinks the first close brace ends the variable substitution.
                   2715: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   2716: 
                   2717: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
                   2718: 
                   2719: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   2720: 
                   2721: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
                   2722: $as_echo_n "checking whether build environment is sane... " >&6; }
                   2723: # Just in case
                   2724: sleep 1
                   2725: echo timestamp > conftest.file
                   2726: # Reject unsafe characters in $srcdir or the absolute working directory
                   2727: # name.  Accept space and tab only in the latter.
                   2728: am_lf='
                   2729: '
                   2730: case `pwd` in
                   2731:   *[\\\"\#\$\&\'\`$am_lf]*)
                   2732:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
                   2733: esac
                   2734: case $srcdir in
                   2735:   *[\\\"\#\$\&\'\`$am_lf\ \    ]*)
                   2736:     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
                   2737: esac
                   2738: 
                   2739: # Do `set' in a subshell so we don't clobber the current shell's
                   2740: # arguments.  Must try -L first in case configure is actually a
                   2741: # symlink; some systems play weird games with the mod time of symlinks
                   2742: # (eg FreeBSD returns the mod time of the symlink's containing
                   2743: # directory).
                   2744: if (
                   2745:    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
                   2746:    if test "$*" = "X"; then
                   2747:       # -L didn't work.
                   2748:       set X `ls -t "$srcdir/configure" conftest.file`
                   2749:    fi
                   2750:    rm -f conftest.file
                   2751:    if test "$*" != "X $srcdir/configure conftest.file" \
                   2752:       && test "$*" != "X conftest.file $srcdir/configure"; then
                   2753: 
                   2754:       # If neither matched, then we have a broken ls.  This can happen
                   2755:       # if, for instance, CONFIG_SHELL is bash and it inherits a
                   2756:       # broken ls alias from the environment.  This has actually
                   2757:       # happened.  Such a system could not be considered "sane".
                   2758:       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
                   2759: alias in your environment" "$LINENO" 5
                   2760:    fi
                   2761: 
                   2762:    test "$2" = conftest.file
                   2763:    )
                   2764: then
                   2765:    # Ok.
                   2766:    :
                   2767: else
                   2768:    as_fn_error $? "newly created file is older than distributed files!
                   2769: Check your system clock" "$LINENO" 5
                   2770: fi
                   2771: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2772: $as_echo "yes" >&6; }
                   2773: test "$program_prefix" != NONE &&
                   2774:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
                   2775: # Use a double $ so make ignores it.
                   2776: test "$program_suffix" != NONE &&
                   2777:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
                   2778: # Double any \ or $.
                   2779: # By default was `s,x,x', remove it if useless.
                   2780: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
                   2781: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
                   2782: 
                   2783: # expand $ac_aux_dir to an absolute path
                   2784: am_aux_dir=`cd $ac_aux_dir && pwd`
                   2785: 
                   2786: if test x"${MISSING+set}" != xset; then
                   2787:   case $am_aux_dir in
                   2788:   *\ * | *\    *)
                   2789:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
                   2790:   *)
                   2791:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
                   2792:   esac
                   2793: fi
                   2794: # Use eval to expand $SHELL
                   2795: if eval "$MISSING --run true"; then
                   2796:   am_missing_run="$MISSING --run "
                   2797: else
                   2798:   am_missing_run=
                   2799:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
                   2800: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
                   2801: fi
                   2802: 
                   2803: if test x"${install_sh}" != xset; then
                   2804:   case $am_aux_dir in
                   2805:   *\ * | *\    *)
                   2806:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
                   2807:   *)
                   2808:     install_sh="\${SHELL} $am_aux_dir/install-sh"
                   2809:   esac
                   2810: fi
                   2811: 
                   2812: # Installed binaries are usually stripped using `strip' when the user
                   2813: # run `make install-strip'.  However `strip' might not be the right
                   2814: # tool to use in cross-compilation environments, therefore Automake
                   2815: # will honor the `STRIP' environment variable to overrule this program.
                   2816: if test "$cross_compiling" != no; then
                   2817:   if test -n "$ac_tool_prefix"; then
                   2818:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   2819: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   2820: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2821: $as_echo_n "checking for $ac_word... " >&6; }
                   2822: if ${ac_cv_prog_STRIP+:} false; then :
                   2823:   $as_echo_n "(cached) " >&6
                   2824: else
                   2825:   if test -n "$STRIP"; then
                   2826:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   2827: else
                   2828: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2829: for as_dir in $PATH
                   2830: do
                   2831:   IFS=$as_save_IFS
                   2832:   test -z "$as_dir" && as_dir=.
                   2833:     for ac_exec_ext in '' $ac_executable_extensions; do
                   2834:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   2835:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   2836:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2837:     break 2
                   2838:   fi
                   2839: done
                   2840:   done
                   2841: IFS=$as_save_IFS
                   2842: 
                   2843: fi
                   2844: fi
                   2845: STRIP=$ac_cv_prog_STRIP
                   2846: if test -n "$STRIP"; then
                   2847:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   2848: $as_echo "$STRIP" >&6; }
                   2849: else
                   2850:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2851: $as_echo "no" >&6; }
                   2852: fi
                   2853: 
                   2854: 
                   2855: fi
                   2856: if test -z "$ac_cv_prog_STRIP"; then
                   2857:   ac_ct_STRIP=$STRIP
                   2858:   # Extract the first word of "strip", so it can be a program name with args.
                   2859: set dummy strip; ac_word=$2
                   2860: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2861: $as_echo_n "checking for $ac_word... " >&6; }
                   2862: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
                   2863:   $as_echo_n "(cached) " >&6
                   2864: else
                   2865:   if test -n "$ac_ct_STRIP"; then
                   2866:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   2867: else
                   2868: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2869: for as_dir in $PATH
                   2870: do
                   2871:   IFS=$as_save_IFS
                   2872:   test -z "$as_dir" && as_dir=.
                   2873:     for ac_exec_ext in '' $ac_executable_extensions; do
                   2874:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   2875:     ac_cv_prog_ac_ct_STRIP="strip"
                   2876:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2877:     break 2
                   2878:   fi
                   2879: done
                   2880:   done
                   2881: IFS=$as_save_IFS
                   2882: 
                   2883: fi
                   2884: fi
                   2885: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   2886: if test -n "$ac_ct_STRIP"; then
                   2887:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   2888: $as_echo "$ac_ct_STRIP" >&6; }
                   2889: else
                   2890:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2891: $as_echo "no" >&6; }
                   2892: fi
                   2893: 
                   2894:   if test "x$ac_ct_STRIP" = x; then
                   2895:     STRIP=":"
                   2896:   else
                   2897:     case $cross_compiling:$ac_tool_warned in
                   2898: yes:)
                   2899: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   2900: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   2901: ac_tool_warned=yes ;;
                   2902: esac
                   2903:     STRIP=$ac_ct_STRIP
                   2904:   fi
                   2905: else
                   2906:   STRIP="$ac_cv_prog_STRIP"
                   2907: fi
                   2908: 
                   2909: fi
                   2910: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
                   2911: 
                   2912: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
                   2913: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
                   2914: if test -z "$MKDIR_P"; then
                   2915:   if ${ac_cv_path_mkdir+:} false; then :
                   2916:   $as_echo_n "(cached) " >&6
                   2917: else
                   2918:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2919: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
                   2920: do
                   2921:   IFS=$as_save_IFS
                   2922:   test -z "$as_dir" && as_dir=.
                   2923:     for ac_prog in mkdir gmkdir; do
                   2924:         for ac_exec_ext in '' $ac_executable_extensions; do
                   2925:           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
                   2926:           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
                   2927:             'mkdir (GNU coreutils) '* | \
                   2928:             'mkdir (coreutils) '* | \
                   2929:             'mkdir (fileutils) '4.1*)
                   2930:               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
                   2931:               break 3;;
                   2932:           esac
                   2933:         done
                   2934:        done
                   2935:   done
                   2936: IFS=$as_save_IFS
                   2937: 
                   2938: fi
                   2939: 
                   2940:   test -d ./--version && rmdir ./--version
                   2941:   if test "${ac_cv_path_mkdir+set}" = set; then
                   2942:     MKDIR_P="$ac_cv_path_mkdir -p"
                   2943:   else
                   2944:     # As a last resort, use the slow shell script.  Don't cache a
                   2945:     # value for MKDIR_P within a source directory, because that will
                   2946:     # break other packages using the cache if that directory is
                   2947:     # removed, or if the value is a relative name.
                   2948:     MKDIR_P="$ac_install_sh -d"
                   2949:   fi
                   2950: fi
                   2951: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
                   2952: $as_echo "$MKDIR_P" >&6; }
                   2953: 
                   2954: mkdir_p="$MKDIR_P"
                   2955: case $mkdir_p in
                   2956:   [\\/$]* | ?:[\\/]*) ;;
                   2957:   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
                   2958: esac
                   2959: 
                   2960: for ac_prog in gawk mawk nawk awk
                   2961: do
                   2962:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2963: set dummy $ac_prog; ac_word=$2
                   2964: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2965: $as_echo_n "checking for $ac_word... " >&6; }
                   2966: if ${ac_cv_prog_AWK+:} false; then :
                   2967:   $as_echo_n "(cached) " >&6
                   2968: else
                   2969:   if test -n "$AWK"; then
                   2970:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   2971: else
                   2972: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2973: for as_dir in $PATH
                   2974: do
                   2975:   IFS=$as_save_IFS
                   2976:   test -z "$as_dir" && as_dir=.
                   2977:     for ac_exec_ext in '' $ac_executable_extensions; do
                   2978:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   2979:     ac_cv_prog_AWK="$ac_prog"
                   2980:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2981:     break 2
                   2982:   fi
                   2983: done
                   2984:   done
                   2985: IFS=$as_save_IFS
                   2986: 
                   2987: fi
                   2988: fi
                   2989: AWK=$ac_cv_prog_AWK
                   2990: if test -n "$AWK"; then
                   2991:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   2992: $as_echo "$AWK" >&6; }
                   2993: else
                   2994:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2995: $as_echo "no" >&6; }
                   2996: fi
                   2997: 
                   2998: 
                   2999:   test -n "$AWK" && break
                   3000: done
                   3001: 
                   3002: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   3003: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
                   3004: set x ${MAKE-make}
                   3005: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
                   3006: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
                   3007:   $as_echo_n "(cached) " >&6
                   3008: else
                   3009:   cat >conftest.make <<\_ACEOF
                   3010: SHELL = /bin/sh
                   3011: all:
                   3012:        @echo '@@@%%%=$(MAKE)=@@@%%%'
                   3013: _ACEOF
                   3014: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
                   3015: case `${MAKE-make} -f conftest.make 2>/dev/null` in
                   3016:   *@@@%%%=?*=@@@%%%*)
                   3017:     eval ac_cv_prog_make_${ac_make}_set=yes;;
                   3018:   *)
                   3019:     eval ac_cv_prog_make_${ac_make}_set=no;;
                   3020: esac
                   3021: rm -f conftest.make
                   3022: fi
                   3023: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
                   3024:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3025: $as_echo "yes" >&6; }
                   3026:   SET_MAKE=
                   3027: else
                   3028:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3029: $as_echo "no" >&6; }
                   3030:   SET_MAKE="MAKE=${MAKE-make}"
                   3031: fi
                   3032: 
                   3033: rm -rf .tst 2>/dev/null
                   3034: mkdir .tst 2>/dev/null
                   3035: if test -d .tst; then
                   3036:   am__leading_dot=.
                   3037: else
                   3038:   am__leading_dot=_
                   3039: fi
                   3040: rmdir .tst 2>/dev/null
                   3041: 
                   3042: if test "`cd $srcdir && pwd`" != "`pwd`"; then
                   3043:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
                   3044:   # is not polluted with repeated "-I."
                   3045:   am__isrc=' -I$(srcdir)'
                   3046:   # test to see if srcdir already configured
                   3047:   if test -f $srcdir/config.status; then
                   3048:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
                   3049:   fi
                   3050: fi
                   3051: 
                   3052: # test whether we have cygpath
                   3053: if test -z "$CYGPATH_W"; then
                   3054:   if (cygpath --version) >/dev/null 2>/dev/null; then
                   3055:     CYGPATH_W='cygpath -w'
                   3056:   else
                   3057:     CYGPATH_W=echo
                   3058:   fi
                   3059: fi
                   3060: 
                   3061: 
                   3062: # Define the identity of the package.
                   3063:  PACKAGE='quagga'
1.1.1.2 ! misho    3064:  VERSION='0.99.20.1'
1.1       misho    3065: 
                   3066: 
                   3067: cat >>confdefs.h <<_ACEOF
                   3068: #define PACKAGE "$PACKAGE"
                   3069: _ACEOF
                   3070: 
                   3071: 
                   3072: cat >>confdefs.h <<_ACEOF
                   3073: #define VERSION "$VERSION"
                   3074: _ACEOF
                   3075: 
                   3076: # Some tools Automake needs.
                   3077: 
                   3078: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
                   3079: 
                   3080: 
                   3081: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   3082: 
                   3083: 
                   3084: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
                   3085: 
                   3086: 
                   3087: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   3088: 
                   3089: 
                   3090: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
                   3091: 
                   3092: # We need awk for the "check" target.  The system "awk" is bad on
                   3093: # some platforms.
                   3094: # Always define AMTAR for backward compatibility.
                   3095: 
                   3096: AMTAR=${AMTAR-"${am_missing_run}tar"}
                   3097: 
                   3098: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
                   3099: 
                   3100: 
                   3101: 
                   3102: 
                   3103: 
                   3104: ac_config_headers="$ac_config_headers config.h"
                   3105: 
                   3106: 
                   3107: # Extract the first word of "gawk", so it can be a program name with args.
                   3108: set dummy gawk; ac_word=$2
                   3109: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3110: $as_echo_n "checking for $ac_word... " >&6; }
                   3111: if ${ac_cv_prog_GAWK+:} false; then :
                   3112:   $as_echo_n "(cached) " >&6
                   3113: else
                   3114:   if test -n "$GAWK"; then
                   3115:   ac_cv_prog_GAWK="$GAWK" # Let the user override the test.
                   3116: else
                   3117: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3118: for as_dir in $PATH
                   3119: do
                   3120:   IFS=$as_save_IFS
                   3121:   test -z "$as_dir" && as_dir=.
                   3122:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3123:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   3124:     ac_cv_prog_GAWK="gawk"
                   3125:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3126:     break 2
                   3127:   fi
                   3128: done
                   3129:   done
                   3130: IFS=$as_save_IFS
                   3131: 
                   3132:   test -z "$ac_cv_prog_GAWK" && ac_cv_prog_GAWK="not-in-PATH"
                   3133: fi
                   3134: fi
                   3135: GAWK=$ac_cv_prog_GAWK
                   3136: if test -n "$GAWK"; then
                   3137:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GAWK" >&5
                   3138: $as_echo "$GAWK" >&6; }
                   3139: else
                   3140:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3141: $as_echo "no" >&6; }
                   3142: fi
                   3143: 
                   3144: 
                   3145: if test "x$GAWK" = "xnot-in-PATH" ; then
                   3146:        as_fn_error $? "GNU awk is required for lib/memtype.h made by memtypes.awk.
                   3147: BSD awk complains: awk: gensub doesn't support backreferences (subst \"\1\") " "$LINENO" 5
                   3148: fi
                   3149: 
                   3150: 
                   3151: exampledir=${sysconfdir}
                   3152: # Check whether --enable-exampledir was given.
                   3153: if test "${enable_exampledir+set}" = set; then :
                   3154:   enableval=$enable_exampledir; exampledir="$enableval"
                   3155: fi
                   3156: 
                   3157: 
                   3158: 
                   3159: pkgsrcrcdir=""
                   3160: pkgsrcdir=""
                   3161: # Check whether --enable-pkgsrcrcdir was given.
                   3162: if test "${enable_pkgsrcrcdir+set}" = set; then :
                   3163:   enableval=$enable_pkgsrcrcdir; pkgsrcrcdir="$enableval"; pkgsrcdir="pkgsrc"
                   3164: fi
                   3165: 
                   3166: 
                   3167: 
                   3168: 
                   3169: 
                   3170: # Check whether --with-cflags was given.
                   3171: if test "${with_cflags+set}" = set; then :
                   3172:   withval=$with_cflags;
                   3173: fi
                   3174: 
                   3175: if test "x$with_cflags" != "x" ; then
                   3176:   CFLAGS="$with_cflags" ; cflags_specified=yes ;
                   3177: elif test -n "$CFLAGS" ; then
                   3178:   cflags_specified=yes ;
                   3179: fi
                   3180: 
                   3181: ac_ext=c
                   3182: ac_cpp='$CPP $CPPFLAGS'
                   3183: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3184: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3185: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3186: 
                   3187: ac_ext=c
                   3188: ac_cpp='$CPP $CPPFLAGS'
                   3189: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3190: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3191: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3192: if test -n "$ac_tool_prefix"; then
                   3193:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   3194: set dummy ${ac_tool_prefix}gcc; ac_word=$2
                   3195: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3196: $as_echo_n "checking for $ac_word... " >&6; }
                   3197: if ${ac_cv_prog_CC+:} false; then :
                   3198:   $as_echo_n "(cached) " >&6
                   3199: else
                   3200:   if test -n "$CC"; then
                   3201:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3202: else
                   3203: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3204: for as_dir in $PATH
                   3205: do
                   3206:   IFS=$as_save_IFS
                   3207:   test -z "$as_dir" && as_dir=.
                   3208:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3209:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   3210:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
                   3211:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3212:     break 2
                   3213:   fi
                   3214: done
                   3215:   done
                   3216: IFS=$as_save_IFS
                   3217: 
                   3218: fi
                   3219: fi
                   3220: CC=$ac_cv_prog_CC
                   3221: if test -n "$CC"; then
                   3222:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3223: $as_echo "$CC" >&6; }
                   3224: else
                   3225:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3226: $as_echo "no" >&6; }
                   3227: fi
                   3228: 
                   3229: 
                   3230: fi
                   3231: if test -z "$ac_cv_prog_CC"; then
                   3232:   ac_ct_CC=$CC
                   3233:   # Extract the first word of "gcc", so it can be a program name with args.
                   3234: set dummy gcc; ac_word=$2
                   3235: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3236: $as_echo_n "checking for $ac_word... " >&6; }
                   3237: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   3238:   $as_echo_n "(cached) " >&6
                   3239: else
                   3240:   if test -n "$ac_ct_CC"; then
                   3241:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3242: else
                   3243: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3244: for as_dir in $PATH
                   3245: do
                   3246:   IFS=$as_save_IFS
                   3247:   test -z "$as_dir" && as_dir=.
                   3248:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3249:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   3250:     ac_cv_prog_ac_ct_CC="gcc"
                   3251:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3252:     break 2
                   3253:   fi
                   3254: done
                   3255:   done
                   3256: IFS=$as_save_IFS
                   3257: 
                   3258: fi
                   3259: fi
                   3260: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3261: if test -n "$ac_ct_CC"; then
                   3262:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   3263: $as_echo "$ac_ct_CC" >&6; }
                   3264: else
                   3265:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3266: $as_echo "no" >&6; }
                   3267: fi
                   3268: 
                   3269:   if test "x$ac_ct_CC" = x; then
                   3270:     CC=""
                   3271:   else
                   3272:     case $cross_compiling:$ac_tool_warned in
                   3273: yes:)
                   3274: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3275: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3276: ac_tool_warned=yes ;;
                   3277: esac
                   3278:     CC=$ac_ct_CC
                   3279:   fi
                   3280: else
                   3281:   CC="$ac_cv_prog_CC"
                   3282: fi
                   3283: 
                   3284: if test -z "$CC"; then
                   3285:           if test -n "$ac_tool_prefix"; then
                   3286:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
                   3287: set dummy ${ac_tool_prefix}cc; ac_word=$2
                   3288: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3289: $as_echo_n "checking for $ac_word... " >&6; }
                   3290: if ${ac_cv_prog_CC+:} false; then :
                   3291:   $as_echo_n "(cached) " >&6
                   3292: else
                   3293:   if test -n "$CC"; then
                   3294:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3295: else
                   3296: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3297: for as_dir in $PATH
                   3298: do
                   3299:   IFS=$as_save_IFS
                   3300:   test -z "$as_dir" && as_dir=.
                   3301:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3302:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   3303:     ac_cv_prog_CC="${ac_tool_prefix}cc"
                   3304:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3305:     break 2
                   3306:   fi
                   3307: done
                   3308:   done
                   3309: IFS=$as_save_IFS
                   3310: 
                   3311: fi
                   3312: fi
                   3313: CC=$ac_cv_prog_CC
                   3314: if test -n "$CC"; then
                   3315:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3316: $as_echo "$CC" >&6; }
                   3317: else
                   3318:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3319: $as_echo "no" >&6; }
                   3320: fi
                   3321: 
                   3322: 
                   3323:   fi
                   3324: fi
                   3325: if test -z "$CC"; then
                   3326:   # Extract the first word of "cc", so it can be a program name with args.
                   3327: set dummy cc; ac_word=$2
                   3328: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3329: $as_echo_n "checking for $ac_word... " >&6; }
                   3330: if ${ac_cv_prog_CC+:} false; then :
                   3331:   $as_echo_n "(cached) " >&6
                   3332: else
                   3333:   if test -n "$CC"; then
                   3334:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3335: else
                   3336:   ac_prog_rejected=no
                   3337: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3338: for as_dir in $PATH
                   3339: do
                   3340:   IFS=$as_save_IFS
                   3341:   test -z "$as_dir" && as_dir=.
                   3342:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3343:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   3344:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   3345:        ac_prog_rejected=yes
                   3346:        continue
                   3347:      fi
                   3348:     ac_cv_prog_CC="cc"
                   3349:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3350:     break 2
                   3351:   fi
                   3352: done
                   3353:   done
                   3354: IFS=$as_save_IFS
                   3355: 
                   3356: if test $ac_prog_rejected = yes; then
                   3357:   # We found a bogon in the path, so make sure we never use it.
                   3358:   set dummy $ac_cv_prog_CC
                   3359:   shift
                   3360:   if test $# != 0; then
                   3361:     # We chose a different compiler from the bogus one.
                   3362:     # However, it has the same basename, so the bogon will be chosen
                   3363:     # first if we set CC to just the basename; use the full file name.
                   3364:     shift
                   3365:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
                   3366:   fi
                   3367: fi
                   3368: fi
                   3369: fi
                   3370: CC=$ac_cv_prog_CC
                   3371: if test -n "$CC"; then
                   3372:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3373: $as_echo "$CC" >&6; }
                   3374: else
                   3375:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3376: $as_echo "no" >&6; }
                   3377: fi
                   3378: 
                   3379: 
                   3380: fi
                   3381: if test -z "$CC"; then
                   3382:   if test -n "$ac_tool_prefix"; then
                   3383:   for ac_prog in cl.exe
                   3384:   do
                   3385:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3386: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   3387: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3388: $as_echo_n "checking for $ac_word... " >&6; }
                   3389: if ${ac_cv_prog_CC+:} false; then :
                   3390:   $as_echo_n "(cached) " >&6
                   3391: else
                   3392:   if test -n "$CC"; then
                   3393:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3394: else
                   3395: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3396: for as_dir in $PATH
                   3397: do
                   3398:   IFS=$as_save_IFS
                   3399:   test -z "$as_dir" && as_dir=.
                   3400:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3401:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   3402:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
                   3403:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3404:     break 2
                   3405:   fi
                   3406: done
                   3407:   done
                   3408: IFS=$as_save_IFS
                   3409: 
                   3410: fi
                   3411: fi
                   3412: CC=$ac_cv_prog_CC
                   3413: if test -n "$CC"; then
                   3414:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3415: $as_echo "$CC" >&6; }
                   3416: else
                   3417:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3418: $as_echo "no" >&6; }
                   3419: fi
                   3420: 
                   3421: 
                   3422:     test -n "$CC" && break
                   3423:   done
                   3424: fi
                   3425: if test -z "$CC"; then
                   3426:   ac_ct_CC=$CC
                   3427:   for ac_prog in cl.exe
                   3428: do
                   3429:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3430: set dummy $ac_prog; ac_word=$2
                   3431: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3432: $as_echo_n "checking for $ac_word... " >&6; }
                   3433: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   3434:   $as_echo_n "(cached) " >&6
                   3435: else
                   3436:   if test -n "$ac_ct_CC"; then
                   3437:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3438: else
                   3439: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3440: for as_dir in $PATH
                   3441: do
                   3442:   IFS=$as_save_IFS
                   3443:   test -z "$as_dir" && as_dir=.
                   3444:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3445:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   3446:     ac_cv_prog_ac_ct_CC="$ac_prog"
                   3447:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3448:     break 2
                   3449:   fi
                   3450: done
                   3451:   done
                   3452: IFS=$as_save_IFS
                   3453: 
                   3454: fi
                   3455: fi
                   3456: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3457: if test -n "$ac_ct_CC"; then
                   3458:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   3459: $as_echo "$ac_ct_CC" >&6; }
                   3460: else
                   3461:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3462: $as_echo "no" >&6; }
                   3463: fi
                   3464: 
                   3465: 
                   3466:   test -n "$ac_ct_CC" && break
                   3467: done
                   3468: 
                   3469:   if test "x$ac_ct_CC" = x; then
                   3470:     CC=""
                   3471:   else
                   3472:     case $cross_compiling:$ac_tool_warned in
                   3473: yes:)
                   3474: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3475: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3476: ac_tool_warned=yes ;;
                   3477: esac
                   3478:     CC=$ac_ct_CC
                   3479:   fi
                   3480: fi
                   3481: 
                   3482: fi
                   3483: 
                   3484: 
                   3485: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3486: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3487: as_fn_error $? "no acceptable C compiler found in \$PATH
                   3488: See \`config.log' for more details" "$LINENO" 5; }
                   3489: 
                   3490: # Provide some information about the compiler.
                   3491: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
                   3492: set X $ac_compile
                   3493: ac_compiler=$2
                   3494: for ac_option in --version -v -V -qversion; do
                   3495:   { { ac_try="$ac_compiler $ac_option >&5"
                   3496: case "(($ac_try" in
                   3497:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3498:   *) ac_try_echo=$ac_try;;
                   3499: esac
                   3500: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3501: $as_echo "$ac_try_echo"; } >&5
                   3502:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
                   3503:   ac_status=$?
                   3504:   if test -s conftest.err; then
                   3505:     sed '10a\
                   3506: ... rest of stderr output deleted ...
                   3507:          10q' conftest.err >conftest.er1
                   3508:     cat conftest.er1 >&5
                   3509:   fi
                   3510:   rm -f conftest.er1 conftest.err
                   3511:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3512:   test $ac_status = 0; }
                   3513: done
                   3514: 
                   3515: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3516: /* end confdefs.h.  */
                   3517: 
                   3518: int
                   3519: main ()
                   3520: {
                   3521: 
                   3522:   ;
                   3523:   return 0;
                   3524: }
                   3525: _ACEOF
                   3526: ac_clean_files_save=$ac_clean_files
                   3527: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
                   3528: # Try to create an executable without -o first, disregard a.out.
                   3529: # It will help us diagnose broken compilers, and finding out an intuition
                   3530: # of exeext.
                   3531: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
                   3532: $as_echo_n "checking whether the C compiler works... " >&6; }
                   3533: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   3534: 
                   3535: # The possible output files:
                   3536: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
                   3537: 
                   3538: ac_rmfiles=
                   3539: for ac_file in $ac_files
                   3540: do
                   3541:   case $ac_file in
                   3542:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3543:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
                   3544:   esac
                   3545: done
                   3546: rm -f $ac_rmfiles
                   3547: 
                   3548: if { { ac_try="$ac_link_default"
                   3549: case "(($ac_try" in
                   3550:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3551:   *) ac_try_echo=$ac_try;;
                   3552: esac
                   3553: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3554: $as_echo "$ac_try_echo"; } >&5
                   3555:   (eval "$ac_link_default") 2>&5
                   3556:   ac_status=$?
                   3557:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3558:   test $ac_status = 0; }; then :
                   3559:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
                   3560: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
                   3561: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
                   3562: # so that the user can short-circuit this test for compilers unknown to
                   3563: # Autoconf.
                   3564: for ac_file in $ac_files ''
                   3565: do
                   3566:   test -f "$ac_file" || continue
                   3567:   case $ac_file in
                   3568:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
                   3569:        ;;
                   3570:     [ab].out )
                   3571:        # We found the default executable, but exeext='' is most
                   3572:        # certainly right.
                   3573:        break;;
                   3574:     *.* )
                   3575:        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
                   3576:        then :; else
                   3577:           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3578:        fi
                   3579:        # We set ac_cv_exeext here because the later test for it is not
                   3580:        # safe: cross compilers may not add the suffix if given an `-o'
                   3581:        # argument, so we may need to know it at that point already.
                   3582:        # Even if this section looks crufty: it has the advantage of
                   3583:        # actually working.
                   3584:        break;;
                   3585:     * )
                   3586:        break;;
                   3587:   esac
                   3588: done
                   3589: test "$ac_cv_exeext" = no && ac_cv_exeext=
                   3590: 
                   3591: else
                   3592:   ac_file=''
                   3593: fi
                   3594: if test -z "$ac_file"; then :
                   3595:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3596: $as_echo "no" >&6; }
                   3597: $as_echo "$as_me: failed program was:" >&5
                   3598: sed 's/^/| /' conftest.$ac_ext >&5
                   3599: 
                   3600: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3601: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3602: as_fn_error 77 "C compiler cannot create executables
                   3603: See \`config.log' for more details" "$LINENO" 5; }
                   3604: else
                   3605:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3606: $as_echo "yes" >&6; }
                   3607: fi
                   3608: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
                   3609: $as_echo_n "checking for C compiler default output file name... " >&6; }
                   3610: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
                   3611: $as_echo "$ac_file" >&6; }
                   3612: ac_exeext=$ac_cv_exeext
                   3613: 
                   3614: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
                   3615: ac_clean_files=$ac_clean_files_save
                   3616: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
                   3617: $as_echo_n "checking for suffix of executables... " >&6; }
                   3618: if { { ac_try="$ac_link"
                   3619: case "(($ac_try" in
                   3620:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3621:   *) ac_try_echo=$ac_try;;
                   3622: esac
                   3623: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3624: $as_echo "$ac_try_echo"; } >&5
                   3625:   (eval "$ac_link") 2>&5
                   3626:   ac_status=$?
                   3627:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3628:   test $ac_status = 0; }; then :
                   3629:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   3630: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   3631: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   3632: # `rm'.
                   3633: for ac_file in conftest.exe conftest conftest.*; do
                   3634:   test -f "$ac_file" || continue
                   3635:   case $ac_file in
                   3636:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3637:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3638:          break;;
                   3639:     * ) break;;
                   3640:   esac
                   3641: done
                   3642: else
                   3643:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3644: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3645: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
                   3646: See \`config.log' for more details" "$LINENO" 5; }
                   3647: fi
                   3648: rm -f conftest conftest$ac_cv_exeext
                   3649: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
                   3650: $as_echo "$ac_cv_exeext" >&6; }
                   3651: 
                   3652: rm -f conftest.$ac_ext
                   3653: EXEEXT=$ac_cv_exeext
                   3654: ac_exeext=$EXEEXT
                   3655: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3656: /* end confdefs.h.  */
                   3657: #include <stdio.h>
                   3658: int
                   3659: main ()
                   3660: {
                   3661: FILE *f = fopen ("conftest.out", "w");
                   3662:  return ferror (f) || fclose (f) != 0;
                   3663: 
                   3664:   ;
                   3665:   return 0;
                   3666: }
                   3667: _ACEOF
                   3668: ac_clean_files="$ac_clean_files conftest.out"
                   3669: # Check that the compiler produces executables we can run.  If not, either
                   3670: # the compiler is broken, or we cross compile.
                   3671: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
                   3672: $as_echo_n "checking whether we are cross compiling... " >&6; }
                   3673: if test "$cross_compiling" != yes; then
                   3674:   { { ac_try="$ac_link"
                   3675: case "(($ac_try" in
                   3676:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3677:   *) ac_try_echo=$ac_try;;
                   3678: esac
                   3679: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3680: $as_echo "$ac_try_echo"; } >&5
                   3681:   (eval "$ac_link") 2>&5
                   3682:   ac_status=$?
                   3683:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3684:   test $ac_status = 0; }
                   3685:   if { ac_try='./conftest$ac_cv_exeext'
                   3686:   { { case "(($ac_try" in
                   3687:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3688:   *) ac_try_echo=$ac_try;;
                   3689: esac
                   3690: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3691: $as_echo "$ac_try_echo"; } >&5
                   3692:   (eval "$ac_try") 2>&5
                   3693:   ac_status=$?
                   3694:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3695:   test $ac_status = 0; }; }; then
                   3696:     cross_compiling=no
                   3697:   else
                   3698:     if test "$cross_compiling" = maybe; then
                   3699:        cross_compiling=yes
                   3700:     else
                   3701:        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3702: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3703: as_fn_error $? "cannot run C compiled programs.
                   3704: If you meant to cross compile, use \`--host'.
                   3705: See \`config.log' for more details" "$LINENO" 5; }
                   3706:     fi
                   3707:   fi
                   3708: fi
                   3709: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
                   3710: $as_echo "$cross_compiling" >&6; }
                   3711: 
                   3712: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
                   3713: ac_clean_files=$ac_clean_files_save
                   3714: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
                   3715: $as_echo_n "checking for suffix of object files... " >&6; }
                   3716: if ${ac_cv_objext+:} false; then :
                   3717:   $as_echo_n "(cached) " >&6
                   3718: else
                   3719:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3720: /* end confdefs.h.  */
                   3721: 
                   3722: int
                   3723: main ()
                   3724: {
                   3725: 
                   3726:   ;
                   3727:   return 0;
                   3728: }
                   3729: _ACEOF
                   3730: rm -f conftest.o conftest.obj
                   3731: if { { ac_try="$ac_compile"
                   3732: case "(($ac_try" in
                   3733:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3734:   *) ac_try_echo=$ac_try;;
                   3735: esac
                   3736: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3737: $as_echo "$ac_try_echo"; } >&5
                   3738:   (eval "$ac_compile") 2>&5
                   3739:   ac_status=$?
                   3740:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3741:   test $ac_status = 0; }; then :
                   3742:   for ac_file in conftest.o conftest.obj conftest.*; do
                   3743:   test -f "$ac_file" || continue;
                   3744:   case $ac_file in
                   3745:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
                   3746:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   3747:        break;;
                   3748:   esac
                   3749: done
                   3750: else
                   3751:   $as_echo "$as_me: failed program was:" >&5
                   3752: sed 's/^/| /' conftest.$ac_ext >&5
                   3753: 
                   3754: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3755: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3756: as_fn_error $? "cannot compute suffix of object files: cannot compile
                   3757: See \`config.log' for more details" "$LINENO" 5; }
                   3758: fi
                   3759: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   3760: fi
                   3761: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
                   3762: $as_echo "$ac_cv_objext" >&6; }
                   3763: OBJEXT=$ac_cv_objext
                   3764: ac_objext=$OBJEXT
                   3765: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
                   3766: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
                   3767: if ${ac_cv_c_compiler_gnu+:} false; then :
                   3768:   $as_echo_n "(cached) " >&6
                   3769: else
                   3770:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3771: /* end confdefs.h.  */
                   3772: 
                   3773: int
                   3774: main ()
                   3775: {
                   3776: #ifndef __GNUC__
                   3777:        choke me
                   3778: #endif
                   3779: 
                   3780:   ;
                   3781:   return 0;
                   3782: }
                   3783: _ACEOF
                   3784: if ac_fn_c_try_compile "$LINENO"; then :
                   3785:   ac_compiler_gnu=yes
                   3786: else
                   3787:   ac_compiler_gnu=no
                   3788: fi
                   3789: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3790: ac_cv_c_compiler_gnu=$ac_compiler_gnu
                   3791: 
                   3792: fi
                   3793: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
                   3794: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
                   3795: if test $ac_compiler_gnu = yes; then
                   3796:   GCC=yes
                   3797: else
                   3798:   GCC=
                   3799: fi
                   3800: ac_test_CFLAGS=${CFLAGS+set}
                   3801: ac_save_CFLAGS=$CFLAGS
                   3802: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
                   3803: $as_echo_n "checking whether $CC accepts -g... " >&6; }
                   3804: if ${ac_cv_prog_cc_g+:} false; then :
                   3805:   $as_echo_n "(cached) " >&6
                   3806: else
                   3807:   ac_save_c_werror_flag=$ac_c_werror_flag
                   3808:    ac_c_werror_flag=yes
                   3809:    ac_cv_prog_cc_g=no
                   3810:    CFLAGS="-g"
                   3811:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3812: /* end confdefs.h.  */
                   3813: 
                   3814: int
                   3815: main ()
                   3816: {
                   3817: 
                   3818:   ;
                   3819:   return 0;
                   3820: }
                   3821: _ACEOF
                   3822: if ac_fn_c_try_compile "$LINENO"; then :
                   3823:   ac_cv_prog_cc_g=yes
                   3824: else
                   3825:   CFLAGS=""
                   3826:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3827: /* end confdefs.h.  */
                   3828: 
                   3829: int
                   3830: main ()
                   3831: {
                   3832: 
                   3833:   ;
                   3834:   return 0;
                   3835: }
                   3836: _ACEOF
                   3837: if ac_fn_c_try_compile "$LINENO"; then :
                   3838: 
                   3839: else
                   3840:   ac_c_werror_flag=$ac_save_c_werror_flag
                   3841:         CFLAGS="-g"
                   3842:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3843: /* end confdefs.h.  */
                   3844: 
                   3845: int
                   3846: main ()
                   3847: {
                   3848: 
                   3849:   ;
                   3850:   return 0;
                   3851: }
                   3852: _ACEOF
                   3853: if ac_fn_c_try_compile "$LINENO"; then :
                   3854:   ac_cv_prog_cc_g=yes
                   3855: fi
                   3856: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3857: fi
                   3858: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3859: fi
                   3860: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3861:    ac_c_werror_flag=$ac_save_c_werror_flag
                   3862: fi
                   3863: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
                   3864: $as_echo "$ac_cv_prog_cc_g" >&6; }
                   3865: if test "$ac_test_CFLAGS" = set; then
                   3866:   CFLAGS=$ac_save_CFLAGS
                   3867: elif test $ac_cv_prog_cc_g = yes; then
                   3868:   if test "$GCC" = yes; then
                   3869:     CFLAGS="-g -O2"
                   3870:   else
                   3871:     CFLAGS="-g"
                   3872:   fi
                   3873: else
                   3874:   if test "$GCC" = yes; then
                   3875:     CFLAGS="-O2"
                   3876:   else
                   3877:     CFLAGS=
                   3878:   fi
                   3879: fi
                   3880: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
                   3881: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
                   3882: if ${ac_cv_prog_cc_c89+:} false; then :
                   3883:   $as_echo_n "(cached) " >&6
                   3884: else
                   3885:   ac_cv_prog_cc_c89=no
                   3886: ac_save_CC=$CC
                   3887: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3888: /* end confdefs.h.  */
                   3889: #include <stdarg.h>
                   3890: #include <stdio.h>
                   3891: #include <sys/types.h>
                   3892: #include <sys/stat.h>
                   3893: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   3894: struct buf { int x; };
                   3895: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   3896: static char *e (p, i)
                   3897:      char **p;
                   3898:      int i;
                   3899: {
                   3900:   return p[i];
                   3901: }
                   3902: static char *f (char * (*g) (char **, int), char **p, ...)
                   3903: {
                   3904:   char *s;
                   3905:   va_list v;
                   3906:   va_start (v,p);
                   3907:   s = g (p, va_arg (v,int));
                   3908:   va_end (v);
                   3909:   return s;
                   3910: }
                   3911: 
                   3912: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   3913:    function prototypes and stuff, but not '\xHH' hex character constants.
                   3914:    These don't provoke an error unfortunately, instead are silently treated
                   3915:    as 'x'.  The following induces an error, until -std is added to get
                   3916:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   3917:    array size at least.  It's necessary to write '\x00'==0 to get something
                   3918:    that's true only with -std.  */
                   3919: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   3920: 
                   3921: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
                   3922:    inside strings and character constants.  */
                   3923: #define FOO(x) 'x'
                   3924: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
                   3925: 
                   3926: int test (int i, double x);
                   3927: struct s1 {int (*f) (int a);};
                   3928: struct s2 {int (*f) (double a);};
                   3929: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   3930: int argc;
                   3931: char **argv;
                   3932: int
                   3933: main ()
                   3934: {
                   3935: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   3936:   ;
                   3937:   return 0;
                   3938: }
                   3939: _ACEOF
                   3940: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
                   3941:        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
                   3942: do
                   3943:   CC="$ac_save_CC $ac_arg"
                   3944:   if ac_fn_c_try_compile "$LINENO"; then :
                   3945:   ac_cv_prog_cc_c89=$ac_arg
                   3946: fi
                   3947: rm -f core conftest.err conftest.$ac_objext
                   3948:   test "x$ac_cv_prog_cc_c89" != "xno" && break
                   3949: done
                   3950: rm -f conftest.$ac_ext
                   3951: CC=$ac_save_CC
                   3952: 
                   3953: fi
                   3954: # AC_CACHE_VAL
                   3955: case "x$ac_cv_prog_cc_c89" in
                   3956:   x)
                   3957:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   3958: $as_echo "none needed" >&6; } ;;
                   3959:   xno)
                   3960:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   3961: $as_echo "unsupported" >&6; } ;;
                   3962:   *)
                   3963:     CC="$CC $ac_cv_prog_cc_c89"
                   3964:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
                   3965: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
                   3966: esac
                   3967: if test "x$ac_cv_prog_cc_c89" != xno; then :
                   3968: 
                   3969: fi
                   3970: 
                   3971: ac_ext=c
                   3972: ac_cpp='$CPP $CPPFLAGS'
                   3973: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3974: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3975: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3976: DEPDIR="${am__leading_dot}deps"
                   3977: 
                   3978: ac_config_commands="$ac_config_commands depfiles"
                   3979: 
                   3980: 
                   3981: am_make=${MAKE-make}
                   3982: cat > confinc << 'END'
                   3983: am__doit:
                   3984:        @echo this is the am__doit target
                   3985: .PHONY: am__doit
                   3986: END
                   3987: # If we don't find an include directive, just comment out the code.
                   3988: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
                   3989: $as_echo_n "checking for style of include used by $am_make... " >&6; }
                   3990: am__include="#"
                   3991: am__quote=
                   3992: _am_result=none
                   3993: # First try GNU make style include.
                   3994: echo "include confinc" > confmf
                   3995: # Ignore all kinds of additional output from `make'.
                   3996: case `$am_make -s -f confmf 2> /dev/null` in #(
                   3997: *the\ am__doit\ target*)
                   3998:   am__include=include
                   3999:   am__quote=
                   4000:   _am_result=GNU
                   4001:   ;;
                   4002: esac
                   4003: # Now try BSD make style include.
                   4004: if test "$am__include" = "#"; then
                   4005:    echo '.include "confinc"' > confmf
                   4006:    case `$am_make -s -f confmf 2> /dev/null` in #(
                   4007:    *the\ am__doit\ target*)
                   4008:      am__include=.include
                   4009:      am__quote="\""
                   4010:      _am_result=BSD
                   4011:      ;;
                   4012:    esac
                   4013: fi
                   4014: 
                   4015: 
                   4016: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
                   4017: $as_echo "$_am_result" >&6; }
                   4018: rm -f confinc confmf
                   4019: 
                   4020: # Check whether --enable-dependency-tracking was given.
                   4021: if test "${enable_dependency_tracking+set}" = set; then :
                   4022:   enableval=$enable_dependency_tracking;
                   4023: fi
                   4024: 
                   4025: if test "x$enable_dependency_tracking" != xno; then
                   4026:   am_depcomp="$ac_aux_dir/depcomp"
                   4027:   AMDEPBACKSLASH='\'
1.1.1.2 ! misho    4028:   am__nodep='_no'
1.1       misho    4029: fi
                   4030:  if test "x$enable_dependency_tracking" != xno; then
                   4031:   AMDEP_TRUE=
                   4032:   AMDEP_FALSE='#'
                   4033: else
                   4034:   AMDEP_TRUE='#'
                   4035:   AMDEP_FALSE=
                   4036: fi
                   4037: 
                   4038: 
                   4039: 
                   4040: depcc="$CC"   am_compiler_list=
                   4041: 
                   4042: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   4043: $as_echo_n "checking dependency style of $depcc... " >&6; }
                   4044: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
                   4045:   $as_echo_n "(cached) " >&6
                   4046: else
                   4047:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   4048:   # We make a subdir and do the tests there.  Otherwise we can end up
                   4049:   # making bogus files that we don't know about and never remove.  For
                   4050:   # instance it was reported that on HP-UX the gcc test will end up
                   4051:   # making a dummy file named `D' -- because `-MD' means `put the output
                   4052:   # in D'.
1.1.1.2 ! misho    4053:   rm -rf conftest.dir
1.1       misho    4054:   mkdir conftest.dir
                   4055:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   4056:   # using a relative directory.
                   4057:   cp "$am_depcomp" conftest.dir
                   4058:   cd conftest.dir
                   4059:   # We will build objects and dependencies in a subdirectory because
                   4060:   # it helps to detect inapplicable dependency modes.  For instance
                   4061:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   4062:   # side effect of compilation, but ICC will put the dependencies in
                   4063:   # the current directory while Tru64 will put them in the object
                   4064:   # directory.
                   4065:   mkdir sub
                   4066: 
                   4067:   am_cv_CC_dependencies_compiler_type=none
                   4068:   if test "$am_compiler_list" = ""; then
                   4069:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   4070:   fi
                   4071:   am__universal=false
                   4072:   case " $depcc " in #(
                   4073:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   4074:      esac
                   4075: 
                   4076:   for depmode in $am_compiler_list; do
                   4077:     # Setup a source with many dependencies, because some compilers
                   4078:     # like to wrap large dependency lists on column 80 (with \), and
                   4079:     # we should not choose a depcomp mode which is confused by this.
                   4080:     #
                   4081:     # We need to recreate these files for each test, as the compiler may
                   4082:     # overwrite some of them when testing with obscure command lines.
                   4083:     # This happens at least with the AIX C compiler.
                   4084:     : > sub/conftest.c
                   4085:     for i in 1 2 3 4 5 6; do
                   4086:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   4087:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   4088:       # Solaris 8's {/usr,}/bin/sh.
                   4089:       touch sub/conftst$i.h
                   4090:     done
                   4091:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
                   4092: 
                   4093:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   4094:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   4095:     # handle `-M -o', and we need to detect this.  Also, some Intel
                   4096:     # versions had trouble with output in subdirs
                   4097:     am__obj=sub/conftest.${OBJEXT-o}
                   4098:     am__minus_obj="-o $am__obj"
                   4099:     case $depmode in
                   4100:     gcc)
                   4101:       # This depmode causes a compiler race in universal mode.
                   4102:       test "$am__universal" = false || continue
                   4103:       ;;
                   4104:     nosideeffect)
                   4105:       # after this tag, mechanisms are not by side-effect, so they'll
                   4106:       # only be used when explicitly requested
                   4107:       if test "x$enable_dependency_tracking" = xyes; then
                   4108:        continue
                   4109:       else
                   4110:        break
                   4111:       fi
                   4112:       ;;
1.1.1.2 ! misho    4113:     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
1.1       misho    4114:       # This compiler won't grok `-c -o', but also, the minuso test has
                   4115:       # not run yet.  These depmodes are late enough in the game, and
                   4116:       # so weak that their functioning should not be impacted.
                   4117:       am__obj=conftest.${OBJEXT-o}
                   4118:       am__minus_obj=
                   4119:       ;;
                   4120:     none) break ;;
                   4121:     esac
                   4122:     if depmode=$depmode \
                   4123:        source=sub/conftest.c object=$am__obj \
                   4124:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
                   4125:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
                   4126:          >/dev/null 2>conftest.err &&
                   4127:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
                   4128:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
                   4129:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
                   4130:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
                   4131:       # icc doesn't choke on unknown options, it will just issue warnings
                   4132:       # or remarks (even with -Werror).  So we grep stderr for any message
                   4133:       # that says an option was ignored or not supported.
                   4134:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   4135:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   4136:       # The diagnosis changed in icc 8.0:
                   4137:       #   icc: Command line remark: option '-MP' not supported
                   4138:       if (grep 'ignoring option' conftest.err ||
                   4139:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   4140:         am_cv_CC_dependencies_compiler_type=$depmode
                   4141:         break
                   4142:       fi
                   4143:     fi
                   4144:   done
                   4145: 
                   4146:   cd ..
                   4147:   rm -rf conftest.dir
                   4148: else
                   4149:   am_cv_CC_dependencies_compiler_type=none
                   4150: fi
                   4151: 
                   4152: fi
                   4153: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
                   4154: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
                   4155: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   4156: 
                   4157:  if
                   4158:   test "x$enable_dependency_tracking" != xno \
                   4159:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   4160:   am__fastdepCC_TRUE=
                   4161:   am__fastdepCC_FALSE='#'
                   4162: else
                   4163:   am__fastdepCC_TRUE='#'
                   4164:   am__fastdepCC_FALSE=
                   4165: fi
                   4166: 
                   4167: 
                   4168: ac_ext=c
                   4169: ac_cpp='$CPP $CPPFLAGS'
                   4170: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4171: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4172: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4173: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
                   4174: $as_echo_n "checking how to run the C preprocessor... " >&6; }
                   4175: # On Suns, sometimes $CPP names a directory.
                   4176: if test -n "$CPP" && test -d "$CPP"; then
                   4177:   CPP=
                   4178: fi
                   4179: if test -z "$CPP"; then
                   4180:   if ${ac_cv_prog_CPP+:} false; then :
                   4181:   $as_echo_n "(cached) " >&6
                   4182: else
                   4183:       # Double quotes because CPP needs to be expanded
                   4184:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   4185:     do
                   4186:       ac_preproc_ok=false
                   4187: for ac_c_preproc_warn_flag in '' yes
                   4188: do
                   4189:   # Use a header file that comes with gcc, so configuring glibc
                   4190:   # with a fresh cross-compiler works.
                   4191:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   4192:   # <limits.h> exists even on freestanding compilers.
                   4193:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   4194:   # not just through cpp. "Syntax error" is here to catch this case.
                   4195:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4196: /* end confdefs.h.  */
                   4197: #ifdef __STDC__
                   4198: # include <limits.h>
                   4199: #else
                   4200: # include <assert.h>
                   4201: #endif
                   4202:                     Syntax error
                   4203: _ACEOF
                   4204: if ac_fn_c_try_cpp "$LINENO"; then :
                   4205: 
                   4206: else
                   4207:   # Broken: fails on valid input.
                   4208: continue
                   4209: fi
                   4210: rm -f conftest.err conftest.i conftest.$ac_ext
                   4211: 
                   4212:   # OK, works on sane cases.  Now check whether nonexistent headers
                   4213:   # can be detected and how.
                   4214:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4215: /* end confdefs.h.  */
                   4216: #include <ac_nonexistent.h>
                   4217: _ACEOF
                   4218: if ac_fn_c_try_cpp "$LINENO"; then :
                   4219:   # Broken: success on invalid input.
                   4220: continue
                   4221: else
                   4222:   # Passes both tests.
                   4223: ac_preproc_ok=:
                   4224: break
                   4225: fi
                   4226: rm -f conftest.err conftest.i conftest.$ac_ext
                   4227: 
                   4228: done
                   4229: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   4230: rm -f conftest.i conftest.err conftest.$ac_ext
                   4231: if $ac_preproc_ok; then :
                   4232:   break
                   4233: fi
                   4234: 
                   4235:     done
                   4236:     ac_cv_prog_CPP=$CPP
                   4237: 
                   4238: fi
                   4239:   CPP=$ac_cv_prog_CPP
                   4240: else
                   4241:   ac_cv_prog_CPP=$CPP
                   4242: fi
                   4243: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
                   4244: $as_echo "$CPP" >&6; }
                   4245: ac_preproc_ok=false
                   4246: for ac_c_preproc_warn_flag in '' yes
                   4247: do
                   4248:   # Use a header file that comes with gcc, so configuring glibc
                   4249:   # with a fresh cross-compiler works.
                   4250:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   4251:   # <limits.h> exists even on freestanding compilers.
                   4252:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   4253:   # not just through cpp. "Syntax error" is here to catch this case.
                   4254:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4255: /* end confdefs.h.  */
                   4256: #ifdef __STDC__
                   4257: # include <limits.h>
                   4258: #else
                   4259: # include <assert.h>
                   4260: #endif
                   4261:                     Syntax error
                   4262: _ACEOF
                   4263: if ac_fn_c_try_cpp "$LINENO"; then :
                   4264: 
                   4265: else
                   4266:   # Broken: fails on valid input.
                   4267: continue
                   4268: fi
                   4269: rm -f conftest.err conftest.i conftest.$ac_ext
                   4270: 
                   4271:   # OK, works on sane cases.  Now check whether nonexistent headers
                   4272:   # can be detected and how.
                   4273:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4274: /* end confdefs.h.  */
                   4275: #include <ac_nonexistent.h>
                   4276: _ACEOF
                   4277: if ac_fn_c_try_cpp "$LINENO"; then :
                   4278:   # Broken: success on invalid input.
                   4279: continue
                   4280: else
                   4281:   # Passes both tests.
                   4282: ac_preproc_ok=:
                   4283: break
                   4284: fi
                   4285: rm -f conftest.err conftest.i conftest.$ac_ext
                   4286: 
                   4287: done
                   4288: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   4289: rm -f conftest.i conftest.err conftest.$ac_ext
                   4290: if $ac_preproc_ok; then :
                   4291: 
                   4292: else
                   4293:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   4294: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   4295: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
                   4296: See \`config.log' for more details" "$LINENO" 5; }
                   4297: fi
                   4298: 
                   4299: ac_ext=c
                   4300: ac_cpp='$CPP $CPPFLAGS'
                   4301: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4302: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4303: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4304: 
                   4305: if test "x$CC" != xcc; then
                   4306:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
                   4307: $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
                   4308: else
                   4309:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
                   4310: $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
                   4311: fi
                   4312: set dummy $CC; ac_cc=`$as_echo "$2" |
                   4313:                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
                   4314: if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
                   4315:   $as_echo_n "(cached) " >&6
                   4316: else
                   4317:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4318: /* end confdefs.h.  */
                   4319: 
                   4320: int
                   4321: main ()
                   4322: {
                   4323: 
                   4324:   ;
                   4325:   return 0;
                   4326: }
                   4327: _ACEOF
                   4328: # Make sure it works both with $CC and with simple cc.
                   4329: # We do the test twice because some compilers refuse to overwrite an
                   4330: # existing .o file with -o, though they will create one.
                   4331: ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
                   4332: rm -f conftest2.*
                   4333: if { { case "(($ac_try" in
                   4334:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4335:   *) ac_try_echo=$ac_try;;
                   4336: esac
                   4337: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4338: $as_echo "$ac_try_echo"; } >&5
                   4339:   (eval "$ac_try") 2>&5
                   4340:   ac_status=$?
                   4341:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4342:   test $ac_status = 0; } &&
                   4343:    test -f conftest2.$ac_objext && { { case "(($ac_try" in
                   4344:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4345:   *) ac_try_echo=$ac_try;;
                   4346: esac
                   4347: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4348: $as_echo "$ac_try_echo"; } >&5
                   4349:   (eval "$ac_try") 2>&5
                   4350:   ac_status=$?
                   4351:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4352:   test $ac_status = 0; };
                   4353: then
                   4354:   eval ac_cv_prog_cc_${ac_cc}_c_o=yes
                   4355:   if test "x$CC" != xcc; then
                   4356:     # Test first that cc exists at all.
                   4357:     if { ac_try='cc -c conftest.$ac_ext >&5'
                   4358:   { { case "(($ac_try" in
                   4359:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4360:   *) ac_try_echo=$ac_try;;
                   4361: esac
                   4362: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4363: $as_echo "$ac_try_echo"; } >&5
                   4364:   (eval "$ac_try") 2>&5
                   4365:   ac_status=$?
                   4366:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4367:   test $ac_status = 0; }; }; then
                   4368:       ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
                   4369:       rm -f conftest2.*
                   4370:       if { { case "(($ac_try" in
                   4371:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4372:   *) ac_try_echo=$ac_try;;
                   4373: esac
                   4374: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4375: $as_echo "$ac_try_echo"; } >&5
                   4376:   (eval "$ac_try") 2>&5
                   4377:   ac_status=$?
                   4378:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4379:   test $ac_status = 0; } &&
                   4380:         test -f conftest2.$ac_objext && { { case "(($ac_try" in
                   4381:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4382:   *) ac_try_echo=$ac_try;;
                   4383: esac
                   4384: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4385: $as_echo "$ac_try_echo"; } >&5
                   4386:   (eval "$ac_try") 2>&5
                   4387:   ac_status=$?
                   4388:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4389:   test $ac_status = 0; };
                   4390:       then
                   4391:        # cc works too.
                   4392:        :
                   4393:       else
                   4394:        # cc exists but doesn't like -o.
                   4395:        eval ac_cv_prog_cc_${ac_cc}_c_o=no
                   4396:       fi
                   4397:     fi
                   4398:   fi
                   4399: else
                   4400:   eval ac_cv_prog_cc_${ac_cc}_c_o=no
                   4401: fi
                   4402: rm -f core conftest*
                   4403: 
                   4404: fi
                   4405: if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
                   4406:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4407: $as_echo "yes" >&6; }
                   4408: else
                   4409:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4410: $as_echo "no" >&6; }
                   4411: 
                   4412: $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
                   4413: 
                   4414: fi
                   4415: 
                   4416: # FIXME: we rely on the cache variable name because
                   4417: # there is no other way.
                   4418: set dummy $CC
                   4419: am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
                   4420: eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
                   4421: if test "$am_t" != yes; then
                   4422:    # Losing compiler, so override with the script.
                   4423:    # FIXME: It is wrong to rewrite CC.
                   4424:    # But if we don't then we get into trouble of one sort or another.
                   4425:    # A longer-term fix would be to have automake use am__CC in this case,
                   4426:    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
                   4427:    CC="$am_aux_dir/compile $CC"
                   4428: fi
                   4429: 
                   4430: 
                   4431: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
                   4432: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
                   4433: if ${ac_cv_path_GREP+:} false; then :
                   4434:   $as_echo_n "(cached) " >&6
                   4435: else
                   4436:   if test -z "$GREP"; then
                   4437:   ac_path_GREP_found=false
                   4438:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4439:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4440: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   4441: do
                   4442:   IFS=$as_save_IFS
                   4443:   test -z "$as_dir" && as_dir=.
                   4444:     for ac_prog in grep ggrep; do
                   4445:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4446:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
                   4447:       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
                   4448: # Check for GNU ac_path_GREP and select it if it is found.
                   4449:   # Check for GNU $ac_path_GREP
                   4450: case `"$ac_path_GREP" --version 2>&1` in
                   4451: *GNU*)
                   4452:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
                   4453: *)
                   4454:   ac_count=0
                   4455:   $as_echo_n 0123456789 >"conftest.in"
                   4456:   while :
                   4457:   do
                   4458:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4459:     mv "conftest.tmp" "conftest.in"
                   4460:     cp "conftest.in" "conftest.nl"
                   4461:     $as_echo 'GREP' >> "conftest.nl"
                   4462:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4463:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4464:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4465:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
                   4466:       # Best one so far, save it but keep looking for a better one
                   4467:       ac_cv_path_GREP="$ac_path_GREP"
                   4468:       ac_path_GREP_max=$ac_count
                   4469:     fi
                   4470:     # 10*(2^10) chars as input seems more than enough
                   4471:     test $ac_count -gt 10 && break
                   4472:   done
                   4473:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4474: esac
                   4475: 
                   4476:       $ac_path_GREP_found && break 3
                   4477:     done
                   4478:   done
                   4479:   done
                   4480: IFS=$as_save_IFS
                   4481:   if test -z "$ac_cv_path_GREP"; then
                   4482:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   4483:   fi
                   4484: else
                   4485:   ac_cv_path_GREP=$GREP
                   4486: fi
                   4487: 
                   4488: fi
                   4489: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
                   4490: $as_echo "$ac_cv_path_GREP" >&6; }
                   4491:  GREP="$ac_cv_path_GREP"
                   4492: 
                   4493: 
                   4494: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
                   4495: $as_echo_n "checking for egrep... " >&6; }
                   4496: if ${ac_cv_path_EGREP+:} false; then :
                   4497:   $as_echo_n "(cached) " >&6
                   4498: else
                   4499:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
                   4500:    then ac_cv_path_EGREP="$GREP -E"
                   4501:    else
                   4502:      if test -z "$EGREP"; then
                   4503:   ac_path_EGREP_found=false
                   4504:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4505:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4506: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   4507: do
                   4508:   IFS=$as_save_IFS
                   4509:   test -z "$as_dir" && as_dir=.
                   4510:     for ac_prog in egrep; do
                   4511:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4512:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
                   4513:       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
                   4514: # Check for GNU ac_path_EGREP and select it if it is found.
                   4515:   # Check for GNU $ac_path_EGREP
                   4516: case `"$ac_path_EGREP" --version 2>&1` in
                   4517: *GNU*)
                   4518:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
                   4519: *)
                   4520:   ac_count=0
                   4521:   $as_echo_n 0123456789 >"conftest.in"
                   4522:   while :
                   4523:   do
                   4524:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4525:     mv "conftest.tmp" "conftest.in"
                   4526:     cp "conftest.in" "conftest.nl"
                   4527:     $as_echo 'EGREP' >> "conftest.nl"
                   4528:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4529:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4530:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4531:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
                   4532:       # Best one so far, save it but keep looking for a better one
                   4533:       ac_cv_path_EGREP="$ac_path_EGREP"
                   4534:       ac_path_EGREP_max=$ac_count
                   4535:     fi
                   4536:     # 10*(2^10) chars as input seems more than enough
                   4537:     test $ac_count -gt 10 && break
                   4538:   done
                   4539:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4540: esac
                   4541: 
                   4542:       $ac_path_EGREP_found && break 3
                   4543:     done
                   4544:   done
                   4545:   done
                   4546: IFS=$as_save_IFS
                   4547:   if test -z "$ac_cv_path_EGREP"; then
                   4548:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   4549:   fi
                   4550: else
                   4551:   ac_cv_path_EGREP=$EGREP
                   4552: fi
                   4553: 
                   4554:    fi
                   4555: fi
                   4556: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
                   4557: $as_echo "$ac_cv_path_EGREP" >&6; }
                   4558:  EGREP="$ac_cv_path_EGREP"
                   4559: 
                   4560: 
                   4561: 
                   4562: # Extract the first word of "sed", so it can be a program name with args.
                   4563: set dummy sed; ac_word=$2
                   4564: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4565: $as_echo_n "checking for $ac_word... " >&6; }
                   4566: if ${ac_cv_prog_SED+:} false; then :
                   4567:   $as_echo_n "(cached) " >&6
                   4568: else
                   4569:   if test -n "$SED"; then
                   4570:   ac_cv_prog_SED="$SED" # Let the user override the test.
                   4571: else
                   4572: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4573: for as_dir in $PATH
                   4574: do
                   4575:   IFS=$as_save_IFS
                   4576:   test -z "$as_dir" && as_dir=.
                   4577:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4578:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   4579:     ac_cv_prog_SED="sed"
                   4580:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4581:     break 2
                   4582:   fi
                   4583: done
                   4584:   done
                   4585: IFS=$as_save_IFS
                   4586: 
                   4587:   test -z "$ac_cv_prog_SED" && ac_cv_prog_SED="/bin/false"
                   4588: fi
                   4589: fi
                   4590: SED=$ac_cv_prog_SED
                   4591: if test -n "$SED"; then
                   4592:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
                   4593: $as_echo "$SED" >&6; }
                   4594: else
                   4595:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4596: $as_echo "no" >&6; }
                   4597: fi
                   4598: 
                   4599: 
                   4600: 
                   4601: if test "x${GCC}" = "xyes" ; then
                   4602:   COMPILER="GCC"
                   4603:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel compiler" >&5
                   4604: $as_echo_n "checking whether we are using the Intel compiler... " >&6; }
                   4605: 
                   4606: 
                   4607: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4608: /* end confdefs.h.  */
                   4609: __INTEL_COMPILER
                   4610: _ACEOF
                   4611: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   4612:   $EGREP "^__INTEL_COMPILER" >/dev/null 2>&1; then :
                   4613:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4614: $as_echo "no" >&6; }
                   4615: else
                   4616:   COMPILER="ICC"
                   4617:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4618: $as_echo "yes" >&6; }
                   4619: 
                   4620: fi
                   4621: rm -f conftest*
                   4622: 
                   4623: else
                   4624:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using SunPro compiler" >&5
                   4625: $as_echo_n "checking whether we are using SunPro compiler... " >&6; }
                   4626:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4627: /* end confdefs.h.  */
                   4628: "__SUNPRO_C" __SUNPRO_C
                   4629: _ACEOF
                   4630: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   4631:   $EGREP "^__SUNPRO_C.*0x5(7|8|9)" >/dev/null 2>&1; then :
                   4632:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4633: $as_echo "no" >&6; }
                   4634: else
                   4635:   COMPILER="SUNPRO"
                   4636:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4637: $as_echo "yes" >&6; }
                   4638: 
                   4639: fi
                   4640: rm -f conftest*
                   4641: 
                   4642: fi
                   4643: 
                   4644: 
                   4645: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to set a default CFLAGS" >&5
                   4646: $as_echo_n "checking whether to set a default CFLAGS... " >&6; }
                   4647: if test "x${cflags_specified}" = "x" ; then
                   4648:   case ${COMPILER} in
                   4649:     "ICC")
                   4650:         CFLAGS="-Os -g -Wall -wd 279,869,981"
                   4651:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: Intel default" >&5
                   4652: $as_echo "Intel default" >&6; }
                   4653:         ;;
                   4654:     "GCC")
                   4655:        CFLAGS="-Os -fno-omit-frame-pointer -g -std=gnu99 -Wall"
                   4656:        CFLAGS="${CFLAGS} -Wsign-compare -Wpointer-arith"
                   4657:        CFLAGS="${CFLAGS} -Wbad-function-cast -Wwrite-strings"
                   4658:        CFLAGS="${CFLAGS} -Wmissing-prototypes -Wmissing-declarations"
                   4659:        CFLAGS="${CFLAGS} -Wchar-subscripts -Wcast-qual"
                   4660:        # TODO: conditionally addd -Wpacked if handled
                   4661:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc default" >&5
                   4662: $as_echo "gcc default" >&6; }
                   4663:        ;;
                   4664:     "SUNPRO")
                   4665:        CFLAGS="-xO4 -v -g -xspace -xcode=pic32 -xstrconst -xc99"
                   4666:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: SunPro default" >&5
                   4667: $as_echo "SunPro default" >&6; }
                   4668:        ;;
                   4669:     *)
                   4670:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: unknown compiler" >&5
                   4671: $as_echo "unknown compiler" >&6; }
                   4672:         ;;
                   4673:   esac
                   4674: else
                   4675:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: CFLAGS supplied by user" >&5
                   4676: $as_echo "CFLAGS supplied by user" >&6; }
                   4677: fi
                   4678: 
                   4679: 
                   4680: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
                   4681: $as_echo_n "checking whether ln -s works... " >&6; }
                   4682: LN_S=$as_ln_s
                   4683: if test "$LN_S" = "ln -s"; then
                   4684:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4685: $as_echo "yes" >&6; }
                   4686: else
                   4687:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
                   4688: $as_echo "no, using $LN_S" >&6; }
                   4689: fi
                   4690: 
                   4691: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   4692: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
                   4693: set x ${MAKE-make}
                   4694: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
                   4695: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
                   4696:   $as_echo_n "(cached) " >&6
                   4697: else
                   4698:   cat >conftest.make <<\_ACEOF
                   4699: SHELL = /bin/sh
                   4700: all:
                   4701:        @echo '@@@%%%=$(MAKE)=@@@%%%'
                   4702: _ACEOF
                   4703: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
                   4704: case `${MAKE-make} -f conftest.make 2>/dev/null` in
                   4705:   *@@@%%%=?*=@@@%%%*)
                   4706:     eval ac_cv_prog_make_${ac_make}_set=yes;;
                   4707:   *)
                   4708:     eval ac_cv_prog_make_${ac_make}_set=no;;
                   4709: esac
                   4710: rm -f conftest.make
                   4711: fi
                   4712: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
                   4713:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4714: $as_echo "yes" >&6; }
                   4715:   SET_MAKE=
                   4716: else
                   4717:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4718: $as_echo "no" >&6; }
                   4719:   SET_MAKE="MAKE=${MAKE-make}"
                   4720: fi
                   4721: 
                   4722: if test -n "$ac_tool_prefix"; then
                   4723:   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
                   4724: set dummy ${ac_tool_prefix}ar; ac_word=$2
                   4725: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4726: $as_echo_n "checking for $ac_word... " >&6; }
                   4727: if ${ac_cv_prog_AR+:} false; then :
                   4728:   $as_echo_n "(cached) " >&6
                   4729: else
                   4730:   if test -n "$AR"; then
                   4731:   ac_cv_prog_AR="$AR" # Let the user override the test.
                   4732: else
                   4733: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4734: for as_dir in $PATH
                   4735: do
                   4736:   IFS=$as_save_IFS
                   4737:   test -z "$as_dir" && as_dir=.
                   4738:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4739:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   4740:     ac_cv_prog_AR="${ac_tool_prefix}ar"
                   4741:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4742:     break 2
                   4743:   fi
                   4744: done
                   4745:   done
                   4746: IFS=$as_save_IFS
                   4747: 
                   4748: fi
                   4749: fi
                   4750: AR=$ac_cv_prog_AR
                   4751: if test -n "$AR"; then
                   4752:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
                   4753: $as_echo "$AR" >&6; }
                   4754: else
                   4755:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4756: $as_echo "no" >&6; }
                   4757: fi
                   4758: 
                   4759: 
                   4760: fi
                   4761: if test -z "$ac_cv_prog_AR"; then
                   4762:   ac_ct_AR=$AR
                   4763:   # Extract the first word of "ar", so it can be a program name with args.
                   4764: set dummy ar; ac_word=$2
                   4765: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4766: $as_echo_n "checking for $ac_word... " >&6; }
                   4767: if ${ac_cv_prog_ac_ct_AR+:} false; then :
                   4768:   $as_echo_n "(cached) " >&6
                   4769: else
                   4770:   if test -n "$ac_ct_AR"; then
                   4771:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
                   4772: else
                   4773: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4774: for as_dir in $PATH
                   4775: do
                   4776:   IFS=$as_save_IFS
                   4777:   test -z "$as_dir" && as_dir=.
                   4778:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4779:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   4780:     ac_cv_prog_ac_ct_AR="ar"
                   4781:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4782:     break 2
                   4783:   fi
                   4784: done
                   4785:   done
                   4786: IFS=$as_save_IFS
                   4787: 
                   4788: fi
                   4789: fi
                   4790: ac_ct_AR=$ac_cv_prog_ac_ct_AR
                   4791: if test -n "$ac_ct_AR"; then
                   4792:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
                   4793: $as_echo "$ac_ct_AR" >&6; }
                   4794: else
                   4795:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4796: $as_echo "no" >&6; }
                   4797: fi
                   4798: 
                   4799:   if test "x$ac_ct_AR" = x; then
                   4800:     AR=""
                   4801:   else
                   4802:     case $cross_compiling:$ac_tool_warned in
                   4803: yes:)
                   4804: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   4805: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   4806: ac_tool_warned=yes ;;
                   4807: esac
                   4808:     AR=$ac_ct_AR
                   4809:   fi
                   4810: else
                   4811:   AR="$ac_cv_prog_AR"
                   4812: fi
                   4813: 
                   4814: 
                   4815: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ${MAKE-make} is GNU make" >&5
                   4816: $as_echo_n "checking if ${MAKE-make} is GNU make... " >&6; }
                   4817: if ${quagga_cv_gnu_make+:} false; then :
                   4818:   $as_echo_n "(cached) " >&6
                   4819: else
                   4820:   quagga_cv_gnu_make=no
                   4821:         if ${MAKE-make} --version 2>/dev/null | \
                   4822:                grep '^GNU Make ' >/dev/null ; then
                   4823:                quagga_cv_gnu_make=yes;
                   4824:         fi
                   4825: 
                   4826: 
                   4827: fi
                   4828: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quagga_cv_gnu_make" >&5
                   4829: $as_echo "$quagga_cv_gnu_make" >&6; }
                   4830: 
                   4831: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   4832: $as_echo_n "checking for ANSI C header files... " >&6; }
                   4833: if ${ac_cv_header_stdc+:} false; then :
                   4834:   $as_echo_n "(cached) " >&6
                   4835: else
                   4836:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4837: /* end confdefs.h.  */
                   4838: #include <stdlib.h>
                   4839: #include <stdarg.h>
                   4840: #include <string.h>
                   4841: #include <float.h>
                   4842: 
                   4843: int
                   4844: main ()
                   4845: {
                   4846: 
                   4847:   ;
                   4848:   return 0;
                   4849: }
                   4850: _ACEOF
                   4851: if ac_fn_c_try_compile "$LINENO"; then :
                   4852:   ac_cv_header_stdc=yes
                   4853: else
                   4854:   ac_cv_header_stdc=no
                   4855: fi
                   4856: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4857: 
                   4858: if test $ac_cv_header_stdc = yes; then
                   4859:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   4860:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4861: /* end confdefs.h.  */
                   4862: #include <string.h>
                   4863: 
                   4864: _ACEOF
                   4865: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   4866:   $EGREP "memchr" >/dev/null 2>&1; then :
                   4867: 
                   4868: else
                   4869:   ac_cv_header_stdc=no
                   4870: fi
                   4871: rm -f conftest*
                   4872: 
                   4873: fi
                   4874: 
                   4875: if test $ac_cv_header_stdc = yes; then
                   4876:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   4877:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4878: /* end confdefs.h.  */
                   4879: #include <stdlib.h>
                   4880: 
                   4881: _ACEOF
                   4882: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   4883:   $EGREP "free" >/dev/null 2>&1; then :
                   4884: 
                   4885: else
                   4886:   ac_cv_header_stdc=no
                   4887: fi
                   4888: rm -f conftest*
                   4889: 
                   4890: fi
                   4891: 
                   4892: if test $ac_cv_header_stdc = yes; then
                   4893:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   4894:   if test "$cross_compiling" = yes; then :
                   4895:   :
                   4896: else
                   4897:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4898: /* end confdefs.h.  */
                   4899: #include <ctype.h>
                   4900: #include <stdlib.h>
                   4901: #if ((' ' & 0x0FF) == 0x020)
                   4902: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   4903: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   4904: #else
                   4905: # define ISLOWER(c) \
                   4906:                   (('a' <= (c) && (c) <= 'i') \
                   4907:                     || ('j' <= (c) && (c) <= 'r') \
                   4908:                     || ('s' <= (c) && (c) <= 'z'))
                   4909: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   4910: #endif
                   4911: 
                   4912: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   4913: int
                   4914: main ()
                   4915: {
                   4916:   int i;
                   4917:   for (i = 0; i < 256; i++)
                   4918:     if (XOR (islower (i), ISLOWER (i))
                   4919:        || toupper (i) != TOUPPER (i))
                   4920:       return 2;
                   4921:   return 0;
                   4922: }
                   4923: _ACEOF
                   4924: if ac_fn_c_try_run "$LINENO"; then :
                   4925: 
                   4926: else
                   4927:   ac_cv_header_stdc=no
                   4928: fi
                   4929: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   4930:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4931: fi
                   4932: 
                   4933: fi
                   4934: fi
                   4935: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   4936: $as_echo "$ac_cv_header_stdc" >&6; }
                   4937: if test $ac_cv_header_stdc = yes; then
                   4938: 
                   4939: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
                   4940: 
                   4941: fi
                   4942: 
                   4943: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
                   4944: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   4945:                  inttypes.h stdint.h unistd.h
                   4946: do :
                   4947:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   4948: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   4949: "
                   4950: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   4951:   cat >>confdefs.h <<_ACEOF
                   4952: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   4953: _ACEOF
                   4954: 
                   4955: fi
                   4956: 
                   4957: done
                   4958: 
                   4959: 
                   4960: 
                   4961:   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
                   4962: if test "x$ac_cv_header_minix_config_h" = xyes; then :
                   4963:   MINIX=yes
                   4964: else
                   4965:   MINIX=
                   4966: fi
                   4967: 
                   4968: 
                   4969:   if test "$MINIX" = yes; then
                   4970: 
                   4971: $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
                   4972: 
                   4973: 
                   4974: $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
                   4975: 
                   4976: 
                   4977: $as_echo "#define _MINIX 1" >>confdefs.h
                   4978: 
                   4979:   fi
                   4980: 
                   4981: 
                   4982:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
                   4983: $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
                   4984: if ${ac_cv_safe_to_define___extensions__+:} false; then :
                   4985:   $as_echo_n "(cached) " >&6
                   4986: else
                   4987:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4988: /* end confdefs.h.  */
                   4989: 
                   4990: #        define __EXTENSIONS__ 1
                   4991:          $ac_includes_default
                   4992: int
                   4993: main ()
                   4994: {
                   4995: 
                   4996:   ;
                   4997:   return 0;
                   4998: }
                   4999: _ACEOF
                   5000: if ac_fn_c_try_compile "$LINENO"; then :
                   5001:   ac_cv_safe_to_define___extensions__=yes
                   5002: else
                   5003:   ac_cv_safe_to_define___extensions__=no
                   5004: fi
                   5005: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   5006: fi
                   5007: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
                   5008: $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
                   5009:   test $ac_cv_safe_to_define___extensions__ = yes &&
                   5010:     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
                   5011: 
                   5012:   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
                   5013: 
                   5014:   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
                   5015: 
                   5016:   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
                   5017: 
                   5018:   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
                   5019: 
                   5020: 
                   5021: 
                   5022: 
                   5023: case `pwd` in
                   5024:   *\ * | *\    *)
                   5025:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
                   5026: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
                   5027: esac
                   5028: 
                   5029: 
                   5030: 
1.1.1.2 ! misho    5031: macro_version='2.4.2'
        !          5032: macro_revision='1.3337'
1.1       misho    5033: 
                   5034: 
                   5035: 
                   5036: 
                   5037: 
                   5038: 
                   5039: 
                   5040: 
                   5041: 
                   5042: 
                   5043: 
                   5044: 
                   5045: 
                   5046: ltmain="$ac_aux_dir/ltmain.sh"
                   5047: 
                   5048: # Backslashify metacharacters that are still active within
                   5049: # double-quoted strings.
                   5050: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
                   5051: 
                   5052: # Same as above, but do not quote variable references.
                   5053: double_quote_subst='s/\(["`\\]\)/\\\1/g'
                   5054: 
                   5055: # Sed substitution to delay expansion of an escaped shell variable in a
                   5056: # double_quote_subst'ed string.
                   5057: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
                   5058: 
                   5059: # Sed substitution to delay expansion of an escaped single quote.
                   5060: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
                   5061: 
                   5062: # Sed substitution to avoid accidental globbing in evaled expressions
                   5063: no_glob_subst='s/\*/\\\*/g'
                   5064: 
                   5065: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   5066: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
                   5067: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
                   5068: 
                   5069: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
                   5070: $as_echo_n "checking how to print strings... " >&6; }
                   5071: # Test print first, because it will be a builtin if present.
                   5072: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
                   5073:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
                   5074:   ECHO='print -r --'
                   5075: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
                   5076:   ECHO='printf %s\n'
                   5077: else
                   5078:   # Use this function as a fallback that always works.
                   5079:   func_fallback_echo ()
                   5080:   {
                   5081:     eval 'cat <<_LTECHO_EOF
                   5082: $1
                   5083: _LTECHO_EOF'
                   5084:   }
                   5085:   ECHO='func_fallback_echo'
                   5086: fi
                   5087: 
                   5088: # func_echo_all arg...
                   5089: # Invoke $ECHO with all args, space-separated.
                   5090: func_echo_all ()
                   5091: {
                   5092:     $ECHO ""
                   5093: }
                   5094: 
                   5095: case "$ECHO" in
                   5096:   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
                   5097: $as_echo "printf" >&6; } ;;
                   5098:   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
                   5099: $as_echo "print -r" >&6; } ;;
                   5100:   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
                   5101: $as_echo "cat" >&6; } ;;
                   5102: esac
                   5103: 
                   5104: 
                   5105: 
                   5106: 
                   5107: 
                   5108: 
                   5109: 
                   5110: 
                   5111: 
                   5112: 
                   5113: 
                   5114: 
                   5115: 
                   5116: 
                   5117: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
                   5118: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
                   5119: if ${ac_cv_path_SED+:} false; then :
                   5120:   $as_echo_n "(cached) " >&6
                   5121: else
                   5122:             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
                   5123:      for ac_i in 1 2 3 4 5 6 7; do
                   5124:        ac_script="$ac_script$as_nl$ac_script"
                   5125:      done
                   5126:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
                   5127:      { ac_script=; unset ac_script;}
                   5128:      if test -z "$SED"; then
                   5129:   ac_path_SED_found=false
                   5130:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5131:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5132: for as_dir in $PATH
                   5133: do
                   5134:   IFS=$as_save_IFS
                   5135:   test -z "$as_dir" && as_dir=.
                   5136:     for ac_prog in sed gsed; do
                   5137:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5138:       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
                   5139:       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
                   5140: # Check for GNU ac_path_SED and select it if it is found.
                   5141:   # Check for GNU $ac_path_SED
                   5142: case `"$ac_path_SED" --version 2>&1` in
                   5143: *GNU*)
                   5144:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
                   5145: *)
                   5146:   ac_count=0
                   5147:   $as_echo_n 0123456789 >"conftest.in"
                   5148:   while :
                   5149:   do
                   5150:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5151:     mv "conftest.tmp" "conftest.in"
                   5152:     cp "conftest.in" "conftest.nl"
                   5153:     $as_echo '' >> "conftest.nl"
                   5154:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5155:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5156:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5157:     if test $ac_count -gt ${ac_path_SED_max-0}; then
                   5158:       # Best one so far, save it but keep looking for a better one
                   5159:       ac_cv_path_SED="$ac_path_SED"
                   5160:       ac_path_SED_max=$ac_count
                   5161:     fi
                   5162:     # 10*(2^10) chars as input seems more than enough
                   5163:     test $ac_count -gt 10 && break
                   5164:   done
                   5165:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5166: esac
                   5167: 
                   5168:       $ac_path_SED_found && break 3
                   5169:     done
                   5170:   done
                   5171:   done
                   5172: IFS=$as_save_IFS
                   5173:   if test -z "$ac_cv_path_SED"; then
                   5174:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
                   5175:   fi
                   5176: else
                   5177:   ac_cv_path_SED=$SED
                   5178: fi
                   5179: 
                   5180: fi
                   5181: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
                   5182: $as_echo "$ac_cv_path_SED" >&6; }
                   5183:  SED="$ac_cv_path_SED"
                   5184:   rm -f conftest.sed
                   5185: 
                   5186: test -z "$SED" && SED=sed
                   5187: Xsed="$SED -e 1s/^X//"
                   5188: 
                   5189: 
                   5190: 
                   5191: 
                   5192: 
                   5193: 
                   5194: 
                   5195: 
                   5196: 
                   5197: 
                   5198: 
                   5199: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
                   5200: $as_echo_n "checking for fgrep... " >&6; }
                   5201: if ${ac_cv_path_FGREP+:} false; then :
                   5202:   $as_echo_n "(cached) " >&6
                   5203: else
                   5204:   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
                   5205:    then ac_cv_path_FGREP="$GREP -F"
                   5206:    else
                   5207:      if test -z "$FGREP"; then
                   5208:   ac_path_FGREP_found=false
                   5209:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5210:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5211: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5212: do
                   5213:   IFS=$as_save_IFS
                   5214:   test -z "$as_dir" && as_dir=.
                   5215:     for ac_prog in fgrep; do
                   5216:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5217:       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
                   5218:       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
                   5219: # Check for GNU ac_path_FGREP and select it if it is found.
                   5220:   # Check for GNU $ac_path_FGREP
                   5221: case `"$ac_path_FGREP" --version 2>&1` in
                   5222: *GNU*)
                   5223:   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
                   5224: *)
                   5225:   ac_count=0
                   5226:   $as_echo_n 0123456789 >"conftest.in"
                   5227:   while :
                   5228:   do
                   5229:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5230:     mv "conftest.tmp" "conftest.in"
                   5231:     cp "conftest.in" "conftest.nl"
                   5232:     $as_echo 'FGREP' >> "conftest.nl"
                   5233:     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5234:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5235:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5236:     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
                   5237:       # Best one so far, save it but keep looking for a better one
                   5238:       ac_cv_path_FGREP="$ac_path_FGREP"
                   5239:       ac_path_FGREP_max=$ac_count
                   5240:     fi
                   5241:     # 10*(2^10) chars as input seems more than enough
                   5242:     test $ac_count -gt 10 && break
                   5243:   done
                   5244:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5245: esac
                   5246: 
                   5247:       $ac_path_FGREP_found && break 3
                   5248:     done
                   5249:   done
                   5250:   done
                   5251: IFS=$as_save_IFS
                   5252:   if test -z "$ac_cv_path_FGREP"; then
                   5253:     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   5254:   fi
                   5255: else
                   5256:   ac_cv_path_FGREP=$FGREP
                   5257: fi
                   5258: 
                   5259:    fi
                   5260: fi
                   5261: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
                   5262: $as_echo "$ac_cv_path_FGREP" >&6; }
                   5263:  FGREP="$ac_cv_path_FGREP"
                   5264: 
                   5265: 
                   5266: test -z "$GREP" && GREP=grep
                   5267: 
                   5268: 
                   5269: 
                   5270: 
                   5271: 
                   5272: 
                   5273: 
                   5274: 
                   5275: 
                   5276: 
                   5277: 
                   5278: 
                   5279: 
                   5280: 
                   5281: 
                   5282: 
                   5283: 
                   5284: 
                   5285: 
                   5286: # Check whether --with-gnu-ld was given.
                   5287: if test "${with_gnu_ld+set}" = set; then :
                   5288:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
                   5289: else
                   5290:   with_gnu_ld=no
                   5291: fi
                   5292: 
                   5293: ac_prog=ld
                   5294: if test "$GCC" = yes; then
                   5295:   # Check if gcc -print-prog-name=ld gives a path.
                   5296:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   5297: $as_echo_n "checking for ld used by $CC... " >&6; }
                   5298:   case $host in
                   5299:   *-*-mingw*)
                   5300:     # gcc leaves a trailing carriage return which upsets mingw
                   5301:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   5302:   *)
                   5303:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   5304:   esac
                   5305:   case $ac_prog in
                   5306:     # Accept absolute paths.
                   5307:     [\\/]* | ?:[\\/]*)
                   5308:       re_direlt='/[^/][^/]*/\.\./'
                   5309:       # Canonicalize the pathname of ld
                   5310:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   5311:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   5312:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   5313:       done
                   5314:       test -z "$LD" && LD="$ac_prog"
                   5315:       ;;
                   5316:   "")
                   5317:     # If it fails, then pretend we aren't using GCC.
                   5318:     ac_prog=ld
                   5319:     ;;
                   5320:   *)
                   5321:     # If it is relative, then search for the first ld in PATH.
                   5322:     with_gnu_ld=unknown
                   5323:     ;;
                   5324:   esac
                   5325: elif test "$with_gnu_ld" = yes; then
                   5326:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   5327: $as_echo_n "checking for GNU ld... " >&6; }
                   5328: else
                   5329:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   5330: $as_echo_n "checking for non-GNU ld... " >&6; }
                   5331: fi
                   5332: if ${lt_cv_path_LD+:} false; then :
                   5333:   $as_echo_n "(cached) " >&6
                   5334: else
                   5335:   if test -z "$LD"; then
                   5336:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   5337:   for ac_dir in $PATH; do
                   5338:     IFS="$lt_save_ifs"
                   5339:     test -z "$ac_dir" && ac_dir=.
                   5340:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   5341:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   5342:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   5343:       # but apparently some variants of GNU ld only accept -v.
                   5344:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   5345:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   5346:       *GNU* | *'with BFD'*)
                   5347:        test "$with_gnu_ld" != no && break
                   5348:        ;;
                   5349:       *)
                   5350:        test "$with_gnu_ld" != yes && break
                   5351:        ;;
                   5352:       esac
                   5353:     fi
                   5354:   done
                   5355:   IFS="$lt_save_ifs"
                   5356: else
                   5357:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   5358: fi
                   5359: fi
                   5360: 
                   5361: LD="$lt_cv_path_LD"
                   5362: if test -n "$LD"; then
                   5363:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   5364: $as_echo "$LD" >&6; }
                   5365: else
                   5366:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5367: $as_echo "no" >&6; }
                   5368: fi
                   5369: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
                   5370: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   5371: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
                   5372: if ${lt_cv_prog_gnu_ld+:} false; then :
                   5373:   $as_echo_n "(cached) " >&6
                   5374: else
                   5375:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   5376: case `$LD -v 2>&1 </dev/null` in
                   5377: *GNU* | *'with BFD'*)
                   5378:   lt_cv_prog_gnu_ld=yes
                   5379:   ;;
                   5380: *)
                   5381:   lt_cv_prog_gnu_ld=no
                   5382:   ;;
                   5383: esac
                   5384: fi
                   5385: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   5386: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
                   5387: with_gnu_ld=$lt_cv_prog_gnu_ld
                   5388: 
                   5389: 
                   5390: 
                   5391: 
                   5392: 
                   5393: 
                   5394: 
                   5395: 
                   5396: 
                   5397: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
                   5398: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
                   5399: if ${lt_cv_path_NM+:} false; then :
                   5400:   $as_echo_n "(cached) " >&6
                   5401: else
                   5402:   if test -n "$NM"; then
                   5403:   # Let the user override the test.
                   5404:   lt_cv_path_NM="$NM"
                   5405: else
                   5406:   lt_nm_to_check="${ac_tool_prefix}nm"
                   5407:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
                   5408:     lt_nm_to_check="$lt_nm_to_check nm"
                   5409:   fi
                   5410:   for lt_tmp_nm in $lt_nm_to_check; do
                   5411:     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   5412:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
                   5413:       IFS="$lt_save_ifs"
                   5414:       test -z "$ac_dir" && ac_dir=.
                   5415:       tmp_nm="$ac_dir/$lt_tmp_nm"
                   5416:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
                   5417:        # Check to see if the nm accepts a BSD-compat flag.
                   5418:        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
                   5419:        #   nm: unknown option "B" ignored
                   5420:        # Tru64's nm complains that /dev/null is an invalid object file
                   5421:        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
                   5422:        */dev/null* | *'Invalid file or object type'*)
                   5423:          lt_cv_path_NM="$tmp_nm -B"
                   5424:          break
                   5425:          ;;
                   5426:        *)
                   5427:          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
                   5428:          */dev/null*)
                   5429:            lt_cv_path_NM="$tmp_nm -p"
                   5430:            break
                   5431:            ;;
                   5432:          *)
                   5433:            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
                   5434:            continue # so that we can try to find one that supports BSD flags
                   5435:            ;;
                   5436:          esac
                   5437:          ;;
                   5438:        esac
                   5439:       fi
                   5440:     done
                   5441:     IFS="$lt_save_ifs"
                   5442:   done
                   5443:   : ${lt_cv_path_NM=no}
                   5444: fi
                   5445: fi
                   5446: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
                   5447: $as_echo "$lt_cv_path_NM" >&6; }
                   5448: if test "$lt_cv_path_NM" != "no"; then
                   5449:   NM="$lt_cv_path_NM"
                   5450: else
                   5451:   # Didn't find any BSD compatible name lister, look for dumpbin.
                   5452:   if test -n "$DUMPBIN"; then :
                   5453:     # Let the user override the test.
                   5454:   else
                   5455:     if test -n "$ac_tool_prefix"; then
                   5456:   for ac_prog in dumpbin "link -dump"
                   5457:   do
                   5458:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   5459: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   5460: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5461: $as_echo_n "checking for $ac_word... " >&6; }
                   5462: if ${ac_cv_prog_DUMPBIN+:} false; then :
                   5463:   $as_echo_n "(cached) " >&6
                   5464: else
                   5465:   if test -n "$DUMPBIN"; then
                   5466:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
                   5467: else
                   5468: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5469: for as_dir in $PATH
                   5470: do
                   5471:   IFS=$as_save_IFS
                   5472:   test -z "$as_dir" && as_dir=.
                   5473:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5474:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   5475:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
                   5476:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5477:     break 2
                   5478:   fi
                   5479: done
                   5480:   done
                   5481: IFS=$as_save_IFS
                   5482: 
                   5483: fi
                   5484: fi
                   5485: DUMPBIN=$ac_cv_prog_DUMPBIN
                   5486: if test -n "$DUMPBIN"; then
                   5487:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
                   5488: $as_echo "$DUMPBIN" >&6; }
                   5489: else
                   5490:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5491: $as_echo "no" >&6; }
                   5492: fi
                   5493: 
                   5494: 
                   5495:     test -n "$DUMPBIN" && break
                   5496:   done
                   5497: fi
                   5498: if test -z "$DUMPBIN"; then
                   5499:   ac_ct_DUMPBIN=$DUMPBIN
                   5500:   for ac_prog in dumpbin "link -dump"
                   5501: do
                   5502:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   5503: set dummy $ac_prog; ac_word=$2
                   5504: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5505: $as_echo_n "checking for $ac_word... " >&6; }
                   5506: if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
                   5507:   $as_echo_n "(cached) " >&6
                   5508: else
                   5509:   if test -n "$ac_ct_DUMPBIN"; then
                   5510:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
                   5511: else
                   5512: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5513: for as_dir in $PATH
                   5514: do
                   5515:   IFS=$as_save_IFS
                   5516:   test -z "$as_dir" && as_dir=.
                   5517:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5518:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   5519:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
                   5520:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5521:     break 2
                   5522:   fi
                   5523: done
                   5524:   done
                   5525: IFS=$as_save_IFS
                   5526: 
                   5527: fi
                   5528: fi
                   5529: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
                   5530: if test -n "$ac_ct_DUMPBIN"; then
                   5531:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
                   5532: $as_echo "$ac_ct_DUMPBIN" >&6; }
                   5533: else
                   5534:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5535: $as_echo "no" >&6; }
                   5536: fi
                   5537: 
                   5538: 
                   5539:   test -n "$ac_ct_DUMPBIN" && break
                   5540: done
                   5541: 
                   5542:   if test "x$ac_ct_DUMPBIN" = x; then
                   5543:     DUMPBIN=":"
                   5544:   else
                   5545:     case $cross_compiling:$ac_tool_warned in
                   5546: yes:)
                   5547: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5548: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5549: ac_tool_warned=yes ;;
                   5550: esac
                   5551:     DUMPBIN=$ac_ct_DUMPBIN
                   5552:   fi
                   5553: fi
                   5554: 
                   5555:     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
                   5556:     *COFF*)
                   5557:       DUMPBIN="$DUMPBIN -symbols"
                   5558:       ;;
                   5559:     *)
                   5560:       DUMPBIN=:
                   5561:       ;;
                   5562:     esac
                   5563:   fi
                   5564: 
                   5565:   if test "$DUMPBIN" != ":"; then
                   5566:     NM="$DUMPBIN"
                   5567:   fi
                   5568: fi
                   5569: test -z "$NM" && NM=nm
                   5570: 
                   5571: 
                   5572: 
                   5573: 
                   5574: 
                   5575: 
                   5576: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
                   5577: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
                   5578: if ${lt_cv_nm_interface+:} false; then :
                   5579:   $as_echo_n "(cached) " >&6
                   5580: else
                   5581:   lt_cv_nm_interface="BSD nm"
                   5582:   echo "int some_variable = 0;" > conftest.$ac_ext
                   5583:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
                   5584:   (eval "$ac_compile" 2>conftest.err)
                   5585:   cat conftest.err >&5
                   5586:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
                   5587:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
                   5588:   cat conftest.err >&5
                   5589:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
                   5590:   cat conftest.out >&5
                   5591:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
                   5592:     lt_cv_nm_interface="MS dumpbin"
                   5593:   fi
                   5594:   rm -f conftest*
                   5595: fi
                   5596: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
                   5597: $as_echo "$lt_cv_nm_interface" >&6; }
                   5598: 
                   5599: # find the maximum length of command line arguments
                   5600: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
                   5601: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
                   5602: if ${lt_cv_sys_max_cmd_len+:} false; then :
                   5603:   $as_echo_n "(cached) " >&6
                   5604: else
                   5605:     i=0
                   5606:   teststring="ABCD"
                   5607: 
                   5608:   case $build_os in
                   5609:   msdosdjgpp*)
                   5610:     # On DJGPP, this test can blow up pretty badly due to problems in libc
                   5611:     # (any single argument exceeding 2000 bytes causes a buffer overrun
                   5612:     # during glob expansion).  Even if it were fixed, the result of this
                   5613:     # check would be larger than it should be.
                   5614:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
                   5615:     ;;
                   5616: 
                   5617:   gnu*)
                   5618:     # Under GNU Hurd, this test is not required because there is
                   5619:     # no limit to the length of command line arguments.
                   5620:     # Libtool will interpret -1 as no limit whatsoever
                   5621:     lt_cv_sys_max_cmd_len=-1;
                   5622:     ;;
                   5623: 
                   5624:   cygwin* | mingw* | cegcc*)
                   5625:     # On Win9x/ME, this test blows up -- it succeeds, but takes
                   5626:     # about 5 minutes as the teststring grows exponentially.
                   5627:     # Worse, since 9x/ME are not pre-emptively multitasking,
                   5628:     # you end up with a "frozen" computer, even though with patience
                   5629:     # the test eventually succeeds (with a max line length of 256k).
                   5630:     # Instead, let's just punt: use the minimum linelength reported by
                   5631:     # all of the supported platforms: 8192 (on NT/2K/XP).
                   5632:     lt_cv_sys_max_cmd_len=8192;
                   5633:     ;;
                   5634: 
                   5635:   mint*)
                   5636:     # On MiNT this can take a long time and run out of memory.
                   5637:     lt_cv_sys_max_cmd_len=8192;
                   5638:     ;;
                   5639: 
                   5640:   amigaos*)
                   5641:     # On AmigaOS with pdksh, this test takes hours, literally.
                   5642:     # So we just punt and use a minimum line length of 8192.
                   5643:     lt_cv_sys_max_cmd_len=8192;
                   5644:     ;;
                   5645: 
                   5646:   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
                   5647:     # This has been around since 386BSD, at least.  Likely further.
                   5648:     if test -x /sbin/sysctl; then
                   5649:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
                   5650:     elif test -x /usr/sbin/sysctl; then
                   5651:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
                   5652:     else
                   5653:       lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
                   5654:     fi
                   5655:     # And add a safety zone
                   5656:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   5657:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   5658:     ;;
                   5659: 
                   5660:   interix*)
                   5661:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
                   5662:     lt_cv_sys_max_cmd_len=196608
                   5663:     ;;
                   5664: 
1.1.1.2 ! misho    5665:   os2*)
        !          5666:     # The test takes a long time on OS/2.
        !          5667:     lt_cv_sys_max_cmd_len=8192
        !          5668:     ;;
        !          5669: 
1.1       misho    5670:   osf*)
                   5671:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
                   5672:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
                   5673:     # nice to cause kernel panics so lets avoid the loop below.
                   5674:     # First set a reasonable default.
                   5675:     lt_cv_sys_max_cmd_len=16384
                   5676:     #
                   5677:     if test -x /sbin/sysconfig; then
                   5678:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
                   5679:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
                   5680:       esac
                   5681:     fi
                   5682:     ;;
                   5683:   sco3.2v5*)
                   5684:     lt_cv_sys_max_cmd_len=102400
                   5685:     ;;
                   5686:   sysv5* | sco5v6* | sysv4.2uw2*)
                   5687:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
                   5688:     if test -n "$kargmax"; then
                   5689:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
                   5690:     else
                   5691:       lt_cv_sys_max_cmd_len=32768
                   5692:     fi
                   5693:     ;;
                   5694:   *)
                   5695:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
                   5696:     if test -n "$lt_cv_sys_max_cmd_len"; then
                   5697:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   5698:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   5699:     else
                   5700:       # Make teststring a little bigger before we do anything with it.
                   5701:       # a 1K string should be a reasonable start.
                   5702:       for i in 1 2 3 4 5 6 7 8 ; do
                   5703:         teststring=$teststring$teststring
                   5704:       done
                   5705:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
                   5706:       # If test is not a shell built-in, we'll probably end up computing a
                   5707:       # maximum length that is only half of the actual maximum length, but
                   5708:       # we can't tell.
1.1.1.2 ! misho    5709:       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
1.1       misho    5710:                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
                   5711:              test $i != 17 # 1/2 MB should be enough
                   5712:       do
                   5713:         i=`expr $i + 1`
                   5714:         teststring=$teststring$teststring
                   5715:       done
                   5716:       # Only check the string length outside the loop.
                   5717:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
                   5718:       teststring=
                   5719:       # Add a significant safety factor because C++ compilers can tack on
                   5720:       # massive amounts of additional arguments before passing them to the
                   5721:       # linker.  It appears as though 1/2 is a usable value.
                   5722:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
                   5723:     fi
                   5724:     ;;
                   5725:   esac
                   5726: 
                   5727: fi
                   5728: 
                   5729: if test -n $lt_cv_sys_max_cmd_len ; then
                   5730:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
                   5731: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
                   5732: else
                   5733:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
                   5734: $as_echo "none" >&6; }
                   5735: fi
                   5736: max_cmd_len=$lt_cv_sys_max_cmd_len
                   5737: 
                   5738: 
                   5739: 
                   5740: 
                   5741: 
                   5742: 
                   5743: : ${CP="cp -f"}
                   5744: : ${MV="mv -f"}
                   5745: : ${RM="rm -f"}
                   5746: 
                   5747: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
                   5748: $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
                   5749: # Try some XSI features
                   5750: xsi_shell=no
                   5751: ( _lt_dummy="a/b/c"
                   5752:   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
                   5753:       = c,a/b,b/c, \
                   5754:     && eval 'test $(( 1 + 1 )) -eq 2 \
                   5755:     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
                   5756:   && xsi_shell=yes
                   5757: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
                   5758: $as_echo "$xsi_shell" >&6; }
                   5759: 
                   5760: 
                   5761: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
                   5762: $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
                   5763: lt_shell_append=no
                   5764: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
                   5765:     >/dev/null 2>&1 \
                   5766:   && lt_shell_append=yes
                   5767: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
                   5768: $as_echo "$lt_shell_append" >&6; }
                   5769: 
                   5770: 
                   5771: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                   5772:   lt_unset=unset
                   5773: else
                   5774:   lt_unset=false
                   5775: fi
                   5776: 
                   5777: 
                   5778: 
                   5779: 
                   5780: 
                   5781: # test EBCDIC or ASCII
                   5782: case `echo X|tr X '\101'` in
                   5783:  A) # ASCII based system
                   5784:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
                   5785:   lt_SP2NL='tr \040 \012'
                   5786:   lt_NL2SP='tr \015\012 \040\040'
                   5787:   ;;
                   5788:  *) # EBCDIC based system
                   5789:   lt_SP2NL='tr \100 \n'
                   5790:   lt_NL2SP='tr \r\n \100\100'
                   5791:   ;;
                   5792: esac
                   5793: 
                   5794: 
                   5795: 
                   5796: 
                   5797: 
                   5798: 
                   5799: 
                   5800: 
                   5801: 
                   5802: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
                   5803: $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
                   5804: if ${lt_cv_to_host_file_cmd+:} false; then :
                   5805:   $as_echo_n "(cached) " >&6
                   5806: else
                   5807:   case $host in
                   5808:   *-*-mingw* )
                   5809:     case $build in
                   5810:       *-*-mingw* ) # actually msys
                   5811:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
                   5812:         ;;
                   5813:       *-*-cygwin* )
                   5814:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
                   5815:         ;;
                   5816:       * ) # otherwise, assume *nix
                   5817:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
                   5818:         ;;
                   5819:     esac
                   5820:     ;;
                   5821:   *-*-cygwin* )
                   5822:     case $build in
                   5823:       *-*-mingw* ) # actually msys
                   5824:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
                   5825:         ;;
                   5826:       *-*-cygwin* )
                   5827:         lt_cv_to_host_file_cmd=func_convert_file_noop
                   5828:         ;;
                   5829:       * ) # otherwise, assume *nix
                   5830:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
                   5831:         ;;
                   5832:     esac
                   5833:     ;;
                   5834:   * ) # unhandled hosts (and "normal" native builds)
                   5835:     lt_cv_to_host_file_cmd=func_convert_file_noop
                   5836:     ;;
                   5837: esac
                   5838: 
                   5839: fi
                   5840: 
                   5841: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   5842: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
                   5843: $as_echo "$lt_cv_to_host_file_cmd" >&6; }
                   5844: 
                   5845: 
                   5846: 
                   5847: 
                   5848: 
                   5849: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
                   5850: $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
                   5851: if ${lt_cv_to_tool_file_cmd+:} false; then :
                   5852:   $as_echo_n "(cached) " >&6
                   5853: else
                   5854:   #assume ordinary cross tools, or native build.
                   5855: lt_cv_to_tool_file_cmd=func_convert_file_noop
                   5856: case $host in
                   5857:   *-*-mingw* )
                   5858:     case $build in
                   5859:       *-*-mingw* ) # actually msys
                   5860:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
                   5861:         ;;
                   5862:     esac
                   5863:     ;;
                   5864: esac
                   5865: 
                   5866: fi
                   5867: 
                   5868: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   5869: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
                   5870: $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
                   5871: 
                   5872: 
                   5873: 
                   5874: 
                   5875: 
                   5876: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
                   5877: $as_echo_n "checking for $LD option to reload object files... " >&6; }
                   5878: if ${lt_cv_ld_reload_flag+:} false; then :
                   5879:   $as_echo_n "(cached) " >&6
                   5880: else
                   5881:   lt_cv_ld_reload_flag='-r'
                   5882: fi
                   5883: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
                   5884: $as_echo "$lt_cv_ld_reload_flag" >&6; }
                   5885: reload_flag=$lt_cv_ld_reload_flag
                   5886: case $reload_flag in
                   5887: "" | " "*) ;;
                   5888: *) reload_flag=" $reload_flag" ;;
                   5889: esac
                   5890: reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   5891: case $host_os in
                   5892:   cygwin* | mingw* | pw32* | cegcc*)
                   5893:     if test "$GCC" != yes; then
                   5894:       reload_cmds=false
                   5895:     fi
                   5896:     ;;
                   5897:   darwin*)
                   5898:     if test "$GCC" = yes; then
                   5899:       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
                   5900:     else
                   5901:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   5902:     fi
                   5903:     ;;
                   5904: esac
                   5905: 
                   5906: 
                   5907: 
                   5908: 
                   5909: 
                   5910: 
                   5911: 
                   5912: 
                   5913: 
                   5914: if test -n "$ac_tool_prefix"; then
                   5915:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   5916: set dummy ${ac_tool_prefix}objdump; ac_word=$2
                   5917: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5918: $as_echo_n "checking for $ac_word... " >&6; }
                   5919: if ${ac_cv_prog_OBJDUMP+:} false; then :
                   5920:   $as_echo_n "(cached) " >&6
                   5921: else
                   5922:   if test -n "$OBJDUMP"; then
                   5923:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   5924: else
                   5925: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5926: for as_dir in $PATH
                   5927: do
                   5928:   IFS=$as_save_IFS
                   5929:   test -z "$as_dir" && as_dir=.
                   5930:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5931:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   5932:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
                   5933:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5934:     break 2
                   5935:   fi
                   5936: done
                   5937:   done
                   5938: IFS=$as_save_IFS
                   5939: 
                   5940: fi
                   5941: fi
                   5942: OBJDUMP=$ac_cv_prog_OBJDUMP
                   5943: if test -n "$OBJDUMP"; then
                   5944:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   5945: $as_echo "$OBJDUMP" >&6; }
                   5946: else
                   5947:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5948: $as_echo "no" >&6; }
                   5949: fi
                   5950: 
                   5951: 
                   5952: fi
                   5953: if test -z "$ac_cv_prog_OBJDUMP"; then
                   5954:   ac_ct_OBJDUMP=$OBJDUMP
                   5955:   # Extract the first word of "objdump", so it can be a program name with args.
                   5956: set dummy objdump; ac_word=$2
                   5957: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5958: $as_echo_n "checking for $ac_word... " >&6; }
                   5959: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
                   5960:   $as_echo_n "(cached) " >&6
                   5961: else
                   5962:   if test -n "$ac_ct_OBJDUMP"; then
                   5963:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   5964: else
                   5965: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5966: for as_dir in $PATH
                   5967: do
                   5968:   IFS=$as_save_IFS
                   5969:   test -z "$as_dir" && as_dir=.
                   5970:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5971:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   5972:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
                   5973:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5974:     break 2
                   5975:   fi
                   5976: done
                   5977:   done
                   5978: IFS=$as_save_IFS
                   5979: 
                   5980: fi
                   5981: fi
                   5982: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   5983: if test -n "$ac_ct_OBJDUMP"; then
                   5984:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   5985: $as_echo "$ac_ct_OBJDUMP" >&6; }
                   5986: else
                   5987:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5988: $as_echo "no" >&6; }
                   5989: fi
                   5990: 
                   5991:   if test "x$ac_ct_OBJDUMP" = x; then
                   5992:     OBJDUMP="false"
                   5993:   else
                   5994:     case $cross_compiling:$ac_tool_warned in
                   5995: yes:)
                   5996: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5997: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5998: ac_tool_warned=yes ;;
                   5999: esac
                   6000:     OBJDUMP=$ac_ct_OBJDUMP
                   6001:   fi
                   6002: else
                   6003:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   6004: fi
                   6005: 
                   6006: test -z "$OBJDUMP" && OBJDUMP=objdump
                   6007: 
                   6008: 
                   6009: 
                   6010: 
                   6011: 
                   6012: 
                   6013: 
                   6014: 
                   6015: 
                   6016: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
                   6017: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
                   6018: if ${lt_cv_deplibs_check_method+:} false; then :
                   6019:   $as_echo_n "(cached) " >&6
                   6020: else
                   6021:   lt_cv_file_magic_cmd='$MAGIC_CMD'
                   6022: lt_cv_file_magic_test_file=
                   6023: lt_cv_deplibs_check_method='unknown'
                   6024: # Need to set the preceding variable on all platforms that support
                   6025: # interlibrary dependencies.
                   6026: # 'none' -- dependencies not supported.
                   6027: # `unknown' -- same as none, but documents that we really don't know.
                   6028: # 'pass_all' -- all dependencies passed with no checks.
                   6029: # 'test_compile' -- check by making test program.
                   6030: # 'file_magic [[regex]]' -- check by looking for files in library path
                   6031: # which responds to the $file_magic_cmd with a given extended regex.
                   6032: # If you have `file' or equivalent on your system and you're not sure
                   6033: # whether `pass_all' will *always* work, you probably want this one.
                   6034: 
                   6035: case $host_os in
                   6036: aix[4-9]*)
                   6037:   lt_cv_deplibs_check_method=pass_all
                   6038:   ;;
                   6039: 
                   6040: beos*)
                   6041:   lt_cv_deplibs_check_method=pass_all
                   6042:   ;;
                   6043: 
                   6044: bsdi[45]*)
                   6045:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
                   6046:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   6047:   lt_cv_file_magic_test_file=/shlib/libc.so
                   6048:   ;;
                   6049: 
                   6050: cygwin*)
                   6051:   # func_win32_libid is a shell function defined in ltmain.sh
                   6052:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   6053:   lt_cv_file_magic_cmd='func_win32_libid'
                   6054:   ;;
                   6055: 
                   6056: mingw* | pw32*)
                   6057:   # Base MSYS/MinGW do not provide the 'file' command needed by
                   6058:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
                   6059:   # unless we find 'file', for example because we are cross-compiling.
                   6060:   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
                   6061:   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
                   6062:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   6063:     lt_cv_file_magic_cmd='func_win32_libid'
                   6064:   else
                   6065:     # Keep this pattern in sync with the one in func_win32_libid.
                   6066:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
                   6067:     lt_cv_file_magic_cmd='$OBJDUMP -f'
                   6068:   fi
                   6069:   ;;
                   6070: 
                   6071: cegcc*)
                   6072:   # use the weaker test based on 'objdump'. See mingw*.
                   6073:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
                   6074:   lt_cv_file_magic_cmd='$OBJDUMP -f'
                   6075:   ;;
                   6076: 
                   6077: darwin* | rhapsody*)
                   6078:   lt_cv_deplibs_check_method=pass_all
                   6079:   ;;
                   6080: 
                   6081: freebsd* | dragonfly*)
                   6082:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   6083:     case $host_cpu in
                   6084:     i*86 )
                   6085:       # Not sure whether the presence of OpenBSD here was a mistake.
                   6086:       # Let's accept both of them until this is cleared up.
                   6087:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
                   6088:       lt_cv_file_magic_cmd=/usr/bin/file
                   6089:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
                   6090:       ;;
                   6091:     esac
                   6092:   else
                   6093:     lt_cv_deplibs_check_method=pass_all
                   6094:   fi
                   6095:   ;;
                   6096: 
                   6097: gnu*)
                   6098:   lt_cv_deplibs_check_method=pass_all
                   6099:   ;;
                   6100: 
                   6101: haiku*)
                   6102:   lt_cv_deplibs_check_method=pass_all
                   6103:   ;;
                   6104: 
                   6105: hpux10.20* | hpux11*)
                   6106:   lt_cv_file_magic_cmd=/usr/bin/file
                   6107:   case $host_cpu in
                   6108:   ia64*)
                   6109:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
                   6110:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
                   6111:     ;;
                   6112:   hppa*64*)
                   6113:     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]'
                   6114:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
                   6115:     ;;
                   6116:   *)
                   6117:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
                   6118:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
                   6119:     ;;
                   6120:   esac
                   6121:   ;;
                   6122: 
                   6123: interix[3-9]*)
                   6124:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
                   6125:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
                   6126:   ;;
                   6127: 
                   6128: irix5* | irix6* | nonstopux*)
                   6129:   case $LD in
                   6130:   *-32|*"-32 ") libmagic=32-bit;;
                   6131:   *-n32|*"-n32 ") libmagic=N32;;
                   6132:   *-64|*"-64 ") libmagic=64-bit;;
                   6133:   *) libmagic=never-match;;
                   6134:   esac
                   6135:   lt_cv_deplibs_check_method=pass_all
                   6136:   ;;
                   6137: 
1.1.1.2 ! misho    6138: # This must be glibc/ELF.
1.1       misho    6139: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   6140:   lt_cv_deplibs_check_method=pass_all
                   6141:   ;;
                   6142: 
                   6143: netbsd*)
                   6144:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   6145:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   6146:   else
                   6147:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
                   6148:   fi
                   6149:   ;;
                   6150: 
                   6151: newos6*)
                   6152:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
                   6153:   lt_cv_file_magic_cmd=/usr/bin/file
                   6154:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
                   6155:   ;;
                   6156: 
                   6157: *nto* | *qnx*)
                   6158:   lt_cv_deplibs_check_method=pass_all
                   6159:   ;;
                   6160: 
                   6161: openbsd*)
                   6162:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   6163:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
                   6164:   else
                   6165:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   6166:   fi
                   6167:   ;;
                   6168: 
                   6169: osf3* | osf4* | osf5*)
                   6170:   lt_cv_deplibs_check_method=pass_all
                   6171:   ;;
                   6172: 
                   6173: rdos*)
                   6174:   lt_cv_deplibs_check_method=pass_all
                   6175:   ;;
                   6176: 
                   6177: solaris*)
                   6178:   lt_cv_deplibs_check_method=pass_all
                   6179:   ;;
                   6180: 
                   6181: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   6182:   lt_cv_deplibs_check_method=pass_all
                   6183:   ;;
                   6184: 
                   6185: sysv4 | sysv4.3*)
                   6186:   case $host_vendor in
                   6187:   motorola)
                   6188:     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]'
                   6189:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
                   6190:     ;;
                   6191:   ncr)
                   6192:     lt_cv_deplibs_check_method=pass_all
                   6193:     ;;
                   6194:   sequent)
                   6195:     lt_cv_file_magic_cmd='/bin/file'
                   6196:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
                   6197:     ;;
                   6198:   sni)
                   6199:     lt_cv_file_magic_cmd='/bin/file'
                   6200:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
                   6201:     lt_cv_file_magic_test_file=/lib/libc.so
                   6202:     ;;
                   6203:   siemens)
                   6204:     lt_cv_deplibs_check_method=pass_all
                   6205:     ;;
                   6206:   pc)
                   6207:     lt_cv_deplibs_check_method=pass_all
                   6208:     ;;
                   6209:   esac
                   6210:   ;;
                   6211: 
                   6212: tpf*)
                   6213:   lt_cv_deplibs_check_method=pass_all
                   6214:   ;;
                   6215: esac
                   6216: 
                   6217: fi
                   6218: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
                   6219: $as_echo "$lt_cv_deplibs_check_method" >&6; }
                   6220: 
                   6221: file_magic_glob=
                   6222: want_nocaseglob=no
                   6223: if test "$build" = "$host"; then
                   6224:   case $host_os in
                   6225:   mingw* | pw32*)
                   6226:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
                   6227:       want_nocaseglob=yes
                   6228:     else
                   6229:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
                   6230:     fi
                   6231:     ;;
                   6232:   esac
                   6233: fi
                   6234: 
                   6235: file_magic_cmd=$lt_cv_file_magic_cmd
                   6236: deplibs_check_method=$lt_cv_deplibs_check_method
                   6237: test -z "$deplibs_check_method" && deplibs_check_method=unknown
                   6238: 
                   6239: 
                   6240: 
                   6241: 
                   6242: 
                   6243: 
                   6244: 
                   6245: 
                   6246: 
                   6247: 
                   6248: 
                   6249: 
                   6250: 
                   6251: 
                   6252: 
                   6253: 
                   6254: 
                   6255: 
                   6256: 
                   6257: 
                   6258: 
                   6259: 
                   6260: if test -n "$ac_tool_prefix"; then
                   6261:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   6262: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
                   6263: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6264: $as_echo_n "checking for $ac_word... " >&6; }
                   6265: if ${ac_cv_prog_DLLTOOL+:} false; then :
                   6266:   $as_echo_n "(cached) " >&6
                   6267: else
                   6268:   if test -n "$DLLTOOL"; then
                   6269:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   6270: else
                   6271: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6272: for as_dir in $PATH
                   6273: do
                   6274:   IFS=$as_save_IFS
                   6275:   test -z "$as_dir" && as_dir=.
                   6276:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6277:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6278:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
                   6279:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6280:     break 2
                   6281:   fi
                   6282: done
                   6283:   done
                   6284: IFS=$as_save_IFS
                   6285: 
                   6286: fi
                   6287: fi
                   6288: DLLTOOL=$ac_cv_prog_DLLTOOL
                   6289: if test -n "$DLLTOOL"; then
                   6290:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
                   6291: $as_echo "$DLLTOOL" >&6; }
                   6292: else
                   6293:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6294: $as_echo "no" >&6; }
                   6295: fi
                   6296: 
                   6297: 
                   6298: fi
                   6299: if test -z "$ac_cv_prog_DLLTOOL"; then
                   6300:   ac_ct_DLLTOOL=$DLLTOOL
                   6301:   # Extract the first word of "dlltool", so it can be a program name with args.
                   6302: set dummy dlltool; ac_word=$2
                   6303: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6304: $as_echo_n "checking for $ac_word... " >&6; }
                   6305: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
                   6306:   $as_echo_n "(cached) " >&6
                   6307: else
                   6308:   if test -n "$ac_ct_DLLTOOL"; then
                   6309:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   6310: else
                   6311: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6312: for as_dir in $PATH
                   6313: do
                   6314:   IFS=$as_save_IFS
                   6315:   test -z "$as_dir" && as_dir=.
                   6316:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6317:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6318:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
                   6319:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6320:     break 2
                   6321:   fi
                   6322: done
                   6323:   done
                   6324: IFS=$as_save_IFS
                   6325: 
                   6326: fi
                   6327: fi
                   6328: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   6329: if test -n "$ac_ct_DLLTOOL"; then
                   6330:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
                   6331: $as_echo "$ac_ct_DLLTOOL" >&6; }
                   6332: else
                   6333:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6334: $as_echo "no" >&6; }
                   6335: fi
                   6336: 
                   6337:   if test "x$ac_ct_DLLTOOL" = x; then
                   6338:     DLLTOOL="false"
                   6339:   else
                   6340:     case $cross_compiling:$ac_tool_warned in
                   6341: yes:)
                   6342: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6343: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6344: ac_tool_warned=yes ;;
                   6345: esac
                   6346:     DLLTOOL=$ac_ct_DLLTOOL
                   6347:   fi
                   6348: else
                   6349:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   6350: fi
                   6351: 
                   6352: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   6353: 
                   6354: 
                   6355: 
                   6356: 
                   6357: 
                   6358: 
                   6359: 
                   6360: 
                   6361: 
                   6362: 
                   6363: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
                   6364: $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
                   6365: if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
                   6366:   $as_echo_n "(cached) " >&6
                   6367: else
                   6368:   lt_cv_sharedlib_from_linklib_cmd='unknown'
                   6369: 
                   6370: case $host_os in
                   6371: cygwin* | mingw* | pw32* | cegcc*)
                   6372:   # two different shell functions defined in ltmain.sh
                   6373:   # decide which to use based on capabilities of $DLLTOOL
                   6374:   case `$DLLTOOL --help 2>&1` in
                   6375:   *--identify-strict*)
                   6376:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
                   6377:     ;;
                   6378:   *)
                   6379:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
                   6380:     ;;
                   6381:   esac
                   6382:   ;;
                   6383: *)
                   6384:   # fallback: assume linklib IS sharedlib
                   6385:   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
                   6386:   ;;
                   6387: esac
                   6388: 
                   6389: fi
                   6390: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
                   6391: $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
                   6392: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
                   6393: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
                   6394: 
                   6395: 
                   6396: 
                   6397: 
                   6398: 
                   6399: 
                   6400: 
                   6401: if test -n "$ac_tool_prefix"; then
                   6402:   for ac_prog in ar
                   6403:   do
                   6404:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   6405: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   6406: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6407: $as_echo_n "checking for $ac_word... " >&6; }
                   6408: if ${ac_cv_prog_AR+:} false; then :
                   6409:   $as_echo_n "(cached) " >&6
                   6410: else
                   6411:   if test -n "$AR"; then
                   6412:   ac_cv_prog_AR="$AR" # Let the user override the test.
                   6413: else
                   6414: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6415: for as_dir in $PATH
                   6416: do
                   6417:   IFS=$as_save_IFS
                   6418:   test -z "$as_dir" && as_dir=.
                   6419:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6420:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6421:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
                   6422:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6423:     break 2
                   6424:   fi
                   6425: done
                   6426:   done
                   6427: IFS=$as_save_IFS
                   6428: 
                   6429: fi
                   6430: fi
                   6431: AR=$ac_cv_prog_AR
                   6432: if test -n "$AR"; then
                   6433:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
                   6434: $as_echo "$AR" >&6; }
                   6435: else
                   6436:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6437: $as_echo "no" >&6; }
                   6438: fi
                   6439: 
                   6440: 
                   6441:     test -n "$AR" && break
                   6442:   done
                   6443: fi
                   6444: if test -z "$AR"; then
                   6445:   ac_ct_AR=$AR
                   6446:   for ac_prog in ar
                   6447: do
                   6448:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   6449: set dummy $ac_prog; ac_word=$2
                   6450: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6451: $as_echo_n "checking for $ac_word... " >&6; }
                   6452: if ${ac_cv_prog_ac_ct_AR+:} false; then :
                   6453:   $as_echo_n "(cached) " >&6
                   6454: else
                   6455:   if test -n "$ac_ct_AR"; then
                   6456:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
                   6457: else
                   6458: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6459: for as_dir in $PATH
                   6460: do
                   6461:   IFS=$as_save_IFS
                   6462:   test -z "$as_dir" && as_dir=.
                   6463:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6464:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6465:     ac_cv_prog_ac_ct_AR="$ac_prog"
                   6466:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6467:     break 2
                   6468:   fi
                   6469: done
                   6470:   done
                   6471: IFS=$as_save_IFS
                   6472: 
                   6473: fi
                   6474: fi
                   6475: ac_ct_AR=$ac_cv_prog_ac_ct_AR
                   6476: if test -n "$ac_ct_AR"; then
                   6477:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
                   6478: $as_echo "$ac_ct_AR" >&6; }
                   6479: else
                   6480:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6481: $as_echo "no" >&6; }
                   6482: fi
                   6483: 
                   6484: 
                   6485:   test -n "$ac_ct_AR" && break
                   6486: done
                   6487: 
                   6488:   if test "x$ac_ct_AR" = x; then
                   6489:     AR="false"
                   6490:   else
                   6491:     case $cross_compiling:$ac_tool_warned in
                   6492: yes:)
                   6493: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6494: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6495: ac_tool_warned=yes ;;
                   6496: esac
                   6497:     AR=$ac_ct_AR
                   6498:   fi
                   6499: fi
                   6500: 
                   6501: : ${AR=ar}
                   6502: : ${AR_FLAGS=cru}
                   6503: 
                   6504: 
                   6505: 
                   6506: 
                   6507: 
                   6508: 
                   6509: 
                   6510: 
                   6511: 
                   6512: 
                   6513: 
                   6514: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
                   6515: $as_echo_n "checking for archiver @FILE support... " >&6; }
                   6516: if ${lt_cv_ar_at_file+:} false; then :
                   6517:   $as_echo_n "(cached) " >&6
                   6518: else
                   6519:   lt_cv_ar_at_file=no
                   6520:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6521: /* end confdefs.h.  */
                   6522: 
                   6523: int
                   6524: main ()
                   6525: {
                   6526: 
                   6527:   ;
                   6528:   return 0;
                   6529: }
                   6530: _ACEOF
                   6531: if ac_fn_c_try_compile "$LINENO"; then :
                   6532:   echo conftest.$ac_objext > conftest.lst
                   6533:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
                   6534:       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
                   6535:   (eval $lt_ar_try) 2>&5
                   6536:   ac_status=$?
                   6537:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6538:   test $ac_status = 0; }
                   6539:       if test "$ac_status" -eq 0; then
                   6540:        # Ensure the archiver fails upon bogus file names.
                   6541:        rm -f conftest.$ac_objext libconftest.a
                   6542:        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
                   6543:   (eval $lt_ar_try) 2>&5
                   6544:   ac_status=$?
                   6545:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6546:   test $ac_status = 0; }
                   6547:        if test "$ac_status" -ne 0; then
                   6548:           lt_cv_ar_at_file=@
                   6549:         fi
                   6550:       fi
                   6551:       rm -f conftest.* libconftest.a
                   6552: 
                   6553: fi
                   6554: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   6555: 
                   6556: fi
                   6557: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
                   6558: $as_echo "$lt_cv_ar_at_file" >&6; }
                   6559: 
                   6560: if test "x$lt_cv_ar_at_file" = xno; then
                   6561:   archiver_list_spec=
                   6562: else
                   6563:   archiver_list_spec=$lt_cv_ar_at_file
                   6564: fi
                   6565: 
                   6566: 
                   6567: 
                   6568: 
                   6569: 
                   6570: 
                   6571: 
                   6572: if test -n "$ac_tool_prefix"; then
                   6573:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   6574: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   6575: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6576: $as_echo_n "checking for $ac_word... " >&6; }
                   6577: if ${ac_cv_prog_STRIP+:} false; then :
                   6578:   $as_echo_n "(cached) " >&6
                   6579: else
                   6580:   if test -n "$STRIP"; then
                   6581:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   6582: else
                   6583: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6584: for as_dir in $PATH
                   6585: do
                   6586:   IFS=$as_save_IFS
                   6587:   test -z "$as_dir" && as_dir=.
                   6588:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6589:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6590:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   6591:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6592:     break 2
                   6593:   fi
                   6594: done
                   6595:   done
                   6596: IFS=$as_save_IFS
                   6597: 
                   6598: fi
                   6599: fi
                   6600: STRIP=$ac_cv_prog_STRIP
                   6601: if test -n "$STRIP"; then
                   6602:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   6603: $as_echo "$STRIP" >&6; }
                   6604: else
                   6605:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6606: $as_echo "no" >&6; }
                   6607: fi
                   6608: 
                   6609: 
                   6610: fi
                   6611: if test -z "$ac_cv_prog_STRIP"; then
                   6612:   ac_ct_STRIP=$STRIP
                   6613:   # Extract the first word of "strip", so it can be a program name with args.
                   6614: set dummy strip; ac_word=$2
                   6615: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6616: $as_echo_n "checking for $ac_word... " >&6; }
                   6617: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
                   6618:   $as_echo_n "(cached) " >&6
                   6619: else
                   6620:   if test -n "$ac_ct_STRIP"; then
                   6621:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   6622: else
                   6623: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6624: for as_dir in $PATH
                   6625: do
                   6626:   IFS=$as_save_IFS
                   6627:   test -z "$as_dir" && as_dir=.
                   6628:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6629:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6630:     ac_cv_prog_ac_ct_STRIP="strip"
                   6631:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6632:     break 2
                   6633:   fi
                   6634: done
                   6635:   done
                   6636: IFS=$as_save_IFS
                   6637: 
                   6638: fi
                   6639: fi
                   6640: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   6641: if test -n "$ac_ct_STRIP"; then
                   6642:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   6643: $as_echo "$ac_ct_STRIP" >&6; }
                   6644: else
                   6645:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6646: $as_echo "no" >&6; }
                   6647: fi
                   6648: 
                   6649:   if test "x$ac_ct_STRIP" = x; then
                   6650:     STRIP=":"
                   6651:   else
                   6652:     case $cross_compiling:$ac_tool_warned in
                   6653: yes:)
                   6654: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6655: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6656: ac_tool_warned=yes ;;
                   6657: esac
                   6658:     STRIP=$ac_ct_STRIP
                   6659:   fi
                   6660: else
                   6661:   STRIP="$ac_cv_prog_STRIP"
                   6662: fi
                   6663: 
                   6664: test -z "$STRIP" && STRIP=:
                   6665: 
                   6666: 
                   6667: 
                   6668: 
                   6669: 
                   6670: 
                   6671: if test -n "$ac_tool_prefix"; then
                   6672:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   6673: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
                   6674: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6675: $as_echo_n "checking for $ac_word... " >&6; }
                   6676: if ${ac_cv_prog_RANLIB+:} false; then :
                   6677:   $as_echo_n "(cached) " >&6
                   6678: else
                   6679:   if test -n "$RANLIB"; then
                   6680:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   6681: else
                   6682: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6683: for as_dir in $PATH
                   6684: do
                   6685:   IFS=$as_save_IFS
                   6686:   test -z "$as_dir" && as_dir=.
                   6687:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6688:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6689:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
                   6690:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6691:     break 2
                   6692:   fi
                   6693: done
                   6694:   done
                   6695: IFS=$as_save_IFS
                   6696: 
                   6697: fi
                   6698: fi
                   6699: RANLIB=$ac_cv_prog_RANLIB
                   6700: if test -n "$RANLIB"; then
                   6701:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
                   6702: $as_echo "$RANLIB" >&6; }
                   6703: else
                   6704:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6705: $as_echo "no" >&6; }
                   6706: fi
                   6707: 
                   6708: 
                   6709: fi
                   6710: if test -z "$ac_cv_prog_RANLIB"; then
                   6711:   ac_ct_RANLIB=$RANLIB
                   6712:   # Extract the first word of "ranlib", so it can be a program name with args.
                   6713: set dummy ranlib; ac_word=$2
                   6714: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6715: $as_echo_n "checking for $ac_word... " >&6; }
                   6716: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
                   6717:   $as_echo_n "(cached) " >&6
                   6718: else
                   6719:   if test -n "$ac_ct_RANLIB"; then
                   6720:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   6721: else
                   6722: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6723: for as_dir in $PATH
                   6724: do
                   6725:   IFS=$as_save_IFS
                   6726:   test -z "$as_dir" && as_dir=.
                   6727:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6728:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6729:     ac_cv_prog_ac_ct_RANLIB="ranlib"
                   6730:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6731:     break 2
                   6732:   fi
                   6733: done
                   6734:   done
                   6735: IFS=$as_save_IFS
                   6736: 
                   6737: fi
                   6738: fi
                   6739: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   6740: if test -n "$ac_ct_RANLIB"; then
                   6741:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
                   6742: $as_echo "$ac_ct_RANLIB" >&6; }
                   6743: else
                   6744:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6745: $as_echo "no" >&6; }
                   6746: fi
                   6747: 
                   6748:   if test "x$ac_ct_RANLIB" = x; then
                   6749:     RANLIB=":"
                   6750:   else
                   6751:     case $cross_compiling:$ac_tool_warned in
                   6752: yes:)
                   6753: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6754: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6755: ac_tool_warned=yes ;;
                   6756: esac
                   6757:     RANLIB=$ac_ct_RANLIB
                   6758:   fi
                   6759: else
                   6760:   RANLIB="$ac_cv_prog_RANLIB"
                   6761: fi
                   6762: 
                   6763: test -z "$RANLIB" && RANLIB=:
                   6764: 
                   6765: 
                   6766: 
                   6767: 
                   6768: 
                   6769: 
                   6770: # Determine commands to create old-style static archives.
                   6771: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
                   6772: old_postinstall_cmds='chmod 644 $oldlib'
                   6773: old_postuninstall_cmds=
                   6774: 
                   6775: if test -n "$RANLIB"; then
                   6776:   case $host_os in
                   6777:   openbsd*)
1.1.1.2 ! misho    6778:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
1.1       misho    6779:     ;;
                   6780:   *)
1.1.1.2 ! misho    6781:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
1.1       misho    6782:     ;;
                   6783:   esac
1.1.1.2 ! misho    6784:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
1.1       misho    6785: fi
                   6786: 
                   6787: case $host_os in
                   6788:   darwin*)
                   6789:     lock_old_archive_extraction=yes ;;
                   6790:   *)
                   6791:     lock_old_archive_extraction=no ;;
                   6792: esac
                   6793: 
                   6794: 
                   6795: 
                   6796: 
                   6797: 
                   6798: 
                   6799: 
                   6800: 
                   6801: 
                   6802: 
                   6803: 
                   6804: 
                   6805: 
                   6806: 
                   6807: 
                   6808: 
                   6809: 
                   6810: 
                   6811: 
                   6812: 
                   6813: 
                   6814: 
                   6815: 
                   6816: 
                   6817: 
                   6818: 
                   6819: 
                   6820: 
                   6821: 
                   6822: 
                   6823: 
                   6824: 
                   6825: 
                   6826: 
                   6827: 
                   6828: 
                   6829: 
                   6830: 
                   6831: 
                   6832: # If no C compiler was specified, use CC.
                   6833: LTCC=${LTCC-"$CC"}
                   6834: 
                   6835: # If no C compiler flags were specified, use CFLAGS.
                   6836: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   6837: 
                   6838: # Allow CC to be a program name with arguments.
                   6839: compiler=$CC
                   6840: 
                   6841: 
                   6842: # Check for command to grab the raw symbol name followed by C symbol from nm.
                   6843: { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
                   6844: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
                   6845: if ${lt_cv_sys_global_symbol_pipe+:} false; then :
                   6846:   $as_echo_n "(cached) " >&6
                   6847: else
                   6848: 
                   6849: # These are sane defaults that work on at least a few old systems.
                   6850: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
                   6851: 
                   6852: # Character class describing NM global symbol codes.
                   6853: symcode='[BCDEGRST]'
                   6854: 
                   6855: # Regexp to match symbols that can be accessed directly from C.
                   6856: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
                   6857: 
                   6858: # Define system-specific variables.
                   6859: case $host_os in
                   6860: aix*)
                   6861:   symcode='[BCDT]'
                   6862:   ;;
                   6863: cygwin* | mingw* | pw32* | cegcc*)
                   6864:   symcode='[ABCDGISTW]'
                   6865:   ;;
                   6866: hpux*)
                   6867:   if test "$host_cpu" = ia64; then
                   6868:     symcode='[ABCDEGRST]'
                   6869:   fi
                   6870:   ;;
                   6871: irix* | nonstopux*)
                   6872:   symcode='[BCDEGRST]'
                   6873:   ;;
                   6874: osf*)
                   6875:   symcode='[BCDEGQRST]'
                   6876:   ;;
                   6877: solaris*)
                   6878:   symcode='[BDRT]'
                   6879:   ;;
                   6880: sco3.2v5*)
                   6881:   symcode='[DT]'
                   6882:   ;;
                   6883: sysv4.2uw2*)
                   6884:   symcode='[DT]'
                   6885:   ;;
                   6886: sysv5* | sco5v6* | unixware* | OpenUNIX*)
                   6887:   symcode='[ABDT]'
                   6888:   ;;
                   6889: sysv4)
                   6890:   symcode='[DFNSTU]'
                   6891:   ;;
                   6892: esac
                   6893: 
                   6894: # If we're using GNU nm, then use its standard symbol codes.
                   6895: case `$NM -V 2>&1` in
                   6896: *GNU* | *'with BFD'*)
                   6897:   symcode='[ABCDGIRSTW]' ;;
                   6898: esac
                   6899: 
                   6900: # Transform an extracted symbol line into a proper C declaration.
                   6901: # Some systems (esp. on ia64) link data and code symbols differently,
                   6902: # so use this general approach.
                   6903: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
                   6904: 
                   6905: # Transform an extracted symbol line into symbol name and symbol address
                   6906: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
                   6907: 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'"
                   6908: 
                   6909: # Handle CRLF in mingw tool chain
                   6910: opt_cr=
                   6911: case $build_os in
                   6912: mingw*)
                   6913:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
                   6914:   ;;
                   6915: esac
                   6916: 
                   6917: # Try without a prefix underscore, then with it.
                   6918: for ac_symprfx in "" "_"; do
                   6919: 
                   6920:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
                   6921:   symxfrm="\\1 $ac_symprfx\\2 \\2"
                   6922: 
                   6923:   # Write the raw and C identifiers.
                   6924:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   6925:     # Fake it for dumpbin and say T for any non-static function
                   6926:     # and D for any global variable.
                   6927:     # Also find C++ and __fastcall symbols from MSVC++,
                   6928:     # which start with @ or ?.
                   6929:     lt_cv_sys_global_symbol_pipe="$AWK '"\
                   6930: "     {last_section=section; section=\$ 3};"\
1.1.1.2 ! misho    6931: "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
1.1       misho    6932: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
                   6933: "     \$ 0!~/External *\|/{next};"\
                   6934: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
                   6935: "     {if(hide[section]) next};"\
                   6936: "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
                   6937: "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
                   6938: "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
                   6939: "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
                   6940: "     ' prfx=^$ac_symprfx"
                   6941:   else
                   6942:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
                   6943:   fi
                   6944:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
                   6945: 
                   6946:   # Check to see that the pipe works correctly.
                   6947:   pipe_works=no
                   6948: 
                   6949:   rm -f conftest*
                   6950:   cat > conftest.$ac_ext <<_LT_EOF
                   6951: #ifdef __cplusplus
                   6952: extern "C" {
                   6953: #endif
                   6954: char nm_test_var;
                   6955: void nm_test_func(void);
                   6956: void nm_test_func(void){}
                   6957: #ifdef __cplusplus
                   6958: }
                   6959: #endif
                   6960: int main(){nm_test_var='a';nm_test_func();return(0);}
                   6961: _LT_EOF
                   6962: 
                   6963:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   6964:   (eval $ac_compile) 2>&5
                   6965:   ac_status=$?
                   6966:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6967:   test $ac_status = 0; }; then
                   6968:     # Now try to grab the symbols.
                   6969:     nlist=conftest.nm
                   6970:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
                   6971:   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
                   6972:   ac_status=$?
                   6973:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6974:   test $ac_status = 0; } && test -s "$nlist"; then
                   6975:       # Try sorting and uniquifying the output.
                   6976:       if sort "$nlist" | uniq > "$nlist"T; then
                   6977:        mv -f "$nlist"T "$nlist"
                   6978:       else
                   6979:        rm -f "$nlist"T
                   6980:       fi
                   6981: 
                   6982:       # Make sure that we snagged all the symbols we need.
                   6983:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
                   6984:        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
                   6985:          cat <<_LT_EOF > conftest.$ac_ext
                   6986: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
                   6987: #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
                   6988: /* DATA imports from DLLs on WIN32 con't be const, because runtime
                   6989:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
                   6990: # define LT_DLSYM_CONST
                   6991: #elif defined(__osf__)
                   6992: /* This system does not cope well with relocations in const data.  */
                   6993: # define LT_DLSYM_CONST
                   6994: #else
                   6995: # define LT_DLSYM_CONST const
                   6996: #endif
                   6997: 
                   6998: #ifdef __cplusplus
                   6999: extern "C" {
                   7000: #endif
                   7001: 
                   7002: _LT_EOF
                   7003:          # Now generate the symbol file.
                   7004:          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
                   7005: 
                   7006:          cat <<_LT_EOF >> conftest.$ac_ext
                   7007: 
                   7008: /* The mapping between symbol names and symbols.  */
                   7009: LT_DLSYM_CONST struct {
                   7010:   const char *name;
                   7011:   void       *address;
                   7012: }
                   7013: lt__PROGRAM__LTX_preloaded_symbols[] =
                   7014: {
                   7015:   { "@PROGRAM@", (void *) 0 },
                   7016: _LT_EOF
                   7017:          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
                   7018:          cat <<\_LT_EOF >> conftest.$ac_ext
                   7019:   {0, (void *) 0}
                   7020: };
                   7021: 
                   7022: /* This works around a problem in FreeBSD linker */
                   7023: #ifdef FREEBSD_WORKAROUND
                   7024: static const void *lt_preloaded_setup() {
                   7025:   return lt__PROGRAM__LTX_preloaded_symbols;
                   7026: }
                   7027: #endif
                   7028: 
                   7029: #ifdef __cplusplus
                   7030: }
                   7031: #endif
                   7032: _LT_EOF
                   7033:          # Now try linking the two files.
                   7034:          mv conftest.$ac_objext conftstm.$ac_objext
                   7035:          lt_globsym_save_LIBS=$LIBS
                   7036:          lt_globsym_save_CFLAGS=$CFLAGS
                   7037:          LIBS="conftstm.$ac_objext"
                   7038:          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
                   7039:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
                   7040:   (eval $ac_link) 2>&5
                   7041:   ac_status=$?
                   7042:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7043:   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
                   7044:            pipe_works=yes
                   7045:          fi
                   7046:          LIBS=$lt_globsym_save_LIBS
                   7047:          CFLAGS=$lt_globsym_save_CFLAGS
                   7048:        else
                   7049:          echo "cannot find nm_test_func in $nlist" >&5
                   7050:        fi
                   7051:       else
                   7052:        echo "cannot find nm_test_var in $nlist" >&5
                   7053:       fi
                   7054:     else
                   7055:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   7056:     fi
                   7057:   else
                   7058:     echo "$progname: failed program was:" >&5
                   7059:     cat conftest.$ac_ext >&5
                   7060:   fi
                   7061:   rm -rf conftest* conftst*
                   7062: 
                   7063:   # Do not use the global_symbol_pipe unless it works.
                   7064:   if test "$pipe_works" = yes; then
                   7065:     break
                   7066:   else
                   7067:     lt_cv_sys_global_symbol_pipe=
                   7068:   fi
                   7069: done
                   7070: 
                   7071: fi
                   7072: 
                   7073: if test -z "$lt_cv_sys_global_symbol_pipe"; then
                   7074:   lt_cv_sys_global_symbol_to_cdecl=
                   7075: fi
                   7076: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
                   7077:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
                   7078: $as_echo "failed" >&6; }
                   7079: else
                   7080:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
                   7081: $as_echo "ok" >&6; }
                   7082: fi
                   7083: 
                   7084: # Response file support.
                   7085: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   7086:   nm_file_list_spec='@'
                   7087: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
                   7088:   nm_file_list_spec='@'
                   7089: fi
                   7090: 
                   7091: 
                   7092: 
                   7093: 
                   7094: 
                   7095: 
                   7096: 
                   7097: 
                   7098: 
                   7099: 
                   7100: 
                   7101: 
                   7102: 
                   7103: 
                   7104: 
                   7105: 
                   7106: 
                   7107: 
                   7108: 
                   7109: 
                   7110: 
                   7111: 
                   7112: 
                   7113: 
                   7114: 
                   7115: 
                   7116: 
                   7117: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
                   7118: $as_echo_n "checking for sysroot... " >&6; }
                   7119: 
                   7120: # Check whether --with-sysroot was given.
                   7121: if test "${with_sysroot+set}" = set; then :
                   7122:   withval=$with_sysroot;
                   7123: else
                   7124:   with_sysroot=no
                   7125: fi
                   7126: 
                   7127: 
                   7128: lt_sysroot=
                   7129: case ${with_sysroot} in #(
                   7130:  yes)
                   7131:    if test "$GCC" = yes; then
                   7132:      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
                   7133:    fi
                   7134:    ;; #(
                   7135:  /*)
                   7136:    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
                   7137:    ;; #(
                   7138:  no|'')
                   7139:    ;; #(
                   7140:  *)
                   7141:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
                   7142: $as_echo "${with_sysroot}" >&6; }
                   7143:    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
                   7144:    ;;
                   7145: esac
                   7146: 
                   7147:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
                   7148: $as_echo "${lt_sysroot:-no}" >&6; }
                   7149: 
                   7150: 
                   7151: 
                   7152: 
                   7153: 
                   7154: # Check whether --enable-libtool-lock was given.
                   7155: if test "${enable_libtool_lock+set}" = set; then :
                   7156:   enableval=$enable_libtool_lock;
                   7157: fi
                   7158: 
                   7159: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
                   7160: 
                   7161: # Some flags need to be propagated to the compiler or linker for good
                   7162: # libtool support.
                   7163: case $host in
                   7164: ia64-*-hpux*)
                   7165:   # Find out which ABI we are using.
                   7166:   echo 'int i;' > conftest.$ac_ext
                   7167:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   7168:   (eval $ac_compile) 2>&5
                   7169:   ac_status=$?
                   7170:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7171:   test $ac_status = 0; }; then
                   7172:     case `/usr/bin/file conftest.$ac_objext` in
                   7173:       *ELF-32*)
                   7174:        HPUX_IA64_MODE="32"
                   7175:        ;;
                   7176:       *ELF-64*)
                   7177:        HPUX_IA64_MODE="64"
                   7178:        ;;
                   7179:     esac
                   7180:   fi
                   7181:   rm -rf conftest*
                   7182:   ;;
                   7183: *-*-irix6*)
                   7184:   # Find out which ABI we are using.
                   7185:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
                   7186:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   7187:   (eval $ac_compile) 2>&5
                   7188:   ac_status=$?
                   7189:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7190:   test $ac_status = 0; }; then
                   7191:     if test "$lt_cv_prog_gnu_ld" = yes; then
                   7192:       case `/usr/bin/file conftest.$ac_objext` in
                   7193:        *32-bit*)
                   7194:          LD="${LD-ld} -melf32bsmip"
                   7195:          ;;
                   7196:        *N32*)
                   7197:          LD="${LD-ld} -melf32bmipn32"
                   7198:          ;;
                   7199:        *64-bit*)
                   7200:          LD="${LD-ld} -melf64bmip"
                   7201:        ;;
                   7202:       esac
                   7203:     else
                   7204:       case `/usr/bin/file conftest.$ac_objext` in
                   7205:        *32-bit*)
                   7206:          LD="${LD-ld} -32"
                   7207:          ;;
                   7208:        *N32*)
                   7209:          LD="${LD-ld} -n32"
                   7210:          ;;
                   7211:        *64-bit*)
                   7212:          LD="${LD-ld} -64"
                   7213:          ;;
                   7214:       esac
                   7215:     fi
                   7216:   fi
                   7217:   rm -rf conftest*
                   7218:   ;;
                   7219: 
                   7220: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
                   7221: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
                   7222:   # Find out which ABI we are using.
                   7223:   echo 'int i;' > conftest.$ac_ext
                   7224:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   7225:   (eval $ac_compile) 2>&5
                   7226:   ac_status=$?
                   7227:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7228:   test $ac_status = 0; }; then
                   7229:     case `/usr/bin/file conftest.o` in
                   7230:       *32-bit*)
                   7231:        case $host in
                   7232:          x86_64-*kfreebsd*-gnu)
                   7233:            LD="${LD-ld} -m elf_i386_fbsd"
                   7234:            ;;
                   7235:          x86_64-*linux*)
                   7236:            LD="${LD-ld} -m elf_i386"
                   7237:            ;;
                   7238:          ppc64-*linux*|powerpc64-*linux*)
                   7239:            LD="${LD-ld} -m elf32ppclinux"
                   7240:            ;;
                   7241:          s390x-*linux*)
                   7242:            LD="${LD-ld} -m elf_s390"
                   7243:            ;;
                   7244:          sparc64-*linux*)
                   7245:            LD="${LD-ld} -m elf32_sparc"
                   7246:            ;;
                   7247:        esac
                   7248:        ;;
                   7249:       *64-bit*)
                   7250:        case $host in
                   7251:          x86_64-*kfreebsd*-gnu)
                   7252:            LD="${LD-ld} -m elf_x86_64_fbsd"
                   7253:            ;;
                   7254:          x86_64-*linux*)
                   7255:            LD="${LD-ld} -m elf_x86_64"
                   7256:            ;;
                   7257:          ppc*-*linux*|powerpc*-*linux*)
                   7258:            LD="${LD-ld} -m elf64ppc"
                   7259:            ;;
                   7260:          s390*-*linux*|s390*-*tpf*)
                   7261:            LD="${LD-ld} -m elf64_s390"
                   7262:            ;;
                   7263:          sparc*-*linux*)
                   7264:            LD="${LD-ld} -m elf64_sparc"
                   7265:            ;;
                   7266:        esac
                   7267:        ;;
                   7268:     esac
                   7269:   fi
                   7270:   rm -rf conftest*
                   7271:   ;;
                   7272: 
                   7273: *-*-sco3.2v5*)
                   7274:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
                   7275:   SAVE_CFLAGS="$CFLAGS"
                   7276:   CFLAGS="$CFLAGS -belf"
                   7277:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
                   7278: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
                   7279: if ${lt_cv_cc_needs_belf+:} false; then :
                   7280:   $as_echo_n "(cached) " >&6
                   7281: else
                   7282:   ac_ext=c
                   7283: ac_cpp='$CPP $CPPFLAGS'
                   7284: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7285: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7286: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7287: 
                   7288:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7289: /* end confdefs.h.  */
                   7290: 
                   7291: int
                   7292: main ()
                   7293: {
                   7294: 
                   7295:   ;
                   7296:   return 0;
                   7297: }
                   7298: _ACEOF
                   7299: if ac_fn_c_try_link "$LINENO"; then :
                   7300:   lt_cv_cc_needs_belf=yes
                   7301: else
                   7302:   lt_cv_cc_needs_belf=no
                   7303: fi
                   7304: rm -f core conftest.err conftest.$ac_objext \
                   7305:     conftest$ac_exeext conftest.$ac_ext
                   7306:      ac_ext=c
                   7307: ac_cpp='$CPP $CPPFLAGS'
                   7308: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7309: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7310: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7311: 
                   7312: fi
                   7313: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
                   7314: $as_echo "$lt_cv_cc_needs_belf" >&6; }
                   7315:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
                   7316:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
                   7317:     CFLAGS="$SAVE_CFLAGS"
                   7318:   fi
                   7319:   ;;
1.1.1.2 ! misho    7320: *-*solaris*)
1.1       misho    7321:   # Find out which ABI we are using.
                   7322:   echo 'int i;' > conftest.$ac_ext
                   7323:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   7324:   (eval $ac_compile) 2>&5
                   7325:   ac_status=$?
                   7326:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   7327:   test $ac_status = 0; }; then
                   7328:     case `/usr/bin/file conftest.o` in
                   7329:     *64-bit*)
                   7330:       case $lt_cv_prog_gnu_ld in
1.1.1.2 ! misho    7331:       yes*)
        !          7332:         case $host in
        !          7333:         i?86-*-solaris*)
        !          7334:           LD="${LD-ld} -m elf_x86_64"
        !          7335:           ;;
        !          7336:         sparc*-*-solaris*)
        !          7337:           LD="${LD-ld} -m elf64_sparc"
        !          7338:           ;;
        !          7339:         esac
        !          7340:         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
        !          7341:         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
        !          7342:           LD="${LD-ld}_sol2"
        !          7343:         fi
        !          7344:         ;;
1.1       misho    7345:       *)
                   7346:        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
                   7347:          LD="${LD-ld} -64"
                   7348:        fi
                   7349:        ;;
                   7350:       esac
                   7351:       ;;
                   7352:     esac
                   7353:   fi
                   7354:   rm -rf conftest*
                   7355:   ;;
                   7356: esac
                   7357: 
                   7358: need_locks="$enable_libtool_lock"
                   7359: 
                   7360: if test -n "$ac_tool_prefix"; then
                   7361:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
                   7362: set dummy ${ac_tool_prefix}mt; ac_word=$2
                   7363: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7364: $as_echo_n "checking for $ac_word... " >&6; }
                   7365: if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
                   7366:   $as_echo_n "(cached) " >&6
                   7367: else
                   7368:   if test -n "$MANIFEST_TOOL"; then
                   7369:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
                   7370: else
                   7371: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7372: for as_dir in $PATH
                   7373: do
                   7374:   IFS=$as_save_IFS
                   7375:   test -z "$as_dir" && as_dir=.
                   7376:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7377:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   7378:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
                   7379:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7380:     break 2
                   7381:   fi
                   7382: done
                   7383:   done
                   7384: IFS=$as_save_IFS
                   7385: 
                   7386: fi
                   7387: fi
                   7388: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
                   7389: if test -n "$MANIFEST_TOOL"; then
                   7390:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
                   7391: $as_echo "$MANIFEST_TOOL" >&6; }
                   7392: else
                   7393:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7394: $as_echo "no" >&6; }
                   7395: fi
                   7396: 
                   7397: 
                   7398: fi
                   7399: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
                   7400:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
                   7401:   # Extract the first word of "mt", so it can be a program name with args.
                   7402: set dummy mt; ac_word=$2
                   7403: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7404: $as_echo_n "checking for $ac_word... " >&6; }
                   7405: if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
                   7406:   $as_echo_n "(cached) " >&6
                   7407: else
                   7408:   if test -n "$ac_ct_MANIFEST_TOOL"; then
                   7409:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
                   7410: else
                   7411: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7412: for as_dir in $PATH
                   7413: do
                   7414:   IFS=$as_save_IFS
                   7415:   test -z "$as_dir" && as_dir=.
                   7416:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7417:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   7418:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
                   7419:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7420:     break 2
                   7421:   fi
                   7422: done
                   7423:   done
                   7424: IFS=$as_save_IFS
                   7425: 
                   7426: fi
                   7427: fi
                   7428: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
                   7429: if test -n "$ac_ct_MANIFEST_TOOL"; then
                   7430:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
                   7431: $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
                   7432: else
                   7433:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7434: $as_echo "no" >&6; }
                   7435: fi
                   7436: 
                   7437:   if test "x$ac_ct_MANIFEST_TOOL" = x; then
                   7438:     MANIFEST_TOOL=":"
                   7439:   else
                   7440:     case $cross_compiling:$ac_tool_warned in
                   7441: yes:)
                   7442: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7443: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7444: ac_tool_warned=yes ;;
                   7445: esac
                   7446:     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
                   7447:   fi
                   7448: else
                   7449:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
                   7450: fi
                   7451: 
                   7452: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
                   7453: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
                   7454: $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
                   7455: if ${lt_cv_path_mainfest_tool+:} false; then :
                   7456:   $as_echo_n "(cached) " >&6
                   7457: else
                   7458:   lt_cv_path_mainfest_tool=no
                   7459:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
                   7460:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
                   7461:   cat conftest.err >&5
                   7462:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
                   7463:     lt_cv_path_mainfest_tool=yes
                   7464:   fi
                   7465:   rm -f conftest*
                   7466: fi
                   7467: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
                   7468: $as_echo "$lt_cv_path_mainfest_tool" >&6; }
                   7469: if test "x$lt_cv_path_mainfest_tool" != xyes; then
                   7470:   MANIFEST_TOOL=:
                   7471: fi
                   7472: 
                   7473: 
                   7474: 
                   7475: 
                   7476: 
                   7477: 
                   7478:   case $host_os in
                   7479:     rhapsody* | darwin*)
                   7480:     if test -n "$ac_tool_prefix"; then
                   7481:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
                   7482: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
                   7483: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7484: $as_echo_n "checking for $ac_word... " >&6; }
                   7485: if ${ac_cv_prog_DSYMUTIL+:} false; then :
                   7486:   $as_echo_n "(cached) " >&6
                   7487: else
                   7488:   if test -n "$DSYMUTIL"; then
                   7489:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
                   7490: else
                   7491: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7492: for as_dir in $PATH
                   7493: do
                   7494:   IFS=$as_save_IFS
                   7495:   test -z "$as_dir" && as_dir=.
                   7496:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7497:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   7498:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
                   7499:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7500:     break 2
                   7501:   fi
                   7502: done
                   7503:   done
                   7504: IFS=$as_save_IFS
                   7505: 
                   7506: fi
                   7507: fi
                   7508: DSYMUTIL=$ac_cv_prog_DSYMUTIL
                   7509: if test -n "$DSYMUTIL"; then
                   7510:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
                   7511: $as_echo "$DSYMUTIL" >&6; }
                   7512: else
                   7513:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7514: $as_echo "no" >&6; }
                   7515: fi
                   7516: 
                   7517: 
                   7518: fi
                   7519: if test -z "$ac_cv_prog_DSYMUTIL"; then
                   7520:   ac_ct_DSYMUTIL=$DSYMUTIL
                   7521:   # Extract the first word of "dsymutil", so it can be a program name with args.
                   7522: set dummy dsymutil; ac_word=$2
                   7523: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7524: $as_echo_n "checking for $ac_word... " >&6; }
                   7525: if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
                   7526:   $as_echo_n "(cached) " >&6
                   7527: else
                   7528:   if test -n "$ac_ct_DSYMUTIL"; then
                   7529:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
                   7530: else
                   7531: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7532: for as_dir in $PATH
                   7533: do
                   7534:   IFS=$as_save_IFS
                   7535:   test -z "$as_dir" && as_dir=.
                   7536:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7537:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   7538:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
                   7539:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7540:     break 2
                   7541:   fi
                   7542: done
                   7543:   done
                   7544: IFS=$as_save_IFS
                   7545: 
                   7546: fi
                   7547: fi
                   7548: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
                   7549: if test -n "$ac_ct_DSYMUTIL"; then
                   7550:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
                   7551: $as_echo "$ac_ct_DSYMUTIL" >&6; }
                   7552: else
                   7553:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7554: $as_echo "no" >&6; }
                   7555: fi
                   7556: 
                   7557:   if test "x$ac_ct_DSYMUTIL" = x; then
                   7558:     DSYMUTIL=":"
                   7559:   else
                   7560:     case $cross_compiling:$ac_tool_warned in
                   7561: yes:)
                   7562: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7563: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7564: ac_tool_warned=yes ;;
                   7565: esac
                   7566:     DSYMUTIL=$ac_ct_DSYMUTIL
                   7567:   fi
                   7568: else
                   7569:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
                   7570: fi
                   7571: 
                   7572:     if test -n "$ac_tool_prefix"; then
                   7573:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
                   7574: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
                   7575: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7576: $as_echo_n "checking for $ac_word... " >&6; }
                   7577: if ${ac_cv_prog_NMEDIT+:} false; then :
                   7578:   $as_echo_n "(cached) " >&6
                   7579: else
                   7580:   if test -n "$NMEDIT"; then
                   7581:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
                   7582: else
                   7583: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7584: for as_dir in $PATH
                   7585: do
                   7586:   IFS=$as_save_IFS
                   7587:   test -z "$as_dir" && as_dir=.
                   7588:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7589:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   7590:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
                   7591:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7592:     break 2
                   7593:   fi
                   7594: done
                   7595:   done
                   7596: IFS=$as_save_IFS
                   7597: 
                   7598: fi
                   7599: fi
                   7600: NMEDIT=$ac_cv_prog_NMEDIT
                   7601: if test -n "$NMEDIT"; then
                   7602:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
                   7603: $as_echo "$NMEDIT" >&6; }
                   7604: else
                   7605:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7606: $as_echo "no" >&6; }
                   7607: fi
                   7608: 
                   7609: 
                   7610: fi
                   7611: if test -z "$ac_cv_prog_NMEDIT"; then
                   7612:   ac_ct_NMEDIT=$NMEDIT
                   7613:   # Extract the first word of "nmedit", so it can be a program name with args.
                   7614: set dummy nmedit; ac_word=$2
                   7615: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7616: $as_echo_n "checking for $ac_word... " >&6; }
                   7617: if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
                   7618:   $as_echo_n "(cached) " >&6
                   7619: else
                   7620:   if test -n "$ac_ct_NMEDIT"; then
                   7621:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
                   7622: else
                   7623: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7624: for as_dir in $PATH
                   7625: do
                   7626:   IFS=$as_save_IFS
                   7627:   test -z "$as_dir" && as_dir=.
                   7628:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7629:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   7630:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
                   7631:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7632:     break 2
                   7633:   fi
                   7634: done
                   7635:   done
                   7636: IFS=$as_save_IFS
                   7637: 
                   7638: fi
                   7639: fi
                   7640: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
                   7641: if test -n "$ac_ct_NMEDIT"; then
                   7642:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
                   7643: $as_echo "$ac_ct_NMEDIT" >&6; }
                   7644: else
                   7645:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7646: $as_echo "no" >&6; }
                   7647: fi
                   7648: 
                   7649:   if test "x$ac_ct_NMEDIT" = x; then
                   7650:     NMEDIT=":"
                   7651:   else
                   7652:     case $cross_compiling:$ac_tool_warned in
                   7653: yes:)
                   7654: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7655: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7656: ac_tool_warned=yes ;;
                   7657: esac
                   7658:     NMEDIT=$ac_ct_NMEDIT
                   7659:   fi
                   7660: else
                   7661:   NMEDIT="$ac_cv_prog_NMEDIT"
                   7662: fi
                   7663: 
                   7664:     if test -n "$ac_tool_prefix"; then
                   7665:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
                   7666: set dummy ${ac_tool_prefix}lipo; ac_word=$2
                   7667: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7668: $as_echo_n "checking for $ac_word... " >&6; }
                   7669: if ${ac_cv_prog_LIPO+:} false; then :
                   7670:   $as_echo_n "(cached) " >&6
                   7671: else
                   7672:   if test -n "$LIPO"; then
                   7673:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
                   7674: else
                   7675: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7676: for as_dir in $PATH
                   7677: do
                   7678:   IFS=$as_save_IFS
                   7679:   test -z "$as_dir" && as_dir=.
                   7680:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7681:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   7682:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
                   7683:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7684:     break 2
                   7685:   fi
                   7686: done
                   7687:   done
                   7688: IFS=$as_save_IFS
                   7689: 
                   7690: fi
                   7691: fi
                   7692: LIPO=$ac_cv_prog_LIPO
                   7693: if test -n "$LIPO"; then
                   7694:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
                   7695: $as_echo "$LIPO" >&6; }
                   7696: else
                   7697:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7698: $as_echo "no" >&6; }
                   7699: fi
                   7700: 
                   7701: 
                   7702: fi
                   7703: if test -z "$ac_cv_prog_LIPO"; then
                   7704:   ac_ct_LIPO=$LIPO
                   7705:   # Extract the first word of "lipo", so it can be a program name with args.
                   7706: set dummy lipo; ac_word=$2
                   7707: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7708: $as_echo_n "checking for $ac_word... " >&6; }
                   7709: if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
                   7710:   $as_echo_n "(cached) " >&6
                   7711: else
                   7712:   if test -n "$ac_ct_LIPO"; then
                   7713:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
                   7714: else
                   7715: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7716: for as_dir in $PATH
                   7717: do
                   7718:   IFS=$as_save_IFS
                   7719:   test -z "$as_dir" && as_dir=.
                   7720:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7721:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   7722:     ac_cv_prog_ac_ct_LIPO="lipo"
                   7723:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7724:     break 2
                   7725:   fi
                   7726: done
                   7727:   done
                   7728: IFS=$as_save_IFS
                   7729: 
                   7730: fi
                   7731: fi
                   7732: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
                   7733: if test -n "$ac_ct_LIPO"; then
                   7734:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
                   7735: $as_echo "$ac_ct_LIPO" >&6; }
                   7736: else
                   7737:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7738: $as_echo "no" >&6; }
                   7739: fi
                   7740: 
                   7741:   if test "x$ac_ct_LIPO" = x; then
                   7742:     LIPO=":"
                   7743:   else
                   7744:     case $cross_compiling:$ac_tool_warned in
                   7745: yes:)
                   7746: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7747: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7748: ac_tool_warned=yes ;;
                   7749: esac
                   7750:     LIPO=$ac_ct_LIPO
                   7751:   fi
                   7752: else
                   7753:   LIPO="$ac_cv_prog_LIPO"
                   7754: fi
                   7755: 
                   7756:     if test -n "$ac_tool_prefix"; then
                   7757:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
                   7758: set dummy ${ac_tool_prefix}otool; ac_word=$2
                   7759: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7760: $as_echo_n "checking for $ac_word... " >&6; }
                   7761: if ${ac_cv_prog_OTOOL+:} false; then :
                   7762:   $as_echo_n "(cached) " >&6
                   7763: else
                   7764:   if test -n "$OTOOL"; then
                   7765:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
                   7766: else
                   7767: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7768: for as_dir in $PATH
                   7769: do
                   7770:   IFS=$as_save_IFS
                   7771:   test -z "$as_dir" && as_dir=.
                   7772:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7773:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   7774:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
                   7775:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7776:     break 2
                   7777:   fi
                   7778: done
                   7779:   done
                   7780: IFS=$as_save_IFS
                   7781: 
                   7782: fi
                   7783: fi
                   7784: OTOOL=$ac_cv_prog_OTOOL
                   7785: if test -n "$OTOOL"; then
                   7786:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
                   7787: $as_echo "$OTOOL" >&6; }
                   7788: else
                   7789:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7790: $as_echo "no" >&6; }
                   7791: fi
                   7792: 
                   7793: 
                   7794: fi
                   7795: if test -z "$ac_cv_prog_OTOOL"; then
                   7796:   ac_ct_OTOOL=$OTOOL
                   7797:   # Extract the first word of "otool", so it can be a program name with args.
                   7798: set dummy otool; ac_word=$2
                   7799: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7800: $as_echo_n "checking for $ac_word... " >&6; }
                   7801: if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
                   7802:   $as_echo_n "(cached) " >&6
                   7803: else
                   7804:   if test -n "$ac_ct_OTOOL"; then
                   7805:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
                   7806: else
                   7807: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7808: for as_dir in $PATH
                   7809: do
                   7810:   IFS=$as_save_IFS
                   7811:   test -z "$as_dir" && as_dir=.
                   7812:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7813:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   7814:     ac_cv_prog_ac_ct_OTOOL="otool"
                   7815:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7816:     break 2
                   7817:   fi
                   7818: done
                   7819:   done
                   7820: IFS=$as_save_IFS
                   7821: 
                   7822: fi
                   7823: fi
                   7824: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
                   7825: if test -n "$ac_ct_OTOOL"; then
                   7826:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
                   7827: $as_echo "$ac_ct_OTOOL" >&6; }
                   7828: else
                   7829:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7830: $as_echo "no" >&6; }
                   7831: fi
                   7832: 
                   7833:   if test "x$ac_ct_OTOOL" = x; then
                   7834:     OTOOL=":"
                   7835:   else
                   7836:     case $cross_compiling:$ac_tool_warned in
                   7837: yes:)
                   7838: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7839: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7840: ac_tool_warned=yes ;;
                   7841: esac
                   7842:     OTOOL=$ac_ct_OTOOL
                   7843:   fi
                   7844: else
                   7845:   OTOOL="$ac_cv_prog_OTOOL"
                   7846: fi
                   7847: 
                   7848:     if test -n "$ac_tool_prefix"; then
                   7849:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
                   7850: set dummy ${ac_tool_prefix}otool64; ac_word=$2
                   7851: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7852: $as_echo_n "checking for $ac_word... " >&6; }
                   7853: if ${ac_cv_prog_OTOOL64+:} false; then :
                   7854:   $as_echo_n "(cached) " >&6
                   7855: else
                   7856:   if test -n "$OTOOL64"; then
                   7857:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
                   7858: else
                   7859: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7860: for as_dir in $PATH
                   7861: do
                   7862:   IFS=$as_save_IFS
                   7863:   test -z "$as_dir" && as_dir=.
                   7864:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7865:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   7866:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
                   7867:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7868:     break 2
                   7869:   fi
                   7870: done
                   7871:   done
                   7872: IFS=$as_save_IFS
                   7873: 
                   7874: fi
                   7875: fi
                   7876: OTOOL64=$ac_cv_prog_OTOOL64
                   7877: if test -n "$OTOOL64"; then
                   7878:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
                   7879: $as_echo "$OTOOL64" >&6; }
                   7880: else
                   7881:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7882: $as_echo "no" >&6; }
                   7883: fi
                   7884: 
                   7885: 
                   7886: fi
                   7887: if test -z "$ac_cv_prog_OTOOL64"; then
                   7888:   ac_ct_OTOOL64=$OTOOL64
                   7889:   # Extract the first word of "otool64", so it can be a program name with args.
                   7890: set dummy otool64; ac_word=$2
                   7891: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7892: $as_echo_n "checking for $ac_word... " >&6; }
                   7893: if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
                   7894:   $as_echo_n "(cached) " >&6
                   7895: else
                   7896:   if test -n "$ac_ct_OTOOL64"; then
                   7897:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
                   7898: else
                   7899: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7900: for as_dir in $PATH
                   7901: do
                   7902:   IFS=$as_save_IFS
                   7903:   test -z "$as_dir" && as_dir=.
                   7904:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7905:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   7906:     ac_cv_prog_ac_ct_OTOOL64="otool64"
                   7907:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7908:     break 2
                   7909:   fi
                   7910: done
                   7911:   done
                   7912: IFS=$as_save_IFS
                   7913: 
                   7914: fi
                   7915: fi
                   7916: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
                   7917: if test -n "$ac_ct_OTOOL64"; then
                   7918:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
                   7919: $as_echo "$ac_ct_OTOOL64" >&6; }
                   7920: else
                   7921:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7922: $as_echo "no" >&6; }
                   7923: fi
                   7924: 
                   7925:   if test "x$ac_ct_OTOOL64" = x; then
                   7926:     OTOOL64=":"
                   7927:   else
                   7928:     case $cross_compiling:$ac_tool_warned in
                   7929: yes:)
                   7930: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7931: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7932: ac_tool_warned=yes ;;
                   7933: esac
                   7934:     OTOOL64=$ac_ct_OTOOL64
                   7935:   fi
                   7936: else
                   7937:   OTOOL64="$ac_cv_prog_OTOOL64"
                   7938: fi
                   7939: 
                   7940: 
                   7941: 
                   7942: 
                   7943: 
                   7944: 
                   7945: 
                   7946: 
                   7947: 
                   7948: 
                   7949: 
                   7950: 
                   7951: 
                   7952: 
                   7953: 
                   7954: 
                   7955: 
                   7956: 
                   7957: 
                   7958: 
                   7959: 
                   7960: 
                   7961: 
                   7962: 
                   7963: 
                   7964: 
                   7965: 
                   7966:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
                   7967: $as_echo_n "checking for -single_module linker flag... " >&6; }
                   7968: if ${lt_cv_apple_cc_single_mod+:} false; then :
                   7969:   $as_echo_n "(cached) " >&6
                   7970: else
                   7971:   lt_cv_apple_cc_single_mod=no
                   7972:       if test -z "${LT_MULTI_MODULE}"; then
                   7973:        # By default we will add the -single_module flag. You can override
                   7974:        # by either setting the environment variable LT_MULTI_MODULE
                   7975:        # non-empty at configure time, or by adding -multi_module to the
                   7976:        # link flags.
                   7977:        rm -rf libconftest.dylib*
                   7978:        echo "int foo(void){return 1;}" > conftest.c
                   7979:        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   7980: -dynamiclib -Wl,-single_module conftest.c" >&5
                   7981:        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   7982:          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
                   7983:         _lt_result=$?
1.1.1.2 ! misho    7984:        # If there is a non-empty error log, and "single_module"
        !          7985:        # appears in it, assume the flag caused a linker warning
        !          7986:         if test -s conftest.err && $GREP single_module conftest.err; then
        !          7987:          cat conftest.err >&5
        !          7988:        # Otherwise, if the output was created with a 0 exit code from
        !          7989:        # the compiler, it worked.
        !          7990:        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
1.1       misho    7991:          lt_cv_apple_cc_single_mod=yes
                   7992:        else
                   7993:          cat conftest.err >&5
                   7994:        fi
                   7995:        rm -rf libconftest.dylib*
                   7996:        rm -f conftest.*
                   7997:       fi
                   7998: fi
                   7999: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
                   8000: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
1.1.1.2 ! misho    8001: 
1.1       misho    8002:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
                   8003: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
                   8004: if ${lt_cv_ld_exported_symbols_list+:} false; then :
                   8005:   $as_echo_n "(cached) " >&6
                   8006: else
                   8007:   lt_cv_ld_exported_symbols_list=no
                   8008:       save_LDFLAGS=$LDFLAGS
                   8009:       echo "_main" > conftest.sym
                   8010:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
                   8011:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   8012: /* end confdefs.h.  */
                   8013: 
                   8014: int
                   8015: main ()
                   8016: {
                   8017: 
                   8018:   ;
                   8019:   return 0;
                   8020: }
                   8021: _ACEOF
                   8022: if ac_fn_c_try_link "$LINENO"; then :
                   8023:   lt_cv_ld_exported_symbols_list=yes
                   8024: else
                   8025:   lt_cv_ld_exported_symbols_list=no
                   8026: fi
                   8027: rm -f core conftest.err conftest.$ac_objext \
                   8028:     conftest$ac_exeext conftest.$ac_ext
                   8029:        LDFLAGS="$save_LDFLAGS"
                   8030: 
                   8031: fi
                   8032: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
                   8033: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
1.1.1.2 ! misho    8034: 
1.1       misho    8035:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
                   8036: $as_echo_n "checking for -force_load linker flag... " >&6; }
                   8037: if ${lt_cv_ld_force_load+:} false; then :
                   8038:   $as_echo_n "(cached) " >&6
                   8039: else
                   8040:   lt_cv_ld_force_load=no
                   8041:       cat > conftest.c << _LT_EOF
                   8042: int forced_loaded() { return 2;}
                   8043: _LT_EOF
                   8044:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
                   8045:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
                   8046:       echo "$AR cru libconftest.a conftest.o" >&5
                   8047:       $AR cru libconftest.a conftest.o 2>&5
                   8048:       echo "$RANLIB libconftest.a" >&5
                   8049:       $RANLIB libconftest.a 2>&5
                   8050:       cat > conftest.c << _LT_EOF
                   8051: int main() { return 0;}
                   8052: _LT_EOF
                   8053:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
                   8054:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
                   8055:       _lt_result=$?
1.1.1.2 ! misho    8056:       if test -s conftest.err && $GREP force_load conftest.err; then
        !          8057:        cat conftest.err >&5
        !          8058:       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
1.1       misho    8059:        lt_cv_ld_force_load=yes
                   8060:       else
                   8061:        cat conftest.err >&5
                   8062:       fi
                   8063:         rm -f conftest.err libconftest.a conftest conftest.c
                   8064:         rm -rf conftest.dSYM
                   8065: 
                   8066: fi
                   8067: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
                   8068: $as_echo "$lt_cv_ld_force_load" >&6; }
                   8069:     case $host_os in
                   8070:     rhapsody* | darwin1.[012])
                   8071:       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
                   8072:     darwin1.*)
                   8073:       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   8074:     darwin*) # darwin 5.x on
                   8075:       # if running on 10.5 or later, the deployment target defaults
                   8076:       # to the OS version, if on x86, and 10.4, the deployment
                   8077:       # target defaults to 10.4. Don't you love it?
                   8078:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
                   8079:        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
                   8080:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   8081:        10.[012]*)
                   8082:          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   8083:        10.*)
                   8084:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   8085:       esac
                   8086:     ;;
                   8087:   esac
                   8088:     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
                   8089:       _lt_dar_single_mod='$single_module'
                   8090:     fi
                   8091:     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
                   8092:       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
                   8093:     else
                   8094:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
                   8095:     fi
                   8096:     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
                   8097:       _lt_dsymutil='~$DSYMUTIL $lib || :'
                   8098:     else
                   8099:       _lt_dsymutil=
                   8100:     fi
                   8101:     ;;
                   8102:   esac
                   8103: 
                   8104: for ac_header in dlfcn.h
                   8105: do :
                   8106:   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
                   8107: "
                   8108: if test "x$ac_cv_header_dlfcn_h" = xyes; then :
                   8109:   cat >>confdefs.h <<_ACEOF
                   8110: #define HAVE_DLFCN_H 1
                   8111: _ACEOF
                   8112: 
                   8113: fi
                   8114: 
                   8115: done
                   8116: 
                   8117: 
                   8118: 
                   8119: 
                   8120: 
                   8121: # Set options
                   8122: 
                   8123: 
                   8124: 
                   8125:         enable_dlopen=no
                   8126: 
                   8127: 
                   8128:   enable_win32_dll=no
                   8129: 
                   8130: 
                   8131:             # Check whether --enable-shared was given.
                   8132: if test "${enable_shared+set}" = set; then :
                   8133:   enableval=$enable_shared; p=${PACKAGE-default}
                   8134:     case $enableval in
                   8135:     yes) enable_shared=yes ;;
                   8136:     no) enable_shared=no ;;
                   8137:     *)
                   8138:       enable_shared=no
                   8139:       # Look at the argument we got.  We use all the common list separators.
                   8140:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8141:       for pkg in $enableval; do
                   8142:        IFS="$lt_save_ifs"
                   8143:        if test "X$pkg" = "X$p"; then
                   8144:          enable_shared=yes
                   8145:        fi
                   8146:       done
                   8147:       IFS="$lt_save_ifs"
                   8148:       ;;
                   8149:     esac
                   8150: else
                   8151:   enable_shared=yes
                   8152: fi
                   8153: 
                   8154: 
                   8155: 
                   8156: 
                   8157: 
                   8158: 
                   8159: 
                   8160: 
                   8161: 
                   8162:   # Check whether --enable-static was given.
                   8163: if test "${enable_static+set}" = set; then :
                   8164:   enableval=$enable_static; p=${PACKAGE-default}
                   8165:     case $enableval in
                   8166:     yes) enable_static=yes ;;
                   8167:     no) enable_static=no ;;
                   8168:     *)
                   8169:      enable_static=no
                   8170:       # Look at the argument we got.  We use all the common list separators.
                   8171:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8172:       for pkg in $enableval; do
                   8173:        IFS="$lt_save_ifs"
                   8174:        if test "X$pkg" = "X$p"; then
                   8175:          enable_static=yes
                   8176:        fi
                   8177:       done
                   8178:       IFS="$lt_save_ifs"
                   8179:       ;;
                   8180:     esac
                   8181: else
                   8182:   enable_static=yes
                   8183: fi
                   8184: 
                   8185: 
                   8186: 
                   8187: 
                   8188: 
                   8189: 
                   8190: 
                   8191: 
                   8192: 
                   8193: 
                   8194: # Check whether --with-pic was given.
                   8195: if test "${with_pic+set}" = set; then :
1.1.1.2 ! misho    8196:   withval=$with_pic; lt_p=${PACKAGE-default}
        !          8197:     case $withval in
        !          8198:     yes|no) pic_mode=$withval ;;
        !          8199:     *)
        !          8200:       pic_mode=default
        !          8201:       # Look at the argument we got.  We use all the common list separators.
        !          8202:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
        !          8203:       for lt_pkg in $withval; do
        !          8204:        IFS="$lt_save_ifs"
        !          8205:        if test "X$lt_pkg" = "X$lt_p"; then
        !          8206:          pic_mode=yes
        !          8207:        fi
        !          8208:       done
        !          8209:       IFS="$lt_save_ifs"
        !          8210:       ;;
        !          8211:     esac
1.1       misho    8212: else
                   8213:   pic_mode=default
                   8214: fi
                   8215: 
                   8216: 
                   8217: test -z "$pic_mode" && pic_mode=default
                   8218: 
                   8219: 
                   8220: 
                   8221: 
                   8222: 
                   8223: 
                   8224: 
                   8225:   # Check whether --enable-fast-install was given.
                   8226: if test "${enable_fast_install+set}" = set; then :
                   8227:   enableval=$enable_fast_install; p=${PACKAGE-default}
                   8228:     case $enableval in
                   8229:     yes) enable_fast_install=yes ;;
                   8230:     no) enable_fast_install=no ;;
                   8231:     *)
                   8232:       enable_fast_install=no
                   8233:       # Look at the argument we got.  We use all the common list separators.
                   8234:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   8235:       for pkg in $enableval; do
                   8236:        IFS="$lt_save_ifs"
                   8237:        if test "X$pkg" = "X$p"; then
                   8238:          enable_fast_install=yes
                   8239:        fi
                   8240:       done
                   8241:       IFS="$lt_save_ifs"
                   8242:       ;;
                   8243:     esac
                   8244: else
                   8245:   enable_fast_install=yes
                   8246: fi
                   8247: 
                   8248: 
                   8249: 
                   8250: 
                   8251: 
                   8252: 
                   8253: 
                   8254: 
                   8255: 
                   8256: 
                   8257: 
                   8258: # This can be used to rebuild libtool when needed
                   8259: LIBTOOL_DEPS="$ltmain"
                   8260: 
                   8261: # Always use our own libtool.
                   8262: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
                   8263: 
                   8264: 
                   8265: 
                   8266: 
                   8267: 
                   8268: 
                   8269: 
                   8270: 
                   8271: 
                   8272: 
                   8273: 
                   8274: 
                   8275: 
                   8276: 
                   8277: 
                   8278: 
                   8279: 
                   8280: 
                   8281: 
                   8282: 
                   8283: 
                   8284: 
                   8285: 
                   8286: 
                   8287: 
                   8288: 
1.1.1.2 ! misho    8289: 
        !          8290: 
        !          8291: 
        !          8292: 
1.1       misho    8293: test -z "$LN_S" && LN_S="ln -s"
                   8294: 
                   8295: 
                   8296: 
                   8297: 
                   8298: 
                   8299: 
                   8300: 
                   8301: 
                   8302: 
                   8303: 
                   8304: 
                   8305: 
                   8306: 
                   8307: 
                   8308: if test -n "${ZSH_VERSION+set}" ; then
                   8309:    setopt NO_GLOB_SUBST
                   8310: fi
                   8311: 
                   8312: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
                   8313: $as_echo_n "checking for objdir... " >&6; }
                   8314: if ${lt_cv_objdir+:} false; then :
                   8315:   $as_echo_n "(cached) " >&6
                   8316: else
                   8317:   rm -f .libs 2>/dev/null
                   8318: mkdir .libs 2>/dev/null
                   8319: if test -d .libs; then
                   8320:   lt_cv_objdir=.libs
                   8321: else
                   8322:   # MS-DOS does not allow filenames that begin with a dot.
                   8323:   lt_cv_objdir=_libs
                   8324: fi
                   8325: rmdir .libs 2>/dev/null
                   8326: fi
                   8327: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
                   8328: $as_echo "$lt_cv_objdir" >&6; }
                   8329: objdir=$lt_cv_objdir
                   8330: 
                   8331: 
                   8332: 
                   8333: 
                   8334: 
                   8335: cat >>confdefs.h <<_ACEOF
                   8336: #define LT_OBJDIR "$lt_cv_objdir/"
                   8337: _ACEOF
                   8338: 
                   8339: 
                   8340: 
                   8341: 
                   8342: case $host_os in
                   8343: aix3*)
                   8344:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   8345:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   8346:   # vanish in a puff of smoke.
                   8347:   if test "X${COLLECT_NAMES+set}" != Xset; then
                   8348:     COLLECT_NAMES=
                   8349:     export COLLECT_NAMES
                   8350:   fi
                   8351:   ;;
                   8352: esac
                   8353: 
                   8354: # Global variables:
                   8355: ofile=libtool
                   8356: can_build_shared=yes
                   8357: 
                   8358: # All known linkers require a `.a' archive for static linking (except MSVC,
                   8359: # which needs '.lib').
                   8360: libext=a
                   8361: 
                   8362: with_gnu_ld="$lt_cv_prog_gnu_ld"
                   8363: 
                   8364: old_CC="$CC"
                   8365: old_CFLAGS="$CFLAGS"
                   8366: 
                   8367: # Set sane defaults for various variables
                   8368: test -z "$CC" && CC=cc
                   8369: test -z "$LTCC" && LTCC=$CC
                   8370: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
                   8371: test -z "$LD" && LD=ld
                   8372: test -z "$ac_objext" && ac_objext=o
                   8373: 
                   8374: for cc_temp in $compiler""; do
                   8375:   case $cc_temp in
                   8376:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   8377:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   8378:     \-*) ;;
                   8379:     *) break;;
                   8380:   esac
                   8381: done
                   8382: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   8383: 
                   8384: 
                   8385: # Only perform the check for file, if the check method requires it
                   8386: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   8387: case $deplibs_check_method in
                   8388: file_magic*)
                   8389:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
                   8390:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
                   8391: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
                   8392: if ${lt_cv_path_MAGIC_CMD+:} false; then :
                   8393:   $as_echo_n "(cached) " >&6
                   8394: else
                   8395:   case $MAGIC_CMD in
                   8396: [\\/*] |  ?:[\\/]*)
                   8397:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   8398:   ;;
                   8399: *)
                   8400:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   8401:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   8402:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   8403:   for ac_dir in $ac_dummy; do
                   8404:     IFS="$lt_save_ifs"
                   8405:     test -z "$ac_dir" && ac_dir=.
                   8406:     if test -f $ac_dir/${ac_tool_prefix}file; then
                   8407:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
                   8408:       if test -n "$file_magic_test_file"; then
                   8409:        case $deplibs_check_method in
                   8410:        "file_magic "*)
                   8411:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   8412:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   8413:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   8414:            $EGREP "$file_magic_regex" > /dev/null; then
                   8415:            :
                   8416:          else
                   8417:            cat <<_LT_EOF 1>&2
                   8418: 
                   8419: *** Warning: the command libtool uses to detect shared libraries,
                   8420: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   8421: *** The result is that libtool may fail to recognize shared libraries
                   8422: *** as such.  This will affect the creation of libtool libraries that
                   8423: *** depend on shared libraries, but programs linked with such libtool
                   8424: *** libraries will work regardless of this problem.  Nevertheless, you
                   8425: *** may want to report the problem to your system manager and/or to
                   8426: *** bug-libtool@gnu.org
                   8427: 
                   8428: _LT_EOF
                   8429:          fi ;;
                   8430:        esac
                   8431:       fi
                   8432:       break
                   8433:     fi
                   8434:   done
                   8435:   IFS="$lt_save_ifs"
                   8436:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   8437:   ;;
                   8438: esac
                   8439: fi
                   8440: 
                   8441: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   8442: if test -n "$MAGIC_CMD"; then
                   8443:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   8444: $as_echo "$MAGIC_CMD" >&6; }
                   8445: else
                   8446:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8447: $as_echo "no" >&6; }
                   8448: fi
                   8449: 
                   8450: 
                   8451: 
                   8452: 
                   8453: 
                   8454: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   8455:   if test -n "$ac_tool_prefix"; then
                   8456:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
                   8457: $as_echo_n "checking for file... " >&6; }
                   8458: if ${lt_cv_path_MAGIC_CMD+:} false; then :
                   8459:   $as_echo_n "(cached) " >&6
                   8460: else
                   8461:   case $MAGIC_CMD in
                   8462: [\\/*] |  ?:[\\/]*)
                   8463:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   8464:   ;;
                   8465: *)
                   8466:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   8467:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   8468:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   8469:   for ac_dir in $ac_dummy; do
                   8470:     IFS="$lt_save_ifs"
                   8471:     test -z "$ac_dir" && ac_dir=.
                   8472:     if test -f $ac_dir/file; then
                   8473:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
                   8474:       if test -n "$file_magic_test_file"; then
                   8475:        case $deplibs_check_method in
                   8476:        "file_magic "*)
                   8477:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   8478:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   8479:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   8480:            $EGREP "$file_magic_regex" > /dev/null; then
                   8481:            :
                   8482:          else
                   8483:            cat <<_LT_EOF 1>&2
                   8484: 
                   8485: *** Warning: the command libtool uses to detect shared libraries,
                   8486: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   8487: *** The result is that libtool may fail to recognize shared libraries
                   8488: *** as such.  This will affect the creation of libtool libraries that
                   8489: *** depend on shared libraries, but programs linked with such libtool
                   8490: *** libraries will work regardless of this problem.  Nevertheless, you
                   8491: *** may want to report the problem to your system manager and/or to
                   8492: *** bug-libtool@gnu.org
                   8493: 
                   8494: _LT_EOF
                   8495:          fi ;;
                   8496:        esac
                   8497:       fi
                   8498:       break
                   8499:     fi
                   8500:   done
                   8501:   IFS="$lt_save_ifs"
                   8502:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   8503:   ;;
                   8504: esac
                   8505: fi
                   8506: 
                   8507: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   8508: if test -n "$MAGIC_CMD"; then
                   8509:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   8510: $as_echo "$MAGIC_CMD" >&6; }
                   8511: else
                   8512:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   8513: $as_echo "no" >&6; }
                   8514: fi
                   8515: 
                   8516: 
                   8517:   else
                   8518:     MAGIC_CMD=:
                   8519:   fi
                   8520: fi
                   8521: 
                   8522:   fi
                   8523:   ;;
                   8524: esac
                   8525: 
                   8526: # Use C for the default configuration in the libtool script
                   8527: 
                   8528: lt_save_CC="$CC"
                   8529: ac_ext=c
                   8530: ac_cpp='$CPP $CPPFLAGS'
                   8531: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   8532: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   8533: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   8534: 
                   8535: 
                   8536: # Source file extension for C test sources.
                   8537: ac_ext=c
                   8538: 
                   8539: # Object file extension for compiled C test sources.
                   8540: objext=o
                   8541: objext=$objext
                   8542: 
                   8543: # Code to be used in simple compile tests
                   8544: lt_simple_compile_test_code="int some_variable = 0;"
                   8545: 
                   8546: # Code to be used in simple link tests
                   8547: lt_simple_link_test_code='int main(){return(0);}'
                   8548: 
                   8549: 
                   8550: 
                   8551: 
                   8552: 
                   8553: 
                   8554: 
                   8555: # If no C compiler was specified, use CC.
                   8556: LTCC=${LTCC-"$CC"}
                   8557: 
                   8558: # If no C compiler flags were specified, use CFLAGS.
                   8559: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   8560: 
                   8561: # Allow CC to be a program name with arguments.
                   8562: compiler=$CC
                   8563: 
                   8564: # Save the default compiler, since it gets overwritten when the other
                   8565: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
                   8566: compiler_DEFAULT=$CC
                   8567: 
                   8568: # save warnings/boilerplate of simple test code
                   8569: ac_outfile=conftest.$ac_objext
                   8570: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   8571: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   8572: _lt_compiler_boilerplate=`cat conftest.err`
                   8573: $RM conftest*
                   8574: 
                   8575: ac_outfile=conftest.$ac_objext
                   8576: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   8577: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   8578: _lt_linker_boilerplate=`cat conftest.err`
                   8579: $RM -r conftest*
                   8580: 
                   8581: 
1.1.1.2 ! misho    8582: ## CAVEAT EMPTOR:
        !          8583: ## There is no encapsulation within the following macros, do not change
        !          8584: ## the running order or otherwise move them around unless you know exactly
        !          8585: ## what you are doing...
1.1       misho    8586: if test -n "$compiler"; then
                   8587: 
                   8588: lt_prog_compiler_no_builtin_flag=
                   8589: 
                   8590: if test "$GCC" = yes; then
                   8591:   case $cc_basename in
                   8592:   nvcc*)
                   8593:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
                   8594:   *)
                   8595:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
                   8596:   esac
                   8597: 
                   8598:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
                   8599: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
                   8600: if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
                   8601:   $as_echo_n "(cached) " >&6
                   8602: else
                   8603:   lt_cv_prog_compiler_rtti_exceptions=no
                   8604:    ac_outfile=conftest.$ac_objext
                   8605:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8606:    lt_compiler_flag="-fno-rtti -fno-exceptions"
                   8607:    # Insert the option either (1) after the last *FLAGS variable, or
                   8608:    # (2) before a word containing "conftest.", or (3) at the end.
                   8609:    # Note that $ac_compile itself does not contain backslashes and begins
                   8610:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8611:    # The option is referenced via a variable to avoid confusing sed.
                   8612:    lt_compile=`echo "$ac_compile" | $SED \
                   8613:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8614:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8615:    -e 's:$: $lt_compiler_flag:'`
                   8616:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8617:    (eval "$lt_compile" 2>conftest.err)
                   8618:    ac_status=$?
                   8619:    cat conftest.err >&5
                   8620:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8621:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   8622:      # The compiler can only warn and ignore the option if not recognized
                   8623:      # So say no if there are warnings other than the usual output.
                   8624:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   8625:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8626:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   8627:        lt_cv_prog_compiler_rtti_exceptions=yes
                   8628:      fi
                   8629:    fi
                   8630:    $RM conftest*
                   8631: 
                   8632: fi
                   8633: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
                   8634: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
                   8635: 
                   8636: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
                   8637:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
                   8638: else
                   8639:     :
                   8640: fi
                   8641: 
                   8642: fi
                   8643: 
                   8644: 
                   8645: 
                   8646: 
                   8647: 
                   8648: 
                   8649:   lt_prog_compiler_wl=
                   8650: lt_prog_compiler_pic=
                   8651: lt_prog_compiler_static=
                   8652: 
                   8653: 
                   8654:   if test "$GCC" = yes; then
                   8655:     lt_prog_compiler_wl='-Wl,'
                   8656:     lt_prog_compiler_static='-static'
                   8657: 
                   8658:     case $host_os in
                   8659:       aix*)
                   8660:       # All AIX code is PIC.
                   8661:       if test "$host_cpu" = ia64; then
                   8662:        # AIX 5 now supports IA64 processor
                   8663:        lt_prog_compiler_static='-Bstatic'
                   8664:       fi
                   8665:       ;;
                   8666: 
                   8667:     amigaos*)
                   8668:       case $host_cpu in
                   8669:       powerpc)
                   8670:             # see comment about AmigaOS4 .so support
                   8671:             lt_prog_compiler_pic='-fPIC'
                   8672:         ;;
                   8673:       m68k)
                   8674:             # FIXME: we need at least 68020 code to build shared libraries, but
                   8675:             # adding the `-m68020' flag to GCC prevents building anything better,
                   8676:             # like `-m68040'.
                   8677:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
                   8678:         ;;
                   8679:       esac
                   8680:       ;;
                   8681: 
                   8682:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   8683:       # PIC is the default for these OSes.
                   8684:       ;;
                   8685: 
                   8686:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   8687:       # This hack is so that the source file can tell whether it is being
                   8688:       # built for inclusion in a dll (and should export symbols for example).
                   8689:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   8690:       # (--disable-auto-import) libraries
                   8691:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   8692:       ;;
                   8693: 
                   8694:     darwin* | rhapsody*)
                   8695:       # PIC is the default on this platform
                   8696:       # Common symbols not allowed in MH_DYLIB files
                   8697:       lt_prog_compiler_pic='-fno-common'
                   8698:       ;;
                   8699: 
                   8700:     haiku*)
                   8701:       # PIC is the default for Haiku.
                   8702:       # The "-static" flag exists, but is broken.
                   8703:       lt_prog_compiler_static=
                   8704:       ;;
                   8705: 
                   8706:     hpux*)
                   8707:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   8708:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   8709:       # sets the default TLS model and affects inlining.
                   8710:       case $host_cpu in
                   8711:       hppa*64*)
                   8712:        # +Z the default
                   8713:        ;;
                   8714:       *)
                   8715:        lt_prog_compiler_pic='-fPIC'
                   8716:        ;;
                   8717:       esac
                   8718:       ;;
                   8719: 
                   8720:     interix[3-9]*)
                   8721:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   8722:       # Instead, we relocate shared libraries at runtime.
                   8723:       ;;
                   8724: 
                   8725:     msdosdjgpp*)
                   8726:       # Just because we use GCC doesn't mean we suddenly get shared libraries
                   8727:       # on systems that don't support them.
                   8728:       lt_prog_compiler_can_build_shared=no
                   8729:       enable_shared=no
                   8730:       ;;
                   8731: 
                   8732:     *nto* | *qnx*)
                   8733:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   8734:       # it will coredump.
                   8735:       lt_prog_compiler_pic='-fPIC -shared'
                   8736:       ;;
                   8737: 
                   8738:     sysv4*MP*)
                   8739:       if test -d /usr/nec; then
                   8740:        lt_prog_compiler_pic=-Kconform_pic
                   8741:       fi
                   8742:       ;;
                   8743: 
                   8744:     *)
                   8745:       lt_prog_compiler_pic='-fPIC'
                   8746:       ;;
                   8747:     esac
                   8748: 
                   8749:     case $cc_basename in
                   8750:     nvcc*) # Cuda Compiler Driver 2.2
                   8751:       lt_prog_compiler_wl='-Xlinker '
1.1.1.2 ! misho    8752:       if test -n "$lt_prog_compiler_pic"; then
        !          8753:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
        !          8754:       fi
1.1       misho    8755:       ;;
                   8756:     esac
                   8757:   else
                   8758:     # PORTME Check for flag to pass linker flags through the system compiler.
                   8759:     case $host_os in
                   8760:     aix*)
                   8761:       lt_prog_compiler_wl='-Wl,'
                   8762:       if test "$host_cpu" = ia64; then
                   8763:        # AIX 5 now supports IA64 processor
                   8764:        lt_prog_compiler_static='-Bstatic'
                   8765:       else
                   8766:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
                   8767:       fi
                   8768:       ;;
                   8769: 
                   8770:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   8771:       # This hack is so that the source file can tell whether it is being
                   8772:       # built for inclusion in a dll (and should export symbols for example).
                   8773:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   8774:       ;;
                   8775: 
                   8776:     hpux9* | hpux10* | hpux11*)
                   8777:       lt_prog_compiler_wl='-Wl,'
                   8778:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
                   8779:       # not for PA HP-UX.
                   8780:       case $host_cpu in
                   8781:       hppa*64*|ia64*)
                   8782:        # +Z the default
                   8783:        ;;
                   8784:       *)
                   8785:        lt_prog_compiler_pic='+Z'
                   8786:        ;;
                   8787:       esac
                   8788:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
                   8789:       lt_prog_compiler_static='${wl}-a ${wl}archive'
                   8790:       ;;
                   8791: 
                   8792:     irix5* | irix6* | nonstopux*)
                   8793:       lt_prog_compiler_wl='-Wl,'
                   8794:       # PIC (with -KPIC) is the default.
                   8795:       lt_prog_compiler_static='-non_shared'
                   8796:       ;;
                   8797: 
                   8798:     linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   8799:       case $cc_basename in
                   8800:       # old Intel for x86_64 which still supported -KPIC.
                   8801:       ecc*)
                   8802:        lt_prog_compiler_wl='-Wl,'
                   8803:        lt_prog_compiler_pic='-KPIC'
                   8804:        lt_prog_compiler_static='-static'
                   8805:         ;;
                   8806:       # icc used to be incompatible with GCC.
                   8807:       # ICC 10 doesn't accept -KPIC any more.
                   8808:       icc* | ifort*)
                   8809:        lt_prog_compiler_wl='-Wl,'
                   8810:        lt_prog_compiler_pic='-fPIC'
                   8811:        lt_prog_compiler_static='-static'
                   8812:         ;;
                   8813:       # Lahey Fortran 8.1.
                   8814:       lf95*)
                   8815:        lt_prog_compiler_wl='-Wl,'
                   8816:        lt_prog_compiler_pic='--shared'
                   8817:        lt_prog_compiler_static='--static'
                   8818:        ;;
                   8819:       nagfor*)
                   8820:        # NAG Fortran compiler
                   8821:        lt_prog_compiler_wl='-Wl,-Wl,,'
                   8822:        lt_prog_compiler_pic='-PIC'
                   8823:        lt_prog_compiler_static='-Bstatic'
                   8824:        ;;
                   8825:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
                   8826:         # Portland Group compilers (*not* the Pentium gcc compiler,
                   8827:        # which looks to be a dead project)
                   8828:        lt_prog_compiler_wl='-Wl,'
                   8829:        lt_prog_compiler_pic='-fpic'
                   8830:        lt_prog_compiler_static='-Bstatic'
                   8831:         ;;
                   8832:       ccc*)
                   8833:         lt_prog_compiler_wl='-Wl,'
                   8834:         # All Alpha code is PIC.
                   8835:         lt_prog_compiler_static='-non_shared'
                   8836:         ;;
                   8837:       xl* | bgxl* | bgf* | mpixl*)
                   8838:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
                   8839:        lt_prog_compiler_wl='-Wl,'
                   8840:        lt_prog_compiler_pic='-qpic'
                   8841:        lt_prog_compiler_static='-qstaticlink'
                   8842:        ;;
                   8843:       *)
                   8844:        case `$CC -V 2>&1 | sed 5q` in
1.1.1.2 ! misho    8845:        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
1.1       misho    8846:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
                   8847:          lt_prog_compiler_pic='-KPIC'
                   8848:          lt_prog_compiler_static='-Bstatic'
                   8849:          lt_prog_compiler_wl=''
                   8850:          ;;
1.1.1.2 ! misho    8851:        *Sun\ F* | *Sun*Fortran*)
        !          8852:          lt_prog_compiler_pic='-KPIC'
        !          8853:          lt_prog_compiler_static='-Bstatic'
        !          8854:          lt_prog_compiler_wl='-Qoption ld '
        !          8855:          ;;
1.1       misho    8856:        *Sun\ C*)
                   8857:          # Sun C 5.9
                   8858:          lt_prog_compiler_pic='-KPIC'
                   8859:          lt_prog_compiler_static='-Bstatic'
                   8860:          lt_prog_compiler_wl='-Wl,'
                   8861:          ;;
1.1.1.2 ! misho    8862:         *Intel*\ [CF]*Compiler*)
        !          8863:          lt_prog_compiler_wl='-Wl,'
        !          8864:          lt_prog_compiler_pic='-fPIC'
        !          8865:          lt_prog_compiler_static='-static'
        !          8866:          ;;
        !          8867:        *Portland\ Group*)
        !          8868:          lt_prog_compiler_wl='-Wl,'
        !          8869:          lt_prog_compiler_pic='-fpic'
        !          8870:          lt_prog_compiler_static='-Bstatic'
        !          8871:          ;;
1.1       misho    8872:        esac
                   8873:        ;;
                   8874:       esac
                   8875:       ;;
                   8876: 
                   8877:     newsos6)
                   8878:       lt_prog_compiler_pic='-KPIC'
                   8879:       lt_prog_compiler_static='-Bstatic'
                   8880:       ;;
                   8881: 
                   8882:     *nto* | *qnx*)
                   8883:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   8884:       # it will coredump.
                   8885:       lt_prog_compiler_pic='-fPIC -shared'
                   8886:       ;;
                   8887: 
                   8888:     osf3* | osf4* | osf5*)
                   8889:       lt_prog_compiler_wl='-Wl,'
                   8890:       # All OSF/1 code is PIC.
                   8891:       lt_prog_compiler_static='-non_shared'
                   8892:       ;;
                   8893: 
                   8894:     rdos*)
                   8895:       lt_prog_compiler_static='-non_shared'
                   8896:       ;;
                   8897: 
                   8898:     solaris*)
                   8899:       lt_prog_compiler_pic='-KPIC'
                   8900:       lt_prog_compiler_static='-Bstatic'
                   8901:       case $cc_basename in
                   8902:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
                   8903:        lt_prog_compiler_wl='-Qoption ld ';;
                   8904:       *)
                   8905:        lt_prog_compiler_wl='-Wl,';;
                   8906:       esac
                   8907:       ;;
                   8908: 
                   8909:     sunos4*)
                   8910:       lt_prog_compiler_wl='-Qoption ld '
                   8911:       lt_prog_compiler_pic='-PIC'
                   8912:       lt_prog_compiler_static='-Bstatic'
                   8913:       ;;
                   8914: 
                   8915:     sysv4 | sysv4.2uw2* | sysv4.3*)
                   8916:       lt_prog_compiler_wl='-Wl,'
                   8917:       lt_prog_compiler_pic='-KPIC'
                   8918:       lt_prog_compiler_static='-Bstatic'
                   8919:       ;;
                   8920: 
                   8921:     sysv4*MP*)
                   8922:       if test -d /usr/nec ;then
                   8923:        lt_prog_compiler_pic='-Kconform_pic'
                   8924:        lt_prog_compiler_static='-Bstatic'
                   8925:       fi
                   8926:       ;;
                   8927: 
                   8928:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   8929:       lt_prog_compiler_wl='-Wl,'
                   8930:       lt_prog_compiler_pic='-KPIC'
                   8931:       lt_prog_compiler_static='-Bstatic'
                   8932:       ;;
                   8933: 
                   8934:     unicos*)
                   8935:       lt_prog_compiler_wl='-Wl,'
                   8936:       lt_prog_compiler_can_build_shared=no
                   8937:       ;;
                   8938: 
                   8939:     uts4*)
                   8940:       lt_prog_compiler_pic='-pic'
                   8941:       lt_prog_compiler_static='-Bstatic'
                   8942:       ;;
                   8943: 
                   8944:     *)
                   8945:       lt_prog_compiler_can_build_shared=no
                   8946:       ;;
                   8947:     esac
                   8948:   fi
                   8949: 
                   8950: case $host_os in
                   8951:   # For platforms which do not support PIC, -DPIC is meaningless:
                   8952:   *djgpp*)
                   8953:     lt_prog_compiler_pic=
                   8954:     ;;
                   8955:   *)
                   8956:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
                   8957:     ;;
                   8958: esac
                   8959: 
                   8960: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   8961: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
                   8962: if ${lt_cv_prog_compiler_pic+:} false; then :
                   8963:   $as_echo_n "(cached) " >&6
                   8964: else
                   8965:   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
                   8966: fi
                   8967: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
                   8968: $as_echo "$lt_cv_prog_compiler_pic" >&6; }
                   8969: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
                   8970: 
                   8971: #
                   8972: # Check to make sure the PIC flag actually works.
                   8973: #
                   8974: if test -n "$lt_prog_compiler_pic"; then
                   8975:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
                   8976: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
                   8977: if ${lt_cv_prog_compiler_pic_works+:} false; then :
                   8978:   $as_echo_n "(cached) " >&6
                   8979: else
                   8980:   lt_cv_prog_compiler_pic_works=no
                   8981:    ac_outfile=conftest.$ac_objext
                   8982:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8983:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
                   8984:    # Insert the option either (1) after the last *FLAGS variable, or
                   8985:    # (2) before a word containing "conftest.", or (3) at the end.
                   8986:    # Note that $ac_compile itself does not contain backslashes and begins
                   8987:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8988:    # The option is referenced via a variable to avoid confusing sed.
                   8989:    lt_compile=`echo "$ac_compile" | $SED \
                   8990:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8991:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8992:    -e 's:$: $lt_compiler_flag:'`
                   8993:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8994:    (eval "$lt_compile" 2>conftest.err)
                   8995:    ac_status=$?
                   8996:    cat conftest.err >&5
                   8997:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8998:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   8999:      # The compiler can only warn and ignore the option if not recognized
                   9000:      # So say no if there are warnings other than the usual output.
                   9001:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   9002:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9003:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   9004:        lt_cv_prog_compiler_pic_works=yes
                   9005:      fi
                   9006:    fi
                   9007:    $RM conftest*
                   9008: 
                   9009: fi
                   9010: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
                   9011: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
                   9012: 
                   9013: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
                   9014:     case $lt_prog_compiler_pic in
                   9015:      "" | " "*) ;;
                   9016:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
                   9017:      esac
                   9018: else
                   9019:     lt_prog_compiler_pic=
                   9020:      lt_prog_compiler_can_build_shared=no
                   9021: fi
                   9022: 
                   9023: fi
                   9024: 
                   9025: 
                   9026: 
                   9027: 
                   9028: 
                   9029: 
                   9030: 
                   9031: 
                   9032: 
                   9033: 
                   9034: 
                   9035: #
                   9036: # Check to make sure the static flag actually works.
                   9037: #
                   9038: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
                   9039: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   9040: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   9041: if ${lt_cv_prog_compiler_static_works+:} false; then :
                   9042:   $as_echo_n "(cached) " >&6
                   9043: else
                   9044:   lt_cv_prog_compiler_static_works=no
                   9045:    save_LDFLAGS="$LDFLAGS"
                   9046:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   9047:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   9048:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   9049:      # The linker can only warn and ignore the option if not recognized
                   9050:      # So say no if there are warnings
                   9051:      if test -s conftest.err; then
                   9052:        # Append any errors to the config.log.
                   9053:        cat conftest.err 1>&5
                   9054:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   9055:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9056:        if diff conftest.exp conftest.er2 >/dev/null; then
                   9057:          lt_cv_prog_compiler_static_works=yes
                   9058:        fi
                   9059:      else
                   9060:        lt_cv_prog_compiler_static_works=yes
                   9061:      fi
                   9062:    fi
                   9063:    $RM -r conftest*
                   9064:    LDFLAGS="$save_LDFLAGS"
                   9065: 
                   9066: fi
                   9067: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
                   9068: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
                   9069: 
                   9070: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
                   9071:     :
                   9072: else
                   9073:     lt_prog_compiler_static=
                   9074: fi
                   9075: 
                   9076: 
                   9077: 
                   9078: 
                   9079: 
                   9080: 
                   9081: 
                   9082:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   9083: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   9084: if ${lt_cv_prog_compiler_c_o+:} false; then :
                   9085:   $as_echo_n "(cached) " >&6
                   9086: else
                   9087:   lt_cv_prog_compiler_c_o=no
                   9088:    $RM -r conftest 2>/dev/null
                   9089:    mkdir conftest
                   9090:    cd conftest
                   9091:    mkdir out
                   9092:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9093: 
                   9094:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   9095:    # Insert the option either (1) after the last *FLAGS variable, or
                   9096:    # (2) before a word containing "conftest.", or (3) at the end.
                   9097:    # Note that $ac_compile itself does not contain backslashes and begins
                   9098:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9099:    lt_compile=`echo "$ac_compile" | $SED \
                   9100:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9101:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9102:    -e 's:$: $lt_compiler_flag:'`
                   9103:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9104:    (eval "$lt_compile" 2>out/conftest.err)
                   9105:    ac_status=$?
                   9106:    cat out/conftest.err >&5
                   9107:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9108:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   9109:    then
                   9110:      # The compiler can only warn and ignore the option if not recognized
                   9111:      # So say no if there are warnings
                   9112:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   9113:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   9114:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   9115:        lt_cv_prog_compiler_c_o=yes
                   9116:      fi
                   9117:    fi
                   9118:    chmod u+w . 2>&5
                   9119:    $RM conftest*
                   9120:    # SGI C++ compiler will create directory out/ii_files/ for
                   9121:    # template instantiation
                   9122:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   9123:    $RM out/* && rmdir out
                   9124:    cd ..
                   9125:    $RM -r conftest
                   9126:    $RM conftest*
                   9127: 
                   9128: fi
                   9129: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   9130: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
                   9131: 
                   9132: 
                   9133: 
                   9134: 
                   9135: 
                   9136: 
                   9137:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   9138: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   9139: if ${lt_cv_prog_compiler_c_o+:} false; then :
                   9140:   $as_echo_n "(cached) " >&6
                   9141: else
                   9142:   lt_cv_prog_compiler_c_o=no
                   9143:    $RM -r conftest 2>/dev/null
                   9144:    mkdir conftest
                   9145:    cd conftest
                   9146:    mkdir out
                   9147:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9148: 
                   9149:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   9150:    # Insert the option either (1) after the last *FLAGS variable, or
                   9151:    # (2) before a word containing "conftest.", or (3) at the end.
                   9152:    # Note that $ac_compile itself does not contain backslashes and begins
                   9153:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   9154:    lt_compile=`echo "$ac_compile" | $SED \
                   9155:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   9156:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   9157:    -e 's:$: $lt_compiler_flag:'`
                   9158:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   9159:    (eval "$lt_compile" 2>out/conftest.err)
                   9160:    ac_status=$?
                   9161:    cat out/conftest.err >&5
                   9162:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9163:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   9164:    then
                   9165:      # The compiler can only warn and ignore the option if not recognized
                   9166:      # So say no if there are warnings
                   9167:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   9168:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   9169:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   9170:        lt_cv_prog_compiler_c_o=yes
                   9171:      fi
                   9172:    fi
                   9173:    chmod u+w . 2>&5
                   9174:    $RM conftest*
                   9175:    # SGI C++ compiler will create directory out/ii_files/ for
                   9176:    # template instantiation
                   9177:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   9178:    $RM out/* && rmdir out
                   9179:    cd ..
                   9180:    $RM -r conftest
                   9181:    $RM conftest*
                   9182: 
                   9183: fi
                   9184: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   9185: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
                   9186: 
                   9187: 
                   9188: 
                   9189: 
                   9190: hard_links="nottested"
                   9191: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
                   9192:   # do not overwrite the value of need_locks provided by the user
                   9193:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   9194: $as_echo_n "checking if we can lock with hard links... " >&6; }
                   9195:   hard_links=yes
                   9196:   $RM conftest*
                   9197:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   9198:   touch conftest.a
                   9199:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   9200:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   9201:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   9202: $as_echo "$hard_links" >&6; }
                   9203:   if test "$hard_links" = no; then
                   9204:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   9205: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
                   9206:     need_locks=warn
                   9207:   fi
                   9208: else
                   9209:   need_locks=no
                   9210: fi
                   9211: 
                   9212: 
                   9213: 
                   9214: 
                   9215: 
                   9216: 
                   9217:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   9218: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
                   9219: 
                   9220:   runpath_var=
                   9221:   allow_undefined_flag=
                   9222:   always_export_symbols=no
                   9223:   archive_cmds=
                   9224:   archive_expsym_cmds=
                   9225:   compiler_needs_object=no
                   9226:   enable_shared_with_static_runtimes=no
                   9227:   export_dynamic_flag_spec=
                   9228:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   9229:   hardcode_automatic=no
                   9230:   hardcode_direct=no
                   9231:   hardcode_direct_absolute=no
                   9232:   hardcode_libdir_flag_spec=
                   9233:   hardcode_libdir_separator=
                   9234:   hardcode_minus_L=no
                   9235:   hardcode_shlibpath_var=unsupported
                   9236:   inherit_rpath=no
                   9237:   link_all_deplibs=unknown
                   9238:   module_cmds=
                   9239:   module_expsym_cmds=
                   9240:   old_archive_from_new_cmds=
                   9241:   old_archive_from_expsyms_cmds=
                   9242:   thread_safe_flag_spec=
                   9243:   whole_archive_flag_spec=
                   9244:   # include_expsyms should be a list of space-separated symbols to be *always*
                   9245:   # included in the symbol list
                   9246:   include_expsyms=
                   9247:   # exclude_expsyms can be an extended regexp of symbols to exclude
                   9248:   # it will be wrapped by ` (' and `)$', so one must not match beginning or
                   9249:   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
                   9250:   # as well as any symbol that contains `d'.
                   9251:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   9252:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   9253:   # platforms (ab)use it in PIC code, but their linkers get confused if
                   9254:   # the symbol is explicitly referenced.  Since portable code cannot
                   9255:   # rely on this symbol name, it's probably fine to never include it in
                   9256:   # preloaded symbol tables.
                   9257:   # Exclude shared library initialization/finalization symbols.
                   9258:   extract_expsyms_cmds=
                   9259: 
                   9260:   case $host_os in
                   9261:   cygwin* | mingw* | pw32* | cegcc*)
                   9262:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
                   9263:     # When not using gcc, we currently assume that we are using
                   9264:     # Microsoft Visual C++.
                   9265:     if test "$GCC" != yes; then
                   9266:       with_gnu_ld=no
                   9267:     fi
                   9268:     ;;
                   9269:   interix*)
                   9270:     # we just hope/assume this is gcc and not c89 (= MSVC++)
                   9271:     with_gnu_ld=yes
                   9272:     ;;
                   9273:   openbsd*)
                   9274:     with_gnu_ld=no
                   9275:     ;;
                   9276:   esac
                   9277: 
                   9278:   ld_shlibs=yes
                   9279: 
                   9280:   # On some targets, GNU ld is compatible enough with the native linker
                   9281:   # that we're better off using the native interface for both.
                   9282:   lt_use_gnu_ld_interface=no
                   9283:   if test "$with_gnu_ld" = yes; then
                   9284:     case $host_os in
                   9285:       aix*)
                   9286:        # The AIX port of GNU ld has always aspired to compatibility
                   9287:        # with the native linker.  However, as the warning in the GNU ld
                   9288:        # block says, versions before 2.19.5* couldn't really create working
                   9289:        # shared libraries, regardless of the interface used.
                   9290:        case `$LD -v 2>&1` in
                   9291:          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
                   9292:          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
                   9293:          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
                   9294:          *)
                   9295:            lt_use_gnu_ld_interface=yes
                   9296:            ;;
                   9297:        esac
                   9298:        ;;
                   9299:       *)
                   9300:        lt_use_gnu_ld_interface=yes
                   9301:        ;;
                   9302:     esac
                   9303:   fi
                   9304: 
                   9305:   if test "$lt_use_gnu_ld_interface" = yes; then
                   9306:     # If archive_cmds runs LD, not CC, wlarc should be empty
                   9307:     wlarc='${wl}'
                   9308: 
                   9309:     # Set some defaults for GNU ld with shared library support. These
                   9310:     # are reset later if shared libraries are not supported. Putting them
                   9311:     # here allows them to be overridden if necessary.
                   9312:     runpath_var=LD_RUN_PATH
                   9313:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9314:     export_dynamic_flag_spec='${wl}--export-dynamic'
                   9315:     # ancient GNU ld didn't support --whole-archive et. al.
                   9316:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
                   9317:       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   9318:     else
                   9319:       whole_archive_flag_spec=
                   9320:     fi
                   9321:     supports_anon_versioning=no
                   9322:     case `$LD -v 2>&1` in
                   9323:       *GNU\ gold*) supports_anon_versioning=yes ;;
                   9324:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
                   9325:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
                   9326:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
                   9327:       *\ 2.11.*) ;; # other 2.11 versions
                   9328:       *) supports_anon_versioning=yes ;;
                   9329:     esac
                   9330: 
                   9331:     # See if GNU ld supports shared libraries.
                   9332:     case $host_os in
                   9333:     aix[3-9]*)
                   9334:       # On AIX/PPC, the GNU linker is very broken
                   9335:       if test "$host_cpu" != ia64; then
                   9336:        ld_shlibs=no
                   9337:        cat <<_LT_EOF 1>&2
                   9338: 
                   9339: *** Warning: the GNU linker, at least up to release 2.19, is reported
                   9340: *** to be unable to reliably create shared libraries on AIX.
                   9341: *** Therefore, libtool is disabling shared libraries support.  If you
                   9342: *** really care for shared libraries, you may want to install binutils
                   9343: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
                   9344: *** You will then need to restart the configuration process.
                   9345: 
                   9346: _LT_EOF
                   9347:       fi
                   9348:       ;;
                   9349: 
                   9350:     amigaos*)
                   9351:       case $host_cpu in
                   9352:       powerpc)
                   9353:             # see comment about AmigaOS4 .so support
                   9354:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9355:             archive_expsym_cmds=''
                   9356:         ;;
                   9357:       m68k)
                   9358:             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)'
                   9359:             hardcode_libdir_flag_spec='-L$libdir'
                   9360:             hardcode_minus_L=yes
                   9361:         ;;
                   9362:       esac
                   9363:       ;;
                   9364: 
                   9365:     beos*)
                   9366:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   9367:        allow_undefined_flag=unsupported
                   9368:        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   9369:        # support --undefined.  This deserves some investigation.  FIXME
                   9370:        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9371:       else
                   9372:        ld_shlibs=no
                   9373:       fi
                   9374:       ;;
                   9375: 
                   9376:     cygwin* | mingw* | pw32* | cegcc*)
                   9377:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
                   9378:       # as there is no search path for DLLs.
                   9379:       hardcode_libdir_flag_spec='-L$libdir'
                   9380:       export_dynamic_flag_spec='${wl}--export-all-symbols'
                   9381:       allow_undefined_flag=unsupported
                   9382:       always_export_symbols=no
                   9383:       enable_shared_with_static_runtimes=yes
                   9384:       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'
                   9385:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   9386: 
                   9387:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   9388:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   9389:        # If the export-symbols file already is a .def file (1st line
                   9390:        # is EXPORTS), use it as is; otherwise, prepend...
                   9391:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   9392:          cp $export_symbols $output_objdir/$soname.def;
                   9393:        else
                   9394:          echo EXPORTS > $output_objdir/$soname.def;
                   9395:          cat $export_symbols >> $output_objdir/$soname.def;
                   9396:        fi~
                   9397:        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   9398:       else
                   9399:        ld_shlibs=no
                   9400:       fi
                   9401:       ;;
                   9402: 
                   9403:     haiku*)
                   9404:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9405:       link_all_deplibs=yes
                   9406:       ;;
                   9407: 
                   9408:     interix[3-9]*)
                   9409:       hardcode_direct=no
                   9410:       hardcode_shlibpath_var=no
                   9411:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   9412:       export_dynamic_flag_spec='${wl}-E'
                   9413:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   9414:       # Instead, shared libraries are loaded at an image base (0x10000000 by
                   9415:       # default) and relocated if they conflict, which is a slow very memory
                   9416:       # consuming and fragmenting process.  To avoid this, we pick a random,
                   9417:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   9418:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   9419:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   9420:       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'
                   9421:       ;;
                   9422: 
                   9423:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
                   9424:       tmp_diet=no
                   9425:       if test "$host_os" = linux-dietlibc; then
                   9426:        case $cc_basename in
                   9427:          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
                   9428:        esac
                   9429:       fi
                   9430:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
                   9431:         && test "$tmp_diet" = no
                   9432:       then
                   9433:        tmp_addflag=' $pic_flag'
                   9434:        tmp_sharedflag='-shared'
                   9435:        case $cc_basename,$host_cpu in
                   9436:         pgcc*)                         # Portland Group C compiler
                   9437:          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'
                   9438:          tmp_addflag=' $pic_flag'
                   9439:          ;;
                   9440:        pgf77* | pgf90* | pgf95* | pgfortran*)
                   9441:                                        # Portland Group f77 and f90 compilers
                   9442:          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'
                   9443:          tmp_addflag=' $pic_flag -Mnomain' ;;
                   9444:        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
                   9445:          tmp_addflag=' -i_dynamic' ;;
                   9446:        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
                   9447:          tmp_addflag=' -i_dynamic -nofor_main' ;;
                   9448:        ifc* | ifort*)                  # Intel Fortran compiler
                   9449:          tmp_addflag=' -nofor_main' ;;
                   9450:        lf95*)                          # Lahey Fortran 8.1
                   9451:          whole_archive_flag_spec=
                   9452:          tmp_sharedflag='--shared' ;;
                   9453:        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
                   9454:          tmp_sharedflag='-qmkshrobj'
                   9455:          tmp_addflag= ;;
                   9456:        nvcc*)  # Cuda Compiler Driver 2.2
                   9457:          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'
                   9458:          compiler_needs_object=yes
                   9459:          ;;
                   9460:        esac
                   9461:        case `$CC -V 2>&1 | sed 5q` in
                   9462:        *Sun\ C*)                       # Sun C 5.9
                   9463:          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'
                   9464:          compiler_needs_object=yes
                   9465:          tmp_sharedflag='-G' ;;
                   9466:        *Sun\ F*)                       # Sun Fortran 8.3
                   9467:          tmp_sharedflag='-G' ;;
                   9468:        esac
                   9469:        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9470: 
                   9471:         if test "x$supports_anon_versioning" = xyes; then
                   9472:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   9473:            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   9474:            echo "local: *; };" >> $output_objdir/$libname.ver~
                   9475:            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   9476:         fi
                   9477: 
                   9478:        case $cc_basename in
                   9479:        xlf* | bgf* | bgxlf* | mpixlf*)
                   9480:          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
                   9481:          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
1.1.1.2 ! misho    9482:          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
1.1       misho    9483:          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
                   9484:          if test "x$supports_anon_versioning" = xyes; then
                   9485:            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   9486:              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   9487:              echo "local: *; };" >> $output_objdir/$libname.ver~
                   9488:              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
                   9489:          fi
                   9490:          ;;
                   9491:        esac
                   9492:       else
                   9493:         ld_shlibs=no
                   9494:       fi
                   9495:       ;;
                   9496: 
                   9497:     netbsd*)
                   9498:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   9499:        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   9500:        wlarc=
                   9501:       else
                   9502:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9503:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   9504:       fi
                   9505:       ;;
                   9506: 
                   9507:     solaris*)
                   9508:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
                   9509:        ld_shlibs=no
                   9510:        cat <<_LT_EOF 1>&2
                   9511: 
                   9512: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   9513: *** create shared libraries on Solaris systems.  Therefore, libtool
                   9514: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   9515: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   9516: *** your PATH or compiler configuration so that the native linker is
                   9517: *** used, and then restart.
                   9518: 
                   9519: _LT_EOF
                   9520:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   9521:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9522:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   9523:       else
                   9524:        ld_shlibs=no
                   9525:       fi
                   9526:       ;;
                   9527: 
                   9528:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
                   9529:       case `$LD -v 2>&1` in
                   9530:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
                   9531:        ld_shlibs=no
                   9532:        cat <<_LT_EOF 1>&2
                   9533: 
                   9534: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
                   9535: *** reliably create shared libraries on SCO systems.  Therefore, libtool
                   9536: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   9537: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
                   9538: *** your PATH or compiler configuration so that the native linker is
                   9539: *** used, and then restart.
                   9540: 
                   9541: _LT_EOF
                   9542:        ;;
                   9543:        *)
                   9544:          # For security reasons, it is highly recommended that you always
                   9545:          # use absolute paths for naming shared libraries, and exclude the
                   9546:          # DT_RUNPATH tag from executables and libraries.  But doing so
                   9547:          # requires that you compile everything twice, which is a pain.
                   9548:          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   9549:            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9550:            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9551:            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   9552:          else
                   9553:            ld_shlibs=no
                   9554:          fi
                   9555:        ;;
                   9556:       esac
                   9557:       ;;
                   9558: 
                   9559:     sunos4*)
                   9560:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   9561:       wlarc=
                   9562:       hardcode_direct=yes
                   9563:       hardcode_shlibpath_var=no
                   9564:       ;;
                   9565: 
                   9566:     *)
                   9567:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   9568:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9569:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   9570:       else
                   9571:        ld_shlibs=no
                   9572:       fi
                   9573:       ;;
                   9574:     esac
                   9575: 
                   9576:     if test "$ld_shlibs" = no; then
                   9577:       runpath_var=
                   9578:       hardcode_libdir_flag_spec=
                   9579:       export_dynamic_flag_spec=
                   9580:       whole_archive_flag_spec=
                   9581:     fi
                   9582:   else
                   9583:     # PORTME fill in a description of your system's linker (not GNU ld)
                   9584:     case $host_os in
                   9585:     aix3*)
                   9586:       allow_undefined_flag=unsupported
                   9587:       always_export_symbols=yes
                   9588:       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'
                   9589:       # Note: this linker hardcodes the directories in LIBPATH if there
                   9590:       # are no directories specified by -L.
                   9591:       hardcode_minus_L=yes
                   9592:       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
                   9593:        # Neither direct hardcoding nor static linking is supported with a
                   9594:        # broken collect2.
                   9595:        hardcode_direct=unsupported
                   9596:       fi
                   9597:       ;;
                   9598: 
                   9599:     aix[4-9]*)
                   9600:       if test "$host_cpu" = ia64; then
                   9601:        # On IA64, the linker does run time linking by default, so we don't
                   9602:        # have to do anything special.
                   9603:        aix_use_runtimelinking=no
                   9604:        exp_sym_flag='-Bexport'
                   9605:        no_entry_flag=""
                   9606:       else
                   9607:        # If we're using GNU nm, then we don't want the "-C" option.
                   9608:        # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   9609:        # Also, AIX nm treats weak defined symbols like other global
                   9610:        # defined symbols, whereas GNU nm marks them as "W".
                   9611:        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   9612:          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'
                   9613:        else
                   9614:          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'
                   9615:        fi
                   9616:        aix_use_runtimelinking=no
                   9617: 
                   9618:        # Test if we are trying to use run time linking or normal
                   9619:        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   9620:        # need to do runtime linking.
                   9621:        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   9622:          for ld_flag in $LDFLAGS; do
                   9623:          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
                   9624:            aix_use_runtimelinking=yes
                   9625:            break
                   9626:          fi
                   9627:          done
                   9628:          ;;
                   9629:        esac
                   9630: 
                   9631:        exp_sym_flag='-bexport'
                   9632:        no_entry_flag='-bnoentry'
                   9633:       fi
                   9634: 
                   9635:       # When large executables or shared objects are built, AIX ld can
                   9636:       # have problems creating the table of contents.  If linking a library
                   9637:       # or program results in "error TOC overflow" add -mminimal-toc to
                   9638:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   9639:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   9640: 
                   9641:       archive_cmds=''
                   9642:       hardcode_direct=yes
                   9643:       hardcode_direct_absolute=yes
                   9644:       hardcode_libdir_separator=':'
                   9645:       link_all_deplibs=yes
                   9646:       file_list_spec='${wl}-f,'
                   9647: 
                   9648:       if test "$GCC" = yes; then
                   9649:        case $host_os in aix4.[012]|aix4.[012].*)
                   9650:        # We only want to do this on AIX 4.2 and lower, the check
                   9651:        # below for broken collect2 doesn't work under 4.3+
                   9652:          collect2name=`${CC} -print-prog-name=collect2`
                   9653:          if test -f "$collect2name" &&
                   9654:           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   9655:          then
                   9656:          # We have reworked collect2
                   9657:          :
                   9658:          else
                   9659:          # We have old collect2
                   9660:          hardcode_direct=unsupported
                   9661:          # It fails to find uninstalled libraries when the uninstalled
                   9662:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   9663:          # to unsupported forces relinking
                   9664:          hardcode_minus_L=yes
                   9665:          hardcode_libdir_flag_spec='-L$libdir'
                   9666:          hardcode_libdir_separator=
                   9667:          fi
                   9668:          ;;
                   9669:        esac
                   9670:        shared_flag='-shared'
                   9671:        if test "$aix_use_runtimelinking" = yes; then
                   9672:          shared_flag="$shared_flag "'${wl}-G'
                   9673:        fi
                   9674:       else
                   9675:        # not using gcc
                   9676:        if test "$host_cpu" = ia64; then
                   9677:        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   9678:        # chokes on -Wl,-G. The following line is correct:
                   9679:          shared_flag='-G'
                   9680:        else
                   9681:          if test "$aix_use_runtimelinking" = yes; then
                   9682:            shared_flag='${wl}-G'
                   9683:          else
                   9684:            shared_flag='${wl}-bM:SRE'
                   9685:          fi
                   9686:        fi
                   9687:       fi
                   9688: 
                   9689:       export_dynamic_flag_spec='${wl}-bexpall'
                   9690:       # It seems that -bexpall does not export symbols beginning with
                   9691:       # underscore (_), so it is better to generate a list of symbols to export.
                   9692:       always_export_symbols=yes
                   9693:       if test "$aix_use_runtimelinking" = yes; then
                   9694:        # Warning - without using the other runtime loading flags (-brtl),
                   9695:        # -berok will link without error, but may produce a broken library.
                   9696:        allow_undefined_flag='-berok'
                   9697:         # Determine the default libpath from the value encoded in an
                   9698:         # empty executable.
                   9699:         if test "${lt_cv_aix_libpath+set}" = set; then
                   9700:   aix_libpath=$lt_cv_aix_libpath
                   9701: else
                   9702:   if ${lt_cv_aix_libpath_+:} false; then :
                   9703:   $as_echo_n "(cached) " >&6
                   9704: else
                   9705:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   9706: /* end confdefs.h.  */
                   9707: 
                   9708: int
                   9709: main ()
                   9710: {
                   9711: 
                   9712:   ;
                   9713:   return 0;
                   9714: }
                   9715: _ACEOF
                   9716: if ac_fn_c_try_link "$LINENO"; then :
                   9717: 
                   9718:   lt_aix_libpath_sed='
                   9719:       /Import File Strings/,/^$/ {
                   9720:          /^0/ {
                   9721:              s/^0  *\([^ ]*\) *$/\1/
                   9722:              p
                   9723:          }
                   9724:       }'
                   9725:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9726:   # Check for a 64-bit object if we didn't find anything.
                   9727:   if test -z "$lt_cv_aix_libpath_"; then
                   9728:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9729:   fi
                   9730: fi
                   9731: rm -f core conftest.err conftest.$ac_objext \
                   9732:     conftest$ac_exeext conftest.$ac_ext
                   9733:   if test -z "$lt_cv_aix_libpath_"; then
                   9734:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   9735:   fi
                   9736: 
                   9737: fi
                   9738: 
                   9739:   aix_libpath=$lt_cv_aix_libpath_
                   9740: fi
                   9741: 
                   9742:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   9743:         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"
                   9744:       else
                   9745:        if test "$host_cpu" = ia64; then
                   9746:          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
                   9747:          allow_undefined_flag="-z nodefs"
                   9748:          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"
                   9749:        else
                   9750:         # Determine the default libpath from the value encoded in an
                   9751:         # empty executable.
                   9752:         if test "${lt_cv_aix_libpath+set}" = set; then
                   9753:   aix_libpath=$lt_cv_aix_libpath
                   9754: else
                   9755:   if ${lt_cv_aix_libpath_+:} false; then :
                   9756:   $as_echo_n "(cached) " >&6
                   9757: else
                   9758:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   9759: /* end confdefs.h.  */
                   9760: 
                   9761: int
                   9762: main ()
                   9763: {
                   9764: 
                   9765:   ;
                   9766:   return 0;
                   9767: }
                   9768: _ACEOF
                   9769: if ac_fn_c_try_link "$LINENO"; then :
                   9770: 
                   9771:   lt_aix_libpath_sed='
                   9772:       /Import File Strings/,/^$/ {
                   9773:          /^0/ {
                   9774:              s/^0  *\([^ ]*\) *$/\1/
                   9775:              p
                   9776:          }
                   9777:       }'
                   9778:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9779:   # Check for a 64-bit object if we didn't find anything.
                   9780:   if test -z "$lt_cv_aix_libpath_"; then
                   9781:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9782:   fi
                   9783: fi
                   9784: rm -f core conftest.err conftest.$ac_objext \
                   9785:     conftest$ac_exeext conftest.$ac_ext
                   9786:   if test -z "$lt_cv_aix_libpath_"; then
                   9787:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   9788:   fi
                   9789: 
                   9790: fi
                   9791: 
                   9792:   aix_libpath=$lt_cv_aix_libpath_
                   9793: fi
                   9794: 
                   9795:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   9796:          # Warning - without using the other run time loading flags,
                   9797:          # -berok will link without error, but may produce a broken library.
                   9798:          no_undefined_flag=' ${wl}-bernotok'
                   9799:          allow_undefined_flag=' ${wl}-berok'
                   9800:          if test "$with_gnu_ld" = yes; then
                   9801:            # We only use this code for GNU lds that support --whole-archive.
                   9802:            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   9803:          else
                   9804:            # Exported symbols can be pulled into shared objects from archives
                   9805:            whole_archive_flag_spec='$convenience'
                   9806:          fi
                   9807:          archive_cmds_need_lc=yes
                   9808:          # This is similar to how AIX traditionally builds its shared libraries.
                   9809:          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'
                   9810:        fi
                   9811:       fi
                   9812:       ;;
                   9813: 
                   9814:     amigaos*)
                   9815:       case $host_cpu in
                   9816:       powerpc)
                   9817:             # see comment about AmigaOS4 .so support
                   9818:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9819:             archive_expsym_cmds=''
                   9820:         ;;
                   9821:       m68k)
                   9822:             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)'
                   9823:             hardcode_libdir_flag_spec='-L$libdir'
                   9824:             hardcode_minus_L=yes
                   9825:         ;;
                   9826:       esac
                   9827:       ;;
                   9828: 
                   9829:     bsdi[45]*)
                   9830:       export_dynamic_flag_spec=-rdynamic
                   9831:       ;;
                   9832: 
                   9833:     cygwin* | mingw* | pw32* | cegcc*)
                   9834:       # When not using gcc, we currently assume that we are using
                   9835:       # Microsoft Visual C++.
                   9836:       # hardcode_libdir_flag_spec is actually meaningless, as there is
                   9837:       # no search path for DLLs.
                   9838:       case $cc_basename in
                   9839:       cl*)
                   9840:        # Native MSVC
                   9841:        hardcode_libdir_flag_spec=' '
                   9842:        allow_undefined_flag=unsupported
                   9843:        always_export_symbols=yes
                   9844:        file_list_spec='@'
                   9845:        # Tell ltmain to make .lib files, not .a files.
                   9846:        libext=lib
                   9847:        # Tell ltmain to make .dll files, not .so files.
                   9848:        shrext_cmds=".dll"
                   9849:        # FIXME: Setting linknames here is a bad hack.
                   9850:        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   9851:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   9852:            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   9853:          else
                   9854:            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   9855:          fi~
                   9856:          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   9857:          linknames='
                   9858:        # The linker will not automatically build a static lib if we build a DLL.
                   9859:        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
                   9860:        enable_shared_with_static_runtimes=yes
1.1.1.2 ! misho    9861:        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
1.1       misho    9862:        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
                   9863:        # Don't use ranlib
                   9864:        old_postinstall_cmds='chmod 644 $oldlib'
                   9865:        postlink_cmds='lt_outputfile="@OUTPUT@"~
                   9866:          lt_tool_outputfile="@TOOL_OUTPUT@"~
                   9867:          case $lt_outputfile in
                   9868:            *.exe|*.EXE) ;;
                   9869:            *)
                   9870:              lt_outputfile="$lt_outputfile.exe"
                   9871:              lt_tool_outputfile="$lt_tool_outputfile.exe"
                   9872:              ;;
                   9873:          esac~
                   9874:          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   9875:            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   9876:            $RM "$lt_outputfile.manifest";
                   9877:          fi'
                   9878:        ;;
                   9879:       *)
                   9880:        # Assume MSVC wrapper
                   9881:        hardcode_libdir_flag_spec=' '
                   9882:        allow_undefined_flag=unsupported
                   9883:        # Tell ltmain to make .lib files, not .a files.
                   9884:        libext=lib
                   9885:        # Tell ltmain to make .dll files, not .so files.
                   9886:        shrext_cmds=".dll"
                   9887:        # FIXME: Setting linknames here is a bad hack.
                   9888:        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
                   9889:        # The linker will automatically build a .lib file if we build a DLL.
                   9890:        old_archive_from_new_cmds='true'
                   9891:        # FIXME: Should let the user specify the lib program.
                   9892:        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
                   9893:        enable_shared_with_static_runtimes=yes
                   9894:        ;;
                   9895:       esac
                   9896:       ;;
                   9897: 
                   9898:     darwin* | rhapsody*)
                   9899: 
                   9900: 
                   9901:   archive_cmds_need_lc=no
                   9902:   hardcode_direct=no
                   9903:   hardcode_automatic=yes
                   9904:   hardcode_shlibpath_var=unsupported
                   9905:   if test "$lt_cv_ld_force_load" = "yes"; then
                   9906:     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    9907: 
1.1       misho    9908:   else
                   9909:     whole_archive_flag_spec=''
                   9910:   fi
                   9911:   link_all_deplibs=yes
                   9912:   allow_undefined_flag="$_lt_dar_allow_undefined"
                   9913:   case $cc_basename in
                   9914:      ifort*) _lt_dar_can_shared=yes ;;
                   9915:      *) _lt_dar_can_shared=$GCC ;;
                   9916:   esac
                   9917:   if test "$_lt_dar_can_shared" = "yes"; then
                   9918:     output_verbose_link_cmd=func_echo_all
                   9919:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
                   9920:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   9921:     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}"
                   9922:     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}"
                   9923: 
                   9924:   else
                   9925:   ld_shlibs=no
                   9926:   fi
                   9927: 
                   9928:       ;;
                   9929: 
                   9930:     dgux*)
                   9931:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9932:       hardcode_libdir_flag_spec='-L$libdir'
                   9933:       hardcode_shlibpath_var=no
                   9934:       ;;
                   9935: 
                   9936:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   9937:     # support.  Future versions do this automatically, but an explicit c++rt0.o
                   9938:     # does not break anything, and helps significantly (at the cost of a little
                   9939:     # extra space).
                   9940:     freebsd2.2*)
                   9941:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   9942:       hardcode_libdir_flag_spec='-R$libdir'
                   9943:       hardcode_direct=yes
                   9944:       hardcode_shlibpath_var=no
                   9945:       ;;
                   9946: 
                   9947:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
1.1.1.2 ! misho    9948:     freebsd2.*)
1.1       misho    9949:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   9950:       hardcode_direct=yes
                   9951:       hardcode_minus_L=yes
                   9952:       hardcode_shlibpath_var=no
                   9953:       ;;
                   9954: 
                   9955:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
                   9956:     freebsd* | dragonfly*)
                   9957:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   9958:       hardcode_libdir_flag_spec='-R$libdir'
                   9959:       hardcode_direct=yes
                   9960:       hardcode_shlibpath_var=no
                   9961:       ;;
                   9962: 
                   9963:     hpux9*)
                   9964:       if test "$GCC" = yes; then
                   9965:        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'
                   9966:       else
                   9967:        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'
                   9968:       fi
                   9969:       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   9970:       hardcode_libdir_separator=:
                   9971:       hardcode_direct=yes
                   9972: 
                   9973:       # hardcode_minus_L: Not really in the search PATH,
                   9974:       # but as the default location of the library.
                   9975:       hardcode_minus_L=yes
                   9976:       export_dynamic_flag_spec='${wl}-E'
                   9977:       ;;
                   9978: 
                   9979:     hpux10*)
                   9980:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   9981:        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   9982:       else
                   9983:        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   9984:       fi
                   9985:       if test "$with_gnu_ld" = no; then
                   9986:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   9987:        hardcode_libdir_separator=:
                   9988:        hardcode_direct=yes
                   9989:        hardcode_direct_absolute=yes
                   9990:        export_dynamic_flag_spec='${wl}-E'
                   9991:        # hardcode_minus_L: Not really in the search PATH,
                   9992:        # but as the default location of the library.
                   9993:        hardcode_minus_L=yes
                   9994:       fi
                   9995:       ;;
                   9996: 
                   9997:     hpux11*)
                   9998:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   9999:        case $host_cpu in
                   10000:        hppa*64*)
                   10001:          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10002:          ;;
                   10003:        ia64*)
                   10004:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   10005:          ;;
                   10006:        *)
                   10007:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   10008:          ;;
                   10009:        esac
                   10010:       else
                   10011:        case $host_cpu in
                   10012:        hppa*64*)
                   10013:          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10014:          ;;
                   10015:        ia64*)
                   10016:          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   10017:          ;;
                   10018:        *)
                   10019: 
                   10020:          # Older versions of the 11.00 compiler do not understand -b yet
                   10021:          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
                   10022:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
                   10023: $as_echo_n "checking if $CC understands -b... " >&6; }
                   10024: if ${lt_cv_prog_compiler__b+:} false; then :
                   10025:   $as_echo_n "(cached) " >&6
                   10026: else
                   10027:   lt_cv_prog_compiler__b=no
                   10028:    save_LDFLAGS="$LDFLAGS"
                   10029:    LDFLAGS="$LDFLAGS -b"
                   10030:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   10031:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   10032:      # The linker can only warn and ignore the option if not recognized
                   10033:      # So say no if there are warnings
                   10034:      if test -s conftest.err; then
                   10035:        # Append any errors to the config.log.
                   10036:        cat conftest.err 1>&5
                   10037:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   10038:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   10039:        if diff conftest.exp conftest.er2 >/dev/null; then
                   10040:          lt_cv_prog_compiler__b=yes
                   10041:        fi
                   10042:      else
                   10043:        lt_cv_prog_compiler__b=yes
                   10044:      fi
                   10045:    fi
                   10046:    $RM -r conftest*
                   10047:    LDFLAGS="$save_LDFLAGS"
                   10048: 
                   10049: fi
                   10050: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
                   10051: $as_echo "$lt_cv_prog_compiler__b" >&6; }
                   10052: 
                   10053: if test x"$lt_cv_prog_compiler__b" = xyes; then
                   10054:     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   10055: else
                   10056:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   10057: fi
                   10058: 
                   10059:          ;;
                   10060:        esac
                   10061:       fi
                   10062:       if test "$with_gnu_ld" = no; then
                   10063:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   10064:        hardcode_libdir_separator=:
                   10065: 
                   10066:        case $host_cpu in
                   10067:        hppa*64*|ia64*)
                   10068:          hardcode_direct=no
                   10069:          hardcode_shlibpath_var=no
                   10070:          ;;
                   10071:        *)
                   10072:          hardcode_direct=yes
                   10073:          hardcode_direct_absolute=yes
                   10074:          export_dynamic_flag_spec='${wl}-E'
                   10075: 
                   10076:          # hardcode_minus_L: Not really in the search PATH,
                   10077:          # but as the default location of the library.
                   10078:          hardcode_minus_L=yes
                   10079:          ;;
                   10080:        esac
                   10081:       fi
                   10082:       ;;
                   10083: 
                   10084:     irix5* | irix6* | nonstopux*)
                   10085:       if test "$GCC" = yes; then
                   10086:        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'
                   10087:        # Try to use the -exported_symbol ld option, if it does not
                   10088:        # work, assume that -exports_file does not work either and
                   10089:        # implicitly export all symbols.
                   10090:        # This should be the same for all languages, so no per-tag cache variable.
                   10091:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
                   10092: $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
                   10093: if ${lt_cv_irix_exported_symbol+:} false; then :
                   10094:   $as_echo_n "(cached) " >&6
                   10095: else
                   10096:   save_LDFLAGS="$LDFLAGS"
                   10097:           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
                   10098:           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   10099: /* end confdefs.h.  */
                   10100: int foo (void) { return 0; }
                   10101: _ACEOF
                   10102: if ac_fn_c_try_link "$LINENO"; then :
                   10103:   lt_cv_irix_exported_symbol=yes
                   10104: else
                   10105:   lt_cv_irix_exported_symbol=no
                   10106: fi
                   10107: rm -f core conftest.err conftest.$ac_objext \
                   10108:     conftest$ac_exeext conftest.$ac_ext
                   10109:            LDFLAGS="$save_LDFLAGS"
                   10110: fi
                   10111: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
                   10112: $as_echo "$lt_cv_irix_exported_symbol" >&6; }
                   10113:        if test "$lt_cv_irix_exported_symbol" = yes; then
                   10114:           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'
                   10115:        fi
                   10116:       else
                   10117:        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'
                   10118:        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'
                   10119:       fi
                   10120:       archive_cmds_need_lc='no'
                   10121:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10122:       hardcode_libdir_separator=:
                   10123:       inherit_rpath=yes
                   10124:       link_all_deplibs=yes
                   10125:       ;;
                   10126: 
                   10127:     netbsd*)
                   10128:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   10129:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   10130:       else
                   10131:        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   10132:       fi
                   10133:       hardcode_libdir_flag_spec='-R$libdir'
                   10134:       hardcode_direct=yes
                   10135:       hardcode_shlibpath_var=no
                   10136:       ;;
                   10137: 
                   10138:     newsos6)
                   10139:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10140:       hardcode_direct=yes
                   10141:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10142:       hardcode_libdir_separator=:
                   10143:       hardcode_shlibpath_var=no
                   10144:       ;;
                   10145: 
                   10146:     *nto* | *qnx*)
                   10147:       ;;
                   10148: 
                   10149:     openbsd*)
                   10150:       if test -f /usr/libexec/ld.so; then
                   10151:        hardcode_direct=yes
                   10152:        hardcode_shlibpath_var=no
                   10153:        hardcode_direct_absolute=yes
                   10154:        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   10155:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   10156:          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
                   10157:          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   10158:          export_dynamic_flag_spec='${wl}-E'
                   10159:        else
                   10160:          case $host_os in
                   10161:           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
                   10162:             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   10163:             hardcode_libdir_flag_spec='-R$libdir'
                   10164:             ;;
                   10165:           *)
                   10166:             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   10167:             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   10168:             ;;
                   10169:          esac
                   10170:        fi
                   10171:       else
                   10172:        ld_shlibs=no
                   10173:       fi
                   10174:       ;;
                   10175: 
                   10176:     os2*)
                   10177:       hardcode_libdir_flag_spec='-L$libdir'
                   10178:       hardcode_minus_L=yes
                   10179:       allow_undefined_flag=unsupported
                   10180:       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'
                   10181:       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
                   10182:       ;;
                   10183: 
                   10184:     osf3*)
                   10185:       if test "$GCC" = yes; then
                   10186:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   10187:        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'
                   10188:       else
                   10189:        allow_undefined_flag=' -expect_unresolved \*'
                   10190:        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'
                   10191:       fi
                   10192:       archive_cmds_need_lc='no'
                   10193:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10194:       hardcode_libdir_separator=:
                   10195:       ;;
                   10196: 
                   10197:     osf4* | osf5*)     # as osf3* with the addition of -msym flag
                   10198:       if test "$GCC" = yes; then
                   10199:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   10200:        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'
                   10201:        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   10202:       else
                   10203:        allow_undefined_flag=' -expect_unresolved \*'
                   10204:        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'
                   10205:        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~
                   10206:        $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'
                   10207: 
                   10208:        # Both c and cxx compiler support -rpath directly
                   10209:        hardcode_libdir_flag_spec='-rpath $libdir'
                   10210:       fi
                   10211:       archive_cmds_need_lc='no'
                   10212:       hardcode_libdir_separator=:
                   10213:       ;;
                   10214: 
                   10215:     solaris*)
                   10216:       no_undefined_flag=' -z defs'
                   10217:       if test "$GCC" = yes; then
                   10218:        wlarc='${wl}'
                   10219:        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10220:        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   10221:          $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'
                   10222:       else
                   10223:        case `$CC -V 2>&1` in
                   10224:        *"Compilers 5.0"*)
                   10225:          wlarc=''
                   10226:          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10227:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   10228:          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
                   10229:          ;;
                   10230:        *)
                   10231:          wlarc='${wl}'
                   10232:          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   10233:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   10234:          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
                   10235:          ;;
                   10236:        esac
                   10237:       fi
                   10238:       hardcode_libdir_flag_spec='-R$libdir'
                   10239:       hardcode_shlibpath_var=no
                   10240:       case $host_os in
                   10241:       solaris2.[0-5] | solaris2.[0-5].*) ;;
                   10242:       *)
                   10243:        # The compiler driver will combine and reorder linker options,
                   10244:        # but understands `-z linker_flag'.  GCC discards it without `$wl',
                   10245:        # but is careful enough not to reorder.
                   10246:        # Supported since Solaris 2.6 (maybe 2.5.1?)
                   10247:        if test "$GCC" = yes; then
                   10248:          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   10249:        else
                   10250:          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
                   10251:        fi
                   10252:        ;;
                   10253:       esac
                   10254:       link_all_deplibs=yes
                   10255:       ;;
                   10256: 
                   10257:     sunos4*)
                   10258:       if test "x$host_vendor" = xsequent; then
                   10259:        # Use $CC to link under sequent, because it throws in some extra .o
                   10260:        # files that make .init and .fini sections work.
                   10261:        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   10262:       else
                   10263:        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   10264:       fi
                   10265:       hardcode_libdir_flag_spec='-L$libdir'
                   10266:       hardcode_direct=yes
                   10267:       hardcode_minus_L=yes
                   10268:       hardcode_shlibpath_var=no
                   10269:       ;;
                   10270: 
                   10271:     sysv4)
                   10272:       case $host_vendor in
                   10273:        sni)
                   10274:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10275:          hardcode_direct=yes # is this really true???
                   10276:        ;;
                   10277:        siemens)
                   10278:          ## LD is ld it makes a PLAMLIB
                   10279:          ## CC just makes a GrossModule.
                   10280:          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   10281:          reload_cmds='$CC -r -o $output$reload_objs'
                   10282:          hardcode_direct=no
                   10283:         ;;
                   10284:        motorola)
                   10285:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10286:          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   10287:        ;;
                   10288:       esac
                   10289:       runpath_var='LD_RUN_PATH'
                   10290:       hardcode_shlibpath_var=no
                   10291:       ;;
                   10292: 
                   10293:     sysv4.3*)
                   10294:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10295:       hardcode_shlibpath_var=no
                   10296:       export_dynamic_flag_spec='-Bexport'
                   10297:       ;;
                   10298: 
                   10299:     sysv4*MP*)
                   10300:       if test -d /usr/nec; then
                   10301:        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10302:        hardcode_shlibpath_var=no
                   10303:        runpath_var=LD_RUN_PATH
                   10304:        hardcode_runpath_var=yes
                   10305:        ld_shlibs=yes
                   10306:       fi
                   10307:       ;;
                   10308: 
                   10309:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   10310:       no_undefined_flag='${wl}-z,text'
                   10311:       archive_cmds_need_lc=no
                   10312:       hardcode_shlibpath_var=no
                   10313:       runpath_var='LD_RUN_PATH'
                   10314: 
                   10315:       if test "$GCC" = yes; then
                   10316:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10317:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10318:       else
                   10319:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10320:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10321:       fi
                   10322:       ;;
                   10323: 
                   10324:     sysv5* | sco3.2v5* | sco5v6*)
                   10325:       # Note: We can NOT use -z defs as we might desire, because we do not
                   10326:       # link with -lc, and that would cause any symbols used from libc to
                   10327:       # always be unresolved, which means just about no library would
                   10328:       # ever link correctly.  If we're not using GNU ld we use -z text
                   10329:       # though, which does catch some bad symbols but isn't as heavy-handed
                   10330:       # as -z defs.
                   10331:       no_undefined_flag='${wl}-z,text'
                   10332:       allow_undefined_flag='${wl}-z,nodefs'
                   10333:       archive_cmds_need_lc=no
                   10334:       hardcode_shlibpath_var=no
                   10335:       hardcode_libdir_flag_spec='${wl}-R,$libdir'
                   10336:       hardcode_libdir_separator=':'
                   10337:       link_all_deplibs=yes
                   10338:       export_dynamic_flag_spec='${wl}-Bexport'
                   10339:       runpath_var='LD_RUN_PATH'
                   10340: 
                   10341:       if test "$GCC" = yes; then
                   10342:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10343:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10344:       else
                   10345:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10346:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   10347:       fi
                   10348:       ;;
                   10349: 
                   10350:     uts4*)
                   10351:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   10352:       hardcode_libdir_flag_spec='-L$libdir'
                   10353:       hardcode_shlibpath_var=no
                   10354:       ;;
                   10355: 
                   10356:     *)
                   10357:       ld_shlibs=no
                   10358:       ;;
                   10359:     esac
                   10360: 
                   10361:     if test x$host_vendor = xsni; then
                   10362:       case $host in
                   10363:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   10364:        export_dynamic_flag_spec='${wl}-Blargedynsym'
                   10365:        ;;
                   10366:       esac
                   10367:     fi
                   10368:   fi
                   10369: 
                   10370: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
                   10371: $as_echo "$ld_shlibs" >&6; }
                   10372: test "$ld_shlibs" = no && can_build_shared=no
                   10373: 
                   10374: with_gnu_ld=$with_gnu_ld
                   10375: 
                   10376: 
                   10377: 
                   10378: 
                   10379: 
                   10380: 
                   10381: 
                   10382: 
                   10383: 
                   10384: 
                   10385: 
                   10386: 
                   10387: 
                   10388: 
                   10389: 
                   10390: #
                   10391: # Do we need to explicitly link libc?
                   10392: #
                   10393: case "x$archive_cmds_need_lc" in
                   10394: x|xyes)
                   10395:   # Assume -lc should be added
                   10396:   archive_cmds_need_lc=yes
                   10397: 
                   10398:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   10399:     case $archive_cmds in
                   10400:     *'~'*)
                   10401:       # FIXME: we may have to deal with multi-command sequences.
                   10402:       ;;
                   10403:     '$CC '*)
                   10404:       # Test whether the compiler implicitly links with -lc since on some
                   10405:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   10406:       # to ld, don't add -lc before -lgcc.
                   10407:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   10408: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
                   10409: if ${lt_cv_archive_cmds_need_lc+:} false; then :
                   10410:   $as_echo_n "(cached) " >&6
                   10411: else
                   10412:   $RM conftest*
                   10413:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   10414: 
                   10415:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   10416:   (eval $ac_compile) 2>&5
                   10417:   ac_status=$?
                   10418:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   10419:   test $ac_status = 0; } 2>conftest.err; then
                   10420:          soname=conftest
                   10421:          lib=conftest
                   10422:          libobjs=conftest.$ac_objext
                   10423:          deplibs=
                   10424:          wl=$lt_prog_compiler_wl
                   10425:          pic_flag=$lt_prog_compiler_pic
                   10426:          compiler_flags=-v
                   10427:          linker_flags=-v
                   10428:          verstring=
                   10429:          output_objdir=.
                   10430:          libname=conftest
                   10431:          lt_save_allow_undefined_flag=$allow_undefined_flag
                   10432:          allow_undefined_flag=
                   10433:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
                   10434:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   10435:   ac_status=$?
                   10436:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   10437:   test $ac_status = 0; }
                   10438:          then
                   10439:            lt_cv_archive_cmds_need_lc=no
                   10440:          else
                   10441:            lt_cv_archive_cmds_need_lc=yes
                   10442:          fi
                   10443:          allow_undefined_flag=$lt_save_allow_undefined_flag
                   10444:        else
                   10445:          cat conftest.err 1>&5
                   10446:        fi
                   10447:        $RM conftest*
                   10448: 
                   10449: fi
                   10450: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
                   10451: $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
                   10452:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
                   10453:       ;;
                   10454:     esac
                   10455:   fi
                   10456:   ;;
                   10457: esac
                   10458: 
                   10459: 
                   10460: 
                   10461: 
                   10462: 
                   10463: 
                   10464: 
                   10465: 
                   10466: 
                   10467: 
                   10468: 
                   10469: 
                   10470: 
                   10471: 
                   10472: 
                   10473: 
                   10474: 
                   10475: 
                   10476: 
                   10477: 
                   10478: 
                   10479: 
                   10480: 
                   10481: 
                   10482: 
                   10483: 
                   10484: 
                   10485: 
                   10486: 
                   10487: 
                   10488: 
                   10489: 
                   10490: 
                   10491: 
                   10492: 
                   10493: 
                   10494: 
                   10495: 
                   10496: 
                   10497: 
                   10498: 
                   10499: 
                   10500: 
                   10501: 
                   10502: 
                   10503: 
                   10504: 
                   10505: 
                   10506: 
                   10507: 
                   10508: 
                   10509: 
                   10510: 
                   10511: 
                   10512: 
                   10513: 
                   10514: 
                   10515: 
                   10516: 
                   10517: 
                   10518: 
                   10519: 
                   10520: 
                   10521: 
                   10522: 
                   10523: 
                   10524: 
                   10525: 
                   10526: 
                   10527: 
                   10528: 
                   10529: 
                   10530: 
                   10531: 
                   10532: 
                   10533: 
                   10534: 
                   10535: 
                   10536: 
                   10537: 
                   10538: 
                   10539: 
                   10540: 
                   10541: 
                   10542: 
                   10543: 
                   10544: 
                   10545: 
                   10546: 
                   10547: 
                   10548: 
                   10549: 
                   10550: 
                   10551: 
                   10552: 
                   10553: 
                   10554: 
                   10555: 
                   10556: 
                   10557: 
                   10558: 
                   10559: 
                   10560: 
                   10561: 
                   10562: 
                   10563: 
                   10564: 
                   10565: 
                   10566: 
                   10567: 
                   10568: 
                   10569: 
                   10570: 
                   10571: 
                   10572: 
                   10573: 
                   10574: 
                   10575: 
                   10576: 
                   10577: 
                   10578: 
                   10579: 
                   10580: 
                   10581: 
                   10582: 
                   10583: 
                   10584: 
                   10585: 
                   10586: 
                   10587: 
                   10588: 
                   10589: 
                   10590: 
                   10591: 
                   10592: 
                   10593: 
                   10594: 
                   10595: 
                   10596: 
                   10597: 
                   10598: 
                   10599: 
                   10600: 
                   10601: 
                   10602: 
                   10603: 
                   10604: 
                   10605: 
                   10606: 
                   10607: 
                   10608: 
                   10609: 
                   10610:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   10611: $as_echo_n "checking dynamic linker characteristics... " >&6; }
                   10612: 
                   10613: if test "$GCC" = yes; then
                   10614:   case $host_os in
                   10615:     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
                   10616:     *) lt_awk_arg="/^libraries:/" ;;
                   10617:   esac
                   10618:   case $host_os in
                   10619:     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
                   10620:     *) lt_sed_strip_eq="s,=/,/,g" ;;
                   10621:   esac
                   10622:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
                   10623:   case $lt_search_path_spec in
                   10624:   *\;*)
                   10625:     # if the path contains ";" then we assume it to be the separator
                   10626:     # otherwise default to the standard path separator (i.e. ":") - it is
                   10627:     # assumed that no part of a normal pathname contains ";" but that should
                   10628:     # okay in the real world where ";" in dirpaths is itself problematic.
                   10629:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
                   10630:     ;;
                   10631:   *)
                   10632:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
                   10633:     ;;
                   10634:   esac
                   10635:   # Ok, now we have the path, separated by spaces, we can step through it
                   10636:   # and add multilib dir if necessary.
                   10637:   lt_tmp_lt_search_path_spec=
                   10638:   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
                   10639:   for lt_sys_path in $lt_search_path_spec; do
                   10640:     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
                   10641:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
                   10642:     else
                   10643:       test -d "$lt_sys_path" && \
                   10644:        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
                   10645:     fi
                   10646:   done
                   10647:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
                   10648: BEGIN {RS=" "; FS="/|\n";} {
                   10649:   lt_foo="";
                   10650:   lt_count=0;
                   10651:   for (lt_i = NF; lt_i > 0; lt_i--) {
                   10652:     if ($lt_i != "" && $lt_i != ".") {
                   10653:       if ($lt_i == "..") {
                   10654:         lt_count++;
                   10655:       } else {
                   10656:         if (lt_count == 0) {
                   10657:           lt_foo="/" $lt_i lt_foo;
                   10658:         } else {
                   10659:           lt_count--;
                   10660:         }
                   10661:       }
                   10662:     }
                   10663:   }
                   10664:   if (lt_foo != "") { lt_freq[lt_foo]++; }
                   10665:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
                   10666: }'`
                   10667:   # AWK program above erroneously prepends '/' to C:/dos/paths
                   10668:   # for these hosts.
                   10669:   case $host_os in
                   10670:     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
                   10671:       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
                   10672:   esac
                   10673:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
                   10674: else
                   10675:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   10676: fi
                   10677: library_names_spec=
                   10678: libname_spec='lib$name'
                   10679: soname_spec=
                   10680: shrext_cmds=".so"
                   10681: postinstall_cmds=
                   10682: postuninstall_cmds=
                   10683: finish_cmds=
                   10684: finish_eval=
                   10685: shlibpath_var=
                   10686: shlibpath_overrides_runpath=unknown
                   10687: version_type=none
                   10688: dynamic_linker="$host_os ld.so"
                   10689: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   10690: need_lib_prefix=unknown
                   10691: hardcode_into_libs=no
                   10692: 
                   10693: # when you set need_version to no, make sure it does not cause -set_version
                   10694: # flags to be left without arguments
                   10695: need_version=unknown
                   10696: 
                   10697: case $host_os in
                   10698: aix3*)
1.1.1.2 ! misho    10699:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    10700:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   10701:   shlibpath_var=LIBPATH
                   10702: 
                   10703:   # AIX 3 has no versioning support, so we append a major version to the name.
                   10704:   soname_spec='${libname}${release}${shared_ext}$major'
                   10705:   ;;
                   10706: 
                   10707: aix[4-9]*)
1.1.1.2 ! misho    10708:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    10709:   need_lib_prefix=no
                   10710:   need_version=no
                   10711:   hardcode_into_libs=yes
                   10712:   if test "$host_cpu" = ia64; then
                   10713:     # AIX 5 supports IA64
                   10714:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   10715:     shlibpath_var=LD_LIBRARY_PATH
                   10716:   else
                   10717:     # With GCC up to 2.95.x, collect2 would create an import file
                   10718:     # for dependence libraries.  The import file would start with
                   10719:     # the line `#! .'.  This would cause the generated library to
                   10720:     # depend on `.', always an invalid library.  This was fixed in
                   10721:     # development snapshots of GCC prior to 3.0.
                   10722:     case $host_os in
                   10723:       aix4 | aix4.[01] | aix4.[01].*)
                   10724:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   10725:           echo ' yes '
                   10726:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   10727:        :
                   10728:       else
                   10729:        can_build_shared=no
                   10730:       fi
                   10731:       ;;
                   10732:     esac
                   10733:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   10734:     # soname into executable. Probably we can add versioning support to
                   10735:     # collect2, so additional links can be useful in future.
                   10736:     if test "$aix_use_runtimelinking" = yes; then
                   10737:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   10738:       # instead of lib<name>.a to let people know that these are not
                   10739:       # typical AIX shared libraries.
                   10740:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10741:     else
                   10742:       # We preserve .a as extension for shared libraries through AIX4.2
                   10743:       # and later when we are not doing run time linking.
                   10744:       library_names_spec='${libname}${release}.a $libname.a'
                   10745:       soname_spec='${libname}${release}${shared_ext}$major'
                   10746:     fi
                   10747:     shlibpath_var=LIBPATH
                   10748:   fi
                   10749:   ;;
                   10750: 
                   10751: amigaos*)
                   10752:   case $host_cpu in
                   10753:   powerpc)
                   10754:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   10755:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   10756:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10757:     ;;
                   10758:   m68k)
                   10759:     library_names_spec='$libname.ixlibrary $libname.a'
                   10760:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   10761:     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'
                   10762:     ;;
                   10763:   esac
                   10764:   ;;
                   10765: 
                   10766: beos*)
                   10767:   library_names_spec='${libname}${shared_ext}'
                   10768:   dynamic_linker="$host_os ld.so"
                   10769:   shlibpath_var=LIBRARY_PATH
                   10770:   ;;
                   10771: 
                   10772: bsdi[45]*)
1.1.1.2 ! misho    10773:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    10774:   need_version=no
                   10775:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10776:   soname_spec='${libname}${release}${shared_ext}$major'
                   10777:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   10778:   shlibpath_var=LD_LIBRARY_PATH
                   10779:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   10780:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   10781:   # the default ld.so.conf also contains /usr/contrib/lib and
                   10782:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   10783:   # libtool to hard-code these into programs
                   10784:   ;;
                   10785: 
                   10786: cygwin* | mingw* | pw32* | cegcc*)
                   10787:   version_type=windows
                   10788:   shrext_cmds=".dll"
                   10789:   need_version=no
                   10790:   need_lib_prefix=no
                   10791: 
                   10792:   case $GCC,$cc_basename in
                   10793:   yes,*)
                   10794:     # gcc
                   10795:     library_names_spec='$libname.dll.a'
                   10796:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   10797:     postinstall_cmds='base_file=`basename \${file}`~
                   10798:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   10799:       dldir=$destdir/`dirname \$dlpath`~
                   10800:       test -d \$dldir || mkdir -p \$dldir~
                   10801:       $install_prog $dir/$dlname \$dldir/$dlname~
                   10802:       chmod a+x \$dldir/$dlname~
                   10803:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   10804:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   10805:       fi'
                   10806:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   10807:       dlpath=$dir/\$dldll~
                   10808:        $RM \$dlpath'
                   10809:     shlibpath_overrides_runpath=yes
                   10810: 
                   10811:     case $host_os in
                   10812:     cygwin*)
                   10813:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   10814:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10815: 
                   10816:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
                   10817:       ;;
                   10818:     mingw* | cegcc*)
                   10819:       # MinGW DLLs use traditional 'lib' prefix
                   10820:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10821:       ;;
                   10822:     pw32*)
                   10823:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   10824:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10825:       ;;
                   10826:     esac
                   10827:     dynamic_linker='Win32 ld.exe'
                   10828:     ;;
                   10829: 
                   10830:   *,cl*)
                   10831:     # Native MSVC
                   10832:     libname_spec='$name'
                   10833:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10834:     library_names_spec='${libname}.dll.lib'
                   10835: 
                   10836:     case $build_os in
                   10837:     mingw*)
                   10838:       sys_lib_search_path_spec=
                   10839:       lt_save_ifs=$IFS
                   10840:       IFS=';'
                   10841:       for lt_path in $LIB
                   10842:       do
                   10843:         IFS=$lt_save_ifs
                   10844:         # Let DOS variable expansion print the short 8.3 style file name.
                   10845:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   10846:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   10847:       done
                   10848:       IFS=$lt_save_ifs
                   10849:       # Convert to MSYS style.
                   10850:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   10851:       ;;
                   10852:     cygwin*)
                   10853:       # Convert to unix form, then to dos form, then back to unix form
                   10854:       # but this time dos style (no spaces!) so that the unix form looks
                   10855:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   10856:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   10857:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   10858:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   10859:       ;;
                   10860:     *)
                   10861:       sys_lib_search_path_spec="$LIB"
                   10862:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   10863:         # It is most probably a Windows format PATH.
                   10864:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   10865:       else
                   10866:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   10867:       fi
                   10868:       # FIXME: find the short name or the path components, as spaces are
                   10869:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   10870:       ;;
                   10871:     esac
                   10872: 
                   10873:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   10874:     postinstall_cmds='base_file=`basename \${file}`~
                   10875:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   10876:       dldir=$destdir/`dirname \$dlpath`~
                   10877:       test -d \$dldir || mkdir -p \$dldir~
                   10878:       $install_prog $dir/$dlname \$dldir/$dlname'
                   10879:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   10880:       dlpath=$dir/\$dldll~
                   10881:        $RM \$dlpath'
                   10882:     shlibpath_overrides_runpath=yes
                   10883:     dynamic_linker='Win32 link.exe'
                   10884:     ;;
                   10885: 
                   10886:   *)
                   10887:     # Assume MSVC wrapper
                   10888:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   10889:     dynamic_linker='Win32 ld.exe'
                   10890:     ;;
                   10891:   esac
                   10892:   # FIXME: first we should search . and the directory the executable is in
                   10893:   shlibpath_var=PATH
                   10894:   ;;
                   10895: 
                   10896: darwin* | rhapsody*)
                   10897:   dynamic_linker="$host_os dyld"
                   10898:   version_type=darwin
                   10899:   need_lib_prefix=no
                   10900:   need_version=no
                   10901:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   10902:   soname_spec='${libname}${release}${major}$shared_ext'
                   10903:   shlibpath_overrides_runpath=yes
                   10904:   shlibpath_var=DYLD_LIBRARY_PATH
                   10905:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   10906: 
                   10907:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
                   10908:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   10909:   ;;
                   10910: 
                   10911: dgux*)
1.1.1.2 ! misho    10912:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    10913:   need_lib_prefix=no
                   10914:   need_version=no
                   10915:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   10916:   soname_spec='${libname}${release}${shared_ext}$major'
                   10917:   shlibpath_var=LD_LIBRARY_PATH
                   10918:   ;;
                   10919: 
                   10920: freebsd* | dragonfly*)
                   10921:   # DragonFly does not have aout.  When/if they implement a new
                   10922:   # versioning mechanism, adjust this.
                   10923:   if test -x /usr/bin/objformat; then
                   10924:     objformat=`/usr/bin/objformat`
                   10925:   else
                   10926:     case $host_os in
1.1.1.2 ! misho    10927:     freebsd[23].*) objformat=aout ;;
1.1       misho    10928:     *) objformat=elf ;;
                   10929:     esac
                   10930:   fi
1.1.1.2 ! misho    10931:   # Handle Gentoo/FreeBSD as it was Linux
        !          10932:   case $host_vendor in
        !          10933:     gentoo)
        !          10934:       version_type=linux ;;
        !          10935:     *)
        !          10936:       version_type=freebsd-$objformat ;;
        !          10937:   esac
        !          10938: 
1.1       misho    10939:   case $version_type in
                   10940:     freebsd-elf*)
                   10941:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   10942:       need_version=no
                   10943:       need_lib_prefix=no
                   10944:       ;;
                   10945:     freebsd-*)
                   10946:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   10947:       need_version=yes
                   10948:       ;;
1.1.1.2 ! misho    10949:     linux)
        !          10950:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
        !          10951:       soname_spec='${libname}${release}${shared_ext}$major'
        !          10952:       need_lib_prefix=no
        !          10953:       need_version=no
        !          10954:       ;;
1.1       misho    10955:   esac
                   10956:   shlibpath_var=LD_LIBRARY_PATH
                   10957:   case $host_os in
1.1.1.2 ! misho    10958:   freebsd2.*)
1.1       misho    10959:     shlibpath_overrides_runpath=yes
                   10960:     ;;
                   10961:   freebsd3.[01]* | freebsdelf3.[01]*)
                   10962:     shlibpath_overrides_runpath=yes
                   10963:     hardcode_into_libs=yes
                   10964:     ;;
                   10965:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   10966:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   10967:     shlibpath_overrides_runpath=no
                   10968:     hardcode_into_libs=yes
                   10969:     ;;
                   10970:   *) # from 4.6 on, and DragonFly
                   10971:     shlibpath_overrides_runpath=yes
                   10972:     hardcode_into_libs=yes
                   10973:     ;;
                   10974:   esac
                   10975:   ;;
                   10976: 
                   10977: gnu*)
1.1.1.2 ! misho    10978:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    10979:   need_lib_prefix=no
                   10980:   need_version=no
                   10981:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   10982:   soname_spec='${libname}${release}${shared_ext}$major'
                   10983:   shlibpath_var=LD_LIBRARY_PATH
1.1.1.2 ! misho    10984:   shlibpath_overrides_runpath=no
1.1       misho    10985:   hardcode_into_libs=yes
                   10986:   ;;
                   10987: 
                   10988: haiku*)
1.1.1.2 ! misho    10989:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    10990:   need_lib_prefix=no
                   10991:   need_version=no
                   10992:   dynamic_linker="$host_os runtime_loader"
                   10993:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   10994:   soname_spec='${libname}${release}${shared_ext}$major'
                   10995:   shlibpath_var=LIBRARY_PATH
                   10996:   shlibpath_overrides_runpath=yes
                   10997:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   10998:   hardcode_into_libs=yes
                   10999:   ;;
                   11000: 
                   11001: hpux9* | hpux10* | hpux11*)
                   11002:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   11003:   # link against other versions.
                   11004:   version_type=sunos
                   11005:   need_lib_prefix=no
                   11006:   need_version=no
                   11007:   case $host_cpu in
                   11008:   ia64*)
                   11009:     shrext_cmds='.so'
                   11010:     hardcode_into_libs=yes
                   11011:     dynamic_linker="$host_os dld.so"
                   11012:     shlibpath_var=LD_LIBRARY_PATH
                   11013:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   11014:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11015:     soname_spec='${libname}${release}${shared_ext}$major'
                   11016:     if test "X$HPUX_IA64_MODE" = X32; then
                   11017:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   11018:     else
                   11019:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   11020:     fi
                   11021:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   11022:     ;;
                   11023:   hppa*64*)
                   11024:     shrext_cmds='.sl'
                   11025:     hardcode_into_libs=yes
                   11026:     dynamic_linker="$host_os dld.sl"
                   11027:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   11028:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   11029:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11030:     soname_spec='${libname}${release}${shared_ext}$major'
                   11031:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   11032:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   11033:     ;;
                   11034:   *)
                   11035:     shrext_cmds='.sl'
                   11036:     dynamic_linker="$host_os dld.sl"
                   11037:     shlibpath_var=SHLIB_PATH
                   11038:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   11039:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11040:     soname_spec='${libname}${release}${shared_ext}$major'
                   11041:     ;;
                   11042:   esac
                   11043:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   11044:   postinstall_cmds='chmod 555 $lib'
                   11045:   # or fails outright, so override atomically:
                   11046:   install_override_mode=555
                   11047:   ;;
                   11048: 
                   11049: interix[3-9]*)
1.1.1.2 ! misho    11050:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    11051:   need_lib_prefix=no
                   11052:   need_version=no
                   11053:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   11054:   soname_spec='${libname}${release}${shared_ext}$major'
                   11055:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   11056:   shlibpath_var=LD_LIBRARY_PATH
                   11057:   shlibpath_overrides_runpath=no
                   11058:   hardcode_into_libs=yes
                   11059:   ;;
                   11060: 
                   11061: irix5* | irix6* | nonstopux*)
                   11062:   case $host_os in
                   11063:     nonstopux*) version_type=nonstopux ;;
                   11064:     *)
                   11065:        if test "$lt_cv_prog_gnu_ld" = yes; then
1.1.1.2 ! misho    11066:                version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    11067:        else
                   11068:                version_type=irix
                   11069:        fi ;;
                   11070:   esac
                   11071:   need_lib_prefix=no
                   11072:   need_version=no
                   11073:   soname_spec='${libname}${release}${shared_ext}$major'
                   11074:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   11075:   case $host_os in
                   11076:   irix5* | nonstopux*)
                   11077:     libsuff= shlibsuff=
                   11078:     ;;
                   11079:   *)
                   11080:     case $LD in # libtool.m4 will add one of these switches to LD
                   11081:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   11082:       libsuff= shlibsuff= libmagic=32-bit;;
                   11083:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   11084:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   11085:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   11086:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   11087:     *) libsuff= shlibsuff= libmagic=never-match;;
                   11088:     esac
                   11089:     ;;
                   11090:   esac
                   11091:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   11092:   shlibpath_overrides_runpath=no
                   11093:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   11094:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   11095:   hardcode_into_libs=yes
                   11096:   ;;
                   11097: 
                   11098: # No shared lib support for Linux oldld, aout, or coff.
                   11099: linux*oldld* | linux*aout* | linux*coff*)
                   11100:   dynamic_linker=no
                   11101:   ;;
                   11102: 
1.1.1.2 ! misho    11103: # This must be glibc/ELF.
1.1       misho    11104: linux* | k*bsd*-gnu | kopensolaris*-gnu)
1.1.1.2 ! misho    11105:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    11106:   need_lib_prefix=no
                   11107:   need_version=no
                   11108:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11109:   soname_spec='${libname}${release}${shared_ext}$major'
                   11110:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   11111:   shlibpath_var=LD_LIBRARY_PATH
                   11112:   shlibpath_overrides_runpath=no
                   11113: 
                   11114:   # Some binutils ld are patched to set DT_RUNPATH
                   11115:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
                   11116:   $as_echo_n "(cached) " >&6
                   11117: else
                   11118:   lt_cv_shlibpath_overrides_runpath=no
                   11119:     save_LDFLAGS=$LDFLAGS
                   11120:     save_libdir=$libdir
                   11121:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
                   11122:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
                   11123:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11124: /* end confdefs.h.  */
                   11125: 
                   11126: int
                   11127: main ()
                   11128: {
                   11129: 
                   11130:   ;
                   11131:   return 0;
                   11132: }
                   11133: _ACEOF
                   11134: if ac_fn_c_try_link "$LINENO"; then :
                   11135:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
                   11136:   lt_cv_shlibpath_overrides_runpath=yes
                   11137: fi
                   11138: fi
                   11139: rm -f core conftest.err conftest.$ac_objext \
                   11140:     conftest$ac_exeext conftest.$ac_ext
                   11141:     LDFLAGS=$save_LDFLAGS
                   11142:     libdir=$save_libdir
                   11143: 
                   11144: fi
                   11145: 
                   11146:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   11147: 
                   11148:   # This implies no fast_install, which is unacceptable.
                   11149:   # Some rework will be needed to allow for fast_install
                   11150:   # before this can be enabled.
                   11151:   hardcode_into_libs=yes
                   11152: 
                   11153:   # Append ld.so.conf contents to the search path
                   11154:   if test -f /etc/ld.so.conf; then
                   11155:     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    11156:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
1.1       misho    11157:   fi
                   11158: 
                   11159:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   11160:   # powerpc, because MkLinux only supported shared libraries with the
                   11161:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   11162:   # most powerpc-linux boxes support dynamic linking these days and
                   11163:   # people can always --disable-shared, the test was removed, and we
                   11164:   # assume the GNU/Linux dynamic linker is in use.
                   11165:   dynamic_linker='GNU/Linux ld.so'
                   11166:   ;;
                   11167: 
                   11168: netbsd*)
                   11169:   version_type=sunos
                   11170:   need_lib_prefix=no
                   11171:   need_version=no
                   11172:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   11173:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   11174:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   11175:     dynamic_linker='NetBSD (a.out) ld.so'
                   11176:   else
                   11177:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   11178:     soname_spec='${libname}${release}${shared_ext}$major'
                   11179:     dynamic_linker='NetBSD ld.elf_so'
                   11180:   fi
                   11181:   shlibpath_var=LD_LIBRARY_PATH
                   11182:   shlibpath_overrides_runpath=yes
                   11183:   hardcode_into_libs=yes
                   11184:   ;;
                   11185: 
                   11186: newsos6)
1.1.1.2 ! misho    11187:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    11188:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11189:   shlibpath_var=LD_LIBRARY_PATH
                   11190:   shlibpath_overrides_runpath=yes
                   11191:   ;;
                   11192: 
                   11193: *nto* | *qnx*)
                   11194:   version_type=qnx
                   11195:   need_lib_prefix=no
                   11196:   need_version=no
                   11197:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11198:   soname_spec='${libname}${release}${shared_ext}$major'
                   11199:   shlibpath_var=LD_LIBRARY_PATH
                   11200:   shlibpath_overrides_runpath=no
                   11201:   hardcode_into_libs=yes
                   11202:   dynamic_linker='ldqnx.so'
                   11203:   ;;
                   11204: 
                   11205: openbsd*)
                   11206:   version_type=sunos
                   11207:   sys_lib_dlsearch_path_spec="/usr/lib"
                   11208:   need_lib_prefix=no
                   11209:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   11210:   case $host_os in
                   11211:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   11212:     *)                         need_version=no  ;;
                   11213:   esac
                   11214:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   11215:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   11216:   shlibpath_var=LD_LIBRARY_PATH
                   11217:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   11218:     case $host_os in
                   11219:       openbsd2.[89] | openbsd2.[89].*)
                   11220:        shlibpath_overrides_runpath=no
                   11221:        ;;
                   11222:       *)
                   11223:        shlibpath_overrides_runpath=yes
                   11224:        ;;
                   11225:       esac
                   11226:   else
                   11227:     shlibpath_overrides_runpath=yes
                   11228:   fi
                   11229:   ;;
                   11230: 
                   11231: os2*)
                   11232:   libname_spec='$name'
                   11233:   shrext_cmds=".dll"
                   11234:   need_lib_prefix=no
                   11235:   library_names_spec='$libname${shared_ext} $libname.a'
                   11236:   dynamic_linker='OS/2 ld.exe'
                   11237:   shlibpath_var=LIBPATH
                   11238:   ;;
                   11239: 
                   11240: osf3* | osf4* | osf5*)
                   11241:   version_type=osf
                   11242:   need_lib_prefix=no
                   11243:   need_version=no
                   11244:   soname_spec='${libname}${release}${shared_ext}$major'
                   11245:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11246:   shlibpath_var=LD_LIBRARY_PATH
                   11247:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   11248:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   11249:   ;;
                   11250: 
                   11251: rdos*)
                   11252:   dynamic_linker=no
                   11253:   ;;
                   11254: 
                   11255: solaris*)
1.1.1.2 ! misho    11256:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    11257:   need_lib_prefix=no
                   11258:   need_version=no
                   11259:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11260:   soname_spec='${libname}${release}${shared_ext}$major'
                   11261:   shlibpath_var=LD_LIBRARY_PATH
                   11262:   shlibpath_overrides_runpath=yes
                   11263:   hardcode_into_libs=yes
                   11264:   # ldd complains unless libraries are executable
                   11265:   postinstall_cmds='chmod +x $lib'
                   11266:   ;;
                   11267: 
                   11268: sunos4*)
                   11269:   version_type=sunos
                   11270:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   11271:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   11272:   shlibpath_var=LD_LIBRARY_PATH
                   11273:   shlibpath_overrides_runpath=yes
                   11274:   if test "$with_gnu_ld" = yes; then
                   11275:     need_lib_prefix=no
                   11276:   fi
                   11277:   need_version=yes
                   11278:   ;;
                   11279: 
                   11280: sysv4 | sysv4.3*)
1.1.1.2 ! misho    11281:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    11282:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11283:   soname_spec='${libname}${release}${shared_ext}$major'
                   11284:   shlibpath_var=LD_LIBRARY_PATH
                   11285:   case $host_vendor in
                   11286:     sni)
                   11287:       shlibpath_overrides_runpath=no
                   11288:       need_lib_prefix=no
                   11289:       runpath_var=LD_RUN_PATH
                   11290:       ;;
                   11291:     siemens)
                   11292:       need_lib_prefix=no
                   11293:       ;;
                   11294:     motorola)
                   11295:       need_lib_prefix=no
                   11296:       need_version=no
                   11297:       shlibpath_overrides_runpath=no
                   11298:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   11299:       ;;
                   11300:   esac
                   11301:   ;;
                   11302: 
                   11303: sysv4*MP*)
                   11304:   if test -d /usr/nec ;then
1.1.1.2 ! misho    11305:     version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    11306:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   11307:     soname_spec='$libname${shared_ext}.$major'
                   11308:     shlibpath_var=LD_LIBRARY_PATH
                   11309:   fi
                   11310:   ;;
                   11311: 
                   11312: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   11313:   version_type=freebsd-elf
                   11314:   need_lib_prefix=no
                   11315:   need_version=no
                   11316:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   11317:   soname_spec='${libname}${release}${shared_ext}$major'
                   11318:   shlibpath_var=LD_LIBRARY_PATH
                   11319:   shlibpath_overrides_runpath=yes
                   11320:   hardcode_into_libs=yes
                   11321:   if test "$with_gnu_ld" = yes; then
                   11322:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   11323:   else
                   11324:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   11325:     case $host_os in
                   11326:       sco3.2v5*)
                   11327:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   11328:        ;;
                   11329:     esac
                   11330:   fi
                   11331:   sys_lib_dlsearch_path_spec='/usr/lib'
                   11332:   ;;
                   11333: 
                   11334: tpf*)
                   11335:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
1.1.1.2 ! misho    11336:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    11337:   need_lib_prefix=no
                   11338:   need_version=no
                   11339:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11340:   shlibpath_var=LD_LIBRARY_PATH
                   11341:   shlibpath_overrides_runpath=no
                   11342:   hardcode_into_libs=yes
                   11343:   ;;
                   11344: 
                   11345: uts4*)
1.1.1.2 ! misho    11346:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    11347:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   11348:   soname_spec='${libname}${release}${shared_ext}$major'
                   11349:   shlibpath_var=LD_LIBRARY_PATH
                   11350:   ;;
                   11351: 
                   11352: *)
                   11353:   dynamic_linker=no
                   11354:   ;;
                   11355: esac
                   11356: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   11357: $as_echo "$dynamic_linker" >&6; }
                   11358: test "$dynamic_linker" = no && can_build_shared=no
                   11359: 
                   11360: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   11361: if test "$GCC" = yes; then
                   11362:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   11363: fi
                   11364: 
                   11365: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   11366:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   11367: fi
                   11368: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   11369:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   11370: fi
                   11371: 
                   11372: 
                   11373: 
                   11374: 
                   11375: 
                   11376: 
                   11377: 
                   11378: 
                   11379: 
                   11380: 
                   11381: 
                   11382: 
                   11383: 
                   11384: 
                   11385: 
                   11386: 
                   11387: 
                   11388: 
                   11389: 
                   11390: 
                   11391: 
                   11392: 
                   11393: 
                   11394: 
                   11395: 
                   11396: 
                   11397: 
                   11398: 
                   11399: 
                   11400: 
                   11401: 
                   11402: 
                   11403: 
                   11404: 
                   11405: 
                   11406: 
                   11407: 
                   11408: 
                   11409: 
                   11410: 
                   11411: 
                   11412: 
                   11413: 
                   11414: 
                   11415: 
                   11416: 
                   11417: 
                   11418: 
                   11419: 
                   11420: 
                   11421: 
                   11422: 
                   11423: 
                   11424: 
                   11425: 
                   11426: 
                   11427: 
                   11428: 
                   11429: 
                   11430: 
                   11431: 
                   11432: 
                   11433: 
                   11434: 
                   11435: 
                   11436: 
                   11437: 
                   11438: 
                   11439: 
                   11440: 
                   11441: 
                   11442: 
                   11443: 
                   11444: 
                   11445: 
                   11446: 
                   11447: 
                   11448: 
                   11449: 
                   11450: 
                   11451: 
                   11452: 
                   11453: 
                   11454: 
                   11455: 
                   11456: 
                   11457: 
                   11458: 
                   11459: 
                   11460: 
                   11461: 
                   11462: 
                   11463:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   11464: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
                   11465: hardcode_action=
                   11466: if test -n "$hardcode_libdir_flag_spec" ||
                   11467:    test -n "$runpath_var" ||
                   11468:    test "X$hardcode_automatic" = "Xyes" ; then
                   11469: 
                   11470:   # We can hardcode non-existent directories.
                   11471:   if test "$hardcode_direct" != no &&
                   11472:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   11473:      # have to relink, otherwise we might link with an installed library
                   11474:      # when we should be linking with a yet-to-be-installed one
                   11475:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
                   11476:      test "$hardcode_minus_L" != no; then
                   11477:     # Linking always hardcodes the temporary library directory.
                   11478:     hardcode_action=relink
                   11479:   else
                   11480:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   11481:     hardcode_action=immediate
                   11482:   fi
                   11483: else
                   11484:   # We cannot hardcode anything, or else we can only hardcode existing
                   11485:   # directories.
                   11486:   hardcode_action=unsupported
                   11487: fi
                   11488: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
                   11489: $as_echo "$hardcode_action" >&6; }
                   11490: 
                   11491: if test "$hardcode_action" = relink ||
                   11492:    test "$inherit_rpath" = yes; then
                   11493:   # Fast installation is not supported
                   11494:   enable_fast_install=no
                   11495: elif test "$shlibpath_overrides_runpath" = yes ||
                   11496:      test "$enable_shared" = no; then
                   11497:   # Fast installation is not necessary
                   11498:   enable_fast_install=needless
                   11499: fi
                   11500: 
                   11501: 
                   11502: 
                   11503: 
                   11504: 
                   11505: 
                   11506:   if test "x$enable_dlopen" != xyes; then
                   11507:   enable_dlopen=unknown
                   11508:   enable_dlopen_self=unknown
                   11509:   enable_dlopen_self_static=unknown
                   11510: else
                   11511:   lt_cv_dlopen=no
                   11512:   lt_cv_dlopen_libs=
                   11513: 
                   11514:   case $host_os in
                   11515:   beos*)
                   11516:     lt_cv_dlopen="load_add_on"
                   11517:     lt_cv_dlopen_libs=
                   11518:     lt_cv_dlopen_self=yes
                   11519:     ;;
                   11520: 
                   11521:   mingw* | pw32* | cegcc*)
                   11522:     lt_cv_dlopen="LoadLibrary"
                   11523:     lt_cv_dlopen_libs=
                   11524:     ;;
                   11525: 
                   11526:   cygwin*)
                   11527:     lt_cv_dlopen="dlopen"
                   11528:     lt_cv_dlopen_libs=
                   11529:     ;;
                   11530: 
                   11531:   darwin*)
                   11532:   # if libdl is installed we need to link against it
                   11533:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   11534: $as_echo_n "checking for dlopen in -ldl... " >&6; }
                   11535: if ${ac_cv_lib_dl_dlopen+:} false; then :
                   11536:   $as_echo_n "(cached) " >&6
                   11537: else
                   11538:   ac_check_lib_save_LIBS=$LIBS
                   11539: LIBS="-ldl  $LIBS"
                   11540: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11541: /* end confdefs.h.  */
                   11542: 
                   11543: /* Override any GCC internal prototype to avoid an error.
                   11544:    Use char because int might match the return type of a GCC
                   11545:    builtin and then its argument prototype would still apply.  */
                   11546: #ifdef __cplusplus
                   11547: extern "C"
                   11548: #endif
                   11549: char dlopen ();
                   11550: int
                   11551: main ()
                   11552: {
                   11553: return dlopen ();
                   11554:   ;
                   11555:   return 0;
                   11556: }
                   11557: _ACEOF
                   11558: if ac_fn_c_try_link "$LINENO"; then :
                   11559:   ac_cv_lib_dl_dlopen=yes
                   11560: else
                   11561:   ac_cv_lib_dl_dlopen=no
                   11562: fi
                   11563: rm -f core conftest.err conftest.$ac_objext \
                   11564:     conftest$ac_exeext conftest.$ac_ext
                   11565: LIBS=$ac_check_lib_save_LIBS
                   11566: fi
                   11567: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   11568: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
                   11569: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
                   11570:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   11571: else
                   11572: 
                   11573:     lt_cv_dlopen="dyld"
                   11574:     lt_cv_dlopen_libs=
                   11575:     lt_cv_dlopen_self=yes
                   11576: 
                   11577: fi
                   11578: 
                   11579:     ;;
                   11580: 
                   11581:   *)
                   11582:     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
                   11583: if test "x$ac_cv_func_shl_load" = xyes; then :
                   11584:   lt_cv_dlopen="shl_load"
                   11585: else
                   11586:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   11587: $as_echo_n "checking for shl_load in -ldld... " >&6; }
                   11588: if ${ac_cv_lib_dld_shl_load+:} false; then :
                   11589:   $as_echo_n "(cached) " >&6
                   11590: else
                   11591:   ac_check_lib_save_LIBS=$LIBS
                   11592: LIBS="-ldld  $LIBS"
                   11593: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11594: /* end confdefs.h.  */
                   11595: 
                   11596: /* Override any GCC internal prototype to avoid an error.
                   11597:    Use char because int might match the return type of a GCC
                   11598:    builtin and then its argument prototype would still apply.  */
                   11599: #ifdef __cplusplus
                   11600: extern "C"
                   11601: #endif
                   11602: char shl_load ();
                   11603: int
                   11604: main ()
                   11605: {
                   11606: return shl_load ();
                   11607:   ;
                   11608:   return 0;
                   11609: }
                   11610: _ACEOF
                   11611: if ac_fn_c_try_link "$LINENO"; then :
                   11612:   ac_cv_lib_dld_shl_load=yes
                   11613: else
                   11614:   ac_cv_lib_dld_shl_load=no
                   11615: fi
                   11616: rm -f core conftest.err conftest.$ac_objext \
                   11617:     conftest$ac_exeext conftest.$ac_ext
                   11618: LIBS=$ac_check_lib_save_LIBS
                   11619: fi
                   11620: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   11621: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
                   11622: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
                   11623:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
                   11624: else
                   11625:   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
                   11626: if test "x$ac_cv_func_dlopen" = xyes; then :
                   11627:   lt_cv_dlopen="dlopen"
                   11628: else
                   11629:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   11630: $as_echo_n "checking for dlopen in -ldl... " >&6; }
                   11631: if ${ac_cv_lib_dl_dlopen+:} false; then :
                   11632:   $as_echo_n "(cached) " >&6
                   11633: else
                   11634:   ac_check_lib_save_LIBS=$LIBS
                   11635: LIBS="-ldl  $LIBS"
                   11636: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11637: /* end confdefs.h.  */
                   11638: 
                   11639: /* Override any GCC internal prototype to avoid an error.
                   11640:    Use char because int might match the return type of a GCC
                   11641:    builtin and then its argument prototype would still apply.  */
                   11642: #ifdef __cplusplus
                   11643: extern "C"
                   11644: #endif
                   11645: char dlopen ();
                   11646: int
                   11647: main ()
                   11648: {
                   11649: return dlopen ();
                   11650:   ;
                   11651:   return 0;
                   11652: }
                   11653: _ACEOF
                   11654: if ac_fn_c_try_link "$LINENO"; then :
                   11655:   ac_cv_lib_dl_dlopen=yes
                   11656: else
                   11657:   ac_cv_lib_dl_dlopen=no
                   11658: fi
                   11659: rm -f core conftest.err conftest.$ac_objext \
                   11660:     conftest$ac_exeext conftest.$ac_ext
                   11661: LIBS=$ac_check_lib_save_LIBS
                   11662: fi
                   11663: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   11664: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
                   11665: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
                   11666:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   11667: else
                   11668:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   11669: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
                   11670: if ${ac_cv_lib_svld_dlopen+:} false; then :
                   11671:   $as_echo_n "(cached) " >&6
                   11672: else
                   11673:   ac_check_lib_save_LIBS=$LIBS
                   11674: LIBS="-lsvld  $LIBS"
                   11675: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11676: /* end confdefs.h.  */
                   11677: 
                   11678: /* Override any GCC internal prototype to avoid an error.
                   11679:    Use char because int might match the return type of a GCC
                   11680:    builtin and then its argument prototype would still apply.  */
                   11681: #ifdef __cplusplus
                   11682: extern "C"
                   11683: #endif
                   11684: char dlopen ();
                   11685: int
                   11686: main ()
                   11687: {
                   11688: return dlopen ();
                   11689:   ;
                   11690:   return 0;
                   11691: }
                   11692: _ACEOF
                   11693: if ac_fn_c_try_link "$LINENO"; then :
                   11694:   ac_cv_lib_svld_dlopen=yes
                   11695: else
                   11696:   ac_cv_lib_svld_dlopen=no
                   11697: fi
                   11698: rm -f core conftest.err conftest.$ac_objext \
                   11699:     conftest$ac_exeext conftest.$ac_ext
                   11700: LIBS=$ac_check_lib_save_LIBS
                   11701: fi
                   11702: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   11703: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
                   11704: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
                   11705:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
                   11706: else
                   11707:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   11708: $as_echo_n "checking for dld_link in -ldld... " >&6; }
                   11709: if ${ac_cv_lib_dld_dld_link+:} false; then :
                   11710:   $as_echo_n "(cached) " >&6
                   11711: else
                   11712:   ac_check_lib_save_LIBS=$LIBS
                   11713: LIBS="-ldld  $LIBS"
                   11714: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11715: /* end confdefs.h.  */
                   11716: 
                   11717: /* Override any GCC internal prototype to avoid an error.
                   11718:    Use char because int might match the return type of a GCC
                   11719:    builtin and then its argument prototype would still apply.  */
                   11720: #ifdef __cplusplus
                   11721: extern "C"
                   11722: #endif
                   11723: char dld_link ();
                   11724: int
                   11725: main ()
                   11726: {
                   11727: return dld_link ();
                   11728:   ;
                   11729:   return 0;
                   11730: }
                   11731: _ACEOF
                   11732: if ac_fn_c_try_link "$LINENO"; then :
                   11733:   ac_cv_lib_dld_dld_link=yes
                   11734: else
                   11735:   ac_cv_lib_dld_dld_link=no
                   11736: fi
                   11737: rm -f core conftest.err conftest.$ac_objext \
                   11738:     conftest$ac_exeext conftest.$ac_ext
                   11739: LIBS=$ac_check_lib_save_LIBS
                   11740: fi
                   11741: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   11742: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
                   11743: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
                   11744:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
                   11745: fi
                   11746: 
                   11747: 
                   11748: fi
                   11749: 
                   11750: 
                   11751: fi
                   11752: 
                   11753: 
                   11754: fi
                   11755: 
                   11756: 
                   11757: fi
                   11758: 
                   11759: 
                   11760: fi
                   11761: 
                   11762:     ;;
                   11763:   esac
                   11764: 
                   11765:   if test "x$lt_cv_dlopen" != xno; then
                   11766:     enable_dlopen=yes
                   11767:   else
                   11768:     enable_dlopen=no
                   11769:   fi
                   11770: 
                   11771:   case $lt_cv_dlopen in
                   11772:   dlopen)
                   11773:     save_CPPFLAGS="$CPPFLAGS"
                   11774:     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
                   11775: 
                   11776:     save_LDFLAGS="$LDFLAGS"
                   11777:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
                   11778: 
                   11779:     save_LIBS="$LIBS"
                   11780:     LIBS="$lt_cv_dlopen_libs $LIBS"
                   11781: 
                   11782:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
                   11783: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
                   11784: if ${lt_cv_dlopen_self+:} false; then :
                   11785:   $as_echo_n "(cached) " >&6
                   11786: else
                   11787:          if test "$cross_compiling" = yes; then :
                   11788:   lt_cv_dlopen_self=cross
                   11789: else
                   11790:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   11791:   lt_status=$lt_dlunknown
                   11792:   cat > conftest.$ac_ext <<_LT_EOF
                   11793: #line $LINENO "configure"
                   11794: #include "confdefs.h"
                   11795: 
                   11796: #if HAVE_DLFCN_H
                   11797: #include <dlfcn.h>
                   11798: #endif
                   11799: 
                   11800: #include <stdio.h>
                   11801: 
                   11802: #ifdef RTLD_GLOBAL
                   11803: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   11804: #else
                   11805: #  ifdef DL_GLOBAL
                   11806: #    define LT_DLGLOBAL                DL_GLOBAL
                   11807: #  else
                   11808: #    define LT_DLGLOBAL                0
                   11809: #  endif
                   11810: #endif
                   11811: 
                   11812: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   11813:    find out it does not work in some platform. */
                   11814: #ifndef LT_DLLAZY_OR_NOW
                   11815: #  ifdef RTLD_LAZY
                   11816: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   11817: #  else
                   11818: #    ifdef DL_LAZY
                   11819: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   11820: #    else
                   11821: #      ifdef RTLD_NOW
                   11822: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   11823: #      else
                   11824: #        ifdef DL_NOW
                   11825: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   11826: #        else
                   11827: #          define LT_DLLAZY_OR_NOW     0
                   11828: #        endif
                   11829: #      endif
                   11830: #    endif
                   11831: #  endif
                   11832: #endif
                   11833: 
                   11834: /* When -fvisbility=hidden is used, assume the code has been annotated
                   11835:    correspondingly for the symbols needed.  */
                   11836: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   11837: int fnord () __attribute__((visibility("default")));
                   11838: #endif
                   11839: 
                   11840: int fnord () { return 42; }
                   11841: int main ()
                   11842: {
                   11843:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   11844:   int status = $lt_dlunknown;
                   11845: 
                   11846:   if (self)
                   11847:     {
                   11848:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   11849:       else
                   11850:         {
                   11851:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   11852:           else puts (dlerror ());
                   11853:        }
                   11854:       /* dlclose (self); */
                   11855:     }
                   11856:   else
                   11857:     puts (dlerror ());
                   11858: 
                   11859:   return status;
                   11860: }
                   11861: _LT_EOF
                   11862:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
                   11863:   (eval $ac_link) 2>&5
                   11864:   ac_status=$?
                   11865:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   11866:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
                   11867:     (./conftest; exit; ) >&5 2>/dev/null
                   11868:     lt_status=$?
                   11869:     case x$lt_status in
                   11870:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   11871:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
                   11872:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
                   11873:     esac
                   11874:   else :
                   11875:     # compilation failed
                   11876:     lt_cv_dlopen_self=no
                   11877:   fi
                   11878: fi
                   11879: rm -fr conftest*
                   11880: 
                   11881: 
                   11882: fi
                   11883: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
                   11884: $as_echo "$lt_cv_dlopen_self" >&6; }
                   11885: 
                   11886:     if test "x$lt_cv_dlopen_self" = xyes; then
                   11887:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
                   11888:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
                   11889: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
                   11890: if ${lt_cv_dlopen_self_static+:} false; then :
                   11891:   $as_echo_n "(cached) " >&6
                   11892: else
                   11893:          if test "$cross_compiling" = yes; then :
                   11894:   lt_cv_dlopen_self_static=cross
                   11895: else
                   11896:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   11897:   lt_status=$lt_dlunknown
                   11898:   cat > conftest.$ac_ext <<_LT_EOF
                   11899: #line $LINENO "configure"
                   11900: #include "confdefs.h"
                   11901: 
                   11902: #if HAVE_DLFCN_H
                   11903: #include <dlfcn.h>
                   11904: #endif
                   11905: 
                   11906: #include <stdio.h>
                   11907: 
                   11908: #ifdef RTLD_GLOBAL
                   11909: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   11910: #else
                   11911: #  ifdef DL_GLOBAL
                   11912: #    define LT_DLGLOBAL                DL_GLOBAL
                   11913: #  else
                   11914: #    define LT_DLGLOBAL                0
                   11915: #  endif
                   11916: #endif
                   11917: 
                   11918: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   11919:    find out it does not work in some platform. */
                   11920: #ifndef LT_DLLAZY_OR_NOW
                   11921: #  ifdef RTLD_LAZY
                   11922: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   11923: #  else
                   11924: #    ifdef DL_LAZY
                   11925: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   11926: #    else
                   11927: #      ifdef RTLD_NOW
                   11928: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   11929: #      else
                   11930: #        ifdef DL_NOW
                   11931: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   11932: #        else
                   11933: #          define LT_DLLAZY_OR_NOW     0
                   11934: #        endif
                   11935: #      endif
                   11936: #    endif
                   11937: #  endif
                   11938: #endif
                   11939: 
                   11940: /* When -fvisbility=hidden is used, assume the code has been annotated
                   11941:    correspondingly for the symbols needed.  */
                   11942: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   11943: int fnord () __attribute__((visibility("default")));
                   11944: #endif
                   11945: 
                   11946: int fnord () { return 42; }
                   11947: int main ()
                   11948: {
                   11949:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   11950:   int status = $lt_dlunknown;
                   11951: 
                   11952:   if (self)
                   11953:     {
                   11954:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   11955:       else
                   11956:         {
                   11957:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   11958:           else puts (dlerror ());
                   11959:        }
                   11960:       /* dlclose (self); */
                   11961:     }
                   11962:   else
                   11963:     puts (dlerror ());
                   11964: 
                   11965:   return status;
                   11966: }
                   11967: _LT_EOF
                   11968:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
                   11969:   (eval $ac_link) 2>&5
                   11970:   ac_status=$?
                   11971:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   11972:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
                   11973:     (./conftest; exit; ) >&5 2>/dev/null
                   11974:     lt_status=$?
                   11975:     case x$lt_status in
                   11976:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   11977:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
                   11978:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
                   11979:     esac
                   11980:   else :
                   11981:     # compilation failed
                   11982:     lt_cv_dlopen_self_static=no
                   11983:   fi
                   11984: fi
                   11985: rm -fr conftest*
                   11986: 
                   11987: 
                   11988: fi
                   11989: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
                   11990: $as_echo "$lt_cv_dlopen_self_static" >&6; }
                   11991:     fi
                   11992: 
                   11993:     CPPFLAGS="$save_CPPFLAGS"
                   11994:     LDFLAGS="$save_LDFLAGS"
                   11995:     LIBS="$save_LIBS"
                   11996:     ;;
                   11997:   esac
                   11998: 
                   11999:   case $lt_cv_dlopen_self in
                   12000:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   12001:   *) enable_dlopen_self=unknown ;;
                   12002:   esac
                   12003: 
                   12004:   case $lt_cv_dlopen_self_static in
                   12005:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   12006:   *) enable_dlopen_self_static=unknown ;;
                   12007:   esac
                   12008: fi
                   12009: 
                   12010: 
                   12011: 
                   12012: 
                   12013: 
                   12014: 
                   12015: 
                   12016: 
                   12017: 
                   12018: 
                   12019: 
                   12020: 
                   12021: 
                   12022: 
                   12023: 
                   12024: 
                   12025: 
                   12026: striplib=
                   12027: old_striplib=
                   12028: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
                   12029: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
                   12030: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
                   12031:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
                   12032:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
                   12033:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   12034: $as_echo "yes" >&6; }
                   12035: else
                   12036: # FIXME - insert some real tests, host_os isn't really good enough
                   12037:   case $host_os in
                   12038:   darwin*)
                   12039:     if test -n "$STRIP" ; then
                   12040:       striplib="$STRIP -x"
                   12041:       old_striplib="$STRIP -S"
                   12042:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   12043: $as_echo "yes" >&6; }
                   12044:     else
                   12045:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12046: $as_echo "no" >&6; }
                   12047:     fi
                   12048:     ;;
                   12049:   *)
                   12050:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12051: $as_echo "no" >&6; }
                   12052:     ;;
                   12053:   esac
                   12054: fi
                   12055: 
                   12056: 
                   12057: 
                   12058: 
                   12059: 
                   12060: 
                   12061: 
                   12062: 
                   12063: 
                   12064: 
                   12065: 
                   12066: 
                   12067:   # Report which library types will actually be built
                   12068:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
                   12069: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
                   12070:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
                   12071: $as_echo "$can_build_shared" >&6; }
                   12072: 
                   12073:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
                   12074: $as_echo_n "checking whether to build shared libraries... " >&6; }
                   12075:   test "$can_build_shared" = "no" && enable_shared=no
                   12076: 
                   12077:   # On AIX, shared libraries and static libraries use the same namespace, and
                   12078:   # are all built from PIC.
                   12079:   case $host_os in
                   12080:   aix3*)
                   12081:     test "$enable_shared" = yes && enable_static=no
                   12082:     if test -n "$RANLIB"; then
                   12083:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   12084:       postinstall_cmds='$RANLIB $lib'
                   12085:     fi
                   12086:     ;;
                   12087: 
                   12088:   aix[4-9]*)
                   12089:     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
                   12090:       test "$enable_shared" = yes && enable_static=no
                   12091:     fi
                   12092:     ;;
                   12093:   esac
                   12094:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
                   12095: $as_echo "$enable_shared" >&6; }
                   12096: 
                   12097:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
                   12098: $as_echo_n "checking whether to build static libraries... " >&6; }
                   12099:   # Make sure either enable_shared or enable_static is yes.
                   12100:   test "$enable_shared" = yes || enable_static=yes
                   12101:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
                   12102: $as_echo "$enable_static" >&6; }
                   12103: 
                   12104: 
                   12105: 
                   12106: 
                   12107: fi
                   12108: ac_ext=c
                   12109: ac_cpp='$CPP $CPPFLAGS'
                   12110: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   12111: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   12112: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   12113: 
                   12114: CC="$lt_save_CC"
                   12115: 
                   12116: 
                   12117: 
                   12118: 
                   12119: 
                   12120: 
                   12121: 
                   12122: 
                   12123: 
                   12124: 
                   12125: 
                   12126: 
                   12127: 
1.1.1.2 ! misho    12128: 
        !          12129: 
1.1       misho    12130:         ac_config_commands="$ac_config_commands libtool"
                   12131: 
                   12132: 
                   12133: 
                   12134: 
                   12135: # Only expand once:
                   12136: 
                   12137: 
                   12138: 
                   12139: # Check whether --enable-vtysh was given.
                   12140: if test "${enable_vtysh+set}" = set; then :
                   12141:   enableval=$enable_vtysh;
                   12142: fi
                   12143: 
                   12144: # Check whether --enable-ipv6 was given.
                   12145: if test "${enable_ipv6+set}" = set; then :
                   12146:   enableval=$enable_ipv6;
                   12147: fi
                   12148: 
                   12149: # Check whether --enable-doc was given.
                   12150: if test "${enable_doc+set}" = set; then :
                   12151:   enableval=$enable_doc;
                   12152: fi
                   12153: 
                   12154: # Check whether --enable-zebra was given.
                   12155: if test "${enable_zebra+set}" = set; then :
                   12156:   enableval=$enable_zebra;
                   12157: fi
                   12158: 
                   12159: # Check whether --enable-bgpd was given.
                   12160: if test "${enable_bgpd+set}" = set; then :
                   12161:   enableval=$enable_bgpd;
                   12162: fi
                   12163: 
                   12164: # Check whether --enable-ripd was given.
                   12165: if test "${enable_ripd+set}" = set; then :
                   12166:   enableval=$enable_ripd;
                   12167: fi
                   12168: 
                   12169: # Check whether --enable-ripngd was given.
                   12170: if test "${enable_ripngd+set}" = set; then :
                   12171:   enableval=$enable_ripngd;
                   12172: fi
                   12173: 
                   12174: # Check whether --enable-ospfd was given.
                   12175: if test "${enable_ospfd+set}" = set; then :
                   12176:   enableval=$enable_ospfd;
                   12177: fi
                   12178: 
                   12179: # Check whether --enable-ospf6d was given.
                   12180: if test "${enable_ospf6d+set}" = set; then :
                   12181:   enableval=$enable_ospf6d;
                   12182: fi
                   12183: 
                   12184: # Check whether --enable-watchquagga was given.
                   12185: if test "${enable_watchquagga+set}" = set; then :
                   12186:   enableval=$enable_watchquagga;
                   12187: fi
                   12188: 
                   12189: # Check whether --enable-isisd was given.
                   12190: if test "${enable_isisd+set}" = set; then :
                   12191:   enableval=$enable_isisd;
                   12192: fi
                   12193: 
                   12194: # Check whether --enable-solaris was given.
                   12195: if test "${enable_solaris+set}" = set; then :
                   12196:   enableval=$enable_solaris;
                   12197: fi
                   12198: 
                   12199: # Check whether --enable-bgp-announce was given.
                   12200: if test "${enable_bgp_announce+set}" = set; then :
                   12201:   enableval=$enable_bgp_announce;
                   12202: fi
                   12203: 
                   12204: # Check whether --enable-netlink was given.
                   12205: if test "${enable_netlink+set}" = set; then :
                   12206:   enableval=$enable_netlink;
                   12207: fi
                   12208: 
                   12209: # Check whether --enable-broken-aliases was given.
                   12210: if test "${enable_broken_aliases+set}" = set; then :
                   12211:   enableval=$enable_broken_aliases;
                   12212: fi
                   12213: 
                   12214: 
                   12215: # Check whether --with-crypto was given.
                   12216: if test "${with_crypto+set}" = set; then :
                   12217:   withval=$with_crypto;
                   12218: fi
                   12219: 
                   12220: # Check whether --enable-snmp was given.
                   12221: if test "${enable_snmp+set}" = set; then :
                   12222:   enableval=$enable_snmp;
                   12223: fi
                   12224: 
                   12225: 
                   12226: # Check whether --with-libpam was given.
                   12227: if test "${with_libpam+set}" = set; then :
                   12228:   withval=$with_libpam;
                   12229: fi
                   12230: 
                   12231: # Check whether --enable-tcp-zebra was given.
                   12232: if test "${enable_tcp_zebra+set}" = set; then :
                   12233:   enableval=$enable_tcp_zebra;
                   12234: fi
                   12235: 
                   12236: # Check whether --enable-opaque-lsa was given.
                   12237: if test "${enable_opaque_lsa+set}" = set; then :
                   12238:   enableval=$enable_opaque_lsa;
                   12239: fi
                   12240: 
                   12241: # Check whether --enable-ospfapi was given.
                   12242: if test "${enable_ospfapi+set}" = set; then :
                   12243:   enableval=$enable_ospfapi;
                   12244: fi
                   12245: 
                   12246: # Check whether --enable-ospfclient was given.
                   12247: if test "${enable_ospfclient+set}" = set; then :
                   12248:   enableval=$enable_ospfclient;
                   12249: fi
                   12250: 
                   12251: # Check whether --enable-ospf-te was given.
                   12252: if test "${enable_ospf_te+set}" = set; then :
                   12253:   enableval=$enable_ospf_te;
                   12254: fi
                   12255: 
                   12256: # Check whether --enable-multipath was given.
                   12257: if test "${enable_multipath+set}" = set; then :
                   12258:   enableval=$enable_multipath;
                   12259: fi
                   12260: 
                   12261: # Check whether --enable-user was given.
                   12262: if test "${enable_user+set}" = set; then :
                   12263:   enableval=$enable_user;
                   12264: fi
                   12265: 
                   12266: # Check whether --enable-group was given.
                   12267: if test "${enable_group+set}" = set; then :
                   12268:   enableval=$enable_group;
                   12269: fi
                   12270: 
                   12271: # Check whether --enable-vty_group was given.
                   12272: if test "${enable_vty_group+set}" = set; then :
                   12273:   enableval=$enable_vty_group;
                   12274: fi
                   12275: 
                   12276: # Check whether --enable-configfile_mask was given.
                   12277: if test "${enable_configfile_mask+set}" = set; then :
                   12278:   enableval=$enable_configfile_mask;
                   12279: fi
                   12280: 
                   12281: # Check whether --enable-logfile_mask was given.
                   12282: if test "${enable_logfile_mask+set}" = set; then :
                   12283:   enableval=$enable_logfile_mask;
                   12284: fi
                   12285: 
                   12286: 
                   12287: # Check whether --enable-rtadv was given.
                   12288: if test "${enable_rtadv+set}" = set; then :
                   12289:   enableval=$enable_rtadv;
                   12290: fi
                   12291: 
                   12292: # Check whether --enable-irdp was given.
                   12293: if test "${enable_irdp+set}" = set; then :
                   12294:   enableval=$enable_irdp;
                   12295: fi
                   12296: 
                   12297: # Check whether --enable-isis_topology was given.
                   12298: if test "${enable_isis_topology+set}" = set; then :
                   12299:   enableval=$enable_isis_topology;
                   12300: fi
                   12301: 
                   12302: # Check whether --enable-capabilities was given.
                   12303: if test "${enable_capabilities+set}" = set; then :
                   12304:   enableval=$enable_capabilities;
                   12305: fi
                   12306: 
                   12307: # Check whether --enable-gcc_ultra_verbose was given.
                   12308: if test "${enable_gcc_ultra_verbose+set}" = set; then :
                   12309:   enableval=$enable_gcc_ultra_verbose;
                   12310: fi
                   12311: 
                   12312: # Check whether --enable-linux24_tcp_md5 was given.
                   12313: if test "${enable_linux24_tcp_md5+set}" = set; then :
                   12314:   enableval=$enable_linux24_tcp_md5;
                   12315: fi
                   12316: 
                   12317: # Check whether --enable-gcc-rdynamic was given.
                   12318: if test "${enable_gcc_rdynamic+set}" = set; then :
                   12319:   enableval=$enable_gcc_rdynamic;
                   12320: fi
                   12321: 
                   12322: # Check whether --enable-time-check was given.
                   12323: if test "${enable_time_check+set}" = set; then :
                   12324:   enableval=$enable_time_check;
                   12325: fi
                   12326: 
                   12327: # Check whether --enable-pcreposix was given.
                   12328: if test "${enable_pcreposix+set}" = set; then :
                   12329:   enableval=$enable_pcreposix;
                   12330: fi
                   12331: 
                   12332: 
                   12333: if test x"${enable_gcc_ultra_verbose}" = x"yes" ; then
                   12334:   CFLAGS="${CFLAGS} -W -Wcast-qual -Wstrict-prototypes"
                   12335:   CFLAGS="${CFLAGS} -Wmissing-declarations -Wmissing-noreturn"
                   12336:   CFLAGS="${CFLAGS} -Wmissing-format-attribute -Wunreachable-code"
                   12337:   CFLAGS="${CFLAGS} -Wpacked -Wpadded"
                   12338: fi
                   12339: 
                   12340: if test x"${enable_gcc_rdynamic}" = x"yes" ; then
                   12341:   LDFLAGS="${LDFLAGS} -rdynamic"
                   12342: fi
                   12343: 
                   12344: if test x"${enable_time_check}" != x"no" ; then
                   12345:   if test x"${enable_time_check}" = x"yes" -o x"${enable_time_check}" = x ; then
                   12346: 
                   12347: $as_echo "#define CONSUMED_TIME_CHECK 5000000" >>confdefs.h
                   12348: 
                   12349:   else
                   12350: 
                   12351: cat >>confdefs.h <<_ACEOF
                   12352: #define CONSUMED_TIME_CHECK $enable_time_check
                   12353: _ACEOF
                   12354: 
                   12355:   fi
                   12356: fi
                   12357: 
                   12358: if test "${enable_broken_aliases}" = "yes"; then
                   12359:   if test "${enable_netlink}" = "yes"
                   12360:   then
                   12361:     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   12362: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   12363: as_fn_error $? "Sorry you can not use netlink with broken aliases
                   12364: See \`config.log' for more details" "$LINENO" 5; }
                   12365:   fi
                   12366: 
                   12367: $as_echo "#define HAVE_BROKEN_ALIASES /**/" >>confdefs.h
                   12368: 
                   12369:   enable_netlink=no
                   12370: fi
                   12371: 
                   12372: if test "${enable_tcp_zebra}" = "yes"; then
                   12373: 
                   12374: $as_echo "#define HAVE_TCP_ZEBRA /**/" >>confdefs.h
                   12375: 
                   12376: fi
                   12377: 
                   12378: if test "${enable_opaque_lsa}" != "no"; then
                   12379: 
                   12380: $as_echo "#define HAVE_OPAQUE_LSA /**/" >>confdefs.h
                   12381: 
                   12382: fi
                   12383: 
                   12384: if test "${enable_ospf_te}" != "no"; then
                   12385: 
                   12386: $as_echo "#define HAVE_OPAQUE_LSA /**/" >>confdefs.h
                   12387: 
                   12388: 
                   12389: $as_echo "#define HAVE_OSPF_TE /**/" >>confdefs.h
                   12390: 
                   12391: fi
                   12392: 
                   12393: if test "${enable_linux24_tcp_md5}" = "yes"; then
                   12394: 
                   12395: $as_echo "#define HAVE_TCP_MD5_LINUX24 /**/" >>confdefs.h
                   12396: 
                   12397: fi
                   12398: 
                   12399: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if zebra should be configurable to send Route Advertisements" >&5
                   12400: $as_echo_n "checking if zebra should be configurable to send Route Advertisements... " >&6; }
                   12401: if test "${enable_rtadv}" != "no"; then
                   12402:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   12403: $as_echo "yes" >&6; }
                   12404: 
                   12405: $as_echo "#define HAVE_RTADV /**/" >>confdefs.h
                   12406: 
                   12407: else
                   12408:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12409: $as_echo "no" >&6; }
                   12410: fi
                   12411: 
                   12412: if test "${enable_irdp}" = "yes"; then
                   12413: 
                   12414: $as_echo "#define HAVE_IRDP /**/" >>confdefs.h
                   12415: 
                   12416: fi
                   12417: 
                   12418: if test "${enable_isisd}" = "yes" && test "${enable_isis_topology}" = yes; then
                   12419: 
                   12420: $as_echo "#define TOPOLOGY_GENERATE /**/" >>confdefs.h
                   12421: 
                   12422:   ISIS_TOPOLOGY_INCLUDES="-I./topology"
                   12423:   ISIS_TOPOLOGY_DIR="topology"
                   12424:   ISIS_TOPOLOGY_LIB="./topology/libtopology.a"
                   12425: fi
                   12426: 
                   12427: 
                   12428: 
                   12429: 
                   12430: 
                   12431: if test "${enable_user}" = "yes" || test x"${enable_user}" = x""; then
                   12432:   enable_user="quagga"
                   12433: elif test "${enable_user}" = "no"; then
                   12434:   enable_user="root"
                   12435: fi
                   12436: 
                   12437: if test "${enable_group}" = "yes" || test x"${enable_group}" = x""; then
                   12438:   enable_group="quagga"
                   12439: elif test "${enable_group}" = "no"; then
                   12440:   enable_group="root"
                   12441: fi
                   12442: 
                   12443: if test x"${enable_vty_group}" = x"yes" ; then
                   12444:   as_fn_error $? "--enable-vty-group requires a group as argument, not yes" "$LINENO" 5
                   12445: elif test x"${enable_vty_group}" != x""; then
                   12446:   if test x"${enable_vty_group}" != x"no"; then
                   12447: 
                   12448: cat >>confdefs.h <<_ACEOF
                   12449: #define VTY_GROUP "${enable_vty_group}"
                   12450: _ACEOF
                   12451: 
                   12452:   fi
                   12453: fi
                   12454: 
                   12455: 
                   12456: 
                   12457: 
                   12458: cat >>confdefs.h <<_ACEOF
                   12459: #define QUAGGA_USER "${enable_user}"
                   12460: _ACEOF
                   12461: 
                   12462: 
                   12463: cat >>confdefs.h <<_ACEOF
                   12464: #define QUAGGA_GROUP "${enable_group}"
                   12465: _ACEOF
                   12466: 
                   12467: 
                   12468: enable_configfile_mask=${enable_configfile_mask:-0600}
                   12469: 
                   12470: cat >>confdefs.h <<_ACEOF
                   12471: #define CONFIGFILE_MASK ${enable_configfile_mask}
                   12472: _ACEOF
                   12473: 
                   12474: 
                   12475: enable_logfile_mask=${enable_logfile_mask:-0600}
                   12476: 
                   12477: cat >>confdefs.h <<_ACEOF
                   12478: #define LOGFILE_MASK ${enable_logfile_mask}
                   12479: _ACEOF
                   12480: 
                   12481: 
                   12482: MULTIPATH_NUM=1
                   12483: 
                   12484: case "${enable_multipath}" in
                   12485:   [0-9]|[1-9][0-9])
                   12486:     MULTIPATH_NUM="${enable_multipath}"
                   12487:     ;;
                   12488:   "")
                   12489:     ;;
                   12490:   *)
                   12491:     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   12492: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   12493: as_fn_error $? "Please specify digit to enable multipath ARG
                   12494: See \`config.log' for more details" "$LINENO" 5; }
                   12495:     ;;
                   12496: esac
                   12497: 
                   12498: 
                   12499: 
                   12500: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
                   12501: $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
                   12502: if ${ac_cv_c_const+:} false; then :
                   12503:   $as_echo_n "(cached) " >&6
                   12504: else
                   12505:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12506: /* end confdefs.h.  */
                   12507: 
                   12508: int
                   12509: main ()
                   12510: {
                   12511: /* FIXME: Include the comments suggested by Paul. */
                   12512: #ifndef __cplusplus
                   12513:   /* Ultrix mips cc rejects this.  */
                   12514:   typedef int charset[2];
                   12515:   const charset cs;
                   12516:   /* SunOS 4.1.1 cc rejects this.  */
                   12517:   char const *const *pcpcc;
                   12518:   char **ppc;
                   12519:   /* NEC SVR4.0.2 mips cc rejects this.  */
                   12520:   struct point {int x, y;};
                   12521:   static struct point const zero = {0,0};
                   12522:   /* AIX XL C 1.02.0.0 rejects this.
                   12523:      It does not let you subtract one const X* pointer from another in
                   12524:      an arm of an if-expression whose if-part is not a constant
                   12525:      expression */
                   12526:   const char *g = "string";
                   12527:   pcpcc = &g + (g ? g-g : 0);
                   12528:   /* HPUX 7.0 cc rejects these. */
                   12529:   ++pcpcc;
                   12530:   ppc = (char**) pcpcc;
                   12531:   pcpcc = (char const *const *) ppc;
                   12532:   { /* SCO 3.2v4 cc rejects this.  */
                   12533:     char *t;
                   12534:     char const *s = 0 ? (char *) 0 : (char const *) 0;
                   12535: 
                   12536:     *t++ = 0;
                   12537:     if (s) return 0;
                   12538:   }
                   12539:   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
                   12540:     int x[] = {25, 17};
                   12541:     const int *foo = &x[0];
                   12542:     ++foo;
                   12543:   }
                   12544:   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
                   12545:     typedef const int *iptr;
                   12546:     iptr p = 0;
                   12547:     ++p;
                   12548:   }
                   12549:   { /* AIX XL C 1.02.0.0 rejects this saying
                   12550:        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
                   12551:     struct s { int j; const int *ap[3]; };
                   12552:     struct s *b; b->j = 5;
                   12553:   }
                   12554:   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
                   12555:     const int foo = 10;
                   12556:     if (!foo) return 0;
                   12557:   }
                   12558:   return !cs[0] && !zero.x;
                   12559: #endif
                   12560: 
                   12561:   ;
                   12562:   return 0;
                   12563: }
                   12564: _ACEOF
                   12565: if ac_fn_c_try_compile "$LINENO"; then :
                   12566:   ac_cv_c_const=yes
                   12567: else
                   12568:   ac_cv_c_const=no
                   12569: fi
                   12570: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   12571: fi
                   12572: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
                   12573: $as_echo "$ac_cv_c_const" >&6; }
                   12574: if test $ac_cv_c_const = no; then
                   12575: 
                   12576: $as_echo "#define const /**/" >>confdefs.h
                   12577: 
                   12578: fi
                   12579: 
                   12580: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
                   12581: $as_echo_n "checking for inline... " >&6; }
                   12582: if ${ac_cv_c_inline+:} false; then :
                   12583:   $as_echo_n "(cached) " >&6
                   12584: else
                   12585:   ac_cv_c_inline=no
                   12586: for ac_kw in inline __inline__ __inline; do
                   12587:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12588: /* end confdefs.h.  */
                   12589: #ifndef __cplusplus
                   12590: typedef int foo_t;
                   12591: static $ac_kw foo_t static_foo () {return 0; }
                   12592: $ac_kw foo_t foo () {return 0; }
                   12593: #endif
                   12594: 
                   12595: _ACEOF
                   12596: if ac_fn_c_try_compile "$LINENO"; then :
                   12597:   ac_cv_c_inline=$ac_kw
                   12598: fi
                   12599: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   12600:   test "$ac_cv_c_inline" != no && break
                   12601: done
                   12602: 
                   12603: fi
                   12604: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
                   12605: $as_echo "$ac_cv_c_inline" >&6; }
                   12606: 
                   12607: case $ac_cv_c_inline in
                   12608:   inline | yes) ;;
                   12609:   *)
                   12610:     case $ac_cv_c_inline in
                   12611:       no) ac_val=;;
                   12612:       *) ac_val=$ac_cv_c_inline;;
                   12613:     esac
                   12614:     cat >>confdefs.h <<_ACEOF
                   12615: #ifndef __cplusplus
                   12616: #define inline $ac_val
                   12617: #endif
                   12618: _ACEOF
                   12619:     ;;
                   12620: esac
                   12621: 
                   12622: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
                   12623: $as_echo_n "checking for C/C++ restrict keyword... " >&6; }
                   12624: if ${ac_cv_c_restrict+:} false; then :
                   12625:   $as_echo_n "(cached) " >&6
                   12626: else
                   12627:   ac_cv_c_restrict=no
                   12628:    # The order here caters to the fact that C++ does not require restrict.
                   12629:    for ac_kw in __restrict __restrict__ _Restrict restrict; do
                   12630:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12631: /* end confdefs.h.  */
                   12632: typedef int * int_ptr;
                   12633:        int foo (int_ptr $ac_kw ip) {
                   12634:        return ip[0];
                   12635:        }
                   12636: int
                   12637: main ()
                   12638: {
                   12639: int s[1];
                   12640:        int * $ac_kw t = s;
                   12641:        t[0] = 0;
                   12642:        return foo(t)
                   12643:   ;
                   12644:   return 0;
                   12645: }
                   12646: _ACEOF
                   12647: if ac_fn_c_try_compile "$LINENO"; then :
                   12648:   ac_cv_c_restrict=$ac_kw
                   12649: fi
                   12650: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   12651:      test "$ac_cv_c_restrict" != no && break
                   12652:    done
                   12653: 
                   12654: fi
                   12655: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_restrict" >&5
                   12656: $as_echo "$ac_cv_c_restrict" >&6; }
                   12657: 
                   12658:  case $ac_cv_c_restrict in
                   12659:    restrict) ;;
                   12660:    no) $as_echo "#define restrict /**/" >>confdefs.h
                   12661:  ;;
                   12662:    *)  cat >>confdefs.h <<_ACEOF
                   12663: #define restrict $ac_cv_c_restrict
                   12664: _ACEOF
                   12665:  ;;
                   12666:  esac
                   12667: 
                   12668: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5
                   12669: $as_echo_n "checking for working volatile... " >&6; }
                   12670: if ${ac_cv_c_volatile+:} false; then :
                   12671:   $as_echo_n "(cached) " >&6
                   12672: else
                   12673:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12674: /* end confdefs.h.  */
                   12675: 
                   12676: int
                   12677: main ()
                   12678: {
                   12679: 
                   12680: volatile int x;
                   12681: int * volatile y = (int *) 0;
                   12682: return !x && !y;
                   12683:   ;
                   12684:   return 0;
                   12685: }
                   12686: _ACEOF
                   12687: if ac_fn_c_try_compile "$LINENO"; then :
                   12688:   ac_cv_c_volatile=yes
                   12689: else
                   12690:   ac_cv_c_volatile=no
                   12691: fi
                   12692: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   12693: fi
                   12694: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5
                   12695: $as_echo "$ac_cv_c_volatile" >&6; }
                   12696: if test $ac_cv_c_volatile = no; then
                   12697: 
                   12698: $as_echo "#define volatile /**/" >>confdefs.h
                   12699: 
                   12700: fi
                   12701: 
                   12702: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   12703: $as_echo_n "checking for ANSI C header files... " >&6; }
                   12704: if ${ac_cv_header_stdc+:} false; then :
                   12705:   $as_echo_n "(cached) " >&6
                   12706: else
                   12707:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12708: /* end confdefs.h.  */
                   12709: #include <stdlib.h>
                   12710: #include <stdarg.h>
                   12711: #include <string.h>
                   12712: #include <float.h>
                   12713: 
                   12714: int
                   12715: main ()
                   12716: {
                   12717: 
                   12718:   ;
                   12719:   return 0;
                   12720: }
                   12721: _ACEOF
                   12722: if ac_fn_c_try_compile "$LINENO"; then :
                   12723:   ac_cv_header_stdc=yes
                   12724: else
                   12725:   ac_cv_header_stdc=no
                   12726: fi
                   12727: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   12728: 
                   12729: if test $ac_cv_header_stdc = yes; then
                   12730:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   12731:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12732: /* end confdefs.h.  */
                   12733: #include <string.h>
                   12734: 
                   12735: _ACEOF
                   12736: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   12737:   $EGREP "memchr" >/dev/null 2>&1; then :
                   12738: 
                   12739: else
                   12740:   ac_cv_header_stdc=no
                   12741: fi
                   12742: rm -f conftest*
                   12743: 
                   12744: fi
                   12745: 
                   12746: if test $ac_cv_header_stdc = yes; then
                   12747:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   12748:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12749: /* end confdefs.h.  */
                   12750: #include <stdlib.h>
                   12751: 
                   12752: _ACEOF
                   12753: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   12754:   $EGREP "free" >/dev/null 2>&1; then :
                   12755: 
                   12756: else
                   12757:   ac_cv_header_stdc=no
                   12758: fi
                   12759: rm -f conftest*
                   12760: 
                   12761: fi
                   12762: 
                   12763: if test $ac_cv_header_stdc = yes; then
                   12764:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   12765:   if test "$cross_compiling" = yes; then :
                   12766:   :
                   12767: else
                   12768:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12769: /* end confdefs.h.  */
                   12770: #include <ctype.h>
                   12771: #include <stdlib.h>
                   12772: #if ((' ' & 0x0FF) == 0x020)
                   12773: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   12774: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   12775: #else
                   12776: # define ISLOWER(c) \
                   12777:                   (('a' <= (c) && (c) <= 'i') \
                   12778:                     || ('j' <= (c) && (c) <= 'r') \
                   12779:                     || ('s' <= (c) && (c) <= 'z'))
                   12780: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   12781: #endif
                   12782: 
                   12783: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   12784: int
                   12785: main ()
                   12786: {
                   12787:   int i;
                   12788:   for (i = 0; i < 256; i++)
                   12789:     if (XOR (islower (i), ISLOWER (i))
                   12790:        || toupper (i) != TOUPPER (i))
                   12791:       return 2;
                   12792:   return 0;
                   12793: }
                   12794: _ACEOF
                   12795: if ac_fn_c_try_run "$LINENO"; then :
                   12796: 
                   12797: else
                   12798:   ac_cv_header_stdc=no
                   12799: fi
                   12800: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   12801:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   12802: fi
                   12803: 
                   12804: fi
                   12805: fi
                   12806: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   12807: $as_echo "$ac_cv_header_stdc" >&6; }
                   12808: if test $ac_cv_header_stdc = yes; then
                   12809: 
                   12810: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
                   12811: 
                   12812: fi
                   12813: 
                   12814: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
                   12815: $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
                   12816: if ${ac_cv_header_time+:} false; then :
                   12817:   $as_echo_n "(cached) " >&6
                   12818: else
                   12819:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12820: /* end confdefs.h.  */
                   12821: #include <sys/types.h>
                   12822: #include <sys/time.h>
                   12823: #include <time.h>
                   12824: 
                   12825: int
                   12826: main ()
                   12827: {
                   12828: if ((struct tm *) 0)
                   12829: return 0;
                   12830:   ;
                   12831:   return 0;
                   12832: }
                   12833: _ACEOF
                   12834: if ac_fn_c_try_compile "$LINENO"; then :
                   12835:   ac_cv_header_time=yes
                   12836: else
                   12837:   ac_cv_header_time=no
                   12838: fi
                   12839: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   12840: fi
                   12841: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
                   12842: $as_echo "$ac_cv_header_time" >&6; }
                   12843: if test $ac_cv_header_time = yes; then
                   12844: 
                   12845: $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
                   12846: 
                   12847: fi
                   12848: 
                   12849: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
                   12850: $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
                   12851: if ${ac_cv_header_sys_wait_h+:} false; then :
                   12852:   $as_echo_n "(cached) " >&6
                   12853: else
                   12854:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12855: /* end confdefs.h.  */
                   12856: #include <sys/types.h>
                   12857: #include <sys/wait.h>
                   12858: #ifndef WEXITSTATUS
                   12859: # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
                   12860: #endif
                   12861: #ifndef WIFEXITED
                   12862: # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
                   12863: #endif
                   12864: 
                   12865: int
                   12866: main ()
                   12867: {
                   12868:   int s;
                   12869:   wait (&s);
                   12870:   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
                   12871:   ;
                   12872:   return 0;
                   12873: }
                   12874: _ACEOF
                   12875: if ac_fn_c_try_compile "$LINENO"; then :
                   12876:   ac_cv_header_sys_wait_h=yes
                   12877: else
                   12878:   ac_cv_header_sys_wait_h=no
                   12879: fi
                   12880: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   12881: fi
                   12882: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
                   12883: $as_echo "$ac_cv_header_sys_wait_h" >&6; }
                   12884: if test $ac_cv_header_sys_wait_h = yes; then
                   12885: 
                   12886: $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
                   12887: 
                   12888: fi
                   12889: 
                   12890: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
                   12891: $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
                   12892: if ${ac_cv_type_uid_t+:} false; then :
                   12893:   $as_echo_n "(cached) " >&6
                   12894: else
                   12895:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12896: /* end confdefs.h.  */
                   12897: #include <sys/types.h>
                   12898: 
                   12899: _ACEOF
                   12900: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   12901:   $EGREP "uid_t" >/dev/null 2>&1; then :
                   12902:   ac_cv_type_uid_t=yes
                   12903: else
                   12904:   ac_cv_type_uid_t=no
                   12905: fi
                   12906: rm -f conftest*
                   12907: 
                   12908: fi
                   12909: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
                   12910: $as_echo "$ac_cv_type_uid_t" >&6; }
                   12911: if test $ac_cv_type_uid_t = no; then
                   12912: 
                   12913: $as_echo "#define uid_t int" >>confdefs.h
                   12914: 
                   12915: 
                   12916: $as_echo "#define gid_t int" >>confdefs.h
                   12917: 
                   12918: fi
                   12919: 
                   12920: ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
                   12921: if test "x$ac_cv_type_mode_t" = xyes; then :
                   12922: 
                   12923: else
                   12924: 
                   12925: cat >>confdefs.h <<_ACEOF
                   12926: #define mode_t int
                   12927: _ACEOF
                   12928: 
                   12929: fi
                   12930: 
                   12931: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
                   12932: if test "x$ac_cv_type_size_t" = xyes; then :
                   12933: 
                   12934: else
                   12935: 
                   12936: cat >>confdefs.h <<_ACEOF
                   12937: #define size_t unsigned int
                   12938: _ACEOF
                   12939: 
                   12940: fi
                   12941: 
                   12942: { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
                   12943: $as_echo_n "checking return type of signal handlers... " >&6; }
                   12944: if ${ac_cv_type_signal+:} false; then :
                   12945:   $as_echo_n "(cached) " >&6
                   12946: else
                   12947:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12948: /* end confdefs.h.  */
                   12949: #include <sys/types.h>
                   12950: #include <signal.h>
                   12951: 
                   12952: int
                   12953: main ()
                   12954: {
                   12955: return *(signal (0, 0)) (0) == 1;
                   12956:   ;
                   12957:   return 0;
                   12958: }
                   12959: _ACEOF
                   12960: if ac_fn_c_try_compile "$LINENO"; then :
                   12961:   ac_cv_type_signal=int
                   12962: else
                   12963:   ac_cv_type_signal=void
                   12964: fi
                   12965: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   12966: fi
                   12967: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
                   12968: $as_echo "$ac_cv_type_signal" >&6; }
                   12969: 
                   12970: cat >>confdefs.h <<_ACEOF
                   12971: #define RETSIGTYPE $ac_cv_type_signal
                   12972: _ACEOF
                   12973: 
                   12974: 
                   12975: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
                   12976: $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
                   12977: if ${ac_cv_struct_tm+:} false; then :
                   12978:   $as_echo_n "(cached) " >&6
                   12979: else
                   12980:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12981: /* end confdefs.h.  */
                   12982: #include <sys/types.h>
                   12983: #include <time.h>
                   12984: 
                   12985: int
                   12986: main ()
                   12987: {
                   12988: struct tm tm;
                   12989:                                     int *p = &tm.tm_sec;
                   12990:                                     return !p;
                   12991:   ;
                   12992:   return 0;
                   12993: }
                   12994: _ACEOF
                   12995: if ac_fn_c_try_compile "$LINENO"; then :
                   12996:   ac_cv_struct_tm=time.h
                   12997: else
                   12998:   ac_cv_struct_tm=sys/time.h
                   12999: fi
                   13000: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   13001: fi
                   13002: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
                   13003: $as_echo "$ac_cv_struct_tm" >&6; }
                   13004: if test $ac_cv_struct_tm = sys/time.h; then
                   13005: 
                   13006: $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
                   13007: 
                   13008: fi
                   13009: 
                   13010: 
                   13011: for ac_header in stropts.h sys/ksym.h sys/times.h sys/select.h \
                   13012:        sys/types.h linux/version.h netdb.h asm/types.h \
                   13013:        sys/param.h limits.h signal.h \
                   13014:        sys/socket.h netinet/in.h time.h sys/time.h
                   13015: do :
                   13016:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   13017: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   13018: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   13019:   cat >>confdefs.h <<_ACEOF
                   13020: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   13021: _ACEOF
                   13022: 
                   13023: fi
                   13024: 
                   13025: done
                   13026: 
                   13027: 
                   13028: 
                   13029: 
                   13030: for ac_header in net/if.h
                   13031: do :
                   13032:   ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#ifdef SUNOS_5
                   13033: #define _XPG4_2
                   13034: #define __EXTENSIONS__
                   13035: #endif
                   13036: #include <stdio.h>
                   13037: #if STDC_HEADERS
                   13038: # include <stdlib.h>
                   13039: # include <stddef.h>
                   13040: #else
                   13041: # if HAVE_STDLIB_H
                   13042: #  include <stdlib.h>
                   13043: # endif
                   13044: #endif
                   13045: #if HAVE_SYS_TYPES_H
                   13046: # include <sys/types.h>
                   13047: #endif
                   13048: /* sys/conf.h depends on param.h on FBSD at least */
                   13049: #if HAVE_SYS_PARAM_H
                   13050: # include <sys/param.h>
                   13051: #endif
                   13052: /* Required for MAXSIG */
                   13053: #if HAVE_SIGNAL_H
                   13054: # include <signal.h>
                   13055: #endif
                   13056: #if HAVE_SYS_SOCKET_H
                   13057: # include <sys/socket.h>
                   13058: #endif
                   13059: #if HAVE_NETINET_IN_H
                   13060: # include <netinet/in.h>
                   13061: #endif
                   13062: #ifdef TIME_WITH_SYS_TIME
                   13063: # include <sys/time.h>
                   13064: # include <time.h>
                   13065: #else
                   13066: # ifdef HAVE_SYS_TIME_H
                   13067: #  include <sys/time.h>
                   13068: # else
                   13069: #  include <time.h>
                   13070: # endif
                   13071: #endif /* TIME_WITH_SYS_TIME */
                   13072: 
                   13073: "
                   13074: if test "x$ac_cv_header_net_if_h" = xyes; then :
                   13075:   cat >>confdefs.h <<_ACEOF
                   13076: #define HAVE_NET_IF_H 1
                   13077: _ACEOF
                   13078: 
                   13079: fi
                   13080: 
                   13081: done
                   13082: 
                   13083: 
                   13084: 
                   13085: 
                   13086: for ac_header in net/if_var.h
                   13087: do :
                   13088:   ac_fn_c_check_header_compile "$LINENO" "net/if_var.h" "ac_cv_header_net_if_var_h" "#ifdef SUNOS_5
                   13089: #define _XPG4_2
                   13090: #define __EXTENSIONS__
                   13091: #endif
                   13092: #include <stdio.h>
                   13093: #if STDC_HEADERS
                   13094: # include <stdlib.h>
                   13095: # include <stddef.h>
                   13096: #else
                   13097: # if HAVE_STDLIB_H
                   13098: #  include <stdlib.h>
                   13099: # endif
                   13100: #endif
                   13101: #if HAVE_SYS_TYPES_H
                   13102: # include <sys/types.h>
                   13103: #endif
                   13104: /* sys/conf.h depends on param.h on FBSD at least */
                   13105: #if HAVE_SYS_PARAM_H
                   13106: # include <sys/param.h>
                   13107: #endif
                   13108: /* Required for MAXSIG */
                   13109: #if HAVE_SIGNAL_H
                   13110: # include <signal.h>
                   13111: #endif
                   13112: #if HAVE_SYS_SOCKET_H
                   13113: # include <sys/socket.h>
                   13114: #endif
                   13115: #if HAVE_NETINET_IN_H
                   13116: # include <netinet/in.h>
                   13117: #endif
                   13118: #ifdef TIME_WITH_SYS_TIME
                   13119: # include <sys/time.h>
                   13120: # include <time.h>
                   13121: #else
                   13122: # ifdef HAVE_SYS_TIME_H
                   13123: #  include <sys/time.h>
                   13124: # else
                   13125: #  include <time.h>
                   13126: # endif
                   13127: #endif /* TIME_WITH_SYS_TIME */
                   13128: 
                   13129: #if HAVE_NET_IF_H
                   13130: # include <net/if.h>
                   13131: #endif
                   13132: 
                   13133: "
                   13134: if test "x$ac_cv_header_net_if_var_h" = xyes; then :
                   13135:   cat >>confdefs.h <<_ACEOF
                   13136: #define HAVE_NET_IF_VAR_H 1
                   13137: _ACEOF
                   13138: 
                   13139: fi
                   13140: 
                   13141: done
                   13142: 
                   13143: 
                   13144: 
                   13145: for ac_header in sys/un.h netinet/in_systm.h netinet/in_var.h \
                   13146:        net/if_dl.h net/netopt.h net/route.h \
                   13147:        inet/nd.h arpa/inet.h netinet/ip_icmp.h \
                   13148:        fcntl.h stddef.h sys/ioctl.h syslog.h wchar.h wctype.h \
                   13149:        sys/sysctl.h sys/sockio.h kvm.h sys/conf.h
                   13150: do :
                   13151:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   13152: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef SUNOS_5
                   13153: #define _XPG4_2
                   13154: #define __EXTENSIONS__
                   13155: #endif
                   13156: #include <stdio.h>
                   13157: #if STDC_HEADERS
                   13158: # include <stdlib.h>
                   13159: # include <stddef.h>
                   13160: #else
                   13161: # if HAVE_STDLIB_H
                   13162: #  include <stdlib.h>
                   13163: # endif
                   13164: #endif
                   13165: #if HAVE_SYS_TYPES_H
                   13166: # include <sys/types.h>
                   13167: #endif
                   13168: /* sys/conf.h depends on param.h on FBSD at least */
                   13169: #if HAVE_SYS_PARAM_H
                   13170: # include <sys/param.h>
                   13171: #endif
                   13172: /* Required for MAXSIG */
                   13173: #if HAVE_SIGNAL_H
                   13174: # include <signal.h>
                   13175: #endif
                   13176: #if HAVE_SYS_SOCKET_H
                   13177: # include <sys/socket.h>
                   13178: #endif
                   13179: #if HAVE_NETINET_IN_H
                   13180: # include <netinet/in.h>
                   13181: #endif
                   13182: #ifdef TIME_WITH_SYS_TIME
                   13183: # include <sys/time.h>
                   13184: # include <time.h>
                   13185: #else
                   13186: # ifdef HAVE_SYS_TIME_H
                   13187: #  include <sys/time.h>
                   13188: # else
                   13189: #  include <time.h>
                   13190: # endif
                   13191: #endif /* TIME_WITH_SYS_TIME */
                   13192: 
                   13193: #if HAVE_NET_IF_H
                   13194: # include <net/if.h>
                   13195: #endif
                   13196: 
                   13197: #if HAVE_NET_IF_VAR_H
                   13198: # include <net/if_var.h>
                   13199: #endif
                   13200: 
                   13201: "
                   13202: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   13203:   cat >>confdefs.h <<_ACEOF
                   13204: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   13205: _ACEOF
                   13206: 
                   13207: fi
                   13208: 
                   13209: done
                   13210: 
                   13211: 
                   13212: for ac_header in ucontext.h
                   13213: do :
                   13214:   ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#ifndef __USE_GNU
                   13215: #define __USE_GNU
                   13216: #endif /* __USE_GNU */
                   13217: #ifdef SUNOS_5
                   13218: #define _XPG4_2
                   13219: #define __EXTENSIONS__
                   13220: #endif
                   13221: #include <stdio.h>
                   13222: #if STDC_HEADERS
                   13223: # include <stdlib.h>
                   13224: # include <stddef.h>
                   13225: #else
                   13226: # if HAVE_STDLIB_H
                   13227: #  include <stdlib.h>
                   13228: # endif
                   13229: #endif
                   13230: #if HAVE_SYS_TYPES_H
                   13231: # include <sys/types.h>
                   13232: #endif
                   13233: /* sys/conf.h depends on param.h on FBSD at least */
                   13234: #if HAVE_SYS_PARAM_H
                   13235: # include <sys/param.h>
                   13236: #endif
                   13237: /* Required for MAXSIG */
                   13238: #if HAVE_SIGNAL_H
                   13239: # include <signal.h>
                   13240: #endif
                   13241: #if HAVE_SYS_SOCKET_H
                   13242: # include <sys/socket.h>
                   13243: #endif
                   13244: #if HAVE_NETINET_IN_H
                   13245: # include <netinet/in.h>
                   13246: #endif
                   13247: #ifdef TIME_WITH_SYS_TIME
                   13248: # include <sys/time.h>
                   13249: # include <time.h>
                   13250: #else
                   13251: # ifdef HAVE_SYS_TIME_H
                   13252: #  include <sys/time.h>
                   13253: # else
                   13254: #  include <time.h>
                   13255: # endif
                   13256: #endif /* TIME_WITH_SYS_TIME */
                   13257: 
                   13258: #if HAVE_NET_IF_H
                   13259: # include <net/if.h>
                   13260: #endif
                   13261: 
                   13262: #if HAVE_NET_IF_VAR_H
                   13263: # include <net/if_var.h>
                   13264: #endif
                   13265: 
                   13266: 
                   13267: "
                   13268: if test "x$ac_cv_header_ucontext_h" = xyes; then :
                   13269:   cat >>confdefs.h <<_ACEOF
                   13270: #define HAVE_UCONTEXT_H 1
                   13271: _ACEOF
                   13272: 
                   13273: fi
                   13274: 
                   13275: done
                   13276: 
                   13277: 
                   13278: 
                   13279: 
                   13280: case "$host" in
                   13281:   *-sunos5.[6-7]* | *-solaris2.[6-7]*)
                   13282:       opsys=sol2-6
                   13283: 
                   13284: $as_echo "#define SUNOS_56 1" >>confdefs.h
                   13285: 
                   13286: 
                   13287: $as_echo "#define SUNOS_5 1" >>confdefs.h
                   13288: 
                   13289:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lxnet" >&5
                   13290: $as_echo_n "checking for main in -lxnet... " >&6; }
                   13291: if ${ac_cv_lib_xnet_main+:} false; then :
                   13292:   $as_echo_n "(cached) " >&6
                   13293: else
                   13294:   ac_check_lib_save_LIBS=$LIBS
                   13295: LIBS="-lxnet  $LIBS"
                   13296: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13297: /* end confdefs.h.  */
                   13298: 
                   13299: 
                   13300: int
                   13301: main ()
                   13302: {
                   13303: return main ();
                   13304:   ;
                   13305:   return 0;
                   13306: }
                   13307: _ACEOF
                   13308: if ac_fn_c_try_link "$LINENO"; then :
                   13309:   ac_cv_lib_xnet_main=yes
                   13310: else
                   13311:   ac_cv_lib_xnet_main=no
                   13312: fi
                   13313: rm -f core conftest.err conftest.$ac_objext \
                   13314:     conftest$ac_exeext conftest.$ac_ext
                   13315: LIBS=$ac_check_lib_save_LIBS
                   13316: fi
                   13317: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xnet_main" >&5
                   13318: $as_echo "$ac_cv_lib_xnet_main" >&6; }
                   13319: if test "x$ac_cv_lib_xnet_main" = xyes; then :
                   13320:   cat >>confdefs.h <<_ACEOF
                   13321: #define HAVE_LIBXNET 1
                   13322: _ACEOF
                   13323: 
                   13324:   LIBS="-lxnet $LIBS"
                   13325: 
                   13326: fi
                   13327: 
                   13328:       CURSES=-lcurses
                   13329:   ;;
                   13330:   *-sunos5.[8-9] \
                   13331:   | *-sunos5.1[0-9] \
                   13332:   | *-sunos5.1[0-9].[0-9] \
                   13333:   | *-solaris2.[8-9] \
                   13334:   | *-solaris2.1[0-9] \
                   13335:   | *-solaris2.1[0-9].[0-9])
                   13336:       opsys=sol8
                   13337: 
                   13338: $as_echo "#define SUNOS_59 1" >>confdefs.h
                   13339: 
                   13340: 
                   13341: $as_echo "#define SUNOS_5 1" >>confdefs.h
                   13342: 
                   13343:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
                   13344: $as_echo_n "checking for main in -lsocket... " >&6; }
                   13345: if ${ac_cv_lib_socket_main+:} false; then :
                   13346:   $as_echo_n "(cached) " >&6
                   13347: else
                   13348:   ac_check_lib_save_LIBS=$LIBS
                   13349: LIBS="-lsocket  $LIBS"
                   13350: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13351: /* end confdefs.h.  */
                   13352: 
                   13353: 
                   13354: int
                   13355: main ()
                   13356: {
                   13357: return main ();
                   13358:   ;
                   13359:   return 0;
                   13360: }
                   13361: _ACEOF
                   13362: if ac_fn_c_try_link "$LINENO"; then :
                   13363:   ac_cv_lib_socket_main=yes
                   13364: else
                   13365:   ac_cv_lib_socket_main=no
                   13366: fi
                   13367: rm -f core conftest.err conftest.$ac_objext \
                   13368:     conftest$ac_exeext conftest.$ac_ext
                   13369: LIBS=$ac_check_lib_save_LIBS
                   13370: fi
                   13371: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
                   13372: $as_echo "$ac_cv_lib_socket_main" >&6; }
                   13373: if test "x$ac_cv_lib_socket_main" = xyes; then :
                   13374:   cat >>confdefs.h <<_ACEOF
                   13375: #define HAVE_LIBSOCKET 1
                   13376: _ACEOF
                   13377: 
                   13378:   LIBS="-lsocket $LIBS"
                   13379: 
                   13380: fi
                   13381: 
                   13382:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
                   13383: $as_echo_n "checking for main in -lnsl... " >&6; }
                   13384: if ${ac_cv_lib_nsl_main+:} false; then :
                   13385:   $as_echo_n "(cached) " >&6
                   13386: else
                   13387:   ac_check_lib_save_LIBS=$LIBS
                   13388: LIBS="-lnsl  $LIBS"
                   13389: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13390: /* end confdefs.h.  */
                   13391: 
                   13392: 
                   13393: int
                   13394: main ()
                   13395: {
                   13396: return main ();
                   13397:   ;
                   13398:   return 0;
                   13399: }
                   13400: _ACEOF
                   13401: if ac_fn_c_try_link "$LINENO"; then :
                   13402:   ac_cv_lib_nsl_main=yes
                   13403: else
                   13404:   ac_cv_lib_nsl_main=no
                   13405: fi
                   13406: rm -f core conftest.err conftest.$ac_objext \
                   13407:     conftest$ac_exeext conftest.$ac_ext
                   13408: LIBS=$ac_check_lib_save_LIBS
                   13409: fi
                   13410: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
                   13411: $as_echo "$ac_cv_lib_nsl_main" >&6; }
                   13412: if test "x$ac_cv_lib_nsl_main" = xyes; then :
                   13413:   cat >>confdefs.h <<_ACEOF
                   13414: #define HAVE_LIBNSL 1
                   13415: _ACEOF
                   13416: 
                   13417:   LIBS="-lnsl $LIBS"
                   13418: 
                   13419: fi
                   13420: 
                   13421:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lumem" >&5
                   13422: $as_echo_n "checking for main in -lumem... " >&6; }
                   13423: if ${ac_cv_lib_umem_main+:} false; then :
                   13424:   $as_echo_n "(cached) " >&6
                   13425: else
                   13426:   ac_check_lib_save_LIBS=$LIBS
                   13427: LIBS="-lumem  $LIBS"
                   13428: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13429: /* end confdefs.h.  */
                   13430: 
                   13431: 
                   13432: int
                   13433: main ()
                   13434: {
                   13435: return main ();
                   13436:   ;
                   13437:   return 0;
                   13438: }
                   13439: _ACEOF
                   13440: if ac_fn_c_try_link "$LINENO"; then :
                   13441:   ac_cv_lib_umem_main=yes
                   13442: else
                   13443:   ac_cv_lib_umem_main=no
                   13444: fi
                   13445: rm -f core conftest.err conftest.$ac_objext \
                   13446:     conftest$ac_exeext conftest.$ac_ext
                   13447: LIBS=$ac_check_lib_save_LIBS
                   13448: fi
                   13449: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_umem_main" >&5
                   13450: $as_echo "$ac_cv_lib_umem_main" >&6; }
                   13451: if test "x$ac_cv_lib_umem_main" = xyes; then :
                   13452:   cat >>confdefs.h <<_ACEOF
                   13453: #define HAVE_LIBUMEM 1
                   13454: _ACEOF
                   13455: 
                   13456:   LIBS="-lumem $LIBS"
                   13457: 
                   13458: fi
                   13459: 
                   13460:       for ac_func in printstack
                   13461: do :
                   13462:   ac_fn_c_check_func "$LINENO" "printstack" "ac_cv_func_printstack"
                   13463: if test "x$ac_cv_func_printstack" = xyes; then :
                   13464:   cat >>confdefs.h <<_ACEOF
                   13465: #define HAVE_PRINTSTACK 1
                   13466: _ACEOF
                   13467: 
                   13468: $as_echo "#define HAVE_PRINTSTACK 1" >>confdefs.h
                   13469: 
                   13470: 
                   13471: $as_echo "#define HAVE_STACK_TRACE 1" >>confdefs.h
                   13472: 
                   13473: 
                   13474: fi
                   13475: done
                   13476: 
                   13477:       CURSES=-lcurses
                   13478:   ;;
                   13479:   *-sunos5* | *-solaris2*)
                   13480: 
                   13481: $as_echo "#define SUNOS_5 /**/" >>confdefs.h
                   13482: 
                   13483:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
                   13484: $as_echo_n "checking for main in -lsocket... " >&6; }
                   13485: if ${ac_cv_lib_socket_main+:} false; then :
                   13486:   $as_echo_n "(cached) " >&6
                   13487: else
                   13488:   ac_check_lib_save_LIBS=$LIBS
                   13489: LIBS="-lsocket  $LIBS"
                   13490: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13491: /* end confdefs.h.  */
                   13492: 
                   13493: 
                   13494: int
                   13495: main ()
                   13496: {
                   13497: return main ();
                   13498:   ;
                   13499:   return 0;
                   13500: }
                   13501: _ACEOF
                   13502: if ac_fn_c_try_link "$LINENO"; then :
                   13503:   ac_cv_lib_socket_main=yes
                   13504: else
                   13505:   ac_cv_lib_socket_main=no
                   13506: fi
                   13507: rm -f core conftest.err conftest.$ac_objext \
                   13508:     conftest$ac_exeext conftest.$ac_ext
                   13509: LIBS=$ac_check_lib_save_LIBS
                   13510: fi
                   13511: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
                   13512: $as_echo "$ac_cv_lib_socket_main" >&6; }
                   13513: if test "x$ac_cv_lib_socket_main" = xyes; then :
                   13514:   cat >>confdefs.h <<_ACEOF
                   13515: #define HAVE_LIBSOCKET 1
                   13516: _ACEOF
                   13517: 
                   13518:   LIBS="-lsocket $LIBS"
                   13519: 
                   13520: fi
                   13521: 
                   13522:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
                   13523: $as_echo_n "checking for main in -lnsl... " >&6; }
                   13524: if ${ac_cv_lib_nsl_main+:} false; then :
                   13525:   $as_echo_n "(cached) " >&6
                   13526: else
                   13527:   ac_check_lib_save_LIBS=$LIBS
                   13528: LIBS="-lnsl  $LIBS"
                   13529: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13530: /* end confdefs.h.  */
                   13531: 
                   13532: 
                   13533: int
                   13534: main ()
                   13535: {
                   13536: return main ();
                   13537:   ;
                   13538:   return 0;
                   13539: }
                   13540: _ACEOF
                   13541: if ac_fn_c_try_link "$LINENO"; then :
                   13542:   ac_cv_lib_nsl_main=yes
                   13543: else
                   13544:   ac_cv_lib_nsl_main=no
                   13545: fi
                   13546: rm -f core conftest.err conftest.$ac_objext \
                   13547:     conftest$ac_exeext conftest.$ac_ext
                   13548: LIBS=$ac_check_lib_save_LIBS
                   13549: fi
                   13550: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
                   13551: $as_echo "$ac_cv_lib_nsl_main" >&6; }
                   13552: if test "x$ac_cv_lib_nsl_main" = xyes; then :
                   13553:   cat >>confdefs.h <<_ACEOF
                   13554: #define HAVE_LIBNSL 1
                   13555: _ACEOF
                   13556: 
                   13557:   LIBS="-lnsl $LIBS"
                   13558: 
                   13559: fi
                   13560: 
                   13561:       CURSES=-lcurses
                   13562:   ;;
                   13563:   *-linux*)
                   13564:       opsys=gnu-linux
                   13565: 
                   13566: $as_echo "#define GNU_LINUX /**/" >>confdefs.h
                   13567: 
                   13568:   ;;
                   13569:   *-nec-sysv4*)
                   13570:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
                   13571: $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
                   13572: if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
                   13573:   $as_echo_n "(cached) " >&6
                   13574: else
                   13575:   ac_check_lib_save_LIBS=$LIBS
                   13576: LIBS="-lnsl  $LIBS"
                   13577: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13578: /* end confdefs.h.  */
                   13579: 
                   13580: /* Override any GCC internal prototype to avoid an error.
                   13581:    Use char because int might match the return type of a GCC
                   13582:    builtin and then its argument prototype would still apply.  */
                   13583: #ifdef __cplusplus
                   13584: extern "C"
                   13585: #endif
                   13586: char gethostbyname ();
                   13587: int
                   13588: main ()
                   13589: {
                   13590: return gethostbyname ();
                   13591:   ;
                   13592:   return 0;
                   13593: }
                   13594: _ACEOF
                   13595: if ac_fn_c_try_link "$LINENO"; then :
                   13596:   ac_cv_lib_nsl_gethostbyname=yes
                   13597: else
                   13598:   ac_cv_lib_nsl_gethostbyname=no
                   13599: fi
                   13600: rm -f core conftest.err conftest.$ac_objext \
                   13601:     conftest$ac_exeext conftest.$ac_ext
                   13602: LIBS=$ac_check_lib_save_LIBS
                   13603: fi
                   13604: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
                   13605: $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
                   13606: if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
                   13607:   cat >>confdefs.h <<_ACEOF
                   13608: #define HAVE_LIBNSL 1
                   13609: _ACEOF
                   13610: 
                   13611:   LIBS="-lnsl $LIBS"
                   13612: 
                   13613: fi
                   13614: 
                   13615:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
                   13616: $as_echo_n "checking for socket in -lsocket... " >&6; }
                   13617: if ${ac_cv_lib_socket_socket+:} false; then :
                   13618:   $as_echo_n "(cached) " >&6
                   13619: else
                   13620:   ac_check_lib_save_LIBS=$LIBS
                   13621: LIBS="-lsocket  $LIBS"
                   13622: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13623: /* end confdefs.h.  */
                   13624: 
                   13625: /* Override any GCC internal prototype to avoid an error.
                   13626:    Use char because int might match the return type of a GCC
                   13627:    builtin and then its argument prototype would still apply.  */
                   13628: #ifdef __cplusplus
                   13629: extern "C"
                   13630: #endif
                   13631: char socket ();
                   13632: int
                   13633: main ()
                   13634: {
                   13635: return socket ();
                   13636:   ;
                   13637:   return 0;
                   13638: }
                   13639: _ACEOF
                   13640: if ac_fn_c_try_link "$LINENO"; then :
                   13641:   ac_cv_lib_socket_socket=yes
                   13642: else
                   13643:   ac_cv_lib_socket_socket=no
                   13644: fi
                   13645: rm -f core conftest.err conftest.$ac_objext \
                   13646:     conftest$ac_exeext conftest.$ac_ext
                   13647: LIBS=$ac_check_lib_save_LIBS
                   13648: fi
                   13649: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
                   13650: $as_echo "$ac_cv_lib_socket_socket" >&6; }
                   13651: if test "x$ac_cv_lib_socket_socket" = xyes; then :
                   13652:   cat >>confdefs.h <<_ACEOF
                   13653: #define HAVE_LIBSOCKET 1
                   13654: _ACEOF
                   13655: 
                   13656:   LIBS="-lsocket $LIBS"
                   13657: 
                   13658: fi
                   13659: 
                   13660:   ;;
                   13661:   *-openbsd*)
                   13662:       opsys=openbsd
                   13663: 
                   13664: $as_echo "#define OPEN_BSD /**/" >>confdefs.h
                   13665: 
                   13666:   ;;
                   13667:   *-bsdi*)
                   13668:       opsys=bsdi
                   13669:       OTHER_METHOD="mtu_kvm.o"
                   13670:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lkvm" >&5
                   13671: $as_echo_n "checking for main in -lkvm... " >&6; }
                   13672: if ${ac_cv_lib_kvm_main+:} false; then :
                   13673:   $as_echo_n "(cached) " >&6
                   13674: else
                   13675:   ac_check_lib_save_LIBS=$LIBS
                   13676: LIBS="-lkvm  $LIBS"
                   13677: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13678: /* end confdefs.h.  */
                   13679: 
                   13680: 
                   13681: int
                   13682: main ()
                   13683: {
                   13684: return main ();
                   13685:   ;
                   13686:   return 0;
                   13687: }
                   13688: _ACEOF
                   13689: if ac_fn_c_try_link "$LINENO"; then :
                   13690:   ac_cv_lib_kvm_main=yes
                   13691: else
                   13692:   ac_cv_lib_kvm_main=no
                   13693: fi
                   13694: rm -f core conftest.err conftest.$ac_objext \
                   13695:     conftest$ac_exeext conftest.$ac_ext
                   13696: LIBS=$ac_check_lib_save_LIBS
                   13697: fi
                   13698: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kvm_main" >&5
                   13699: $as_echo "$ac_cv_lib_kvm_main" >&6; }
                   13700: if test "x$ac_cv_lib_kvm_main" = xyes; then :
                   13701:   cat >>confdefs.h <<_ACEOF
                   13702: #define HAVE_LIBKVM 1
                   13703: _ACEOF
                   13704: 
                   13705:   LIBS="-lkvm $LIBS"
                   13706: 
                   13707: fi
                   13708: 
                   13709:   ;;
                   13710:   *-irix6.5)
                   13711:       opsys=irix
                   13712: 
                   13713: $as_echo "#define IRIX_65 /**/" >>confdefs.h
                   13714: 
                   13715:   ;;
                   13716: esac
                   13717: 
                   13718: # Check whether --enable-largefile was given.
                   13719: if test "${enable_largefile+set}" = set; then :
                   13720:   enableval=$enable_largefile;
                   13721: fi
                   13722: 
                   13723: if test "$enable_largefile" != no; then
                   13724: 
                   13725:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
                   13726: $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
                   13727: if ${ac_cv_sys_largefile_CC+:} false; then :
                   13728:   $as_echo_n "(cached) " >&6
                   13729: else
                   13730:   ac_cv_sys_largefile_CC=no
                   13731:      if test "$GCC" != yes; then
                   13732:        ac_save_CC=$CC
                   13733:        while :; do
                   13734:         # IRIX 6.2 and later do not support large files by default,
                   13735:         # so use the C compiler's -n32 option if that helps.
                   13736:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13737: /* end confdefs.h.  */
                   13738: #include <sys/types.h>
                   13739:  /* Check that off_t can represent 2**63 - 1 correctly.
                   13740:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   13741:     since some C++ compilers masquerading as C compilers
                   13742:     incorrectly reject 9223372036854775807.  */
                   13743: #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
                   13744:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   13745:                       && LARGE_OFF_T % 2147483647 == 1)
                   13746:                      ? 1 : -1];
                   13747: int
                   13748: main ()
                   13749: {
                   13750: 
                   13751:   ;
                   13752:   return 0;
                   13753: }
                   13754: _ACEOF
                   13755:         if ac_fn_c_try_compile "$LINENO"; then :
                   13756:   break
                   13757: fi
                   13758: rm -f core conftest.err conftest.$ac_objext
                   13759:         CC="$CC -n32"
                   13760:         if ac_fn_c_try_compile "$LINENO"; then :
                   13761:   ac_cv_sys_largefile_CC=' -n32'; break
                   13762: fi
                   13763: rm -f core conftest.err conftest.$ac_objext
                   13764:         break
                   13765:        done
                   13766:        CC=$ac_save_CC
                   13767:        rm -f conftest.$ac_ext
                   13768:     fi
                   13769: fi
                   13770: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
                   13771: $as_echo "$ac_cv_sys_largefile_CC" >&6; }
                   13772:   if test "$ac_cv_sys_largefile_CC" != no; then
                   13773:     CC=$CC$ac_cv_sys_largefile_CC
                   13774:   fi
                   13775: 
                   13776:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
                   13777: $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
                   13778: if ${ac_cv_sys_file_offset_bits+:} false; then :
                   13779:   $as_echo_n "(cached) " >&6
                   13780: else
                   13781:   while :; do
                   13782:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13783: /* end confdefs.h.  */
                   13784: #include <sys/types.h>
                   13785:  /* Check that off_t can represent 2**63 - 1 correctly.
                   13786:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   13787:     since some C++ compilers masquerading as C compilers
                   13788:     incorrectly reject 9223372036854775807.  */
                   13789: #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
                   13790:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   13791:                       && LARGE_OFF_T % 2147483647 == 1)
                   13792:                      ? 1 : -1];
                   13793: int
                   13794: main ()
                   13795: {
                   13796: 
                   13797:   ;
                   13798:   return 0;
                   13799: }
                   13800: _ACEOF
                   13801: if ac_fn_c_try_compile "$LINENO"; then :
                   13802:   ac_cv_sys_file_offset_bits=no; break
                   13803: fi
                   13804: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   13805:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13806: /* end confdefs.h.  */
                   13807: #define _FILE_OFFSET_BITS 64
                   13808: #include <sys/types.h>
                   13809:  /* Check that off_t can represent 2**63 - 1 correctly.
                   13810:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   13811:     since some C++ compilers masquerading as C compilers
                   13812:     incorrectly reject 9223372036854775807.  */
                   13813: #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
                   13814:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   13815:                       && LARGE_OFF_T % 2147483647 == 1)
                   13816:                      ? 1 : -1];
                   13817: int
                   13818: main ()
                   13819: {
                   13820: 
                   13821:   ;
                   13822:   return 0;
                   13823: }
                   13824: _ACEOF
                   13825: if ac_fn_c_try_compile "$LINENO"; then :
                   13826:   ac_cv_sys_file_offset_bits=64; break
                   13827: fi
                   13828: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   13829:   ac_cv_sys_file_offset_bits=unknown
                   13830:   break
                   13831: done
                   13832: fi
                   13833: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
                   13834: $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
                   13835: case $ac_cv_sys_file_offset_bits in #(
                   13836:   no | unknown) ;;
                   13837:   *)
                   13838: cat >>confdefs.h <<_ACEOF
                   13839: #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
                   13840: _ACEOF
                   13841: ;;
                   13842: esac
                   13843: rm -rf conftest*
                   13844:   if test $ac_cv_sys_file_offset_bits = unknown; then
                   13845:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
                   13846: $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
                   13847: if ${ac_cv_sys_large_files+:} false; then :
                   13848:   $as_echo_n "(cached) " >&6
                   13849: else
                   13850:   while :; do
                   13851:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13852: /* end confdefs.h.  */
                   13853: #include <sys/types.h>
                   13854:  /* Check that off_t can represent 2**63 - 1 correctly.
                   13855:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   13856:     since some C++ compilers masquerading as C compilers
                   13857:     incorrectly reject 9223372036854775807.  */
                   13858: #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
                   13859:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   13860:                       && LARGE_OFF_T % 2147483647 == 1)
                   13861:                      ? 1 : -1];
                   13862: int
                   13863: main ()
                   13864: {
                   13865: 
                   13866:   ;
                   13867:   return 0;
                   13868: }
                   13869: _ACEOF
                   13870: if ac_fn_c_try_compile "$LINENO"; then :
                   13871:   ac_cv_sys_large_files=no; break
                   13872: fi
                   13873: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   13874:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13875: /* end confdefs.h.  */
                   13876: #define _LARGE_FILES 1
                   13877: #include <sys/types.h>
                   13878:  /* Check that off_t can represent 2**63 - 1 correctly.
                   13879:     We can't simply define LARGE_OFF_T to be 9223372036854775807,
                   13880:     since some C++ compilers masquerading as C compilers
                   13881:     incorrectly reject 9223372036854775807.  */
                   13882: #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
                   13883:   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
                   13884:                       && LARGE_OFF_T % 2147483647 == 1)
                   13885:                      ? 1 : -1];
                   13886: int
                   13887: main ()
                   13888: {
                   13889: 
                   13890:   ;
                   13891:   return 0;
                   13892: }
                   13893: _ACEOF
                   13894: if ac_fn_c_try_compile "$LINENO"; then :
                   13895:   ac_cv_sys_large_files=1; break
                   13896: fi
                   13897: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   13898:   ac_cv_sys_large_files=unknown
                   13899:   break
                   13900: done
                   13901: fi
                   13902: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
                   13903: $as_echo "$ac_cv_sys_large_files" >&6; }
                   13904: case $ac_cv_sys_large_files in #(
                   13905:   no | unknown) ;;
                   13906:   *)
                   13907: cat >>confdefs.h <<_ACEOF
                   13908: #define _LARGE_FILES $ac_cv_sys_large_files
                   13909: _ACEOF
                   13910: ;;
                   13911: esac
                   13912: rm -rf conftest*
                   13913:   fi
                   13914: fi
                   13915: 
                   13916: 
                   13917: case "${enable_vtysh}" in
                   13918:   "yes") VTYSH="vtysh";
                   13919: 
                   13920: $as_echo "#define VTYSH /**/" >>confdefs.h
                   13921: 
                   13922:         # Extract the first word of "perl", so it can be a program name with args.
                   13923: set dummy perl; ac_word=$2
                   13924: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   13925: $as_echo_n "checking for $ac_word... " >&6; }
                   13926: if ${ac_cv_path_PERL+:} false; then :
                   13927:   $as_echo_n "(cached) " >&6
                   13928: else
                   13929:   case $PERL in
                   13930:   [\\/]* | ?:[\\/]*)
                   13931:   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
                   13932:   ;;
                   13933:   *)
                   13934:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   13935: for as_dir in $PATH
                   13936: do
                   13937:   IFS=$as_save_IFS
                   13938:   test -z "$as_dir" && as_dir=.
                   13939:     for ac_exec_ext in '' $ac_executable_extensions; do
                   13940:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   13941:     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
                   13942:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   13943:     break 2
                   13944:   fi
                   13945: done
                   13946:   done
                   13947: IFS=$as_save_IFS
                   13948: 
                   13949:   ;;
                   13950: esac
                   13951: fi
                   13952: PERL=$ac_cv_path_PERL
                   13953: if test -n "$PERL"; then
                   13954:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
                   13955: $as_echo "$PERL" >&6; }
                   13956: else
                   13957:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   13958: $as_echo "no" >&6; }
                   13959: fi
                   13960: 
                   13961: 
                   13962:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tputs in -ltermcap" >&5
                   13963: $as_echo_n "checking for tputs in -ltermcap... " >&6; }
                   13964: if ${ac_cv_lib_termcap_tputs+:} false; then :
                   13965:   $as_echo_n "(cached) " >&6
                   13966: else
                   13967:   ac_check_lib_save_LIBS=$LIBS
                   13968: LIBS="-ltermcap  $LIBS"
                   13969: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13970: /* end confdefs.h.  */
                   13971: 
                   13972: /* Override any GCC internal prototype to avoid an error.
                   13973:    Use char because int might match the return type of a GCC
                   13974:    builtin and then its argument prototype would still apply.  */
                   13975: #ifdef __cplusplus
                   13976: extern "C"
                   13977: #endif
                   13978: char tputs ();
                   13979: int
                   13980: main ()
                   13981: {
                   13982: return tputs ();
                   13983:   ;
                   13984:   return 0;
                   13985: }
                   13986: _ACEOF
                   13987: if ac_fn_c_try_link "$LINENO"; then :
                   13988:   ac_cv_lib_termcap_tputs=yes
                   13989: else
                   13990:   ac_cv_lib_termcap_tputs=no
                   13991: fi
                   13992: rm -f core conftest.err conftest.$ac_objext \
                   13993:     conftest$ac_exeext conftest.$ac_ext
                   13994: LIBS=$ac_check_lib_save_LIBS
                   13995: fi
                   13996: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_termcap_tputs" >&5
                   13997: $as_echo "$ac_cv_lib_termcap_tputs" >&6; }
                   13998: if test "x$ac_cv_lib_termcap_tputs" = xyes; then :
                   13999:   LIBREADLINE="$LIBREADLINE -ltermcap"
                   14000: else
                   14001:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tputs in -ltinfo" >&5
                   14002: $as_echo_n "checking for tputs in -ltinfo... " >&6; }
                   14003: if ${ac_cv_lib_tinfo_tputs+:} false; then :
                   14004:   $as_echo_n "(cached) " >&6
                   14005: else
                   14006:   ac_check_lib_save_LIBS=$LIBS
                   14007: LIBS="-ltinfo  $LIBS"
                   14008: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14009: /* end confdefs.h.  */
                   14010: 
                   14011: /* Override any GCC internal prototype to avoid an error.
                   14012:    Use char because int might match the return type of a GCC
                   14013:    builtin and then its argument prototype would still apply.  */
                   14014: #ifdef __cplusplus
                   14015: extern "C"
                   14016: #endif
                   14017: char tputs ();
                   14018: int
                   14019: main ()
                   14020: {
                   14021: return tputs ();
                   14022:   ;
                   14023:   return 0;
                   14024: }
                   14025: _ACEOF
                   14026: if ac_fn_c_try_link "$LINENO"; then :
                   14027:   ac_cv_lib_tinfo_tputs=yes
                   14028: else
                   14029:   ac_cv_lib_tinfo_tputs=no
                   14030: fi
                   14031: rm -f core conftest.err conftest.$ac_objext \
                   14032:     conftest$ac_exeext conftest.$ac_ext
                   14033: LIBS=$ac_check_lib_save_LIBS
                   14034: fi
                   14035: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tinfo_tputs" >&5
                   14036: $as_echo "$ac_cv_lib_tinfo_tputs" >&6; }
                   14037: if test "x$ac_cv_lib_tinfo_tputs" = xyes; then :
                   14038:   LIBREADLINE="$LIBREADLINE -ltinfo"
                   14039: else
                   14040:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tputs in -lcurses" >&5
                   14041: $as_echo_n "checking for tputs in -lcurses... " >&6; }
                   14042: if ${ac_cv_lib_curses_tputs+:} false; then :
                   14043:   $as_echo_n "(cached) " >&6
                   14044: else
                   14045:   ac_check_lib_save_LIBS=$LIBS
                   14046: LIBS="-lcurses  $LIBS"
                   14047: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14048: /* end confdefs.h.  */
                   14049: 
                   14050: /* Override any GCC internal prototype to avoid an error.
                   14051:    Use char because int might match the return type of a GCC
                   14052:    builtin and then its argument prototype would still apply.  */
                   14053: #ifdef __cplusplus
                   14054: extern "C"
                   14055: #endif
                   14056: char tputs ();
                   14057: int
                   14058: main ()
                   14059: {
                   14060: return tputs ();
                   14061:   ;
                   14062:   return 0;
                   14063: }
                   14064: _ACEOF
                   14065: if ac_fn_c_try_link "$LINENO"; then :
                   14066:   ac_cv_lib_curses_tputs=yes
                   14067: else
                   14068:   ac_cv_lib_curses_tputs=no
                   14069: fi
                   14070: rm -f core conftest.err conftest.$ac_objext \
                   14071:     conftest$ac_exeext conftest.$ac_ext
                   14072: LIBS=$ac_check_lib_save_LIBS
                   14073: fi
                   14074: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_curses_tputs" >&5
                   14075: $as_echo "$ac_cv_lib_curses_tputs" >&6; }
                   14076: if test "x$ac_cv_lib_curses_tputs" = xyes; then :
                   14077:   LIBREADLINE="$LIBREADLINE -lcurses"
                   14078: else
                   14079:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tputs in -lncurses" >&5
                   14080: $as_echo_n "checking for tputs in -lncurses... " >&6; }
                   14081: if ${ac_cv_lib_ncurses_tputs+:} false; then :
                   14082:   $as_echo_n "(cached) " >&6
                   14083: else
                   14084:   ac_check_lib_save_LIBS=$LIBS
                   14085: LIBS="-lncurses  $LIBS"
                   14086: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14087: /* end confdefs.h.  */
                   14088: 
                   14089: /* Override any GCC internal prototype to avoid an error.
                   14090:    Use char because int might match the return type of a GCC
                   14091:    builtin and then its argument prototype would still apply.  */
                   14092: #ifdef __cplusplus
                   14093: extern "C"
                   14094: #endif
                   14095: char tputs ();
                   14096: int
                   14097: main ()
                   14098: {
                   14099: return tputs ();
                   14100:   ;
                   14101:   return 0;
                   14102: }
                   14103: _ACEOF
                   14104: if ac_fn_c_try_link "$LINENO"; then :
                   14105:   ac_cv_lib_ncurses_tputs=yes
                   14106: else
                   14107:   ac_cv_lib_ncurses_tputs=no
                   14108: fi
                   14109: rm -f core conftest.err conftest.$ac_objext \
                   14110:     conftest$ac_exeext conftest.$ac_ext
                   14111: LIBS=$ac_check_lib_save_LIBS
                   14112: fi
                   14113: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_tputs" >&5
                   14114: $as_echo "$ac_cv_lib_ncurses_tputs" >&6; }
                   14115: if test "x$ac_cv_lib_ncurses_tputs" = xyes; then :
                   14116:   LIBREADLINE="$LIBREADLINE -lncurses"
                   14117: fi
                   14118: 
                   14119: 
                   14120: fi
                   14121: 
                   14122: 
                   14123: fi
                   14124: 
                   14125: 
                   14126: fi
                   14127: 
                   14128:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lreadline" >&5
                   14129: $as_echo_n "checking for main in -lreadline... " >&6; }
                   14130: if ${ac_cv_lib_readline_main+:} false; then :
                   14131:   $as_echo_n "(cached) " >&6
                   14132: else
                   14133:   ac_check_lib_save_LIBS=$LIBS
                   14134: LIBS="-lreadline "$LIBREADLINE" $LIBS"
                   14135: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14136: /* end confdefs.h.  */
                   14137: 
                   14138: 
                   14139: int
                   14140: main ()
                   14141: {
                   14142: return main ();
                   14143:   ;
                   14144:   return 0;
                   14145: }
                   14146: _ACEOF
                   14147: if ac_fn_c_try_link "$LINENO"; then :
                   14148:   ac_cv_lib_readline_main=yes
                   14149: else
                   14150:   ac_cv_lib_readline_main=no
                   14151: fi
                   14152: rm -f core conftest.err conftest.$ac_objext \
                   14153:     conftest$ac_exeext conftest.$ac_ext
                   14154: LIBS=$ac_check_lib_save_LIBS
                   14155: fi
                   14156: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_main" >&5
                   14157: $as_echo "$ac_cv_lib_readline_main" >&6; }
                   14158: if test "x$ac_cv_lib_readline_main" = xyes; then :
                   14159:   LIBREADLINE="$LIBREADLINE -lreadline"
                   14160: fi
                   14161: 
                   14162:          if test $ac_cv_lib_readline_main = no; then
                   14163:            as_fn_error $? "vtysh needs libreadline but was not found and usable on your system." "$LINENO" 5
                   14164:          fi
                   14165:         ac_fn_c_check_header_mongrel "$LINENO" "readline/history.h" "ac_cv_header_readline_history_h" "$ac_includes_default"
                   14166: if test "x$ac_cv_header_readline_history_h" = xyes; then :
                   14167: 
                   14168: fi
                   14169: 
                   14170: 
                   14171:         if test $ac_cv_header_readline_history_h = no;then
                   14172:            as_fn_error $? "readline is too old to have readline/history.h, please update to the latest readline library." "$LINENO" 5
                   14173:         fi
                   14174:         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rl_completion_matches in -lreadline" >&5
                   14175: $as_echo_n "checking for rl_completion_matches in -lreadline... " >&6; }
                   14176: if ${ac_cv_lib_readline_rl_completion_matches+:} false; then :
                   14177:   $as_echo_n "(cached) " >&6
                   14178: else
                   14179:   ac_check_lib_save_LIBS=$LIBS
                   14180: LIBS="-lreadline "$LIBREADLINE" $LIBS"
                   14181: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14182: /* end confdefs.h.  */
                   14183: 
                   14184: /* Override any GCC internal prototype to avoid an error.
                   14185:    Use char because int might match the return type of a GCC
                   14186:    builtin and then its argument prototype would still apply.  */
                   14187: #ifdef __cplusplus
                   14188: extern "C"
                   14189: #endif
                   14190: char rl_completion_matches ();
                   14191: int
                   14192: main ()
                   14193: {
                   14194: return rl_completion_matches ();
                   14195:   ;
                   14196:   return 0;
                   14197: }
                   14198: _ACEOF
                   14199: if ac_fn_c_try_link "$LINENO"; then :
                   14200:   ac_cv_lib_readline_rl_completion_matches=yes
                   14201: else
                   14202:   ac_cv_lib_readline_rl_completion_matches=no
                   14203: fi
                   14204: rm -f core conftest.err conftest.$ac_objext \
                   14205:     conftest$ac_exeext conftest.$ac_ext
                   14206: LIBS=$ac_check_lib_save_LIBS
                   14207: fi
                   14208: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_rl_completion_matches" >&5
                   14209: $as_echo "$ac_cv_lib_readline_rl_completion_matches" >&6; }
                   14210: if test "x$ac_cv_lib_readline_rl_completion_matches" = xyes; then :
                   14211:   LIBREADLINE="$LIBREADLINE"
                   14212: fi
                   14213: 
                   14214:          if test $ac_cv_lib_readline_rl_completion_matches = no; then
                   14215: 
                   14216: $as_echo "#define rl_completion_matches completion_matches" >>confdefs.h
                   14217: 
                   14218:         fi
                   14219:         ;;
                   14220:   "no" ) VTYSH="";;
                   14221:   *    ) ;;
                   14222: esac
                   14223: 
                   14224: 
                   14225: if test "$with_libpam" = "yes"; then
                   14226:   ac_fn_c_check_header_compile "$LINENO" "security/pam_misc.h" "ac_cv_header_security_pam_misc_h" "#ifdef SUNOS_5
                   14227: #define _XPG4_2
                   14228: #define __EXTENSIONS__
                   14229: #endif
                   14230: #include <stdio.h>
                   14231: #if STDC_HEADERS
                   14232: # include <stdlib.h>
                   14233: # include <stddef.h>
                   14234: #else
                   14235: # if HAVE_STDLIB_H
                   14236: #  include <stdlib.h>
                   14237: # endif
                   14238: #endif
                   14239: #if HAVE_SYS_TYPES_H
                   14240: # include <sys/types.h>
                   14241: #endif
                   14242: /* sys/conf.h depends on param.h on FBSD at least */
                   14243: #if HAVE_SYS_PARAM_H
                   14244: # include <sys/param.h>
                   14245: #endif
                   14246: /* Required for MAXSIG */
                   14247: #if HAVE_SIGNAL_H
                   14248: # include <signal.h>
                   14249: #endif
                   14250: #if HAVE_SYS_SOCKET_H
                   14251: # include <sys/socket.h>
                   14252: #endif
                   14253: #if HAVE_NETINET_IN_H
                   14254: # include <netinet/in.h>
                   14255: #endif
                   14256: #ifdef TIME_WITH_SYS_TIME
                   14257: # include <sys/time.h>
                   14258: # include <time.h>
                   14259: #else
                   14260: # ifdef HAVE_SYS_TIME_H
                   14261: #  include <sys/time.h>
                   14262: # else
                   14263: #  include <time.h>
                   14264: # endif
                   14265: #endif /* TIME_WITH_SYS_TIME */
                   14266: 
                   14267: #if HAVE_NET_IF_H
                   14268: # include <net/if.h>
                   14269: #endif
                   14270: 
                   14271: #if HAVE_NET_IF_VAR_H
                   14272: # include <net/if_var.h>
                   14273: #endif
                   14274: 
                   14275: #if HAVE_SYS_UN_H
                   14276: # include <sys/un.h>
                   14277: #endif
                   14278: #if HAVE_NETINET_IN_SYSTM_H
                   14279: # include <netinet/in_systm.h>
                   14280: #endif
                   14281: #if HAVE_NETINET_IN_VAR_H
                   14282: # include <netinet/in_var.h>
                   14283: #endif
                   14284: #if HAVE_NET_IF_DL_H
                   14285: # include <net/if_dl.h>
                   14286: #endif
                   14287: #if HAVE_NET_NETOPT_H
                   14288: # include <net/netopt.h>
                   14289: #endif
                   14290: #if HAVE_NET_ROUTE_H
                   14291: # include <net/route.h>
                   14292: #endif
                   14293: #if HAVE_INET_ND_H
                   14294: # include <inet/nd.h>
                   14295: #endif
                   14296: #if HAVE_ARPA_INET_H
                   14297: # include <arpa/inet.h>
                   14298: #endif
                   14299: /* Required for IDRP */
                   14300: #if HAVE_NETINET_IP_ICMP_H
                   14301: # include <netinet/ip_icmp.h>
                   14302: #endif
                   14303: 
                   14304: "
                   14305: if test "x$ac_cv_header_security_pam_misc_h" = xyes; then :
                   14306: 
                   14307: $as_echo "#define HAVE_PAM_MISC_H /**/" >>confdefs.h
                   14308: 
                   14309: 
                   14310: $as_echo "#define PAM_CONV_FUNC misc_conv" >>confdefs.h
                   14311: 
                   14312:      pam_conv_func="misc_conv"
                   14313: 
                   14314: fi
                   14315: 
                   14316: 
                   14317:   ac_fn_c_check_header_compile "$LINENO" "security/openpam.h" "ac_cv_header_security_openpam_h" "#ifdef SUNOS_5
                   14318: #define _XPG4_2
                   14319: #define __EXTENSIONS__
                   14320: #endif
                   14321: #include <stdio.h>
                   14322: #if STDC_HEADERS
                   14323: # include <stdlib.h>
                   14324: # include <stddef.h>
                   14325: #else
                   14326: # if HAVE_STDLIB_H
                   14327: #  include <stdlib.h>
                   14328: # endif
                   14329: #endif
                   14330: #if HAVE_SYS_TYPES_H
                   14331: # include <sys/types.h>
                   14332: #endif
                   14333: /* sys/conf.h depends on param.h on FBSD at least */
                   14334: #if HAVE_SYS_PARAM_H
                   14335: # include <sys/param.h>
                   14336: #endif
                   14337: /* Required for MAXSIG */
                   14338: #if HAVE_SIGNAL_H
                   14339: # include <signal.h>
                   14340: #endif
                   14341: #if HAVE_SYS_SOCKET_H
                   14342: # include <sys/socket.h>
                   14343: #endif
                   14344: #if HAVE_NETINET_IN_H
                   14345: # include <netinet/in.h>
                   14346: #endif
                   14347: #ifdef TIME_WITH_SYS_TIME
                   14348: # include <sys/time.h>
                   14349: # include <time.h>
                   14350: #else
                   14351: # ifdef HAVE_SYS_TIME_H
                   14352: #  include <sys/time.h>
                   14353: # else
                   14354: #  include <time.h>
                   14355: # endif
                   14356: #endif /* TIME_WITH_SYS_TIME */
                   14357: 
                   14358: #if HAVE_NET_IF_H
                   14359: # include <net/if.h>
                   14360: #endif
                   14361: 
                   14362: #if HAVE_NET_IF_VAR_H
                   14363: # include <net/if_var.h>
                   14364: #endif
                   14365: 
                   14366: #if HAVE_SYS_UN_H
                   14367: # include <sys/un.h>
                   14368: #endif
                   14369: #if HAVE_NETINET_IN_SYSTM_H
                   14370: # include <netinet/in_systm.h>
                   14371: #endif
                   14372: #if HAVE_NETINET_IN_VAR_H
                   14373: # include <netinet/in_var.h>
                   14374: #endif
                   14375: #if HAVE_NET_IF_DL_H
                   14376: # include <net/if_dl.h>
                   14377: #endif
                   14378: #if HAVE_NET_NETOPT_H
                   14379: # include <net/netopt.h>
                   14380: #endif
                   14381: #if HAVE_NET_ROUTE_H
                   14382: # include <net/route.h>
                   14383: #endif
                   14384: #if HAVE_INET_ND_H
                   14385: # include <inet/nd.h>
                   14386: #endif
                   14387: #if HAVE_ARPA_INET_H
                   14388: # include <arpa/inet.h>
                   14389: #endif
                   14390: /* Required for IDRP */
                   14391: #if HAVE_NETINET_IP_ICMP_H
                   14392: # include <netinet/ip_icmp.h>
                   14393: #endif
                   14394: #include <security/pam_appl.h>
                   14395: "
                   14396: if test "x$ac_cv_header_security_openpam_h" = xyes; then :
                   14397: 
                   14398: $as_echo "#define HAVE_OPENPAM_H /**/" >>confdefs.h
                   14399: 
                   14400: 
                   14401: $as_echo "#define PAM_CONV_FUNC openpam_ttyconv" >>confdefs.h
                   14402: 
                   14403:      pam_conv_func="openpam_ttyconv"
                   14404: 
                   14405: fi
                   14406: 
                   14407: 
                   14408:   if test -z "$ac_cv_header_security_pam_misc_h$ac_cv_header_security_openpam_h" ; then
                   14409:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** pam support will not be built ***" >&5
                   14410: $as_echo "$as_me: WARNING: *** pam support will not be built ***" >&2;}
                   14411:     with_libpam="no"
                   14412:   fi
                   14413: fi
                   14414: 
                   14415: if test "$with_libpam" = "yes"; then
                   14416: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
                   14417: $as_echo_n "checking for pam_start in -lpam... " >&6; }
                   14418: if ${ac_cv_lib_pam_pam_start+:} false; then :
                   14419:   $as_echo_n "(cached) " >&6
                   14420: else
                   14421:   ac_check_lib_save_LIBS=$LIBS
                   14422: LIBS="-lpam  $LIBS"
                   14423: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14424: /* end confdefs.h.  */
                   14425: 
                   14426: /* Override any GCC internal prototype to avoid an error.
                   14427:    Use char because int might match the return type of a GCC
                   14428:    builtin and then its argument prototype would still apply.  */
                   14429: #ifdef __cplusplus
                   14430: extern "C"
                   14431: #endif
                   14432: char pam_start ();
                   14433: int
                   14434: main ()
                   14435: {
                   14436: return pam_start ();
                   14437:   ;
                   14438:   return 0;
                   14439: }
                   14440: _ACEOF
                   14441: if ac_fn_c_try_link "$LINENO"; then :
                   14442:   ac_cv_lib_pam_pam_start=yes
                   14443: else
                   14444:   ac_cv_lib_pam_pam_start=no
                   14445: fi
                   14446: rm -f core conftest.err conftest.$ac_objext \
                   14447:     conftest$ac_exeext conftest.$ac_ext
                   14448: LIBS=$ac_check_lib_save_LIBS
                   14449: fi
                   14450: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
                   14451: $as_echo "$ac_cv_lib_pam_pam_start" >&6; }
                   14452: if test "x$ac_cv_lib_pam_pam_start" = xyes; then :
                   14453:   as_ac_Lib=`$as_echo "ac_cv_lib_pam_$pam_conv_func" | $as_tr_sh`
                   14454: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $pam_conv_func in -lpam" >&5
                   14455: $as_echo_n "checking for $pam_conv_func in -lpam... " >&6; }
                   14456: if eval \${$as_ac_Lib+:} false; then :
                   14457:   $as_echo_n "(cached) " >&6
                   14458: else
                   14459:   ac_check_lib_save_LIBS=$LIBS
                   14460: LIBS="-lpam  $LIBS"
                   14461: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14462: /* end confdefs.h.  */
                   14463: 
                   14464: /* Override any GCC internal prototype to avoid an error.
                   14465:    Use char because int might match the return type of a GCC
                   14466:    builtin and then its argument prototype would still apply.  */
                   14467: #ifdef __cplusplus
                   14468: extern "C"
                   14469: #endif
                   14470: char $pam_conv_func ();
                   14471: int
                   14472: main ()
                   14473: {
                   14474: return $pam_conv_func ();
                   14475:   ;
                   14476:   return 0;
                   14477: }
                   14478: _ACEOF
                   14479: if ac_fn_c_try_link "$LINENO"; then :
                   14480:   eval "$as_ac_Lib=yes"
                   14481: else
                   14482:   eval "$as_ac_Lib=no"
                   14483: fi
                   14484: rm -f core conftest.err conftest.$ac_objext \
                   14485:     conftest$ac_exeext conftest.$ac_ext
                   14486: LIBS=$ac_check_lib_save_LIBS
                   14487: fi
                   14488: eval ac_res=\$$as_ac_Lib
                   14489:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   14490: $as_echo "$ac_res" >&6; }
                   14491: if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
                   14492: 
                   14493: $as_echo "#define USE_PAM /**/" >>confdefs.h
                   14494: 
                   14495:      LIBPAM="-lpam"
                   14496: else
                   14497: 
                   14498: $as_echo "#define USE_PAM /**/" >>confdefs.h
                   14499: 
                   14500:      LIBPAM="-lpam -lpam_misc"
                   14501: 
                   14502: fi
                   14503: 
                   14504: 
                   14505: else
                   14506:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_end in -lpam" >&5
                   14507: $as_echo_n "checking for pam_end in -lpam... " >&6; }
                   14508: if ${ac_cv_lib_pam_pam_end+:} false; then :
                   14509:   $as_echo_n "(cached) " >&6
                   14510: else
                   14511:   ac_check_lib_save_LIBS=$LIBS
                   14512: LIBS="-lpam -ldl $LIBS"
                   14513: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14514: /* end confdefs.h.  */
                   14515: 
                   14516: /* Override any GCC internal prototype to avoid an error.
                   14517:    Use char because int might match the return type of a GCC
                   14518:    builtin and then its argument prototype would still apply.  */
                   14519: #ifdef __cplusplus
                   14520: extern "C"
                   14521: #endif
                   14522: char pam_end ();
                   14523: int
                   14524: main ()
                   14525: {
                   14526: return pam_end ();
                   14527:   ;
                   14528:   return 0;
                   14529: }
                   14530: _ACEOF
                   14531: if ac_fn_c_try_link "$LINENO"; then :
                   14532:   ac_cv_lib_pam_pam_end=yes
                   14533: else
                   14534:   ac_cv_lib_pam_pam_end=no
                   14535: fi
                   14536: rm -f core conftest.err conftest.$ac_objext \
                   14537:     conftest$ac_exeext conftest.$ac_ext
                   14538: LIBS=$ac_check_lib_save_LIBS
                   14539: fi
                   14540: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_end" >&5
                   14541: $as_echo "$ac_cv_lib_pam_pam_end" >&6; }
                   14542: if test "x$ac_cv_lib_pam_pam_end" = xyes; then :
                   14543:   as_ac_Lib=`$as_echo "ac_cv_lib_pam_$pam_conv_func" | $as_tr_sh`
                   14544: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $pam_conv_func in -lpam" >&5
                   14545: $as_echo_n "checking for $pam_conv_func in -lpam... " >&6; }
                   14546: if eval \${$as_ac_Lib+:} false; then :
                   14547:   $as_echo_n "(cached) " >&6
                   14548: else
                   14549:   ac_check_lib_save_LIBS=$LIBS
                   14550: LIBS="-lpam  $LIBS"
                   14551: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14552: /* end confdefs.h.  */
                   14553: 
                   14554: /* Override any GCC internal prototype to avoid an error.
                   14555:    Use char because int might match the return type of a GCC
                   14556:    builtin and then its argument prototype would still apply.  */
                   14557: #ifdef __cplusplus
                   14558: extern "C"
                   14559: #endif
                   14560: char $pam_conv_func ();
                   14561: int
                   14562: main ()
                   14563: {
                   14564: return $pam_conv_func ();
                   14565:   ;
                   14566:   return 0;
                   14567: }
                   14568: _ACEOF
                   14569: if ac_fn_c_try_link "$LINENO"; then :
                   14570:   eval "$as_ac_Lib=yes"
                   14571: else
                   14572:   eval "$as_ac_Lib=no"
                   14573: fi
                   14574: rm -f core conftest.err conftest.$ac_objext \
                   14575:     conftest$ac_exeext conftest.$ac_ext
                   14576: LIBS=$ac_check_lib_save_LIBS
                   14577: fi
                   14578: eval ac_res=\$$as_ac_Lib
                   14579:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   14580: $as_echo "$ac_res" >&6; }
                   14581: if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
                   14582: 
                   14583: $as_echo "#define USE_PAM /**/" >>confdefs.h
                   14584: 
                   14585:        LIBPAM="-lpam -ldl"
                   14586: else
                   14587: 
                   14588: $as_echo "#define USE_PAM /**/" >>confdefs.h
                   14589: 
                   14590:        LIBPAM="-lpam -ldl -lpam_misc"
                   14591: 
                   14592: fi
                   14593: 
                   14594: 
                   14595: else
                   14596:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** pam support will not be built ***" >&5
                   14597: $as_echo "$as_me: WARNING: *** pam support will not be built ***" >&2;}
                   14598: fi
                   14599: 
                   14600: 
                   14601: 
                   14602: fi
                   14603: 
                   14604: fi
                   14605: 
                   14606: 
                   14607:  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
                   14608: $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
                   14609: if ${ac_cv_c_bigendian+:} false; then :
                   14610:   $as_echo_n "(cached) " >&6
                   14611: else
                   14612:   ac_cv_c_bigendian=unknown
                   14613:     # See if we're dealing with a universal compiler.
                   14614:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14615: /* end confdefs.h.  */
                   14616: #ifndef __APPLE_CC__
                   14617:               not a universal capable compiler
                   14618:             #endif
                   14619:             typedef int dummy;
                   14620: 
                   14621: _ACEOF
                   14622: if ac_fn_c_try_compile "$LINENO"; then :
                   14623: 
                   14624:        # Check for potential -arch flags.  It is not universal unless
                   14625:        # there are at least two -arch flags with different values.
                   14626:        ac_arch=
                   14627:        ac_prev=
                   14628:        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
                   14629:         if test -n "$ac_prev"; then
                   14630:           case $ac_word in
                   14631:             i?86 | x86_64 | ppc | ppc64)
                   14632:               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
                   14633:                 ac_arch=$ac_word
                   14634:               else
                   14635:                 ac_cv_c_bigendian=universal
                   14636:                 break
                   14637:               fi
                   14638:               ;;
                   14639:           esac
                   14640:           ac_prev=
                   14641:         elif test "x$ac_word" = "x-arch"; then
                   14642:           ac_prev=arch
                   14643:         fi
                   14644:        done
                   14645: fi
                   14646: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   14647:     if test $ac_cv_c_bigendian = unknown; then
                   14648:       # See if sys/param.h defines the BYTE_ORDER macro.
                   14649:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14650: /* end confdefs.h.  */
                   14651: #include <sys/types.h>
                   14652:             #include <sys/param.h>
                   14653: 
                   14654: int
                   14655: main ()
                   14656: {
                   14657: #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
                   14658:                     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
                   14659:                     && LITTLE_ENDIAN)
                   14660:              bogus endian macros
                   14661:             #endif
                   14662: 
                   14663:   ;
                   14664:   return 0;
                   14665: }
                   14666: _ACEOF
                   14667: if ac_fn_c_try_compile "$LINENO"; then :
                   14668:   # It does; now see whether it defined to BIG_ENDIAN or not.
                   14669:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14670: /* end confdefs.h.  */
                   14671: #include <sys/types.h>
                   14672:                #include <sys/param.h>
                   14673: 
                   14674: int
                   14675: main ()
                   14676: {
                   14677: #if BYTE_ORDER != BIG_ENDIAN
                   14678:                 not big endian
                   14679:                #endif
                   14680: 
                   14681:   ;
                   14682:   return 0;
                   14683: }
                   14684: _ACEOF
                   14685: if ac_fn_c_try_compile "$LINENO"; then :
                   14686:   ac_cv_c_bigendian=yes
                   14687: else
                   14688:   ac_cv_c_bigendian=no
                   14689: fi
                   14690: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   14691: fi
                   14692: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   14693:     fi
                   14694:     if test $ac_cv_c_bigendian = unknown; then
                   14695:       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
                   14696:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14697: /* end confdefs.h.  */
                   14698: #include <limits.h>
                   14699: 
                   14700: int
                   14701: main ()
                   14702: {
                   14703: #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
                   14704:              bogus endian macros
                   14705:             #endif
                   14706: 
                   14707:   ;
                   14708:   return 0;
                   14709: }
                   14710: _ACEOF
                   14711: if ac_fn_c_try_compile "$LINENO"; then :
                   14712:   # It does; now see whether it defined to _BIG_ENDIAN or not.
                   14713:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14714: /* end confdefs.h.  */
                   14715: #include <limits.h>
                   14716: 
                   14717: int
                   14718: main ()
                   14719: {
                   14720: #ifndef _BIG_ENDIAN
                   14721:                 not big endian
                   14722:                #endif
                   14723: 
                   14724:   ;
                   14725:   return 0;
                   14726: }
                   14727: _ACEOF
                   14728: if ac_fn_c_try_compile "$LINENO"; then :
                   14729:   ac_cv_c_bigendian=yes
                   14730: else
                   14731:   ac_cv_c_bigendian=no
                   14732: fi
                   14733: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   14734: fi
                   14735: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   14736:     fi
                   14737:     if test $ac_cv_c_bigendian = unknown; then
                   14738:       # Compile a test program.
                   14739:       if test "$cross_compiling" = yes; then :
                   14740:   # Try to guess by grepping values from an object file.
                   14741:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14742: /* end confdefs.h.  */
                   14743: short int ascii_mm[] =
                   14744:                  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
                   14745:                short int ascii_ii[] =
                   14746:                  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
                   14747:                int use_ascii (int i) {
                   14748:                  return ascii_mm[i] + ascii_ii[i];
                   14749:                }
                   14750:                short int ebcdic_ii[] =
                   14751:                  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
                   14752:                short int ebcdic_mm[] =
                   14753:                  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
                   14754:                int use_ebcdic (int i) {
                   14755:                  return ebcdic_mm[i] + ebcdic_ii[i];
                   14756:                }
                   14757:                extern int foo;
                   14758: 
                   14759: int
                   14760: main ()
                   14761: {
                   14762: return use_ascii (foo) == use_ebcdic (foo);
                   14763:   ;
                   14764:   return 0;
                   14765: }
                   14766: _ACEOF
                   14767: if ac_fn_c_try_compile "$LINENO"; then :
                   14768:   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
                   14769:              ac_cv_c_bigendian=yes
                   14770:            fi
                   14771:            if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
                   14772:              if test "$ac_cv_c_bigendian" = unknown; then
                   14773:                ac_cv_c_bigendian=no
                   14774:              else
                   14775:                # finding both strings is unlikely to happen, but who knows?
                   14776:                ac_cv_c_bigendian=unknown
                   14777:              fi
                   14778:            fi
                   14779: fi
                   14780: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   14781: else
                   14782:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14783: /* end confdefs.h.  */
                   14784: $ac_includes_default
                   14785: int
                   14786: main ()
                   14787: {
                   14788: 
                   14789:             /* Are we little or big endian?  From Harbison&Steele.  */
                   14790:             union
                   14791:             {
                   14792:               long int l;
                   14793:               char c[sizeof (long int)];
                   14794:             } u;
                   14795:             u.l = 1;
                   14796:             return u.c[sizeof (long int) - 1] == 1;
                   14797: 
                   14798:   ;
                   14799:   return 0;
                   14800: }
                   14801: _ACEOF
                   14802: if ac_fn_c_try_run "$LINENO"; then :
                   14803:   ac_cv_c_bigendian=no
                   14804: else
                   14805:   ac_cv_c_bigendian=yes
                   14806: fi
                   14807: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   14808:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   14809: fi
                   14810: 
                   14811:     fi
                   14812: fi
                   14813: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
                   14814: $as_echo "$ac_cv_c_bigendian" >&6; }
                   14815:  case $ac_cv_c_bigendian in #(
                   14816:    yes)
                   14817:      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
                   14818: ;; #(
                   14819:    no)
                   14820:       ;; #(
                   14821:    universal)
                   14822: 
                   14823: $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
                   14824: 
                   14825:      ;; #(
                   14826:    *)
                   14827:      as_fn_error $? "unknown endianness
                   14828:  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
                   14829:  esac
                   14830: 
                   14831: 
                   14832: 
                   14833: for ac_header in unistd.h
                   14834: do :
                   14835:   ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
                   14836: if test "x$ac_cv_header_unistd_h" = xyes; then :
                   14837:   cat >>confdefs.h <<_ACEOF
                   14838: #define HAVE_UNISTD_H 1
                   14839: _ACEOF
                   14840: 
                   14841: fi
                   14842: 
                   14843: done
                   14844: 
                   14845: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working chown" >&5
                   14846: $as_echo_n "checking for working chown... " >&6; }
                   14847: if ${ac_cv_func_chown_works+:} false; then :
                   14848:   $as_echo_n "(cached) " >&6
                   14849: else
                   14850:   if test "$cross_compiling" = yes; then :
                   14851:   ac_cv_func_chown_works=no
                   14852: else
                   14853:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14854: /* end confdefs.h.  */
                   14855: $ac_includes_default
                   14856: #include <fcntl.h>
                   14857: 
                   14858: int
                   14859: main ()
                   14860: {
                   14861:   char *f = "conftest.chown";
                   14862:   struct stat before, after;
                   14863: 
                   14864:   if (creat (f, 0600) < 0)
                   14865:     return 1;
                   14866:   if (stat (f, &before) < 0)
                   14867:     return 1;
                   14868:   if (chown (f, (uid_t) -1, (gid_t) -1) == -1)
                   14869:     return 1;
                   14870:   if (stat (f, &after) < 0)
                   14871:     return 1;
                   14872:   return ! (before.st_uid == after.st_uid && before.st_gid == after.st_gid);
                   14873: 
                   14874:   ;
                   14875:   return 0;
                   14876: }
                   14877: _ACEOF
                   14878: if ac_fn_c_try_run "$LINENO"; then :
                   14879:   ac_cv_func_chown_works=yes
                   14880: else
                   14881:   ac_cv_func_chown_works=no
                   14882: fi
                   14883: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   14884:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   14885: fi
                   14886: 
                   14887: rm -f conftest.chown
                   14888: 
                   14889: fi
                   14890: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_chown_works" >&5
                   14891: $as_echo "$ac_cv_func_chown_works" >&6; }
                   14892: if test $ac_cv_func_chown_works = yes; then
                   14893: 
                   14894: $as_echo "#define HAVE_CHOWN 1" >>confdefs.h
                   14895: 
                   14896: fi
                   14897: 
                   14898: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working POSIX fnmatch" >&5
                   14899: $as_echo_n "checking for working POSIX fnmatch... " >&6; }
                   14900: if ${ac_cv_func_fnmatch_works+:} false; then :
                   14901:   $as_echo_n "(cached) " >&6
                   14902: else
                   14903:   # Some versions of Solaris, SCO, and the GNU C Library
                   14904:    # have a broken or incompatible fnmatch.
                   14905:    # So we run a test program.  If we are cross-compiling, take no chance.
                   14906:    # Thanks to John Oleynick, Franc,ois Pinard, and Paul Eggert for this test.
                   14907:    if test "$cross_compiling" = yes; then :
                   14908:   ac_cv_func_fnmatch_works=cross
                   14909: else
                   14910:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14911: /* end confdefs.h.  */
                   14912: #include <fnmatch.h>
                   14913: #         define y(a, b, c) (fnmatch (a, b, c) == 0)
                   14914: #         define n(a, b, c) (fnmatch (a, b, c) == FNM_NOMATCH)
                   14915: 
                   14916: int
                   14917: main ()
                   14918: {
                   14919: return
                   14920:           (!(y ("a*", "abc", 0)
                   14921:              && n ("d*/*1", "d/s/1", FNM_PATHNAME)
                   14922:              && y ("a\\\\bc", "abc", 0)
                   14923:              && n ("a\\\\bc", "abc", FNM_NOESCAPE)
                   14924:              && y ("*x", ".x", 0)
                   14925:              && n ("*x", ".x", FNM_PERIOD)
                   14926:              && 1));
                   14927:   ;
                   14928:   return 0;
                   14929: }
                   14930: _ACEOF
                   14931: if ac_fn_c_try_run "$LINENO"; then :
                   14932:   ac_cv_func_fnmatch_works=yes
                   14933: else
                   14934:   ac_cv_func_fnmatch_works=no
                   14935: fi
                   14936: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   14937:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   14938: fi
                   14939: 
                   14940: fi
                   14941: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fnmatch_works" >&5
                   14942: $as_echo "$ac_cv_func_fnmatch_works" >&6; }
                   14943: if test $ac_cv_func_fnmatch_works = yes; then :
                   14944: 
                   14945: $as_echo "#define HAVE_FNMATCH 1" >>confdefs.h
                   14946: 
                   14947: fi
                   14948: 
                   14949: 
                   14950: ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
                   14951: if test "x$ac_cv_type_pid_t" = xyes; then :
                   14952: 
                   14953: else
                   14954: 
                   14955: cat >>confdefs.h <<_ACEOF
                   14956: #define pid_t int
                   14957: _ACEOF
                   14958: 
                   14959: fi
                   14960: 
                   14961: for ac_header in vfork.h
                   14962: do :
                   14963:   ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
                   14964: if test "x$ac_cv_header_vfork_h" = xyes; then :
                   14965:   cat >>confdefs.h <<_ACEOF
                   14966: #define HAVE_VFORK_H 1
                   14967: _ACEOF
                   14968: 
                   14969: fi
                   14970: 
                   14971: done
                   14972: 
                   14973: for ac_func in fork vfork
                   14974: do :
                   14975:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   14976: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   14977: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   14978:   cat >>confdefs.h <<_ACEOF
                   14979: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   14980: _ACEOF
                   14981: 
                   14982: fi
                   14983: done
                   14984: 
                   14985: if test "x$ac_cv_func_fork" = xyes; then
                   14986:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
                   14987: $as_echo_n "checking for working fork... " >&6; }
                   14988: if ${ac_cv_func_fork_works+:} false; then :
                   14989:   $as_echo_n "(cached) " >&6
                   14990: else
                   14991:   if test "$cross_compiling" = yes; then :
                   14992:   ac_cv_func_fork_works=cross
                   14993: else
                   14994:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14995: /* end confdefs.h.  */
                   14996: $ac_includes_default
                   14997: int
                   14998: main ()
                   14999: {
                   15000: 
                   15001:          /* By Ruediger Kuhlmann. */
                   15002:          return fork () < 0;
                   15003: 
                   15004:   ;
                   15005:   return 0;
                   15006: }
                   15007: _ACEOF
                   15008: if ac_fn_c_try_run "$LINENO"; then :
                   15009:   ac_cv_func_fork_works=yes
                   15010: else
                   15011:   ac_cv_func_fork_works=no
                   15012: fi
                   15013: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   15014:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   15015: fi
                   15016: 
                   15017: fi
                   15018: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
                   15019: $as_echo "$ac_cv_func_fork_works" >&6; }
                   15020: 
                   15021: else
                   15022:   ac_cv_func_fork_works=$ac_cv_func_fork
                   15023: fi
                   15024: if test "x$ac_cv_func_fork_works" = xcross; then
                   15025:   case $host in
                   15026:     *-*-amigaos* | *-*-msdosdjgpp*)
                   15027:       # Override, as these systems have only a dummy fork() stub
                   15028:       ac_cv_func_fork_works=no
                   15029:       ;;
                   15030:     *)
                   15031:       ac_cv_func_fork_works=yes
                   15032:       ;;
                   15033:   esac
                   15034:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
                   15035: $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
                   15036: fi
                   15037: ac_cv_func_vfork_works=$ac_cv_func_vfork
                   15038: if test "x$ac_cv_func_vfork" = xyes; then
                   15039:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
                   15040: $as_echo_n "checking for working vfork... " >&6; }
                   15041: if ${ac_cv_func_vfork_works+:} false; then :
                   15042:   $as_echo_n "(cached) " >&6
                   15043: else
                   15044:   if test "$cross_compiling" = yes; then :
                   15045:   ac_cv_func_vfork_works=cross
                   15046: else
                   15047:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15048: /* end confdefs.h.  */
                   15049: /* Thanks to Paul Eggert for this test.  */
                   15050: $ac_includes_default
                   15051: #include <sys/wait.h>
                   15052: #ifdef HAVE_VFORK_H
                   15053: # include <vfork.h>
                   15054: #endif
                   15055: /* On some sparc systems, changes by the child to local and incoming
                   15056:    argument registers are propagated back to the parent.  The compiler
                   15057:    is told about this with #include <vfork.h>, but some compilers
                   15058:    (e.g. gcc -O) don't grok <vfork.h>.  Test for this by using a
                   15059:    static variable whose address is put into a register that is
                   15060:    clobbered by the vfork.  */
                   15061: static void
                   15062: #ifdef __cplusplus
                   15063: sparc_address_test (int arg)
                   15064: # else
                   15065: sparc_address_test (arg) int arg;
                   15066: #endif
                   15067: {
                   15068:   static pid_t child;
                   15069:   if (!child) {
                   15070:     child = vfork ();
                   15071:     if (child < 0) {
                   15072:       perror ("vfork");
                   15073:       _exit(2);
                   15074:     }
                   15075:     if (!child) {
                   15076:       arg = getpid();
                   15077:       write(-1, "", 0);
                   15078:       _exit (arg);
                   15079:     }
                   15080:   }
                   15081: }
                   15082: 
                   15083: int
                   15084: main ()
                   15085: {
                   15086:   pid_t parent = getpid ();
                   15087:   pid_t child;
                   15088: 
                   15089:   sparc_address_test (0);
                   15090: 
                   15091:   child = vfork ();
                   15092: 
                   15093:   if (child == 0) {
                   15094:     /* Here is another test for sparc vfork register problems.  This
                   15095:        test uses lots of local variables, at least as many local
                   15096:        variables as main has allocated so far including compiler
                   15097:        temporaries.  4 locals are enough for gcc 1.40.3 on a Solaris
                   15098:        4.1.3 sparc, but we use 8 to be safe.  A buggy compiler should
                   15099:        reuse the register of parent for one of the local variables,
                   15100:        since it will think that parent can't possibly be used any more
                   15101:        in this routine.  Assigning to the local variable will thus
                   15102:        munge parent in the parent process.  */
                   15103:     pid_t
                   15104:       p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
                   15105:       p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
                   15106:     /* Convince the compiler that p..p7 are live; otherwise, it might
                   15107:        use the same hardware register for all 8 local variables.  */
                   15108:     if (p != p1 || p != p2 || p != p3 || p != p4
                   15109:        || p != p5 || p != p6 || p != p7)
                   15110:       _exit(1);
                   15111: 
                   15112:     /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
                   15113:        from child file descriptors.  If the child closes a descriptor
                   15114:        before it execs or exits, this munges the parent's descriptor
                   15115:        as well.  Test for this by closing stdout in the child.  */
                   15116:     _exit(close(fileno(stdout)) != 0);
                   15117:   } else {
                   15118:     int status;
                   15119:     struct stat st;
                   15120: 
                   15121:     while (wait(&status) != child)
                   15122:       ;
                   15123:     return (
                   15124:         /* Was there some problem with vforking?  */
                   15125:         child < 0
                   15126: 
                   15127:         /* Did the child fail?  (This shouldn't happen.)  */
                   15128:         || status
                   15129: 
                   15130:         /* Did the vfork/compiler bug occur?  */
                   15131:         || parent != getpid()
                   15132: 
                   15133:         /* Did the file descriptor bug occur?  */
                   15134:         || fstat(fileno(stdout), &st) != 0
                   15135:         );
                   15136:   }
                   15137: }
                   15138: _ACEOF
                   15139: if ac_fn_c_try_run "$LINENO"; then :
                   15140:   ac_cv_func_vfork_works=yes
                   15141: else
                   15142:   ac_cv_func_vfork_works=no
                   15143: fi
                   15144: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   15145:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   15146: fi
                   15147: 
                   15148: fi
                   15149: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
                   15150: $as_echo "$ac_cv_func_vfork_works" >&6; }
                   15151: 
                   15152: fi;
                   15153: if test "x$ac_cv_func_fork_works" = xcross; then
                   15154:   ac_cv_func_vfork_works=$ac_cv_func_vfork
                   15155:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
                   15156: $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
                   15157: fi
                   15158: 
                   15159: if test "x$ac_cv_func_vfork_works" = xyes; then
                   15160: 
                   15161: $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
                   15162: 
                   15163: else
                   15164: 
                   15165: $as_echo "#define vfork fork" >>confdefs.h
                   15166: 
                   15167: fi
                   15168: if test "x$ac_cv_func_fork_works" = xyes; then
                   15169: 
                   15170: $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
                   15171: 
                   15172: fi
                   15173: 
                   15174: for ac_header in stdlib.h
                   15175: do :
                   15176:   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
                   15177: if test "x$ac_cv_header_stdlib_h" = xyes; then :
                   15178:   cat >>confdefs.h <<_ACEOF
                   15179: #define HAVE_STDLIB_H 1
                   15180: _ACEOF
                   15181: 
                   15182: fi
                   15183: 
                   15184: done
                   15185: 
                   15186: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
                   15187: $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
                   15188: if ${ac_cv_func_malloc_0_nonnull+:} false; then :
                   15189:   $as_echo_n "(cached) " >&6
                   15190: else
                   15191:   if test "$cross_compiling" = yes; then :
                   15192:   ac_cv_func_malloc_0_nonnull=no
                   15193: else
                   15194:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15195: /* end confdefs.h.  */
                   15196: #if defined STDC_HEADERS || defined HAVE_STDLIB_H
                   15197: # include <stdlib.h>
                   15198: #else
                   15199: char *malloc ();
                   15200: #endif
                   15201: 
                   15202: int
                   15203: main ()
                   15204: {
                   15205: return ! malloc (0);
                   15206:   ;
                   15207:   return 0;
                   15208: }
                   15209: _ACEOF
                   15210: if ac_fn_c_try_run "$LINENO"; then :
                   15211:   ac_cv_func_malloc_0_nonnull=yes
                   15212: else
                   15213:   ac_cv_func_malloc_0_nonnull=no
                   15214: fi
                   15215: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   15216:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   15217: fi
                   15218: 
                   15219: fi
                   15220: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
                   15221: $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
                   15222: if test $ac_cv_func_malloc_0_nonnull = yes; then :
                   15223: 
                   15224: $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
                   15225: 
                   15226: else
                   15227:   $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
                   15228: 
                   15229:    case " $LIBOBJS " in
                   15230:   *" malloc.$ac_objext "* ) ;;
                   15231:   *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
                   15232:  ;;
                   15233: esac
                   15234: 
                   15235: 
                   15236: $as_echo "#define malloc rpl_malloc" >>confdefs.h
                   15237: 
                   15238: fi
                   15239: 
                   15240: 
                   15241: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
                   15242: $as_echo_n "checking for working memcmp... " >&6; }
                   15243: if ${ac_cv_func_memcmp_working+:} false; then :
                   15244:   $as_echo_n "(cached) " >&6
                   15245: else
                   15246:   if test "$cross_compiling" = yes; then :
                   15247:   ac_cv_func_memcmp_working=no
                   15248: else
                   15249:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15250: /* end confdefs.h.  */
                   15251: $ac_includes_default
                   15252: int
                   15253: main ()
                   15254: {
                   15255: 
                   15256:   /* Some versions of memcmp are not 8-bit clean.  */
                   15257:   char c0 = '\100', c1 = '\200', c2 = '\201';
                   15258:   if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
                   15259:     return 1;
                   15260: 
                   15261:   /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
                   15262:      or more and with at least one buffer not starting on a 4-byte boundary.
                   15263:      William Lewis provided this test program.   */
                   15264:   {
                   15265:     char foo[21];
                   15266:     char bar[21];
                   15267:     int i;
                   15268:     for (i = 0; i < 4; i++)
                   15269:       {
                   15270:        char *a = foo + i;
                   15271:        char *b = bar + i;
                   15272:        strcpy (a, "--------01111111");
                   15273:        strcpy (b, "--------10000000");
                   15274:        if (memcmp (a, b, 16) >= 0)
                   15275:          return 1;
                   15276:       }
                   15277:     return 0;
                   15278:   }
                   15279: 
                   15280:   ;
                   15281:   return 0;
                   15282: }
                   15283: _ACEOF
                   15284: if ac_fn_c_try_run "$LINENO"; then :
                   15285:   ac_cv_func_memcmp_working=yes
                   15286: else
                   15287:   ac_cv_func_memcmp_working=no
                   15288: fi
                   15289: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   15290:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   15291: fi
                   15292: 
                   15293: fi
                   15294: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
                   15295: $as_echo "$ac_cv_func_memcmp_working" >&6; }
                   15296: test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
                   15297:   *" memcmp.$ac_objext "* ) ;;
                   15298:   *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
                   15299:  ;;
                   15300: esac
                   15301: 
                   15302: 
                   15303: 
                   15304: 
                   15305: 
                   15306:   for ac_header in $ac_header_list
                   15307: do :
                   15308:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   15309: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   15310: "
                   15311: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   15312:   cat >>confdefs.h <<_ACEOF
                   15313: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   15314: _ACEOF
                   15315: 
                   15316: fi
                   15317: 
                   15318: done
                   15319: 
                   15320: 
                   15321: 
                   15322: 
                   15323: 
                   15324: 
                   15325: 
                   15326: 
                   15327:   for ac_func in $ac_func_list
                   15328: do :
                   15329:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   15330: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   15331: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   15332:   cat >>confdefs.h <<_ACEOF
                   15333: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   15334: _ACEOF
                   15335: 
                   15336: fi
                   15337: done
                   15338: 
                   15339: 
                   15340: 
                   15341: 
                   15342: 
                   15343: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mktime" >&5
                   15344: $as_echo_n "checking for working mktime... " >&6; }
                   15345: if ${ac_cv_func_working_mktime+:} false; then :
                   15346:   $as_echo_n "(cached) " >&6
                   15347: else
                   15348:   if test "$cross_compiling" = yes; then :
                   15349:   ac_cv_func_working_mktime=no
                   15350: else
                   15351:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15352: /* end confdefs.h.  */
                   15353: /* Test program from Paul Eggert and Tony Leneis.  */
                   15354: #ifdef TIME_WITH_SYS_TIME
                   15355: # include <sys/time.h>
                   15356: # include <time.h>
                   15357: #else
                   15358: # ifdef HAVE_SYS_TIME_H
                   15359: #  include <sys/time.h>
                   15360: # else
                   15361: #  include <time.h>
                   15362: # endif
                   15363: #endif
                   15364: 
                   15365: #include <limits.h>
                   15366: #include <stdlib.h>
                   15367: 
                   15368: #ifdef HAVE_UNISTD_H
                   15369: # include <unistd.h>
                   15370: #endif
                   15371: 
                   15372: #ifndef HAVE_ALARM
                   15373: # define alarm(X) /* empty */
                   15374: #endif
                   15375: 
                   15376: /* Work around redefinition to rpl_putenv by other config tests.  */
                   15377: #undef putenv
                   15378: 
                   15379: static time_t time_t_max;
                   15380: static time_t time_t_min;
                   15381: 
                   15382: /* Values we'll use to set the TZ environment variable.  */
                   15383: static const char *tz_strings[] = {
                   15384:   (const char *) 0, "TZ=GMT0", "TZ=JST-9",
                   15385:   "TZ=EST+3EDT+2,M10.1.0/00:00:00,M2.3.0/00:00:00"
                   15386: };
                   15387: #define N_STRINGS (sizeof (tz_strings) / sizeof (tz_strings[0]))
                   15388: 
                   15389: /* Return 0 if mktime fails to convert a date in the spring-forward gap.
                   15390:    Based on a problem report from Andreas Jaeger.  */
                   15391: static int
                   15392: spring_forward_gap ()
                   15393: {
                   15394:   /* glibc (up to about 1998-10-07) failed this test. */
                   15395:   struct tm tm;
                   15396: 
                   15397:   /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
                   15398:      instead of "TZ=America/Vancouver" in order to detect the bug even
                   15399:      on systems that don't support the Olson extension, or don't have the
                   15400:      full zoneinfo tables installed.  */
                   15401:   putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0");
                   15402: 
                   15403:   tm.tm_year = 98;
                   15404:   tm.tm_mon = 3;
                   15405:   tm.tm_mday = 5;
                   15406:   tm.tm_hour = 2;
                   15407:   tm.tm_min = 0;
                   15408:   tm.tm_sec = 0;
                   15409:   tm.tm_isdst = -1;
                   15410:   return mktime (&tm) != (time_t) -1;
                   15411: }
                   15412: 
                   15413: static int
                   15414: mktime_test1 (time_t now)
                   15415: {
                   15416:   struct tm *lt;
                   15417:   return ! (lt = localtime (&now)) || mktime (lt) == now;
                   15418: }
                   15419: 
                   15420: static int
                   15421: mktime_test (time_t now)
                   15422: {
                   15423:   return (mktime_test1 (now)
                   15424:          && mktime_test1 ((time_t) (time_t_max - now))
                   15425:          && mktime_test1 ((time_t) (time_t_min + now)));
                   15426: }
                   15427: 
                   15428: static int
                   15429: irix_6_4_bug ()
                   15430: {
                   15431:   /* Based on code from Ariel Faigon.  */
                   15432:   struct tm tm;
                   15433:   tm.tm_year = 96;
                   15434:   tm.tm_mon = 3;
                   15435:   tm.tm_mday = 0;
                   15436:   tm.tm_hour = 0;
                   15437:   tm.tm_min = 0;
                   15438:   tm.tm_sec = 0;
                   15439:   tm.tm_isdst = -1;
                   15440:   mktime (&tm);
                   15441:   return tm.tm_mon == 2 && tm.tm_mday == 31;
                   15442: }
                   15443: 
                   15444: static int
                   15445: bigtime_test (int j)
                   15446: {
                   15447:   struct tm tm;
                   15448:   time_t now;
                   15449:   tm.tm_year = tm.tm_mon = tm.tm_mday = tm.tm_hour = tm.tm_min = tm.tm_sec = j;
                   15450:   now = mktime (&tm);
                   15451:   if (now != (time_t) -1)
                   15452:     {
                   15453:       struct tm *lt = localtime (&now);
                   15454:       if (! (lt
                   15455:             && lt->tm_year == tm.tm_year
                   15456:             && lt->tm_mon == tm.tm_mon
                   15457:             && lt->tm_mday == tm.tm_mday
                   15458:             && lt->tm_hour == tm.tm_hour
                   15459:             && lt->tm_min == tm.tm_min
                   15460:             && lt->tm_sec == tm.tm_sec
                   15461:             && lt->tm_yday == tm.tm_yday
                   15462:             && lt->tm_wday == tm.tm_wday
                   15463:             && ((lt->tm_isdst < 0 ? -1 : 0 < lt->tm_isdst)
                   15464:                  == (tm.tm_isdst < 0 ? -1 : 0 < tm.tm_isdst))))
                   15465:        return 0;
                   15466:     }
                   15467:   return 1;
                   15468: }
                   15469: 
                   15470: static int
                   15471: year_2050_test ()
                   15472: {
                   15473:   /* The correct answer for 2050-02-01 00:00:00 in Pacific time,
                   15474:      ignoring leap seconds.  */
                   15475:   unsigned long int answer = 2527315200UL;
                   15476: 
                   15477:   struct tm tm;
                   15478:   time_t t;
                   15479:   tm.tm_year = 2050 - 1900;
                   15480:   tm.tm_mon = 2 - 1;
                   15481:   tm.tm_mday = 1;
                   15482:   tm.tm_hour = tm.tm_min = tm.tm_sec = 0;
                   15483:   tm.tm_isdst = -1;
                   15484: 
                   15485:   /* Use the portable POSIX.1 specification "TZ=PST8PDT,M4.1.0,M10.5.0"
                   15486:      instead of "TZ=America/Vancouver" in order to detect the bug even
                   15487:      on systems that don't support the Olson extension, or don't have the
                   15488:      full zoneinfo tables installed.  */
                   15489:   putenv ((char*) "TZ=PST8PDT,M4.1.0,M10.5.0");
                   15490: 
                   15491:   t = mktime (&tm);
                   15492: 
                   15493:   /* Check that the result is either a failure, or close enough
                   15494:      to the correct answer that we can assume the discrepancy is
                   15495:      due to leap seconds.  */
                   15496:   return (t == (time_t) -1
                   15497:          || (0 < t && answer - 120 <= t && t <= answer + 120));
                   15498: }
                   15499: 
                   15500: int
                   15501: main ()
                   15502: {
                   15503:   time_t t, delta;
                   15504:   int i, j;
                   15505: 
                   15506:   /* This test makes some buggy mktime implementations loop.
                   15507:      Give up after 60 seconds; a mktime slower than that
                   15508:      isn't worth using anyway.  */
                   15509:   alarm (60);
                   15510: 
                   15511:   for (;;)
                   15512:     {
                   15513:       t = (time_t_max << 1) + 1;
                   15514:       if (t <= time_t_max)
                   15515:        break;
                   15516:       time_t_max = t;
                   15517:     }
                   15518:   time_t_min = - ((time_t) ~ (time_t) 0 == (time_t) -1) - time_t_max;
                   15519: 
                   15520:   delta = time_t_max / 997; /* a suitable prime number */
                   15521:   for (i = 0; i < N_STRINGS; i++)
                   15522:     {
                   15523:       if (tz_strings[i])
                   15524:        putenv ((char*) tz_strings[i]);
                   15525: 
                   15526:       for (t = 0; t <= time_t_max - delta; t += delta)
                   15527:        if (! mktime_test (t))
                   15528:          return 1;
                   15529:       if (! (mktime_test ((time_t) 1)
                   15530:             && mktime_test ((time_t) (60 * 60))
                   15531:             && mktime_test ((time_t) (60 * 60 * 24))))
                   15532:        return 1;
                   15533: 
                   15534:       for (j = 1; ; j <<= 1)
                   15535:        if (! bigtime_test (j))
                   15536:          return 1;
                   15537:        else if (INT_MAX / 2 < j)
                   15538:          break;
                   15539:       if (! bigtime_test (INT_MAX))
                   15540:        return 1;
                   15541:     }
                   15542:   return ! (irix_6_4_bug () && spring_forward_gap () && year_2050_test ());
                   15543: }
                   15544: _ACEOF
                   15545: if ac_fn_c_try_run "$LINENO"; then :
                   15546:   ac_cv_func_working_mktime=yes
                   15547: else
                   15548:   ac_cv_func_working_mktime=no
                   15549: fi
                   15550: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   15551:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   15552: fi
                   15553: 
                   15554: fi
                   15555: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_working_mktime" >&5
                   15556: $as_echo "$ac_cv_func_working_mktime" >&6; }
                   15557: if test $ac_cv_func_working_mktime = no; then
                   15558:   case " $LIBOBJS " in
                   15559:   *" mktime.$ac_objext "* ) ;;
                   15560:   *) LIBOBJS="$LIBOBJS mktime.$ac_objext"
                   15561:  ;;
                   15562: esac
                   15563: 
                   15564: fi
                   15565: 
                   15566: for ac_func in strftime
                   15567: do :
                   15568:   ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
                   15569: if test "x$ac_cv_func_strftime" = xyes; then :
                   15570:   cat >>confdefs.h <<_ACEOF
                   15571: #define HAVE_STRFTIME 1
                   15572: _ACEOF
                   15573: 
                   15574: else
                   15575:   # strftime is in -lintl on SCO UNIX.
                   15576: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
                   15577: $as_echo_n "checking for strftime in -lintl... " >&6; }
                   15578: if ${ac_cv_lib_intl_strftime+:} false; then :
                   15579:   $as_echo_n "(cached) " >&6
                   15580: else
                   15581:   ac_check_lib_save_LIBS=$LIBS
                   15582: LIBS="-lintl  $LIBS"
                   15583: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15584: /* end confdefs.h.  */
                   15585: 
                   15586: /* Override any GCC internal prototype to avoid an error.
                   15587:    Use char because int might match the return type of a GCC
                   15588:    builtin and then its argument prototype would still apply.  */
                   15589: #ifdef __cplusplus
                   15590: extern "C"
                   15591: #endif
                   15592: char strftime ();
                   15593: int
                   15594: main ()
                   15595: {
                   15596: return strftime ();
                   15597:   ;
                   15598:   return 0;
                   15599: }
                   15600: _ACEOF
                   15601: if ac_fn_c_try_link "$LINENO"; then :
                   15602:   ac_cv_lib_intl_strftime=yes
                   15603: else
                   15604:   ac_cv_lib_intl_strftime=no
                   15605: fi
                   15606: rm -f core conftest.err conftest.$ac_objext \
                   15607:     conftest$ac_exeext conftest.$ac_ext
                   15608: LIBS=$ac_check_lib_save_LIBS
                   15609: fi
                   15610: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
                   15611: $as_echo "$ac_cv_lib_intl_strftime" >&6; }
                   15612: if test "x$ac_cv_lib_intl_strftime" = xyes; then :
                   15613:   $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
                   15614: 
                   15615: LIBS="-lintl $LIBS"
                   15616: fi
                   15617: 
                   15618: fi
                   15619: done
                   15620: 
                   15621: for ac_header in stdlib.h
                   15622: do :
                   15623:   ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
                   15624: if test "x$ac_cv_header_stdlib_h" = xyes; then :
                   15625:   cat >>confdefs.h <<_ACEOF
                   15626: #define HAVE_STDLIB_H 1
                   15627: _ACEOF
                   15628: 
                   15629: fi
                   15630: 
                   15631: done
                   15632: 
                   15633: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
                   15634: $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
                   15635: if ${ac_cv_func_realloc_0_nonnull+:} false; then :
                   15636:   $as_echo_n "(cached) " >&6
                   15637: else
                   15638:   if test "$cross_compiling" = yes; then :
                   15639:   ac_cv_func_realloc_0_nonnull=no
                   15640: else
                   15641:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15642: /* end confdefs.h.  */
                   15643: #if defined STDC_HEADERS || defined HAVE_STDLIB_H
                   15644: # include <stdlib.h>
                   15645: #else
                   15646: char *realloc ();
                   15647: #endif
                   15648: 
                   15649: int
                   15650: main ()
                   15651: {
                   15652: return ! realloc (0, 0);
                   15653:   ;
                   15654:   return 0;
                   15655: }
                   15656: _ACEOF
                   15657: if ac_fn_c_try_run "$LINENO"; then :
                   15658:   ac_cv_func_realloc_0_nonnull=yes
                   15659: else
                   15660:   ac_cv_func_realloc_0_nonnull=no
                   15661: fi
                   15662: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   15663:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   15664: fi
                   15665: 
                   15666: fi
                   15667: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
                   15668: $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
                   15669: if test $ac_cv_func_realloc_0_nonnull = yes; then :
                   15670: 
                   15671: $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
                   15672: 
                   15673: else
                   15674:   $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
                   15675: 
                   15676:    case " $LIBOBJS " in
                   15677:   *" realloc.$ac_objext "* ) ;;
                   15678:   *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
                   15679:  ;;
                   15680: esac
                   15681: 
                   15682: 
                   15683: $as_echo "#define realloc rpl_realloc" >>confdefs.h
                   15684: 
                   15685: fi
                   15686: 
                   15687: 
                   15688: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lstat correctly handles trailing slash" >&5
                   15689: $as_echo_n "checking whether lstat correctly handles trailing slash... " >&6; }
                   15690: if ${ac_cv_func_lstat_dereferences_slashed_symlink+:} false; then :
                   15691:   $as_echo_n "(cached) " >&6
                   15692: else
                   15693:   rm -f conftest.sym conftest.file
                   15694: echo >conftest.file
                   15695: if test "$as_ln_s" = "ln -s" && ln -s conftest.file conftest.sym; then
                   15696:   if test "$cross_compiling" = yes; then :
                   15697:   ac_cv_func_lstat_dereferences_slashed_symlink=no
                   15698: else
                   15699:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15700: /* end confdefs.h.  */
                   15701: $ac_includes_default
                   15702: int
                   15703: main ()
                   15704: {
                   15705: struct stat sbuf;
                   15706:      /* Linux will dereference the symlink and fail, as required by POSIX.
                   15707:        That is better in the sense that it means we will not
                   15708:        have to compile and use the lstat wrapper.  */
                   15709:      return lstat ("conftest.sym/", &sbuf) == 0;
                   15710:   ;
                   15711:   return 0;
                   15712: }
                   15713: _ACEOF
                   15714: if ac_fn_c_try_run "$LINENO"; then :
                   15715:   ac_cv_func_lstat_dereferences_slashed_symlink=yes
                   15716: else
                   15717:   ac_cv_func_lstat_dereferences_slashed_symlink=no
                   15718: fi
                   15719: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   15720:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   15721: fi
                   15722: 
                   15723: else
                   15724:   # If the `ln -s' command failed, then we probably don't even
                   15725:   # have an lstat function.
                   15726:   ac_cv_func_lstat_dereferences_slashed_symlink=no
                   15727: fi
                   15728: rm -f conftest.sym conftest.file
                   15729: 
                   15730: fi
                   15731: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_lstat_dereferences_slashed_symlink" >&5
                   15732: $as_echo "$ac_cv_func_lstat_dereferences_slashed_symlink" >&6; }
                   15733: 
                   15734: test $ac_cv_func_lstat_dereferences_slashed_symlink = yes &&
                   15735: 
                   15736: cat >>confdefs.h <<_ACEOF
                   15737: #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
                   15738: _ACEOF
                   15739: 
                   15740: 
                   15741: if test "x$ac_cv_func_lstat_dereferences_slashed_symlink" = xno; then
                   15742:   case " $LIBOBJS " in
                   15743:   *" lstat.$ac_objext "* ) ;;
                   15744:   *) LIBOBJS="$LIBOBJS lstat.$ac_objext"
                   15745:  ;;
                   15746: esac
                   15747: 
                   15748: fi
                   15749: 
                   15750: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat accepts an empty string" >&5
                   15751: $as_echo_n "checking whether stat accepts an empty string... " >&6; }
                   15752: if ${ac_cv_func_stat_empty_string_bug+:} false; then :
                   15753:   $as_echo_n "(cached) " >&6
                   15754: else
                   15755:   if test "$cross_compiling" = yes; then :
                   15756:   ac_cv_func_stat_empty_string_bug=yes
                   15757: else
                   15758:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15759: /* end confdefs.h.  */
                   15760: $ac_includes_default
                   15761: int
                   15762: main ()
                   15763: {
                   15764: struct stat sbuf;
                   15765:   return stat ("", &sbuf) == 0;
                   15766:   ;
                   15767:   return 0;
                   15768: }
                   15769: _ACEOF
                   15770: if ac_fn_c_try_run "$LINENO"; then :
                   15771:   ac_cv_func_stat_empty_string_bug=no
                   15772: else
                   15773:   ac_cv_func_stat_empty_string_bug=yes
                   15774: fi
                   15775: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   15776:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   15777: fi
                   15778: 
                   15779: fi
                   15780: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_stat_empty_string_bug" >&5
                   15781: $as_echo "$ac_cv_func_stat_empty_string_bug" >&6; }
                   15782: if test $ac_cv_func_stat_empty_string_bug = yes; then
                   15783:   case " $LIBOBJS " in
                   15784:   *" stat.$ac_objext "* ) ;;
                   15785:   *) LIBOBJS="$LIBOBJS stat.$ac_objext"
                   15786:  ;;
                   15787: esac
                   15788: 
                   15789: 
                   15790: cat >>confdefs.h <<_ACEOF
                   15791: #define HAVE_STAT_EMPTY_STRING_BUG 1
                   15792: _ACEOF
                   15793: 
                   15794: fi
                   15795: 
                   15796: for ac_header in sys/select.h sys/socket.h
                   15797: do :
                   15798:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   15799: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   15800: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   15801:   cat >>confdefs.h <<_ACEOF
                   15802: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   15803: _ACEOF
                   15804: 
                   15805: fi
                   15806: 
                   15807: done
                   15808: 
                   15809: { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
                   15810: $as_echo_n "checking types of arguments for select... " >&6; }
                   15811: if ${ac_cv_func_select_args+:} false; then :
                   15812:   $as_echo_n "(cached) " >&6
                   15813: else
                   15814:   for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
                   15815:  for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
                   15816:   for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
                   15817:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15818: /* end confdefs.h.  */
                   15819: $ac_includes_default
                   15820: #ifdef HAVE_SYS_SELECT_H
                   15821: # include <sys/select.h>
                   15822: #endif
                   15823: #ifdef HAVE_SYS_SOCKET_H
                   15824: # include <sys/socket.h>
                   15825: #endif
                   15826: 
                   15827: int
                   15828: main ()
                   15829: {
                   15830: extern int select ($ac_arg1,
                   15831:                                            $ac_arg234, $ac_arg234, $ac_arg234,
                   15832:                                            $ac_arg5);
                   15833:   ;
                   15834:   return 0;
                   15835: }
                   15836: _ACEOF
                   15837: if ac_fn_c_try_compile "$LINENO"; then :
                   15838:   ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
                   15839: fi
                   15840: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   15841:   done
                   15842:  done
                   15843: done
                   15844: # Provide a safe default value.
                   15845: : "${ac_cv_func_select_args=int,int *,struct timeval *}"
                   15846: 
                   15847: fi
                   15848: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
                   15849: $as_echo "$ac_cv_func_select_args" >&6; }
                   15850: ac_save_IFS=$IFS; IFS=','
                   15851: set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
                   15852: IFS=$ac_save_IFS
                   15853: shift
                   15854: 
                   15855: cat >>confdefs.h <<_ACEOF
                   15856: #define SELECT_TYPE_ARG1 $1
                   15857: _ACEOF
                   15858: 
                   15859: 
                   15860: cat >>confdefs.h <<_ACEOF
                   15861: #define SELECT_TYPE_ARG234 ($2)
                   15862: _ACEOF
                   15863: 
                   15864: 
                   15865: cat >>confdefs.h <<_ACEOF
                   15866: #define SELECT_TYPE_ARG5 ($3)
                   15867: _ACEOF
                   15868: 
                   15869: rm -f conftest*
                   15870: 
                   15871: for ac_func in strftime
                   15872: do :
                   15873:   ac_fn_c_check_func "$LINENO" "strftime" "ac_cv_func_strftime"
                   15874: if test "x$ac_cv_func_strftime" = xyes; then :
                   15875:   cat >>confdefs.h <<_ACEOF
                   15876: #define HAVE_STRFTIME 1
                   15877: _ACEOF
                   15878: 
                   15879: else
                   15880:   # strftime is in -lintl on SCO UNIX.
                   15881: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strftime in -lintl" >&5
                   15882: $as_echo_n "checking for strftime in -lintl... " >&6; }
                   15883: if ${ac_cv_lib_intl_strftime+:} false; then :
                   15884:   $as_echo_n "(cached) " >&6
                   15885: else
                   15886:   ac_check_lib_save_LIBS=$LIBS
                   15887: LIBS="-lintl  $LIBS"
                   15888: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15889: /* end confdefs.h.  */
                   15890: 
                   15891: /* Override any GCC internal prototype to avoid an error.
                   15892:    Use char because int might match the return type of a GCC
                   15893:    builtin and then its argument prototype would still apply.  */
                   15894: #ifdef __cplusplus
                   15895: extern "C"
                   15896: #endif
                   15897: char strftime ();
                   15898: int
                   15899: main ()
                   15900: {
                   15901: return strftime ();
                   15902:   ;
                   15903:   return 0;
                   15904: }
                   15905: _ACEOF
                   15906: if ac_fn_c_try_link "$LINENO"; then :
                   15907:   ac_cv_lib_intl_strftime=yes
                   15908: else
                   15909:   ac_cv_lib_intl_strftime=no
                   15910: fi
                   15911: rm -f core conftest.err conftest.$ac_objext \
                   15912:     conftest$ac_exeext conftest.$ac_ext
                   15913: LIBS=$ac_check_lib_save_LIBS
                   15914: fi
                   15915: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_strftime" >&5
                   15916: $as_echo "$ac_cv_lib_intl_strftime" >&6; }
                   15917: if test "x$ac_cv_lib_intl_strftime" = xyes; then :
                   15918:   $as_echo "#define HAVE_STRFTIME 1" >>confdefs.h
                   15919: 
                   15920: LIBS="-lintl $LIBS"
                   15921: fi
                   15922: 
                   15923: fi
                   15924: done
                   15925: 
                   15926: for ac_func in vprintf
                   15927: do :
                   15928:   ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
                   15929: if test "x$ac_cv_func_vprintf" = xyes; then :
                   15930:   cat >>confdefs.h <<_ACEOF
                   15931: #define HAVE_VPRINTF 1
                   15932: _ACEOF
                   15933: 
                   15934: ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
                   15935: if test "x$ac_cv_func__doprnt" = xyes; then :
                   15936: 
                   15937: $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
                   15938: 
                   15939: fi
                   15940: 
                   15941: fi
                   15942: done
                   15943: 
                   15944: 
                   15945: 
                   15946: TMPLIBS="$LIBS"
                   15947: ac_fn_c_check_header_mongrel "$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default"
                   15948: if test "x$ac_cv_header_math_h" = xyes; then :
                   15949:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
                   15950: $as_echo_n "checking for pow in -lm... " >&6; }
                   15951: if ${ac_cv_lib_m_pow+:} false; then :
                   15952:   $as_echo_n "(cached) " >&6
                   15953: else
                   15954:   ac_check_lib_save_LIBS=$LIBS
                   15955: LIBS="-lm  $LIBS"
                   15956: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   15957: /* end confdefs.h.  */
                   15958: 
                   15959: /* Override any GCC internal prototype to avoid an error.
                   15960:    Use char because int might match the return type of a GCC
                   15961:    builtin and then its argument prototype would still apply.  */
                   15962: #ifdef __cplusplus
                   15963: extern "C"
                   15964: #endif
                   15965: char pow ();
                   15966: int
                   15967: main ()
                   15968: {
                   15969: return pow ();
                   15970:   ;
                   15971:   return 0;
                   15972: }
                   15973: _ACEOF
                   15974: if ac_fn_c_try_link "$LINENO"; then :
                   15975:   ac_cv_lib_m_pow=yes
                   15976: else
                   15977:   ac_cv_lib_m_pow=no
                   15978: fi
                   15979: rm -f core conftest.err conftest.$ac_objext \
                   15980:     conftest$ac_exeext conftest.$ac_ext
                   15981: LIBS=$ac_check_lib_save_LIBS
                   15982: fi
                   15983: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
                   15984: $as_echo "$ac_cv_lib_m_pow" >&6; }
                   15985: if test "x$ac_cv_lib_m_pow" = xyes; then :
                   15986:   LIBM="-lm"
                   15987:      LIBS="$LIBS $LIBM"
                   15988: 
                   15989: $as_echo "#define HAVE_LIBM /**/" >>confdefs.h
                   15990: 
                   15991:      for ac_func in pow
                   15992: do :
                   15993:   ac_fn_c_check_func "$LINENO" "pow" "ac_cv_func_pow"
                   15994: if test "x$ac_cv_func_pow" = xyes; then :
                   15995:   cat >>confdefs.h <<_ACEOF
                   15996: #define HAVE_POW 1
                   15997: _ACEOF
                   15998: 
                   15999: else
                   16000:   LIBM=""
                   16001: fi
                   16002: done
                   16003: 
                   16004: 
                   16005: fi
                   16006: 
                   16007: 
                   16008: fi
                   16009: 
                   16010: 
                   16011: if test x"$LIBM" = x ; then
                   16012:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to find working pow function - bgpd may not link" >&5
                   16013: $as_echo "$as_me: WARNING: Unable to find working pow function - bgpd may not link" >&2;}
                   16014: fi
                   16015: LIBS="$TMPLIBS"
                   16016: 
                   16017: 
                   16018: for ac_func in dup2 ftruncate getcwd gethostbyname getpagesize gettimeofday \
                   16019:        inet_ntoa inet_aton strnlen \
                   16020:        memchr memmove memset select socket \
                   16021:        strcasecmp strchr strcspn strdup strerror \
                   16022:        strncasecmp strndup strrchr strspn strstr \
                   16023:        strtol strtoul strlcat strlcpy \
                   16024:        daemon snprintf vsnprintf \
                   16025:        if_nametoindex if_indextoname getifaddrs \
                   16026:        uname fcntl
                   16027: do :
                   16028:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   16029: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   16030: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   16031:   cat >>confdefs.h <<_ACEOF
                   16032: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   16033: _ACEOF
                   16034: 
                   16035: fi
                   16036: done
                   16037: 
                   16038: 
                   16039: for ac_func in setproctitle
                   16040: do :
                   16041:   ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
                   16042: if test "x$ac_cv_func_setproctitle" = xyes; then :
                   16043:   cat >>confdefs.h <<_ACEOF
                   16044: #define HAVE_SETPROCTITLE 1
                   16045: _ACEOF
                   16046: 
                   16047: else
                   16048:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setproctitle in -lutil" >&5
                   16049: $as_echo_n "checking for setproctitle in -lutil... " >&6; }
                   16050: if ${ac_cv_lib_util_setproctitle+:} false; then :
                   16051:   $as_echo_n "(cached) " >&6
                   16052: else
                   16053:   ac_check_lib_save_LIBS=$LIBS
                   16054: LIBS="-lutil  $LIBS"
                   16055: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   16056: /* end confdefs.h.  */
                   16057: 
                   16058: /* Override any GCC internal prototype to avoid an error.
                   16059:    Use char because int might match the return type of a GCC
                   16060:    builtin and then its argument prototype would still apply.  */
                   16061: #ifdef __cplusplus
                   16062: extern "C"
                   16063: #endif
                   16064: char setproctitle ();
                   16065: int
                   16066: main ()
                   16067: {
                   16068: return setproctitle ();
                   16069:   ;
                   16070:   return 0;
                   16071: }
                   16072: _ACEOF
                   16073: if ac_fn_c_try_link "$LINENO"; then :
                   16074:   ac_cv_lib_util_setproctitle=yes
                   16075: else
                   16076:   ac_cv_lib_util_setproctitle=no
                   16077: fi
                   16078: rm -f core conftest.err conftest.$ac_objext \
                   16079:     conftest$ac_exeext conftest.$ac_ext
                   16080: LIBS=$ac_check_lib_save_LIBS
                   16081: fi
                   16082: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_setproctitle" >&5
                   16083: $as_echo "$ac_cv_lib_util_setproctitle" >&6; }
                   16084: if test "x$ac_cv_lib_util_setproctitle" = xyes; then :
                   16085:   LIBS="$LIBS -lutil"
                   16086: 
                   16087: $as_echo "#define HAVE_SETPROCTITLE /**/" >>confdefs.h
                   16088: 
                   16089: 
                   16090: 
                   16091: fi
                   16092: 
                   16093: 
                   16094: 
                   16095: fi
                   16096: done
                   16097: 
                   16098: 
                   16099: { $as_echo "$as_me:${as_lineno-$LINENO}: checking zebra between kernel interface method" >&5
                   16100: $as_echo_n "checking zebra between kernel interface method... " >&6; }
                   16101: if test x"$opsys" = x"gnu-linux"; then
                   16102:   if test "${enable_netlink}" = "yes";then
                   16103:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: netlink" >&5
                   16104: $as_echo "netlink" >&6; }
                   16105:     RT_METHOD=rt_netlink.o
                   16106: 
                   16107: $as_echo "#define HAVE_NETLINK /**/" >>confdefs.h
                   16108: 
                   16109:     netlink=yes
                   16110:   elif test "${enable_netlink}" = "no"; then
                   16111:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ioctl" >&5
                   16112: $as_echo "ioctl" >&6; }
                   16113:     RT_METHOD=rt_ioctl.o
                   16114:     netlink=no
                   16115:   else
                   16116:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: netlink" >&5
                   16117: $as_echo "netlink" >&6; }
                   16118:     RT_METHOD=rt_netlink.o
                   16119: 
                   16120: $as_echo "#define HAVE_NETLINK /**/" >>confdefs.h
                   16121: 
                   16122:     netlink=yes
                   16123:   fi
                   16124: elif test x"$opsys" = x"sol2-6";then
                   16125:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Route socket" >&5
                   16126: $as_echo "Route socket" >&6; }
                   16127:   KERNEL_METHOD="kernel_socket.o"
                   16128:   RT_METHOD="rt_socket.o"
                   16129: elif test x"$opsys" = x"sol8";then
                   16130:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Route socket" >&5
                   16131: $as_echo "Route socket" >&6; }
                   16132:   KERNEL_METHOD="kernel_socket.o"
                   16133:   RT_METHOD="rt_socket.o"
                   16134: elif test "$opsys" = "irix" ; then
                   16135:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Route socket" >&5
                   16136: $as_echo "Route socket" >&6; }
                   16137:   KERNEL_METHOD="kernel_socket.o"
                   16138:   RT_METHOD="rt_socket.o"
                   16139: else
                   16140:   if test "$cross_compiling" = yes; then :
                   16141:   KERNEL_METHOD=kernel_socket.o
                   16142:    RT_METHOD=rt_socket.o
                   16143:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: socket" >&5
                   16144: $as_echo "socket" >&6; }
                   16145: else
                   16146:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   16147: /* end confdefs.h.  */
                   16148: #include <errno.h>
                   16149: #include <sys/types.h>
                   16150: #include <sys/socket.h>
                   16151: 
                   16152: main ()
                   16153: {
                   16154:   int ac_sock;
                   16155: 
                   16156:   ac_sock = socket (AF_ROUTE, SOCK_RAW, 0);
                   16157:   if (ac_sock < 0 && errno == EINVAL)
                   16158:     exit (1);
                   16159:   exit (0);
                   16160: }
                   16161: _ACEOF
                   16162: if ac_fn_c_try_run "$LINENO"; then :
                   16163:   KERNEL_METHOD=kernel_socket.o
                   16164:    RT_METHOD=rt_socket.o
                   16165:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: socket" >&5
                   16166: $as_echo "socket" >&6; }
                   16167: else
                   16168:   RT_METHOD=rt_ioctl.o
                   16169:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ioctl" >&5
                   16170: $as_echo "ioctl" >&6; }
                   16171: fi
                   16172: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   16173:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   16174: fi
                   16175: 
                   16176: fi
                   16177: 
                   16178: 
                   16179: 
                   16180: 
                   16181: 
                   16182: $as_echo "#define ISIS_METHOD_PFPACKET 1" >>confdefs.h
                   16183: 
                   16184: 
                   16185: $as_echo "#define ISIS_METHOD_DLPI 2" >>confdefs.h
                   16186: 
                   16187: 
                   16188: $as_echo "#define ISIS_METHOD_BPF 3" >>confdefs.h
                   16189: 
                   16190: ac_fn_c_check_header_mongrel "$LINENO" "net/bpf.h" "ac_cv_header_net_bpf_h" "$ac_includes_default"
                   16191: if test "x$ac_cv_header_net_bpf_h" = xyes; then :
                   16192: 
                   16193: fi
                   16194: 
                   16195: 
                   16196: ac_fn_c_check_header_mongrel "$LINENO" "sys/dlpi.h" "ac_cv_header_sys_dlpi_h" "$ac_includes_default"
                   16197: if test "x$ac_cv_header_sys_dlpi_h" = xyes; then :
                   16198: 
                   16199: fi
                   16200: 
                   16201: 
                   16202: { $as_echo "$as_me:${as_lineno-$LINENO}: checking zebra IS-IS I/O method" >&5
                   16203: $as_echo_n "checking zebra IS-IS I/O method... " >&6; }
                   16204: if test x"$opsys" = x"gnu-linux"; then
                   16205:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: pfpacket" >&5
                   16206: $as_echo "pfpacket" >&6; }
                   16207:   ISIS_METHOD_MACRO="ISIS_METHOD_PFPACKET"
                   16208: elif test x"$opsys" = x"sol2-6" -o x"$opsys" = x"sol8"; then
                   16209:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: DLPI" >&5
                   16210: $as_echo "DLPI" >&6; }
                   16211:   ISIS_METHOD_MACRO="ISIS_METHOD_DLPI"
                   16212: else
                   16213:   if test $ac_cv_header_net_bpf_h = no; then
                   16214:     if test $ac_cv_header_sys_dlpi_h = no; then
                   16215:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
                   16216: $as_echo "none" >&6; }
                   16217:       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** IS-IS support will not be built ***" >&5
                   16218: $as_echo "$as_me: WARNING: *** IS-IS support will not be built ***" >&2;}
                   16219:       ISISD=""
                   16220:     else
                   16221:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: DLPI" >&5
                   16222: $as_echo "DLPI" >&6; }
                   16223:     fi
                   16224:     ISIS_METHOD_MACRO="ISIS_METHOD_DLPI"
                   16225:   else
                   16226:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: BPF" >&5
                   16227: $as_echo "BPF" >&6; }
                   16228:     ISIS_METHOD_MACRO="ISIS_METHOD_BPF"
                   16229:   fi
                   16230: fi
                   16231: 
                   16232: cat >>confdefs.h <<_ACEOF
                   16233: #define ISIS_METHOD $ISIS_METHOD_MACRO
                   16234: _ACEOF
                   16235: 
                   16236: 
                   16237: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken CMSG_FIRSTHDR" >&5
                   16238: $as_echo_n "checking for broken CMSG_FIRSTHDR... " >&6; }
                   16239: if test "$cross_compiling" = yes; then :
                   16240:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   16241: $as_echo "no" >&6; }
                   16242: else
                   16243:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   16244: /* end confdefs.h.  */
                   16245: 
                   16246: #ifdef SUNOS_5
                   16247: #define _XPG4_2
                   16248: #define __EXTENSIONS__
                   16249: #endif
                   16250: #ifdef HAVE_STDLIB_H
                   16251: # include <stdlib.h>
                   16252: #endif
                   16253: #ifdef HAVE_SYS_TYPES_H
                   16254: #include <sys/types.h>
                   16255: #endif
                   16256: #ifdef HAVE_SYS_SOCKET_H
                   16257: #include <sys/socket.h>
                   16258: #endif
                   16259: 
                   16260: main()
                   16261: {
                   16262:   struct msghdr msg;
                   16263:   char buf[4];
                   16264: 
                   16265:   msg.msg_control = buf;
                   16266:   msg.msg_controllen = 0;
                   16267: 
                   16268:   if (CMSG_FIRSTHDR(&msg) != NULL)
                   16269:     exit(0);
                   16270:   exit (1);
                   16271: }
                   16272: _ACEOF
                   16273: if ac_fn_c_try_run "$LINENO"; then :
                   16274:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes - using workaround" >&5
                   16275: $as_echo "yes - using workaround" >&6; }
                   16276: $as_echo "#define HAVE_BROKEN_CMSG_FIRSTHDR /**/" >>confdefs.h
                   16277: 
                   16278: else
                   16279:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   16280: $as_echo "no" >&6; }
                   16281: fi
                   16282: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   16283:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   16284: fi
                   16285: 
                   16286: 
                   16287: { $as_echo "$as_me:${as_lineno-$LINENO}: checking route read method" >&5
                   16288: $as_echo_n "checking route read method... " >&6; }
                   16289: if ${quagga_cv_rtread_method+:} false; then :
                   16290:   $as_echo_n "(cached) " >&6
                   16291: else
                   16292:   if test "x$netlink" = xyes; then
                   16293:   quagga_cv_rtread_method="netlink"
                   16294: else
                   16295: for quagga_cv_rtread_method in /proc/net/route /dev/ip /dev/null;
                   16296: do
                   16297:   test x`ls $quagga_cv_rtread_method 2>/dev/null` = x"$quagga_cv_rtread_method" && break
                   16298: done
                   16299: case $quagga_cv_rtread_method in
                   16300:   "/proc/net/route") quagga_cv_rtread_method="proc";;
                   16301:   "/dev/ip")
                   16302:                      case "$host" in
                   16303:                        *-freebsd*)    quagga_cv_rtread_method="sysctl";;
                   16304:                        *)             quagga_cv_rtread_method="getmsg";;
                   16305:                      esac;;
                   16306:        *)
                   16307:                      quagga_cv_rtread_method="sysctl";;
                   16308: esac
                   16309: fi
                   16310: fi
                   16311: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quagga_cv_rtread_method" >&5
                   16312: $as_echo "$quagga_cv_rtread_method" >&6; }
                   16313: RTREAD_METHOD=rtread_${quagga_cv_rtread_method}.o
                   16314: 
                   16315: 
                   16316: IOCTL_METHOD=ioctl.o
                   16317: { $as_echo "$as_me:${as_lineno-$LINENO}: checking interface looking up method" >&5
                   16318: $as_echo_n "checking interface looking up method... " >&6; }
                   16319: if test "$netlink" = yes; then
                   16320:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: netlink" >&5
                   16321: $as_echo "netlink" >&6; }
                   16322:   IF_METHOD=if_netlink.o
                   16323: elif test "$opsys" = "sol2-6";then
                   16324:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Solaris GIF" >&5
                   16325: $as_echo "Solaris GIF" >&6; }
                   16326:   IF_METHOD=if_ioctl.o
                   16327: elif test "$opsys" = "sol8";then
                   16328:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Solaris GLIF" >&5
                   16329: $as_echo "Solaris GLIF" >&6; }
                   16330:   IF_METHOD=if_ioctl_solaris.o
                   16331:   IOCTL_METHOD=ioctl_solaris.o
                   16332: elif test "$opsys" = "irix" ; then
                   16333:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: IRIX" >&5
                   16334: $as_echo "IRIX" >&6; }
                   16335:   IF_METHOD=if_ioctl.o
                   16336: elif test "$opsys" = "openbsd";then
                   16337:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: openbsd" >&5
                   16338: $as_echo "openbsd" >&6; }
                   16339:   IF_METHOD=if_ioctl.o
                   16340: elif grep NET_RT_IFLIST /usr/include/sys/socket.h >/dev/null 2>&1; then
                   16341:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: sysctl" >&5
                   16342: $as_echo "sysctl" >&6; }
                   16343:     IF_METHOD=if_sysctl.o
                   16344: 
                   16345: $as_echo "#define HAVE_NET_RT_IFLIST /**/" >>confdefs.h
                   16346: 
                   16347: else
                   16348:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: ioctl" >&5
                   16349: $as_echo "ioctl" >&6; }
                   16350:     IF_METHOD=if_ioctl.o
                   16351: fi
                   16352: 
                   16353: 
                   16354: 
                   16355: ac_fn_c_check_member "$LINENO" "struct ip_mreqn" "imr_ifindex" "ac_cv_member_struct_ip_mreqn_imr_ifindex" "#ifdef SUNOS_5
                   16356: #define _XPG4_2
                   16357: #define __EXTENSIONS__
                   16358: #endif
                   16359: #include <stdio.h>
                   16360: #if STDC_HEADERS
                   16361: # include <stdlib.h>
                   16362: # include <stddef.h>
                   16363: #else
                   16364: # if HAVE_STDLIB_H
                   16365: #  include <stdlib.h>
                   16366: # endif
                   16367: #endif
                   16368: #if HAVE_SYS_TYPES_H
                   16369: # include <sys/types.h>
                   16370: #endif
                   16371: /* sys/conf.h depends on param.h on FBSD at least */
                   16372: #if HAVE_SYS_PARAM_H
                   16373: # include <sys/param.h>
                   16374: #endif
                   16375: /* Required for MAXSIG */
                   16376: #if HAVE_SIGNAL_H
                   16377: # include <signal.h>
                   16378: #endif
                   16379: #if HAVE_SYS_SOCKET_H
                   16380: # include <sys/socket.h>
                   16381: #endif
                   16382: #if HAVE_NETINET_IN_H
                   16383: # include <netinet/in.h>
                   16384: #endif
                   16385: #ifdef TIME_WITH_SYS_TIME
                   16386: # include <sys/time.h>
                   16387: # include <time.h>
                   16388: #else
                   16389: # ifdef HAVE_SYS_TIME_H
                   16390: #  include <sys/time.h>
                   16391: # else
                   16392: #  include <time.h>
                   16393: # endif
                   16394: #endif /* TIME_WITH_SYS_TIME */
                   16395: 
                   16396: #if HAVE_NET_IF_H
                   16397: # include <net/if.h>
                   16398: #endif
                   16399: 
                   16400: #if HAVE_NET_IF_VAR_H
                   16401: # include <net/if_var.h>
                   16402: #endif
                   16403: 
                   16404: #if HAVE_SYS_UN_H
                   16405: # include <sys/un.h>
                   16406: #endif
                   16407: #if HAVE_NETINET_IN_SYSTM_H
                   16408: # include <netinet/in_systm.h>
                   16409: #endif
                   16410: #if HAVE_NETINET_IN_VAR_H
                   16411: # include <netinet/in_var.h>
                   16412: #endif
                   16413: #if HAVE_NET_IF_DL_H
                   16414: # include <net/if_dl.h>
                   16415: #endif
                   16416: #if HAVE_NET_NETOPT_H
                   16417: # include <net/netopt.h>
                   16418: #endif
                   16419: #if HAVE_NET_ROUTE_H
                   16420: # include <net/route.h>
                   16421: #endif
                   16422: #if HAVE_INET_ND_H
                   16423: # include <inet/nd.h>
                   16424: #endif
                   16425: #if HAVE_ARPA_INET_H
                   16426: # include <arpa/inet.h>
                   16427: #endif
                   16428: /* Required for IDRP */
                   16429: #if HAVE_NETINET_IP_ICMP_H
                   16430: # include <netinet/ip_icmp.h>
                   16431: #endif
                   16432: 
                   16433: "
                   16434: if test "x$ac_cv_member_struct_ip_mreqn_imr_ifindex" = xyes; then :
                   16435: 
                   16436: cat >>confdefs.h <<_ACEOF
                   16437: #define HAVE_STRUCT_IP_MREQN_IMR_IFINDEX 1
                   16438: _ACEOF
                   16439: 
                   16440: 
                   16441: fi
                   16442: 
                   16443: 
                   16444: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD struct ip_mreq hack" >&5
                   16445: $as_echo_n "checking for BSD struct ip_mreq hack... " >&6; }
                   16446: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   16447: /* end confdefs.h.  */
                   16448: #ifdef HAVE_SYS_PARAM_H
                   16449: #include <sys/param.h>
                   16450: #endif
                   16451: int
                   16452: main ()
                   16453: {
                   16454: #if (defined(__FreeBSD__) && ((__FreeBSD_version >= 500022 && __FreeBSD_version < 700000) || (__FreeBSD_version < 500000 && __FreeBSD_version >= 440000))) || (defined(__NetBSD__) && defined(__NetBSD_Version__) && __NetBSD_Version__ >= 106010000)
                   16455:   return (0);
                   16456: #else
                   16457:   #error No support for BSD struct ip_mreq hack detected
                   16458: #endif
                   16459:   ;
                   16460:   return 0;
                   16461: }
                   16462: _ACEOF
                   16463: if ac_fn_c_try_compile "$LINENO"; then :
                   16464:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   16465: $as_echo "yes" >&6; }
                   16466: 
                   16467: $as_echo "#define HAVE_BSD_STRUCT_IP_MREQ_HACK /**/" >>confdefs.h
                   16468: 
                   16469: else
                   16470:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   16471: $as_echo "no" >&6; }
                   16472: fi
                   16473: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   16474: 
                   16475: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RFC3678 protocol-independed API" >&5
                   16476: $as_echo_n "checking for RFC3678 protocol-independed API... " >&6; }
                   16477: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   16478: /* end confdefs.h.  */
                   16479: 
                   16480: #include <sys/types.h>
                   16481: #include <netinet/in.h>
                   16482: 
                   16483: int
                   16484: main ()
                   16485: {
                   16486: struct group_req gr; int sock; setsockopt(sock, IPPROTO_IP, MCAST_JOIN_GROUP, (void*)&gr, sizeof(gr));
                   16487: 
                   16488:   ;
                   16489:   return 0;
                   16490: }
                   16491: _ACEOF
                   16492: if ac_fn_c_try_compile "$LINENO"; then :
                   16493:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   16494: $as_echo "yes" >&6; }
                   16495: 
                   16496: $as_echo "#define HAVE_RFC3678 1" >>confdefs.h
                   16497: 
                   16498: else
                   16499:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   16500: $as_echo "no" >&6; }
                   16501: fi
                   16502: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   16503: 
                   16504: ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#ifdef SUNOS_5
                   16505: #define _XPG4_2
                   16506: #define __EXTENSIONS__
                   16507: #endif
                   16508: #include <stdio.h>
                   16509: #if STDC_HEADERS
                   16510: # include <stdlib.h>
                   16511: # include <stddef.h>
                   16512: #else
                   16513: # if HAVE_STDLIB_H
                   16514: #  include <stdlib.h>
                   16515: # endif
                   16516: #endif
                   16517: #if HAVE_SYS_TYPES_H
                   16518: # include <sys/types.h>
                   16519: #endif
                   16520: /* sys/conf.h depends on param.h on FBSD at least */
                   16521: #if HAVE_SYS_PARAM_H
                   16522: # include <sys/param.h>
                   16523: #endif
                   16524: /* Required for MAXSIG */
                   16525: #if HAVE_SIGNAL_H
                   16526: # include <signal.h>
                   16527: #endif
                   16528: #if HAVE_SYS_SOCKET_H
                   16529: # include <sys/socket.h>
                   16530: #endif
                   16531: #if HAVE_NETINET_IN_H
                   16532: # include <netinet/in.h>
                   16533: #endif
                   16534: #ifdef TIME_WITH_SYS_TIME
                   16535: # include <sys/time.h>
                   16536: # include <time.h>
                   16537: #else
                   16538: # ifdef HAVE_SYS_TIME_H
                   16539: #  include <sys/time.h>
                   16540: # else
                   16541: #  include <time.h>
                   16542: # endif
                   16543: #endif /* TIME_WITH_SYS_TIME */
                   16544: 
                   16545: #if HAVE_NET_IF_H
                   16546: # include <net/if.h>
                   16547: #endif
                   16548: 
                   16549: #if HAVE_NET_IF_VAR_H
                   16550: # include <net/if_var.h>
                   16551: #endif
                   16552: 
                   16553: #if HAVE_SYS_UN_H
                   16554: # include <sys/un.h>
                   16555: #endif
                   16556: #if HAVE_NETINET_IN_SYSTM_H
                   16557: # include <netinet/in_systm.h>
                   16558: #endif
                   16559: #if HAVE_NETINET_IN_VAR_H
                   16560: # include <netinet/in_var.h>
                   16561: #endif
                   16562: #if HAVE_NET_IF_DL_H
                   16563: # include <net/if_dl.h>
                   16564: #endif
                   16565: #if HAVE_NET_NETOPT_H
                   16566: # include <net/netopt.h>
                   16567: #endif
                   16568: #if HAVE_NET_ROUTE_H
                   16569: # include <net/route.h>
                   16570: #endif
                   16571: #if HAVE_INET_ND_H
                   16572: # include <inet/nd.h>
                   16573: #endif
                   16574: #if HAVE_ARPA_INET_H
                   16575: # include <arpa/inet.h>
                   16576: #endif
                   16577: /* Required for IDRP */
                   16578: #if HAVE_NETINET_IP_ICMP_H
                   16579: # include <netinet/ip_icmp.h>
                   16580: #endif
                   16581: 
                   16582: "
                   16583: if test "x$ac_cv_header_net_if_h" = xyes; then :
                   16584:   ac_fn_c_check_header_compile "$LINENO" "net/if_media.h" "ac_cv_header_net_if_media_h" "#ifdef SUNOS_5
                   16585: #define _XPG4_2
                   16586: #define __EXTENSIONS__
                   16587: #endif
                   16588: #include <stdio.h>
                   16589: #if STDC_HEADERS
                   16590: # include <stdlib.h>
                   16591: # include <stddef.h>
                   16592: #else
                   16593: # if HAVE_STDLIB_H
                   16594: #  include <stdlib.h>
                   16595: # endif
                   16596: #endif
                   16597: #if HAVE_SYS_TYPES_H
                   16598: # include <sys/types.h>
                   16599: #endif
                   16600: /* sys/conf.h depends on param.h on FBSD at least */
                   16601: #if HAVE_SYS_PARAM_H
                   16602: # include <sys/param.h>
                   16603: #endif
                   16604: /* Required for MAXSIG */
                   16605: #if HAVE_SIGNAL_H
                   16606: # include <signal.h>
                   16607: #endif
                   16608: #if HAVE_SYS_SOCKET_H
                   16609: # include <sys/socket.h>
                   16610: #endif
                   16611: #if HAVE_NETINET_IN_H
                   16612: # include <netinet/in.h>
                   16613: #endif
                   16614: #ifdef TIME_WITH_SYS_TIME
                   16615: # include <sys/time.h>
                   16616: # include <time.h>
                   16617: #else
                   16618: # ifdef HAVE_SYS_TIME_H
                   16619: #  include <sys/time.h>
                   16620: # else
                   16621: #  include <time.h>
                   16622: # endif
                   16623: #endif /* TIME_WITH_SYS_TIME */
                   16624: 
                   16625: #if HAVE_NET_IF_H
                   16626: # include <net/if.h>
                   16627: #endif
                   16628: 
                   16629: #if HAVE_NET_IF_VAR_H
                   16630: # include <net/if_var.h>
                   16631: #endif
                   16632: 
                   16633: #if HAVE_SYS_UN_H
                   16634: # include <sys/un.h>
                   16635: #endif
                   16636: #if HAVE_NETINET_IN_SYSTM_H
                   16637: # include <netinet/in_systm.h>
                   16638: #endif
                   16639: #if HAVE_NETINET_IN_VAR_H
                   16640: # include <netinet/in_var.h>
                   16641: #endif
                   16642: #if HAVE_NET_IF_DL_H
                   16643: # include <net/if_dl.h>
                   16644: #endif
                   16645: #if HAVE_NET_NETOPT_H
                   16646: # include <net/netopt.h>
                   16647: #endif
                   16648: #if HAVE_NET_ROUTE_H
                   16649: # include <net/route.h>
                   16650: #endif
                   16651: #if HAVE_INET_ND_H
                   16652: # include <inet/nd.h>
                   16653: #endif
                   16654: #if HAVE_ARPA_INET_H
                   16655: # include <arpa/inet.h>
                   16656: #endif
                   16657: /* Required for IDRP */
                   16658: #if HAVE_NETINET_IP_ICMP_H
                   16659: # include <netinet/ip_icmp.h>
                   16660: #endif
                   16661: 
                   16662: "
                   16663: if test "x$ac_cv_header_net_if_media_h" = xyes; then :
                   16664: 
                   16665:     ac_fn_c_check_member "$LINENO" "struct ifmediareq" "ifm_status" "ac_cv_member_struct_ifmediareq_ifm_status" "#ifdef SUNOS_5
                   16666: #define _XPG4_2
                   16667: #define __EXTENSIONS__
                   16668: #endif
                   16669: #include <stdio.h>
                   16670: #if STDC_HEADERS
                   16671: # include <stdlib.h>
                   16672: # include <stddef.h>
                   16673: #else
                   16674: # if HAVE_STDLIB_H
                   16675: #  include <stdlib.h>
                   16676: # endif
                   16677: #endif
                   16678: #if HAVE_SYS_TYPES_H
                   16679: # include <sys/types.h>
                   16680: #endif
                   16681: /* sys/conf.h depends on param.h on FBSD at least */
                   16682: #if HAVE_SYS_PARAM_H
                   16683: # include <sys/param.h>
                   16684: #endif
                   16685: /* Required for MAXSIG */
                   16686: #if HAVE_SIGNAL_H
                   16687: # include <signal.h>
                   16688: #endif
                   16689: #if HAVE_SYS_SOCKET_H
                   16690: # include <sys/socket.h>
                   16691: #endif
                   16692: #if HAVE_NETINET_IN_H
                   16693: # include <netinet/in.h>
                   16694: #endif
                   16695: #ifdef TIME_WITH_SYS_TIME
                   16696: # include <sys/time.h>
                   16697: # include <time.h>
                   16698: #else
                   16699: # ifdef HAVE_SYS_TIME_H
                   16700: #  include <sys/time.h>
                   16701: # else
                   16702: #  include <time.h>
                   16703: # endif
                   16704: #endif /* TIME_WITH_SYS_TIME */
                   16705: 
                   16706: #if HAVE_NET_IF_H
                   16707: # include <net/if.h>
                   16708: #endif
                   16709: 
                   16710: #if HAVE_NET_IF_VAR_H
                   16711: # include <net/if_var.h>
                   16712: #endif
                   16713: 
                   16714: #if HAVE_SYS_UN_H
                   16715: # include <sys/un.h>
                   16716: #endif
                   16717: #if HAVE_NETINET_IN_SYSTM_H
                   16718: # include <netinet/in_systm.h>
                   16719: #endif
                   16720: #if HAVE_NETINET_IN_VAR_H
                   16721: # include <netinet/in_var.h>
                   16722: #endif
                   16723: #if HAVE_NET_IF_DL_H
                   16724: # include <net/if_dl.h>
                   16725: #endif
                   16726: #if HAVE_NET_NETOPT_H
                   16727: # include <net/netopt.h>
                   16728: #endif
                   16729: #if HAVE_NET_ROUTE_H
                   16730: # include <net/route.h>
                   16731: #endif
                   16732: #if HAVE_INET_ND_H
                   16733: # include <inet/nd.h>
                   16734: #endif
                   16735: #if HAVE_ARPA_INET_H
                   16736: # include <arpa/inet.h>
                   16737: #endif
                   16738: /* Required for IDRP */
                   16739: #if HAVE_NETINET_IP_ICMP_H
                   16740: # include <netinet/ip_icmp.h>
                   16741: #endif
                   16742: 
                   16743:       #include <net/if_media.h>
                   16744: 
                   16745: "
                   16746: if test "x$ac_cv_member_struct_ifmediareq_ifm_status" = xyes; then :
                   16747: 
                   16748: cat >>confdefs.h <<_ACEOF
                   16749: #define HAVE_STRUCT_IFMEDIAREQ_IFM_STATUS 1
                   16750: _ACEOF
                   16751: 
                   16752: 
                   16753: $as_echo "#define HAVE_BSD_LINK_DETECT /**/" >>confdefs.h
                   16754: 
                   16755: fi
                   16756: 
                   16757: fi
                   16758: 
                   16759: 
                   16760: fi
                   16761: 
                   16762: 
                   16763: 
                   16764: 
                   16765: ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "#ifdef SUNOS_5
                   16766: #define _XPG4_2
                   16767: #define __EXTENSIONS__
                   16768: #endif
                   16769: #include <stdio.h>
                   16770: #if STDC_HEADERS
                   16771: # include <stdlib.h>
                   16772: # include <stddef.h>
                   16773: #else
                   16774: # if HAVE_STDLIB_H
                   16775: #  include <stdlib.h>
                   16776: # endif
                   16777: #endif
                   16778: #if HAVE_SYS_TYPES_H
                   16779: # include <sys/types.h>
                   16780: #endif
                   16781: /* sys/conf.h depends on param.h on FBSD at least */
                   16782: #if HAVE_SYS_PARAM_H
                   16783: # include <sys/param.h>
                   16784: #endif
                   16785: /* Required for MAXSIG */
                   16786: #if HAVE_SIGNAL_H
                   16787: # include <signal.h>
                   16788: #endif
                   16789: #if HAVE_SYS_SOCKET_H
                   16790: # include <sys/socket.h>
                   16791: #endif
                   16792: #if HAVE_NETINET_IN_H
                   16793: # include <netinet/in.h>
                   16794: #endif
                   16795: #ifdef TIME_WITH_SYS_TIME
                   16796: # include <sys/time.h>
                   16797: # include <time.h>
                   16798: #else
                   16799: # ifdef HAVE_SYS_TIME_H
                   16800: #  include <sys/time.h>
                   16801: # else
                   16802: #  include <time.h>
                   16803: # endif
                   16804: #endif /* TIME_WITH_SYS_TIME */
                   16805: 
                   16806: #if HAVE_NET_IF_H
                   16807: # include <net/if.h>
                   16808: #endif
                   16809: 
                   16810: #if HAVE_NET_IF_VAR_H
                   16811: # include <net/if_var.h>
                   16812: #endif
                   16813: 
                   16814: #if HAVE_SYS_UN_H
                   16815: # include <sys/un.h>
                   16816: #endif
                   16817: #if HAVE_NETINET_IN_SYSTM_H
                   16818: # include <netinet/in_systm.h>
                   16819: #endif
                   16820: #if HAVE_NETINET_IN_VAR_H
                   16821: # include <netinet/in_var.h>
                   16822: #endif
                   16823: #if HAVE_NET_IF_DL_H
                   16824: # include <net/if_dl.h>
                   16825: #endif
                   16826: #if HAVE_NET_NETOPT_H
                   16827: # include <net/netopt.h>
                   16828: #endif
                   16829: #if HAVE_NET_ROUTE_H
                   16830: # include <net/route.h>
                   16831: #endif
                   16832: #if HAVE_INET_ND_H
                   16833: # include <inet/nd.h>
                   16834: #endif
                   16835: #if HAVE_ARPA_INET_H
                   16836: # include <arpa/inet.h>
                   16837: #endif
                   16838: /* Required for IDRP */
                   16839: #if HAVE_NETINET_IP_ICMP_H
                   16840: # include <netinet/ip_icmp.h>
                   16841: #endif
                   16842: 
                   16843: "
                   16844: if test "x$ac_cv_header_netinet_tcp_h" = xyes; then :
                   16845: 
                   16846:     ac_fn_c_check_decl "$LINENO" "TCP_MD5SIG" "ac_cv_have_decl_TCP_MD5SIG" "#ifdef SUNOS_5
                   16847: #define _XPG4_2
                   16848: #define __EXTENSIONS__
                   16849: #endif
                   16850: #include <stdio.h>
                   16851: #if STDC_HEADERS
                   16852: # include <stdlib.h>
                   16853: # include <stddef.h>
                   16854: #else
                   16855: # if HAVE_STDLIB_H
                   16856: #  include <stdlib.h>
                   16857: # endif
                   16858: #endif
                   16859: #if HAVE_SYS_TYPES_H
                   16860: # include <sys/types.h>
                   16861: #endif
                   16862: /* sys/conf.h depends on param.h on FBSD at least */
                   16863: #if HAVE_SYS_PARAM_H
                   16864: # include <sys/param.h>
                   16865: #endif
                   16866: /* Required for MAXSIG */
                   16867: #if HAVE_SIGNAL_H
                   16868: # include <signal.h>
                   16869: #endif
                   16870: #if HAVE_SYS_SOCKET_H
                   16871: # include <sys/socket.h>
                   16872: #endif
                   16873: #if HAVE_NETINET_IN_H
                   16874: # include <netinet/in.h>
                   16875: #endif
                   16876: #ifdef TIME_WITH_SYS_TIME
                   16877: # include <sys/time.h>
                   16878: # include <time.h>
                   16879: #else
                   16880: # ifdef HAVE_SYS_TIME_H
                   16881: #  include <sys/time.h>
                   16882: # else
                   16883: #  include <time.h>
                   16884: # endif
                   16885: #endif /* TIME_WITH_SYS_TIME */
                   16886: 
                   16887: #if HAVE_NET_IF_H
                   16888: # include <net/if.h>
                   16889: #endif
                   16890: 
                   16891: #if HAVE_NET_IF_VAR_H
                   16892: # include <net/if_var.h>
                   16893: #endif
                   16894: 
                   16895: #if HAVE_SYS_UN_H
                   16896: # include <sys/un.h>
                   16897: #endif
                   16898: #if HAVE_NETINET_IN_SYSTM_H
                   16899: # include <netinet/in_systm.h>
                   16900: #endif
                   16901: #if HAVE_NETINET_IN_VAR_H
                   16902: # include <netinet/in_var.h>
                   16903: #endif
                   16904: #if HAVE_NET_IF_DL_H
                   16905: # include <net/if_dl.h>
                   16906: #endif
                   16907: #if HAVE_NET_NETOPT_H
                   16908: # include <net/netopt.h>
                   16909: #endif
                   16910: #if HAVE_NET_ROUTE_H
                   16911: # include <net/route.h>
                   16912: #endif
                   16913: #if HAVE_INET_ND_H
                   16914: # include <inet/nd.h>
                   16915: #endif
                   16916: #if HAVE_ARPA_INET_H
                   16917: # include <arpa/inet.h>
                   16918: #endif
                   16919: /* Required for IDRP */
                   16920: #if HAVE_NETINET_IP_ICMP_H
                   16921: # include <netinet/ip_icmp.h>
                   16922: #endif
                   16923: 
                   16924:       #include <netinet/tcp.h>
                   16925: 
                   16926: "
                   16927: if test "x$ac_cv_have_decl_TCP_MD5SIG" = xyes; then :
                   16928:   ac_have_decl=1
                   16929: else
                   16930:   ac_have_decl=0
                   16931: fi
                   16932: 
                   16933: cat >>confdefs.h <<_ACEOF
                   16934: #define HAVE_DECL_TCP_MD5SIG $ac_have_decl
                   16935: _ACEOF
                   16936: 
                   16937: fi
                   16938: 
                   16939: 
                   16940: if test $ac_cv_have_decl_TCP_MD5SIG = no; then
                   16941:   ac_fn_c_check_header_mongrel "$LINENO" "linux/tcp.h" "ac_cv_header_linux_tcp_h" "$ac_includes_default"
                   16942: if test "x$ac_cv_header_linux_tcp_h" = xyes; then :
                   16943: 
                   16944:        ac_fn_c_check_decl "$LINENO" "TCP_MD5SIG" "ac_cv_have_decl_TCP_MD5SIG" "#ifdef SUNOS_5
                   16945: #define _XPG4_2
                   16946: #define __EXTENSIONS__
                   16947: #endif
                   16948: #include <stdio.h>
                   16949: #if STDC_HEADERS
                   16950: # include <stdlib.h>
                   16951: # include <stddef.h>
                   16952: #else
                   16953: # if HAVE_STDLIB_H
                   16954: #  include <stdlib.h>
                   16955: # endif
                   16956: #endif
                   16957: #if HAVE_SYS_TYPES_H
                   16958: # include <sys/types.h>
                   16959: #endif
                   16960: /* sys/conf.h depends on param.h on FBSD at least */
                   16961: #if HAVE_SYS_PARAM_H
                   16962: # include <sys/param.h>
                   16963: #endif
                   16964: /* Required for MAXSIG */
                   16965: #if HAVE_SIGNAL_H
                   16966: # include <signal.h>
                   16967: #endif
                   16968: #if HAVE_SYS_SOCKET_H
                   16969: # include <sys/socket.h>
                   16970: #endif
                   16971: #if HAVE_NETINET_IN_H
                   16972: # include <netinet/in.h>
                   16973: #endif
                   16974: #ifdef TIME_WITH_SYS_TIME
                   16975: # include <sys/time.h>
                   16976: # include <time.h>
                   16977: #else
                   16978: # ifdef HAVE_SYS_TIME_H
                   16979: #  include <sys/time.h>
                   16980: # else
                   16981: #  include <time.h>
                   16982: # endif
                   16983: #endif /* TIME_WITH_SYS_TIME */
                   16984: 
                   16985: #if HAVE_NET_IF_H
                   16986: # include <net/if.h>
                   16987: #endif
                   16988: 
                   16989: #if HAVE_NET_IF_VAR_H
                   16990: # include <net/if_var.h>
                   16991: #endif
                   16992: 
                   16993: #if HAVE_SYS_UN_H
                   16994: # include <sys/un.h>
                   16995: #endif
                   16996: #if HAVE_NETINET_IN_SYSTM_H
                   16997: # include <netinet/in_systm.h>
                   16998: #endif
                   16999: #if HAVE_NETINET_IN_VAR_H
                   17000: # include <netinet/in_var.h>
                   17001: #endif
                   17002: #if HAVE_NET_IF_DL_H
                   17003: # include <net/if_dl.h>
                   17004: #endif
                   17005: #if HAVE_NET_NETOPT_H
                   17006: # include <net/netopt.h>
                   17007: #endif
                   17008: #if HAVE_NET_ROUTE_H
                   17009: # include <net/route.h>
                   17010: #endif
                   17011: #if HAVE_INET_ND_H
                   17012: # include <inet/nd.h>
                   17013: #endif
                   17014: #if HAVE_ARPA_INET_H
                   17015: # include <arpa/inet.h>
                   17016: #endif
                   17017: /* Required for IDRP */
                   17018: #if HAVE_NETINET_IP_ICMP_H
                   17019: # include <netinet/ip_icmp.h>
                   17020: #endif
                   17021: 
                   17022:           #include <linux/tcp.h>
                   17023: 
                   17024: "
                   17025: if test "x$ac_cv_have_decl_TCP_MD5SIG" = xyes; then :
                   17026:   ac_have_decl=1
                   17027: else
                   17028:   ac_have_decl=0
                   17029: fi
                   17030: 
                   17031: cat >>confdefs.h <<_ACEOF
                   17032: #define HAVE_DECL_TCP_MD5SIG $ac_have_decl
                   17033: _ACEOF
                   17034: 
                   17035: fi
                   17036: 
                   17037: 
                   17038: fi
                   17039: 
                   17040: if test "$netlink" != yes; then
                   17041:   if test -r /proc/net/dev; then
                   17042: 
                   17043: $as_echo "#define HAVE_PROC_NET_DEV /**/" >>confdefs.h
                   17044: 
                   17045:     IF_PROC=if_proc.o
                   17046:   fi
                   17047:   if test -r /proc/net/if_inet6; then
                   17048: 
                   17049: $as_echo "#define HAVE_PROC_NET_IF_INET6 /**/" >>confdefs.h
                   17050: 
                   17051:     IF_PROC=if_proc.o
                   17052:   fi
                   17053: fi
                   17054: 
                   17055: 
                   17056: { $as_echo "$as_me:${as_lineno-$LINENO}: checking ipforward method" >&5
                   17057: $as_echo_n "checking ipforward method... " >&6; }
                   17058: if ${quagga_cv_ipforward_method+:} false; then :
                   17059:   $as_echo_n "(cached) " >&6
                   17060: else
                   17061:   for quagga_cv_ipforward_method in /proc/net/snmp /dev/ip /dev/null;
                   17062: do
                   17063:   test x`ls $quagga_cv_ipforward_method 2>/dev/null` = x"$quagga_cv_ipforward_method" && break
                   17064: done
                   17065: case $quagga_cv_ipforward_method in
                   17066:   "/proc/net/snmp")  quagga_cv_ipforward_method="proc";;
                   17067:   "/dev/ip")
                   17068:                      case "$host" in
                   17069:                        *-nec-sysv4*)  quagga_cv_ipforward_method="ews";;
                   17070:                        *-freebsd*)    quagga_cv_ipforward_method="sysctl";;
                   17071:                        *)             quagga_cv_ipforward_method="solaris";;
                   17072:                      esac;;
                   17073:   *)                 quagga_cv_ipforward_method="sysctl";;
                   17074: esac
                   17075: fi
                   17076: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $quagga_cv_ipforward_method" >&5
                   17077: $as_echo "$quagga_cv_ipforward_method" >&6; }
                   17078: IPFORWARD=ipforward_${quagga_cv_ipforward_method}.o
                   17079: 
                   17080: 
                   17081: for ac_func in getaddrinfo
                   17082: do :
                   17083:   ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
                   17084: if test "x$ac_cv_func_getaddrinfo" = xyes; then :
                   17085:   cat >>confdefs.h <<_ACEOF
                   17086: #define HAVE_GETADDRINFO 1
                   17087: _ACEOF
                   17088:  have_getaddrinfo=yes
                   17089: else
                   17090:   have_getaddrinfo=no
                   17091: fi
                   17092: done
                   17093: 
                   17094: 
                   17095: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether does this OS have IPv6 stack" >&5
                   17096: $as_echo_n "checking whether does this OS have IPv6 stack... " >&6; }
                   17097: if test "${enable_ipv6}" = "no"; then
                   17098:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
                   17099: $as_echo "disabled" >&6; }
                   17100: else
                   17101:   if grep IPV6_INRIA_VERSION /usr/include/netinet/in.h >/dev/null 2>&1; then
                   17102:     zebra_cv_ipv6=yes
                   17103: 
                   17104: $as_echo "#define HAVE_IPV6 1" >>confdefs.h
                   17105: 
                   17106: 
                   17107: $as_echo "#define INRIA_IPV6 1" >>confdefs.h
                   17108: 
                   17109:     RIPNGD="ripngd"
                   17110:     OSPF6D="ospf6d"
                   17111:     LIB_IPV6=""
                   17112:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: INRIA IPv6" >&5
                   17113: $as_echo "INRIA IPv6" >&6; }
                   17114:   elif grep WIDE /usr/include/netinet6/in6.h >/dev/null 2>&1; then
                   17115:     zebra_cv_ipv6=yes
                   17116: 
                   17117: $as_echo "#define HAVE_IPV6 1" >>confdefs.h
                   17118: 
                   17119: 
                   17120: $as_echo "#define KAME 1" >>confdefs.h
                   17121: 
                   17122:     RIPNGD="ripngd"
                   17123:     OSPF6D="ospf6d"
                   17124:     if test -d /usr/local/v6/lib -a -f /usr/local/v6/lib/libinet6.a; then
                   17125:       LIB_IPV6="-L/usr/local/v6/lib -linet6"
                   17126:     fi
                   17127:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: KAME" >&5
                   17128: $as_echo "KAME" >&6; }
                   17129:   elif grep MUSICA /usr/include6/netinet6/in6.h >/dev/null 2>&1; then
                   17130:     zebra_cv_ipv6=yes
                   17131: 
                   17132: $as_echo "#define HAVE_IPV6 1" >>confdefs.h
                   17133: 
                   17134: 
                   17135: $as_echo "#define MUSICA 1" >>confdefs.h
                   17136: 
                   17137: 
                   17138: $as_echo "#define KAME 1" >>confdefs.h
                   17139: 
                   17140:     RIPNGD="ripngd"
                   17141:     OSPF6D="ospf6d"
                   17142:     if test -d /usr/local/v6/lib -a -f /usr/local/v6/lib/libinet6.a; then
                   17143:       LIB_IPV6="-L/usr/local/v6/lib -linet6"
                   17144:     fi
                   17145:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: MUSICA" >&5
                   17146: $as_echo "MUSICA" >&6; }
                   17147:   elif grep NRL /usr/include/netinet6/in6.h >/dev/null 2>&1; then
                   17148:     zebra_cv_ipv6=yes
                   17149: 
                   17150: $as_echo "#define HAVE_IPV6 1" >>confdefs.h
                   17151: 
                   17152: 
                   17153: $as_echo "#define NRL 1" >>confdefs.h
                   17154: 
                   17155:     RIPNGD="ripngd"
                   17156:     OSPF6D="ospf6d"
                   17157:     if test x"$opsys" = x"bsdi";then
                   17158: 
                   17159: $as_echo "#define BSDI_NRL /**/" >>confdefs.h
                   17160: 
                   17161:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: BSDI_NRL" >&5
                   17162: $as_echo "BSDI_NRL" >&6; }
                   17163:     else
                   17164:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: NRL" >&5
                   17165: $as_echo "NRL" >&6; }
                   17166:     fi
                   17167:   elif test x"$opsys" = x"sol8"; then
                   17168:     zebra_cv_ipv6=yes;
                   17169: 
                   17170: $as_echo "#define HAVE_IPV6 1" >>confdefs.h
                   17171: 
                   17172: 
                   17173: $as_echo "#define SOLARIS_IPV6 1" >>confdefs.h
                   17174: 
                   17175:     RIPNGD="ripngd"
                   17176:     OSPF6D="ospf6d"
                   17177:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: Solaris IPv6" >&5
                   17178: $as_echo "Solaris IPv6" >&6; }
                   17179:   elif test "${enable_ipv6}" = "yes"; then
                   17180:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17181: /* end confdefs.h.  */
                   17182: 
                   17183:       #include <linux/version.h>
                   17184:       /* 2.1.128 or later */
                   17185:       #if LINUX_VERSION_CODE >= 0x020180
                   17186:       yes
                   17187:       #endif
                   17188: _ACEOF
                   17189: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   17190:   $EGREP "yes" >/dev/null 2>&1; then :
                   17191:   zebra_cv_ipv6=yes
                   17192:        zebra_cv_linux_ipv6=yes
                   17193:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Linux IPv6" >&5
                   17194: $as_echo "Linux IPv6" >&6; }
                   17195: fi
                   17196: rm -f conftest*
                   17197: 
                   17198:   else
                   17199:     if test x`ls /proc/net/ipv6_route 2>/dev/null` = x"/proc/net/ipv6_route"
                   17200:      then
                   17201:       zebra_cv_ipv6=yes
                   17202:       zebra_cv_linux_ipv6=yes
                   17203:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: Linux IPv6" >&5
                   17204: $as_echo "Linux IPv6" >&6; }
                   17205:     fi
                   17206:   fi
                   17207: 
                   17208:   if test "$zebra_cv_linux_ipv6" = "yes";then
                   17209:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libc has IPv6 support" >&5
                   17210: $as_echo_n "checking whether libc has IPv6 support... " >&6; }
                   17211:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17212: /* end confdefs.h.  */
                   17213: #include <netinet/in.h>
                   17214: 
                   17215: int
                   17216: main ()
                   17217: {
                   17218:  int a; a = (int) in6addr_any.s6_addr[0]; if (a != 12345) return a;
                   17219:   ;
                   17220:   return 0;
                   17221: }
                   17222: _ACEOF
                   17223: if ac_fn_c_try_link "$LINENO"; then :
                   17224:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   17225: $as_echo "yes" >&6; }
                   17226:       zebra_cv_ipv6=yes
                   17227:       zebra_cv_linux_ipv6=yes
                   17228: else
                   17229:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   17230: $as_echo "no" >&6; }
                   17231:       zebra_cv_ipv6=no
                   17232:       zebra_cv_linux_ipv6=no
                   17233: fi
                   17234: rm -f core conftest.err conftest.$ac_objext \
                   17235:     conftest$ac_exeext conftest.$ac_ext
                   17236:   fi
                   17237: 
                   17238:   if test "$zebra_cv_linux_ipv6" = "yes";then
                   17239:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc >= 2.1" >&5
                   17240: $as_echo_n "checking for GNU libc >= 2.1... " >&6; }
                   17241: 
                   17242: $as_echo "#define HAVE_IPV6 1" >>confdefs.h
                   17243: 
                   17244:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17245: /* end confdefs.h.  */
                   17246: 
                   17247: #include <features.h>
                   17248: #if __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1
                   17249:   yes
                   17250: #endif
                   17251: _ACEOF
                   17252: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   17253:   $EGREP "yes" >/dev/null 2>&1; then :
                   17254:   glibc=yes
                   17255: 
                   17256: $as_echo "#define LINUX_IPV6 1" >>confdefs.h
                   17257: 
                   17258:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   17259: $as_echo "yes" >&6; }
                   17260: else
                   17261:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   17262: $as_echo "no" >&6; }
                   17263: 
                   17264: fi
                   17265: rm -f conftest*
                   17266: 
                   17267:     RIPNGD="ripngd"
                   17268:     OSPF6D="ospf6d"
                   17269:     if test "$glibc" != "yes"; then
                   17270:       INCLUDES="-I/usr/inet6/include"
                   17271:       if test x`ls /usr/inet6/lib/libinet6.a 2>/dev/null` != x;then
                   17272:          LIB_IPV6="-L/usr/inet6/lib -linet6"
                   17273:       fi
                   17274:     fi
                   17275:   fi
                   17276: 
                   17277:   LIBS="$LIB_IPV6 $LIBS"
                   17278: 
                   17279: 
                   17280:   if test x"$RIPNGD" = x""; then
                   17281:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: IPv4 only" >&5
                   17282: $as_echo "IPv4 only" >&6; }
                   17283:   fi
                   17284: fi
                   17285: 
                   17286: if test "x${zebra_cv_ipv6}" = "xyes"; then
                   17287: for ac_header in netinet6/in6.h netinet/in6_var.h netinet/icmp6.h \
                   17288:        netinet6/in6_var.h netinet6/nd6.h
                   17289: do :
                   17290:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   17291: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef SUNOS_5
                   17292: #define _XPG4_2
                   17293: #define __EXTENSIONS__
                   17294: #endif
                   17295: #include <stdio.h>
                   17296: #if STDC_HEADERS
                   17297: # include <stdlib.h>
                   17298: # include <stddef.h>
                   17299: #else
                   17300: # if HAVE_STDLIB_H
                   17301: #  include <stdlib.h>
                   17302: # endif
                   17303: #endif
                   17304: #if HAVE_SYS_TYPES_H
                   17305: # include <sys/types.h>
                   17306: #endif
                   17307: /* sys/conf.h depends on param.h on FBSD at least */
                   17308: #if HAVE_SYS_PARAM_H
                   17309: # include <sys/param.h>
                   17310: #endif
                   17311: /* Required for MAXSIG */
                   17312: #if HAVE_SIGNAL_H
                   17313: # include <signal.h>
                   17314: #endif
                   17315: #if HAVE_SYS_SOCKET_H
                   17316: # include <sys/socket.h>
                   17317: #endif
                   17318: #if HAVE_NETINET_IN_H
                   17319: # include <netinet/in.h>
                   17320: #endif
                   17321: #ifdef TIME_WITH_SYS_TIME
                   17322: # include <sys/time.h>
                   17323: # include <time.h>
                   17324: #else
                   17325: # ifdef HAVE_SYS_TIME_H
                   17326: #  include <sys/time.h>
                   17327: # else
                   17328: #  include <time.h>
                   17329: # endif
                   17330: #endif /* TIME_WITH_SYS_TIME */
                   17331: 
                   17332: #if HAVE_NET_IF_H
                   17333: # include <net/if.h>
                   17334: #endif
                   17335: 
                   17336: #if HAVE_NET_IF_VAR_H
                   17337: # include <net/if_var.h>
                   17338: #endif
                   17339: 
                   17340: #if HAVE_SYS_UN_H
                   17341: # include <sys/un.h>
                   17342: #endif
                   17343: #if HAVE_NETINET_IN_SYSTM_H
                   17344: # include <netinet/in_systm.h>
                   17345: #endif
                   17346: #if HAVE_NETINET_IN_VAR_H
                   17347: # include <netinet/in_var.h>
                   17348: #endif
                   17349: #if HAVE_NET_IF_DL_H
                   17350: # include <net/if_dl.h>
                   17351: #endif
                   17352: #if HAVE_NET_NETOPT_H
                   17353: # include <net/netopt.h>
                   17354: #endif
                   17355: #if HAVE_NET_ROUTE_H
                   17356: # include <net/route.h>
                   17357: #endif
                   17358: #if HAVE_INET_ND_H
                   17359: # include <inet/nd.h>
                   17360: #endif
                   17361: #if HAVE_ARPA_INET_H
                   17362: # include <arpa/inet.h>
                   17363: #endif
                   17364: /* Required for IDRP */
                   17365: #if HAVE_NETINET_IP_ICMP_H
                   17366: # include <netinet/ip_icmp.h>
                   17367: #endif
                   17368: 
                   17369: "
                   17370: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   17371:   cat >>confdefs.h <<_ACEOF
                   17372: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   17373: _ACEOF
                   17374: 
                   17375: fi
                   17376: 
                   17377: done
                   17378: 
                   17379: fi
                   17380: 
                   17381: 
                   17382: if test "${enable_doc}" = "no";then
                   17383:   DOC=""
                   17384: else
                   17385:   DOC="doc"
                   17386: fi
                   17387: 
                   17388: if test "${enable_zebra}" = "no";then
                   17389:   ZEBRA=""
                   17390: else
                   17391:   ZEBRA="zebra"
                   17392: fi
                   17393: 
                   17394: if test "${enable_bgpd}" = "no";then
                   17395:   BGPD=""
                   17396: else
                   17397:   BGPD="bgpd"
                   17398: fi
                   17399: 
                   17400: if test "${enable_ripd}" = "no";then
                   17401:   RIPD=""
                   17402: else
                   17403:   RIPD="ripd"
                   17404: fi
                   17405: 
                   17406: if test "${enable_ospfd}" = "no";then
                   17407:   OSPFD=""
                   17408: else
                   17409:   OSPFD="ospfd"
                   17410: fi
                   17411: 
                   17412: if test "${enable_watchquagga}" = "no";then
                   17413:   WATCHQUAGGA=""
                   17414: else
                   17415:   WATCHQUAGGA="watchquagga"
                   17416: fi
                   17417: 
                   17418: OSPFCLIENT=""
                   17419: if test "${enable_opaque_lsa}" != "no"; then
                   17420:   if test "${enable_ospfapi}" != "no";then
                   17421: 
                   17422: $as_echo "#define SUPPORT_OSPF_API /**/" >>confdefs.h
                   17423: 
                   17424: 
                   17425:     if test "${enable_ospfclient}" != "no";then
                   17426:       OSPFCLIENT="ospfclient"
                   17427:     fi
                   17428:   fi
                   17429: 
                   17430: fi
                   17431: 
                   17432: case "${enable_ripngd}" in
                   17433:   "yes") RIPNGD="ripngd";;
                   17434:   "no" ) RIPNGD="";;
                   17435:   *    ) ;;
                   17436: esac
                   17437: 
                   17438: case "${enable_ospf6d}" in
                   17439:   "yes") OSPF6D="ospf6d";;
                   17440:   "no" ) OSPF6D="";;
                   17441:   *    ) ;;
                   17442: esac
                   17443: 
                   17444: case "${enable_isisd}" in
                   17445:   "yes") ISISD="isisd";;
                   17446:   "no" ) ISISD="";;
                   17447:   *    ) ;;
                   17448: esac
                   17449: 
                   17450: # XXX Perhaps auto-enable on Solaris, but that's messy for cross builds.
                   17451: case "${enable_solaris}" in
                   17452:   "yes") SOLARIS="solaris";;
                   17453:   "no" ) SOLARIS="";;
                   17454:   *    ) ;;
                   17455: esac
                   17456: 
                   17457: if test "${enable_bgp_announce}" = "no";then
                   17458: 
                   17459: $as_echo "#define DISABLE_BGP_ANNOUNCE 1" >>confdefs.h
                   17460: 
                   17461: else
                   17462: 
                   17463: $as_echo "#define DISABLE_BGP_ANNOUNCE 0" >>confdefs.h
                   17464: 
                   17465: fi
                   17466: 
                   17467: 
                   17468: 
                   17469: 
                   17470: 
                   17471: 
                   17472: 
                   17473: 
                   17474: 
                   17475: 
                   17476: 
                   17477: 
                   17478: 
                   17479: 
                   17480: 
                   17481: 
                   17482: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntop in -lc" >&5
                   17483: $as_echo_n "checking for inet_ntop in -lc... " >&6; }
                   17484: if ${ac_cv_lib_c_inet_ntop+:} false; then :
                   17485:   $as_echo_n "(cached) " >&6
                   17486: else
                   17487:   ac_check_lib_save_LIBS=$LIBS
                   17488: LIBS="-lc  $LIBS"
                   17489: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17490: /* end confdefs.h.  */
                   17491: 
                   17492: /* Override any GCC internal prototype to avoid an error.
                   17493:    Use char because int might match the return type of a GCC
                   17494:    builtin and then its argument prototype would still apply.  */
                   17495: #ifdef __cplusplus
                   17496: extern "C"
                   17497: #endif
                   17498: char inet_ntop ();
                   17499: int
                   17500: main ()
                   17501: {
                   17502: return inet_ntop ();
                   17503:   ;
                   17504:   return 0;
                   17505: }
                   17506: _ACEOF
                   17507: if ac_fn_c_try_link "$LINENO"; then :
                   17508:   ac_cv_lib_c_inet_ntop=yes
                   17509: else
                   17510:   ac_cv_lib_c_inet_ntop=no
                   17511: fi
                   17512: rm -f core conftest.err conftest.$ac_objext \
                   17513:     conftest$ac_exeext conftest.$ac_ext
                   17514: LIBS=$ac_check_lib_save_LIBS
                   17515: fi
                   17516: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_inet_ntop" >&5
                   17517: $as_echo "$ac_cv_lib_c_inet_ntop" >&6; }
                   17518: if test "x$ac_cv_lib_c_inet_ntop" = xyes; then :
                   17519: 
                   17520: $as_echo "#define HAVE_INET_NTOP /**/" >>confdefs.h
                   17521: 
                   17522: fi
                   17523: 
                   17524: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_pton in -lc" >&5
                   17525: $as_echo_n "checking for inet_pton in -lc... " >&6; }
                   17526: if ${ac_cv_lib_c_inet_pton+:} false; then :
                   17527:   $as_echo_n "(cached) " >&6
                   17528: else
                   17529:   ac_check_lib_save_LIBS=$LIBS
                   17530: LIBS="-lc  $LIBS"
                   17531: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17532: /* end confdefs.h.  */
                   17533: 
                   17534: /* Override any GCC internal prototype to avoid an error.
                   17535:    Use char because int might match the return type of a GCC
                   17536:    builtin and then its argument prototype would still apply.  */
                   17537: #ifdef __cplusplus
                   17538: extern "C"
                   17539: #endif
                   17540: char inet_pton ();
                   17541: int
                   17542: main ()
                   17543: {
                   17544: return inet_pton ();
                   17545:   ;
                   17546:   return 0;
                   17547: }
                   17548: _ACEOF
                   17549: if ac_fn_c_try_link "$LINENO"; then :
                   17550:   ac_cv_lib_c_inet_pton=yes
                   17551: else
                   17552:   ac_cv_lib_c_inet_pton=no
                   17553: fi
                   17554: rm -f core conftest.err conftest.$ac_objext \
                   17555:     conftest$ac_exeext conftest.$ac_ext
                   17556: LIBS=$ac_check_lib_save_LIBS
                   17557: fi
                   17558: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_inet_pton" >&5
                   17559: $as_echo "$ac_cv_lib_c_inet_pton" >&6; }
                   17560: if test "x$ac_cv_lib_c_inet_pton" = xyes; then :
                   17561: 
                   17562: $as_echo "#define HAVE_INET_PTON /**/" >>confdefs.h
                   17563: 
                   17564: fi
                   17565: 
                   17566: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypt in -lcrypt" >&5
                   17567: $as_echo_n "checking for crypt in -lcrypt... " >&6; }
                   17568: if ${ac_cv_lib_crypt_crypt+:} false; then :
                   17569:   $as_echo_n "(cached) " >&6
                   17570: else
                   17571:   ac_check_lib_save_LIBS=$LIBS
                   17572: LIBS="-lcrypt  $LIBS"
                   17573: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17574: /* end confdefs.h.  */
                   17575: 
                   17576: /* Override any GCC internal prototype to avoid an error.
                   17577:    Use char because int might match the return type of a GCC
                   17578:    builtin and then its argument prototype would still apply.  */
                   17579: #ifdef __cplusplus
                   17580: extern "C"
                   17581: #endif
                   17582: char crypt ();
                   17583: int
                   17584: main ()
                   17585: {
                   17586: return crypt ();
                   17587:   ;
                   17588:   return 0;
                   17589: }
                   17590: _ACEOF
                   17591: if ac_fn_c_try_link "$LINENO"; then :
                   17592:   ac_cv_lib_crypt_crypt=yes
                   17593: else
                   17594:   ac_cv_lib_crypt_crypt=no
                   17595: fi
                   17596: rm -f core conftest.err conftest.$ac_objext \
                   17597:     conftest$ac_exeext conftest.$ac_ext
                   17598: LIBS=$ac_check_lib_save_LIBS
                   17599: fi
                   17600: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypt_crypt" >&5
                   17601: $as_echo "$ac_cv_lib_crypt_crypt" >&6; }
                   17602: if test "x$ac_cv_lib_crypt_crypt" = xyes; then :
                   17603:   cat >>confdefs.h <<_ACEOF
                   17604: #define HAVE_LIBCRYPT 1
                   17605: _ACEOF
                   17606: 
                   17607:   LIBS="-lcrypt $LIBS"
                   17608: 
                   17609: fi
                   17610: 
                   17611: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_init in -lresolv" >&5
                   17612: $as_echo_n "checking for res_init in -lresolv... " >&6; }
                   17613: if ${ac_cv_lib_resolv_res_init+:} false; then :
                   17614:   $as_echo_n "(cached) " >&6
                   17615: else
                   17616:   ac_check_lib_save_LIBS=$LIBS
                   17617: LIBS="-lresolv  $LIBS"
                   17618: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17619: /* end confdefs.h.  */
                   17620: 
                   17621: /* Override any GCC internal prototype to avoid an error.
                   17622:    Use char because int might match the return type of a GCC
                   17623:    builtin and then its argument prototype would still apply.  */
                   17624: #ifdef __cplusplus
                   17625: extern "C"
                   17626: #endif
                   17627: char res_init ();
                   17628: int
                   17629: main ()
                   17630: {
                   17631: return res_init ();
                   17632:   ;
                   17633:   return 0;
                   17634: }
                   17635: _ACEOF
                   17636: if ac_fn_c_try_link "$LINENO"; then :
                   17637:   ac_cv_lib_resolv_res_init=yes
                   17638: else
                   17639:   ac_cv_lib_resolv_res_init=no
                   17640: fi
                   17641: rm -f core conftest.err conftest.$ac_objext \
                   17642:     conftest$ac_exeext conftest.$ac_ext
                   17643: LIBS=$ac_check_lib_save_LIBS
                   17644: fi
                   17645: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_res_init" >&5
                   17646: $as_echo "$ac_cv_lib_resolv_res_init" >&6; }
                   17647: if test "x$ac_cv_lib_resolv_res_init" = xyes; then :
                   17648:   cat >>confdefs.h <<_ACEOF
                   17649: #define HAVE_LIBRESOLV 1
                   17650: _ACEOF
                   17651: 
                   17652:   LIBS="-lresolv $LIBS"
                   17653: 
                   17654: fi
                   17655: 
                   17656: 
                   17657: ac_fn_c_check_func "$LINENO" "__inet_ntop" "ac_cv_func___inet_ntop"
                   17658: if test "x$ac_cv_func___inet_ntop" = xyes; then :
                   17659: 
                   17660: $as_echo "#define HAVE_INET_NTOP /**/" >>confdefs.h
                   17661: 
                   17662: fi
                   17663: 
                   17664: ac_fn_c_check_func "$LINENO" "__inet_pton" "ac_cv_func___inet_pton"
                   17665: if test "x$ac_cv_func___inet_pton" = xyes; then :
                   17666: 
                   17667: $as_echo "#define HAVE_INET_PTON /**/" >>confdefs.h
                   17668: 
                   17669: fi
                   17670: 
                   17671: ac_fn_c_check_func "$LINENO" "__inet_aton" "ac_cv_func___inet_aton"
                   17672: if test "x$ac_cv_func___inet_aton" = xyes; then :
                   17673: 
                   17674: $as_echo "#define HAVE_INET_ATON /**/" >>confdefs.h
                   17675: 
                   17676: fi
                   17677: 
                   17678: 
                   17679: if test "x$enable_pcreposix" = "xyes"; then
                   17680:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcreposix_regexec in -lpcreposix" >&5
                   17681: $as_echo_n "checking for pcreposix_regexec in -lpcreposix... " >&6; }
                   17682: if ${ac_cv_lib_pcreposix_pcreposix_regexec+:} false; then :
                   17683:   $as_echo_n "(cached) " >&6
                   17684: else
                   17685:   ac_check_lib_save_LIBS=$LIBS
                   17686: LIBS="-lpcreposix  $LIBS"
                   17687: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17688: /* end confdefs.h.  */
                   17689: 
                   17690: /* Override any GCC internal prototype to avoid an error.
                   17691:    Use char because int might match the return type of a GCC
                   17692:    builtin and then its argument prototype would still apply.  */
                   17693: #ifdef __cplusplus
                   17694: extern "C"
                   17695: #endif
                   17696: char pcreposix_regexec ();
                   17697: int
                   17698: main ()
                   17699: {
                   17700: return pcreposix_regexec ();
                   17701:   ;
                   17702:   return 0;
                   17703: }
                   17704: _ACEOF
                   17705: if ac_fn_c_try_link "$LINENO"; then :
                   17706:   ac_cv_lib_pcreposix_pcreposix_regexec=yes
                   17707: else
                   17708:   ac_cv_lib_pcreposix_pcreposix_regexec=no
                   17709: fi
                   17710: rm -f core conftest.err conftest.$ac_objext \
                   17711:     conftest$ac_exeext conftest.$ac_ext
                   17712: LIBS=$ac_check_lib_save_LIBS
                   17713: fi
                   17714: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcreposix_pcreposix_regexec" >&5
                   17715: $as_echo "$ac_cv_lib_pcreposix_pcreposix_regexec" >&6; }
                   17716: if test "x$ac_cv_lib_pcreposix_pcreposix_regexec" = xyes; then :
                   17717:   cat >>confdefs.h <<_ACEOF
                   17718: #define HAVE_LIBPCREPOSIX 1
                   17719: _ACEOF
                   17720: 
                   17721:   LIBS="-lpcreposix $LIBS"
                   17722: 
                   17723: else
                   17724:   enable_pcreposix=no
                   17725:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** falling back to other regex library ***" >&5
                   17726: $as_echo "$as_me: WARNING: *** falling back to other regex library ***" >&2;}
                   17727: fi
                   17728: 
                   17729: fi
                   17730: 
                   17731: if test "x$enable_pcreposix" != "xyes"; then
                   17732: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system has GNU regex" >&5
                   17733: $as_echo_n "checking whether system has GNU regex... " >&6; }
                   17734: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for regexec in -lc" >&5
                   17735: $as_echo_n "checking for regexec in -lc... " >&6; }
                   17736: if ${ac_cv_lib_c_regexec+:} false; then :
                   17737:   $as_echo_n "(cached) " >&6
                   17738: else
                   17739:   ac_check_lib_save_LIBS=$LIBS
                   17740: LIBS="-lc  $LIBS"
                   17741: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17742: /* end confdefs.h.  */
                   17743: 
                   17744: /* Override any GCC internal prototype to avoid an error.
                   17745:    Use char because int might match the return type of a GCC
                   17746:    builtin and then its argument prototype would still apply.  */
                   17747: #ifdef __cplusplus
                   17748: extern "C"
                   17749: #endif
                   17750: char regexec ();
                   17751: int
                   17752: main ()
                   17753: {
                   17754: return regexec ();
                   17755:   ;
                   17756:   return 0;
                   17757: }
                   17758: _ACEOF
                   17759: if ac_fn_c_try_link "$LINENO"; then :
                   17760:   ac_cv_lib_c_regexec=yes
                   17761: else
                   17762:   ac_cv_lib_c_regexec=no
                   17763: fi
                   17764: rm -f core conftest.err conftest.$ac_objext \
                   17765:     conftest$ac_exeext conftest.$ac_ext
                   17766: LIBS=$ac_check_lib_save_LIBS
                   17767: fi
                   17768: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_regexec" >&5
                   17769: $as_echo "$ac_cv_lib_c_regexec" >&6; }
                   17770: if test "x$ac_cv_lib_c_regexec" = xyes; then :
                   17771: 
                   17772: $as_echo "#define HAVE_GNU_REGEX /**/" >>confdefs.h
                   17773: 
                   17774:  LIB_REGEX=""
                   17775: else
                   17776:   LIB_REGEX="regex.o"
                   17777: fi
                   17778: 
                   17779: fi
                   17780: 
                   17781: 
                   17782: 
                   17783: if test "${enable_snmp}" = "yes"; then
                   17784:     if test "$with_crypto" != "no"; then
                   17785:         LIBS="${LIBS} -lcrypto";
                   17786:     fi
                   17787:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asn_parse_int in -lnetsnmp" >&5
                   17788: $as_echo_n "checking for asn_parse_int in -lnetsnmp... " >&6; }
                   17789: if ${ac_cv_lib_netsnmp_asn_parse_int+:} false; then :
                   17790:   $as_echo_n "(cached) " >&6
                   17791: else
                   17792:   ac_check_lib_save_LIBS=$LIBS
                   17793: LIBS="-lnetsnmp  $LIBS"
                   17794: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   17795: /* end confdefs.h.  */
                   17796: 
                   17797: /* Override any GCC internal prototype to avoid an error.
                   17798:    Use char because int might match the return type of a GCC
                   17799:    builtin and then its argument prototype would still apply.  */
                   17800: #ifdef __cplusplus
                   17801: extern "C"
                   17802: #endif
                   17803: char asn_parse_int ();
                   17804: int
                   17805: main ()
                   17806: {
                   17807: return asn_parse_int ();
                   17808:   ;
                   17809:   return 0;
                   17810: }
                   17811: _ACEOF
                   17812: if ac_fn_c_try_link "$LINENO"; then :
                   17813:   ac_cv_lib_netsnmp_asn_parse_int=yes
                   17814: else
                   17815:   ac_cv_lib_netsnmp_asn_parse_int=no
                   17816: fi
                   17817: rm -f core conftest.err conftest.$ac_objext \
                   17818:     conftest$ac_exeext conftest.$ac_ext
                   17819: LIBS=$ac_check_lib_save_LIBS
                   17820: fi
                   17821: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_netsnmp_asn_parse_int" >&5
                   17822: $as_echo "$ac_cv_lib_netsnmp_asn_parse_int" >&6; }
                   17823: if test "x$ac_cv_lib_netsnmp_asn_parse_int" = xyes; then :
                   17824: 
                   17825: $as_echo "#define HAVE_NETSNMP /**/" >>confdefs.h
                   17826: 
                   17827: 
                   17828: $as_echo "#define HAVE_SNMP /**/" >>confdefs.h
                   17829: 
                   17830:         LIBS="${LIBS} -lnetsnmp"
                   17831: else
                   17832:   as_fn_error $? "--enable-snmp given, but cannot find support for SNMP" "$LINENO" 5
                   17833: fi
                   17834: 
                   17835: 
                   17836:     ac_fn_c_check_header_compile "$LINENO" "net-snmp/net-snmp-config.h" "ac_cv_header_net_snmp_net_snmp_config_h" "#ifdef SUNOS_5
                   17837: #define _XPG4_2
                   17838: #define __EXTENSIONS__
                   17839: #endif
                   17840: #include <stdio.h>
                   17841: #if STDC_HEADERS
                   17842: # include <stdlib.h>
                   17843: # include <stddef.h>
                   17844: #else
                   17845: # if HAVE_STDLIB_H
                   17846: #  include <stdlib.h>
                   17847: # endif
                   17848: #endif
                   17849: #if HAVE_SYS_TYPES_H
                   17850: # include <sys/types.h>
                   17851: #endif
                   17852: /* sys/conf.h depends on param.h on FBSD at least */
                   17853: #if HAVE_SYS_PARAM_H
                   17854: # include <sys/param.h>
                   17855: #endif
                   17856: /* Required for MAXSIG */
                   17857: #if HAVE_SIGNAL_H
                   17858: # include <signal.h>
                   17859: #endif
                   17860: #if HAVE_SYS_SOCKET_H
                   17861: # include <sys/socket.h>
                   17862: #endif
                   17863: #if HAVE_NETINET_IN_H
                   17864: # include <netinet/in.h>
                   17865: #endif
                   17866: #ifdef TIME_WITH_SYS_TIME
                   17867: # include <sys/time.h>
                   17868: # include <time.h>
                   17869: #else
                   17870: # ifdef HAVE_SYS_TIME_H
                   17871: #  include <sys/time.h>
                   17872: # else
                   17873: #  include <time.h>
                   17874: # endif
                   17875: #endif /* TIME_WITH_SYS_TIME */
                   17876: 
                   17877: #if HAVE_NET_IF_H
                   17878: # include <net/if.h>
                   17879: #endif
                   17880: 
                   17881: #if HAVE_NET_IF_VAR_H
                   17882: # include <net/if_var.h>
                   17883: #endif
                   17884: 
                   17885: #if HAVE_SYS_UN_H
                   17886: # include <sys/un.h>
                   17887: #endif
                   17888: #if HAVE_NETINET_IN_SYSTM_H
                   17889: # include <netinet/in_systm.h>
                   17890: #endif
                   17891: #if HAVE_NETINET_IN_VAR_H
                   17892: # include <netinet/in_var.h>
                   17893: #endif
                   17894: #if HAVE_NET_IF_DL_H
                   17895: # include <net/if_dl.h>
                   17896: #endif
                   17897: #if HAVE_NET_NETOPT_H
                   17898: # include <net/netopt.h>
                   17899: #endif
                   17900: #if HAVE_NET_ROUTE_H
                   17901: # include <net/route.h>
                   17902: #endif
                   17903: #if HAVE_INET_ND_H
                   17904: # include <inet/nd.h>
                   17905: #endif
                   17906: #if HAVE_ARPA_INET_H
                   17907: # include <arpa/inet.h>
                   17908: #endif
                   17909: /* Required for IDRP */
                   17910: #if HAVE_NETINET_IP_ICMP_H
                   17911: # include <netinet/ip_icmp.h>
                   17912: #endif
                   17913: 
                   17914: #if HAVE_NETINET6_IN6_H
                   17915: #include <netinet6/in6.h>
                   17916: #endif
                   17917: #if HAVE_NETINET_IN6_VAR_H
                   17918: #include <netinet/in6_var.h>
                   17919: #endif
                   17920: #if HAVE_NETINET_ICMP6_H
                   17921: # include <netinet/icmp6.h>
                   17922: #endif
                   17923: #if HAVE_NETINET6_IN6_VAR_H
                   17924: # include <netinet6/in6_var.h>
                   17925: #endif
                   17926: #if HAVE_NETINET6_ND6_H
                   17927: # include <netinet6/nd6.h>
                   17928: #endif
                   17929: 
                   17930: "
                   17931: if test "x$ac_cv_header_net_snmp_net_snmp_config_h" = xyes; then :
                   17932: 
                   17933: else
                   17934:   as_fn_error $? "--enable-snmp given, but cannot find net-snmp-config.h" "$LINENO" 5
                   17935: fi
                   17936: 
                   17937: 
                   17938: 
                   17939: fi
                   17940: 
                   17941: ac_fn_c_check_type "$LINENO" "struct sockaddr" "ac_cv_type_struct_sockaddr" "#ifdef SUNOS_5
                   17942: #define _XPG4_2
                   17943: #define __EXTENSIONS__
                   17944: #endif
                   17945: #include <stdio.h>
                   17946: #if STDC_HEADERS
                   17947: # include <stdlib.h>
                   17948: # include <stddef.h>
                   17949: #else
                   17950: # if HAVE_STDLIB_H
                   17951: #  include <stdlib.h>
                   17952: # endif
                   17953: #endif
                   17954: #if HAVE_SYS_TYPES_H
                   17955: # include <sys/types.h>
                   17956: #endif
                   17957: /* sys/conf.h depends on param.h on FBSD at least */
                   17958: #if HAVE_SYS_PARAM_H
                   17959: # include <sys/param.h>
                   17960: #endif
                   17961: /* Required for MAXSIG */
                   17962: #if HAVE_SIGNAL_H
                   17963: # include <signal.h>
                   17964: #endif
                   17965: #if HAVE_SYS_SOCKET_H
                   17966: # include <sys/socket.h>
                   17967: #endif
                   17968: #if HAVE_NETINET_IN_H
                   17969: # include <netinet/in.h>
                   17970: #endif
                   17971: #ifdef TIME_WITH_SYS_TIME
                   17972: # include <sys/time.h>
                   17973: # include <time.h>
                   17974: #else
                   17975: # ifdef HAVE_SYS_TIME_H
                   17976: #  include <sys/time.h>
                   17977: # else
                   17978: #  include <time.h>
                   17979: # endif
                   17980: #endif /* TIME_WITH_SYS_TIME */
                   17981: 
                   17982: #if HAVE_NET_IF_H
                   17983: # include <net/if.h>
                   17984: #endif
                   17985: 
                   17986: #if HAVE_NET_IF_VAR_H
                   17987: # include <net/if_var.h>
                   17988: #endif
                   17989: 
                   17990: #if HAVE_SYS_UN_H
                   17991: # include <sys/un.h>
                   17992: #endif
                   17993: #if HAVE_NETINET_IN_SYSTM_H
                   17994: # include <netinet/in_systm.h>
                   17995: #endif
                   17996: #if HAVE_NETINET_IN_VAR_H
                   17997: # include <netinet/in_var.h>
                   17998: #endif
                   17999: #if HAVE_NET_IF_DL_H
                   18000: # include <net/if_dl.h>
                   18001: #endif
                   18002: #if HAVE_NET_NETOPT_H
                   18003: # include <net/netopt.h>
                   18004: #endif
                   18005: #if HAVE_NET_ROUTE_H
                   18006: # include <net/route.h>
                   18007: #endif
                   18008: #if HAVE_INET_ND_H
                   18009: # include <inet/nd.h>
                   18010: #endif
                   18011: #if HAVE_ARPA_INET_H
                   18012: # include <arpa/inet.h>
                   18013: #endif
                   18014: /* Required for IDRP */
                   18015: #if HAVE_NETINET_IP_ICMP_H
                   18016: # include <netinet/ip_icmp.h>
                   18017: #endif
                   18018: 
                   18019: #if HAVE_NETINET6_IN6_H
                   18020: #include <netinet6/in6.h>
                   18021: #endif
                   18022: #if HAVE_NETINET_IN6_VAR_H
                   18023: #include <netinet/in6_var.h>
                   18024: #endif
                   18025: #if HAVE_NETINET_ICMP6_H
                   18026: # include <netinet/icmp6.h>
                   18027: #endif
                   18028: #if HAVE_NETINET6_IN6_VAR_H
                   18029: # include <netinet6/in6_var.h>
                   18030: #endif
                   18031: #if HAVE_NETINET6_ND6_H
                   18032: # include <netinet6/nd6.h>
                   18033: #endif
                   18034: 
                   18035: "
                   18036: if test "x$ac_cv_type_struct_sockaddr" = xyes; then :
                   18037: 
                   18038: cat >>confdefs.h <<_ACEOF
                   18039: #define HAVE_STRUCT_SOCKADDR 1
                   18040: _ACEOF
                   18041: 
                   18042: 
                   18043: fi
                   18044: ac_fn_c_check_type "$LINENO" "struct sockaddr_in" "ac_cv_type_struct_sockaddr_in" "#ifdef SUNOS_5
                   18045: #define _XPG4_2
                   18046: #define __EXTENSIONS__
                   18047: #endif
                   18048: #include <stdio.h>
                   18049: #if STDC_HEADERS
                   18050: # include <stdlib.h>
                   18051: # include <stddef.h>
                   18052: #else
                   18053: # if HAVE_STDLIB_H
                   18054: #  include <stdlib.h>
                   18055: # endif
                   18056: #endif
                   18057: #if HAVE_SYS_TYPES_H
                   18058: # include <sys/types.h>
                   18059: #endif
                   18060: /* sys/conf.h depends on param.h on FBSD at least */
                   18061: #if HAVE_SYS_PARAM_H
                   18062: # include <sys/param.h>
                   18063: #endif
                   18064: /* Required for MAXSIG */
                   18065: #if HAVE_SIGNAL_H
                   18066: # include <signal.h>
                   18067: #endif
                   18068: #if HAVE_SYS_SOCKET_H
                   18069: # include <sys/socket.h>
                   18070: #endif
                   18071: #if HAVE_NETINET_IN_H
                   18072: # include <netinet/in.h>
                   18073: #endif
                   18074: #ifdef TIME_WITH_SYS_TIME
                   18075: # include <sys/time.h>
                   18076: # include <time.h>
                   18077: #else
                   18078: # ifdef HAVE_SYS_TIME_H
                   18079: #  include <sys/time.h>
                   18080: # else
                   18081: #  include <time.h>
                   18082: # endif
                   18083: #endif /* TIME_WITH_SYS_TIME */
                   18084: 
                   18085: #if HAVE_NET_IF_H
                   18086: # include <net/if.h>
                   18087: #endif
                   18088: 
                   18089: #if HAVE_NET_IF_VAR_H
                   18090: # include <net/if_var.h>
                   18091: #endif
                   18092: 
                   18093: #if HAVE_SYS_UN_H
                   18094: # include <sys/un.h>
                   18095: #endif
                   18096: #if HAVE_NETINET_IN_SYSTM_H
                   18097: # include <netinet/in_systm.h>
                   18098: #endif
                   18099: #if HAVE_NETINET_IN_VAR_H
                   18100: # include <netinet/in_var.h>
                   18101: #endif
                   18102: #if HAVE_NET_IF_DL_H
                   18103: # include <net/if_dl.h>
                   18104: #endif
                   18105: #if HAVE_NET_NETOPT_H
                   18106: # include <net/netopt.h>
                   18107: #endif
                   18108: #if HAVE_NET_ROUTE_H
                   18109: # include <net/route.h>
                   18110: #endif
                   18111: #if HAVE_INET_ND_H
                   18112: # include <inet/nd.h>
                   18113: #endif
                   18114: #if HAVE_ARPA_INET_H
                   18115: # include <arpa/inet.h>
                   18116: #endif
                   18117: /* Required for IDRP */
                   18118: #if HAVE_NETINET_IP_ICMP_H
                   18119: # include <netinet/ip_icmp.h>
                   18120: #endif
                   18121: 
                   18122: #if HAVE_NETINET6_IN6_H
                   18123: #include <netinet6/in6.h>
                   18124: #endif
                   18125: #if HAVE_NETINET_IN6_VAR_H
                   18126: #include <netinet/in6_var.h>
                   18127: #endif
                   18128: #if HAVE_NETINET_ICMP6_H
                   18129: # include <netinet/icmp6.h>
                   18130: #endif
                   18131: #if HAVE_NETINET6_IN6_VAR_H
                   18132: # include <netinet6/in6_var.h>
                   18133: #endif
                   18134: #if HAVE_NETINET6_ND6_H
                   18135: # include <netinet6/nd6.h>
                   18136: #endif
                   18137: 
                   18138: "
                   18139: if test "x$ac_cv_type_struct_sockaddr_in" = xyes; then :
                   18140: 
                   18141: cat >>confdefs.h <<_ACEOF
                   18142: #define HAVE_STRUCT_SOCKADDR_IN 1
                   18143: _ACEOF
                   18144: 
                   18145: 
                   18146: fi
                   18147: ac_fn_c_check_type "$LINENO" "struct sockaddr_in6" "ac_cv_type_struct_sockaddr_in6" "#ifdef SUNOS_5
                   18148: #define _XPG4_2
                   18149: #define __EXTENSIONS__
                   18150: #endif
                   18151: #include <stdio.h>
                   18152: #if STDC_HEADERS
                   18153: # include <stdlib.h>
                   18154: # include <stddef.h>
                   18155: #else
                   18156: # if HAVE_STDLIB_H
                   18157: #  include <stdlib.h>
                   18158: # endif
                   18159: #endif
                   18160: #if HAVE_SYS_TYPES_H
                   18161: # include <sys/types.h>
                   18162: #endif
                   18163: /* sys/conf.h depends on param.h on FBSD at least */
                   18164: #if HAVE_SYS_PARAM_H
                   18165: # include <sys/param.h>
                   18166: #endif
                   18167: /* Required for MAXSIG */
                   18168: #if HAVE_SIGNAL_H
                   18169: # include <signal.h>
                   18170: #endif
                   18171: #if HAVE_SYS_SOCKET_H
                   18172: # include <sys/socket.h>
                   18173: #endif
                   18174: #if HAVE_NETINET_IN_H
                   18175: # include <netinet/in.h>
                   18176: #endif
                   18177: #ifdef TIME_WITH_SYS_TIME
                   18178: # include <sys/time.h>
                   18179: # include <time.h>
                   18180: #else
                   18181: # ifdef HAVE_SYS_TIME_H
                   18182: #  include <sys/time.h>
                   18183: # else
                   18184: #  include <time.h>
                   18185: # endif
                   18186: #endif /* TIME_WITH_SYS_TIME */
                   18187: 
                   18188: #if HAVE_NET_IF_H
                   18189: # include <net/if.h>
                   18190: #endif
                   18191: 
                   18192: #if HAVE_NET_IF_VAR_H
                   18193: # include <net/if_var.h>
                   18194: #endif
                   18195: 
                   18196: #if HAVE_SYS_UN_H
                   18197: # include <sys/un.h>
                   18198: #endif
                   18199: #if HAVE_NETINET_IN_SYSTM_H
                   18200: # include <netinet/in_systm.h>
                   18201: #endif
                   18202: #if HAVE_NETINET_IN_VAR_H
                   18203: # include <netinet/in_var.h>
                   18204: #endif
                   18205: #if HAVE_NET_IF_DL_H
                   18206: # include <net/if_dl.h>
                   18207: #endif
                   18208: #if HAVE_NET_NETOPT_H
                   18209: # include <net/netopt.h>
                   18210: #endif
                   18211: #if HAVE_NET_ROUTE_H
                   18212: # include <net/route.h>
                   18213: #endif
                   18214: #if HAVE_INET_ND_H
                   18215: # include <inet/nd.h>
                   18216: #endif
                   18217: #if HAVE_ARPA_INET_H
                   18218: # include <arpa/inet.h>
                   18219: #endif
                   18220: /* Required for IDRP */
                   18221: #if HAVE_NETINET_IP_ICMP_H
                   18222: # include <netinet/ip_icmp.h>
                   18223: #endif
                   18224: 
                   18225: #if HAVE_NETINET6_IN6_H
                   18226: #include <netinet6/in6.h>
                   18227: #endif
                   18228: #if HAVE_NETINET_IN6_VAR_H
                   18229: #include <netinet/in6_var.h>
                   18230: #endif
                   18231: #if HAVE_NETINET_ICMP6_H
                   18232: # include <netinet/icmp6.h>
                   18233: #endif
                   18234: #if HAVE_NETINET6_IN6_VAR_H
                   18235: # include <netinet6/in6_var.h>
                   18236: #endif
                   18237: #if HAVE_NETINET6_ND6_H
                   18238: # include <netinet6/nd6.h>
                   18239: #endif
                   18240: 
                   18241: "
                   18242: if test "x$ac_cv_type_struct_sockaddr_in6" = xyes; then :
                   18243: 
                   18244: cat >>confdefs.h <<_ACEOF
                   18245: #define HAVE_STRUCT_SOCKADDR_IN6 1
                   18246: _ACEOF
                   18247: 
                   18248: 
                   18249: fi
                   18250: ac_fn_c_check_type "$LINENO" "struct sockaddr_un" "ac_cv_type_struct_sockaddr_un" "#ifdef SUNOS_5
                   18251: #define _XPG4_2
                   18252: #define __EXTENSIONS__
                   18253: #endif
                   18254: #include <stdio.h>
                   18255: #if STDC_HEADERS
                   18256: # include <stdlib.h>
                   18257: # include <stddef.h>
                   18258: #else
                   18259: # if HAVE_STDLIB_H
                   18260: #  include <stdlib.h>
                   18261: # endif
                   18262: #endif
                   18263: #if HAVE_SYS_TYPES_H
                   18264: # include <sys/types.h>
                   18265: #endif
                   18266: /* sys/conf.h depends on param.h on FBSD at least */
                   18267: #if HAVE_SYS_PARAM_H
                   18268: # include <sys/param.h>
                   18269: #endif
                   18270: /* Required for MAXSIG */
                   18271: #if HAVE_SIGNAL_H
                   18272: # include <signal.h>
                   18273: #endif
                   18274: #if HAVE_SYS_SOCKET_H
                   18275: # include <sys/socket.h>
                   18276: #endif
                   18277: #if HAVE_NETINET_IN_H
                   18278: # include <netinet/in.h>
                   18279: #endif
                   18280: #ifdef TIME_WITH_SYS_TIME
                   18281: # include <sys/time.h>
                   18282: # include <time.h>
                   18283: #else
                   18284: # ifdef HAVE_SYS_TIME_H
                   18285: #  include <sys/time.h>
                   18286: # else
                   18287: #  include <time.h>
                   18288: # endif
                   18289: #endif /* TIME_WITH_SYS_TIME */
                   18290: 
                   18291: #if HAVE_NET_IF_H
                   18292: # include <net/if.h>
                   18293: #endif
                   18294: 
                   18295: #if HAVE_NET_IF_VAR_H
                   18296: # include <net/if_var.h>
                   18297: #endif
                   18298: 
                   18299: #if HAVE_SYS_UN_H
                   18300: # include <sys/un.h>
                   18301: #endif
                   18302: #if HAVE_NETINET_IN_SYSTM_H
                   18303: # include <netinet/in_systm.h>
                   18304: #endif
                   18305: #if HAVE_NETINET_IN_VAR_H
                   18306: # include <netinet/in_var.h>
                   18307: #endif
                   18308: #if HAVE_NET_IF_DL_H
                   18309: # include <net/if_dl.h>
                   18310: #endif
                   18311: #if HAVE_NET_NETOPT_H
                   18312: # include <net/netopt.h>
                   18313: #endif
                   18314: #if HAVE_NET_ROUTE_H
                   18315: # include <net/route.h>
                   18316: #endif
                   18317: #if HAVE_INET_ND_H
                   18318: # include <inet/nd.h>
                   18319: #endif
                   18320: #if HAVE_ARPA_INET_H
                   18321: # include <arpa/inet.h>
                   18322: #endif
                   18323: /* Required for IDRP */
                   18324: #if HAVE_NETINET_IP_ICMP_H
                   18325: # include <netinet/ip_icmp.h>
                   18326: #endif
                   18327: 
                   18328: #if HAVE_NETINET6_IN6_H
                   18329: #include <netinet6/in6.h>
                   18330: #endif
                   18331: #if HAVE_NETINET_IN6_VAR_H
                   18332: #include <netinet/in6_var.h>
                   18333: #endif
                   18334: #if HAVE_NETINET_ICMP6_H
                   18335: # include <netinet/icmp6.h>
                   18336: #endif
                   18337: #if HAVE_NETINET6_IN6_VAR_H
                   18338: # include <netinet6/in6_var.h>
                   18339: #endif
                   18340: #if HAVE_NETINET6_ND6_H
                   18341: # include <netinet6/nd6.h>
                   18342: #endif
                   18343: 
                   18344: "
                   18345: if test "x$ac_cv_type_struct_sockaddr_un" = xyes; then :
                   18346: 
                   18347: cat >>confdefs.h <<_ACEOF
                   18348: #define HAVE_STRUCT_SOCKADDR_UN 1
                   18349: _ACEOF
                   18350: 
                   18351: 
                   18352: fi
                   18353: ac_fn_c_check_type "$LINENO" "struct sockaddr_dl" "ac_cv_type_struct_sockaddr_dl" "#ifdef SUNOS_5
                   18354: #define _XPG4_2
                   18355: #define __EXTENSIONS__
                   18356: #endif
                   18357: #include <stdio.h>
                   18358: #if STDC_HEADERS
                   18359: # include <stdlib.h>
                   18360: # include <stddef.h>
                   18361: #else
                   18362: # if HAVE_STDLIB_H
                   18363: #  include <stdlib.h>
                   18364: # endif
                   18365: #endif
                   18366: #if HAVE_SYS_TYPES_H
                   18367: # include <sys/types.h>
                   18368: #endif
                   18369: /* sys/conf.h depends on param.h on FBSD at least */
                   18370: #if HAVE_SYS_PARAM_H
                   18371: # include <sys/param.h>
                   18372: #endif
                   18373: /* Required for MAXSIG */
                   18374: #if HAVE_SIGNAL_H
                   18375: # include <signal.h>
                   18376: #endif
                   18377: #if HAVE_SYS_SOCKET_H
                   18378: # include <sys/socket.h>
                   18379: #endif
                   18380: #if HAVE_NETINET_IN_H
                   18381: # include <netinet/in.h>
                   18382: #endif
                   18383: #ifdef TIME_WITH_SYS_TIME
                   18384: # include <sys/time.h>
                   18385: # include <time.h>
                   18386: #else
                   18387: # ifdef HAVE_SYS_TIME_H
                   18388: #  include <sys/time.h>
                   18389: # else
                   18390: #  include <time.h>
                   18391: # endif
                   18392: #endif /* TIME_WITH_SYS_TIME */
                   18393: 
                   18394: #if HAVE_NET_IF_H
                   18395: # include <net/if.h>
                   18396: #endif
                   18397: 
                   18398: #if HAVE_NET_IF_VAR_H
                   18399: # include <net/if_var.h>
                   18400: #endif
                   18401: 
                   18402: #if HAVE_SYS_UN_H
                   18403: # include <sys/un.h>
                   18404: #endif
                   18405: #if HAVE_NETINET_IN_SYSTM_H
                   18406: # include <netinet/in_systm.h>
                   18407: #endif
                   18408: #if HAVE_NETINET_IN_VAR_H
                   18409: # include <netinet/in_var.h>
                   18410: #endif
                   18411: #if HAVE_NET_IF_DL_H
                   18412: # include <net/if_dl.h>
                   18413: #endif
                   18414: #if HAVE_NET_NETOPT_H
                   18415: # include <net/netopt.h>
                   18416: #endif
                   18417: #if HAVE_NET_ROUTE_H
                   18418: # include <net/route.h>
                   18419: #endif
                   18420: #if HAVE_INET_ND_H
                   18421: # include <inet/nd.h>
                   18422: #endif
                   18423: #if HAVE_ARPA_INET_H
                   18424: # include <arpa/inet.h>
                   18425: #endif
                   18426: /* Required for IDRP */
                   18427: #if HAVE_NETINET_IP_ICMP_H
                   18428: # include <netinet/ip_icmp.h>
                   18429: #endif
                   18430: 
                   18431: #if HAVE_NETINET6_IN6_H
                   18432: #include <netinet6/in6.h>
                   18433: #endif
                   18434: #if HAVE_NETINET_IN6_VAR_H
                   18435: #include <netinet/in6_var.h>
                   18436: #endif
                   18437: #if HAVE_NETINET_ICMP6_H
                   18438: # include <netinet/icmp6.h>
                   18439: #endif
                   18440: #if HAVE_NETINET6_IN6_VAR_H
                   18441: # include <netinet6/in6_var.h>
                   18442: #endif
                   18443: #if HAVE_NETINET6_ND6_H
                   18444: # include <netinet6/nd6.h>
                   18445: #endif
                   18446: 
                   18447: "
                   18448: if test "x$ac_cv_type_struct_sockaddr_dl" = xyes; then :
                   18449: 
                   18450: cat >>confdefs.h <<_ACEOF
                   18451: #define HAVE_STRUCT_SOCKADDR_DL 1
                   18452: _ACEOF
                   18453: 
                   18454: 
                   18455: fi
                   18456: ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#ifdef SUNOS_5
                   18457: #define _XPG4_2
                   18458: #define __EXTENSIONS__
                   18459: #endif
                   18460: #include <stdio.h>
                   18461: #if STDC_HEADERS
                   18462: # include <stdlib.h>
                   18463: # include <stddef.h>
                   18464: #else
                   18465: # if HAVE_STDLIB_H
                   18466: #  include <stdlib.h>
                   18467: # endif
                   18468: #endif
                   18469: #if HAVE_SYS_TYPES_H
                   18470: # include <sys/types.h>
                   18471: #endif
                   18472: /* sys/conf.h depends on param.h on FBSD at least */
                   18473: #if HAVE_SYS_PARAM_H
                   18474: # include <sys/param.h>
                   18475: #endif
                   18476: /* Required for MAXSIG */
                   18477: #if HAVE_SIGNAL_H
                   18478: # include <signal.h>
                   18479: #endif
                   18480: #if HAVE_SYS_SOCKET_H
                   18481: # include <sys/socket.h>
                   18482: #endif
                   18483: #if HAVE_NETINET_IN_H
                   18484: # include <netinet/in.h>
                   18485: #endif
                   18486: #ifdef TIME_WITH_SYS_TIME
                   18487: # include <sys/time.h>
                   18488: # include <time.h>
                   18489: #else
                   18490: # ifdef HAVE_SYS_TIME_H
                   18491: #  include <sys/time.h>
                   18492: # else
                   18493: #  include <time.h>
                   18494: # endif
                   18495: #endif /* TIME_WITH_SYS_TIME */
                   18496: 
                   18497: #if HAVE_NET_IF_H
                   18498: # include <net/if.h>
                   18499: #endif
                   18500: 
                   18501: #if HAVE_NET_IF_VAR_H
                   18502: # include <net/if_var.h>
                   18503: #endif
                   18504: 
                   18505: #if HAVE_SYS_UN_H
                   18506: # include <sys/un.h>
                   18507: #endif
                   18508: #if HAVE_NETINET_IN_SYSTM_H
                   18509: # include <netinet/in_systm.h>
                   18510: #endif
                   18511: #if HAVE_NETINET_IN_VAR_H
                   18512: # include <netinet/in_var.h>
                   18513: #endif
                   18514: #if HAVE_NET_IF_DL_H
                   18515: # include <net/if_dl.h>
                   18516: #endif
                   18517: #if HAVE_NET_NETOPT_H
                   18518: # include <net/netopt.h>
                   18519: #endif
                   18520: #if HAVE_NET_ROUTE_H
                   18521: # include <net/route.h>
                   18522: #endif
                   18523: #if HAVE_INET_ND_H
                   18524: # include <inet/nd.h>
                   18525: #endif
                   18526: #if HAVE_ARPA_INET_H
                   18527: # include <arpa/inet.h>
                   18528: #endif
                   18529: /* Required for IDRP */
                   18530: #if HAVE_NETINET_IP_ICMP_H
                   18531: # include <netinet/ip_icmp.h>
                   18532: #endif
                   18533: 
                   18534: #if HAVE_NETINET6_IN6_H
                   18535: #include <netinet6/in6.h>
                   18536: #endif
                   18537: #if HAVE_NETINET_IN6_VAR_H
                   18538: #include <netinet/in6_var.h>
                   18539: #endif
                   18540: #if HAVE_NETINET_ICMP6_H
                   18541: # include <netinet/icmp6.h>
                   18542: #endif
                   18543: #if HAVE_NETINET6_IN6_VAR_H
                   18544: # include <netinet6/in6_var.h>
                   18545: #endif
                   18546: #if HAVE_NETINET6_ND6_H
                   18547: # include <netinet6/nd6.h>
                   18548: #endif
                   18549: 
                   18550: "
                   18551: if test "x$ac_cv_type_socklen_t" = xyes; then :
                   18552: 
                   18553: cat >>confdefs.h <<_ACEOF
                   18554: #define HAVE_SOCKLEN_T 1
                   18555: _ACEOF
                   18556: 
                   18557: 
                   18558: fi
                   18559: ac_fn_c_check_type "$LINENO" "struct ifaliasreq" "ac_cv_type_struct_ifaliasreq" "#ifdef SUNOS_5
                   18560: #define _XPG4_2
                   18561: #define __EXTENSIONS__
                   18562: #endif
                   18563: #include <stdio.h>
                   18564: #if STDC_HEADERS
                   18565: # include <stdlib.h>
                   18566: # include <stddef.h>
                   18567: #else
                   18568: # if HAVE_STDLIB_H
                   18569: #  include <stdlib.h>
                   18570: # endif
                   18571: #endif
                   18572: #if HAVE_SYS_TYPES_H
                   18573: # include <sys/types.h>
                   18574: #endif
                   18575: /* sys/conf.h depends on param.h on FBSD at least */
                   18576: #if HAVE_SYS_PARAM_H
                   18577: # include <sys/param.h>
                   18578: #endif
                   18579: /* Required for MAXSIG */
                   18580: #if HAVE_SIGNAL_H
                   18581: # include <signal.h>
                   18582: #endif
                   18583: #if HAVE_SYS_SOCKET_H
                   18584: # include <sys/socket.h>
                   18585: #endif
                   18586: #if HAVE_NETINET_IN_H
                   18587: # include <netinet/in.h>
                   18588: #endif
                   18589: #ifdef TIME_WITH_SYS_TIME
                   18590: # include <sys/time.h>
                   18591: # include <time.h>
                   18592: #else
                   18593: # ifdef HAVE_SYS_TIME_H
                   18594: #  include <sys/time.h>
                   18595: # else
                   18596: #  include <time.h>
                   18597: # endif
                   18598: #endif /* TIME_WITH_SYS_TIME */
                   18599: 
                   18600: #if HAVE_NET_IF_H
                   18601: # include <net/if.h>
                   18602: #endif
                   18603: 
                   18604: #if HAVE_NET_IF_VAR_H
                   18605: # include <net/if_var.h>
                   18606: #endif
                   18607: 
                   18608: #if HAVE_SYS_UN_H
                   18609: # include <sys/un.h>
                   18610: #endif
                   18611: #if HAVE_NETINET_IN_SYSTM_H
                   18612: # include <netinet/in_systm.h>
                   18613: #endif
                   18614: #if HAVE_NETINET_IN_VAR_H
                   18615: # include <netinet/in_var.h>
                   18616: #endif
                   18617: #if HAVE_NET_IF_DL_H
                   18618: # include <net/if_dl.h>
                   18619: #endif
                   18620: #if HAVE_NET_NETOPT_H
                   18621: # include <net/netopt.h>
                   18622: #endif
                   18623: #if HAVE_NET_ROUTE_H
                   18624: # include <net/route.h>
                   18625: #endif
                   18626: #if HAVE_INET_ND_H
                   18627: # include <inet/nd.h>
                   18628: #endif
                   18629: #if HAVE_ARPA_INET_H
                   18630: # include <arpa/inet.h>
                   18631: #endif
                   18632: /* Required for IDRP */
                   18633: #if HAVE_NETINET_IP_ICMP_H
                   18634: # include <netinet/ip_icmp.h>
                   18635: #endif
                   18636: 
                   18637: #if HAVE_NETINET6_IN6_H
                   18638: #include <netinet6/in6.h>
                   18639: #endif
                   18640: #if HAVE_NETINET_IN6_VAR_H
                   18641: #include <netinet/in6_var.h>
                   18642: #endif
                   18643: #if HAVE_NETINET_ICMP6_H
                   18644: # include <netinet/icmp6.h>
                   18645: #endif
                   18646: #if HAVE_NETINET6_IN6_VAR_H
                   18647: # include <netinet6/in6_var.h>
                   18648: #endif
                   18649: #if HAVE_NETINET6_ND6_H
                   18650: # include <netinet6/nd6.h>
                   18651: #endif
                   18652: 
                   18653: "
                   18654: if test "x$ac_cv_type_struct_ifaliasreq" = xyes; then :
                   18655: 
                   18656: cat >>confdefs.h <<_ACEOF
                   18657: #define HAVE_STRUCT_IFALIASREQ 1
                   18658: _ACEOF
                   18659: 
                   18660: 
                   18661: fi
                   18662: ac_fn_c_check_type "$LINENO" "struct if6_aliasreq" "ac_cv_type_struct_if6_aliasreq" "#ifdef SUNOS_5
                   18663: #define _XPG4_2
                   18664: #define __EXTENSIONS__
                   18665: #endif
                   18666: #include <stdio.h>
                   18667: #if STDC_HEADERS
                   18668: # include <stdlib.h>
                   18669: # include <stddef.h>
                   18670: #else
                   18671: # if HAVE_STDLIB_H
                   18672: #  include <stdlib.h>
                   18673: # endif
                   18674: #endif
                   18675: #if HAVE_SYS_TYPES_H
                   18676: # include <sys/types.h>
                   18677: #endif
                   18678: /* sys/conf.h depends on param.h on FBSD at least */
                   18679: #if HAVE_SYS_PARAM_H
                   18680: # include <sys/param.h>
                   18681: #endif
                   18682: /* Required for MAXSIG */
                   18683: #if HAVE_SIGNAL_H
                   18684: # include <signal.h>
                   18685: #endif
                   18686: #if HAVE_SYS_SOCKET_H
                   18687: # include <sys/socket.h>
                   18688: #endif
                   18689: #if HAVE_NETINET_IN_H
                   18690: # include <netinet/in.h>
                   18691: #endif
                   18692: #ifdef TIME_WITH_SYS_TIME
                   18693: # include <sys/time.h>
                   18694: # include <time.h>
                   18695: #else
                   18696: # ifdef HAVE_SYS_TIME_H
                   18697: #  include <sys/time.h>
                   18698: # else
                   18699: #  include <time.h>
                   18700: # endif
                   18701: #endif /* TIME_WITH_SYS_TIME */
                   18702: 
                   18703: #if HAVE_NET_IF_H
                   18704: # include <net/if.h>
                   18705: #endif
                   18706: 
                   18707: #if HAVE_NET_IF_VAR_H
                   18708: # include <net/if_var.h>
                   18709: #endif
                   18710: 
                   18711: #if HAVE_SYS_UN_H
                   18712: # include <sys/un.h>
                   18713: #endif
                   18714: #if HAVE_NETINET_IN_SYSTM_H
                   18715: # include <netinet/in_systm.h>
                   18716: #endif
                   18717: #if HAVE_NETINET_IN_VAR_H
                   18718: # include <netinet/in_var.h>
                   18719: #endif
                   18720: #if HAVE_NET_IF_DL_H
                   18721: # include <net/if_dl.h>
                   18722: #endif
                   18723: #if HAVE_NET_NETOPT_H
                   18724: # include <net/netopt.h>
                   18725: #endif
                   18726: #if HAVE_NET_ROUTE_H
                   18727: # include <net/route.h>
                   18728: #endif
                   18729: #if HAVE_INET_ND_H
                   18730: # include <inet/nd.h>
                   18731: #endif
                   18732: #if HAVE_ARPA_INET_H
                   18733: # include <arpa/inet.h>
                   18734: #endif
                   18735: /* Required for IDRP */
                   18736: #if HAVE_NETINET_IP_ICMP_H
                   18737: # include <netinet/ip_icmp.h>
                   18738: #endif
                   18739: 
                   18740: #if HAVE_NETINET6_IN6_H
                   18741: #include <netinet6/in6.h>
                   18742: #endif
                   18743: #if HAVE_NETINET_IN6_VAR_H
                   18744: #include <netinet/in6_var.h>
                   18745: #endif
                   18746: #if HAVE_NETINET_ICMP6_H
                   18747: # include <netinet/icmp6.h>
                   18748: #endif
                   18749: #if HAVE_NETINET6_IN6_VAR_H
                   18750: # include <netinet6/in6_var.h>
                   18751: #endif
                   18752: #if HAVE_NETINET6_ND6_H
                   18753: # include <netinet6/nd6.h>
                   18754: #endif
                   18755: 
                   18756: "
                   18757: if test "x$ac_cv_type_struct_if6_aliasreq" = xyes; then :
                   18758: 
                   18759: cat >>confdefs.h <<_ACEOF
                   18760: #define HAVE_STRUCT_IF6_ALIASREQ 1
                   18761: _ACEOF
                   18762: 
                   18763: 
                   18764: fi
                   18765: ac_fn_c_check_type "$LINENO" "struct in6_aliasreq" "ac_cv_type_struct_in6_aliasreq" "#ifdef SUNOS_5
                   18766: #define _XPG4_2
                   18767: #define __EXTENSIONS__
                   18768: #endif
                   18769: #include <stdio.h>
                   18770: #if STDC_HEADERS
                   18771: # include <stdlib.h>
                   18772: # include <stddef.h>
                   18773: #else
                   18774: # if HAVE_STDLIB_H
                   18775: #  include <stdlib.h>
                   18776: # endif
                   18777: #endif
                   18778: #if HAVE_SYS_TYPES_H
                   18779: # include <sys/types.h>
                   18780: #endif
                   18781: /* sys/conf.h depends on param.h on FBSD at least */
                   18782: #if HAVE_SYS_PARAM_H
                   18783: # include <sys/param.h>
                   18784: #endif
                   18785: /* Required for MAXSIG */
                   18786: #if HAVE_SIGNAL_H
                   18787: # include <signal.h>
                   18788: #endif
                   18789: #if HAVE_SYS_SOCKET_H
                   18790: # include <sys/socket.h>
                   18791: #endif
                   18792: #if HAVE_NETINET_IN_H
                   18793: # include <netinet/in.h>
                   18794: #endif
                   18795: #ifdef TIME_WITH_SYS_TIME
                   18796: # include <sys/time.h>
                   18797: # include <time.h>
                   18798: #else
                   18799: # ifdef HAVE_SYS_TIME_H
                   18800: #  include <sys/time.h>
                   18801: # else
                   18802: #  include <time.h>
                   18803: # endif
                   18804: #endif /* TIME_WITH_SYS_TIME */
                   18805: 
                   18806: #if HAVE_NET_IF_H
                   18807: # include <net/if.h>
                   18808: #endif
                   18809: 
                   18810: #if HAVE_NET_IF_VAR_H
                   18811: # include <net/if_var.h>
                   18812: #endif
                   18813: 
                   18814: #if HAVE_SYS_UN_H
                   18815: # include <sys/un.h>
                   18816: #endif
                   18817: #if HAVE_NETINET_IN_SYSTM_H
                   18818: # include <netinet/in_systm.h>
                   18819: #endif
                   18820: #if HAVE_NETINET_IN_VAR_H
                   18821: # include <netinet/in_var.h>
                   18822: #endif
                   18823: #if HAVE_NET_IF_DL_H
                   18824: # include <net/if_dl.h>
                   18825: #endif
                   18826: #if HAVE_NET_NETOPT_H
                   18827: # include <net/netopt.h>
                   18828: #endif
                   18829: #if HAVE_NET_ROUTE_H
                   18830: # include <net/route.h>
                   18831: #endif
                   18832: #if HAVE_INET_ND_H
                   18833: # include <inet/nd.h>
                   18834: #endif
                   18835: #if HAVE_ARPA_INET_H
                   18836: # include <arpa/inet.h>
                   18837: #endif
                   18838: /* Required for IDRP */
                   18839: #if HAVE_NETINET_IP_ICMP_H
                   18840: # include <netinet/ip_icmp.h>
                   18841: #endif
                   18842: 
                   18843: #if HAVE_NETINET6_IN6_H
                   18844: #include <netinet6/in6.h>
                   18845: #endif
                   18846: #if HAVE_NETINET_IN6_VAR_H
                   18847: #include <netinet/in6_var.h>
                   18848: #endif
                   18849: #if HAVE_NETINET_ICMP6_H
                   18850: # include <netinet/icmp6.h>
                   18851: #endif
                   18852: #if HAVE_NETINET6_IN6_VAR_H
                   18853: # include <netinet6/in6_var.h>
                   18854: #endif
                   18855: #if HAVE_NETINET6_ND6_H
                   18856: # include <netinet6/nd6.h>
                   18857: #endif
                   18858: 
                   18859: "
                   18860: if test "x$ac_cv_type_struct_in6_aliasreq" = xyes; then :
                   18861: 
                   18862: cat >>confdefs.h <<_ACEOF
                   18863: #define HAVE_STRUCT_IN6_ALIASREQ 1
                   18864: _ACEOF
                   18865: 
                   18866: 
                   18867: fi
                   18868: ac_fn_c_check_type "$LINENO" "struct nd_opt_adv_interval" "ac_cv_type_struct_nd_opt_adv_interval" "#ifdef SUNOS_5
                   18869: #define _XPG4_2
                   18870: #define __EXTENSIONS__
                   18871: #endif
                   18872: #include <stdio.h>
                   18873: #if STDC_HEADERS
                   18874: # include <stdlib.h>
                   18875: # include <stddef.h>
                   18876: #else
                   18877: # if HAVE_STDLIB_H
                   18878: #  include <stdlib.h>
                   18879: # endif
                   18880: #endif
                   18881: #if HAVE_SYS_TYPES_H
                   18882: # include <sys/types.h>
                   18883: #endif
                   18884: /* sys/conf.h depends on param.h on FBSD at least */
                   18885: #if HAVE_SYS_PARAM_H
                   18886: # include <sys/param.h>
                   18887: #endif
                   18888: /* Required for MAXSIG */
                   18889: #if HAVE_SIGNAL_H
                   18890: # include <signal.h>
                   18891: #endif
                   18892: #if HAVE_SYS_SOCKET_H
                   18893: # include <sys/socket.h>
                   18894: #endif
                   18895: #if HAVE_NETINET_IN_H
                   18896: # include <netinet/in.h>
                   18897: #endif
                   18898: #ifdef TIME_WITH_SYS_TIME
                   18899: # include <sys/time.h>
                   18900: # include <time.h>
                   18901: #else
                   18902: # ifdef HAVE_SYS_TIME_H
                   18903: #  include <sys/time.h>
                   18904: # else
                   18905: #  include <time.h>
                   18906: # endif
                   18907: #endif /* TIME_WITH_SYS_TIME */
                   18908: 
                   18909: #if HAVE_NET_IF_H
                   18910: # include <net/if.h>
                   18911: #endif
                   18912: 
                   18913: #if HAVE_NET_IF_VAR_H
                   18914: # include <net/if_var.h>
                   18915: #endif
                   18916: 
                   18917: #if HAVE_SYS_UN_H
                   18918: # include <sys/un.h>
                   18919: #endif
                   18920: #if HAVE_NETINET_IN_SYSTM_H
                   18921: # include <netinet/in_systm.h>
                   18922: #endif
                   18923: #if HAVE_NETINET_IN_VAR_H
                   18924: # include <netinet/in_var.h>
                   18925: #endif
                   18926: #if HAVE_NET_IF_DL_H
                   18927: # include <net/if_dl.h>
                   18928: #endif
                   18929: #if HAVE_NET_NETOPT_H
                   18930: # include <net/netopt.h>
                   18931: #endif
                   18932: #if HAVE_NET_ROUTE_H
                   18933: # include <net/route.h>
                   18934: #endif
                   18935: #if HAVE_INET_ND_H
                   18936: # include <inet/nd.h>
                   18937: #endif
                   18938: #if HAVE_ARPA_INET_H
                   18939: # include <arpa/inet.h>
                   18940: #endif
                   18941: /* Required for IDRP */
                   18942: #if HAVE_NETINET_IP_ICMP_H
                   18943: # include <netinet/ip_icmp.h>
                   18944: #endif
                   18945: 
                   18946: #if HAVE_NETINET6_IN6_H
                   18947: #include <netinet6/in6.h>
                   18948: #endif
                   18949: #if HAVE_NETINET_IN6_VAR_H
                   18950: #include <netinet/in6_var.h>
                   18951: #endif
                   18952: #if HAVE_NETINET_ICMP6_H
                   18953: # include <netinet/icmp6.h>
                   18954: #endif
                   18955: #if HAVE_NETINET6_IN6_VAR_H
                   18956: # include <netinet6/in6_var.h>
                   18957: #endif
                   18958: #if HAVE_NETINET6_ND6_H
                   18959: # include <netinet6/nd6.h>
                   18960: #endif
                   18961: 
                   18962: "
                   18963: if test "x$ac_cv_type_struct_nd_opt_adv_interval" = xyes; then :
                   18964: 
                   18965: cat >>confdefs.h <<_ACEOF
                   18966: #define HAVE_STRUCT_ND_OPT_ADV_INTERVAL 1
                   18967: _ACEOF
                   18968: 
                   18969: 
                   18970: fi
                   18971: ac_fn_c_check_type "$LINENO" "struct rt_addrinfo" "ac_cv_type_struct_rt_addrinfo" "#ifdef SUNOS_5
                   18972: #define _XPG4_2
                   18973: #define __EXTENSIONS__
                   18974: #endif
                   18975: #include <stdio.h>
                   18976: #if STDC_HEADERS
                   18977: # include <stdlib.h>
                   18978: # include <stddef.h>
                   18979: #else
                   18980: # if HAVE_STDLIB_H
                   18981: #  include <stdlib.h>
                   18982: # endif
                   18983: #endif
                   18984: #if HAVE_SYS_TYPES_H
                   18985: # include <sys/types.h>
                   18986: #endif
                   18987: /* sys/conf.h depends on param.h on FBSD at least */
                   18988: #if HAVE_SYS_PARAM_H
                   18989: # include <sys/param.h>
                   18990: #endif
                   18991: /* Required for MAXSIG */
                   18992: #if HAVE_SIGNAL_H
                   18993: # include <signal.h>
                   18994: #endif
                   18995: #if HAVE_SYS_SOCKET_H
                   18996: # include <sys/socket.h>
                   18997: #endif
                   18998: #if HAVE_NETINET_IN_H
                   18999: # include <netinet/in.h>
                   19000: #endif
                   19001: #ifdef TIME_WITH_SYS_TIME
                   19002: # include <sys/time.h>
                   19003: # include <time.h>
                   19004: #else
                   19005: # ifdef HAVE_SYS_TIME_H
                   19006: #  include <sys/time.h>
                   19007: # else
                   19008: #  include <time.h>
                   19009: # endif
                   19010: #endif /* TIME_WITH_SYS_TIME */
                   19011: 
                   19012: #if HAVE_NET_IF_H
                   19013: # include <net/if.h>
                   19014: #endif
                   19015: 
                   19016: #if HAVE_NET_IF_VAR_H
                   19017: # include <net/if_var.h>
                   19018: #endif
                   19019: 
                   19020: #if HAVE_SYS_UN_H
                   19021: # include <sys/un.h>
                   19022: #endif
                   19023: #if HAVE_NETINET_IN_SYSTM_H
                   19024: # include <netinet/in_systm.h>
                   19025: #endif
                   19026: #if HAVE_NETINET_IN_VAR_H
                   19027: # include <netinet/in_var.h>
                   19028: #endif
                   19029: #if HAVE_NET_IF_DL_H
                   19030: # include <net/if_dl.h>
                   19031: #endif
                   19032: #if HAVE_NET_NETOPT_H
                   19033: # include <net/netopt.h>
                   19034: #endif
                   19035: #if HAVE_NET_ROUTE_H
                   19036: # include <net/route.h>
                   19037: #endif
                   19038: #if HAVE_INET_ND_H
                   19039: # include <inet/nd.h>
                   19040: #endif
                   19041: #if HAVE_ARPA_INET_H
                   19042: # include <arpa/inet.h>
                   19043: #endif
                   19044: /* Required for IDRP */
                   19045: #if HAVE_NETINET_IP_ICMP_H
                   19046: # include <netinet/ip_icmp.h>
                   19047: #endif
                   19048: 
                   19049: #if HAVE_NETINET6_IN6_H
                   19050: #include <netinet6/in6.h>
                   19051: #endif
                   19052: #if HAVE_NETINET_IN6_VAR_H
                   19053: #include <netinet/in6_var.h>
                   19054: #endif
                   19055: #if HAVE_NETINET_ICMP6_H
                   19056: # include <netinet/icmp6.h>
                   19057: #endif
                   19058: #if HAVE_NETINET6_IN6_VAR_H
                   19059: # include <netinet6/in6_var.h>
                   19060: #endif
                   19061: #if HAVE_NETINET6_ND6_H
                   19062: # include <netinet6/nd6.h>
                   19063: #endif
                   19064: 
                   19065: "
                   19066: if test "x$ac_cv_type_struct_rt_addrinfo" = xyes; then :
                   19067: 
                   19068: cat >>confdefs.h <<_ACEOF
                   19069: #define HAVE_STRUCT_RT_ADDRINFO 1
                   19070: _ACEOF
                   19071: 
                   19072: 
                   19073: fi
                   19074: ac_fn_c_check_type "$LINENO" "struct nd_opt_homeagent_info" "ac_cv_type_struct_nd_opt_homeagent_info" "#ifdef SUNOS_5
                   19075: #define _XPG4_2
                   19076: #define __EXTENSIONS__
                   19077: #endif
                   19078: #include <stdio.h>
                   19079: #if STDC_HEADERS
                   19080: # include <stdlib.h>
                   19081: # include <stddef.h>
                   19082: #else
                   19083: # if HAVE_STDLIB_H
                   19084: #  include <stdlib.h>
                   19085: # endif
                   19086: #endif
                   19087: #if HAVE_SYS_TYPES_H
                   19088: # include <sys/types.h>
                   19089: #endif
                   19090: /* sys/conf.h depends on param.h on FBSD at least */
                   19091: #if HAVE_SYS_PARAM_H
                   19092: # include <sys/param.h>
                   19093: #endif
                   19094: /* Required for MAXSIG */
                   19095: #if HAVE_SIGNAL_H
                   19096: # include <signal.h>
                   19097: #endif
                   19098: #if HAVE_SYS_SOCKET_H
                   19099: # include <sys/socket.h>
                   19100: #endif
                   19101: #if HAVE_NETINET_IN_H
                   19102: # include <netinet/in.h>
                   19103: #endif
                   19104: #ifdef TIME_WITH_SYS_TIME
                   19105: # include <sys/time.h>
                   19106: # include <time.h>
                   19107: #else
                   19108: # ifdef HAVE_SYS_TIME_H
                   19109: #  include <sys/time.h>
                   19110: # else
                   19111: #  include <time.h>
                   19112: # endif
                   19113: #endif /* TIME_WITH_SYS_TIME */
                   19114: 
                   19115: #if HAVE_NET_IF_H
                   19116: # include <net/if.h>
                   19117: #endif
                   19118: 
                   19119: #if HAVE_NET_IF_VAR_H
                   19120: # include <net/if_var.h>
                   19121: #endif
                   19122: 
                   19123: #if HAVE_SYS_UN_H
                   19124: # include <sys/un.h>
                   19125: #endif
                   19126: #if HAVE_NETINET_IN_SYSTM_H
                   19127: # include <netinet/in_systm.h>
                   19128: #endif
                   19129: #if HAVE_NETINET_IN_VAR_H
                   19130: # include <netinet/in_var.h>
                   19131: #endif
                   19132: #if HAVE_NET_IF_DL_H
                   19133: # include <net/if_dl.h>
                   19134: #endif
                   19135: #if HAVE_NET_NETOPT_H
                   19136: # include <net/netopt.h>
                   19137: #endif
                   19138: #if HAVE_NET_ROUTE_H
                   19139: # include <net/route.h>
                   19140: #endif
                   19141: #if HAVE_INET_ND_H
                   19142: # include <inet/nd.h>
                   19143: #endif
                   19144: #if HAVE_ARPA_INET_H
                   19145: # include <arpa/inet.h>
                   19146: #endif
                   19147: /* Required for IDRP */
                   19148: #if HAVE_NETINET_IP_ICMP_H
                   19149: # include <netinet/ip_icmp.h>
                   19150: #endif
                   19151: 
                   19152: #if HAVE_NETINET6_IN6_H
                   19153: #include <netinet6/in6.h>
                   19154: #endif
                   19155: #if HAVE_NETINET_IN6_VAR_H
                   19156: #include <netinet/in6_var.h>
                   19157: #endif
                   19158: #if HAVE_NETINET_ICMP6_H
                   19159: # include <netinet/icmp6.h>
                   19160: #endif
                   19161: #if HAVE_NETINET6_IN6_VAR_H
                   19162: # include <netinet6/in6_var.h>
                   19163: #endif
                   19164: #if HAVE_NETINET6_ND6_H
                   19165: # include <netinet6/nd6.h>
                   19166: #endif
                   19167: 
                   19168: "
                   19169: if test "x$ac_cv_type_struct_nd_opt_homeagent_info" = xyes; then :
                   19170: 
                   19171: cat >>confdefs.h <<_ACEOF
                   19172: #define HAVE_STRUCT_ND_OPT_HOMEAGENT_INFO 1
                   19173: _ACEOF
                   19174: 
                   19175: 
                   19176: fi
                   19177: ac_fn_c_check_type "$LINENO" "struct nd_opt_adv_interval" "ac_cv_type_struct_nd_opt_adv_interval" "#ifdef SUNOS_5
                   19178: #define _XPG4_2
                   19179: #define __EXTENSIONS__
                   19180: #endif
                   19181: #include <stdio.h>
                   19182: #if STDC_HEADERS
                   19183: # include <stdlib.h>
                   19184: # include <stddef.h>
                   19185: #else
                   19186: # if HAVE_STDLIB_H
                   19187: #  include <stdlib.h>
                   19188: # endif
                   19189: #endif
                   19190: #if HAVE_SYS_TYPES_H
                   19191: # include <sys/types.h>
                   19192: #endif
                   19193: /* sys/conf.h depends on param.h on FBSD at least */
                   19194: #if HAVE_SYS_PARAM_H
                   19195: # include <sys/param.h>
                   19196: #endif
                   19197: /* Required for MAXSIG */
                   19198: #if HAVE_SIGNAL_H
                   19199: # include <signal.h>
                   19200: #endif
                   19201: #if HAVE_SYS_SOCKET_H
                   19202: # include <sys/socket.h>
                   19203: #endif
                   19204: #if HAVE_NETINET_IN_H
                   19205: # include <netinet/in.h>
                   19206: #endif
                   19207: #ifdef TIME_WITH_SYS_TIME
                   19208: # include <sys/time.h>
                   19209: # include <time.h>
                   19210: #else
                   19211: # ifdef HAVE_SYS_TIME_H
                   19212: #  include <sys/time.h>
                   19213: # else
                   19214: #  include <time.h>
                   19215: # endif
                   19216: #endif /* TIME_WITH_SYS_TIME */
                   19217: 
                   19218: #if HAVE_NET_IF_H
                   19219: # include <net/if.h>
                   19220: #endif
                   19221: 
                   19222: #if HAVE_NET_IF_VAR_H
                   19223: # include <net/if_var.h>
                   19224: #endif
                   19225: 
                   19226: #if HAVE_SYS_UN_H
                   19227: # include <sys/un.h>
                   19228: #endif
                   19229: #if HAVE_NETINET_IN_SYSTM_H
                   19230: # include <netinet/in_systm.h>
                   19231: #endif
                   19232: #if HAVE_NETINET_IN_VAR_H
                   19233: # include <netinet/in_var.h>
                   19234: #endif
                   19235: #if HAVE_NET_IF_DL_H
                   19236: # include <net/if_dl.h>
                   19237: #endif
                   19238: #if HAVE_NET_NETOPT_H
                   19239: # include <net/netopt.h>
                   19240: #endif
                   19241: #if HAVE_NET_ROUTE_H
                   19242: # include <net/route.h>
                   19243: #endif
                   19244: #if HAVE_INET_ND_H
                   19245: # include <inet/nd.h>
                   19246: #endif
                   19247: #if HAVE_ARPA_INET_H
                   19248: # include <arpa/inet.h>
                   19249: #endif
                   19250: /* Required for IDRP */
                   19251: #if HAVE_NETINET_IP_ICMP_H
                   19252: # include <netinet/ip_icmp.h>
                   19253: #endif
                   19254: 
                   19255: #if HAVE_NETINET6_IN6_H
                   19256: #include <netinet6/in6.h>
                   19257: #endif
                   19258: #if HAVE_NETINET_IN6_VAR_H
                   19259: #include <netinet/in6_var.h>
                   19260: #endif
                   19261: #if HAVE_NETINET_ICMP6_H
                   19262: # include <netinet/icmp6.h>
                   19263: #endif
                   19264: #if HAVE_NETINET6_IN6_VAR_H
                   19265: # include <netinet6/in6_var.h>
                   19266: #endif
                   19267: #if HAVE_NETINET6_ND6_H
                   19268: # include <netinet6/nd6.h>
                   19269: #endif
                   19270: 
                   19271: "
                   19272: if test "x$ac_cv_type_struct_nd_opt_adv_interval" = xyes; then :
                   19273: 
                   19274: cat >>confdefs.h <<_ACEOF
                   19275: #define HAVE_STRUCT_ND_OPT_ADV_INTERVAL 1
                   19276: _ACEOF
                   19277: 
                   19278: 
                   19279: fi
                   19280: 
                   19281: 
                   19282: ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#ifdef SUNOS_5
                   19283: #define _XPG4_2
                   19284: #define __EXTENSIONS__
                   19285: #endif
                   19286: #include <stdio.h>
                   19287: #if STDC_HEADERS
                   19288: # include <stdlib.h>
                   19289: # include <stddef.h>
                   19290: #else
                   19291: # if HAVE_STDLIB_H
                   19292: #  include <stdlib.h>
                   19293: # endif
                   19294: #endif
                   19295: #if HAVE_SYS_TYPES_H
                   19296: # include <sys/types.h>
                   19297: #endif
                   19298: /* sys/conf.h depends on param.h on FBSD at least */
                   19299: #if HAVE_SYS_PARAM_H
                   19300: # include <sys/param.h>
                   19301: #endif
                   19302: /* Required for MAXSIG */
                   19303: #if HAVE_SIGNAL_H
                   19304: # include <signal.h>
                   19305: #endif
                   19306: #if HAVE_SYS_SOCKET_H
                   19307: # include <sys/socket.h>
                   19308: #endif
                   19309: #if HAVE_NETINET_IN_H
                   19310: # include <netinet/in.h>
                   19311: #endif
                   19312: #ifdef TIME_WITH_SYS_TIME
                   19313: # include <sys/time.h>
                   19314: # include <time.h>
                   19315: #else
                   19316: # ifdef HAVE_SYS_TIME_H
                   19317: #  include <sys/time.h>
                   19318: # else
                   19319: #  include <time.h>
                   19320: # endif
                   19321: #endif /* TIME_WITH_SYS_TIME */
                   19322: 
                   19323: #if HAVE_NET_IF_H
                   19324: # include <net/if.h>
                   19325: #endif
                   19326: 
                   19327: #if HAVE_NET_IF_VAR_H
                   19328: # include <net/if_var.h>
                   19329: #endif
                   19330: 
                   19331: #if HAVE_SYS_UN_H
                   19332: # include <sys/un.h>
                   19333: #endif
                   19334: #if HAVE_NETINET_IN_SYSTM_H
                   19335: # include <netinet/in_systm.h>
                   19336: #endif
                   19337: #if HAVE_NETINET_IN_VAR_H
                   19338: # include <netinet/in_var.h>
                   19339: #endif
                   19340: #if HAVE_NET_IF_DL_H
                   19341: # include <net/if_dl.h>
                   19342: #endif
                   19343: #if HAVE_NET_NETOPT_H
                   19344: # include <net/netopt.h>
                   19345: #endif
                   19346: #if HAVE_NET_ROUTE_H
                   19347: # include <net/route.h>
                   19348: #endif
                   19349: #if HAVE_INET_ND_H
                   19350: # include <inet/nd.h>
                   19351: #endif
                   19352: #if HAVE_ARPA_INET_H
                   19353: # include <arpa/inet.h>
                   19354: #endif
                   19355: /* Required for IDRP */
                   19356: #if HAVE_NETINET_IP_ICMP_H
                   19357: # include <netinet/ip_icmp.h>
                   19358: #endif
                   19359: 
                   19360: #if HAVE_NETINET6_IN6_H
                   19361: #include <netinet6/in6.h>
                   19362: #endif
                   19363: #if HAVE_NETINET_IN6_VAR_H
                   19364: #include <netinet/in6_var.h>
                   19365: #endif
                   19366: #if HAVE_NETINET_ICMP6_H
                   19367: # include <netinet/icmp6.h>
                   19368: #endif
                   19369: #if HAVE_NETINET6_IN6_VAR_H
                   19370: # include <netinet6/in6_var.h>
                   19371: #endif
                   19372: #if HAVE_NETINET6_ND6_H
                   19373: # include <netinet6/nd6.h>
                   19374: #endif
                   19375: 
                   19376: "
                   19377: if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
                   19378: 
                   19379: cat >>confdefs.h <<_ACEOF
                   19380: #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
                   19381: _ACEOF
                   19382: 
                   19383: 
                   19384: fi
                   19385: ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "#ifdef SUNOS_5
                   19386: #define _XPG4_2
                   19387: #define __EXTENSIONS__
                   19388: #endif
                   19389: #include <stdio.h>
                   19390: #if STDC_HEADERS
                   19391: # include <stdlib.h>
                   19392: # include <stddef.h>
                   19393: #else
                   19394: # if HAVE_STDLIB_H
                   19395: #  include <stdlib.h>
                   19396: # endif
                   19397: #endif
                   19398: #if HAVE_SYS_TYPES_H
                   19399: # include <sys/types.h>
                   19400: #endif
                   19401: /* sys/conf.h depends on param.h on FBSD at least */
                   19402: #if HAVE_SYS_PARAM_H
                   19403: # include <sys/param.h>
                   19404: #endif
                   19405: /* Required for MAXSIG */
                   19406: #if HAVE_SIGNAL_H
                   19407: # include <signal.h>
                   19408: #endif
                   19409: #if HAVE_SYS_SOCKET_H
                   19410: # include <sys/socket.h>
                   19411: #endif
                   19412: #if HAVE_NETINET_IN_H
                   19413: # include <netinet/in.h>
                   19414: #endif
                   19415: #ifdef TIME_WITH_SYS_TIME
                   19416: # include <sys/time.h>
                   19417: # include <time.h>
                   19418: #else
                   19419: # ifdef HAVE_SYS_TIME_H
                   19420: #  include <sys/time.h>
                   19421: # else
                   19422: #  include <time.h>
                   19423: # endif
                   19424: #endif /* TIME_WITH_SYS_TIME */
                   19425: 
                   19426: #if HAVE_NET_IF_H
                   19427: # include <net/if.h>
                   19428: #endif
                   19429: 
                   19430: #if HAVE_NET_IF_VAR_H
                   19431: # include <net/if_var.h>
                   19432: #endif
                   19433: 
                   19434: #if HAVE_SYS_UN_H
                   19435: # include <sys/un.h>
                   19436: #endif
                   19437: #if HAVE_NETINET_IN_SYSTM_H
                   19438: # include <netinet/in_systm.h>
                   19439: #endif
                   19440: #if HAVE_NETINET_IN_VAR_H
                   19441: # include <netinet/in_var.h>
                   19442: #endif
                   19443: #if HAVE_NET_IF_DL_H
                   19444: # include <net/if_dl.h>
                   19445: #endif
                   19446: #if HAVE_NET_NETOPT_H
                   19447: # include <net/netopt.h>
                   19448: #endif
                   19449: #if HAVE_NET_ROUTE_H
                   19450: # include <net/route.h>
                   19451: #endif
                   19452: #if HAVE_INET_ND_H
                   19453: # include <inet/nd.h>
                   19454: #endif
                   19455: #if HAVE_ARPA_INET_H
                   19456: # include <arpa/inet.h>
                   19457: #endif
                   19458: /* Required for IDRP */
                   19459: #if HAVE_NETINET_IP_ICMP_H
                   19460: # include <netinet/ip_icmp.h>
                   19461: #endif
                   19462: 
                   19463: #if HAVE_NETINET6_IN6_H
                   19464: #include <netinet6/in6.h>
                   19465: #endif
                   19466: #if HAVE_NETINET_IN6_VAR_H
                   19467: #include <netinet/in6_var.h>
                   19468: #endif
                   19469: #if HAVE_NETINET_ICMP6_H
                   19470: # include <netinet/icmp6.h>
                   19471: #endif
                   19472: #if HAVE_NETINET6_IN6_VAR_H
                   19473: # include <netinet6/in6_var.h>
                   19474: #endif
                   19475: #if HAVE_NETINET6_ND6_H
                   19476: # include <netinet6/nd6.h>
                   19477: #endif
                   19478: 
                   19479: "
                   19480: if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
                   19481: 
                   19482: cat >>confdefs.h <<_ACEOF
                   19483: #define HAVE_STRUCT_SOCKADDR_IN_SIN_LEN 1
                   19484: _ACEOF
                   19485: 
                   19486: 
                   19487: fi
                   19488: ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#ifdef SUNOS_5
                   19489: #define _XPG4_2
                   19490: #define __EXTENSIONS__
                   19491: #endif
                   19492: #include <stdio.h>
                   19493: #if STDC_HEADERS
                   19494: # include <stdlib.h>
                   19495: # include <stddef.h>
                   19496: #else
                   19497: # if HAVE_STDLIB_H
                   19498: #  include <stdlib.h>
                   19499: # endif
                   19500: #endif
                   19501: #if HAVE_SYS_TYPES_H
                   19502: # include <sys/types.h>
                   19503: #endif
                   19504: /* sys/conf.h depends on param.h on FBSD at least */
                   19505: #if HAVE_SYS_PARAM_H
                   19506: # include <sys/param.h>
                   19507: #endif
                   19508: /* Required for MAXSIG */
                   19509: #if HAVE_SIGNAL_H
                   19510: # include <signal.h>
                   19511: #endif
                   19512: #if HAVE_SYS_SOCKET_H
                   19513: # include <sys/socket.h>
                   19514: #endif
                   19515: #if HAVE_NETINET_IN_H
                   19516: # include <netinet/in.h>
                   19517: #endif
                   19518: #ifdef TIME_WITH_SYS_TIME
                   19519: # include <sys/time.h>
                   19520: # include <time.h>
                   19521: #else
                   19522: # ifdef HAVE_SYS_TIME_H
                   19523: #  include <sys/time.h>
                   19524: # else
                   19525: #  include <time.h>
                   19526: # endif
                   19527: #endif /* TIME_WITH_SYS_TIME */
                   19528: 
                   19529: #if HAVE_NET_IF_H
                   19530: # include <net/if.h>
                   19531: #endif
                   19532: 
                   19533: #if HAVE_NET_IF_VAR_H
                   19534: # include <net/if_var.h>
                   19535: #endif
                   19536: 
                   19537: #if HAVE_SYS_UN_H
                   19538: # include <sys/un.h>
                   19539: #endif
                   19540: #if HAVE_NETINET_IN_SYSTM_H
                   19541: # include <netinet/in_systm.h>
                   19542: #endif
                   19543: #if HAVE_NETINET_IN_VAR_H
                   19544: # include <netinet/in_var.h>
                   19545: #endif
                   19546: #if HAVE_NET_IF_DL_H
                   19547: # include <net/if_dl.h>
                   19548: #endif
                   19549: #if HAVE_NET_NETOPT_H
                   19550: # include <net/netopt.h>
                   19551: #endif
                   19552: #if HAVE_NET_ROUTE_H
                   19553: # include <net/route.h>
                   19554: #endif
                   19555: #if HAVE_INET_ND_H
                   19556: # include <inet/nd.h>
                   19557: #endif
                   19558: #if HAVE_ARPA_INET_H
                   19559: # include <arpa/inet.h>
                   19560: #endif
                   19561: /* Required for IDRP */
                   19562: #if HAVE_NETINET_IP_ICMP_H
                   19563: # include <netinet/ip_icmp.h>
                   19564: #endif
                   19565: 
                   19566: #if HAVE_NETINET6_IN6_H
                   19567: #include <netinet6/in6.h>
                   19568: #endif
                   19569: #if HAVE_NETINET_IN6_VAR_H
                   19570: #include <netinet/in6_var.h>
                   19571: #endif
                   19572: #if HAVE_NETINET_ICMP6_H
                   19573: # include <netinet/icmp6.h>
                   19574: #endif
                   19575: #if HAVE_NETINET6_IN6_VAR_H
                   19576: # include <netinet6/in6_var.h>
                   19577: #endif
                   19578: #if HAVE_NETINET6_ND6_H
                   19579: # include <netinet6/nd6.h>
                   19580: #endif
                   19581: 
                   19582: "
                   19583: if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
                   19584: 
                   19585: cat >>confdefs.h <<_ACEOF
                   19586: #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
                   19587: _ACEOF
                   19588: 
                   19589: 
                   19590: fi
                   19591: ac_fn_c_check_member "$LINENO" "struct sockaddr_in6" "sin6_scope_id" "ac_cv_member_struct_sockaddr_in6_sin6_scope_id" "#ifdef SUNOS_5
                   19592: #define _XPG4_2
                   19593: #define __EXTENSIONS__
                   19594: #endif
                   19595: #include <stdio.h>
                   19596: #if STDC_HEADERS
                   19597: # include <stdlib.h>
                   19598: # include <stddef.h>
                   19599: #else
                   19600: # if HAVE_STDLIB_H
                   19601: #  include <stdlib.h>
                   19602: # endif
                   19603: #endif
                   19604: #if HAVE_SYS_TYPES_H
                   19605: # include <sys/types.h>
                   19606: #endif
                   19607: /* sys/conf.h depends on param.h on FBSD at least */
                   19608: #if HAVE_SYS_PARAM_H
                   19609: # include <sys/param.h>
                   19610: #endif
                   19611: /* Required for MAXSIG */
                   19612: #if HAVE_SIGNAL_H
                   19613: # include <signal.h>
                   19614: #endif
                   19615: #if HAVE_SYS_SOCKET_H
                   19616: # include <sys/socket.h>
                   19617: #endif
                   19618: #if HAVE_NETINET_IN_H
                   19619: # include <netinet/in.h>
                   19620: #endif
                   19621: #ifdef TIME_WITH_SYS_TIME
                   19622: # include <sys/time.h>
                   19623: # include <time.h>
                   19624: #else
                   19625: # ifdef HAVE_SYS_TIME_H
                   19626: #  include <sys/time.h>
                   19627: # else
                   19628: #  include <time.h>
                   19629: # endif
                   19630: #endif /* TIME_WITH_SYS_TIME */
                   19631: 
                   19632: #if HAVE_NET_IF_H
                   19633: # include <net/if.h>
                   19634: #endif
                   19635: 
                   19636: #if HAVE_NET_IF_VAR_H
                   19637: # include <net/if_var.h>
                   19638: #endif
                   19639: 
                   19640: #if HAVE_SYS_UN_H
                   19641: # include <sys/un.h>
                   19642: #endif
                   19643: #if HAVE_NETINET_IN_SYSTM_H
                   19644: # include <netinet/in_systm.h>
                   19645: #endif
                   19646: #if HAVE_NETINET_IN_VAR_H
                   19647: # include <netinet/in_var.h>
                   19648: #endif
                   19649: #if HAVE_NET_IF_DL_H
                   19650: # include <net/if_dl.h>
                   19651: #endif
                   19652: #if HAVE_NET_NETOPT_H
                   19653: # include <net/netopt.h>
                   19654: #endif
                   19655: #if HAVE_NET_ROUTE_H
                   19656: # include <net/route.h>
                   19657: #endif
                   19658: #if HAVE_INET_ND_H
                   19659: # include <inet/nd.h>
                   19660: #endif
                   19661: #if HAVE_ARPA_INET_H
                   19662: # include <arpa/inet.h>
                   19663: #endif
                   19664: /* Required for IDRP */
                   19665: #if HAVE_NETINET_IP_ICMP_H
                   19666: # include <netinet/ip_icmp.h>
                   19667: #endif
                   19668: 
                   19669: #if HAVE_NETINET6_IN6_H
                   19670: #include <netinet6/in6.h>
                   19671: #endif
                   19672: #if HAVE_NETINET_IN6_VAR_H
                   19673: #include <netinet/in6_var.h>
                   19674: #endif
                   19675: #if HAVE_NETINET_ICMP6_H
                   19676: # include <netinet/icmp6.h>
                   19677: #endif
                   19678: #if HAVE_NETINET6_IN6_VAR_H
                   19679: # include <netinet6/in6_var.h>
                   19680: #endif
                   19681: #if HAVE_NETINET6_ND6_H
                   19682: # include <netinet6/nd6.h>
                   19683: #endif
                   19684: 
                   19685: "
                   19686: if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
                   19687: 
                   19688: cat >>confdefs.h <<_ACEOF
                   19689: #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
                   19690: _ACEOF
                   19691: 
                   19692: 
                   19693: fi
                   19694: ac_fn_c_check_member "$LINENO" "struct if6_aliasreq" "ifra_lifetime" "ac_cv_member_struct_if6_aliasreq_ifra_lifetime" "#ifdef SUNOS_5
                   19695: #define _XPG4_2
                   19696: #define __EXTENSIONS__
                   19697: #endif
                   19698: #include <stdio.h>
                   19699: #if STDC_HEADERS
                   19700: # include <stdlib.h>
                   19701: # include <stddef.h>
                   19702: #else
                   19703: # if HAVE_STDLIB_H
                   19704: #  include <stdlib.h>
                   19705: # endif
                   19706: #endif
                   19707: #if HAVE_SYS_TYPES_H
                   19708: # include <sys/types.h>
                   19709: #endif
                   19710: /* sys/conf.h depends on param.h on FBSD at least */
                   19711: #if HAVE_SYS_PARAM_H
                   19712: # include <sys/param.h>
                   19713: #endif
                   19714: /* Required for MAXSIG */
                   19715: #if HAVE_SIGNAL_H
                   19716: # include <signal.h>
                   19717: #endif
                   19718: #if HAVE_SYS_SOCKET_H
                   19719: # include <sys/socket.h>
                   19720: #endif
                   19721: #if HAVE_NETINET_IN_H
                   19722: # include <netinet/in.h>
                   19723: #endif
                   19724: #ifdef TIME_WITH_SYS_TIME
                   19725: # include <sys/time.h>
                   19726: # include <time.h>
                   19727: #else
                   19728: # ifdef HAVE_SYS_TIME_H
                   19729: #  include <sys/time.h>
                   19730: # else
                   19731: #  include <time.h>
                   19732: # endif
                   19733: #endif /* TIME_WITH_SYS_TIME */
                   19734: 
                   19735: #if HAVE_NET_IF_H
                   19736: # include <net/if.h>
                   19737: #endif
                   19738: 
                   19739: #if HAVE_NET_IF_VAR_H
                   19740: # include <net/if_var.h>
                   19741: #endif
                   19742: 
                   19743: #if HAVE_SYS_UN_H
                   19744: # include <sys/un.h>
                   19745: #endif
                   19746: #if HAVE_NETINET_IN_SYSTM_H
                   19747: # include <netinet/in_systm.h>
                   19748: #endif
                   19749: #if HAVE_NETINET_IN_VAR_H
                   19750: # include <netinet/in_var.h>
                   19751: #endif
                   19752: #if HAVE_NET_IF_DL_H
                   19753: # include <net/if_dl.h>
                   19754: #endif
                   19755: #if HAVE_NET_NETOPT_H
                   19756: # include <net/netopt.h>
                   19757: #endif
                   19758: #if HAVE_NET_ROUTE_H
                   19759: # include <net/route.h>
                   19760: #endif
                   19761: #if HAVE_INET_ND_H
                   19762: # include <inet/nd.h>
                   19763: #endif
                   19764: #if HAVE_ARPA_INET_H
                   19765: # include <arpa/inet.h>
                   19766: #endif
                   19767: /* Required for IDRP */
                   19768: #if HAVE_NETINET_IP_ICMP_H
                   19769: # include <netinet/ip_icmp.h>
                   19770: #endif
                   19771: 
                   19772: #if HAVE_NETINET6_IN6_H
                   19773: #include <netinet6/in6.h>
                   19774: #endif
                   19775: #if HAVE_NETINET_IN6_VAR_H
                   19776: #include <netinet/in6_var.h>
                   19777: #endif
                   19778: #if HAVE_NETINET_ICMP6_H
                   19779: # include <netinet/icmp6.h>
                   19780: #endif
                   19781: #if HAVE_NETINET6_IN6_VAR_H
                   19782: # include <netinet6/in6_var.h>
                   19783: #endif
                   19784: #if HAVE_NETINET6_ND6_H
                   19785: # include <netinet6/nd6.h>
                   19786: #endif
                   19787: 
                   19788: "
                   19789: if test "x$ac_cv_member_struct_if6_aliasreq_ifra_lifetime" = xyes; then :
                   19790: 
                   19791: cat >>confdefs.h <<_ACEOF
                   19792: #define HAVE_STRUCT_IF6_ALIASREQ_IFRA_LIFETIME 1
                   19793: _ACEOF
                   19794: 
                   19795: 
                   19796: fi
                   19797: 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
                   19798: #define _XPG4_2
                   19799: #define __EXTENSIONS__
                   19800: #endif
                   19801: #include <stdio.h>
                   19802: #if STDC_HEADERS
                   19803: # include <stdlib.h>
                   19804: # include <stddef.h>
                   19805: #else
                   19806: # if HAVE_STDLIB_H
                   19807: #  include <stdlib.h>
                   19808: # endif
                   19809: #endif
                   19810: #if HAVE_SYS_TYPES_H
                   19811: # include <sys/types.h>
                   19812: #endif
                   19813: /* sys/conf.h depends on param.h on FBSD at least */
                   19814: #if HAVE_SYS_PARAM_H
                   19815: # include <sys/param.h>
                   19816: #endif
                   19817: /* Required for MAXSIG */
                   19818: #if HAVE_SIGNAL_H
                   19819: # include <signal.h>
                   19820: #endif
                   19821: #if HAVE_SYS_SOCKET_H
                   19822: # include <sys/socket.h>
                   19823: #endif
                   19824: #if HAVE_NETINET_IN_H
                   19825: # include <netinet/in.h>
                   19826: #endif
                   19827: #ifdef TIME_WITH_SYS_TIME
                   19828: # include <sys/time.h>
                   19829: # include <time.h>
                   19830: #else
                   19831: # ifdef HAVE_SYS_TIME_H
                   19832: #  include <sys/time.h>
                   19833: # else
                   19834: #  include <time.h>
                   19835: # endif
                   19836: #endif /* TIME_WITH_SYS_TIME */
                   19837: 
                   19838: #if HAVE_NET_IF_H
                   19839: # include <net/if.h>
                   19840: #endif
                   19841: 
                   19842: #if HAVE_NET_IF_VAR_H
                   19843: # include <net/if_var.h>
                   19844: #endif
                   19845: 
                   19846: #if HAVE_SYS_UN_H
                   19847: # include <sys/un.h>
                   19848: #endif
                   19849: #if HAVE_NETINET_IN_SYSTM_H
                   19850: # include <netinet/in_systm.h>
                   19851: #endif
                   19852: #if HAVE_NETINET_IN_VAR_H
                   19853: # include <netinet/in_var.h>
                   19854: #endif
                   19855: #if HAVE_NET_IF_DL_H
                   19856: # include <net/if_dl.h>
                   19857: #endif
                   19858: #if HAVE_NET_NETOPT_H
                   19859: # include <net/netopt.h>
                   19860: #endif
                   19861: #if HAVE_NET_ROUTE_H
                   19862: # include <net/route.h>
                   19863: #endif
                   19864: #if HAVE_INET_ND_H
                   19865: # include <inet/nd.h>
                   19866: #endif
                   19867: #if HAVE_ARPA_INET_H
                   19868: # include <arpa/inet.h>
                   19869: #endif
                   19870: /* Required for IDRP */
                   19871: #if HAVE_NETINET_IP_ICMP_H
                   19872: # include <netinet/ip_icmp.h>
                   19873: #endif
                   19874: 
                   19875: #if HAVE_NETINET6_IN6_H
                   19876: #include <netinet6/in6.h>
                   19877: #endif
                   19878: #if HAVE_NETINET_IN6_VAR_H
                   19879: #include <netinet/in6_var.h>
                   19880: #endif
                   19881: #if HAVE_NETINET_ICMP6_H
                   19882: # include <netinet/icmp6.h>
                   19883: #endif
                   19884: #if HAVE_NETINET6_IN6_VAR_H
                   19885: # include <netinet6/in6_var.h>
                   19886: #endif
                   19887: #if HAVE_NETINET6_ND6_H
                   19888: # include <netinet6/nd6.h>
                   19889: #endif
                   19890: 
                   19891: "
                   19892: if test "x$ac_cv_member_struct_nd_opt_adv_interval_nd_opt_ai_type" = xyes; then :
                   19893: 
                   19894: cat >>confdefs.h <<_ACEOF
                   19895: #define HAVE_STRUCT_ND_OPT_ADV_INTERVAL_ND_OPT_AI_TYPE 1
                   19896: _ACEOF
                   19897: 
                   19898: 
                   19899: fi
                   19900: 
                   19901: 
                   19902: ac_fn_c_check_type "$LINENO" "struct in_pktinfo" "ac_cv_type_struct_in_pktinfo" "#ifdef SUNOS_5
                   19903: #define _XPG4_2
                   19904: #define __EXTENSIONS__
                   19905: #endif
                   19906: #include <stdio.h>
                   19907: #if STDC_HEADERS
                   19908: # include <stdlib.h>
                   19909: # include <stddef.h>
                   19910: #else
                   19911: # if HAVE_STDLIB_H
                   19912: #  include <stdlib.h>
                   19913: # endif
                   19914: #endif
                   19915: #if HAVE_SYS_TYPES_H
                   19916: # include <sys/types.h>
                   19917: #endif
                   19918: /* sys/conf.h depends on param.h on FBSD at least */
                   19919: #if HAVE_SYS_PARAM_H
                   19920: # include <sys/param.h>
                   19921: #endif
                   19922: /* Required for MAXSIG */
                   19923: #if HAVE_SIGNAL_H
                   19924: # include <signal.h>
                   19925: #endif
                   19926: #if HAVE_SYS_SOCKET_H
                   19927: # include <sys/socket.h>
                   19928: #endif
                   19929: #if HAVE_NETINET_IN_H
                   19930: # include <netinet/in.h>
                   19931: #endif
                   19932: #ifdef TIME_WITH_SYS_TIME
                   19933: # include <sys/time.h>
                   19934: # include <time.h>
                   19935: #else
                   19936: # ifdef HAVE_SYS_TIME_H
                   19937: #  include <sys/time.h>
                   19938: # else
                   19939: #  include <time.h>
                   19940: # endif
                   19941: #endif /* TIME_WITH_SYS_TIME */
                   19942: 
                   19943: #if HAVE_NET_IF_H
                   19944: # include <net/if.h>
                   19945: #endif
                   19946: 
                   19947: #if HAVE_NET_IF_VAR_H
                   19948: # include <net/if_var.h>
                   19949: #endif
                   19950: 
                   19951: #if HAVE_SYS_UN_H
                   19952: # include <sys/un.h>
                   19953: #endif
                   19954: #if HAVE_NETINET_IN_SYSTM_H
                   19955: # include <netinet/in_systm.h>
                   19956: #endif
                   19957: #if HAVE_NETINET_IN_VAR_H
                   19958: # include <netinet/in_var.h>
                   19959: #endif
                   19960: #if HAVE_NET_IF_DL_H
                   19961: # include <net/if_dl.h>
                   19962: #endif
                   19963: #if HAVE_NET_NETOPT_H
                   19964: # include <net/netopt.h>
                   19965: #endif
                   19966: #if HAVE_NET_ROUTE_H
                   19967: # include <net/route.h>
                   19968: #endif
                   19969: #if HAVE_INET_ND_H
                   19970: # include <inet/nd.h>
                   19971: #endif
                   19972: #if HAVE_ARPA_INET_H
                   19973: # include <arpa/inet.h>
                   19974: #endif
                   19975: /* Required for IDRP */
                   19976: #if HAVE_NETINET_IP_ICMP_H
                   19977: # include <netinet/ip_icmp.h>
                   19978: #endif
                   19979: 
                   19980: #if HAVE_NETINET6_IN6_H
                   19981: #include <netinet6/in6.h>
                   19982: #endif
                   19983: #if HAVE_NETINET_IN6_VAR_H
                   19984: #include <netinet/in6_var.h>
                   19985: #endif
                   19986: #if HAVE_NETINET_ICMP6_H
                   19987: # include <netinet/icmp6.h>
                   19988: #endif
                   19989: #if HAVE_NETINET6_IN6_VAR_H
                   19990: # include <netinet6/in6_var.h>
                   19991: #endif
                   19992: #if HAVE_NETINET6_ND6_H
                   19993: # include <netinet6/nd6.h>
                   19994: #endif
                   19995: 
                   19996: "
                   19997: if test "x$ac_cv_type_struct_in_pktinfo" = xyes; then :
                   19998: 
                   19999: cat >>confdefs.h <<_ACEOF
                   20000: #define HAVE_STRUCT_IN_PKTINFO 1
                   20001: _ACEOF
                   20002: 
                   20003: ac_fn_c_check_type "$LINENO" "struct icmphdr" "ac_cv_type_struct_icmphdr" "#ifdef SUNOS_5
                   20004: #define _XPG4_2
                   20005: #define __EXTENSIONS__
                   20006: #endif
                   20007: #include <stdio.h>
                   20008: #if STDC_HEADERS
                   20009: # include <stdlib.h>
                   20010: # include <stddef.h>
                   20011: #else
                   20012: # if HAVE_STDLIB_H
                   20013: #  include <stdlib.h>
                   20014: # endif
                   20015: #endif
                   20016: #if HAVE_SYS_TYPES_H
                   20017: # include <sys/types.h>
                   20018: #endif
                   20019: /* sys/conf.h depends on param.h on FBSD at least */
                   20020: #if HAVE_SYS_PARAM_H
                   20021: # include <sys/param.h>
                   20022: #endif
                   20023: /* Required for MAXSIG */
                   20024: #if HAVE_SIGNAL_H
                   20025: # include <signal.h>
                   20026: #endif
                   20027: #if HAVE_SYS_SOCKET_H
                   20028: # include <sys/socket.h>
                   20029: #endif
                   20030: #if HAVE_NETINET_IN_H
                   20031: # include <netinet/in.h>
                   20032: #endif
                   20033: #ifdef TIME_WITH_SYS_TIME
                   20034: # include <sys/time.h>
                   20035: # include <time.h>
                   20036: #else
                   20037: # ifdef HAVE_SYS_TIME_H
                   20038: #  include <sys/time.h>
                   20039: # else
                   20040: #  include <time.h>
                   20041: # endif
                   20042: #endif /* TIME_WITH_SYS_TIME */
                   20043: 
                   20044: #if HAVE_NET_IF_H
                   20045: # include <net/if.h>
                   20046: #endif
                   20047: 
                   20048: #if HAVE_NET_IF_VAR_H
                   20049: # include <net/if_var.h>
                   20050: #endif
                   20051: 
                   20052: #if HAVE_SYS_UN_H
                   20053: # include <sys/un.h>
                   20054: #endif
                   20055: #if HAVE_NETINET_IN_SYSTM_H
                   20056: # include <netinet/in_systm.h>
                   20057: #endif
                   20058: #if HAVE_NETINET_IN_VAR_H
                   20059: # include <netinet/in_var.h>
                   20060: #endif
                   20061: #if HAVE_NET_IF_DL_H
                   20062: # include <net/if_dl.h>
                   20063: #endif
                   20064: #if HAVE_NET_NETOPT_H
                   20065: # include <net/netopt.h>
                   20066: #endif
                   20067: #if HAVE_NET_ROUTE_H
                   20068: # include <net/route.h>
                   20069: #endif
                   20070: #if HAVE_INET_ND_H
                   20071: # include <inet/nd.h>
                   20072: #endif
                   20073: #if HAVE_ARPA_INET_H
                   20074: # include <arpa/inet.h>
                   20075: #endif
                   20076: /* Required for IDRP */
                   20077: #if HAVE_NETINET_IP_ICMP_H
                   20078: # include <netinet/ip_icmp.h>
                   20079: #endif
                   20080: 
                   20081: #if HAVE_NETINET6_IN6_H
                   20082: #include <netinet6/in6.h>
                   20083: #endif
                   20084: #if HAVE_NETINET_IN6_VAR_H
                   20085: #include <netinet/in6_var.h>
                   20086: #endif
                   20087: #if HAVE_NETINET_ICMP6_H
                   20088: # include <netinet/icmp6.h>
                   20089: #endif
                   20090: #if HAVE_NETINET6_IN6_VAR_H
                   20091: # include <netinet6/in6_var.h>
                   20092: #endif
                   20093: #if HAVE_NETINET6_ND6_H
                   20094: # include <netinet6/nd6.h>
                   20095: #endif
                   20096: 
                   20097: "
                   20098: if test "x$ac_cv_type_struct_icmphdr" = xyes; then :
                   20099: 
                   20100: cat >>confdefs.h <<_ACEOF
                   20101: #define HAVE_STRUCT_ICMPHDR 1
                   20102: _ACEOF
                   20103: 
                   20104: if test "${enable_irdp}" != "no"; then
                   20105: 
                   20106: $as_echo "#define HAVE_IRDP /**/" >>confdefs.h
                   20107: 
                   20108:     fi
                   20109: else
                   20110:   if test "${enable_irdp}" = "yes"; then
                   20111:       as_fn_error $? "'IRDP requires in_pktinfo at the moment!'" "$LINENO" 5
                   20112:     fi
                   20113: fi
                   20114: 
                   20115: else
                   20116:   if test "${enable_irdp}" = "yes"; then
                   20117:     as_fn_error $? "'IRDP requires in_pktinfo at the moment!'" "$LINENO" 5
                   20118:   fi
                   20119: fi
                   20120: 
                   20121: 
                   20122: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getrusage is available" >&5
                   20123: $as_echo_n "checking whether getrusage is available... " >&6; }
                   20124: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   20125: /* end confdefs.h.  */
                   20126: #include <sys/resource.h>
                   20127: 
                   20128: int
                   20129: main ()
                   20130: {
                   20131: struct rusage ac_x; getrusage (RUSAGE_SELF, &ac_x);
                   20132:   ;
                   20133:   return 0;
                   20134: }
                   20135: _ACEOF
                   20136: if ac_fn_c_try_compile "$LINENO"; then :
                   20137:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   20138: $as_echo "yes" >&6; }
                   20139: 
                   20140: $as_echo "#define HAVE_RUSAGE /**/" >>confdefs.h
                   20141: 
                   20142: else
                   20143:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   20144: $as_echo "no" >&6; }
                   20145: fi
                   20146: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   20147: 
                   20148: ac_fn_c_check_decl "$LINENO" "CLOCK_MONOTONIC" "ac_cv_have_decl_CLOCK_MONOTONIC" "#ifdef SUNOS_5
                   20149: #define _XPG4_2
                   20150: #define __EXTENSIONS__
                   20151: #endif
                   20152: #include <stdio.h>
                   20153: #if STDC_HEADERS
                   20154: # include <stdlib.h>
                   20155: # include <stddef.h>
                   20156: #else
                   20157: # if HAVE_STDLIB_H
                   20158: #  include <stdlib.h>
                   20159: # endif
                   20160: #endif
                   20161: #if HAVE_SYS_TYPES_H
                   20162: # include <sys/types.h>
                   20163: #endif
                   20164: /* sys/conf.h depends on param.h on FBSD at least */
                   20165: #if HAVE_SYS_PARAM_H
                   20166: # include <sys/param.h>
                   20167: #endif
                   20168: /* Required for MAXSIG */
                   20169: #if HAVE_SIGNAL_H
                   20170: # include <signal.h>
                   20171: #endif
                   20172: #if HAVE_SYS_SOCKET_H
                   20173: # include <sys/socket.h>
                   20174: #endif
                   20175: #if HAVE_NETINET_IN_H
                   20176: # include <netinet/in.h>
                   20177: #endif
                   20178: #ifdef TIME_WITH_SYS_TIME
                   20179: # include <sys/time.h>
                   20180: # include <time.h>
                   20181: #else
                   20182: # ifdef HAVE_SYS_TIME_H
                   20183: #  include <sys/time.h>
                   20184: # else
                   20185: #  include <time.h>
                   20186: # endif
                   20187: #endif /* TIME_WITH_SYS_TIME */
                   20188: 
                   20189: #if HAVE_NET_IF_H
                   20190: # include <net/if.h>
                   20191: #endif
                   20192: 
                   20193: #if HAVE_NET_IF_VAR_H
                   20194: # include <net/if_var.h>
                   20195: #endif
                   20196: 
                   20197: #if HAVE_SYS_UN_H
                   20198: # include <sys/un.h>
                   20199: #endif
                   20200: #if HAVE_NETINET_IN_SYSTM_H
                   20201: # include <netinet/in_systm.h>
                   20202: #endif
                   20203: #if HAVE_NETINET_IN_VAR_H
                   20204: # include <netinet/in_var.h>
                   20205: #endif
                   20206: #if HAVE_NET_IF_DL_H
                   20207: # include <net/if_dl.h>
                   20208: #endif
                   20209: #if HAVE_NET_NETOPT_H
                   20210: # include <net/netopt.h>
                   20211: #endif
                   20212: #if HAVE_NET_ROUTE_H
                   20213: # include <net/route.h>
                   20214: #endif
                   20215: #if HAVE_INET_ND_H
                   20216: # include <inet/nd.h>
                   20217: #endif
                   20218: #if HAVE_ARPA_INET_H
                   20219: # include <arpa/inet.h>
                   20220: #endif
                   20221: /* Required for IDRP */
                   20222: #if HAVE_NETINET_IP_ICMP_H
                   20223: # include <netinet/ip_icmp.h>
                   20224: #endif
                   20225: 
                   20226: #if HAVE_NETINET6_IN6_H
                   20227: #include <netinet6/in6.h>
                   20228: #endif
                   20229: #if HAVE_NETINET_IN6_VAR_H
                   20230: #include <netinet/in6_var.h>
                   20231: #endif
                   20232: #if HAVE_NETINET_ICMP6_H
                   20233: # include <netinet/icmp6.h>
                   20234: #endif
                   20235: #if HAVE_NETINET6_IN6_VAR_H
                   20236: # include <netinet6/in6_var.h>
                   20237: #endif
                   20238: #if HAVE_NETINET6_ND6_H
                   20239: # include <netinet6/nd6.h>
                   20240: #endif
                   20241: 
                   20242: "
                   20243: if test "x$ac_cv_have_decl_CLOCK_MONOTONIC" = xyes; then :
                   20244:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
                   20245: $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
                   20246: if ${ac_cv_lib_rt_clock_gettime+:} false; then :
                   20247:   $as_echo_n "(cached) " >&6
                   20248: else
                   20249:   ac_check_lib_save_LIBS=$LIBS
                   20250: LIBS="-lrt  $LIBS"
                   20251: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   20252: /* end confdefs.h.  */
                   20253: 
                   20254: /* Override any GCC internal prototype to avoid an error.
                   20255:    Use char because int might match the return type of a GCC
                   20256:    builtin and then its argument prototype would still apply.  */
                   20257: #ifdef __cplusplus
                   20258: extern "C"
                   20259: #endif
                   20260: char clock_gettime ();
                   20261: int
                   20262: main ()
                   20263: {
                   20264: return clock_gettime ();
                   20265:   ;
                   20266:   return 0;
                   20267: }
                   20268: _ACEOF
                   20269: if ac_fn_c_try_link "$LINENO"; then :
                   20270:   ac_cv_lib_rt_clock_gettime=yes
                   20271: else
                   20272:   ac_cv_lib_rt_clock_gettime=no
                   20273: fi
                   20274: rm -f core conftest.err conftest.$ac_objext \
                   20275:     conftest$ac_exeext conftest.$ac_ext
                   20276: LIBS=$ac_check_lib_save_LIBS
                   20277: fi
                   20278: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
                   20279: $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
                   20280: if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
                   20281:   LIBS="$LIBS -lrt"
                   20282: fi
                   20283: 
                   20284: 
                   20285: $as_echo "#define HAVE_CLOCK_MONOTONIC /**/" >>confdefs.h
                   20286: 
                   20287: 
                   20288: else
                   20289:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   20290: $as_echo "no" >&6; }
                   20291: fi
                   20292: 
                   20293: 
                   20294: if test "${enable_capabilities}" != "no"; then
                   20295:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether prctl PR_SET_KEEPCAPS is available" >&5
                   20296: $as_echo_n "checking whether prctl PR_SET_KEEPCAPS is available... " >&6; }
                   20297:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   20298: /* end confdefs.h.  */
                   20299: #include <sys/prctl.h>
                   20300: int
                   20301: main ()
                   20302: {
                   20303: prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0);
                   20304:   ;
                   20305:   return 0;
                   20306: }
                   20307: _ACEOF
                   20308: if ac_fn_c_try_compile "$LINENO"; then :
                   20309:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   20310: $as_echo "yes" >&6; }
                   20311: 
                   20312: $as_echo "#define HAVE_PR_SET_KEEPCAPS /**/" >>confdefs.h
                   20313: 
                   20314:      quagga_ac_keepcaps="yes"
                   20315: else
                   20316:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   20317: $as_echo "no" >&6; }
                   20318: 
                   20319: fi
                   20320: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   20321:   if test x"${quagga_ac_keepcaps}" = x"yes"; then
                   20322:     for ac_header in sys/capability.h
                   20323: do :
                   20324:   ac_fn_c_check_header_mongrel "$LINENO" "sys/capability.h" "ac_cv_header_sys_capability_h" "$ac_includes_default"
                   20325: if test "x$ac_cv_header_sys_capability_h" = xyes; then :
                   20326:   cat >>confdefs.h <<_ACEOF
                   20327: #define HAVE_SYS_CAPABILITY_H 1
                   20328: _ACEOF
                   20329: 
                   20330: fi
                   20331: 
                   20332: done
                   20333: 
                   20334:   fi
                   20335:   if test x"${ac_cv_header_sys_capability_h}" = x"yes"; then
                   20336:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cap_init in -lcap" >&5
                   20337: $as_echo_n "checking for cap_init in -lcap... " >&6; }
                   20338: if ${ac_cv_lib_cap_cap_init+:} false; then :
                   20339:   $as_echo_n "(cached) " >&6
                   20340: else
                   20341:   ac_check_lib_save_LIBS=$LIBS
                   20342: LIBS="-lcap  $LIBS"
                   20343: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   20344: /* end confdefs.h.  */
                   20345: 
                   20346: /* Override any GCC internal prototype to avoid an error.
                   20347:    Use char because int might match the return type of a GCC
                   20348:    builtin and then its argument prototype would still apply.  */
                   20349: #ifdef __cplusplus
                   20350: extern "C"
                   20351: #endif
                   20352: char cap_init ();
                   20353: int
                   20354: main ()
                   20355: {
                   20356: return cap_init ();
                   20357:   ;
                   20358:   return 0;
                   20359: }
                   20360: _ACEOF
                   20361: if ac_fn_c_try_link "$LINENO"; then :
                   20362:   ac_cv_lib_cap_cap_init=yes
                   20363: else
                   20364:   ac_cv_lib_cap_cap_init=no
                   20365: fi
                   20366: rm -f core conftest.err conftest.$ac_objext \
                   20367:     conftest$ac_exeext conftest.$ac_ext
                   20368: LIBS=$ac_check_lib_save_LIBS
                   20369: fi
                   20370: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_cap_init" >&5
                   20371: $as_echo "$ac_cv_lib_cap_cap_init" >&6; }
                   20372: if test "x$ac_cv_lib_cap_cap_init" = xyes; then :
                   20373: 
                   20374: $as_echo "#define HAVE_LCAPS 1" >>confdefs.h
                   20375: 
                   20376:        LIBCAP="-lcap"
                   20377:        quagga_ac_lcaps="yes"
                   20378: 
                   20379: fi
                   20380: 
                   20381:   else
                   20382:     for ac_header in priv.h
                   20383: do :
                   20384:   ac_fn_c_check_header_mongrel "$LINENO" "priv.h" "ac_cv_header_priv_h" "$ac_includes_default"
                   20385: if test "x$ac_cv_header_priv_h" = xyes; then :
                   20386:   cat >>confdefs.h <<_ACEOF
                   20387: #define HAVE_PRIV_H 1
                   20388: _ACEOF
                   20389:  { $as_echo "$as_me:${as_lineno-$LINENO}: checking Solaris style privileges are available" >&5
                   20390: $as_echo_n "checking Solaris style privileges are available... " >&6; }
                   20391:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   20392: /* end confdefs.h.  */
                   20393: #include <priv.h>
                   20394: int
                   20395: main ()
                   20396: {
                   20397: getpflags(PRIV_AWARE);
                   20398:   ;
                   20399:   return 0;
                   20400: }
                   20401: _ACEOF
                   20402: if ac_fn_c_try_compile "$LINENO"; then :
                   20403:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   20404: $as_echo "yes" >&6; }
                   20405: 
                   20406: $as_echo "#define HAVE_SOLARIS_CAPABILITIES 1" >>confdefs.h
                   20407: 
                   20408:           quagga_ac_scaps="yes"
                   20409: else
                   20410:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   20411: $as_echo "no" >&6; }
                   20412: 
                   20413: fi
                   20414: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   20415: 
                   20416: 
                   20417: fi
                   20418: 
                   20419: done
                   20420: 
                   20421:   fi
                   20422:   if test x"${quagga_ac_scaps}" = x"yes" \
                   20423:        -o x"${quagga_ac_lcaps}" = x"yes"; then
                   20424: 
                   20425: $as_echo "#define HAVE_CAPABILITIES 1" >>confdefs.h
                   20426: 
                   20427:   fi
                   20428: fi
                   20429: 
                   20430: 
                   20431: ac_fn_c_check_header_mongrel "$LINENO" "execinfo.h" "ac_cv_header_execinfo_h" "$ac_includes_default"
                   20432: if test "x$ac_cv_header_execinfo_h" = xyes; then :
                   20433:   ac_fn_c_check_func "$LINENO" "backtrace" "ac_cv_func_backtrace"
                   20434: if test "x$ac_cv_func_backtrace" = xyes; then :
                   20435: 
                   20436: $as_echo "#define HAVE_GLIBC_BACKTRACE /**/" >>confdefs.h
                   20437: 
                   20438: 
                   20439: $as_echo "#define HAVE_STACK_TRACE /**/" >>confdefs.h
                   20440: 
                   20441: 
                   20442: fi
                   20443: 
                   20444: 
                   20445: fi
                   20446: 
                   20447: 
                   20448: 
                   20449: ac_fn_c_check_header_compile "$LINENO" "malloc.h" "ac_cv_header_malloc_h" "#ifdef SUNOS_5
                   20450: #define _XPG4_2
                   20451: #define __EXTENSIONS__
                   20452: #endif
                   20453: #include <stdio.h>
                   20454: #if STDC_HEADERS
                   20455: # include <stdlib.h>
                   20456: # include <stddef.h>
                   20457: #else
                   20458: # if HAVE_STDLIB_H
                   20459: #  include <stdlib.h>
                   20460: # endif
                   20461: #endif
                   20462: #if HAVE_SYS_TYPES_H
                   20463: # include <sys/types.h>
                   20464: #endif
                   20465: /* sys/conf.h depends on param.h on FBSD at least */
                   20466: #if HAVE_SYS_PARAM_H
                   20467: # include <sys/param.h>
                   20468: #endif
                   20469: /* Required for MAXSIG */
                   20470: #if HAVE_SIGNAL_H
                   20471: # include <signal.h>
                   20472: #endif
                   20473: #if HAVE_SYS_SOCKET_H
                   20474: # include <sys/socket.h>
                   20475: #endif
                   20476: #if HAVE_NETINET_IN_H
                   20477: # include <netinet/in.h>
                   20478: #endif
                   20479: #ifdef TIME_WITH_SYS_TIME
                   20480: # include <sys/time.h>
                   20481: # include <time.h>
                   20482: #else
                   20483: # ifdef HAVE_SYS_TIME_H
                   20484: #  include <sys/time.h>
                   20485: # else
                   20486: #  include <time.h>
                   20487: # endif
                   20488: #endif /* TIME_WITH_SYS_TIME */
                   20489: 
                   20490: #if HAVE_NET_IF_H
                   20491: # include <net/if.h>
                   20492: #endif
                   20493: 
                   20494: #if HAVE_NET_IF_VAR_H
                   20495: # include <net/if_var.h>
                   20496: #endif
                   20497: 
                   20498: #if HAVE_SYS_UN_H
                   20499: # include <sys/un.h>
                   20500: #endif
                   20501: #if HAVE_NETINET_IN_SYSTM_H
                   20502: # include <netinet/in_systm.h>
                   20503: #endif
                   20504: #if HAVE_NETINET_IN_VAR_H
                   20505: # include <netinet/in_var.h>
                   20506: #endif
                   20507: #if HAVE_NET_IF_DL_H
                   20508: # include <net/if_dl.h>
                   20509: #endif
                   20510: #if HAVE_NET_NETOPT_H
                   20511: # include <net/netopt.h>
                   20512: #endif
                   20513: #if HAVE_NET_ROUTE_H
                   20514: # include <net/route.h>
                   20515: #endif
                   20516: #if HAVE_INET_ND_H
                   20517: # include <inet/nd.h>
                   20518: #endif
                   20519: #if HAVE_ARPA_INET_H
                   20520: # include <arpa/inet.h>
                   20521: #endif
                   20522: /* Required for IDRP */
                   20523: #if HAVE_NETINET_IP_ICMP_H
                   20524: # include <netinet/ip_icmp.h>
                   20525: #endif
                   20526: 
                   20527: #if HAVE_NETINET6_IN6_H
                   20528: #include <netinet6/in6.h>
                   20529: #endif
                   20530: #if HAVE_NETINET_IN6_VAR_H
                   20531: #include <netinet/in6_var.h>
                   20532: #endif
                   20533: #if HAVE_NETINET_ICMP6_H
                   20534: # include <netinet/icmp6.h>
                   20535: #endif
                   20536: #if HAVE_NETINET6_IN6_VAR_H
                   20537: # include <netinet6/in6_var.h>
                   20538: #endif
                   20539: #if HAVE_NETINET6_ND6_H
                   20540: # include <netinet6/nd6.h>
                   20541: #endif
                   20542: 
                   20543: "
                   20544: if test "x$ac_cv_header_malloc_h" = xyes; then :
                   20545:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mallinfo is available" >&5
                   20546: $as_echo_n "checking whether mallinfo is available... " >&6; }
                   20547:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   20548: /* end confdefs.h.  */
                   20549: #include <malloc.h>
                   20550: int
                   20551: main ()
                   20552: {
                   20553: struct mallinfo ac_x; ac_x = mallinfo ();
                   20554:   ;
                   20555:   return 0;
                   20556: }
                   20557: _ACEOF
                   20558: if ac_fn_c_try_link "$LINENO"; then :
                   20559:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   20560: $as_echo "yes" >&6; }
                   20561: 
                   20562: $as_echo "#define HAVE_MALLINFO /**/" >>confdefs.h
                   20563: 
                   20564: else
                   20565:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   20566: $as_echo "no" >&6; }
                   20567: 
                   20568: fi
                   20569: rm -f core conftest.err conftest.$ac_objext \
                   20570:     conftest$ac_exeext conftest.$ac_ext
                   20571: 
                   20572: fi
                   20573: 
                   20574: 
                   20575: 
                   20576: CONFDATE=`date '+%Y%m%d'`
                   20577: 
                   20578: 
                   20579: # Check whether --enable-pie was given.
                   20580: if test "${enable_pie+set}" = set; then :
                   20581:   enableval=$enable_pie;
                   20582: fi
                   20583: 
                   20584: if test "$enable_pie" != "no"; then
                   20585:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts PIE flags" >&5
                   20586: $as_echo_n "checking whether $CC accepts PIE flags... " >&6; }
                   20587: if ${ap_cv_cc_pie+:} false; then :
                   20588:   $as_echo_n "(cached) " >&6
                   20589: else
                   20590: 
                   20591:     save_CFLAGS=$CFLAGS
                   20592:     save_LDFLAGS=$LDFLAGS
                   20593:     CFLAGS="$CFLAGS -fPIE"
                   20594:     LDFLAGS="$LDFLAGS -pie"
                   20595:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   20596: /* end confdefs.h.  */
                   20597: static int foo[30000]; int main () { return 0; }
                   20598: _ACEOF
                   20599: if ac_fn_c_try_link "$LINENO"; then :
                   20600:   ap_cv_cc_pie=yes
                   20601: else
                   20602:   ap_cv_cc_pie=no
                   20603: 
                   20604: fi
                   20605: rm -f core conftest.err conftest.$ac_objext \
                   20606:     conftest$ac_exeext conftest.$ac_ext
                   20607:     CFLAGS=$save_CFLAGS
                   20608:     LDFLAGS=$save_LDFLAGS
                   20609: 
                   20610: fi
                   20611: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ap_cv_cc_pie" >&5
                   20612: $as_echo "$ap_cv_cc_pie" >&6; }
                   20613:   if test "$ap_cv_cc_pie" = "yes"; then
                   20614:     PICFLAGS="-fPIE"
                   20615:     PILDFLAGS="-pie"
                   20616:   fi
                   20617: fi
                   20618: 
                   20619: 
                   20620: 
                   20621: 
                   20622: { $as_echo "$as_me:${as_lineno-$LINENO}: checking directory to use for state file" >&5
                   20623: $as_echo_n "checking directory to use for state file... " >&6; }
                   20624: if test "${prefix}" = "NONE"; then
                   20625:   quagga_statedir_prefix="";
                   20626: else
                   20627:   quagga_statedir_prefix=${prefix}
                   20628: fi
                   20629: if test "${localstatedir}" = '${prefix}/var'; then
                   20630:   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;
                   20631:   do
                   20632:     test -d $QUAGGA_STATE_DIR && break
                   20633:   done
                   20634:   quagga_statedir=$QUAGGA_STATE_DIR
                   20635: else
                   20636:   quagga_statedir=${localstatedir}
                   20637: fi
                   20638: if test $quagga_statedir = "/dev/null"; then
                   20639:     as_fn_error $? "'STATE DIRECTORY NOT FOUND! FIX OR SPECIFY --localstatedir!'" "$LINENO" 5
                   20640: fi
                   20641: { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${quagga_statedir}" >&5
                   20642: $as_echo "${quagga_statedir}" >&6; }
                   20643: 
                   20644: 
                   20645: 
                   20646: cat >>confdefs.h <<_ACEOF
                   20647: #define PATH_ZEBRA_PID "$quagga_statedir/zebra.pid"
                   20648: _ACEOF
                   20649: 
                   20650: 
                   20651: cat >>confdefs.h <<_ACEOF
                   20652: #define PATH_RIPD_PID "$quagga_statedir/ripd.pid"
                   20653: _ACEOF
                   20654: 
                   20655: 
                   20656: cat >>confdefs.h <<_ACEOF
                   20657: #define PATH_RIPNGD_PID "$quagga_statedir/ripngd.pid"
                   20658: _ACEOF
                   20659: 
                   20660: 
                   20661: cat >>confdefs.h <<_ACEOF
                   20662: #define PATH_BGPD_PID "$quagga_statedir/bgpd.pid"
                   20663: _ACEOF
                   20664: 
                   20665: 
                   20666: cat >>confdefs.h <<_ACEOF
                   20667: #define PATH_OSPFD_PID "$quagga_statedir/ospfd.pid"
                   20668: _ACEOF
                   20669: 
                   20670: 
                   20671: cat >>confdefs.h <<_ACEOF
                   20672: #define PATH_OSPF6D_PID "$quagga_statedir/ospf6d.pid"
                   20673: _ACEOF
                   20674: 
                   20675: 
                   20676: cat >>confdefs.h <<_ACEOF
                   20677: #define PATH_ISISD_PID "$quagga_statedir/isisd.pid"
                   20678: _ACEOF
                   20679: 
                   20680: 
                   20681: cat >>confdefs.h <<_ACEOF
                   20682: #define PATH_WATCHQUAGGA_PID "$quagga_statedir/watchquagga.pid"
                   20683: _ACEOF
                   20684: 
                   20685: 
                   20686: cat >>confdefs.h <<_ACEOF
                   20687: #define ZEBRA_SERV_PATH "$quagga_statedir/zserv.api"
                   20688: _ACEOF
                   20689: 
                   20690: 
                   20691: cat >>confdefs.h <<_ACEOF
                   20692: #define ZEBRA_VTYSH_PATH "$quagga_statedir/zebra.vty"
                   20693: _ACEOF
                   20694: 
                   20695: 
                   20696: cat >>confdefs.h <<_ACEOF
                   20697: #define RIP_VTYSH_PATH "$quagga_statedir/ripd.vty"
                   20698: _ACEOF
                   20699: 
                   20700: 
                   20701: cat >>confdefs.h <<_ACEOF
                   20702: #define RIPNG_VTYSH_PATH "$quagga_statedir/ripngd.vty"
                   20703: _ACEOF
                   20704: 
                   20705: 
                   20706: cat >>confdefs.h <<_ACEOF
                   20707: #define BGP_VTYSH_PATH "$quagga_statedir/bgpd.vty"
                   20708: _ACEOF
                   20709: 
                   20710: 
                   20711: cat >>confdefs.h <<_ACEOF
                   20712: #define OSPF_VTYSH_PATH "$quagga_statedir/ospfd.vty"
                   20713: _ACEOF
                   20714: 
                   20715: 
                   20716: cat >>confdefs.h <<_ACEOF
                   20717: #define OSPF6_VTYSH_PATH "$quagga_statedir/ospf6d.vty"
                   20718: _ACEOF
                   20719: 
                   20720: 
                   20721: cat >>confdefs.h <<_ACEOF
                   20722: #define ISIS_VTYSH_PATH "$quagga_statedir/isisd.vty"
                   20723: _ACEOF
                   20724: 
                   20725: 
                   20726: cat >>confdefs.h <<_ACEOF
                   20727: #define DAEMON_VTY_DIR "$quagga_statedir"
                   20728: _ACEOF
                   20729: 
                   20730: 
                   20731: 
                   20732: $as_echo "#define QUAGGA_NO_DEPRECATED_INTERFACES 1" >>confdefs.h
                   20733: 
                   20734: 
                   20735: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working htonl" >&5
                   20736: $as_echo_n "checking for working htonl... " >&6; }
                   20737: if ${ac_cv_htonl_works+:} false; then :
                   20738:   $as_echo_n "(cached) " >&6
                   20739: else
                   20740:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   20741: /* end confdefs.h.  */
                   20742: #ifdef SUNOS_5
                   20743: #define _XPG4_2
                   20744: #define __EXTENSIONS__
                   20745: #endif
                   20746: #include <stdio.h>
                   20747: #if STDC_HEADERS
                   20748: # include <stdlib.h>
                   20749: # include <stddef.h>
                   20750: #else
                   20751: # if HAVE_STDLIB_H
                   20752: #  include <stdlib.h>
                   20753: # endif
                   20754: #endif
                   20755: #if HAVE_SYS_TYPES_H
                   20756: # include <sys/types.h>
                   20757: #endif
                   20758: /* sys/conf.h depends on param.h on FBSD at least */
                   20759: #if HAVE_SYS_PARAM_H
                   20760: # include <sys/param.h>
                   20761: #endif
                   20762: /* Required for MAXSIG */
                   20763: #if HAVE_SIGNAL_H
                   20764: # include <signal.h>
                   20765: #endif
                   20766: #if HAVE_SYS_SOCKET_H
                   20767: # include <sys/socket.h>
                   20768: #endif
                   20769: #if HAVE_NETINET_IN_H
                   20770: # include <netinet/in.h>
                   20771: #endif
                   20772: #ifdef TIME_WITH_SYS_TIME
                   20773: # include <sys/time.h>
                   20774: # include <time.h>
                   20775: #else
                   20776: # ifdef HAVE_SYS_TIME_H
                   20777: #  include <sys/time.h>
                   20778: # else
                   20779: #  include <time.h>
                   20780: # endif
                   20781: #endif /* TIME_WITH_SYS_TIME */
                   20782: 
                   20783: #if HAVE_NET_IF_H
                   20784: # include <net/if.h>
                   20785: #endif
                   20786: 
                   20787: #if HAVE_NET_IF_VAR_H
                   20788: # include <net/if_var.h>
                   20789: #endif
                   20790: 
                   20791: #if HAVE_SYS_UN_H
                   20792: # include <sys/un.h>
                   20793: #endif
                   20794: #if HAVE_NETINET_IN_SYSTM_H
                   20795: # include <netinet/in_systm.h>
                   20796: #endif
                   20797: #if HAVE_NETINET_IN_VAR_H
                   20798: # include <netinet/in_var.h>
                   20799: #endif
                   20800: #if HAVE_NET_IF_DL_H
                   20801: # include <net/if_dl.h>
                   20802: #endif
                   20803: #if HAVE_NET_NETOPT_H
                   20804: # include <net/netopt.h>
                   20805: #endif
                   20806: #if HAVE_NET_ROUTE_H
                   20807: # include <net/route.h>
                   20808: #endif
                   20809: #if HAVE_INET_ND_H
                   20810: # include <inet/nd.h>
                   20811: #endif
                   20812: #if HAVE_ARPA_INET_H
                   20813: # include <arpa/inet.h>
                   20814: #endif
                   20815: /* Required for IDRP */
                   20816: #if HAVE_NETINET_IP_ICMP_H
                   20817: # include <netinet/ip_icmp.h>
                   20818: #endif
                   20819: 
                   20820: #if HAVE_NETINET6_IN6_H
                   20821: #include <netinet6/in6.h>
                   20822: #endif
                   20823: #if HAVE_NETINET_IN6_VAR_H
                   20824: #include <netinet/in6_var.h>
                   20825: #endif
                   20826: #if HAVE_NETINET_ICMP6_H
                   20827: # include <netinet/icmp6.h>
                   20828: #endif
                   20829: #if HAVE_NETINET6_IN6_VAR_H
                   20830: # include <netinet6/in6_var.h>
                   20831: #endif
                   20832: #if HAVE_NETINET6_ND6_H
                   20833: # include <netinet6/nd6.h>
                   20834: #endif
                   20835: 
                   20836: int
                   20837: main ()
                   20838: {
                   20839: htonl (0);
                   20840:   ;
                   20841:   return 0;
                   20842: }
                   20843: _ACEOF
                   20844: if ac_fn_c_try_link "$LINENO"; then :
                   20845:   ac_cv_htonl_works=yes
                   20846: else
                   20847:   ac_cv_htonl_works=no
                   20848: fi
                   20849: rm -f core conftest.err conftest.$ac_objext \
                   20850:     conftest$ac_exeext conftest.$ac_ext
                   20851: 
                   20852: 
                   20853: fi
                   20854: 
                   20855: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_htonl_works" >&5
                   20856: $as_echo "$ac_cv_htonl_works" >&6; }
                   20857: 
                   20858: 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 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"
                   20859: 
                   20860: ac_config_files="$ac_config_files solaris/Makefile"
                   20861: 
                   20862: 
                   20863: ac_config_files="$ac_config_files vtysh/extract.pl"
                   20864: 
                   20865: ## Hack, but working solution to avoid rebuilding of quagga.info.
                   20866: ## It's already in CVS until texinfo 4.7 is more common.
                   20867: cat >confcache <<\_ACEOF
                   20868: # This file is a shell script that caches the results of configure
                   20869: # tests run on this system so they can be shared between configure
                   20870: # scripts and configure runs, see configure's option --config-cache.
                   20871: # It is not useful on other systems.  If it contains results you don't
                   20872: # want to keep, you may remove or edit it.
                   20873: #
                   20874: # config.status only pays attention to the cache file if you give it
                   20875: # the --recheck option to rerun configure.
                   20876: #
                   20877: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   20878: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   20879: # following values.
                   20880: 
                   20881: _ACEOF
                   20882: 
                   20883: # The following way of writing the cache mishandles newlines in values,
                   20884: # but we know of no workaround that is simple, portable, and efficient.
                   20885: # So, we kill variables containing newlines.
                   20886: # Ultrix sh set writes to stderr and can't be redirected directly,
                   20887: # and sets the high bit in the cache file unless we assign to the vars.
                   20888: (
                   20889:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   20890:     eval ac_val=\$$ac_var
                   20891:     case $ac_val in #(
                   20892:     *${as_nl}*)
                   20893:       case $ac_var in #(
                   20894:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   20895: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   20896:       esac
                   20897:       case $ac_var in #(
                   20898:       _ | IFS | as_nl) ;; #(
                   20899:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   20900:       *) { eval $ac_var=; unset $ac_var;} ;;
                   20901:       esac ;;
                   20902:     esac
                   20903:   done
                   20904: 
                   20905:   (set) 2>&1 |
                   20906:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   20907:     *${as_nl}ac_space=\ *)
                   20908:       # `set' does not quote correctly, so add quotes: double-quote
                   20909:       # substitution turns \\\\ into \\, and sed turns \\ into \.
                   20910:       sed -n \
                   20911:        "s/'/'\\\\''/g;
                   20912:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
                   20913:       ;; #(
                   20914:     *)
                   20915:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   20916:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   20917:       ;;
                   20918:     esac |
                   20919:     sort
                   20920: ) |
                   20921:   sed '
                   20922:      /^ac_cv_env_/b end
                   20923:      t clear
                   20924:      :clear
                   20925:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   20926:      t end
                   20927:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   20928:      :end' >>confcache
                   20929: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   20930:   if test -w "$cache_file"; then
                   20931:     if test "x$cache_file" != "x/dev/null"; then
                   20932:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
                   20933: $as_echo "$as_me: updating cache $cache_file" >&6;}
                   20934:       if test ! -f "$cache_file" || test -h "$cache_file"; then
                   20935:        cat confcache >"$cache_file"
                   20936:       else
                   20937:         case $cache_file in #(
                   20938:         */* | ?:*)
                   20939:          mv -f confcache "$cache_file"$$ &&
                   20940:          mv -f "$cache_file"$$ "$cache_file" ;; #(
                   20941:         *)
                   20942:          mv -f confcache "$cache_file" ;;
                   20943:        esac
                   20944:       fi
                   20945:     fi
                   20946:   else
                   20947:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
                   20948: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
                   20949:   fi
                   20950: fi
                   20951: rm -f confcache
                   20952: 
                   20953: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   20954: # Let make expand exec_prefix.
                   20955: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   20956: 
                   20957: DEFS=-DHAVE_CONFIG_H
                   20958: 
                   20959: ac_libobjs=
                   20960: ac_ltlibobjs=
                   20961: U=
                   20962: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   20963:   # 1. Remove the extension, and $U if already installed.
                   20964:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
                   20965:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
                   20966:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   20967:   #    will be set to the directory where LIBOBJS objects are built.
                   20968:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   20969:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
                   20970: done
                   20971: LIBOBJS=$ac_libobjs
                   20972: 
                   20973: LTLIBOBJS=$ac_ltlibobjs
                   20974: 
                   20975: 
                   20976:  if test -n "$EXEEXT"; then
                   20977:   am__EXEEXT_TRUE=
                   20978:   am__EXEEXT_FALSE='#'
                   20979: else
                   20980:   am__EXEEXT_TRUE='#'
                   20981:   am__EXEEXT_FALSE=
                   20982: fi
                   20983: 
                   20984: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
                   20985:   as_fn_error $? "conditional \"AMDEP\" was never defined.
                   20986: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   20987: fi
                   20988: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
                   20989:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
                   20990: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   20991: fi
                   20992: 
                   20993: 
                   20994: : "${CONFIG_STATUS=./config.status}"
                   20995: ac_write_fail=0
                   20996: ac_clean_files_save=$ac_clean_files
                   20997: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
                   20998: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
                   20999: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   21000: as_write_fail=0
                   21001: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
                   21002: #! $SHELL
                   21003: # Generated by $as_me.
                   21004: # Run this file to recreate the current configuration.
                   21005: # Compiler output produced by configure, useful for debugging
                   21006: # configure, is in config.log if it exists.
                   21007: 
                   21008: debug=false
                   21009: ac_cs_recheck=false
                   21010: ac_cs_silent=false
                   21011: 
                   21012: SHELL=\${CONFIG_SHELL-$SHELL}
                   21013: export SHELL
                   21014: _ASEOF
                   21015: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
                   21016: ## -------------------- ##
                   21017: ## M4sh Initialization. ##
                   21018: ## -------------------- ##
                   21019: 
                   21020: # Be more Bourne compatible
                   21021: DUALCASE=1; export DUALCASE # for MKS sh
                   21022: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
                   21023:   emulate sh
                   21024:   NULLCMD=:
                   21025:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
                   21026:   # is contrary to our usage.  Disable this feature.
                   21027:   alias -g '${1+"$@"}'='"$@"'
                   21028:   setopt NO_GLOB_SUBST
                   21029: else
                   21030:   case `(set -o) 2>/dev/null` in #(
                   21031:   *posix*) :
                   21032:     set -o posix ;; #(
                   21033:   *) :
                   21034:      ;;
                   21035: esac
                   21036: fi
                   21037: 
                   21038: 
                   21039: as_nl='
                   21040: '
                   21041: export as_nl
                   21042: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                   21043: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   21044: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                   21045: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                   21046: # Prefer a ksh shell builtin over an external printf program on Solaris,
                   21047: # but without wasting forks for bash or zsh.
                   21048: if test -z "$BASH_VERSION$ZSH_VERSION" \
                   21049:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                   21050:   as_echo='print -r --'
                   21051:   as_echo_n='print -rn --'
                   21052: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                   21053:   as_echo='printf %s\n'
                   21054:   as_echo_n='printf %s'
                   21055: else
                   21056:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                   21057:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                   21058:     as_echo_n='/usr/ucb/echo -n'
                   21059:   else
                   21060:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                   21061:     as_echo_n_body='eval
                   21062:       arg=$1;
                   21063:       case $arg in #(
                   21064:       *"$as_nl"*)
                   21065:        expr "X$arg" : "X\\(.*\\)$as_nl";
                   21066:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                   21067:       esac;
                   21068:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                   21069:     '
                   21070:     export as_echo_n_body
                   21071:     as_echo_n='sh -c $as_echo_n_body as_echo'
                   21072:   fi
                   21073:   export as_echo_body
                   21074:   as_echo='sh -c $as_echo_body as_echo'
                   21075: fi
                   21076: 
                   21077: # The user is always right.
                   21078: if test "${PATH_SEPARATOR+set}" != set; then
                   21079:   PATH_SEPARATOR=:
                   21080:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   21081:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   21082:       PATH_SEPARATOR=';'
                   21083:   }
                   21084: fi
                   21085: 
                   21086: 
                   21087: # IFS
                   21088: # We need space, tab and new line, in precisely that order.  Quoting is
                   21089: # there to prevent editors from complaining about space-tab.
                   21090: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                   21091: # splitting by setting IFS to empty value.)
                   21092: IFS=" ""       $as_nl"
                   21093: 
                   21094: # Find who we are.  Look in the path if we contain no directory separator.
                   21095: as_myself=
                   21096: case $0 in #((
                   21097:   *[\\/]* ) as_myself=$0 ;;
                   21098:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   21099: for as_dir in $PATH
                   21100: do
                   21101:   IFS=$as_save_IFS
                   21102:   test -z "$as_dir" && as_dir=.
                   21103:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   21104:   done
                   21105: IFS=$as_save_IFS
                   21106: 
                   21107:      ;;
                   21108: esac
                   21109: # We did not find ourselves, most probably we were run as `sh COMMAND'
                   21110: # in which case we are not to be found in the path.
                   21111: if test "x$as_myself" = x; then
                   21112:   as_myself=$0
                   21113: fi
                   21114: if test ! -f "$as_myself"; then
                   21115:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                   21116:   exit 1
                   21117: fi
                   21118: 
                   21119: # Unset variables that we do not need and which cause bugs (e.g. in
                   21120: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                   21121: # suppresses any "Segmentation fault" message there.  '((' could
                   21122: # trigger a bug in pdksh 5.2.14.
                   21123: for as_var in BASH_ENV ENV MAIL MAILPATH
                   21124: do eval test x\${$as_var+set} = xset \
                   21125:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                   21126: done
                   21127: PS1='$ '
                   21128: PS2='> '
                   21129: PS4='+ '
                   21130: 
                   21131: # NLS nuisances.
                   21132: LC_ALL=C
                   21133: export LC_ALL
                   21134: LANGUAGE=C
                   21135: export LANGUAGE
                   21136: 
                   21137: # CDPATH.
                   21138: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   21139: 
                   21140: 
                   21141: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                   21142: # ----------------------------------------
                   21143: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                   21144: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                   21145: # script with STATUS, using 1 if that was 0.
                   21146: as_fn_error ()
                   21147: {
                   21148:   as_status=$1; test $as_status -eq 0 && as_status=1
                   21149:   if test "$4"; then
                   21150:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   21151:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                   21152:   fi
                   21153:   $as_echo "$as_me: error: $2" >&2
                   21154:   as_fn_exit $as_status
                   21155: } # as_fn_error
                   21156: 
                   21157: 
                   21158: # as_fn_set_status STATUS
                   21159: # -----------------------
                   21160: # Set $? to STATUS, without forking.
                   21161: as_fn_set_status ()
                   21162: {
                   21163:   return $1
                   21164: } # as_fn_set_status
                   21165: 
                   21166: # as_fn_exit STATUS
                   21167: # -----------------
                   21168: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                   21169: as_fn_exit ()
                   21170: {
                   21171:   set +e
                   21172:   as_fn_set_status $1
                   21173:   exit $1
                   21174: } # as_fn_exit
                   21175: 
                   21176: # as_fn_unset VAR
                   21177: # ---------------
                   21178: # Portably unset VAR.
                   21179: as_fn_unset ()
                   21180: {
                   21181:   { eval $1=; unset $1;}
                   21182: }
                   21183: as_unset=as_fn_unset
                   21184: # as_fn_append VAR VALUE
                   21185: # ----------------------
                   21186: # Append the text in VALUE to the end of the definition contained in VAR. Take
                   21187: # advantage of any shell optimizations that allow amortized linear growth over
                   21188: # repeated appends, instead of the typical quadratic growth present in naive
                   21189: # implementations.
                   21190: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                   21191:   eval 'as_fn_append ()
                   21192:   {
                   21193:     eval $1+=\$2
                   21194:   }'
                   21195: else
                   21196:   as_fn_append ()
                   21197:   {
                   21198:     eval $1=\$$1\$2
                   21199:   }
                   21200: fi # as_fn_append
                   21201: 
                   21202: # as_fn_arith ARG...
                   21203: # ------------------
                   21204: # Perform arithmetic evaluation on the ARGs, and store the result in the
                   21205: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                   21206: # must be portable across $(()) and expr.
                   21207: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                   21208:   eval 'as_fn_arith ()
                   21209:   {
                   21210:     as_val=$(( $* ))
                   21211:   }'
                   21212: else
                   21213:   as_fn_arith ()
                   21214:   {
                   21215:     as_val=`expr "$@" || test $? -eq 1`
                   21216:   }
                   21217: fi # as_fn_arith
                   21218: 
                   21219: 
                   21220: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   21221:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                   21222:   as_expr=expr
                   21223: else
                   21224:   as_expr=false
                   21225: fi
                   21226: 
                   21227: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                   21228:   as_basename=basename
                   21229: else
                   21230:   as_basename=false
                   21231: fi
                   21232: 
                   21233: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   21234:   as_dirname=dirname
                   21235: else
                   21236:   as_dirname=false
                   21237: fi
                   21238: 
                   21239: as_me=`$as_basename -- "$0" ||
                   21240: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   21241:         X"$0" : 'X\(//\)$' \| \
                   21242:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                   21243: $as_echo X/"$0" |
                   21244:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   21245:            s//\1/
                   21246:            q
                   21247:          }
                   21248:          /^X\/\(\/\/\)$/{
                   21249:            s//\1/
                   21250:            q
                   21251:          }
                   21252:          /^X\/\(\/\).*/{
                   21253:            s//\1/
                   21254:            q
                   21255:          }
                   21256:          s/.*/./; q'`
                   21257: 
                   21258: # Avoid depending upon Character Ranges.
                   21259: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   21260: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   21261: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   21262: as_cr_digits='0123456789'
                   21263: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   21264: 
                   21265: ECHO_C= ECHO_N= ECHO_T=
                   21266: case `echo -n x` in #(((((
                   21267: -n*)
                   21268:   case `echo 'xy\c'` in
                   21269:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                   21270:   xy)  ECHO_C='\c';;
                   21271:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                   21272:        ECHO_T='        ';;
                   21273:   esac;;
                   21274: *)
                   21275:   ECHO_N='-n';;
                   21276: esac
                   21277: 
                   21278: rm -f conf$$ conf$$.exe conf$$.file
                   21279: if test -d conf$$.dir; then
                   21280:   rm -f conf$$.dir/conf$$.file
                   21281: else
                   21282:   rm -f conf$$.dir
                   21283:   mkdir conf$$.dir 2>/dev/null
                   21284: fi
                   21285: if (echo >conf$$.file) 2>/dev/null; then
                   21286:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   21287:     as_ln_s='ln -s'
                   21288:     # ... but there are two gotchas:
                   21289:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                   21290:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
                   21291:     # In both cases, we have to default to `cp -p'.
                   21292:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
                   21293:       as_ln_s='cp -p'
                   21294:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   21295:     as_ln_s=ln
                   21296:   else
                   21297:     as_ln_s='cp -p'
                   21298:   fi
                   21299: else
                   21300:   as_ln_s='cp -p'
                   21301: fi
                   21302: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   21303: rmdir conf$$.dir 2>/dev/null
                   21304: 
                   21305: 
                   21306: # as_fn_mkdir_p
                   21307: # -------------
                   21308: # Create "$as_dir" as a directory, including parents if necessary.
                   21309: as_fn_mkdir_p ()
                   21310: {
                   21311: 
                   21312:   case $as_dir in #(
                   21313:   -*) as_dir=./$as_dir;;
                   21314:   esac
                   21315:   test -d "$as_dir" || eval $as_mkdir_p || {
                   21316:     as_dirs=
                   21317:     while :; do
                   21318:       case $as_dir in #(
                   21319:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                   21320:       *) as_qdir=$as_dir;;
                   21321:       esac
                   21322:       as_dirs="'$as_qdir' $as_dirs"
                   21323:       as_dir=`$as_dirname -- "$as_dir" ||
                   21324: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   21325:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   21326:         X"$as_dir" : 'X\(//\)$' \| \
                   21327:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                   21328: $as_echo X"$as_dir" |
                   21329:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   21330:            s//\1/
                   21331:            q
                   21332:          }
                   21333:          /^X\(\/\/\)[^/].*/{
                   21334:            s//\1/
                   21335:            q
                   21336:          }
                   21337:          /^X\(\/\/\)$/{
                   21338:            s//\1/
                   21339:            q
                   21340:          }
                   21341:          /^X\(\/\).*/{
                   21342:            s//\1/
                   21343:            q
                   21344:          }
                   21345:          s/.*/./; q'`
                   21346:       test -d "$as_dir" && break
                   21347:     done
                   21348:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                   21349:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                   21350: 
                   21351: 
                   21352: } # as_fn_mkdir_p
                   21353: if mkdir -p . 2>/dev/null; then
                   21354:   as_mkdir_p='mkdir -p "$as_dir"'
                   21355: else
                   21356:   test -d ./-p && rmdir ./-p
                   21357:   as_mkdir_p=false
                   21358: fi
                   21359: 
                   21360: if test -x / >/dev/null 2>&1; then
                   21361:   as_test_x='test -x'
                   21362: else
                   21363:   if ls -dL / >/dev/null 2>&1; then
                   21364:     as_ls_L_option=L
                   21365:   else
                   21366:     as_ls_L_option=
                   21367:   fi
                   21368:   as_test_x='
                   21369:     eval sh -c '\''
                   21370:       if test -d "$1"; then
                   21371:        test -d "$1/.";
                   21372:       else
                   21373:        case $1 in #(
                   21374:        -*)set "./$1";;
                   21375:        esac;
                   21376:        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
                   21377:        ???[sx]*):;;*)false;;esac;fi
                   21378:     '\'' sh
                   21379:   '
                   21380: fi
                   21381: as_executable_p=$as_test_x
                   21382: 
                   21383: # Sed expression to map a string onto a valid CPP name.
                   21384: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                   21385: 
                   21386: # Sed expression to map a string onto a valid variable name.
                   21387: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                   21388: 
                   21389: 
                   21390: exec 6>&1
                   21391: ## ----------------------------------- ##
                   21392: ## Main body of $CONFIG_STATUS script. ##
                   21393: ## ----------------------------------- ##
                   21394: _ASEOF
                   21395: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
                   21396: 
                   21397: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   21398: # Save the log message, to keep $0 and so on meaningful, and to
                   21399: # report actual input values of CONFIG_FILES etc. instead of their
                   21400: # values after options handling.
                   21401: ac_log="
1.1.1.2 ! misho    21402: This file was extended by Quagga $as_me 0.99.20.1, which was
1.1       misho    21403: generated by GNU Autoconf 2.68.  Invocation command line was
                   21404: 
                   21405:   CONFIG_FILES    = $CONFIG_FILES
                   21406:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   21407:   CONFIG_LINKS    = $CONFIG_LINKS
                   21408:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   21409:   $ $0 $@
                   21410: 
                   21411: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   21412: "
                   21413: 
                   21414: _ACEOF
                   21415: 
                   21416: case $ac_config_files in *"
                   21417: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   21418: esac
                   21419: 
                   21420: case $ac_config_headers in *"
                   21421: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
                   21422: esac
                   21423: 
                   21424: 
                   21425: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   21426: # Files that config.status was made for.
                   21427: config_files="$ac_config_files"
                   21428: config_headers="$ac_config_headers"
                   21429: config_commands="$ac_config_commands"
                   21430: 
                   21431: _ACEOF
                   21432: 
                   21433: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   21434: ac_cs_usage="\
                   21435: \`$as_me' instantiates files and other configuration actions
                   21436: from templates according to the current configuration.  Unless the files
                   21437: and actions are specified as TAGs, all are instantiated by default.
                   21438: 
                   21439: Usage: $0 [OPTION]... [TAG]...
                   21440: 
                   21441:   -h, --help       print this help, then exit
                   21442:   -V, --version    print version number and configuration settings, then exit
                   21443:       --config     print configuration, then exit
                   21444:   -q, --quiet, --silent
                   21445:                    do not print progress messages
                   21446:   -d, --debug      don't remove temporary files
                   21447:       --recheck    update $as_me by reconfiguring in the same conditions
                   21448:       --file=FILE[:TEMPLATE]
                   21449:                    instantiate the configuration file FILE
                   21450:       --header=FILE[:TEMPLATE]
                   21451:                    instantiate the configuration header FILE
                   21452: 
                   21453: Configuration files:
                   21454: $config_files
                   21455: 
                   21456: Configuration headers:
                   21457: $config_headers
                   21458: 
                   21459: Configuration commands:
                   21460: $config_commands
                   21461: 
                   21462: Report bugs to <https://bugzilla.quagga.net>."
                   21463: 
                   21464: _ACEOF
                   21465: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   21466: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
                   21467: ac_cs_version="\\
1.1.1.2 ! misho    21468: Quagga config.status 0.99.20.1
1.1       misho    21469: configured by $0, generated by GNU Autoconf 2.68,
                   21470:   with options \\"\$ac_cs_config\\"
                   21471: 
                   21472: Copyright (C) 2010 Free Software Foundation, Inc.
                   21473: This config.status script is free software; the Free Software Foundation
                   21474: gives unlimited permission to copy, distribute and modify it."
                   21475: 
                   21476: ac_pwd='$ac_pwd'
                   21477: srcdir='$srcdir'
                   21478: INSTALL='$INSTALL'
                   21479: MKDIR_P='$MKDIR_P'
                   21480: AWK='$AWK'
                   21481: test -n "\$AWK" || AWK=awk
                   21482: _ACEOF
                   21483: 
                   21484: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   21485: # The default lists apply if the user does not specify any file.
                   21486: ac_need_defaults=:
                   21487: while test $# != 0
                   21488: do
                   21489:   case $1 in
                   21490:   --*=?*)
                   21491:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   21492:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
                   21493:     ac_shift=:
                   21494:     ;;
                   21495:   --*=)
                   21496:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   21497:     ac_optarg=
                   21498:     ac_shift=:
                   21499:     ;;
                   21500:   *)
                   21501:     ac_option=$1
                   21502:     ac_optarg=$2
                   21503:     ac_shift=shift
                   21504:     ;;
                   21505:   esac
                   21506: 
                   21507:   case $ac_option in
                   21508:   # Handling of the options.
                   21509:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   21510:     ac_cs_recheck=: ;;
                   21511:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
                   21512:     $as_echo "$ac_cs_version"; exit ;;
                   21513:   --config | --confi | --conf | --con | --co | --c )
                   21514:     $as_echo "$ac_cs_config"; exit ;;
                   21515:   --debug | --debu | --deb | --de | --d | -d )
                   21516:     debug=: ;;
                   21517:   --file | --fil | --fi | --f )
                   21518:     $ac_shift
                   21519:     case $ac_optarg in
                   21520:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   21521:     '') as_fn_error $? "missing file argument" ;;
                   21522:     esac
                   21523:     as_fn_append CONFIG_FILES " '$ac_optarg'"
                   21524:     ac_need_defaults=false;;
                   21525:   --header | --heade | --head | --hea )
                   21526:     $ac_shift
                   21527:     case $ac_optarg in
                   21528:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   21529:     esac
                   21530:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
                   21531:     ac_need_defaults=false;;
                   21532:   --he | --h)
                   21533:     # Conflict between --help and --header
                   21534:     as_fn_error $? "ambiguous option: \`$1'
                   21535: Try \`$0 --help' for more information.";;
                   21536:   --help | --hel | -h )
                   21537:     $as_echo "$ac_cs_usage"; exit ;;
                   21538:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   21539:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   21540:     ac_cs_silent=: ;;
                   21541: 
                   21542:   # This is an error.
                   21543:   -*) as_fn_error $? "unrecognized option: \`$1'
                   21544: Try \`$0 --help' for more information." ;;
                   21545: 
                   21546:   *) as_fn_append ac_config_targets " $1"
                   21547:      ac_need_defaults=false ;;
                   21548: 
                   21549:   esac
                   21550:   shift
                   21551: done
                   21552: 
                   21553: ac_configure_extra_args=
                   21554: 
                   21555: if $ac_cs_silent; then
                   21556:   exec 6>/dev/null
                   21557:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   21558: fi
                   21559: 
                   21560: _ACEOF
                   21561: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   21562: if \$ac_cs_recheck; then
                   21563:   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
                   21564:   shift
                   21565:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
                   21566:   CONFIG_SHELL='$SHELL'
                   21567:   export CONFIG_SHELL
                   21568:   exec "\$@"
                   21569: fi
                   21570: 
                   21571: _ACEOF
                   21572: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   21573: exec 5>>config.log
                   21574: {
                   21575:   echo
                   21576:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   21577: ## Running $as_me. ##
                   21578: _ASBOX
                   21579:   $as_echo "$ac_log"
                   21580: } >&5
                   21581: 
                   21582: _ACEOF
                   21583: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   21584: #
                   21585: # INIT-COMMANDS
                   21586: #
                   21587: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
                   21588: 
                   21589: 
                   21590: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   21591: # if CDPATH is set.
                   21592: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   21593: 
                   21594: sed_quote_subst='$sed_quote_subst'
                   21595: double_quote_subst='$double_quote_subst'
                   21596: delay_variable_subst='$delay_variable_subst'
                   21597: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
                   21598: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
                   21599: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
                   21600: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
                   21601: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
                   21602: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
                   21603: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
                   21604: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
1.1.1.2 ! misho    21605: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
1.1       misho    21606: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
                   21607: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
                   21608: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
                   21609: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
                   21610: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
                   21611: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
                   21612: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
                   21613: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
                   21614: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
                   21615: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
                   21616: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
                   21617: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
                   21618: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
                   21619: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
                   21620: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
                   21621: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
                   21622: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
                   21623: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
                   21624: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
                   21625: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
                   21626: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
                   21627: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
                   21628: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
                   21629: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
                   21630: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
                   21631: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
                   21632: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
                   21633: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
                   21634: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
                   21635: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
                   21636: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
                   21637: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
                   21638: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
                   21639: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
                   21640: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
                   21641: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
                   21642: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   21643: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   21644: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
                   21645: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
                   21646: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
                   21647: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
                   21648: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
                   21649: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
                   21650: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
                   21651: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
                   21652: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
                   21653: 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"`'
                   21654: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
                   21655: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
                   21656: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
                   21657: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
                   21658: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
                   21659: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
                   21660: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
                   21661: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
                   21662: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
                   21663: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
                   21664: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
                   21665: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
                   21666: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
                   21667: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
                   21668: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
                   21669: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
                   21670: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
                   21671: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
                   21672: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   21673: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
                   21674: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
                   21675: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
                   21676: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
                   21677: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
                   21678: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
                   21679: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   21680: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
                   21681: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   21682: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
                   21683: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   21684: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
                   21685: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   21686: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   21687: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
                   21688: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
                   21689: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
                   21690: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
                   21691: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
                   21692: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   21693: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
                   21694: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
                   21695: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
                   21696: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
                   21697: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
                   21698: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
                   21699: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
                   21700: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
                   21701: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
                   21702: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
                   21703: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
                   21704: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
                   21705: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
                   21706: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
                   21707: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
                   21708: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   21709: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
                   21710: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
                   21711: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
                   21712: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
                   21713: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
                   21714: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   21715: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   21716: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
                   21717: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
                   21718: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
                   21719: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
                   21720: sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
                   21721: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
                   21722: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
                   21723: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
                   21724: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
                   21725: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
                   21726: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
                   21727: 
                   21728: LTCC='$LTCC'
                   21729: LTCFLAGS='$LTCFLAGS'
                   21730: compiler='$compiler_DEFAULT'
                   21731: 
                   21732: # A function that is used when there is no print builtin or printf.
                   21733: func_fallback_echo ()
                   21734: {
                   21735:   eval 'cat <<_LTECHO_EOF
                   21736: \$1
                   21737: _LTECHO_EOF'
                   21738: }
                   21739: 
                   21740: # Quote evaled strings.
                   21741: for var in SHELL \
                   21742: ECHO \
1.1.1.2 ! misho    21743: PATH_SEPARATOR \
1.1       misho    21744: SED \
                   21745: GREP \
                   21746: EGREP \
                   21747: FGREP \
                   21748: LD \
                   21749: NM \
                   21750: LN_S \
                   21751: lt_SP2NL \
                   21752: lt_NL2SP \
                   21753: reload_flag \
                   21754: OBJDUMP \
                   21755: deplibs_check_method \
                   21756: file_magic_cmd \
                   21757: file_magic_glob \
                   21758: want_nocaseglob \
                   21759: DLLTOOL \
                   21760: sharedlib_from_linklib_cmd \
                   21761: AR \
                   21762: AR_FLAGS \
                   21763: archiver_list_spec \
                   21764: STRIP \
                   21765: RANLIB \
                   21766: CC \
                   21767: CFLAGS \
                   21768: compiler \
                   21769: lt_cv_sys_global_symbol_pipe \
                   21770: lt_cv_sys_global_symbol_to_cdecl \
                   21771: lt_cv_sys_global_symbol_to_c_name_address \
                   21772: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
                   21773: nm_file_list_spec \
                   21774: lt_prog_compiler_no_builtin_flag \
                   21775: lt_prog_compiler_pic \
                   21776: lt_prog_compiler_wl \
                   21777: lt_prog_compiler_static \
                   21778: lt_cv_prog_compiler_c_o \
                   21779: need_locks \
                   21780: MANIFEST_TOOL \
                   21781: DSYMUTIL \
                   21782: NMEDIT \
                   21783: LIPO \
                   21784: OTOOL \
                   21785: OTOOL64 \
                   21786: shrext_cmds \
                   21787: export_dynamic_flag_spec \
                   21788: whole_archive_flag_spec \
                   21789: compiler_needs_object \
                   21790: with_gnu_ld \
                   21791: allow_undefined_flag \
                   21792: no_undefined_flag \
                   21793: hardcode_libdir_flag_spec \
                   21794: hardcode_libdir_separator \
                   21795: exclude_expsyms \
                   21796: include_expsyms \
                   21797: file_list_spec \
                   21798: variables_saved_for_relink \
                   21799: libname_spec \
                   21800: library_names_spec \
                   21801: soname_spec \
                   21802: install_override_mode \
                   21803: finish_eval \
                   21804: old_striplib \
                   21805: striplib; do
                   21806:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   21807:     *[\\\\\\\`\\"\\\$]*)
                   21808:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
                   21809:       ;;
                   21810:     *)
                   21811:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   21812:       ;;
                   21813:     esac
                   21814: done
                   21815: 
                   21816: # Double-quote double-evaled strings.
                   21817: for var in reload_cmds \
                   21818: old_postinstall_cmds \
                   21819: old_postuninstall_cmds \
                   21820: old_archive_cmds \
                   21821: extract_expsyms_cmds \
                   21822: old_archive_from_new_cmds \
                   21823: old_archive_from_expsyms_cmds \
                   21824: archive_cmds \
                   21825: archive_expsym_cmds \
                   21826: module_cmds \
                   21827: module_expsym_cmds \
                   21828: export_symbols_cmds \
                   21829: prelink_cmds \
                   21830: postlink_cmds \
                   21831: postinstall_cmds \
                   21832: postuninstall_cmds \
                   21833: finish_cmds \
                   21834: sys_lib_search_path_spec \
                   21835: sys_lib_dlsearch_path_spec; do
                   21836:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   21837:     *[\\\\\\\`\\"\\\$]*)
                   21838:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
                   21839:       ;;
                   21840:     *)
                   21841:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   21842:       ;;
                   21843:     esac
                   21844: done
                   21845: 
                   21846: ac_aux_dir='$ac_aux_dir'
                   21847: xsi_shell='$xsi_shell'
                   21848: lt_shell_append='$lt_shell_append'
                   21849: 
                   21850: # See if we are running on zsh, and set the options which allow our
                   21851: # commands through without removal of \ escapes INIT.
                   21852: if test -n "\${ZSH_VERSION+set}" ; then
                   21853:    setopt NO_GLOB_SUBST
                   21854: fi
                   21855: 
                   21856: 
                   21857:     PACKAGE='$PACKAGE'
                   21858:     VERSION='$VERSION'
                   21859:     TIMESTAMP='$TIMESTAMP'
                   21860:     RM='$RM'
                   21861:     ofile='$ofile'
                   21862: 
                   21863: 
                   21864: 
                   21865: 
                   21866: _ACEOF
                   21867: 
                   21868: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   21869: 
                   21870: # Handling of arguments.
                   21871: for ac_config_target in $ac_config_targets
                   21872: do
                   21873:   case $ac_config_target in
                   21874:     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
                   21875:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   21876:     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
                   21877:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   21878:     "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
                   21879:     "zebra/Makefile") CONFIG_FILES="$CONFIG_FILES zebra/Makefile" ;;
                   21880:     "ripd/Makefile") CONFIG_FILES="$CONFIG_FILES ripd/Makefile" ;;
                   21881:     "ripngd/Makefile") CONFIG_FILES="$CONFIG_FILES ripngd/Makefile" ;;
                   21882:     "bgpd/Makefile") CONFIG_FILES="$CONFIG_FILES bgpd/Makefile" ;;
                   21883:     "ospfd/Makefile") CONFIG_FILES="$CONFIG_FILES ospfd/Makefile" ;;
                   21884:     "watchquagga/Makefile") CONFIG_FILES="$CONFIG_FILES watchquagga/Makefile" ;;
                   21885:     "ospf6d/Makefile") CONFIG_FILES="$CONFIG_FILES ospf6d/Makefile" ;;
                   21886:     "isisd/Makefile") CONFIG_FILES="$CONFIG_FILES isisd/Makefile" ;;
                   21887:     "vtysh/Makefile") CONFIG_FILES="$CONFIG_FILES vtysh/Makefile" ;;
                   21888:     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
                   21889:     "ospfclient/Makefile") CONFIG_FILES="$CONFIG_FILES ospfclient/Makefile" ;;
                   21890:     "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
                   21891:     "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
                   21892:     "redhat/Makefile") CONFIG_FILES="$CONFIG_FILES redhat/Makefile" ;;
                   21893:     "pkgsrc/Makefile") CONFIG_FILES="$CONFIG_FILES pkgsrc/Makefile" ;;
                   21894:     "redhat/quagga.spec") CONFIG_FILES="$CONFIG_FILES redhat/quagga.spec" ;;
                   21895:     "lib/version.h") CONFIG_FILES="$CONFIG_FILES lib/version.h" ;;
                   21896:     "doc/defines.texi") CONFIG_FILES="$CONFIG_FILES doc/defines.texi" ;;
                   21897:     "isisd/topology/Makefile") CONFIG_FILES="$CONFIG_FILES isisd/topology/Makefile" ;;
                   21898:     "pkgsrc/bgpd.sh") CONFIG_FILES="$CONFIG_FILES pkgsrc/bgpd.sh" ;;
                   21899:     "pkgsrc/ospf6d.sh") CONFIG_FILES="$CONFIG_FILES pkgsrc/ospf6d.sh" ;;
                   21900:     "pkgsrc/ospfd.sh") CONFIG_FILES="$CONFIG_FILES pkgsrc/ospfd.sh" ;;
                   21901:     "pkgsrc/ripd.sh") CONFIG_FILES="$CONFIG_FILES pkgsrc/ripd.sh" ;;
                   21902:     "pkgsrc/ripngd.sh") CONFIG_FILES="$CONFIG_FILES pkgsrc/ripngd.sh" ;;
                   21903:     "pkgsrc/zebra.sh") CONFIG_FILES="$CONFIG_FILES pkgsrc/zebra.sh" ;;
                   21904:     "solaris/Makefile") CONFIG_FILES="$CONFIG_FILES solaris/Makefile" ;;
                   21905:     "vtysh/extract.pl") CONFIG_FILES="$CONFIG_FILES vtysh/extract.pl" ;;
                   21906: 
                   21907:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
                   21908:   esac
                   21909: done
                   21910: 
                   21911: 
                   21912: # If the user did not use the arguments to specify the items to instantiate,
                   21913: # then the envvar interface is used.  Set only those that are not.
                   21914: # We use the long form for the default assignment because of an extremely
                   21915: # bizarre bug on SunOS 4.1.3.
                   21916: if $ac_need_defaults; then
                   21917:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   21918:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   21919:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   21920: fi
                   21921: 
                   21922: # Have a temporary directory for convenience.  Make it in the build tree
                   21923: # simply because there is no reason against having it here, and in addition,
                   21924: # creating and moving files from /tmp can sometimes cause problems.
                   21925: # Hook for its removal unless debugging.
                   21926: # Note that there is a small window in which the directory will not be cleaned:
                   21927: # after its creation but before its name has been assigned to `$tmp'.
                   21928: $debug ||
                   21929: {
                   21930:   tmp= ac_tmp=
                   21931:   trap 'exit_status=$?
                   21932:   : "${ac_tmp:=$tmp}"
                   21933:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
                   21934: ' 0
                   21935:   trap 'as_fn_exit 1' 1 2 13 15
                   21936: }
                   21937: # Create a (secure) tmp directory for tmp files.
                   21938: 
                   21939: {
                   21940:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
                   21941:   test -d "$tmp"
                   21942: }  ||
                   21943: {
                   21944:   tmp=./conf$$-$RANDOM
                   21945:   (umask 077 && mkdir "$tmp")
                   21946: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
                   21947: ac_tmp=$tmp
                   21948: 
                   21949: # Set up the scripts for CONFIG_FILES section.
                   21950: # No need to generate them if there are no CONFIG_FILES.
                   21951: # This happens for instance with `./config.status config.h'.
                   21952: if test -n "$CONFIG_FILES"; then
                   21953: 
                   21954: 
                   21955: ac_cr=`echo X | tr X '\015'`
                   21956: # On cygwin, bash can eat \r inside `` if the user requested igncr.
                   21957: # But we know of no other shell where ac_cr would be empty at this
                   21958: # point, so we can use a bashism as a fallback.
                   21959: if test "x$ac_cr" = x; then
                   21960:   eval ac_cr=\$\'\\r\'
                   21961: fi
                   21962: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   21963: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
                   21964:   ac_cs_awk_cr='\\r'
                   21965: else
                   21966:   ac_cs_awk_cr=$ac_cr
                   21967: fi
                   21968: 
                   21969: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
                   21970: _ACEOF
                   21971: 
                   21972: 
                   21973: {
                   21974:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   21975:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   21976:   echo "_ACEOF"
                   21977: } >conf$$subs.sh ||
                   21978:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   21979: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
                   21980: ac_delim='%!_!# '
                   21981: for ac_last_try in false false false false false :; do
                   21982:   . ./conf$$subs.sh ||
                   21983:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   21984: 
                   21985:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   21986:   if test $ac_delim_n = $ac_delim_num; then
                   21987:     break
                   21988:   elif $ac_last_try; then
                   21989:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   21990:   else
                   21991:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   21992:   fi
                   21993: done
                   21994: rm -f conf$$subs.sh
                   21995: 
                   21996: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   21997: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
                   21998: _ACEOF
                   21999: sed -n '
                   22000: h
                   22001: s/^/S["/; s/!.*/"]=/
                   22002: p
                   22003: g
                   22004: s/^[^!]*!//
                   22005: :repl
                   22006: t repl
                   22007: s/'"$ac_delim"'$//
                   22008: t delim
                   22009: :nl
                   22010: h
                   22011: s/\(.\{148\}\)..*/\1/
                   22012: t more1
                   22013: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   22014: p
                   22015: n
                   22016: b repl
                   22017: :more1
                   22018: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   22019: p
                   22020: g
                   22021: s/.\{148\}//
                   22022: t nl
                   22023: :delim
                   22024: h
                   22025: s/\(.\{148\}\)..*/\1/
                   22026: t more2
                   22027: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   22028: p
                   22029: b
                   22030: :more2
                   22031: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   22032: p
                   22033: g
                   22034: s/.\{148\}//
                   22035: t delim
                   22036: ' <conf$$subs.awk | sed '
                   22037: /^[^""]/{
                   22038:   N
                   22039:   s/\n//
                   22040: }
                   22041: ' >>$CONFIG_STATUS || ac_write_fail=1
                   22042: rm -f conf$$subs.awk
                   22043: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   22044: _ACAWK
                   22045: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
                   22046:   for (key in S) S_is_set[key] = 1
                   22047:   FS = ""
                   22048: 
                   22049: }
                   22050: {
                   22051:   line = $ 0
                   22052:   nfields = split(line, field, "@")
                   22053:   substed = 0
                   22054:   len = length(field[1])
                   22055:   for (i = 2; i < nfields; i++) {
                   22056:     key = field[i]
                   22057:     keylen = length(key)
                   22058:     if (S_is_set[key]) {
                   22059:       value = S[key]
                   22060:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   22061:       len += length(value) + length(field[++i])
                   22062:       substed = 1
                   22063:     } else
                   22064:       len += 1 + keylen
                   22065:   }
                   22066: 
                   22067:   print line
                   22068: }
                   22069: 
                   22070: _ACAWK
                   22071: _ACEOF
                   22072: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   22073: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   22074:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
                   22075: else
                   22076:   cat
                   22077: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
                   22078:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
                   22079: _ACEOF
                   22080: 
                   22081: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
                   22082: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
                   22083: # trailing colons and then remove the whole line if VPATH becomes empty
                   22084: # (actually we leave an empty line to preserve line numbers).
                   22085: if test "x$srcdir" = x.; then
                   22086:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
                   22087: h
                   22088: s///
                   22089: s/^/:/
                   22090: s/[     ]*$/:/
                   22091: s/:\$(srcdir):/:/g
                   22092: s/:\${srcdir}:/:/g
                   22093: s/:@srcdir@:/:/g
                   22094: s/^:*//
                   22095: s/:*$//
                   22096: x
                   22097: s/\(=[  ]*\).*/\1/
                   22098: G
                   22099: s/\n//
                   22100: s/^[^=]*=[      ]*$//
                   22101: }'
                   22102: fi
                   22103: 
                   22104: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   22105: fi # test -n "$CONFIG_FILES"
                   22106: 
                   22107: # Set up the scripts for CONFIG_HEADERS section.
                   22108: # No need to generate them if there are no CONFIG_HEADERS.
                   22109: # This happens for instance with `./config.status Makefile'.
                   22110: if test -n "$CONFIG_HEADERS"; then
                   22111: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
                   22112: BEGIN {
                   22113: _ACEOF
                   22114: 
                   22115: # Transform confdefs.h into an awk script `defines.awk', embedded as
                   22116: # here-document in config.status, that substitutes the proper values into
                   22117: # config.h.in to produce config.h.
                   22118: 
                   22119: # Create a delimiter string that does not exist in confdefs.h, to ease
                   22120: # handling of long lines.
                   22121: ac_delim='%!_!# '
                   22122: for ac_last_try in false false :; do
                   22123:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
                   22124:   if test -z "$ac_tt"; then
                   22125:     break
                   22126:   elif $ac_last_try; then
                   22127:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
                   22128:   else
                   22129:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   22130:   fi
                   22131: done
                   22132: 
                   22133: # For the awk script, D is an array of macro values keyed by name,
                   22134: # likewise P contains macro parameters if any.  Preserve backslash
                   22135: # newline sequences.
                   22136: 
                   22137: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
                   22138: sed -n '
                   22139: s/.\{148\}/&'"$ac_delim"'/g
                   22140: t rset
                   22141: :rset
                   22142: s/^[    ]*#[    ]*define[       ][      ]*/ /
                   22143: t def
                   22144: d
                   22145: :def
                   22146: s/\\$//
                   22147: t bsnl
                   22148: s/["\\]/\\&/g
                   22149: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   22150: D["\1"]=" \3"/p
                   22151: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
                   22152: d
                   22153: :bsnl
                   22154: s/["\\]/\\&/g
                   22155: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   22156: D["\1"]=" \3\\\\\\n"\\/p
                   22157: t cont
                   22158: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
                   22159: t cont
                   22160: d
                   22161: :cont
                   22162: n
                   22163: s/.\{148\}/&'"$ac_delim"'/g
                   22164: t clear
                   22165: :clear
                   22166: s/\\$//
                   22167: t bsnlc
                   22168: s/["\\]/\\&/g; s/^/"/; s/$/"/p
                   22169: d
                   22170: :bsnlc
                   22171: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
                   22172: b cont
                   22173: ' <confdefs.h | sed '
                   22174: s/'"$ac_delim"'/"\\\
                   22175: "/g' >>$CONFIG_STATUS || ac_write_fail=1
                   22176: 
                   22177: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   22178:   for (key in D) D_is_set[key] = 1
                   22179:   FS = ""
                   22180: }
                   22181: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
                   22182:   line = \$ 0
                   22183:   split(line, arg, " ")
                   22184:   if (arg[1] == "#") {
                   22185:     defundef = arg[2]
                   22186:     mac1 = arg[3]
                   22187:   } else {
                   22188:     defundef = substr(arg[1], 2)
                   22189:     mac1 = arg[2]
                   22190:   }
                   22191:   split(mac1, mac2, "(") #)
                   22192:   macro = mac2[1]
                   22193:   prefix = substr(line, 1, index(line, defundef) - 1)
                   22194:   if (D_is_set[macro]) {
                   22195:     # Preserve the white space surrounding the "#".
                   22196:     print prefix "define", macro P[macro] D[macro]
                   22197:     next
                   22198:   } else {
                   22199:     # Replace #undef with comments.  This is necessary, for example,
                   22200:     # in the case of _POSIX_SOURCE, which is predefined and required
                   22201:     # on some systems where configure will not decide to define it.
                   22202:     if (defundef == "undef") {
                   22203:       print "/*", prefix defundef, macro, "*/"
                   22204:       next
                   22205:     }
                   22206:   }
                   22207: }
                   22208: { print }
                   22209: _ACAWK
                   22210: _ACEOF
                   22211: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   22212:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
                   22213: fi # test -n "$CONFIG_HEADERS"
                   22214: 
                   22215: 
                   22216: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
                   22217: shift
                   22218: for ac_tag
                   22219: do
                   22220:   case $ac_tag in
                   22221:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   22222:   esac
                   22223:   case $ac_mode$ac_tag in
                   22224:   :[FHL]*:*);;
                   22225:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
                   22226:   :[FH]-) ac_tag=-:-;;
                   22227:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   22228:   esac
                   22229:   ac_save_IFS=$IFS
                   22230:   IFS=:
                   22231:   set x $ac_tag
                   22232:   IFS=$ac_save_IFS
                   22233:   shift
                   22234:   ac_file=$1
                   22235:   shift
                   22236: 
                   22237:   case $ac_mode in
                   22238:   :L) ac_source=$1;;
                   22239:   :[FH])
                   22240:     ac_file_inputs=
                   22241:     for ac_f
                   22242:     do
                   22243:       case $ac_f in
                   22244:       -) ac_f="$ac_tmp/stdin";;
                   22245:       *) # Look for the file first in the build tree, then in the source tree
                   22246:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
                   22247:         # because $ac_f cannot contain `:'.
                   22248:         test -f "$ac_f" ||
                   22249:           case $ac_f in
                   22250:           [\\/$]*) false;;
                   22251:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   22252:           esac ||
                   22253:           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
                   22254:       esac
                   22255:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
                   22256:       as_fn_append ac_file_inputs " '$ac_f'"
                   22257:     done
                   22258: 
                   22259:     # Let's still pretend it is `configure' which instantiates (i.e., don't
                   22260:     # use $as_me), people would be surprised to read:
                   22261:     #    /* config.h.  Generated by config.status.  */
                   22262:     configure_input='Generated from '`
                   22263:          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
                   22264:        `' by configure.'
                   22265:     if test x"$ac_file" != x-; then
                   22266:       configure_input="$ac_file.  $configure_input"
                   22267:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
                   22268: $as_echo "$as_me: creating $ac_file" >&6;}
                   22269:     fi
                   22270:     # Neutralize special characters interpreted by sed in replacement strings.
                   22271:     case $configure_input in #(
                   22272:     *\&* | *\|* | *\\* )
                   22273:        ac_sed_conf_input=`$as_echo "$configure_input" |
                   22274:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   22275:     *) ac_sed_conf_input=$configure_input;;
                   22276:     esac
                   22277: 
                   22278:     case $ac_tag in
                   22279:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
                   22280:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
                   22281:     esac
                   22282:     ;;
                   22283:   esac
                   22284: 
                   22285:   ac_dir=`$as_dirname -- "$ac_file" ||
                   22286: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   22287:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   22288:         X"$ac_file" : 'X\(//\)$' \| \
                   22289:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
                   22290: $as_echo X"$ac_file" |
                   22291:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   22292:            s//\1/
                   22293:            q
                   22294:          }
                   22295:          /^X\(\/\/\)[^/].*/{
                   22296:            s//\1/
                   22297:            q
                   22298:          }
                   22299:          /^X\(\/\/\)$/{
                   22300:            s//\1/
                   22301:            q
                   22302:          }
                   22303:          /^X\(\/\).*/{
                   22304:            s//\1/
                   22305:            q
                   22306:          }
                   22307:          s/.*/./; q'`
                   22308:   as_dir="$ac_dir"; as_fn_mkdir_p
                   22309:   ac_builddir=.
                   22310: 
                   22311: case "$ac_dir" in
                   22312: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   22313: *)
                   22314:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   22315:   # A ".." for each directory in $ac_dir_suffix.
                   22316:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   22317:   case $ac_top_builddir_sub in
                   22318:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   22319:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   22320:   esac ;;
                   22321: esac
                   22322: ac_abs_top_builddir=$ac_pwd
                   22323: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   22324: # for backward compatibility:
                   22325: ac_top_builddir=$ac_top_build_prefix
                   22326: 
                   22327: case $srcdir in
                   22328:   .)  # We are building in place.
                   22329:     ac_srcdir=.
                   22330:     ac_top_srcdir=$ac_top_builddir_sub
                   22331:     ac_abs_top_srcdir=$ac_pwd ;;
                   22332:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   22333:     ac_srcdir=$srcdir$ac_dir_suffix;
                   22334:     ac_top_srcdir=$srcdir
                   22335:     ac_abs_top_srcdir=$srcdir ;;
                   22336:   *) # Relative name.
                   22337:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   22338:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   22339:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   22340: esac
                   22341: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   22342: 
                   22343: 
                   22344:   case $ac_mode in
                   22345:   :F)
                   22346:   #
                   22347:   # CONFIG_FILE
                   22348:   #
                   22349: 
                   22350:   case $INSTALL in
                   22351:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   22352:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
                   22353:   esac
                   22354:   ac_MKDIR_P=$MKDIR_P
                   22355:   case $MKDIR_P in
                   22356:   [\\/$]* | ?:[\\/]* ) ;;
                   22357:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
                   22358:   esac
                   22359: _ACEOF
                   22360: 
                   22361: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   22362: # If the template does not know about datarootdir, expand it.
                   22363: # FIXME: This hack should be removed a few years after 2.60.
                   22364: ac_datarootdir_hack=; ac_datarootdir_seen=
                   22365: ac_sed_dataroot='
                   22366: /datarootdir/ {
                   22367:   p
                   22368:   q
                   22369: }
                   22370: /@datadir@/p
                   22371: /@docdir@/p
                   22372: /@infodir@/p
                   22373: /@localedir@/p
                   22374: /@mandir@/p'
                   22375: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
                   22376: *datarootdir*) ac_datarootdir_seen=yes;;
                   22377: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
                   22378:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
                   22379: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
                   22380: _ACEOF
                   22381: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   22382:   ac_datarootdir_hack='
                   22383:   s&@datadir@&$datadir&g
                   22384:   s&@docdir@&$docdir&g
                   22385:   s&@infodir@&$infodir&g
                   22386:   s&@localedir@&$localedir&g
                   22387:   s&@mandir@&$mandir&g
                   22388:   s&\\\${datarootdir}&$datarootdir&g' ;;
                   22389: esac
                   22390: _ACEOF
                   22391: 
                   22392: # Neutralize VPATH when `$srcdir' = `.'.
                   22393: # Shell code in configure.ac might set extrasub.
                   22394: # FIXME: do we really want to maintain this feature?
                   22395: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   22396: ac_sed_extra="$ac_vpsub
                   22397: $extrasub
                   22398: _ACEOF
                   22399: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   22400: :t
                   22401: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   22402: s|@configure_input@|$ac_sed_conf_input|;t t
                   22403: s&@top_builddir@&$ac_top_builddir_sub&;t t
                   22404: s&@top_build_prefix@&$ac_top_build_prefix&;t t
                   22405: s&@srcdir@&$ac_srcdir&;t t
                   22406: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   22407: s&@top_srcdir@&$ac_top_srcdir&;t t
                   22408: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   22409: s&@builddir@&$ac_builddir&;t t
                   22410: s&@abs_builddir@&$ac_abs_builddir&;t t
                   22411: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
                   22412: s&@INSTALL@&$ac_INSTALL&;t t
                   22413: s&@MKDIR_P@&$ac_MKDIR_P&;t t
                   22414: $ac_datarootdir_hack
                   22415: "
                   22416: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
                   22417:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   22418: 
                   22419: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
                   22420:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
                   22421:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
                   22422:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
                   22423:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   22424: which seems to be undefined.  Please make sure it is defined" >&5
                   22425: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   22426: which seems to be undefined.  Please make sure it is defined" >&2;}
                   22427: 
                   22428:   rm -f "$ac_tmp/stdin"
                   22429:   case $ac_file in
                   22430:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
                   22431:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
                   22432:   esac \
                   22433:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   22434:  ;;
                   22435:   :H)
                   22436:   #
                   22437:   # CONFIG_HEADER
                   22438:   #
                   22439:   if test x"$ac_file" != x-; then
                   22440:     {
                   22441:       $as_echo "/* $configure_input  */" \
                   22442:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
                   22443:     } >"$ac_tmp/config.h" \
                   22444:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   22445:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
                   22446:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
                   22447: $as_echo "$as_me: $ac_file is unchanged" >&6;}
                   22448:     else
                   22449:       rm -f "$ac_file"
                   22450:       mv "$ac_tmp/config.h" "$ac_file" \
                   22451:        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   22452:     fi
                   22453:   else
                   22454:     $as_echo "/* $configure_input  */" \
                   22455:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
                   22456:       || as_fn_error $? "could not create -" "$LINENO" 5
                   22457:   fi
                   22458: # Compute "$ac_file"'s index in $config_headers.
                   22459: _am_arg="$ac_file"
                   22460: _am_stamp_count=1
                   22461: for _am_header in $config_headers :; do
                   22462:   case $_am_header in
                   22463:     $_am_arg | $_am_arg:* )
                   22464:       break ;;
                   22465:     * )
                   22466:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   22467:   esac
                   22468: done
                   22469: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
                   22470: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   22471:         X"$_am_arg" : 'X\(//\)[^/]' \| \
                   22472:         X"$_am_arg" : 'X\(//\)$' \| \
                   22473:         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
                   22474: $as_echo X"$_am_arg" |
                   22475:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   22476:            s//\1/
                   22477:            q
                   22478:          }
                   22479:          /^X\(\/\/\)[^/].*/{
                   22480:            s//\1/
                   22481:            q
                   22482:          }
                   22483:          /^X\(\/\/\)$/{
                   22484:            s//\1/
                   22485:            q
                   22486:          }
                   22487:          /^X\(\/\).*/{
                   22488:            s//\1/
                   22489:            q
                   22490:          }
                   22491:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   22492:  ;;
                   22493: 
                   22494:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
                   22495: $as_echo "$as_me: executing $ac_file commands" >&6;}
                   22496:  ;;
                   22497:   esac
                   22498: 
                   22499: 
                   22500:   case $ac_file$ac_mode in
                   22501:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
                   22502:   # Autoconf 2.62 quotes --file arguments for eval, but not when files
                   22503:   # are listed without --file.  Let's play safe and only enable the eval
                   22504:   # if we detect the quoting.
                   22505:   case $CONFIG_FILES in
                   22506:   *\'*) eval set x "$CONFIG_FILES" ;;
                   22507:   *)   set x $CONFIG_FILES ;;
                   22508:   esac
                   22509:   shift
                   22510:   for mf
                   22511:   do
                   22512:     # Strip MF so we end up with the name of the file.
                   22513:     mf=`echo "$mf" | sed -e 's/:.*$//'`
                   22514:     # Check whether this is an Automake generated Makefile or not.
                   22515:     # We used to match only the files named `Makefile.in', but
                   22516:     # some people rename them; so instead we look at the file content.
                   22517:     # Grep'ing the first line is not enough: some people post-process
                   22518:     # each Makefile.in and add a new line on top of each file to say so.
                   22519:     # Grep'ing the whole file is not good either: AIX grep has a line
                   22520:     # limit of 2048, but all sed's we know have understand at least 4000.
                   22521:     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
                   22522:       dirpart=`$as_dirname -- "$mf" ||
                   22523: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   22524:         X"$mf" : 'X\(//\)[^/]' \| \
                   22525:         X"$mf" : 'X\(//\)$' \| \
                   22526:         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
                   22527: $as_echo X"$mf" |
                   22528:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   22529:            s//\1/
                   22530:            q
                   22531:          }
                   22532:          /^X\(\/\/\)[^/].*/{
                   22533:            s//\1/
                   22534:            q
                   22535:          }
                   22536:          /^X\(\/\/\)$/{
                   22537:            s//\1/
                   22538:            q
                   22539:          }
                   22540:          /^X\(\/\).*/{
                   22541:            s//\1/
                   22542:            q
                   22543:          }
                   22544:          s/.*/./; q'`
                   22545:     else
                   22546:       continue
                   22547:     fi
                   22548:     # Extract the definition of DEPDIR, am__include, and am__quote
                   22549:     # from the Makefile without running `make'.
                   22550:     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
                   22551:     test -z "$DEPDIR" && continue
                   22552:     am__include=`sed -n 's/^am__include = //p' < "$mf"`
                   22553:     test -z "am__include" && continue
                   22554:     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
                   22555:     # When using ansi2knr, U may be empty or an underscore; expand it
                   22556:     U=`sed -n 's/^U = //p' < "$mf"`
                   22557:     # Find all dependency output files, they are included files with
                   22558:     # $(DEPDIR) in their names.  We invoke sed twice because it is the
                   22559:     # simplest approach to changing $(DEPDIR) to its actual value in the
                   22560:     # expansion.
                   22561:     for file in `sed -n "
                   22562:       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
                   22563:         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
                   22564:       # Make sure the directory exists.
                   22565:       test -f "$dirpart/$file" && continue
                   22566:       fdir=`$as_dirname -- "$file" ||
                   22567: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   22568:         X"$file" : 'X\(//\)[^/]' \| \
                   22569:         X"$file" : 'X\(//\)$' \| \
                   22570:         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
                   22571: $as_echo X"$file" |
                   22572:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   22573:            s//\1/
                   22574:            q
                   22575:          }
                   22576:          /^X\(\/\/\)[^/].*/{
                   22577:            s//\1/
                   22578:            q
                   22579:          }
                   22580:          /^X\(\/\/\)$/{
                   22581:            s//\1/
                   22582:            q
                   22583:          }
                   22584:          /^X\(\/\).*/{
                   22585:            s//\1/
                   22586:            q
                   22587:          }
                   22588:          s/.*/./; q'`
                   22589:       as_dir=$dirpart/$fdir; as_fn_mkdir_p
                   22590:       # echo "creating $dirpart/$file"
                   22591:       echo '# dummy' > "$dirpart/$file"
                   22592:     done
                   22593:   done
                   22594: }
                   22595:  ;;
                   22596:     "libtool":C)
                   22597: 
                   22598:     # See if we are running on zsh, and set the options which allow our
                   22599:     # commands through without removal of \ escapes.
                   22600:     if test -n "${ZSH_VERSION+set}" ; then
                   22601:       setopt NO_GLOB_SUBST
                   22602:     fi
                   22603: 
                   22604:     cfgfile="${ofile}T"
                   22605:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
                   22606:     $RM "$cfgfile"
                   22607: 
                   22608:     cat <<_LT_EOF >> "$cfgfile"
                   22609: #! $SHELL
                   22610: 
                   22611: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
                   22612: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
                   22613: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
                   22614: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
                   22615: #
                   22616: #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
1.1.1.2 ! misho    22617: #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
        !          22618: #                 Foundation, Inc.
1.1       misho    22619: #   Written by Gordon Matzigkeit, 1996
                   22620: #
                   22621: #   This file is part of GNU Libtool.
                   22622: #
                   22623: # GNU Libtool is free software; you can redistribute it and/or
                   22624: # modify it under the terms of the GNU General Public License as
                   22625: # published by the Free Software Foundation; either version 2 of
                   22626: # the License, or (at your option) any later version.
                   22627: #
                   22628: # As a special exception to the GNU General Public License,
                   22629: # if you distribute this file as part of a program or library that
                   22630: # is built using GNU Libtool, you may include this file under the
                   22631: # same distribution terms that you use for the rest of that program.
                   22632: #
                   22633: # GNU Libtool is distributed in the hope that it will be useful,
                   22634: # but WITHOUT ANY WARRANTY; without even the implied warranty of
                   22635: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   22636: # GNU General Public License for more details.
                   22637: #
                   22638: # You should have received a copy of the GNU General Public License
                   22639: # along with GNU Libtool; see the file COPYING.  If not, a copy
                   22640: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
                   22641: # obtained by writing to the Free Software Foundation, Inc.,
                   22642: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
                   22643: 
                   22644: 
                   22645: # The names of the tagged configurations supported by this script.
                   22646: available_tags=""
                   22647: 
                   22648: # ### BEGIN LIBTOOL CONFIG
                   22649: 
                   22650: # Which release of libtool.m4 was used?
                   22651: macro_version=$macro_version
                   22652: macro_revision=$macro_revision
                   22653: 
                   22654: # Whether or not to build shared libraries.
                   22655: build_libtool_libs=$enable_shared
                   22656: 
                   22657: # Whether or not to build static libraries.
                   22658: build_old_libs=$enable_static
                   22659: 
                   22660: # What type of objects to build.
                   22661: pic_mode=$pic_mode
                   22662: 
                   22663: # Whether or not to optimize for fast installation.
                   22664: fast_install=$enable_fast_install
                   22665: 
                   22666: # Shell to use when invoking shell scripts.
                   22667: SHELL=$lt_SHELL
                   22668: 
                   22669: # An echo program that protects backslashes.
                   22670: ECHO=$lt_ECHO
                   22671: 
1.1.1.2 ! misho    22672: # The PATH separator for the build system.
        !          22673: PATH_SEPARATOR=$lt_PATH_SEPARATOR
        !          22674: 
1.1       misho    22675: # The host system.
                   22676: host_alias=$host_alias
                   22677: host=$host
                   22678: host_os=$host_os
                   22679: 
                   22680: # The build system.
                   22681: build_alias=$build_alias
                   22682: build=$build
                   22683: build_os=$build_os
                   22684: 
                   22685: # A sed program that does not truncate output.
                   22686: SED=$lt_SED
                   22687: 
                   22688: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   22689: Xsed="\$SED -e 1s/^X//"
                   22690: 
                   22691: # A grep program that handles long lines.
                   22692: GREP=$lt_GREP
                   22693: 
                   22694: # An ERE matcher.
                   22695: EGREP=$lt_EGREP
                   22696: 
                   22697: # A literal string matcher.
                   22698: FGREP=$lt_FGREP
                   22699: 
                   22700: # A BSD- or MS-compatible name lister.
                   22701: NM=$lt_NM
                   22702: 
                   22703: # Whether we need soft or hard links.
                   22704: LN_S=$lt_LN_S
                   22705: 
                   22706: # What is the maximum length of a command?
                   22707: max_cmd_len=$max_cmd_len
                   22708: 
                   22709: # Object file suffix (normally "o").
                   22710: objext=$ac_objext
                   22711: 
                   22712: # Executable file suffix (normally "").
                   22713: exeext=$exeext
                   22714: 
                   22715: # whether the shell understands "unset".
                   22716: lt_unset=$lt_unset
                   22717: 
                   22718: # turn spaces into newlines.
                   22719: SP2NL=$lt_lt_SP2NL
                   22720: 
                   22721: # turn newlines into spaces.
                   22722: NL2SP=$lt_lt_NL2SP
                   22723: 
                   22724: # convert \$build file names to \$host format.
                   22725: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   22726: 
                   22727: # convert \$build files to toolchain format.
                   22728: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   22729: 
                   22730: # An object symbol dumper.
                   22731: OBJDUMP=$lt_OBJDUMP
                   22732: 
                   22733: # Method to check whether dependent libraries are shared objects.
                   22734: deplibs_check_method=$lt_deplibs_check_method
                   22735: 
                   22736: # Command to use when deplibs_check_method = "file_magic".
                   22737: file_magic_cmd=$lt_file_magic_cmd
                   22738: 
                   22739: # How to find potential files when deplibs_check_method = "file_magic".
                   22740: file_magic_glob=$lt_file_magic_glob
                   22741: 
                   22742: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
                   22743: want_nocaseglob=$lt_want_nocaseglob
                   22744: 
                   22745: # DLL creation program.
                   22746: DLLTOOL=$lt_DLLTOOL
                   22747: 
                   22748: # Command to associate shared and link libraries.
                   22749: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
                   22750: 
                   22751: # The archiver.
                   22752: AR=$lt_AR
                   22753: 
                   22754: # Flags to create an archive.
                   22755: AR_FLAGS=$lt_AR_FLAGS
                   22756: 
                   22757: # How to feed a file listing to the archiver.
                   22758: archiver_list_spec=$lt_archiver_list_spec
                   22759: 
                   22760: # A symbol stripping program.
                   22761: STRIP=$lt_STRIP
                   22762: 
                   22763: # Commands used to install an old-style archive.
                   22764: RANLIB=$lt_RANLIB
                   22765: old_postinstall_cmds=$lt_old_postinstall_cmds
                   22766: old_postuninstall_cmds=$lt_old_postuninstall_cmds
                   22767: 
                   22768: # Whether to use a lock for old archive extraction.
                   22769: lock_old_archive_extraction=$lock_old_archive_extraction
                   22770: 
                   22771: # A C compiler.
                   22772: LTCC=$lt_CC
                   22773: 
                   22774: # LTCC compiler flags.
                   22775: LTCFLAGS=$lt_CFLAGS
                   22776: 
                   22777: # Take the output of nm and produce a listing of raw symbols and C names.
                   22778: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
                   22779: 
                   22780: # Transform the output of nm in a proper C declaration.
                   22781: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
                   22782: 
                   22783: # Transform the output of nm in a C name address pair.
                   22784: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
                   22785: 
                   22786: # Transform the output of nm in a C name address pair when lib prefix is needed.
                   22787: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
                   22788: 
                   22789: # Specify filename containing input files for \$NM.
                   22790: nm_file_list_spec=$lt_nm_file_list_spec
                   22791: 
                   22792: # The root where to search for dependent libraries,and in which our libraries should be installed.
                   22793: lt_sysroot=$lt_sysroot
                   22794: 
                   22795: # The name of the directory that contains temporary libtool files.
                   22796: objdir=$objdir
                   22797: 
                   22798: # Used to examine libraries when file_magic_cmd begins with "file".
                   22799: MAGIC_CMD=$MAGIC_CMD
                   22800: 
                   22801: # Must we lock files when doing compilation?
                   22802: need_locks=$lt_need_locks
                   22803: 
                   22804: # Manifest tool.
                   22805: MANIFEST_TOOL=$lt_MANIFEST_TOOL
                   22806: 
                   22807: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
                   22808: DSYMUTIL=$lt_DSYMUTIL
                   22809: 
                   22810: # Tool to change global to local symbols on Mac OS X.
                   22811: NMEDIT=$lt_NMEDIT
                   22812: 
                   22813: # Tool to manipulate fat objects and archives on Mac OS X.
                   22814: LIPO=$lt_LIPO
                   22815: 
                   22816: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
                   22817: OTOOL=$lt_OTOOL
                   22818: 
                   22819: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
                   22820: OTOOL64=$lt_OTOOL64
                   22821: 
                   22822: # Old archive suffix (normally "a").
                   22823: libext=$libext
                   22824: 
                   22825: # Shared library suffix (normally ".so").
                   22826: shrext_cmds=$lt_shrext_cmds
                   22827: 
                   22828: # The commands to extract the exported symbol list from a shared archive.
                   22829: extract_expsyms_cmds=$lt_extract_expsyms_cmds
                   22830: 
                   22831: # Variables whose values should be saved in libtool wrapper scripts and
                   22832: # restored at link time.
                   22833: variables_saved_for_relink=$lt_variables_saved_for_relink
                   22834: 
                   22835: # Do we need the "lib" prefix for modules?
                   22836: need_lib_prefix=$need_lib_prefix
                   22837: 
                   22838: # Do we need a version for libraries?
                   22839: need_version=$need_version
                   22840: 
                   22841: # Library versioning type.
                   22842: version_type=$version_type
                   22843: 
                   22844: # Shared library runtime path variable.
                   22845: runpath_var=$runpath_var
                   22846: 
                   22847: # Shared library path variable.
                   22848: shlibpath_var=$shlibpath_var
                   22849: 
                   22850: # Is shlibpath searched before the hard-coded library search path?
                   22851: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
                   22852: 
                   22853: # Format of library name prefix.
                   22854: libname_spec=$lt_libname_spec
                   22855: 
                   22856: # List of archive names.  First name is the real one, the rest are links.
                   22857: # The last name is the one that the linker finds with -lNAME
                   22858: library_names_spec=$lt_library_names_spec
                   22859: 
                   22860: # The coded name of the library, if different from the real name.
                   22861: soname_spec=$lt_soname_spec
                   22862: 
                   22863: # Permission mode override for installation of shared libraries.
                   22864: install_override_mode=$lt_install_override_mode
                   22865: 
                   22866: # Command to use after installation of a shared archive.
                   22867: postinstall_cmds=$lt_postinstall_cmds
                   22868: 
                   22869: # Command to use after uninstallation of a shared archive.
                   22870: postuninstall_cmds=$lt_postuninstall_cmds
                   22871: 
                   22872: # Commands used to finish a libtool library installation in a directory.
                   22873: finish_cmds=$lt_finish_cmds
                   22874: 
                   22875: # As "finish_cmds", except a single script fragment to be evaled but
                   22876: # not shown.
                   22877: finish_eval=$lt_finish_eval
                   22878: 
                   22879: # Whether we should hardcode library paths into libraries.
                   22880: hardcode_into_libs=$hardcode_into_libs
                   22881: 
                   22882: # Compile-time system search path for libraries.
                   22883: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
                   22884: 
                   22885: # Run-time system search path for libraries.
                   22886: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
                   22887: 
                   22888: # Whether dlopen is supported.
                   22889: dlopen_support=$enable_dlopen
                   22890: 
                   22891: # Whether dlopen of programs is supported.
                   22892: dlopen_self=$enable_dlopen_self
                   22893: 
                   22894: # Whether dlopen of statically linked programs is supported.
                   22895: dlopen_self_static=$enable_dlopen_self_static
                   22896: 
                   22897: # Commands to strip libraries.
                   22898: old_striplib=$lt_old_striplib
                   22899: striplib=$lt_striplib
                   22900: 
                   22901: 
                   22902: # The linker used to build libraries.
                   22903: LD=$lt_LD
                   22904: 
                   22905: # How to create reloadable object files.
                   22906: reload_flag=$lt_reload_flag
                   22907: reload_cmds=$lt_reload_cmds
                   22908: 
                   22909: # Commands used to build an old-style archive.
                   22910: old_archive_cmds=$lt_old_archive_cmds
                   22911: 
                   22912: # A language specific compiler.
                   22913: CC=$lt_compiler
                   22914: 
                   22915: # Is the compiler the GNU compiler?
                   22916: with_gcc=$GCC
                   22917: 
                   22918: # Compiler flag to turn off builtin functions.
                   22919: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
                   22920: 
                   22921: # Additional compiler flags for building library objects.
                   22922: pic_flag=$lt_lt_prog_compiler_pic
                   22923: 
                   22924: # How to pass a linker flag through the compiler.
                   22925: wl=$lt_lt_prog_compiler_wl
                   22926: 
                   22927: # Compiler flag to prevent dynamic linking.
                   22928: link_static_flag=$lt_lt_prog_compiler_static
                   22929: 
                   22930: # Does compiler simultaneously support -c and -o options?
                   22931: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
                   22932: 
                   22933: # Whether or not to add -lc for building shared libraries.
                   22934: build_libtool_need_lc=$archive_cmds_need_lc
                   22935: 
                   22936: # Whether or not to disallow shared libs when runtime libs are static.
                   22937: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
                   22938: 
                   22939: # Compiler flag to allow reflexive dlopens.
                   22940: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
                   22941: 
                   22942: # Compiler flag to generate shared objects directly from archives.
                   22943: whole_archive_flag_spec=$lt_whole_archive_flag_spec
                   22944: 
                   22945: # Whether the compiler copes with passing no objects directly.
                   22946: compiler_needs_object=$lt_compiler_needs_object
                   22947: 
                   22948: # Create an old-style archive from a shared archive.
                   22949: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
                   22950: 
                   22951: # Create a temporary old-style archive to link instead of a shared archive.
                   22952: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
                   22953: 
                   22954: # Commands used to build a shared archive.
                   22955: archive_cmds=$lt_archive_cmds
                   22956: archive_expsym_cmds=$lt_archive_expsym_cmds
                   22957: 
                   22958: # Commands used to build a loadable module if different from building
                   22959: # a shared archive.
                   22960: module_cmds=$lt_module_cmds
                   22961: module_expsym_cmds=$lt_module_expsym_cmds
                   22962: 
                   22963: # Whether we are building with GNU ld or not.
                   22964: with_gnu_ld=$lt_with_gnu_ld
                   22965: 
                   22966: # Flag that allows shared libraries with undefined symbols to be built.
                   22967: allow_undefined_flag=$lt_allow_undefined_flag
                   22968: 
                   22969: # Flag that enforces no undefined symbols.
                   22970: no_undefined_flag=$lt_no_undefined_flag
                   22971: 
                   22972: # Flag to hardcode \$libdir into a binary during linking.
                   22973: # This must work even if \$libdir does not exist
                   22974: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
                   22975: 
                   22976: # Whether we need a single "-rpath" flag with a separated argument.
                   22977: hardcode_libdir_separator=$lt_hardcode_libdir_separator
                   22978: 
                   22979: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   22980: # DIR into the resulting binary.
                   22981: hardcode_direct=$hardcode_direct
                   22982: 
                   22983: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   22984: # DIR into the resulting binary and the resulting library dependency is
                   22985: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   22986: # library is relocated.
                   22987: hardcode_direct_absolute=$hardcode_direct_absolute
                   22988: 
                   22989: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   22990: # into the resulting binary.
                   22991: hardcode_minus_L=$hardcode_minus_L
                   22992: 
                   22993: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   22994: # into the resulting binary.
                   22995: hardcode_shlibpath_var=$hardcode_shlibpath_var
                   22996: 
                   22997: # Set to "yes" if building a shared library automatically hardcodes DIR
                   22998: # into the library and all subsequent libraries and executables linked
                   22999: # against it.
                   23000: hardcode_automatic=$hardcode_automatic
                   23001: 
                   23002: # Set to yes if linker adds runtime paths of dependent libraries
                   23003: # to runtime path list.
                   23004: inherit_rpath=$inherit_rpath
                   23005: 
                   23006: # Whether libtool must link a program against all its dependency libraries.
                   23007: link_all_deplibs=$link_all_deplibs
                   23008: 
                   23009: # Set to "yes" if exported symbols are required.
                   23010: always_export_symbols=$always_export_symbols
                   23011: 
                   23012: # The commands to list exported symbols.
                   23013: export_symbols_cmds=$lt_export_symbols_cmds
                   23014: 
                   23015: # Symbols that should not be listed in the preloaded symbols.
                   23016: exclude_expsyms=$lt_exclude_expsyms
                   23017: 
                   23018: # Symbols that must always be exported.
                   23019: include_expsyms=$lt_include_expsyms
                   23020: 
                   23021: # Commands necessary for linking programs (against libraries) with templates.
                   23022: prelink_cmds=$lt_prelink_cmds
                   23023: 
                   23024: # Commands necessary for finishing linking programs.
                   23025: postlink_cmds=$lt_postlink_cmds
                   23026: 
                   23027: # Specify filename containing input files.
                   23028: file_list_spec=$lt_file_list_spec
                   23029: 
                   23030: # How to hardcode a shared library path into an executable.
                   23031: hardcode_action=$hardcode_action
                   23032: 
                   23033: # ### END LIBTOOL CONFIG
                   23034: 
                   23035: _LT_EOF
                   23036: 
                   23037:   case $host_os in
                   23038:   aix3*)
                   23039:     cat <<\_LT_EOF >> "$cfgfile"
                   23040: # AIX sometimes has problems with the GCC collect2 program.  For some
                   23041: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   23042: # vanish in a puff of smoke.
                   23043: if test "X${COLLECT_NAMES+set}" != Xset; then
                   23044:   COLLECT_NAMES=
                   23045:   export COLLECT_NAMES
                   23046: fi
                   23047: _LT_EOF
                   23048:     ;;
                   23049:   esac
                   23050: 
                   23051: 
                   23052: ltmain="$ac_aux_dir/ltmain.sh"
                   23053: 
                   23054: 
                   23055:   # We use sed instead of cat because bash on DJGPP gets confused if
                   23056:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   23057:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   23058:   # is reportedly fixed, but why not run on old versions too?
                   23059:   sed '$q' "$ltmain" >> "$cfgfile" \
                   23060:      || (rm -f "$cfgfile"; exit 1)
                   23061: 
                   23062:   if test x"$xsi_shell" = xyes; then
                   23063:   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
                   23064: func_dirname ()\
                   23065: {\
                   23066: \    case ${1} in\
                   23067: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   23068: \      *  ) func_dirname_result="${3}" ;;\
                   23069: \    esac\
                   23070: } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
                   23071:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   23072:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   23073: test 0 -eq $? || _lt_function_replace_fail=:
                   23074: 
                   23075: 
                   23076:   sed -e '/^func_basename ()$/,/^} # func_basename /c\
                   23077: func_basename ()\
                   23078: {\
                   23079: \    func_basename_result="${1##*/}"\
                   23080: } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   23081:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   23082:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   23083: test 0 -eq $? || _lt_function_replace_fail=:
                   23084: 
                   23085: 
                   23086:   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
                   23087: func_dirname_and_basename ()\
                   23088: {\
                   23089: \    case ${1} in\
                   23090: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   23091: \      *  ) func_dirname_result="${3}" ;;\
                   23092: \    esac\
                   23093: \    func_basename_result="${1##*/}"\
                   23094: } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   23095:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   23096:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   23097: test 0 -eq $? || _lt_function_replace_fail=:
                   23098: 
                   23099: 
                   23100:   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
                   23101: func_stripname ()\
                   23102: {\
                   23103: \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
                   23104: \    # positional parameters, so assign one to ordinary parameter first.\
                   23105: \    func_stripname_result=${3}\
                   23106: \    func_stripname_result=${func_stripname_result#"${1}"}\
                   23107: \    func_stripname_result=${func_stripname_result%"${2}"}\
                   23108: } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
                   23109:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   23110:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   23111: test 0 -eq $? || _lt_function_replace_fail=:
                   23112: 
                   23113: 
                   23114:   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
                   23115: func_split_long_opt ()\
                   23116: {\
                   23117: \    func_split_long_opt_name=${1%%=*}\
                   23118: \    func_split_long_opt_arg=${1#*=}\
                   23119: } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   23120:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   23121:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   23122: test 0 -eq $? || _lt_function_replace_fail=:
                   23123: 
                   23124: 
                   23125:   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
                   23126: func_split_short_opt ()\
                   23127: {\
                   23128: \    func_split_short_opt_arg=${1#??}\
                   23129: \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
                   23130: } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   23131:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   23132:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   23133: test 0 -eq $? || _lt_function_replace_fail=:
                   23134: 
                   23135: 
                   23136:   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
                   23137: func_lo2o ()\
                   23138: {\
                   23139: \    case ${1} in\
                   23140: \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
                   23141: \      *)    func_lo2o_result=${1} ;;\
                   23142: \    esac\
                   23143: } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
                   23144:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   23145:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   23146: test 0 -eq $? || _lt_function_replace_fail=:
                   23147: 
                   23148: 
                   23149:   sed -e '/^func_xform ()$/,/^} # func_xform /c\
                   23150: func_xform ()\
                   23151: {\
                   23152:     func_xform_result=${1%.*}.lo\
                   23153: } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
                   23154:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   23155:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   23156: test 0 -eq $? || _lt_function_replace_fail=:
                   23157: 
                   23158: 
                   23159:   sed -e '/^func_arith ()$/,/^} # func_arith /c\
                   23160: func_arith ()\
                   23161: {\
                   23162:     func_arith_result=$(( $* ))\
                   23163: } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
                   23164:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   23165:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   23166: test 0 -eq $? || _lt_function_replace_fail=:
                   23167: 
                   23168: 
                   23169:   sed -e '/^func_len ()$/,/^} # func_len /c\
                   23170: func_len ()\
                   23171: {\
                   23172:     func_len_result=${#1}\
                   23173: } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
                   23174:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   23175:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   23176: test 0 -eq $? || _lt_function_replace_fail=:
                   23177: 
                   23178: fi
                   23179: 
                   23180: if test x"$lt_shell_append" = xyes; then
                   23181:   sed -e '/^func_append ()$/,/^} # func_append /c\
                   23182: func_append ()\
                   23183: {\
                   23184:     eval "${1}+=\\${2}"\
                   23185: } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
                   23186:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   23187:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   23188: test 0 -eq $? || _lt_function_replace_fail=:
                   23189: 
                   23190: 
                   23191:   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
                   23192: func_append_quoted ()\
                   23193: {\
                   23194: \    func_quote_for_eval "${2}"\
                   23195: \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
                   23196: } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
                   23197:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   23198:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   23199: test 0 -eq $? || _lt_function_replace_fail=:
                   23200: 
                   23201: 
                   23202:   # Save a `func_append' function call where possible by direct use of '+='
                   23203:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
                   23204:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   23205:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   23206:   test 0 -eq $? || _lt_function_replace_fail=:
                   23207: else
                   23208:   # Save a `func_append' function call even when '+=' is not available
                   23209:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
                   23210:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   23211:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   23212:   test 0 -eq $? || _lt_function_replace_fail=:
                   23213: fi
                   23214: 
                   23215: if test x"$_lt_function_replace_fail" = x":"; then
                   23216:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
                   23217: $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
                   23218: fi
                   23219: 
                   23220: 
                   23221:    mv -f "$cfgfile" "$ofile" ||
                   23222:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
                   23223:   chmod +x "$ofile"
                   23224: 
                   23225:  ;;
                   23226:     "vtysh/extract.pl":F) chmod +x vtysh/extract.pl ;;
                   23227: 
                   23228:   esac
                   23229: done # for ac_tag
                   23230: 
                   23231: 
                   23232: as_fn_exit 0
                   23233: _ACEOF
                   23234: ac_clean_files=$ac_clean_files_save
                   23235: 
                   23236: test $ac_write_fail = 0 ||
                   23237:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
                   23238: 
                   23239: 
                   23240: # configure is writing to config.log, and then calls config.status.
                   23241: # config.status does its own redirection, appending to config.log.
                   23242: # Unfortunately, on DOS this fails, as config.log is still kept open
                   23243: # by configure, so config.status won't be able to write to it; its
                   23244: # output is simply discarded.  So we exec the FD to /dev/null,
                   23245: # effectively closing config.log, so it can be properly (re)opened and
                   23246: # appended to by config.status.  When coming back to configure, we
                   23247: # need to make the FD available again.
                   23248: if test "$no_create" != yes; then
                   23249:   ac_cs_success=:
                   23250:   ac_config_status_args=
                   23251:   test "$silent" = yes &&
                   23252:     ac_config_status_args="$ac_config_status_args --quiet"
                   23253:   exec 5>/dev/null
                   23254:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   23255:   exec 5>>config.log
                   23256:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   23257:   # would make configure fail if this is the last instruction.
                   23258:   $ac_cs_success || as_fn_exit 1
                   23259: fi
                   23260: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
                   23261:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
                   23262: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
                   23263: fi
                   23264: 
                   23265: 
                   23266: echo "
                   23267: Quagga configuration
                   23268: --------------------
                   23269: quagga version          : ${PACKAGE_VERSION}
                   23270: host operating system  : ${host_os}
                   23271: source code location    : ${srcdir}
                   23272: compiler                : ${CC}
                   23273: compiler flags          : ${CFLAGS}
                   23274: make                    : ${MAKE-make}
                   23275: includes                : ${INCLUDES} ${SNMP_INCLUDES}
                   23276: linker flags            : ${LDFLAGS} ${LIBS} ${LIBCAP} ${LIBREADLINE} ${LIBM}
                   23277: state file directory    : ${quagga_statedir}
                   23278: config file directory   : `eval echo \`echo ${sysconfdir}\``
                   23279: example directory       : `eval echo \`echo ${exampledir}\``
                   23280: user to run as         : ${enable_user}
                   23281: group to run as                : ${enable_group}
                   23282: group for vty sockets  : ${enable_vty_group}
                   23283: config file mask        : ${enable_configfile_mask}
                   23284: log file mask           : ${enable_logfile_mask}
                   23285: 
                   23286: The above user and group must have read/write access to the state file
                   23287: directory and to the config files in the config file directory."
                   23288: 
                   23289: if test x"$quagga_cv_gnu_make" = x"no"; then echo "
                   23290: Warning: The ${MAKE-make} programme detected, either in your path or
                   23291: via the MAKE variable, is not GNU Make. GNU make may be installed as
                   23292: gmake on some systems. and is required to complete a build of Quagga
                   23293: " > /dev/stderr
                   23294: fi

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