Annotation of embedaddon/ipsec-tools/configure, revision 1.1.1.1

1.1       misho       1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
                      3: # Generated by GNU Autoconf 2.67 for ipsec-tools 0.8.0.
                      4: #
                      5: #
                      6: # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
                      7: # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
                      8: # Foundation, Inc.
                      9: #
                     10: #
                     11: # This configure script is free software; the Free Software Foundation
                     12: # gives unlimited permission to copy, distribute and modify it.
                     13: ## -------------------- ##
                     14: ## M4sh Initialization. ##
                     15: ## -------------------- ##
                     16: 
                     17: # Be more Bourne compatible
                     18: DUALCASE=1; export DUALCASE # for MKS sh
                     19: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
                     20:   emulate sh
                     21:   NULLCMD=:
                     22:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
                     23:   # is contrary to our usage.  Disable this feature.
                     24:   alias -g '${1+"$@"}'='"$@"'
                     25:   setopt NO_GLOB_SUBST
                     26: else
                     27:   case `(set -o) 2>/dev/null` in #(
                     28:   *posix*) :
                     29:     set -o posix ;; #(
                     30:   *) :
                     31:      ;;
                     32: esac
                     33: fi
                     34: 
                     35: 
                     36: as_nl='
                     37: '
                     38: export as_nl
                     39: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                     40: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                     41: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                     42: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                     43: # Prefer a ksh shell builtin over an external printf program on Solaris,
                     44: # but without wasting forks for bash or zsh.
                     45: if test -z "$BASH_VERSION$ZSH_VERSION" \
                     46:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                     47:   as_echo='print -r --'
                     48:   as_echo_n='print -rn --'
                     49: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                     50:   as_echo='printf %s\n'
                     51:   as_echo_n='printf %s'
                     52: else
                     53:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                     54:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                     55:     as_echo_n='/usr/ucb/echo -n'
                     56:   else
                     57:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                     58:     as_echo_n_body='eval
                     59:       arg=$1;
                     60:       case $arg in #(
                     61:       *"$as_nl"*)
                     62:        expr "X$arg" : "X\\(.*\\)$as_nl";
                     63:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                     64:       esac;
                     65:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                     66:     '
                     67:     export as_echo_n_body
                     68:     as_echo_n='sh -c $as_echo_n_body as_echo'
                     69:   fi
                     70:   export as_echo_body
                     71:   as_echo='sh -c $as_echo_body as_echo'
                     72: fi
                     73: 
                     74: # The user is always right.
                     75: if test "${PATH_SEPARATOR+set}" != set; then
                     76:   PATH_SEPARATOR=:
                     77:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                     78:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                     79:       PATH_SEPARATOR=';'
                     80:   }
                     81: fi
                     82: 
                     83: 
                     84: # IFS
                     85: # We need space, tab and new line, in precisely that order.  Quoting is
                     86: # there to prevent editors from complaining about space-tab.
                     87: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                     88: # splitting by setting IFS to empty value.)
                     89: IFS=" ""       $as_nl"
                     90: 
                     91: # Find who we are.  Look in the path if we contain no directory separator.
                     92: case $0 in #((
                     93:   *[\\/]* ) as_myself=$0 ;;
                     94:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                     95: for as_dir in $PATH
                     96: do
                     97:   IFS=$as_save_IFS
                     98:   test -z "$as_dir" && as_dir=.
                     99:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                    100:   done
                    101: IFS=$as_save_IFS
                    102: 
                    103:      ;;
                    104: esac
                    105: # We did not find ourselves, most probably we were run as `sh COMMAND'
                    106: # in which case we are not to be found in the path.
                    107: if test "x$as_myself" = x; then
                    108:   as_myself=$0
                    109: fi
                    110: if test ! -f "$as_myself"; then
                    111:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                    112:   exit 1
                    113: fi
                    114: 
                    115: # Unset variables that we do not need and which cause bugs (e.g. in
                    116: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                    117: # suppresses any "Segmentation fault" message there.  '((' could
                    118: # trigger a bug in pdksh 5.2.14.
                    119: for as_var in BASH_ENV ENV MAIL MAILPATH
                    120: do eval test x\${$as_var+set} = xset \
                    121:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                    122: done
                    123: PS1='$ '
                    124: PS2='> '
                    125: PS4='+ '
                    126: 
                    127: # NLS nuisances.
                    128: LC_ALL=C
                    129: export LC_ALL
                    130: LANGUAGE=C
                    131: export LANGUAGE
                    132: 
                    133: # CDPATH.
                    134: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                    135: 
                    136: if test "x$CONFIG_SHELL" = x; then
                    137:   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
                    138:   emulate sh
                    139:   NULLCMD=:
                    140:   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
                    141:   # is contrary to our usage.  Disable this feature.
                    142:   alias -g '\${1+\"\$@\"}'='\"\$@\"'
                    143:   setopt NO_GLOB_SUBST
                    144: else
                    145:   case \`(set -o) 2>/dev/null\` in #(
                    146:   *posix*) :
                    147:     set -o posix ;; #(
                    148:   *) :
                    149:      ;;
                    150: esac
                    151: fi
                    152: "
                    153:   as_required="as_fn_return () { (exit \$1); }
                    154: as_fn_success () { as_fn_return 0; }
                    155: as_fn_failure () { as_fn_return 1; }
                    156: as_fn_ret_success () { return 0; }
                    157: as_fn_ret_failure () { return 1; }
                    158: 
                    159: exitcode=0
                    160: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
                    161: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
                    162: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
                    163: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
                    164: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
                    165: 
                    166: else
                    167:   exitcode=1; echo positional parameters were not saved.
                    168: fi
                    169: test x\$exitcode = x0 || exit 1"
                    170:   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
                    171:   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
                    172:   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
                    173:   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
                    174: test \$(( 1 + 1 )) = 2 || exit 1"
                    175:   if (eval "$as_required") 2>/dev/null; then :
                    176:   as_have_required=yes
                    177: else
                    178:   as_have_required=no
                    179: fi
                    180:   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
                    181: 
                    182: else
                    183:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                    184: as_found=false
                    185: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                    186: do
                    187:   IFS=$as_save_IFS
                    188:   test -z "$as_dir" && as_dir=.
                    189:   as_found=:
                    190:   case $as_dir in #(
                    191:         /*)
                    192:           for as_base in sh bash ksh sh5; do
                    193:             # Try only shells that exist, to save several forks.
                    194:             as_shell=$as_dir/$as_base
                    195:             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
                    196:                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
                    197:   CONFIG_SHELL=$as_shell as_have_required=yes
                    198:                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
                    199:   break 2
                    200: fi
                    201: fi
                    202:           done;;
                    203:        esac
                    204:   as_found=false
                    205: done
                    206: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
                    207:              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
                    208:   CONFIG_SHELL=$SHELL as_have_required=yes
                    209: fi; }
                    210: IFS=$as_save_IFS
                    211: 
                    212: 
                    213:       if test "x$CONFIG_SHELL" != x; then :
                    214:   # We cannot yet assume a decent shell, so we have to provide a
                    215:        # neutralization value for shells without unset; and this also
                    216:        # works around shells that cannot unset nonexistent variables.
                    217:        BASH_ENV=/dev/null
                    218:        ENV=/dev/null
                    219:        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
                    220:        export CONFIG_SHELL
                    221:        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
                    222: fi
                    223: 
                    224:     if test x$as_have_required = xno; then :
                    225:   $as_echo "$0: This script requires a shell more modern than all"
                    226:   $as_echo "$0: the shells that I found on your system."
                    227:   if test x${ZSH_VERSION+set} = xset ; then
                    228:     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
                    229:     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
                    230:   else
                    231:     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
                    232: $0: including any error possibly output before this
                    233: $0: message. Then install a modern shell, or manually run
                    234: $0: the script under such a shell if you do have one."
                    235:   fi
                    236:   exit 1
                    237: fi
                    238: fi
                    239: fi
                    240: SHELL=${CONFIG_SHELL-/bin/sh}
                    241: export SHELL
                    242: # Unset more variables known to interfere with behavior of common tools.
                    243: CLICOLOR_FORCE= GREP_OPTIONS=
                    244: unset CLICOLOR_FORCE GREP_OPTIONS
                    245: 
                    246: ## --------------------- ##
                    247: ## M4sh Shell Functions. ##
                    248: ## --------------------- ##
                    249: # as_fn_unset VAR
                    250: # ---------------
                    251: # Portably unset VAR.
                    252: as_fn_unset ()
                    253: {
                    254:   { eval $1=; unset $1;}
                    255: }
                    256: as_unset=as_fn_unset
                    257: 
                    258: # as_fn_set_status STATUS
                    259: # -----------------------
                    260: # Set $? to STATUS, without forking.
                    261: as_fn_set_status ()
                    262: {
                    263:   return $1
                    264: } # as_fn_set_status
                    265: 
                    266: # as_fn_exit STATUS
                    267: # -----------------
                    268: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                    269: as_fn_exit ()
                    270: {
                    271:   set +e
                    272:   as_fn_set_status $1
                    273:   exit $1
                    274: } # as_fn_exit
                    275: 
                    276: # as_fn_mkdir_p
                    277: # -------------
                    278: # Create "$as_dir" as a directory, including parents if necessary.
                    279: as_fn_mkdir_p ()
                    280: {
                    281: 
                    282:   case $as_dir in #(
                    283:   -*) as_dir=./$as_dir;;
                    284:   esac
                    285:   test -d "$as_dir" || eval $as_mkdir_p || {
                    286:     as_dirs=
                    287:     while :; do
                    288:       case $as_dir in #(
                    289:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                    290:       *) as_qdir=$as_dir;;
                    291:       esac
                    292:       as_dirs="'$as_qdir' $as_dirs"
                    293:       as_dir=`$as_dirname -- "$as_dir" ||
                    294: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                    295:         X"$as_dir" : 'X\(//\)[^/]' \| \
                    296:         X"$as_dir" : 'X\(//\)$' \| \
                    297:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                    298: $as_echo X"$as_dir" |
                    299:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                    300:            s//\1/
                    301:            q
                    302:          }
                    303:          /^X\(\/\/\)[^/].*/{
                    304:            s//\1/
                    305:            q
                    306:          }
                    307:          /^X\(\/\/\)$/{
                    308:            s//\1/
                    309:            q
                    310:          }
                    311:          /^X\(\/\).*/{
                    312:            s//\1/
                    313:            q
                    314:          }
                    315:          s/.*/./; q'`
                    316:       test -d "$as_dir" && break
                    317:     done
                    318:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                    319:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                    320: 
                    321: 
                    322: } # as_fn_mkdir_p
                    323: # as_fn_append VAR VALUE
                    324: # ----------------------
                    325: # Append the text in VALUE to the end of the definition contained in VAR. Take
                    326: # advantage of any shell optimizations that allow amortized linear growth over
                    327: # repeated appends, instead of the typical quadratic growth present in naive
                    328: # implementations.
                    329: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                    330:   eval 'as_fn_append ()
                    331:   {
                    332:     eval $1+=\$2
                    333:   }'
                    334: else
                    335:   as_fn_append ()
                    336:   {
                    337:     eval $1=\$$1\$2
                    338:   }
                    339: fi # as_fn_append
                    340: 
                    341: # as_fn_arith ARG...
                    342: # ------------------
                    343: # Perform arithmetic evaluation on the ARGs, and store the result in the
                    344: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                    345: # must be portable across $(()) and expr.
                    346: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                    347:   eval 'as_fn_arith ()
                    348:   {
                    349:     as_val=$(( $* ))
                    350:   }'
                    351: else
                    352:   as_fn_arith ()
                    353:   {
                    354:     as_val=`expr "$@" || test $? -eq 1`
                    355:   }
                    356: fi # as_fn_arith
                    357: 
                    358: 
                    359: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                    360: # ----------------------------------------
                    361: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                    362: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                    363: # script with STATUS, using 1 if that was 0.
                    364: as_fn_error ()
                    365: {
                    366:   as_status=$1; test $as_status -eq 0 && as_status=1
                    367:   if test "$4"; then
                    368:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                    369:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                    370:   fi
                    371:   $as_echo "$as_me: error: $2" >&2
                    372:   as_fn_exit $as_status
                    373: } # as_fn_error
                    374: 
                    375: if expr a : '\(a\)' >/dev/null 2>&1 &&
                    376:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                    377:   as_expr=expr
                    378: else
                    379:   as_expr=false
                    380: fi
                    381: 
                    382: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                    383:   as_basename=basename
                    384: else
                    385:   as_basename=false
                    386: fi
                    387: 
                    388: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                    389:   as_dirname=dirname
                    390: else
                    391:   as_dirname=false
                    392: fi
                    393: 
                    394: as_me=`$as_basename -- "$0" ||
                    395: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                    396:         X"$0" : 'X\(//\)$' \| \
                    397:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                    398: $as_echo X/"$0" |
                    399:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                    400:            s//\1/
                    401:            q
                    402:          }
                    403:          /^X\/\(\/\/\)$/{
                    404:            s//\1/
                    405:            q
                    406:          }
                    407:          /^X\/\(\/\).*/{
                    408:            s//\1/
                    409:            q
                    410:          }
                    411:          s/.*/./; q'`
                    412: 
                    413: # Avoid depending upon Character Ranges.
                    414: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                    415: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                    416: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                    417: as_cr_digits='0123456789'
                    418: as_cr_alnum=$as_cr_Letters$as_cr_digits
                    419: 
                    420: 
                    421:   as_lineno_1=$LINENO as_lineno_1a=$LINENO
                    422:   as_lineno_2=$LINENO as_lineno_2a=$LINENO
                    423:   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
                    424:   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
                    425:   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
                    426:   sed -n '
                    427:     p
                    428:     /[$]LINENO/=
                    429:   ' <$as_myself |
                    430:     sed '
                    431:       s/[$]LINENO.*/&-/
                    432:       t lineno
                    433:       b
                    434:       :lineno
                    435:       N
                    436:       :loop
                    437:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
                    438:       t loop
                    439:       s/-\n.*//
                    440:     ' >$as_me.lineno &&
                    441:   chmod +x "$as_me.lineno" ||
                    442:     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
                    443: 
                    444:   # Don't try to exec as it changes $[0], causing all sort of problems
                    445:   # (the dirname of $[0] is not the place where we might find the
                    446:   # original and so on.  Autoconf is especially sensitive to this).
                    447:   . "./$as_me.lineno"
                    448:   # Exit status is that of the last command.
                    449:   exit
                    450: }
                    451: 
                    452: ECHO_C= ECHO_N= ECHO_T=
                    453: case `echo -n x` in #(((((
                    454: -n*)
                    455:   case `echo 'xy\c'` in
                    456:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                    457:   xy)  ECHO_C='\c';;
                    458:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                    459:        ECHO_T='        ';;
                    460:   esac;;
                    461: *)
                    462:   ECHO_N='-n';;
                    463: esac
                    464: 
                    465: rm -f conf$$ conf$$.exe conf$$.file
                    466: if test -d conf$$.dir; then
                    467:   rm -f conf$$.dir/conf$$.file
                    468: else
                    469:   rm -f conf$$.dir
                    470:   mkdir conf$$.dir 2>/dev/null
                    471: fi
                    472: if (echo >conf$$.file) 2>/dev/null; then
                    473:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                    474:     as_ln_s='ln -s'
                    475:     # ... but there are two gotchas:
                    476:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                    477:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
                    478:     # In both cases, we have to default to `cp -p'.
                    479:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
                    480:       as_ln_s='cp -p'
                    481:   elif ln conf$$.file conf$$ 2>/dev/null; then
                    482:     as_ln_s=ln
                    483:   else
                    484:     as_ln_s='cp -p'
                    485:   fi
                    486: else
                    487:   as_ln_s='cp -p'
                    488: fi
                    489: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                    490: rmdir conf$$.dir 2>/dev/null
                    491: 
                    492: if mkdir -p . 2>/dev/null; then
                    493:   as_mkdir_p='mkdir -p "$as_dir"'
                    494: else
                    495:   test -d ./-p && rmdir ./-p
                    496:   as_mkdir_p=false
                    497: fi
                    498: 
                    499: if test -x / >/dev/null 2>&1; then
                    500:   as_test_x='test -x'
                    501: else
                    502:   if ls -dL / >/dev/null 2>&1; then
                    503:     as_ls_L_option=L
                    504:   else
                    505:     as_ls_L_option=
                    506:   fi
                    507:   as_test_x='
                    508:     eval sh -c '\''
                    509:       if test -d "$1"; then
                    510:        test -d "$1/.";
                    511:       else
                    512:        case $1 in #(
                    513:        -*)set "./$1";;
                    514:        esac;
                    515:        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
                    516:        ???[sx]*):;;*)false;;esac;fi
                    517:     '\'' sh
                    518:   '
                    519: fi
                    520: as_executable_p=$as_test_x
                    521: 
                    522: # Sed expression to map a string onto a valid CPP name.
                    523: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                    524: 
                    525: # Sed expression to map a string onto a valid variable name.
                    526: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                    527: 
                    528: 
                    529: 
                    530: # Check that we are running under the correct shell.
                    531: SHELL=${CONFIG_SHELL-/bin/sh}
                    532: 
                    533: case X$lt_ECHO in
                    534: X*--fallback-echo)
                    535:   # Remove one level of quotation (which was required for Make).
                    536:   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
                    537:   ;;
                    538: esac
                    539: 
                    540: ECHO=${lt_ECHO-echo}
                    541: if test "X$1" = X--no-reexec; then
                    542:   # Discard the --no-reexec flag, and continue.
                    543:   shift
                    544: elif test "X$1" = X--fallback-echo; then
                    545:   # Avoid inline document here, it may be left over
                    546:   :
                    547: elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
                    548:   # Yippee, $ECHO works!
                    549:   :
                    550: else
                    551:   # Restart under the correct shell.
                    552:   exec $SHELL "$0" --no-reexec ${1+"$@"}
                    553: fi
                    554: 
                    555: if test "X$1" = X--fallback-echo; then
                    556:   # used as fallback echo
                    557:   shift
                    558:   cat <<_LT_EOF
                    559: $*
                    560: _LT_EOF
                    561:   exit 0
                    562: fi
                    563: 
                    564: # The HP-UX ksh and POSIX shell print the target directory to stdout
                    565: # if CDPATH is set.
                    566: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                    567: 
                    568: if test -z "$lt_ECHO"; then
                    569:   if test "X${echo_test_string+set}" != Xset; then
                    570:     # find a string as large as possible, as long as the shell can cope with it
                    571:     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
                    572:       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
                    573:       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
                    574:         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
                    575:       then
                    576:         break
                    577:       fi
                    578:     done
                    579:   fi
                    580: 
                    581:   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
                    582:      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
                    583:      test "X$echo_testing_string" = "X$echo_test_string"; then
                    584:     :
                    585:   else
                    586:     # The Solaris, AIX, and Digital Unix default echo programs unquote
                    587:     # backslashes.  This makes it impossible to quote backslashes using
                    588:     #   echo "$something" | sed 's/\\/\\\\/g'
                    589:     #
                    590:     # So, first we look for a working echo in the user's PATH.
                    591: 
                    592:     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                    593:     for dir in $PATH /usr/ucb; do
                    594:       IFS="$lt_save_ifs"
                    595:       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
                    596:          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
                    597:          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
                    598:          test "X$echo_testing_string" = "X$echo_test_string"; then
                    599:         ECHO="$dir/echo"
                    600:         break
                    601:       fi
                    602:     done
                    603:     IFS="$lt_save_ifs"
                    604: 
                    605:     if test "X$ECHO" = Xecho; then
                    606:       # We didn't find a better echo, so look for alternatives.
                    607:       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
                    608:          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
                    609:          test "X$echo_testing_string" = "X$echo_test_string"; then
                    610:         # This shell has a builtin print -r that does the trick.
                    611:         ECHO='print -r'
                    612:       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
                    613:           test "X$CONFIG_SHELL" != X/bin/ksh; then
                    614:         # If we have ksh, try running configure again with it.
                    615:         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
                    616:         export ORIGINAL_CONFIG_SHELL
                    617:         CONFIG_SHELL=/bin/ksh
                    618:         export CONFIG_SHELL
                    619:         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
                    620:       else
                    621:         # Try using printf.
                    622:         ECHO='printf %s\n'
                    623:         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
                    624:           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
                    625:           test "X$echo_testing_string" = "X$echo_test_string"; then
                    626:          # Cool, printf works
                    627:          :
                    628:         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
                    629:             test "X$echo_testing_string" = 'X\t' &&
                    630:             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
                    631:             test "X$echo_testing_string" = "X$echo_test_string"; then
                    632:          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
                    633:          export CONFIG_SHELL
                    634:          SHELL="$CONFIG_SHELL"
                    635:          export SHELL
                    636:          ECHO="$CONFIG_SHELL $0 --fallback-echo"
                    637:         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
                    638:             test "X$echo_testing_string" = 'X\t' &&
                    639:             echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
                    640:             test "X$echo_testing_string" = "X$echo_test_string"; then
                    641:          ECHO="$CONFIG_SHELL $0 --fallback-echo"
                    642:         else
                    643:          # maybe with a smaller string...
                    644:          prev=:
                    645: 
                    646:          for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
                    647:            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
                    648:            then
                    649:              break
                    650:            fi
                    651:            prev="$cmd"
                    652:          done
                    653: 
                    654:          if test "$prev" != 'sed 50q "$0"'; then
                    655:            echo_test_string=`eval $prev`
                    656:            export echo_test_string
                    657:            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
                    658:          else
                    659:            # Oops.  We lost completely, so just stick with echo.
                    660:            ECHO=echo
                    661:          fi
                    662:         fi
                    663:       fi
                    664:     fi
                    665:   fi
                    666: fi
                    667: 
                    668: # Copy echo and quote the copy suitably for passing to libtool from
                    669: # the Makefile, instead of quoting the original, which is used later.
                    670: lt_ECHO=$ECHO
                    671: if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
                    672:    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
                    673: fi
                    674: 
                    675: 
                    676: 
                    677: 
                    678: test -n "$DJDIR" || exec 7<&0 </dev/null
                    679: exec 6>&1
                    680: 
                    681: # Name of the host.
                    682: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
                    683: # so uname gets run too.
                    684: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
                    685: 
                    686: #
                    687: # Initializations.
                    688: #
                    689: ac_default_prefix=/usr/local
                    690: ac_clean_files=
                    691: ac_config_libobj_dir=.
                    692: LIBOBJS=
                    693: cross_compiling=no
                    694: subdirs=
                    695: MFLAGS=
                    696: MAKEFLAGS=
                    697: 
                    698: # Identity of this package.
                    699: PACKAGE_NAME='ipsec-tools'
                    700: PACKAGE_TARNAME='ipsec-tools'
                    701: PACKAGE_VERSION='0.8.0'
                    702: PACKAGE_STRING='ipsec-tools 0.8.0'
                    703: PACKAGE_BUGREPORT=''
                    704: PACKAGE_URL=''
                    705: 
                    706: ac_unique_file="configure.ac"
                    707: # Factoring default headers for most tests.
                    708: ac_includes_default="\
                    709: #include <stdio.h>
                    710: #ifdef HAVE_SYS_TYPES_H
                    711: # include <sys/types.h>
                    712: #endif
                    713: #ifdef HAVE_SYS_STAT_H
                    714: # include <sys/stat.h>
                    715: #endif
                    716: #ifdef STDC_HEADERS
                    717: # include <stdlib.h>
                    718: # include <stddef.h>
                    719: #else
                    720: # ifdef HAVE_STDLIB_H
                    721: #  include <stdlib.h>
                    722: # endif
                    723: #endif
                    724: #ifdef HAVE_STRING_H
                    725: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
                    726: #  include <memory.h>
                    727: # endif
                    728: # include <string.h>
                    729: #endif
                    730: #ifdef HAVE_STRINGS_H
                    731: # include <strings.h>
                    732: #endif
                    733: #ifdef HAVE_INTTYPES_H
                    734: # include <inttypes.h>
                    735: #endif
                    736: #ifdef HAVE_STDINT_H
                    737: # include <stdint.h>
                    738: #endif
                    739: #ifdef HAVE_UNISTD_H
                    740: # include <unistd.h>
                    741: #endif"
                    742: 
                    743: ac_subst_vars='am__EXEEXT_FALSE
                    744: am__EXEEXT_TRUE
                    745: LTLIBOBJS
                    746: include_racoondir
                    747: SECCTX_OBJS
                    748: NATT_OBJS
                    749: KRB5_CONFIG
                    750: FRAG_OBJS
                    751: HYBRID_OBJS
                    752: EXTRA_CRYPTO
                    753: CRYPTOBJS
                    754: LIBOBJS
                    755: GLIBC_BUGS
                    756: KERNEL_INCLUDE
                    757: CONFIGURE_AMFLAGS
                    758: RPM
                    759: INCLUDE_GLIBC
                    760: INSTALL_OPTS
                    761: LEXLIB
                    762: LEX_OUTPUT_ROOT
                    763: LEX
                    764: YFLAGS
                    765: YACC
                    766: OTOOL64
                    767: OTOOL
                    768: LIPO
                    769: NMEDIT
                    770: DSYMUTIL
                    771: lt_ECHO
                    772: RANLIB
                    773: AR
                    774: OBJDUMP
                    775: LN_S
                    776: NM
                    777: ac_ct_DUMPBIN
                    778: DUMPBIN
                    779: LD
                    780: FGREP
                    781: SED
                    782: host_os
                    783: host_vendor
                    784: host_cpu
                    785: host
                    786: build_os
                    787: build_vendor
                    788: build_cpu
                    789: build
                    790: LIBTOOL
                    791: EGREP
                    792: GREP
                    793: CPP
                    794: am__fastdepCC_FALSE
                    795: am__fastdepCC_TRUE
                    796: CCDEPMODE
                    797: AMDEPBACKSLASH
                    798: AMDEP_FALSE
                    799: AMDEP_TRUE
                    800: am__quote
                    801: am__include
                    802: DEPDIR
                    803: OBJEXT
                    804: EXEEXT
                    805: ac_ct_CC
                    806: CPPFLAGS
                    807: LDFLAGS
                    808: CFLAGS
                    809: CC
                    810: am__untar
                    811: am__tar
                    812: AMTAR
                    813: am__leading_dot
                    814: SET_MAKE
                    815: AWK
                    816: mkdir_p
                    817: MKDIR_P
                    818: INSTALL_STRIP_PROGRAM
                    819: STRIP
                    820: install_sh
                    821: MAKEINFO
                    822: AUTOHEADER
                    823: AUTOMAKE
                    824: AUTOCONF
                    825: ACLOCAL
                    826: VERSION
                    827: PACKAGE
                    828: CYGPATH_W
                    829: am__isrc
                    830: INSTALL_DATA
                    831: INSTALL_SCRIPT
                    832: INSTALL_PROGRAM
                    833: target_alias
                    834: host_alias
                    835: build_alias
                    836: LIBS
                    837: ECHO_T
                    838: ECHO_N
                    839: ECHO_C
                    840: DEFS
                    841: mandir
                    842: localedir
                    843: libdir
                    844: psdir
                    845: pdfdir
                    846: dvidir
                    847: htmldir
                    848: infodir
                    849: docdir
                    850: oldincludedir
                    851: includedir
                    852: localstatedir
                    853: sharedstatedir
                    854: sysconfdir
                    855: datadir
                    856: datarootdir
                    857: libexecdir
                    858: sbindir
                    859: bindir
                    860: program_transform_name
                    861: prefix
                    862: exec_prefix
                    863: PACKAGE_URL
                    864: PACKAGE_BUGREPORT
                    865: PACKAGE_STRING
                    866: PACKAGE_VERSION
                    867: PACKAGE_TARNAME
                    868: PACKAGE_NAME
                    869: PATH_SEPARATOR
                    870: SHELL'
                    871: ac_subst_files=''
                    872: ac_user_opts='
                    873: enable_option_checking
                    874: enable_shared
                    875: enable_dependency_tracking
                    876: enable_static
                    877: with_pic
                    878: enable_fast_install
                    879: with_gnu_ld
                    880: enable_libtool_lock
                    881: with_kernel_headers
                    882: with_readline
                    883: with_flexdir
                    884: with_flexlib
                    885: with_openssl
                    886: enable_adminport
                    887: enable_rc5
                    888: enable_idea
                    889: with_libiconv
                    890: enable_hybrid
                    891: enable_frag
                    892: with_libradius
                    893: with_libpam
                    894: with_libldap
                    895: enable_gssapi
                    896: enable_stats
                    897: enable_dpd
                    898: enable_samode_unspec
                    899: enable_ipv6
                    900: enable_natt
                    901: enable_natt_versions
                    902: enable_broken_natt
                    903: enable_security_context
                    904: '
                    905:       ac_precious_vars='build_alias
                    906: host_alias
                    907: target_alias
                    908: CC
                    909: CFLAGS
                    910: LDFLAGS
                    911: LIBS
                    912: CPPFLAGS
                    913: CPP
                    914: YACC
                    915: YFLAGS'
                    916: 
                    917: 
                    918: # Initialize some variables set by options.
                    919: ac_init_help=
                    920: ac_init_version=false
                    921: ac_unrecognized_opts=
                    922: ac_unrecognized_sep=
                    923: # The variables have the same names as the options, with
                    924: # dashes changed to underlines.
                    925: cache_file=/dev/null
                    926: exec_prefix=NONE
                    927: no_create=
                    928: no_recursion=
                    929: prefix=NONE
                    930: program_prefix=NONE
                    931: program_suffix=NONE
                    932: program_transform_name=s,x,x,
                    933: silent=
                    934: site=
                    935: srcdir=
                    936: verbose=
                    937: x_includes=NONE
                    938: x_libraries=NONE
                    939: 
                    940: # Installation directory options.
                    941: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    942: # and all the variables that are supposed to be based on exec_prefix
                    943: # by default will actually change.
                    944: # Use braces instead of parens because sh, perl, etc. also accept them.
                    945: # (The list follows the same order as the GNU Coding Standards.)
                    946: bindir='${exec_prefix}/bin'
                    947: sbindir='${exec_prefix}/sbin'
                    948: libexecdir='${exec_prefix}/libexec'
                    949: datarootdir='${prefix}/share'
                    950: datadir='${datarootdir}'
                    951: sysconfdir='${prefix}/etc'
                    952: sharedstatedir='${prefix}/com'
                    953: localstatedir='${prefix}/var'
                    954: includedir='${prefix}/include'
                    955: oldincludedir='/usr/include'
                    956: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
                    957: infodir='${datarootdir}/info'
                    958: htmldir='${docdir}'
                    959: dvidir='${docdir}'
                    960: pdfdir='${docdir}'
                    961: psdir='${docdir}'
                    962: libdir='${exec_prefix}/lib'
                    963: localedir='${datarootdir}/locale'
                    964: mandir='${datarootdir}/man'
                    965: 
                    966: ac_prev=
                    967: ac_dashdash=
                    968: for ac_option
                    969: do
                    970:   # If the previous option needs an argument, assign it.
                    971:   if test -n "$ac_prev"; then
                    972:     eval $ac_prev=\$ac_option
                    973:     ac_prev=
                    974:     continue
                    975:   fi
                    976: 
                    977:   case $ac_option in
                    978:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
                    979:   *=)   ac_optarg= ;;
                    980:   *)    ac_optarg=yes ;;
                    981:   esac
                    982: 
                    983:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    984: 
                    985:   case $ac_dashdash$ac_option in
                    986:   --)
                    987:     ac_dashdash=yes ;;
                    988: 
                    989:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    990:     ac_prev=bindir ;;
                    991:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
                    992:     bindir=$ac_optarg ;;
                    993: 
                    994:   -build | --build | --buil | --bui | --bu)
                    995:     ac_prev=build_alias ;;
                    996:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
                    997:     build_alias=$ac_optarg ;;
                    998: 
                    999:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                   1000:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                   1001:     ac_prev=cache_file ;;
                   1002:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                   1003:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
                   1004:     cache_file=$ac_optarg ;;
                   1005: 
                   1006:   --config-cache | -C)
                   1007:     cache_file=config.cache ;;
                   1008: 
                   1009:   -datadir | --datadir | --datadi | --datad)
                   1010:     ac_prev=datadir ;;
                   1011:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
                   1012:     datadir=$ac_optarg ;;
                   1013: 
                   1014:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
                   1015:   | --dataroo | --dataro | --datar)
                   1016:     ac_prev=datarootdir ;;
                   1017:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
                   1018:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
                   1019:     datarootdir=$ac_optarg ;;
                   1020: 
                   1021:   -disable-* | --disable-*)
                   1022:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
                   1023:     # Reject names that are not valid shell variable names.
                   1024:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1025:       as_fn_error $? "invalid feature name: $ac_useropt"
                   1026:     ac_useropt_orig=$ac_useropt
                   1027:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1028:     case $ac_user_opts in
                   1029:       *"
                   1030: "enable_$ac_useropt"
                   1031: "*) ;;
                   1032:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
                   1033:         ac_unrecognized_sep=', ';;
                   1034:     esac
                   1035:     eval enable_$ac_useropt=no ;;
                   1036: 
                   1037:   -docdir | --docdir | --docdi | --doc | --do)
                   1038:     ac_prev=docdir ;;
                   1039:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
                   1040:     docdir=$ac_optarg ;;
                   1041: 
                   1042:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
                   1043:     ac_prev=dvidir ;;
                   1044:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
                   1045:     dvidir=$ac_optarg ;;
                   1046: 
                   1047:   -enable-* | --enable-*)
                   1048:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
                   1049:     # Reject names that are not valid shell variable names.
                   1050:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1051:       as_fn_error $? "invalid feature name: $ac_useropt"
                   1052:     ac_useropt_orig=$ac_useropt
                   1053:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1054:     case $ac_user_opts in
                   1055:       *"
                   1056: "enable_$ac_useropt"
                   1057: "*) ;;
                   1058:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
                   1059:         ac_unrecognized_sep=', ';;
                   1060:     esac
                   1061:     eval enable_$ac_useropt=\$ac_optarg ;;
                   1062: 
                   1063:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                   1064:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                   1065:   | --exec | --exe | --ex)
                   1066:     ac_prev=exec_prefix ;;
                   1067:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                   1068:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                   1069:   | --exec=* | --exe=* | --ex=*)
                   1070:     exec_prefix=$ac_optarg ;;
                   1071: 
                   1072:   -gas | --gas | --ga | --g)
                   1073:     # Obsolete; use --with-gas.
                   1074:     with_gas=yes ;;
                   1075: 
                   1076:   -help | --help | --hel | --he | -h)
                   1077:     ac_init_help=long ;;
                   1078:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                   1079:     ac_init_help=recursive ;;
                   1080:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                   1081:     ac_init_help=short ;;
                   1082: 
                   1083:   -host | --host | --hos | --ho)
                   1084:     ac_prev=host_alias ;;
                   1085:   -host=* | --host=* | --hos=* | --ho=*)
                   1086:     host_alias=$ac_optarg ;;
                   1087: 
                   1088:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
                   1089:     ac_prev=htmldir ;;
                   1090:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
                   1091:   | --ht=*)
                   1092:     htmldir=$ac_optarg ;;
                   1093: 
                   1094:   -includedir | --includedir | --includedi | --included | --include \
                   1095:   | --includ | --inclu | --incl | --inc)
                   1096:     ac_prev=includedir ;;
                   1097:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                   1098:   | --includ=* | --inclu=* | --incl=* | --inc=*)
                   1099:     includedir=$ac_optarg ;;
                   1100: 
                   1101:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                   1102:     ac_prev=infodir ;;
                   1103:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
                   1104:     infodir=$ac_optarg ;;
                   1105: 
                   1106:   -libdir | --libdir | --libdi | --libd)
                   1107:     ac_prev=libdir ;;
                   1108:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
                   1109:     libdir=$ac_optarg ;;
                   1110: 
                   1111:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                   1112:   | --libexe | --libex | --libe)
                   1113:     ac_prev=libexecdir ;;
                   1114:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                   1115:   | --libexe=* | --libex=* | --libe=*)
                   1116:     libexecdir=$ac_optarg ;;
                   1117: 
                   1118:   -localedir | --localedir | --localedi | --localed | --locale)
                   1119:     ac_prev=localedir ;;
                   1120:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
                   1121:     localedir=$ac_optarg ;;
                   1122: 
                   1123:   -localstatedir | --localstatedir | --localstatedi | --localstated \
                   1124:   | --localstate | --localstat | --localsta | --localst | --locals)
                   1125:     ac_prev=localstatedir ;;
                   1126:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
                   1127:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
                   1128:     localstatedir=$ac_optarg ;;
                   1129: 
                   1130:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                   1131:     ac_prev=mandir ;;
                   1132:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
                   1133:     mandir=$ac_optarg ;;
                   1134: 
                   1135:   -nfp | --nfp | --nf)
                   1136:     # Obsolete; use --without-fp.
                   1137:     with_fp=no ;;
                   1138: 
                   1139:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
                   1140:   | --no-cr | --no-c | -n)
                   1141:     no_create=yes ;;
                   1142: 
                   1143:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                   1144:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                   1145:     no_recursion=yes ;;
                   1146: 
                   1147:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                   1148:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                   1149:   | --oldin | --oldi | --old | --ol | --o)
                   1150:     ac_prev=oldincludedir ;;
                   1151:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                   1152:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                   1153:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
                   1154:     oldincludedir=$ac_optarg ;;
                   1155: 
                   1156:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   1157:     ac_prev=prefix ;;
                   1158:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   1159:     prefix=$ac_optarg ;;
                   1160: 
                   1161:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                   1162:   | --program-pre | --program-pr | --program-p)
                   1163:     ac_prev=program_prefix ;;
                   1164:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                   1165:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
                   1166:     program_prefix=$ac_optarg ;;
                   1167: 
                   1168:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                   1169:   | --program-suf | --program-su | --program-s)
                   1170:     ac_prev=program_suffix ;;
                   1171:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                   1172:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
                   1173:     program_suffix=$ac_optarg ;;
                   1174: 
                   1175:   -program-transform-name | --program-transform-name \
                   1176:   | --program-transform-nam | --program-transform-na \
                   1177:   | --program-transform-n | --program-transform- \
                   1178:   | --program-transform | --program-transfor \
                   1179:   | --program-transfo | --program-transf \
                   1180:   | --program-trans | --program-tran \
                   1181:   | --progr-tra | --program-tr | --program-t)
                   1182:     ac_prev=program_transform_name ;;
                   1183:   -program-transform-name=* | --program-transform-name=* \
                   1184:   | --program-transform-nam=* | --program-transform-na=* \
                   1185:   | --program-transform-n=* | --program-transform-=* \
                   1186:   | --program-transform=* | --program-transfor=* \
                   1187:   | --program-transfo=* | --program-transf=* \
                   1188:   | --program-trans=* | --program-tran=* \
                   1189:   | --progr-tra=* | --program-tr=* | --program-t=*)
                   1190:     program_transform_name=$ac_optarg ;;
                   1191: 
                   1192:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
                   1193:     ac_prev=pdfdir ;;
                   1194:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
                   1195:     pdfdir=$ac_optarg ;;
                   1196: 
                   1197:   -psdir | --psdir | --psdi | --psd | --ps)
                   1198:     ac_prev=psdir ;;
                   1199:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
                   1200:     psdir=$ac_optarg ;;
                   1201: 
                   1202:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1203:   | -silent | --silent | --silen | --sile | --sil)
                   1204:     silent=yes ;;
                   1205: 
                   1206:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                   1207:     ac_prev=sbindir ;;
                   1208:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                   1209:   | --sbi=* | --sb=*)
                   1210:     sbindir=$ac_optarg ;;
                   1211: 
                   1212:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                   1213:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                   1214:   | --sharedst | --shareds | --shared | --share | --shar \
                   1215:   | --sha | --sh)
                   1216:     ac_prev=sharedstatedir ;;
                   1217:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                   1218:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                   1219:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                   1220:   | --sha=* | --sh=*)
                   1221:     sharedstatedir=$ac_optarg ;;
                   1222: 
                   1223:   -site | --site | --sit)
                   1224:     ac_prev=site ;;
                   1225:   -site=* | --site=* | --sit=*)
                   1226:     site=$ac_optarg ;;
                   1227: 
                   1228:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   1229:     ac_prev=srcdir ;;
                   1230:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   1231:     srcdir=$ac_optarg ;;
                   1232: 
                   1233:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                   1234:   | --syscon | --sysco | --sysc | --sys | --sy)
                   1235:     ac_prev=sysconfdir ;;
                   1236:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                   1237:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
                   1238:     sysconfdir=$ac_optarg ;;
                   1239: 
                   1240:   -target | --target | --targe | --targ | --tar | --ta | --t)
                   1241:     ac_prev=target_alias ;;
                   1242:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
                   1243:     target_alias=$ac_optarg ;;
                   1244: 
                   1245:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                   1246:     verbose=yes ;;
                   1247: 
                   1248:   -version | --version | --versio | --versi | --vers | -V)
                   1249:     ac_init_version=: ;;
                   1250: 
                   1251:   -with-* | --with-*)
                   1252:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
                   1253:     # Reject names that are not valid shell variable names.
                   1254:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1255:       as_fn_error $? "invalid package name: $ac_useropt"
                   1256:     ac_useropt_orig=$ac_useropt
                   1257:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1258:     case $ac_user_opts in
                   1259:       *"
                   1260: "with_$ac_useropt"
                   1261: "*) ;;
                   1262:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
                   1263:         ac_unrecognized_sep=', ';;
                   1264:     esac
                   1265:     eval with_$ac_useropt=\$ac_optarg ;;
                   1266: 
                   1267:   -without-* | --without-*)
                   1268:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
                   1269:     # Reject names that are not valid shell variable names.
                   1270:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1271:       as_fn_error $? "invalid package name: $ac_useropt"
                   1272:     ac_useropt_orig=$ac_useropt
                   1273:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1274:     case $ac_user_opts in
                   1275:       *"
                   1276: "with_$ac_useropt"
                   1277: "*) ;;
                   1278:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
                   1279:         ac_unrecognized_sep=', ';;
                   1280:     esac
                   1281:     eval with_$ac_useropt=no ;;
                   1282: 
                   1283:   --x)
                   1284:     # Obsolete; use --with-x.
                   1285:     with_x=yes ;;
                   1286: 
                   1287:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                   1288:   | --x-incl | --x-inc | --x-in | --x-i)
                   1289:     ac_prev=x_includes ;;
                   1290:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                   1291:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
                   1292:     x_includes=$ac_optarg ;;
                   1293: 
                   1294:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                   1295:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                   1296:     ac_prev=x_libraries ;;
                   1297:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                   1298:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
                   1299:     x_libraries=$ac_optarg ;;
                   1300: 
                   1301:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
                   1302: Try \`$0 --help' for more information"
                   1303:     ;;
                   1304: 
                   1305:   *=*)
                   1306:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                   1307:     # Reject names that are not valid shell variable names.
                   1308:     case $ac_envvar in #(
                   1309:       '' | [0-9]* | *[!_$as_cr_alnum]* )
                   1310:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
                   1311:     esac
                   1312:     eval $ac_envvar=\$ac_optarg
                   1313:     export $ac_envvar ;;
                   1314: 
                   1315:   *)
                   1316:     # FIXME: should be removed in autoconf 3.0.
                   1317:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
                   1318:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
                   1319:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
                   1320:     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
                   1321:     ;;
                   1322: 
                   1323:   esac
                   1324: done
                   1325: 
                   1326: if test -n "$ac_prev"; then
                   1327:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
                   1328:   as_fn_error $? "missing argument to $ac_option"
                   1329: fi
                   1330: 
                   1331: if test -n "$ac_unrecognized_opts"; then
                   1332:   case $enable_option_checking in
                   1333:     no) ;;
                   1334:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
                   1335:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
                   1336:   esac
                   1337: fi
                   1338: 
                   1339: # Check all directory arguments for consistency.
                   1340: for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
                   1341:                datadir sysconfdir sharedstatedir localstatedir includedir \
                   1342:                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
                   1343:                libdir localedir mandir
                   1344: do
                   1345:   eval ac_val=\$$ac_var
                   1346:   # Remove trailing slashes.
                   1347:   case $ac_val in
                   1348:     */ )
                   1349:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
                   1350:       eval $ac_var=\$ac_val;;
                   1351:   esac
                   1352:   # Be sure to have absolute directory names.
                   1353:   case $ac_val in
                   1354:     [\\/$]* | ?:[\\/]* )  continue;;
                   1355:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
                   1356:   esac
                   1357:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
                   1358: done
                   1359: 
                   1360: # There might be people who depend on the old broken behavior: `$host'
                   1361: # used to hold the argument of --host etc.
                   1362: # FIXME: To remove some day.
                   1363: build=$build_alias
                   1364: host=$host_alias
                   1365: target=$target_alias
                   1366: 
                   1367: # FIXME: To remove some day.
                   1368: if test "x$host_alias" != x; then
                   1369:   if test "x$build_alias" = x; then
                   1370:     cross_compiling=maybe
                   1371:     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
                   1372:     If a cross compiler is detected then cross compile mode will be used" >&2
                   1373:   elif test "x$build_alias" != "x$host_alias"; then
                   1374:     cross_compiling=yes
                   1375:   fi
                   1376: fi
                   1377: 
                   1378: ac_tool_prefix=
                   1379: test -n "$host_alias" && ac_tool_prefix=$host_alias-
                   1380: 
                   1381: test "$silent" = yes && exec 6>/dev/null
                   1382: 
                   1383: 
                   1384: ac_pwd=`pwd` && test -n "$ac_pwd" &&
                   1385: ac_ls_di=`ls -di .` &&
                   1386: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
                   1387:   as_fn_error $? "working directory cannot be determined"
                   1388: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
                   1389:   as_fn_error $? "pwd does not report name of working directory"
                   1390: 
                   1391: 
                   1392: # Find the source files, if location was not specified.
                   1393: if test -z "$srcdir"; then
                   1394:   ac_srcdir_defaulted=yes
                   1395:   # Try the directory containing this script, then the parent directory.
                   1396:   ac_confdir=`$as_dirname -- "$as_myself" ||
                   1397: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   1398:         X"$as_myself" : 'X\(//\)[^/]' \| \
                   1399:         X"$as_myself" : 'X\(//\)$' \| \
                   1400:         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
                   1401: $as_echo X"$as_myself" |
                   1402:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   1403:            s//\1/
                   1404:            q
                   1405:          }
                   1406:          /^X\(\/\/\)[^/].*/{
                   1407:            s//\1/
                   1408:            q
                   1409:          }
                   1410:          /^X\(\/\/\)$/{
                   1411:            s//\1/
                   1412:            q
                   1413:          }
                   1414:          /^X\(\/\).*/{
                   1415:            s//\1/
                   1416:            q
                   1417:          }
                   1418:          s/.*/./; q'`
                   1419:   srcdir=$ac_confdir
                   1420:   if test ! -r "$srcdir/$ac_unique_file"; then
                   1421:     srcdir=..
                   1422:   fi
                   1423: else
                   1424:   ac_srcdir_defaulted=no
                   1425: fi
                   1426: if test ! -r "$srcdir/$ac_unique_file"; then
                   1427:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
                   1428:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
                   1429: fi
                   1430: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
                   1431: ac_abs_confdir=`(
                   1432:        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
                   1433:        pwd)`
                   1434: # When building in place, set srcdir=.
                   1435: if test "$ac_abs_confdir" = "$ac_pwd"; then
                   1436:   srcdir=.
                   1437: fi
                   1438: # Remove unnecessary trailing slashes from srcdir.
                   1439: # Double slashes in file names in object file debugging info
                   1440: # mess up M-x gdb in Emacs.
                   1441: case $srcdir in
                   1442: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
                   1443: esac
                   1444: for ac_var in $ac_precious_vars; do
                   1445:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
                   1446:   eval ac_env_${ac_var}_value=\$${ac_var}
                   1447:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
                   1448:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
                   1449: done
                   1450: 
                   1451: #
                   1452: # Report the --help message.
                   1453: #
                   1454: if test "$ac_init_help" = "long"; then
                   1455:   # Omit some internal or obsolete options to make the list less imposing.
                   1456:   # This message is too long to be a string in the A/UX 3.1 sh.
                   1457:   cat <<_ACEOF
                   1458: \`configure' configures ipsec-tools 0.8.0 to adapt to many kinds of systems.
                   1459: 
                   1460: Usage: $0 [OPTION]... [VAR=VALUE]...
                   1461: 
                   1462: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                   1463: VAR=VALUE.  See below for descriptions of some of the useful variables.
                   1464: 
                   1465: Defaults for the options are specified in brackets.
                   1466: 
                   1467: Configuration:
                   1468:   -h, --help              display this help and exit
                   1469:       --help=short        display options specific to this package
                   1470:       --help=recursive    display the short help of all the included packages
                   1471:   -V, --version           display version information and exit
                   1472:   -q, --quiet, --silent   do not print \`checking ...' messages
                   1473:       --cache-file=FILE   cache test results in FILE [disabled]
                   1474:   -C, --config-cache      alias for \`--cache-file=config.cache'
                   1475:   -n, --no-create         do not create output files
                   1476:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                   1477: 
                   1478: Installation directories:
                   1479:   --prefix=PREFIX         install architecture-independent files in PREFIX
                   1480:                           [$ac_default_prefix]
                   1481:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                   1482:                           [PREFIX]
                   1483: 
                   1484: By default, \`make install' will install all the files in
                   1485: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                   1486: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                   1487: for instance \`--prefix=\$HOME'.
                   1488: 
                   1489: For better control, use the options below.
                   1490: 
                   1491: Fine tuning of the installation directories:
                   1492:   --bindir=DIR            user executables [EPREFIX/bin]
                   1493:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
                   1494:   --libexecdir=DIR        program executables [EPREFIX/libexec]
                   1495:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
                   1496:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
                   1497:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
                   1498:   --libdir=DIR            object code libraries [EPREFIX/lib]
                   1499:   --includedir=DIR        C header files [PREFIX/include]
                   1500:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
                   1501:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
                   1502:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
                   1503:   --infodir=DIR           info documentation [DATAROOTDIR/info]
                   1504:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
                   1505:   --mandir=DIR            man documentation [DATAROOTDIR/man]
                   1506:   --docdir=DIR            documentation root [DATAROOTDIR/doc/ipsec-tools]
                   1507:   --htmldir=DIR           html documentation [DOCDIR]
                   1508:   --dvidir=DIR            dvi documentation [DOCDIR]
                   1509:   --pdfdir=DIR            pdf documentation [DOCDIR]
                   1510:   --psdir=DIR             ps documentation [DOCDIR]
                   1511: _ACEOF
                   1512: 
                   1513:   cat <<\_ACEOF
                   1514: 
                   1515: Program names:
                   1516:   --program-prefix=PREFIX            prepend PREFIX to installed program names
                   1517:   --program-suffix=SUFFIX            append SUFFIX to installed program names
                   1518:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
                   1519: 
                   1520: System types:
                   1521:   --build=BUILD     configure for building on BUILD [guessed]
                   1522:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                   1523: _ACEOF
                   1524: fi
                   1525: 
                   1526: if test -n "$ac_init_help"; then
                   1527:   case $ac_init_help in
                   1528:      short | recursive ) echo "Configuration of ipsec-tools 0.8.0:";;
                   1529:    esac
                   1530:   cat <<\_ACEOF
                   1531: 
                   1532: Optional Features:
                   1533:   --disable-option-checking  ignore unrecognized --enable/--with options
                   1534:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                   1535:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
                   1536:   --enable-shared[=PKGS]  build shared libraries [default=no]
                   1537:   --disable-dependency-tracking  speeds up one-time build
                   1538:   --enable-dependency-tracking   do not reject slow dependency extractors
                   1539:   --enable-static[=PKGS]  build static libraries [default=yes]
                   1540:   --enable-fast-install[=PKGS]
                   1541:                           optimize for fast installation [default=yes]
                   1542:   --disable-libtool-lock  avoid locking (might break parallel builds)
                   1543:   --enable-adminport      enable admin port
                   1544:   --enable-rc5         enable RC5 encryption (patented)
                   1545:   --enable-idea        enable IDEA encryption (patented)
                   1546:   --enable-hybrid        enable hybrid, both mode-cfg and xauth support
                   1547:   --enable-frag           enable IKE fragmentation payload support
                   1548:   --enable-gssapi         enable GSS-API authentication
                   1549:   --enable-stats          enable statistics logging function
                   1550:   --enable-dpd            enable dead peer detection
                   1551:   --enable-samode-unspec  enable to use unspecified a mode of SA
                   1552:   --disable-ipv6          disable ipv6 support
                   1553:   --enable-natt           enable NAT-Traversal (yes/no/kernel)
                   1554:   --enable-natt-versions=list    list of supported NAT-T versions delimited by coma.
                   1555:   --enable-broken-natt    broken in-kernel NAT-T
                   1556:   --enable-security-context    enable Security Context(yes/no/kernel)
                   1557: 
                   1558: Optional Packages:
                   1559:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                   1560:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
                   1561:   --with-pic              try to use only PIC/non-PIC objects [default=use
                   1562:                           both]
                   1563:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
                   1564:   --with-kernel-headers=/lib/modules/<uname>/build/include
                   1565:                           where your Linux Kernel headers are installed
                   1566:   --with-readline         support readline input (yes by default)
                   1567:   --with-flex             use directiory (default: no)
                   1568:   --with-flexlib=<LIB>    specify flex library.
                   1569:   --with-openssl=DIR      specify OpenSSL directory
                   1570:   --with-libiconv=DIR    specify libiconv path (like/usr/pkg)
                   1571:   --with-libradius=DIR    specify libradius path (like/usr/pkg)
                   1572:   --with-libpam=DIR    specify libpam path (like/usr/pkg)
                   1573:   --with-libldap=DIR    specify libldap path (like/usr/pkg)
                   1574: 
                   1575: Some influential environment variables:
                   1576:   CC          C compiler command
                   1577:   CFLAGS      C compiler flags
                   1578:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                   1579:               nonstandard directory <lib dir>
                   1580:   LIBS        libraries to pass to the linker, e.g. -l<library>
                   1581:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
                   1582:               you have headers in a nonstandard directory <include dir>
                   1583:   CPP         C preprocessor
                   1584:   YACC        The `Yet Another C Compiler' implementation to use. Defaults to
                   1585:               the first program found out of: `bison -y', `byacc', `yacc'.
                   1586:   YFLAGS      The list of arguments that will be passed by default to $YACC.
                   1587:               This script will default YFLAGS to the empty string to avoid a
                   1588:               default value of `-d' given by some make applications.
                   1589: 
                   1590: Use these variables to override the choices made by `configure' or to help
                   1591: it to find libraries and programs with nonstandard names/locations.
                   1592: 
                   1593: Report bugs to the package provider.
                   1594: _ACEOF
                   1595: ac_status=$?
                   1596: fi
                   1597: 
                   1598: if test "$ac_init_help" = "recursive"; then
                   1599:   # If there are subdirs, report their specific --help.
                   1600:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
                   1601:     test -d "$ac_dir" ||
                   1602:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
                   1603:       continue
                   1604:     ac_builddir=.
                   1605: 
                   1606: case "$ac_dir" in
                   1607: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1608: *)
                   1609:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   1610:   # A ".." for each directory in $ac_dir_suffix.
                   1611:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   1612:   case $ac_top_builddir_sub in
                   1613:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1614:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   1615:   esac ;;
                   1616: esac
                   1617: ac_abs_top_builddir=$ac_pwd
                   1618: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   1619: # for backward compatibility:
                   1620: ac_top_builddir=$ac_top_build_prefix
                   1621: 
                   1622: case $srcdir in
                   1623:   .)  # We are building in place.
                   1624:     ac_srcdir=.
                   1625:     ac_top_srcdir=$ac_top_builddir_sub
                   1626:     ac_abs_top_srcdir=$ac_pwd ;;
                   1627:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   1628:     ac_srcdir=$srcdir$ac_dir_suffix;
                   1629:     ac_top_srcdir=$srcdir
                   1630:     ac_abs_top_srcdir=$srcdir ;;
                   1631:   *) # Relative name.
                   1632:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   1633:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   1634:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   1635: esac
                   1636: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   1637: 
                   1638:     cd "$ac_dir" || { ac_status=$?; continue; }
                   1639:     # Check for guested configure.
                   1640:     if test -f "$ac_srcdir/configure.gnu"; then
                   1641:       echo &&
                   1642:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
                   1643:     elif test -f "$ac_srcdir/configure"; then
                   1644:       echo &&
                   1645:       $SHELL "$ac_srcdir/configure" --help=recursive
                   1646:     else
                   1647:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
                   1648:     fi || ac_status=$?
                   1649:     cd "$ac_pwd" || { ac_status=$?; break; }
                   1650:   done
                   1651: fi
                   1652: 
                   1653: test -n "$ac_init_help" && exit $ac_status
                   1654: if $ac_init_version; then
                   1655:   cat <<\_ACEOF
                   1656: ipsec-tools configure 0.8.0
                   1657: generated by GNU Autoconf 2.67
                   1658: 
                   1659: Copyright (C) 2010 Free Software Foundation, Inc.
                   1660: This configure script is free software; the Free Software Foundation
                   1661: gives unlimited permission to copy, distribute and modify it.
                   1662: _ACEOF
                   1663:   exit
                   1664: fi
                   1665: 
                   1666: ## ------------------------ ##
                   1667: ## Autoconf initialization. ##
                   1668: ## ------------------------ ##
                   1669: 
                   1670: # ac_fn_c_try_compile LINENO
                   1671: # --------------------------
                   1672: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1673: ac_fn_c_try_compile ()
                   1674: {
                   1675:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1676:   rm -f conftest.$ac_objext
                   1677:   if { { ac_try="$ac_compile"
                   1678: case "(($ac_try" in
                   1679:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1680:   *) ac_try_echo=$ac_try;;
                   1681: esac
                   1682: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1683: $as_echo "$ac_try_echo"; } >&5
                   1684:   (eval "$ac_compile") 2>conftest.err
                   1685:   ac_status=$?
                   1686:   if test -s conftest.err; then
                   1687:     grep -v '^ *+' conftest.err >conftest.er1
                   1688:     cat conftest.er1 >&5
                   1689:     mv -f conftest.er1 conftest.err
                   1690:   fi
                   1691:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1692:   test $ac_status = 0; } && {
                   1693:         test -z "$ac_c_werror_flag" ||
                   1694:         test ! -s conftest.err
                   1695:        } && test -s conftest.$ac_objext; then :
                   1696:   ac_retval=0
                   1697: else
                   1698:   $as_echo "$as_me: failed program was:" >&5
                   1699: sed 's/^/| /' conftest.$ac_ext >&5
                   1700: 
                   1701:        ac_retval=1
                   1702: fi
                   1703:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
                   1704:   as_fn_set_status $ac_retval
                   1705: 
                   1706: } # ac_fn_c_try_compile
                   1707: 
                   1708: # ac_fn_c_try_cpp LINENO
                   1709: # ----------------------
                   1710: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
                   1711: ac_fn_c_try_cpp ()
                   1712: {
                   1713:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1714:   if { { ac_try="$ac_cpp conftest.$ac_ext"
                   1715: case "(($ac_try" in
                   1716:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1717:   *) ac_try_echo=$ac_try;;
                   1718: esac
                   1719: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1720: $as_echo "$ac_try_echo"; } >&5
                   1721:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
                   1722:   ac_status=$?
                   1723:   if test -s conftest.err; then
                   1724:     grep -v '^ *+' conftest.err >conftest.er1
                   1725:     cat conftest.er1 >&5
                   1726:     mv -f conftest.er1 conftest.err
                   1727:   fi
                   1728:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1729:   test $ac_status = 0; } > conftest.i && {
                   1730:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   1731:         test ! -s conftest.err
                   1732:        }; then :
                   1733:   ac_retval=0
                   1734: else
                   1735:   $as_echo "$as_me: failed program was:" >&5
                   1736: sed 's/^/| /' conftest.$ac_ext >&5
                   1737: 
                   1738:     ac_retval=1
                   1739: fi
                   1740:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
                   1741:   as_fn_set_status $ac_retval
                   1742: 
                   1743: } # ac_fn_c_try_cpp
                   1744: 
                   1745: # ac_fn_c_try_run LINENO
                   1746: # ----------------------
                   1747: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
                   1748: # that executables *can* be run.
                   1749: ac_fn_c_try_run ()
                   1750: {
                   1751:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1752:   if { { ac_try="$ac_link"
                   1753: case "(($ac_try" in
                   1754:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1755:   *) ac_try_echo=$ac_try;;
                   1756: esac
                   1757: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1758: $as_echo "$ac_try_echo"; } >&5
                   1759:   (eval "$ac_link") 2>&5
                   1760:   ac_status=$?
                   1761:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1762:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
                   1763:   { { case "(($ac_try" in
                   1764:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1765:   *) ac_try_echo=$ac_try;;
                   1766: esac
                   1767: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1768: $as_echo "$ac_try_echo"; } >&5
                   1769:   (eval "$ac_try") 2>&5
                   1770:   ac_status=$?
                   1771:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1772:   test $ac_status = 0; }; }; then :
                   1773:   ac_retval=0
                   1774: else
                   1775:   $as_echo "$as_me: program exited with status $ac_status" >&5
                   1776:        $as_echo "$as_me: failed program was:" >&5
                   1777: sed 's/^/| /' conftest.$ac_ext >&5
                   1778: 
                   1779:        ac_retval=$ac_status
                   1780: fi
                   1781:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1782:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
                   1783:   as_fn_set_status $ac_retval
                   1784: 
                   1785: } # ac_fn_c_try_run
                   1786: 
                   1787: # ac_fn_c_try_link LINENO
                   1788: # -----------------------
                   1789: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1790: ac_fn_c_try_link ()
                   1791: {
                   1792:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1793:   rm -f conftest.$ac_objext conftest$ac_exeext
                   1794:   if { { ac_try="$ac_link"
                   1795: case "(($ac_try" in
                   1796:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1797:   *) ac_try_echo=$ac_try;;
                   1798: esac
                   1799: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1800: $as_echo "$ac_try_echo"; } >&5
                   1801:   (eval "$ac_link") 2>conftest.err
                   1802:   ac_status=$?
                   1803:   if test -s conftest.err; then
                   1804:     grep -v '^ *+' conftest.err >conftest.er1
                   1805:     cat conftest.er1 >&5
                   1806:     mv -f conftest.er1 conftest.err
                   1807:   fi
                   1808:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1809:   test $ac_status = 0; } && {
                   1810:         test -z "$ac_c_werror_flag" ||
                   1811:         test ! -s conftest.err
                   1812:        } && test -s conftest$ac_exeext && {
                   1813:         test "$cross_compiling" = yes ||
                   1814:         $as_test_x conftest$ac_exeext
                   1815:        }; then :
                   1816:   ac_retval=0
                   1817: else
                   1818:   $as_echo "$as_me: failed program was:" >&5
                   1819: sed 's/^/| /' conftest.$ac_ext >&5
                   1820: 
                   1821:        ac_retval=1
                   1822: fi
                   1823:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   1824:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   1825:   # interfere with the next link command; also delete a directory that is
                   1826:   # left behind by Apple's compiler.  We do this before executing the actions.
                   1827:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1828:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
                   1829:   as_fn_set_status $ac_retval
                   1830: 
                   1831: } # ac_fn_c_try_link
                   1832: 
                   1833: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
                   1834: # -------------------------------------------------------
                   1835: # Tests whether HEADER exists and can be compiled using the include files in
                   1836: # INCLUDES, setting the cache variable VAR accordingly.
                   1837: ac_fn_c_check_header_compile ()
                   1838: {
                   1839:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1840:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1841: $as_echo_n "checking for $2... " >&6; }
                   1842: if eval "test \"\${$3+set}\"" = set; then :
                   1843:   $as_echo_n "(cached) " >&6
                   1844: else
                   1845:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1846: /* end confdefs.h.  */
                   1847: $4
                   1848: #include <$2>
                   1849: _ACEOF
                   1850: if ac_fn_c_try_compile "$LINENO"; then :
                   1851:   eval "$3=yes"
                   1852: else
                   1853:   eval "$3=no"
                   1854: fi
                   1855: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1856: fi
                   1857: eval ac_res=\$$3
                   1858:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1859: $as_echo "$ac_res" >&6; }
                   1860:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
                   1861: 
                   1862: } # ac_fn_c_check_header_compile
                   1863: 
                   1864: # ac_fn_c_check_func LINENO FUNC VAR
                   1865: # ----------------------------------
                   1866: # Tests whether FUNC exists, setting the cache variable VAR accordingly
                   1867: ac_fn_c_check_func ()
                   1868: {
                   1869:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1870:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1871: $as_echo_n "checking for $2... " >&6; }
                   1872: if eval "test \"\${$3+set}\"" = set; then :
                   1873:   $as_echo_n "(cached) " >&6
                   1874: else
                   1875:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1876: /* end confdefs.h.  */
                   1877: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
                   1878:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   1879: #define $2 innocuous_$2
                   1880: 
                   1881: /* System header to define __stub macros and hopefully few prototypes,
                   1882:     which can conflict with char $2 (); below.
                   1883:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   1884:     <limits.h> exists even on freestanding compilers.  */
                   1885: 
                   1886: #ifdef __STDC__
                   1887: # include <limits.h>
                   1888: #else
                   1889: # include <assert.h>
                   1890: #endif
                   1891: 
                   1892: #undef $2
                   1893: 
                   1894: /* Override any GCC internal prototype to avoid an error.
                   1895:    Use char because int might match the return type of a GCC
                   1896:    builtin and then its argument prototype would still apply.  */
                   1897: #ifdef __cplusplus
                   1898: extern "C"
                   1899: #endif
                   1900: char $2 ();
                   1901: /* The GNU C library defines this for functions which it implements
                   1902:     to always fail with ENOSYS.  Some functions are actually named
                   1903:     something starting with __ and the normal name is an alias.  */
                   1904: #if defined __stub_$2 || defined __stub___$2
                   1905: choke me
                   1906: #endif
                   1907: 
                   1908: int
                   1909: main ()
                   1910: {
                   1911: return $2 ();
                   1912:   ;
                   1913:   return 0;
                   1914: }
                   1915: _ACEOF
                   1916: if ac_fn_c_try_link "$LINENO"; then :
                   1917:   eval "$3=yes"
                   1918: else
                   1919:   eval "$3=no"
                   1920: fi
                   1921: rm -f core conftest.err conftest.$ac_objext \
                   1922:     conftest$ac_exeext conftest.$ac_ext
                   1923: fi
                   1924: eval ac_res=\$$3
                   1925:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1926: $as_echo "$ac_res" >&6; }
                   1927:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
                   1928: 
                   1929: } # ac_fn_c_check_func
                   1930: 
                   1931: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
                   1932: # -------------------------------------------------------
                   1933: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
                   1934: # the include files in INCLUDES and setting the cache variable VAR
                   1935: # accordingly.
                   1936: ac_fn_c_check_header_mongrel ()
                   1937: {
                   1938:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1939:   if eval "test \"\${$3+set}\"" = set; then :
                   1940:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1941: $as_echo_n "checking for $2... " >&6; }
                   1942: if eval "test \"\${$3+set}\"" = set; then :
                   1943:   $as_echo_n "(cached) " >&6
                   1944: fi
                   1945: eval ac_res=\$$3
                   1946:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1947: $as_echo "$ac_res" >&6; }
                   1948: else
                   1949:   # Is the header compilable?
                   1950: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
                   1951: $as_echo_n "checking $2 usability... " >&6; }
                   1952: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1953: /* end confdefs.h.  */
                   1954: $4
                   1955: #include <$2>
                   1956: _ACEOF
                   1957: if ac_fn_c_try_compile "$LINENO"; then :
                   1958:   ac_header_compiler=yes
                   1959: else
                   1960:   ac_header_compiler=no
                   1961: fi
                   1962: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1963: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
                   1964: $as_echo "$ac_header_compiler" >&6; }
                   1965: 
                   1966: # Is the header present?
                   1967: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
                   1968: $as_echo_n "checking $2 presence... " >&6; }
                   1969: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1970: /* end confdefs.h.  */
                   1971: #include <$2>
                   1972: _ACEOF
                   1973: if ac_fn_c_try_cpp "$LINENO"; then :
                   1974:   ac_header_preproc=yes
                   1975: else
                   1976:   ac_header_preproc=no
                   1977: fi
                   1978: rm -f conftest.err conftest.i conftest.$ac_ext
                   1979: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
                   1980: $as_echo "$ac_header_preproc" >&6; }
                   1981: 
                   1982: # So?  What about this header?
                   1983: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
                   1984:   yes:no: )
                   1985:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
                   1986: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   1987:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   1988: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   1989:     ;;
                   1990:   no:yes:* )
                   1991:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
                   1992: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
                   1993:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
                   1994: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
                   1995:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
                   1996: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
                   1997:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
                   1998: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
                   1999:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   2000: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   2001:     ;;
                   2002: esac
                   2003:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2004: $as_echo_n "checking for $2... " >&6; }
                   2005: if eval "test \"\${$3+set}\"" = set; then :
                   2006:   $as_echo_n "(cached) " >&6
                   2007: else
                   2008:   eval "$3=\$ac_header_compiler"
                   2009: fi
                   2010: eval ac_res=\$$3
                   2011:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2012: $as_echo "$ac_res" >&6; }
                   2013: fi
                   2014:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
                   2015: 
                   2016: } # ac_fn_c_check_header_mongrel
                   2017: 
                   2018: # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
                   2019: # ----------------------------------------------------
                   2020: # Tries to find if the field MEMBER exists in type AGGR, after including
                   2021: # INCLUDES, setting cache variable VAR accordingly.
                   2022: ac_fn_c_check_member ()
                   2023: {
                   2024:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2025:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
                   2026: $as_echo_n "checking for $2.$3... " >&6; }
                   2027: if eval "test \"\${$4+set}\"" = set; then :
                   2028:   $as_echo_n "(cached) " >&6
                   2029: else
                   2030:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2031: /* end confdefs.h.  */
                   2032: $5
                   2033: int
                   2034: main ()
                   2035: {
                   2036: static $2 ac_aggr;
                   2037: if (ac_aggr.$3)
                   2038: return 0;
                   2039:   ;
                   2040:   return 0;
                   2041: }
                   2042: _ACEOF
                   2043: if ac_fn_c_try_compile "$LINENO"; then :
                   2044:   eval "$4=yes"
                   2045: else
                   2046:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2047: /* end confdefs.h.  */
                   2048: $5
                   2049: int
                   2050: main ()
                   2051: {
                   2052: static $2 ac_aggr;
                   2053: if (sizeof ac_aggr.$3)
                   2054: return 0;
                   2055:   ;
                   2056:   return 0;
                   2057: }
                   2058: _ACEOF
                   2059: if ac_fn_c_try_compile "$LINENO"; then :
                   2060:   eval "$4=yes"
                   2061: else
                   2062:   eval "$4=no"
                   2063: fi
                   2064: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2065: fi
                   2066: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2067: fi
                   2068: eval ac_res=\$$4
                   2069:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2070: $as_echo "$ac_res" >&6; }
                   2071:   eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
                   2072: 
                   2073: } # ac_fn_c_check_member
                   2074: 
                   2075: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
                   2076: # -------------------------------------------
                   2077: # Tests whether TYPE exists after having included INCLUDES, setting cache
                   2078: # variable VAR accordingly.
                   2079: ac_fn_c_check_type ()
                   2080: {
                   2081:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   2082:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   2083: $as_echo_n "checking for $2... " >&6; }
                   2084: if eval "test \"\${$3+set}\"" = set; then :
                   2085:   $as_echo_n "(cached) " >&6
                   2086: else
                   2087:   eval "$3=no"
                   2088:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2089: /* end confdefs.h.  */
                   2090: $4
                   2091: int
                   2092: main ()
                   2093: {
                   2094: if (sizeof ($2))
                   2095:         return 0;
                   2096:   ;
                   2097:   return 0;
                   2098: }
                   2099: _ACEOF
                   2100: if ac_fn_c_try_compile "$LINENO"; then :
                   2101:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2102: /* end confdefs.h.  */
                   2103: $4
                   2104: int
                   2105: main ()
                   2106: {
                   2107: if (sizeof (($2)))
                   2108:            return 0;
                   2109:   ;
                   2110:   return 0;
                   2111: }
                   2112: _ACEOF
                   2113: if ac_fn_c_try_compile "$LINENO"; then :
                   2114: 
                   2115: else
                   2116:   eval "$3=yes"
                   2117: fi
                   2118: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   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; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
                   2126: 
                   2127: } # ac_fn_c_check_type
                   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: 
                   2132: It was created by ipsec-tools $as_me 0.8.0, which was
                   2133: generated by GNU Autoconf 2.67.  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: # Check that the precious variables saved in the cache have kept the same
                   2413: # value.
                   2414: ac_cache_corrupted=false
                   2415: for ac_var in $ac_precious_vars; do
                   2416:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   2417:   eval ac_new_set=\$ac_env_${ac_var}_set
                   2418:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
                   2419:   eval ac_new_val=\$ac_env_${ac_var}_value
                   2420:   case $ac_old_set,$ac_new_set in
                   2421:     set,)
                   2422:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   2423: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
                   2424:       ac_cache_corrupted=: ;;
                   2425:     ,set)
                   2426:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
                   2427: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
                   2428:       ac_cache_corrupted=: ;;
                   2429:     ,);;
                   2430:     *)
                   2431:       if test "x$ac_old_val" != "x$ac_new_val"; then
                   2432:        # differences in whitespace do not lead to failure.
                   2433:        ac_old_val_w=`echo x $ac_old_val`
                   2434:        ac_new_val_w=`echo x $ac_new_val`
                   2435:        if test "$ac_old_val_w" != "$ac_new_val_w"; then
                   2436:          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
                   2437: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
                   2438:          ac_cache_corrupted=:
                   2439:        else
                   2440:          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
                   2441: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
                   2442:          eval $ac_var=\$ac_old_val
                   2443:        fi
                   2444:        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
                   2445: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
                   2446:        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
                   2447: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
                   2448:       fi;;
                   2449:   esac
                   2450:   # Pass precious variables to config.status.
                   2451:   if test "$ac_new_set" = set; then
                   2452:     case $ac_new_val in
                   2453:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
                   2454:     *) ac_arg=$ac_var=$ac_new_val ;;
                   2455:     esac
                   2456:     case " $ac_configure_args " in
                   2457:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
                   2458:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
                   2459:     esac
                   2460:   fi
                   2461: done
                   2462: if $ac_cache_corrupted; then
                   2463:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2464: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2465:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
                   2466: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
                   2467:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
                   2468: fi
                   2469: ## -------------------- ##
                   2470: ## Main body of script. ##
                   2471: ## -------------------- ##
                   2472: 
                   2473: ac_ext=c
                   2474: ac_cpp='$CPP $CPPFLAGS'
                   2475: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2476: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2477: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2478: 
                   2479: 
                   2480: 
                   2481: ac_config_headers="$ac_config_headers config.h"
                   2482: 
                   2483: 
                   2484: am__api_version='1.11'
                   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: # Find a good install program.  We prefer a C program (faster),
                   2516: # so one script is as good as another.  But avoid the broken or
                   2517: # incompatible versions:
                   2518: # SysV /etc/install, /usr/sbin/install
                   2519: # SunOS /usr/etc/install
                   2520: # IRIX /sbin/install
                   2521: # AIX /bin/install
                   2522: # AmigaOS /C/install, which installs bootblocks on floppy discs
                   2523: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   2524: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   2525: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
                   2526: # OS/2's system install, which has a completely different semantic
                   2527: # ./install, which can be erroneously created by make from ./install.sh.
                   2528: # Reject install programs that cannot install multiple files.
                   2529: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
                   2530: $as_echo_n "checking for a BSD-compatible install... " >&6; }
                   2531: if test -z "$INSTALL"; then
                   2532: if test "${ac_cv_path_install+set}" = set; then :
                   2533:   $as_echo_n "(cached) " >&6
                   2534: else
                   2535:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2536: for as_dir in $PATH
                   2537: do
                   2538:   IFS=$as_save_IFS
                   2539:   test -z "$as_dir" && as_dir=.
                   2540:     # Account for people who put trailing slashes in PATH elements.
                   2541: case $as_dir/ in #((
                   2542:   ./ | .// | /[cC]/* | \
                   2543:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
                   2544:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
                   2545:   /usr/ucb/* ) ;;
                   2546:   *)
                   2547:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   2548:     # Don't use installbsd from OSF since it installs stuff as root
                   2549:     # by default.
                   2550:     for ac_prog in ginstall scoinst install; do
                   2551:       for ac_exec_ext in '' $ac_executable_extensions; do
                   2552:        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
                   2553:          if test $ac_prog = install &&
                   2554:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2555:            # AIX install.  It has an incompatible calling convention.
                   2556:            :
                   2557:          elif test $ac_prog = install &&
                   2558:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2559:            # program-specific install script used by HP pwplus--don't use.
                   2560:            :
                   2561:          else
                   2562:            rm -rf conftest.one conftest.two conftest.dir
                   2563:            echo one > conftest.one
                   2564:            echo two > conftest.two
                   2565:            mkdir conftest.dir
                   2566:            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
                   2567:              test -s conftest.one && test -s conftest.two &&
                   2568:              test -s conftest.dir/conftest.one &&
                   2569:              test -s conftest.dir/conftest.two
                   2570:            then
                   2571:              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   2572:              break 3
                   2573:            fi
                   2574:          fi
                   2575:        fi
                   2576:       done
                   2577:     done
                   2578:     ;;
                   2579: esac
                   2580: 
                   2581:   done
                   2582: IFS=$as_save_IFS
                   2583: 
                   2584: rm -rf conftest.one conftest.two conftest.dir
                   2585: 
                   2586: fi
                   2587:   if test "${ac_cv_path_install+set}" = set; then
                   2588:     INSTALL=$ac_cv_path_install
                   2589:   else
                   2590:     # As a last resort, use the slow shell script.  Don't cache a
                   2591:     # value for INSTALL within a source directory, because that will
                   2592:     # break other packages using the cache if that directory is
                   2593:     # removed, or if the value is a relative name.
                   2594:     INSTALL=$ac_install_sh
                   2595:   fi
                   2596: fi
                   2597: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
                   2598: $as_echo "$INSTALL" >&6; }
                   2599: 
                   2600: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   2601: # It thinks the first close brace ends the variable substitution.
                   2602: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   2603: 
                   2604: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
                   2605: 
                   2606: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   2607: 
                   2608: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
                   2609: $as_echo_n "checking whether build environment is sane... " >&6; }
                   2610: # Just in case
                   2611: sleep 1
                   2612: echo timestamp > conftest.file
                   2613: # Reject unsafe characters in $srcdir or the absolute working directory
                   2614: # name.  Accept space and tab only in the latter.
                   2615: am_lf='
                   2616: '
                   2617: case `pwd` in
                   2618:   *[\\\"\#\$\&\'\`$am_lf]*)
                   2619:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
                   2620: esac
                   2621: case $srcdir in
                   2622:   *[\\\"\#\$\&\'\`$am_lf\ \    ]*)
                   2623:     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
                   2624: esac
                   2625: 
                   2626: # Do `set' in a subshell so we don't clobber the current shell's
                   2627: # arguments.  Must try -L first in case configure is actually a
                   2628: # symlink; some systems play weird games with the mod time of symlinks
                   2629: # (eg FreeBSD returns the mod time of the symlink's containing
                   2630: # directory).
                   2631: if (
                   2632:    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
                   2633:    if test "$*" = "X"; then
                   2634:       # -L didn't work.
                   2635:       set X `ls -t "$srcdir/configure" conftest.file`
                   2636:    fi
                   2637:    rm -f conftest.file
                   2638:    if test "$*" != "X $srcdir/configure conftest.file" \
                   2639:       && test "$*" != "X conftest.file $srcdir/configure"; then
                   2640: 
                   2641:       # If neither matched, then we have a broken ls.  This can happen
                   2642:       # if, for instance, CONFIG_SHELL is bash and it inherits a
                   2643:       # broken ls alias from the environment.  This has actually
                   2644:       # happened.  Such a system could not be considered "sane".
                   2645:       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
                   2646: alias in your environment" "$LINENO" 5
                   2647:    fi
                   2648: 
                   2649:    test "$2" = conftest.file
                   2650:    )
                   2651: then
                   2652:    # Ok.
                   2653:    :
                   2654: else
                   2655:    as_fn_error $? "newly created file is older than distributed files!
                   2656: Check your system clock" "$LINENO" 5
                   2657: fi
                   2658: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2659: $as_echo "yes" >&6; }
                   2660: test "$program_prefix" != NONE &&
                   2661:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
                   2662: # Use a double $ so make ignores it.
                   2663: test "$program_suffix" != NONE &&
                   2664:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
                   2665: # Double any \ or $.
                   2666: # By default was `s,x,x', remove it if useless.
                   2667: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
                   2668: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
                   2669: 
                   2670: # expand $ac_aux_dir to an absolute path
                   2671: am_aux_dir=`cd $ac_aux_dir && pwd`
                   2672: 
                   2673: if test x"${MISSING+set}" != xset; then
                   2674:   case $am_aux_dir in
                   2675:   *\ * | *\    *)
                   2676:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
                   2677:   *)
                   2678:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
                   2679:   esac
                   2680: fi
                   2681: # Use eval to expand $SHELL
                   2682: if eval "$MISSING --run true"; then
                   2683:   am_missing_run="$MISSING --run "
                   2684: else
                   2685:   am_missing_run=
                   2686:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
                   2687: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
                   2688: fi
                   2689: 
                   2690: if test x"${install_sh}" != xset; then
                   2691:   case $am_aux_dir in
                   2692:   *\ * | *\    *)
                   2693:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
                   2694:   *)
                   2695:     install_sh="\${SHELL} $am_aux_dir/install-sh"
                   2696:   esac
                   2697: fi
                   2698: 
                   2699: # Installed binaries are usually stripped using `strip' when the user
                   2700: # run `make install-strip'.  However `strip' might not be the right
                   2701: # tool to use in cross-compilation environments, therefore Automake
                   2702: # will honor the `STRIP' environment variable to overrule this program.
                   2703: if test "$cross_compiling" != no; then
                   2704:   if test -n "$ac_tool_prefix"; then
                   2705:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   2706: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   2707: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2708: $as_echo_n "checking for $ac_word... " >&6; }
                   2709: if test "${ac_cv_prog_STRIP+set}" = set; then :
                   2710:   $as_echo_n "(cached) " >&6
                   2711: else
                   2712:   if test -n "$STRIP"; then
                   2713:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   2714: else
                   2715: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2716: for as_dir in $PATH
                   2717: do
                   2718:   IFS=$as_save_IFS
                   2719:   test -z "$as_dir" && as_dir=.
                   2720:     for ac_exec_ext in '' $ac_executable_extensions; do
                   2721:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   2722:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   2723:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2724:     break 2
                   2725:   fi
                   2726: done
                   2727:   done
                   2728: IFS=$as_save_IFS
                   2729: 
                   2730: fi
                   2731: fi
                   2732: STRIP=$ac_cv_prog_STRIP
                   2733: if test -n "$STRIP"; then
                   2734:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   2735: $as_echo "$STRIP" >&6; }
                   2736: else
                   2737:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2738: $as_echo "no" >&6; }
                   2739: fi
                   2740: 
                   2741: 
                   2742: fi
                   2743: if test -z "$ac_cv_prog_STRIP"; then
                   2744:   ac_ct_STRIP=$STRIP
                   2745:   # Extract the first word of "strip", so it can be a program name with args.
                   2746: set dummy strip; ac_word=$2
                   2747: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2748: $as_echo_n "checking for $ac_word... " >&6; }
                   2749: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
                   2750:   $as_echo_n "(cached) " >&6
                   2751: else
                   2752:   if test -n "$ac_ct_STRIP"; then
                   2753:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   2754: else
                   2755: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2756: for as_dir in $PATH
                   2757: do
                   2758:   IFS=$as_save_IFS
                   2759:   test -z "$as_dir" && as_dir=.
                   2760:     for ac_exec_ext in '' $ac_executable_extensions; do
                   2761:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   2762:     ac_cv_prog_ac_ct_STRIP="strip"
                   2763:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2764:     break 2
                   2765:   fi
                   2766: done
                   2767:   done
                   2768: IFS=$as_save_IFS
                   2769: 
                   2770: fi
                   2771: fi
                   2772: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   2773: if test -n "$ac_ct_STRIP"; then
                   2774:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   2775: $as_echo "$ac_ct_STRIP" >&6; }
                   2776: else
                   2777:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2778: $as_echo "no" >&6; }
                   2779: fi
                   2780: 
                   2781:   if test "x$ac_ct_STRIP" = x; then
                   2782:     STRIP=":"
                   2783:   else
                   2784:     case $cross_compiling:$ac_tool_warned in
                   2785: yes:)
                   2786: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   2787: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   2788: ac_tool_warned=yes ;;
                   2789: esac
                   2790:     STRIP=$ac_ct_STRIP
                   2791:   fi
                   2792: else
                   2793:   STRIP="$ac_cv_prog_STRIP"
                   2794: fi
                   2795: 
                   2796: fi
                   2797: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
                   2798: 
                   2799: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
                   2800: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
                   2801: if test -z "$MKDIR_P"; then
                   2802:   if test "${ac_cv_path_mkdir+set}" = set; then :
                   2803:   $as_echo_n "(cached) " >&6
                   2804: else
                   2805:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2806: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
                   2807: do
                   2808:   IFS=$as_save_IFS
                   2809:   test -z "$as_dir" && as_dir=.
                   2810:     for ac_prog in mkdir gmkdir; do
                   2811:         for ac_exec_ext in '' $ac_executable_extensions; do
                   2812:           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
                   2813:           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
                   2814:             'mkdir (GNU coreutils) '* | \
                   2815:             'mkdir (coreutils) '* | \
                   2816:             'mkdir (fileutils) '4.1*)
                   2817:               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
                   2818:               break 3;;
                   2819:           esac
                   2820:         done
                   2821:        done
                   2822:   done
                   2823: IFS=$as_save_IFS
                   2824: 
                   2825: fi
                   2826: 
                   2827:   test -d ./--version && rmdir ./--version
                   2828:   if test "${ac_cv_path_mkdir+set}" = set; then
                   2829:     MKDIR_P="$ac_cv_path_mkdir -p"
                   2830:   else
                   2831:     # As a last resort, use the slow shell script.  Don't cache a
                   2832:     # value for MKDIR_P within a source directory, because that will
                   2833:     # break other packages using the cache if that directory is
                   2834:     # removed, or if the value is a relative name.
                   2835:     MKDIR_P="$ac_install_sh -d"
                   2836:   fi
                   2837: fi
                   2838: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
                   2839: $as_echo "$MKDIR_P" >&6; }
                   2840: 
                   2841: mkdir_p="$MKDIR_P"
                   2842: case $mkdir_p in
                   2843:   [\\/$]* | ?:[\\/]*) ;;
                   2844:   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
                   2845: esac
                   2846: 
                   2847: for ac_prog in gawk mawk nawk awk
                   2848: do
                   2849:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2850: set dummy $ac_prog; ac_word=$2
                   2851: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2852: $as_echo_n "checking for $ac_word... " >&6; }
                   2853: if test "${ac_cv_prog_AWK+set}" = set; then :
                   2854:   $as_echo_n "(cached) " >&6
                   2855: else
                   2856:   if test -n "$AWK"; then
                   2857:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   2858: else
                   2859: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2860: for as_dir in $PATH
                   2861: do
                   2862:   IFS=$as_save_IFS
                   2863:   test -z "$as_dir" && as_dir=.
                   2864:     for ac_exec_ext in '' $ac_executable_extensions; do
                   2865:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   2866:     ac_cv_prog_AWK="$ac_prog"
                   2867:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2868:     break 2
                   2869:   fi
                   2870: done
                   2871:   done
                   2872: IFS=$as_save_IFS
                   2873: 
                   2874: fi
                   2875: fi
                   2876: AWK=$ac_cv_prog_AWK
                   2877: if test -n "$AWK"; then
                   2878:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   2879: $as_echo "$AWK" >&6; }
                   2880: else
                   2881:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2882: $as_echo "no" >&6; }
                   2883: fi
                   2884: 
                   2885: 
                   2886:   test -n "$AWK" && break
                   2887: done
                   2888: 
                   2889: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   2890: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
                   2891: set x ${MAKE-make}
                   2892: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
                   2893: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
                   2894:   $as_echo_n "(cached) " >&6
                   2895: else
                   2896:   cat >conftest.make <<\_ACEOF
                   2897: SHELL = /bin/sh
                   2898: all:
                   2899:        @echo '@@@%%%=$(MAKE)=@@@%%%'
                   2900: _ACEOF
                   2901: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
                   2902: case `${MAKE-make} -f conftest.make 2>/dev/null` in
                   2903:   *@@@%%%=?*=@@@%%%*)
                   2904:     eval ac_cv_prog_make_${ac_make}_set=yes;;
                   2905:   *)
                   2906:     eval ac_cv_prog_make_${ac_make}_set=no;;
                   2907: esac
                   2908: rm -f conftest.make
                   2909: fi
                   2910: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
                   2911:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2912: $as_echo "yes" >&6; }
                   2913:   SET_MAKE=
                   2914: else
                   2915:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2916: $as_echo "no" >&6; }
                   2917:   SET_MAKE="MAKE=${MAKE-make}"
                   2918: fi
                   2919: 
                   2920: rm -rf .tst 2>/dev/null
                   2921: mkdir .tst 2>/dev/null
                   2922: if test -d .tst; then
                   2923:   am__leading_dot=.
                   2924: else
                   2925:   am__leading_dot=_
                   2926: fi
                   2927: rmdir .tst 2>/dev/null
                   2928: 
                   2929: if test "`cd $srcdir && pwd`" != "`pwd`"; then
                   2930:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
                   2931:   # is not polluted with repeated "-I."
                   2932:   am__isrc=' -I$(srcdir)'
                   2933:   # test to see if srcdir already configured
                   2934:   if test -f $srcdir/config.status; then
                   2935:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
                   2936:   fi
                   2937: fi
                   2938: 
                   2939: # test whether we have cygpath
                   2940: if test -z "$CYGPATH_W"; then
                   2941:   if (cygpath --version) >/dev/null 2>/dev/null; then
                   2942:     CYGPATH_W='cygpath -w'
                   2943:   else
                   2944:     CYGPATH_W=echo
                   2945:   fi
                   2946: fi
                   2947: 
                   2948: 
                   2949: # Define the identity of the package.
                   2950:  PACKAGE='ipsec-tools'
                   2951:  VERSION='0.8.0'
                   2952: 
                   2953: 
                   2954: cat >>confdefs.h <<_ACEOF
                   2955: #define PACKAGE "$PACKAGE"
                   2956: _ACEOF
                   2957: 
                   2958: 
                   2959: cat >>confdefs.h <<_ACEOF
                   2960: #define VERSION "$VERSION"
                   2961: _ACEOF
                   2962: 
                   2963: # Some tools Automake needs.
                   2964: 
                   2965: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
                   2966: 
                   2967: 
                   2968: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   2969: 
                   2970: 
                   2971: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
                   2972: 
                   2973: 
                   2974: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   2975: 
                   2976: 
                   2977: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
                   2978: 
                   2979: # We need awk for the "check" target.  The system "awk" is bad on
                   2980: # some platforms.
                   2981: # Always define AMTAR for backward compatibility.
                   2982: 
                   2983: AMTAR=${AMTAR-"${am_missing_run}tar"}
                   2984: 
                   2985: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
                   2986: 
                   2987: 
                   2988: 
                   2989: 
                   2990: 
                   2991: 
                   2992: # Check whether --enable-shared was given.
                   2993: if test "${enable_shared+set}" = set; then :
                   2994:   enableval=$enable_shared; p=${PACKAGE-default}
                   2995:     case $enableval in
                   2996:     yes) enable_shared=yes ;;
                   2997:     no) enable_shared=no ;;
                   2998:     *)
                   2999:       enable_shared=no
                   3000:       # Look at the argument we got.  We use all the common list separators.
                   3001:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   3002:       for pkg in $enableval; do
                   3003:        IFS="$lt_save_ifs"
                   3004:        if test "X$pkg" = "X$p"; then
                   3005:          enable_shared=yes
                   3006:        fi
                   3007:       done
                   3008:       IFS="$lt_save_ifs"
                   3009:       ;;
                   3010:     esac
                   3011: else
                   3012:   enable_shared=no
                   3013: fi
                   3014: 
                   3015: 
                   3016: 
                   3017: 
                   3018: 
                   3019: 
                   3020: 
                   3021: 
                   3022: 
                   3023: 
                   3024: ac_ext=c
                   3025: ac_cpp='$CPP $CPPFLAGS'
                   3026: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3027: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3028: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3029: if test -n "$ac_tool_prefix"; then
                   3030:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   3031: set dummy ${ac_tool_prefix}gcc; ac_word=$2
                   3032: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3033: $as_echo_n "checking for $ac_word... " >&6; }
                   3034: if test "${ac_cv_prog_CC+set}" = set; then :
                   3035:   $as_echo_n "(cached) " >&6
                   3036: else
                   3037:   if test -n "$CC"; then
                   3038:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3039: else
                   3040: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3041: for as_dir in $PATH
                   3042: do
                   3043:   IFS=$as_save_IFS
                   3044:   test -z "$as_dir" && as_dir=.
                   3045:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3046:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   3047:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
                   3048:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3049:     break 2
                   3050:   fi
                   3051: done
                   3052:   done
                   3053: IFS=$as_save_IFS
                   3054: 
                   3055: fi
                   3056: fi
                   3057: CC=$ac_cv_prog_CC
                   3058: if test -n "$CC"; then
                   3059:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3060: $as_echo "$CC" >&6; }
                   3061: else
                   3062:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3063: $as_echo "no" >&6; }
                   3064: fi
                   3065: 
                   3066: 
                   3067: fi
                   3068: if test -z "$ac_cv_prog_CC"; then
                   3069:   ac_ct_CC=$CC
                   3070:   # Extract the first word of "gcc", so it can be a program name with args.
                   3071: set dummy gcc; ac_word=$2
                   3072: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3073: $as_echo_n "checking for $ac_word... " >&6; }
                   3074: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
                   3075:   $as_echo_n "(cached) " >&6
                   3076: else
                   3077:   if test -n "$ac_ct_CC"; then
                   3078:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3079: else
                   3080: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3081: for as_dir in $PATH
                   3082: do
                   3083:   IFS=$as_save_IFS
                   3084:   test -z "$as_dir" && as_dir=.
                   3085:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3086:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   3087:     ac_cv_prog_ac_ct_CC="gcc"
                   3088:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3089:     break 2
                   3090:   fi
                   3091: done
                   3092:   done
                   3093: IFS=$as_save_IFS
                   3094: 
                   3095: fi
                   3096: fi
                   3097: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3098: if test -n "$ac_ct_CC"; then
                   3099:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   3100: $as_echo "$ac_ct_CC" >&6; }
                   3101: else
                   3102:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3103: $as_echo "no" >&6; }
                   3104: fi
                   3105: 
                   3106:   if test "x$ac_ct_CC" = x; then
                   3107:     CC=""
                   3108:   else
                   3109:     case $cross_compiling:$ac_tool_warned in
                   3110: yes:)
                   3111: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3112: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3113: ac_tool_warned=yes ;;
                   3114: esac
                   3115:     CC=$ac_ct_CC
                   3116:   fi
                   3117: else
                   3118:   CC="$ac_cv_prog_CC"
                   3119: fi
                   3120: 
                   3121: if test -z "$CC"; then
                   3122:           if test -n "$ac_tool_prefix"; then
                   3123:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
                   3124: set dummy ${ac_tool_prefix}cc; ac_word=$2
                   3125: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3126: $as_echo_n "checking for $ac_word... " >&6; }
                   3127: if test "${ac_cv_prog_CC+set}" = set; then :
                   3128:   $as_echo_n "(cached) " >&6
                   3129: else
                   3130:   if test -n "$CC"; then
                   3131:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3132: else
                   3133: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3134: for as_dir in $PATH
                   3135: do
                   3136:   IFS=$as_save_IFS
                   3137:   test -z "$as_dir" && as_dir=.
                   3138:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3139:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   3140:     ac_cv_prog_CC="${ac_tool_prefix}cc"
                   3141:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3142:     break 2
                   3143:   fi
                   3144: done
                   3145:   done
                   3146: IFS=$as_save_IFS
                   3147: 
                   3148: fi
                   3149: fi
                   3150: CC=$ac_cv_prog_CC
                   3151: if test -n "$CC"; then
                   3152:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3153: $as_echo "$CC" >&6; }
                   3154: else
                   3155:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3156: $as_echo "no" >&6; }
                   3157: fi
                   3158: 
                   3159: 
                   3160:   fi
                   3161: fi
                   3162: if test -z "$CC"; then
                   3163:   # Extract the first word of "cc", so it can be a program name with args.
                   3164: set dummy cc; ac_word=$2
                   3165: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3166: $as_echo_n "checking for $ac_word... " >&6; }
                   3167: if test "${ac_cv_prog_CC+set}" = set; then :
                   3168:   $as_echo_n "(cached) " >&6
                   3169: else
                   3170:   if test -n "$CC"; then
                   3171:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3172: else
                   3173:   ac_prog_rejected=no
                   3174: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3175: for as_dir in $PATH
                   3176: do
                   3177:   IFS=$as_save_IFS
                   3178:   test -z "$as_dir" && as_dir=.
                   3179:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3180:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   3181:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   3182:        ac_prog_rejected=yes
                   3183:        continue
                   3184:      fi
                   3185:     ac_cv_prog_CC="cc"
                   3186:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3187:     break 2
                   3188:   fi
                   3189: done
                   3190:   done
                   3191: IFS=$as_save_IFS
                   3192: 
                   3193: if test $ac_prog_rejected = yes; then
                   3194:   # We found a bogon in the path, so make sure we never use it.
                   3195:   set dummy $ac_cv_prog_CC
                   3196:   shift
                   3197:   if test $# != 0; then
                   3198:     # We chose a different compiler from the bogus one.
                   3199:     # However, it has the same basename, so the bogon will be chosen
                   3200:     # first if we set CC to just the basename; use the full file name.
                   3201:     shift
                   3202:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
                   3203:   fi
                   3204: fi
                   3205: fi
                   3206: fi
                   3207: CC=$ac_cv_prog_CC
                   3208: if test -n "$CC"; then
                   3209:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3210: $as_echo "$CC" >&6; }
                   3211: else
                   3212:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3213: $as_echo "no" >&6; }
                   3214: fi
                   3215: 
                   3216: 
                   3217: fi
                   3218: if test -z "$CC"; then
                   3219:   if test -n "$ac_tool_prefix"; then
                   3220:   for ac_prog in cl.exe
                   3221:   do
                   3222:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3223: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   3224: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3225: $as_echo_n "checking for $ac_word... " >&6; }
                   3226: if test "${ac_cv_prog_CC+set}" = set; then :
                   3227:   $as_echo_n "(cached) " >&6
                   3228: else
                   3229:   if test -n "$CC"; then
                   3230:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3231: else
                   3232: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3233: for as_dir in $PATH
                   3234: do
                   3235:   IFS=$as_save_IFS
                   3236:   test -z "$as_dir" && as_dir=.
                   3237:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3238:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   3239:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
                   3240:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3241:     break 2
                   3242:   fi
                   3243: done
                   3244:   done
                   3245: IFS=$as_save_IFS
                   3246: 
                   3247: fi
                   3248: fi
                   3249: CC=$ac_cv_prog_CC
                   3250: if test -n "$CC"; then
                   3251:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3252: $as_echo "$CC" >&6; }
                   3253: else
                   3254:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3255: $as_echo "no" >&6; }
                   3256: fi
                   3257: 
                   3258: 
                   3259:     test -n "$CC" && break
                   3260:   done
                   3261: fi
                   3262: if test -z "$CC"; then
                   3263:   ac_ct_CC=$CC
                   3264:   for ac_prog in cl.exe
                   3265: do
                   3266:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3267: set dummy $ac_prog; ac_word=$2
                   3268: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3269: $as_echo_n "checking for $ac_word... " >&6; }
                   3270: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
                   3271:   $as_echo_n "(cached) " >&6
                   3272: else
                   3273:   if test -n "$ac_ct_CC"; then
                   3274:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3275: else
                   3276: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3277: for as_dir in $PATH
                   3278: do
                   3279:   IFS=$as_save_IFS
                   3280:   test -z "$as_dir" && as_dir=.
                   3281:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3282:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   3283:     ac_cv_prog_ac_ct_CC="$ac_prog"
                   3284:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3285:     break 2
                   3286:   fi
                   3287: done
                   3288:   done
                   3289: IFS=$as_save_IFS
                   3290: 
                   3291: fi
                   3292: fi
                   3293: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3294: if test -n "$ac_ct_CC"; then
                   3295:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   3296: $as_echo "$ac_ct_CC" >&6; }
                   3297: else
                   3298:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3299: $as_echo "no" >&6; }
                   3300: fi
                   3301: 
                   3302: 
                   3303:   test -n "$ac_ct_CC" && break
                   3304: done
                   3305: 
                   3306:   if test "x$ac_ct_CC" = x; then
                   3307:     CC=""
                   3308:   else
                   3309:     case $cross_compiling:$ac_tool_warned in
                   3310: yes:)
                   3311: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3312: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3313: ac_tool_warned=yes ;;
                   3314: esac
                   3315:     CC=$ac_ct_CC
                   3316:   fi
                   3317: fi
                   3318: 
                   3319: fi
                   3320: 
                   3321: 
                   3322: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3323: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3324: as_fn_error $? "no acceptable C compiler found in \$PATH
                   3325: See \`config.log' for more details" "$LINENO" 5 ; }
                   3326: 
                   3327: # Provide some information about the compiler.
                   3328: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
                   3329: set X $ac_compile
                   3330: ac_compiler=$2
                   3331: for ac_option in --version -v -V -qversion; do
                   3332:   { { ac_try="$ac_compiler $ac_option >&5"
                   3333: case "(($ac_try" in
                   3334:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3335:   *) ac_try_echo=$ac_try;;
                   3336: esac
                   3337: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3338: $as_echo "$ac_try_echo"; } >&5
                   3339:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
                   3340:   ac_status=$?
                   3341:   if test -s conftest.err; then
                   3342:     sed '10a\
                   3343: ... rest of stderr output deleted ...
                   3344:          10q' conftest.err >conftest.er1
                   3345:     cat conftest.er1 >&5
                   3346:   fi
                   3347:   rm -f conftest.er1 conftest.err
                   3348:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3349:   test $ac_status = 0; }
                   3350: done
                   3351: 
                   3352: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3353: /* end confdefs.h.  */
                   3354: 
                   3355: int
                   3356: main ()
                   3357: {
                   3358: 
                   3359:   ;
                   3360:   return 0;
                   3361: }
                   3362: _ACEOF
                   3363: ac_clean_files_save=$ac_clean_files
                   3364: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
                   3365: # Try to create an executable without -o first, disregard a.out.
                   3366: # It will help us diagnose broken compilers, and finding out an intuition
                   3367: # of exeext.
                   3368: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
                   3369: $as_echo_n "checking whether the C compiler works... " >&6; }
                   3370: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   3371: 
                   3372: # The possible output files:
                   3373: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
                   3374: 
                   3375: ac_rmfiles=
                   3376: for ac_file in $ac_files
                   3377: do
                   3378:   case $ac_file in
                   3379:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3380:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
                   3381:   esac
                   3382: done
                   3383: rm -f $ac_rmfiles
                   3384: 
                   3385: if { { ac_try="$ac_link_default"
                   3386: case "(($ac_try" in
                   3387:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3388:   *) ac_try_echo=$ac_try;;
                   3389: esac
                   3390: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3391: $as_echo "$ac_try_echo"; } >&5
                   3392:   (eval "$ac_link_default") 2>&5
                   3393:   ac_status=$?
                   3394:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3395:   test $ac_status = 0; }; then :
                   3396:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
                   3397: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
                   3398: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
                   3399: # so that the user can short-circuit this test for compilers unknown to
                   3400: # Autoconf.
                   3401: for ac_file in $ac_files ''
                   3402: do
                   3403:   test -f "$ac_file" || continue
                   3404:   case $ac_file in
                   3405:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
                   3406:        ;;
                   3407:     [ab].out )
                   3408:        # We found the default executable, but exeext='' is most
                   3409:        # certainly right.
                   3410:        break;;
                   3411:     *.* )
                   3412:        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
                   3413:        then :; else
                   3414:           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3415:        fi
                   3416:        # We set ac_cv_exeext here because the later test for it is not
                   3417:        # safe: cross compilers may not add the suffix if given an `-o'
                   3418:        # argument, so we may need to know it at that point already.
                   3419:        # Even if this section looks crufty: it has the advantage of
                   3420:        # actually working.
                   3421:        break;;
                   3422:     * )
                   3423:        break;;
                   3424:   esac
                   3425: done
                   3426: test "$ac_cv_exeext" = no && ac_cv_exeext=
                   3427: 
                   3428: else
                   3429:   ac_file=''
                   3430: fi
                   3431: if test -z "$ac_file"; then :
                   3432:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3433: $as_echo "no" >&6; }
                   3434: $as_echo "$as_me: failed program was:" >&5
                   3435: sed 's/^/| /' conftest.$ac_ext >&5
                   3436: 
                   3437: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3438: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3439: as_fn_error 77 "C compiler cannot create executables
                   3440: See \`config.log' for more details" "$LINENO" 5 ; }
                   3441: else
                   3442:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3443: $as_echo "yes" >&6; }
                   3444: fi
                   3445: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
                   3446: $as_echo_n "checking for C compiler default output file name... " >&6; }
                   3447: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
                   3448: $as_echo "$ac_file" >&6; }
                   3449: ac_exeext=$ac_cv_exeext
                   3450: 
                   3451: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
                   3452: ac_clean_files=$ac_clean_files_save
                   3453: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
                   3454: $as_echo_n "checking for suffix of executables... " >&6; }
                   3455: if { { ac_try="$ac_link"
                   3456: case "(($ac_try" in
                   3457:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3458:   *) ac_try_echo=$ac_try;;
                   3459: esac
                   3460: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3461: $as_echo "$ac_try_echo"; } >&5
                   3462:   (eval "$ac_link") 2>&5
                   3463:   ac_status=$?
                   3464:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3465:   test $ac_status = 0; }; then :
                   3466:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   3467: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   3468: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   3469: # `rm'.
                   3470: for ac_file in conftest.exe conftest conftest.*; do
                   3471:   test -f "$ac_file" || continue
                   3472:   case $ac_file in
                   3473:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3474:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3475:          break;;
                   3476:     * ) break;;
                   3477:   esac
                   3478: done
                   3479: else
                   3480:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3481: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3482: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
                   3483: See \`config.log' for more details" "$LINENO" 5 ; }
                   3484: fi
                   3485: rm -f conftest conftest$ac_cv_exeext
                   3486: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
                   3487: $as_echo "$ac_cv_exeext" >&6; }
                   3488: 
                   3489: rm -f conftest.$ac_ext
                   3490: EXEEXT=$ac_cv_exeext
                   3491: ac_exeext=$EXEEXT
                   3492: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3493: /* end confdefs.h.  */
                   3494: #include <stdio.h>
                   3495: int
                   3496: main ()
                   3497: {
                   3498: FILE *f = fopen ("conftest.out", "w");
                   3499:  return ferror (f) || fclose (f) != 0;
                   3500: 
                   3501:   ;
                   3502:   return 0;
                   3503: }
                   3504: _ACEOF
                   3505: ac_clean_files="$ac_clean_files conftest.out"
                   3506: # Check that the compiler produces executables we can run.  If not, either
                   3507: # the compiler is broken, or we cross compile.
                   3508: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
                   3509: $as_echo_n "checking whether we are cross compiling... " >&6; }
                   3510: if test "$cross_compiling" != yes; then
                   3511:   { { ac_try="$ac_link"
                   3512: case "(($ac_try" in
                   3513:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3514:   *) ac_try_echo=$ac_try;;
                   3515: esac
                   3516: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3517: $as_echo "$ac_try_echo"; } >&5
                   3518:   (eval "$ac_link") 2>&5
                   3519:   ac_status=$?
                   3520:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3521:   test $ac_status = 0; }
                   3522:   if { ac_try='./conftest$ac_cv_exeext'
                   3523:   { { case "(($ac_try" in
                   3524:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3525:   *) ac_try_echo=$ac_try;;
                   3526: esac
                   3527: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3528: $as_echo "$ac_try_echo"; } >&5
                   3529:   (eval "$ac_try") 2>&5
                   3530:   ac_status=$?
                   3531:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3532:   test $ac_status = 0; }; }; then
                   3533:     cross_compiling=no
                   3534:   else
                   3535:     if test "$cross_compiling" = maybe; then
                   3536:        cross_compiling=yes
                   3537:     else
                   3538:        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3539: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3540: as_fn_error $? "cannot run C compiled programs.
                   3541: If you meant to cross compile, use \`--host'.
                   3542: See \`config.log' for more details" "$LINENO" 5 ; }
                   3543:     fi
                   3544:   fi
                   3545: fi
                   3546: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
                   3547: $as_echo "$cross_compiling" >&6; }
                   3548: 
                   3549: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
                   3550: ac_clean_files=$ac_clean_files_save
                   3551: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
                   3552: $as_echo_n "checking for suffix of object files... " >&6; }
                   3553: if test "${ac_cv_objext+set}" = set; then :
                   3554:   $as_echo_n "(cached) " >&6
                   3555: else
                   3556:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3557: /* end confdefs.h.  */
                   3558: 
                   3559: int
                   3560: main ()
                   3561: {
                   3562: 
                   3563:   ;
                   3564:   return 0;
                   3565: }
                   3566: _ACEOF
                   3567: rm -f conftest.o conftest.obj
                   3568: if { { ac_try="$ac_compile"
                   3569: case "(($ac_try" in
                   3570:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3571:   *) ac_try_echo=$ac_try;;
                   3572: esac
                   3573: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3574: $as_echo "$ac_try_echo"; } >&5
                   3575:   (eval "$ac_compile") 2>&5
                   3576:   ac_status=$?
                   3577:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3578:   test $ac_status = 0; }; then :
                   3579:   for ac_file in conftest.o conftest.obj conftest.*; do
                   3580:   test -f "$ac_file" || continue;
                   3581:   case $ac_file in
                   3582:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
                   3583:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   3584:        break;;
                   3585:   esac
                   3586: done
                   3587: else
                   3588:   $as_echo "$as_me: failed program was:" >&5
                   3589: sed 's/^/| /' conftest.$ac_ext >&5
                   3590: 
                   3591: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3592: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3593: as_fn_error $? "cannot compute suffix of object files: cannot compile
                   3594: See \`config.log' for more details" "$LINENO" 5 ; }
                   3595: fi
                   3596: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   3597: fi
                   3598: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
                   3599: $as_echo "$ac_cv_objext" >&6; }
                   3600: OBJEXT=$ac_cv_objext
                   3601: ac_objext=$OBJEXT
                   3602: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
                   3603: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
                   3604: if test "${ac_cv_c_compiler_gnu+set}" = set; then :
                   3605:   $as_echo_n "(cached) " >&6
                   3606: else
                   3607:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3608: /* end confdefs.h.  */
                   3609: 
                   3610: int
                   3611: main ()
                   3612: {
                   3613: #ifndef __GNUC__
                   3614:        choke me
                   3615: #endif
                   3616: 
                   3617:   ;
                   3618:   return 0;
                   3619: }
                   3620: _ACEOF
                   3621: if ac_fn_c_try_compile "$LINENO"; then :
                   3622:   ac_compiler_gnu=yes
                   3623: else
                   3624:   ac_compiler_gnu=no
                   3625: fi
                   3626: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3627: ac_cv_c_compiler_gnu=$ac_compiler_gnu
                   3628: 
                   3629: fi
                   3630: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
                   3631: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
                   3632: if test $ac_compiler_gnu = yes; then
                   3633:   GCC=yes
                   3634: else
                   3635:   GCC=
                   3636: fi
                   3637: ac_test_CFLAGS=${CFLAGS+set}
                   3638: ac_save_CFLAGS=$CFLAGS
                   3639: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
                   3640: $as_echo_n "checking whether $CC accepts -g... " >&6; }
                   3641: if test "${ac_cv_prog_cc_g+set}" = set; then :
                   3642:   $as_echo_n "(cached) " >&6
                   3643: else
                   3644:   ac_save_c_werror_flag=$ac_c_werror_flag
                   3645:    ac_c_werror_flag=yes
                   3646:    ac_cv_prog_cc_g=no
                   3647:    CFLAGS="-g"
                   3648:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3649: /* end confdefs.h.  */
                   3650: 
                   3651: int
                   3652: main ()
                   3653: {
                   3654: 
                   3655:   ;
                   3656:   return 0;
                   3657: }
                   3658: _ACEOF
                   3659: if ac_fn_c_try_compile "$LINENO"; then :
                   3660:   ac_cv_prog_cc_g=yes
                   3661: else
                   3662:   CFLAGS=""
                   3663:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3664: /* end confdefs.h.  */
                   3665: 
                   3666: int
                   3667: main ()
                   3668: {
                   3669: 
                   3670:   ;
                   3671:   return 0;
                   3672: }
                   3673: _ACEOF
                   3674: if ac_fn_c_try_compile "$LINENO"; then :
                   3675: 
                   3676: else
                   3677:   ac_c_werror_flag=$ac_save_c_werror_flag
                   3678:         CFLAGS="-g"
                   3679:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3680: /* end confdefs.h.  */
                   3681: 
                   3682: int
                   3683: main ()
                   3684: {
                   3685: 
                   3686:   ;
                   3687:   return 0;
                   3688: }
                   3689: _ACEOF
                   3690: if ac_fn_c_try_compile "$LINENO"; then :
                   3691:   ac_cv_prog_cc_g=yes
                   3692: fi
                   3693: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3694: fi
                   3695: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3696: fi
                   3697: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3698:    ac_c_werror_flag=$ac_save_c_werror_flag
                   3699: fi
                   3700: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
                   3701: $as_echo "$ac_cv_prog_cc_g" >&6; }
                   3702: if test "$ac_test_CFLAGS" = set; then
                   3703:   CFLAGS=$ac_save_CFLAGS
                   3704: elif test $ac_cv_prog_cc_g = yes; then
                   3705:   if test "$GCC" = yes; then
                   3706:     CFLAGS="-g -O2"
                   3707:   else
                   3708:     CFLAGS="-g"
                   3709:   fi
                   3710: else
                   3711:   if test "$GCC" = yes; then
                   3712:     CFLAGS="-O2"
                   3713:   else
                   3714:     CFLAGS=
                   3715:   fi
                   3716: fi
                   3717: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
                   3718: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
                   3719: if test "${ac_cv_prog_cc_c89+set}" = set; then :
                   3720:   $as_echo_n "(cached) " >&6
                   3721: else
                   3722:   ac_cv_prog_cc_c89=no
                   3723: ac_save_CC=$CC
                   3724: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3725: /* end confdefs.h.  */
                   3726: #include <stdarg.h>
                   3727: #include <stdio.h>
                   3728: #include <sys/types.h>
                   3729: #include <sys/stat.h>
                   3730: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   3731: struct buf { int x; };
                   3732: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   3733: static char *e (p, i)
                   3734:      char **p;
                   3735:      int i;
                   3736: {
                   3737:   return p[i];
                   3738: }
                   3739: static char *f (char * (*g) (char **, int), char **p, ...)
                   3740: {
                   3741:   char *s;
                   3742:   va_list v;
                   3743:   va_start (v,p);
                   3744:   s = g (p, va_arg (v,int));
                   3745:   va_end (v);
                   3746:   return s;
                   3747: }
                   3748: 
                   3749: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   3750:    function prototypes and stuff, but not '\xHH' hex character constants.
                   3751:    These don't provoke an error unfortunately, instead are silently treated
                   3752:    as 'x'.  The following induces an error, until -std is added to get
                   3753:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   3754:    array size at least.  It's necessary to write '\x00'==0 to get something
                   3755:    that's true only with -std.  */
                   3756: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   3757: 
                   3758: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
                   3759:    inside strings and character constants.  */
                   3760: #define FOO(x) 'x'
                   3761: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
                   3762: 
                   3763: int test (int i, double x);
                   3764: struct s1 {int (*f) (int a);};
                   3765: struct s2 {int (*f) (double a);};
                   3766: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   3767: int argc;
                   3768: char **argv;
                   3769: int
                   3770: main ()
                   3771: {
                   3772: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   3773:   ;
                   3774:   return 0;
                   3775: }
                   3776: _ACEOF
                   3777: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
                   3778:        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
                   3779: do
                   3780:   CC="$ac_save_CC $ac_arg"
                   3781:   if ac_fn_c_try_compile "$LINENO"; then :
                   3782:   ac_cv_prog_cc_c89=$ac_arg
                   3783: fi
                   3784: rm -f core conftest.err conftest.$ac_objext
                   3785:   test "x$ac_cv_prog_cc_c89" != "xno" && break
                   3786: done
                   3787: rm -f conftest.$ac_ext
                   3788: CC=$ac_save_CC
                   3789: 
                   3790: fi
                   3791: # AC_CACHE_VAL
                   3792: case "x$ac_cv_prog_cc_c89" in
                   3793:   x)
                   3794:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   3795: $as_echo "none needed" >&6; } ;;
                   3796:   xno)
                   3797:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   3798: $as_echo "unsupported" >&6; } ;;
                   3799:   *)
                   3800:     CC="$CC $ac_cv_prog_cc_c89"
                   3801:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
                   3802: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
                   3803: esac
                   3804: if test "x$ac_cv_prog_cc_c89" != xno; then :
                   3805: 
                   3806: fi
                   3807: 
                   3808: ac_ext=c
                   3809: ac_cpp='$CPP $CPPFLAGS'
                   3810: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3811: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3812: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3813: DEPDIR="${am__leading_dot}deps"
                   3814: 
                   3815: ac_config_commands="$ac_config_commands depfiles"
                   3816: 
                   3817: 
                   3818: am_make=${MAKE-make}
                   3819: cat > confinc << 'END'
                   3820: am__doit:
                   3821:        @echo this is the am__doit target
                   3822: .PHONY: am__doit
                   3823: END
                   3824: # If we don't find an include directive, just comment out the code.
                   3825: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
                   3826: $as_echo_n "checking for style of include used by $am_make... " >&6; }
                   3827: am__include="#"
                   3828: am__quote=
                   3829: _am_result=none
                   3830: # First try GNU make style include.
                   3831: echo "include confinc" > confmf
                   3832: # Ignore all kinds of additional output from `make'.
                   3833: case `$am_make -s -f confmf 2> /dev/null` in #(
                   3834: *the\ am__doit\ target*)
                   3835:   am__include=include
                   3836:   am__quote=
                   3837:   _am_result=GNU
                   3838:   ;;
                   3839: esac
                   3840: # Now try BSD make style include.
                   3841: if test "$am__include" = "#"; then
                   3842:    echo '.include "confinc"' > confmf
                   3843:    case `$am_make -s -f confmf 2> /dev/null` in #(
                   3844:    *the\ am__doit\ target*)
                   3845:      am__include=.include
                   3846:      am__quote="\""
                   3847:      _am_result=BSD
                   3848:      ;;
                   3849:    esac
                   3850: fi
                   3851: 
                   3852: 
                   3853: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
                   3854: $as_echo "$_am_result" >&6; }
                   3855: rm -f confinc confmf
                   3856: 
                   3857: # Check whether --enable-dependency-tracking was given.
                   3858: if test "${enable_dependency_tracking+set}" = set; then :
                   3859:   enableval=$enable_dependency_tracking;
                   3860: fi
                   3861: 
                   3862: if test "x$enable_dependency_tracking" != xno; then
                   3863:   am_depcomp="$ac_aux_dir/depcomp"
                   3864:   AMDEPBACKSLASH='\'
                   3865: fi
                   3866:  if test "x$enable_dependency_tracking" != xno; then
                   3867:   AMDEP_TRUE=
                   3868:   AMDEP_FALSE='#'
                   3869: else
                   3870:   AMDEP_TRUE='#'
                   3871:   AMDEP_FALSE=
                   3872: fi
                   3873: 
                   3874: 
                   3875: 
                   3876: depcc="$CC"   am_compiler_list=
                   3877: 
                   3878: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   3879: $as_echo_n "checking dependency style of $depcc... " >&6; }
                   3880: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
                   3881:   $as_echo_n "(cached) " >&6
                   3882: else
                   3883:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   3884:   # We make a subdir and do the tests there.  Otherwise we can end up
                   3885:   # making bogus files that we don't know about and never remove.  For
                   3886:   # instance it was reported that on HP-UX the gcc test will end up
                   3887:   # making a dummy file named `D' -- because `-MD' means `put the output
                   3888:   # in D'.
                   3889:   mkdir conftest.dir
                   3890:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   3891:   # using a relative directory.
                   3892:   cp "$am_depcomp" conftest.dir
                   3893:   cd conftest.dir
                   3894:   # We will build objects and dependencies in a subdirectory because
                   3895:   # it helps to detect inapplicable dependency modes.  For instance
                   3896:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   3897:   # side effect of compilation, but ICC will put the dependencies in
                   3898:   # the current directory while Tru64 will put them in the object
                   3899:   # directory.
                   3900:   mkdir sub
                   3901: 
                   3902:   am_cv_CC_dependencies_compiler_type=none
                   3903:   if test "$am_compiler_list" = ""; then
                   3904:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   3905:   fi
                   3906:   am__universal=false
                   3907:   case " $depcc " in #(
                   3908:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   3909:      esac
                   3910: 
                   3911:   for depmode in $am_compiler_list; do
                   3912:     # Setup a source with many dependencies, because some compilers
                   3913:     # like to wrap large dependency lists on column 80 (with \), and
                   3914:     # we should not choose a depcomp mode which is confused by this.
                   3915:     #
                   3916:     # We need to recreate these files for each test, as the compiler may
                   3917:     # overwrite some of them when testing with obscure command lines.
                   3918:     # This happens at least with the AIX C compiler.
                   3919:     : > sub/conftest.c
                   3920:     for i in 1 2 3 4 5 6; do
                   3921:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   3922:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   3923:       # Solaris 8's {/usr,}/bin/sh.
                   3924:       touch sub/conftst$i.h
                   3925:     done
                   3926:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
                   3927: 
                   3928:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   3929:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   3930:     # handle `-M -o', and we need to detect this.  Also, some Intel
                   3931:     # versions had trouble with output in subdirs
                   3932:     am__obj=sub/conftest.${OBJEXT-o}
                   3933:     am__minus_obj="-o $am__obj"
                   3934:     case $depmode in
                   3935:     gcc)
                   3936:       # This depmode causes a compiler race in universal mode.
                   3937:       test "$am__universal" = false || continue
                   3938:       ;;
                   3939:     nosideeffect)
                   3940:       # after this tag, mechanisms are not by side-effect, so they'll
                   3941:       # only be used when explicitly requested
                   3942:       if test "x$enable_dependency_tracking" = xyes; then
                   3943:        continue
                   3944:       else
                   3945:        break
                   3946:       fi
                   3947:       ;;
                   3948:     msvisualcpp | msvcmsys)
                   3949:       # This compiler won't grok `-c -o', but also, the minuso test has
                   3950:       # not run yet.  These depmodes are late enough in the game, and
                   3951:       # so weak that their functioning should not be impacted.
                   3952:       am__obj=conftest.${OBJEXT-o}
                   3953:       am__minus_obj=
                   3954:       ;;
                   3955:     none) break ;;
                   3956:     esac
                   3957:     if depmode=$depmode \
                   3958:        source=sub/conftest.c object=$am__obj \
                   3959:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
                   3960:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
                   3961:          >/dev/null 2>conftest.err &&
                   3962:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
                   3963:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
                   3964:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
                   3965:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
                   3966:       # icc doesn't choke on unknown options, it will just issue warnings
                   3967:       # or remarks (even with -Werror).  So we grep stderr for any message
                   3968:       # that says an option was ignored or not supported.
                   3969:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   3970:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   3971:       # The diagnosis changed in icc 8.0:
                   3972:       #   icc: Command line remark: option '-MP' not supported
                   3973:       if (grep 'ignoring option' conftest.err ||
                   3974:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   3975:         am_cv_CC_dependencies_compiler_type=$depmode
                   3976:         break
                   3977:       fi
                   3978:     fi
                   3979:   done
                   3980: 
                   3981:   cd ..
                   3982:   rm -rf conftest.dir
                   3983: else
                   3984:   am_cv_CC_dependencies_compiler_type=none
                   3985: fi
                   3986: 
                   3987: fi
                   3988: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
                   3989: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
                   3990: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   3991: 
                   3992:  if
                   3993:   test "x$enable_dependency_tracking" != xno \
                   3994:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   3995:   am__fastdepCC_TRUE=
                   3996:   am__fastdepCC_FALSE='#'
                   3997: else
                   3998:   am__fastdepCC_TRUE='#'
                   3999:   am__fastdepCC_FALSE=
                   4000: fi
                   4001: 
                   4002: 
                   4003: ac_ext=c
                   4004: ac_cpp='$CPP $CPPFLAGS'
                   4005: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4006: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4007: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4008: if test -n "$ac_tool_prefix"; then
                   4009:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   4010: set dummy ${ac_tool_prefix}gcc; ac_word=$2
                   4011: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4012: $as_echo_n "checking for $ac_word... " >&6; }
                   4013: if test "${ac_cv_prog_CC+set}" = set; then :
                   4014:   $as_echo_n "(cached) " >&6
                   4015: else
                   4016:   if test -n "$CC"; then
                   4017:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   4018: else
                   4019: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4020: for as_dir in $PATH
                   4021: do
                   4022:   IFS=$as_save_IFS
                   4023:   test -z "$as_dir" && as_dir=.
                   4024:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4025:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   4026:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
                   4027:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4028:     break 2
                   4029:   fi
                   4030: done
                   4031:   done
                   4032: IFS=$as_save_IFS
                   4033: 
                   4034: fi
                   4035: fi
                   4036: CC=$ac_cv_prog_CC
                   4037: if test -n "$CC"; then
                   4038:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4039: $as_echo "$CC" >&6; }
                   4040: else
                   4041:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4042: $as_echo "no" >&6; }
                   4043: fi
                   4044: 
                   4045: 
                   4046: fi
                   4047: if test -z "$ac_cv_prog_CC"; then
                   4048:   ac_ct_CC=$CC
                   4049:   # Extract the first word of "gcc", so it can be a program name with args.
                   4050: set dummy gcc; ac_word=$2
                   4051: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4052: $as_echo_n "checking for $ac_word... " >&6; }
                   4053: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
                   4054:   $as_echo_n "(cached) " >&6
                   4055: else
                   4056:   if test -n "$ac_ct_CC"; then
                   4057:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   4058: else
                   4059: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4060: for as_dir in $PATH
                   4061: do
                   4062:   IFS=$as_save_IFS
                   4063:   test -z "$as_dir" && as_dir=.
                   4064:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4065:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   4066:     ac_cv_prog_ac_ct_CC="gcc"
                   4067:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4068:     break 2
                   4069:   fi
                   4070: done
                   4071:   done
                   4072: IFS=$as_save_IFS
                   4073: 
                   4074: fi
                   4075: fi
                   4076: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   4077: if test -n "$ac_ct_CC"; then
                   4078:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   4079: $as_echo "$ac_ct_CC" >&6; }
                   4080: else
                   4081:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4082: $as_echo "no" >&6; }
                   4083: fi
                   4084: 
                   4085:   if test "x$ac_ct_CC" = x; then
                   4086:     CC=""
                   4087:   else
                   4088:     case $cross_compiling:$ac_tool_warned in
                   4089: yes:)
                   4090: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   4091: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   4092: ac_tool_warned=yes ;;
                   4093: esac
                   4094:     CC=$ac_ct_CC
                   4095:   fi
                   4096: else
                   4097:   CC="$ac_cv_prog_CC"
                   4098: fi
                   4099: 
                   4100: if test -z "$CC"; then
                   4101:           if test -n "$ac_tool_prefix"; then
                   4102:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
                   4103: set dummy ${ac_tool_prefix}cc; ac_word=$2
                   4104: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4105: $as_echo_n "checking for $ac_word... " >&6; }
                   4106: if test "${ac_cv_prog_CC+set}" = set; then :
                   4107:   $as_echo_n "(cached) " >&6
                   4108: else
                   4109:   if test -n "$CC"; then
                   4110:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   4111: else
                   4112: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4113: for as_dir in $PATH
                   4114: do
                   4115:   IFS=$as_save_IFS
                   4116:   test -z "$as_dir" && as_dir=.
                   4117:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4118:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   4119:     ac_cv_prog_CC="${ac_tool_prefix}cc"
                   4120:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4121:     break 2
                   4122:   fi
                   4123: done
                   4124:   done
                   4125: IFS=$as_save_IFS
                   4126: 
                   4127: fi
                   4128: fi
                   4129: CC=$ac_cv_prog_CC
                   4130: if test -n "$CC"; then
                   4131:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4132: $as_echo "$CC" >&6; }
                   4133: else
                   4134:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4135: $as_echo "no" >&6; }
                   4136: fi
                   4137: 
                   4138: 
                   4139:   fi
                   4140: fi
                   4141: if test -z "$CC"; then
                   4142:   # Extract the first word of "cc", so it can be a program name with args.
                   4143: set dummy cc; ac_word=$2
                   4144: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4145: $as_echo_n "checking for $ac_word... " >&6; }
                   4146: if test "${ac_cv_prog_CC+set}" = set; then :
                   4147:   $as_echo_n "(cached) " >&6
                   4148: else
                   4149:   if test -n "$CC"; then
                   4150:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   4151: else
                   4152:   ac_prog_rejected=no
                   4153: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4154: for as_dir in $PATH
                   4155: do
                   4156:   IFS=$as_save_IFS
                   4157:   test -z "$as_dir" && as_dir=.
                   4158:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4159:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   4160:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   4161:        ac_prog_rejected=yes
                   4162:        continue
                   4163:      fi
                   4164:     ac_cv_prog_CC="cc"
                   4165:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4166:     break 2
                   4167:   fi
                   4168: done
                   4169:   done
                   4170: IFS=$as_save_IFS
                   4171: 
                   4172: if test $ac_prog_rejected = yes; then
                   4173:   # We found a bogon in the path, so make sure we never use it.
                   4174:   set dummy $ac_cv_prog_CC
                   4175:   shift
                   4176:   if test $# != 0; then
                   4177:     # We chose a different compiler from the bogus one.
                   4178:     # However, it has the same basename, so the bogon will be chosen
                   4179:     # first if we set CC to just the basename; use the full file name.
                   4180:     shift
                   4181:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
                   4182:   fi
                   4183: fi
                   4184: fi
                   4185: fi
                   4186: CC=$ac_cv_prog_CC
                   4187: if test -n "$CC"; then
                   4188:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4189: $as_echo "$CC" >&6; }
                   4190: else
                   4191:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4192: $as_echo "no" >&6; }
                   4193: fi
                   4194: 
                   4195: 
                   4196: fi
                   4197: if test -z "$CC"; then
                   4198:   if test -n "$ac_tool_prefix"; then
                   4199:   for ac_prog in cl.exe
                   4200:   do
                   4201:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   4202: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   4203: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4204: $as_echo_n "checking for $ac_word... " >&6; }
                   4205: if test "${ac_cv_prog_CC+set}" = set; then :
                   4206:   $as_echo_n "(cached) " >&6
                   4207: else
                   4208:   if test -n "$CC"; then
                   4209:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   4210: else
                   4211: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4212: for as_dir in $PATH
                   4213: do
                   4214:   IFS=$as_save_IFS
                   4215:   test -z "$as_dir" && as_dir=.
                   4216:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4217:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   4218:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
                   4219:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4220:     break 2
                   4221:   fi
                   4222: done
                   4223:   done
                   4224: IFS=$as_save_IFS
                   4225: 
                   4226: fi
                   4227: fi
                   4228: CC=$ac_cv_prog_CC
                   4229: if test -n "$CC"; then
                   4230:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   4231: $as_echo "$CC" >&6; }
                   4232: else
                   4233:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4234: $as_echo "no" >&6; }
                   4235: fi
                   4236: 
                   4237: 
                   4238:     test -n "$CC" && break
                   4239:   done
                   4240: fi
                   4241: if test -z "$CC"; then
                   4242:   ac_ct_CC=$CC
                   4243:   for ac_prog in cl.exe
                   4244: do
                   4245:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   4246: set dummy $ac_prog; ac_word=$2
                   4247: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4248: $as_echo_n "checking for $ac_word... " >&6; }
                   4249: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
                   4250:   $as_echo_n "(cached) " >&6
                   4251: else
                   4252:   if test -n "$ac_ct_CC"; then
                   4253:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   4254: else
                   4255: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4256: for as_dir in $PATH
                   4257: do
                   4258:   IFS=$as_save_IFS
                   4259:   test -z "$as_dir" && as_dir=.
                   4260:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4261:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   4262:     ac_cv_prog_ac_ct_CC="$ac_prog"
                   4263:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4264:     break 2
                   4265:   fi
                   4266: done
                   4267:   done
                   4268: IFS=$as_save_IFS
                   4269: 
                   4270: fi
                   4271: fi
                   4272: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   4273: if test -n "$ac_ct_CC"; then
                   4274:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   4275: $as_echo "$ac_ct_CC" >&6; }
                   4276: else
                   4277:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4278: $as_echo "no" >&6; }
                   4279: fi
                   4280: 
                   4281: 
                   4282:   test -n "$ac_ct_CC" && break
                   4283: done
                   4284: 
                   4285:   if test "x$ac_ct_CC" = x; then
                   4286:     CC=""
                   4287:   else
                   4288:     case $cross_compiling:$ac_tool_warned in
                   4289: yes:)
                   4290: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   4291: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   4292: ac_tool_warned=yes ;;
                   4293: esac
                   4294:     CC=$ac_ct_CC
                   4295:   fi
                   4296: fi
                   4297: 
                   4298: fi
                   4299: 
                   4300: 
                   4301: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   4302: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   4303: as_fn_error $? "no acceptable C compiler found in \$PATH
                   4304: See \`config.log' for more details" "$LINENO" 5 ; }
                   4305: 
                   4306: # Provide some information about the compiler.
                   4307: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
                   4308: set X $ac_compile
                   4309: ac_compiler=$2
                   4310: for ac_option in --version -v -V -qversion; do
                   4311:   { { ac_try="$ac_compiler $ac_option >&5"
                   4312: case "(($ac_try" in
                   4313:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   4314:   *) ac_try_echo=$ac_try;;
                   4315: esac
                   4316: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   4317: $as_echo "$ac_try_echo"; } >&5
                   4318:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
                   4319:   ac_status=$?
                   4320:   if test -s conftest.err; then
                   4321:     sed '10a\
                   4322: ... rest of stderr output deleted ...
                   4323:          10q' conftest.err >conftest.er1
                   4324:     cat conftest.er1 >&5
                   4325:   fi
                   4326:   rm -f conftest.er1 conftest.err
                   4327:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   4328:   test $ac_status = 0; }
                   4329: done
                   4330: 
                   4331: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
                   4332: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
                   4333: if test "${ac_cv_c_compiler_gnu+set}" = set; then :
                   4334:   $as_echo_n "(cached) " >&6
                   4335: else
                   4336:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4337: /* end confdefs.h.  */
                   4338: 
                   4339: int
                   4340: main ()
                   4341: {
                   4342: #ifndef __GNUC__
                   4343:        choke me
                   4344: #endif
                   4345: 
                   4346:   ;
                   4347:   return 0;
                   4348: }
                   4349: _ACEOF
                   4350: if ac_fn_c_try_compile "$LINENO"; then :
                   4351:   ac_compiler_gnu=yes
                   4352: else
                   4353:   ac_compiler_gnu=no
                   4354: fi
                   4355: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4356: ac_cv_c_compiler_gnu=$ac_compiler_gnu
                   4357: 
                   4358: fi
                   4359: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
                   4360: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
                   4361: if test $ac_compiler_gnu = yes; then
                   4362:   GCC=yes
                   4363: else
                   4364:   GCC=
                   4365: fi
                   4366: ac_test_CFLAGS=${CFLAGS+set}
                   4367: ac_save_CFLAGS=$CFLAGS
                   4368: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
                   4369: $as_echo_n "checking whether $CC accepts -g... " >&6; }
                   4370: if test "${ac_cv_prog_cc_g+set}" = set; then :
                   4371:   $as_echo_n "(cached) " >&6
                   4372: else
                   4373:   ac_save_c_werror_flag=$ac_c_werror_flag
                   4374:    ac_c_werror_flag=yes
                   4375:    ac_cv_prog_cc_g=no
                   4376:    CFLAGS="-g"
                   4377:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4378: /* end confdefs.h.  */
                   4379: 
                   4380: int
                   4381: main ()
                   4382: {
                   4383: 
                   4384:   ;
                   4385:   return 0;
                   4386: }
                   4387: _ACEOF
                   4388: if ac_fn_c_try_compile "$LINENO"; then :
                   4389:   ac_cv_prog_cc_g=yes
                   4390: else
                   4391:   CFLAGS=""
                   4392:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4393: /* end confdefs.h.  */
                   4394: 
                   4395: int
                   4396: main ()
                   4397: {
                   4398: 
                   4399:   ;
                   4400:   return 0;
                   4401: }
                   4402: _ACEOF
                   4403: if ac_fn_c_try_compile "$LINENO"; then :
                   4404: 
                   4405: else
                   4406:   ac_c_werror_flag=$ac_save_c_werror_flag
                   4407:         CFLAGS="-g"
                   4408:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4409: /* end confdefs.h.  */
                   4410: 
                   4411: int
                   4412: main ()
                   4413: {
                   4414: 
                   4415:   ;
                   4416:   return 0;
                   4417: }
                   4418: _ACEOF
                   4419: if ac_fn_c_try_compile "$LINENO"; then :
                   4420:   ac_cv_prog_cc_g=yes
                   4421: fi
                   4422: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4423: fi
                   4424: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4425: fi
                   4426: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4427:    ac_c_werror_flag=$ac_save_c_werror_flag
                   4428: fi
                   4429: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
                   4430: $as_echo "$ac_cv_prog_cc_g" >&6; }
                   4431: if test "$ac_test_CFLAGS" = set; then
                   4432:   CFLAGS=$ac_save_CFLAGS
                   4433: elif test $ac_cv_prog_cc_g = yes; then
                   4434:   if test "$GCC" = yes; then
                   4435:     CFLAGS="-g -O2"
                   4436:   else
                   4437:     CFLAGS="-g"
                   4438:   fi
                   4439: else
                   4440:   if test "$GCC" = yes; then
                   4441:     CFLAGS="-O2"
                   4442:   else
                   4443:     CFLAGS=
                   4444:   fi
                   4445: fi
                   4446: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
                   4447: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
                   4448: if test "${ac_cv_prog_cc_c89+set}" = set; then :
                   4449:   $as_echo_n "(cached) " >&6
                   4450: else
                   4451:   ac_cv_prog_cc_c89=no
                   4452: ac_save_CC=$CC
                   4453: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4454: /* end confdefs.h.  */
                   4455: #include <stdarg.h>
                   4456: #include <stdio.h>
                   4457: #include <sys/types.h>
                   4458: #include <sys/stat.h>
                   4459: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   4460: struct buf { int x; };
                   4461: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   4462: static char *e (p, i)
                   4463:      char **p;
                   4464:      int i;
                   4465: {
                   4466:   return p[i];
                   4467: }
                   4468: static char *f (char * (*g) (char **, int), char **p, ...)
                   4469: {
                   4470:   char *s;
                   4471:   va_list v;
                   4472:   va_start (v,p);
                   4473:   s = g (p, va_arg (v,int));
                   4474:   va_end (v);
                   4475:   return s;
                   4476: }
                   4477: 
                   4478: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   4479:    function prototypes and stuff, but not '\xHH' hex character constants.
                   4480:    These don't provoke an error unfortunately, instead are silently treated
                   4481:    as 'x'.  The following induces an error, until -std is added to get
                   4482:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   4483:    array size at least.  It's necessary to write '\x00'==0 to get something
                   4484:    that's true only with -std.  */
                   4485: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   4486: 
                   4487: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
                   4488:    inside strings and character constants.  */
                   4489: #define FOO(x) 'x'
                   4490: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
                   4491: 
                   4492: int test (int i, double x);
                   4493: struct s1 {int (*f) (int a);};
                   4494: struct s2 {int (*f) (double a);};
                   4495: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   4496: int argc;
                   4497: char **argv;
                   4498: int
                   4499: main ()
                   4500: {
                   4501: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   4502:   ;
                   4503:   return 0;
                   4504: }
                   4505: _ACEOF
                   4506: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
                   4507:        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
                   4508: do
                   4509:   CC="$ac_save_CC $ac_arg"
                   4510:   if ac_fn_c_try_compile "$LINENO"; then :
                   4511:   ac_cv_prog_cc_c89=$ac_arg
                   4512: fi
                   4513: rm -f core conftest.err conftest.$ac_objext
                   4514:   test "x$ac_cv_prog_cc_c89" != "xno" && break
                   4515: done
                   4516: rm -f conftest.$ac_ext
                   4517: CC=$ac_save_CC
                   4518: 
                   4519: fi
                   4520: # AC_CACHE_VAL
                   4521: case "x$ac_cv_prog_cc_c89" in
                   4522:   x)
                   4523:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   4524: $as_echo "none needed" >&6; } ;;
                   4525:   xno)
                   4526:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   4527: $as_echo "unsupported" >&6; } ;;
                   4528:   *)
                   4529:     CC="$CC $ac_cv_prog_cc_c89"
                   4530:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
                   4531: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
                   4532: esac
                   4533: if test "x$ac_cv_prog_cc_c89" != xno; then :
                   4534: 
                   4535: fi
                   4536: 
                   4537: ac_ext=c
                   4538: ac_cpp='$CPP $CPPFLAGS'
                   4539: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4540: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4541: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4542: 
                   4543: depcc="$CC"   am_compiler_list=
                   4544: 
                   4545: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   4546: $as_echo_n "checking dependency style of $depcc... " >&6; }
                   4547: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
                   4548:   $as_echo_n "(cached) " >&6
                   4549: else
                   4550:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   4551:   # We make a subdir and do the tests there.  Otherwise we can end up
                   4552:   # making bogus files that we don't know about and never remove.  For
                   4553:   # instance it was reported that on HP-UX the gcc test will end up
                   4554:   # making a dummy file named `D' -- because `-MD' means `put the output
                   4555:   # in D'.
                   4556:   mkdir conftest.dir
                   4557:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   4558:   # using a relative directory.
                   4559:   cp "$am_depcomp" conftest.dir
                   4560:   cd conftest.dir
                   4561:   # We will build objects and dependencies in a subdirectory because
                   4562:   # it helps to detect inapplicable dependency modes.  For instance
                   4563:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   4564:   # side effect of compilation, but ICC will put the dependencies in
                   4565:   # the current directory while Tru64 will put them in the object
                   4566:   # directory.
                   4567:   mkdir sub
                   4568: 
                   4569:   am_cv_CC_dependencies_compiler_type=none
                   4570:   if test "$am_compiler_list" = ""; then
                   4571:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   4572:   fi
                   4573:   am__universal=false
                   4574:   case " $depcc " in #(
                   4575:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   4576:      esac
                   4577: 
                   4578:   for depmode in $am_compiler_list; do
                   4579:     # Setup a source with many dependencies, because some compilers
                   4580:     # like to wrap large dependency lists on column 80 (with \), and
                   4581:     # we should not choose a depcomp mode which is confused by this.
                   4582:     #
                   4583:     # We need to recreate these files for each test, as the compiler may
                   4584:     # overwrite some of them when testing with obscure command lines.
                   4585:     # This happens at least with the AIX C compiler.
                   4586:     : > sub/conftest.c
                   4587:     for i in 1 2 3 4 5 6; do
                   4588:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   4589:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   4590:       # Solaris 8's {/usr,}/bin/sh.
                   4591:       touch sub/conftst$i.h
                   4592:     done
                   4593:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
                   4594: 
                   4595:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   4596:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   4597:     # handle `-M -o', and we need to detect this.  Also, some Intel
                   4598:     # versions had trouble with output in subdirs
                   4599:     am__obj=sub/conftest.${OBJEXT-o}
                   4600:     am__minus_obj="-o $am__obj"
                   4601:     case $depmode in
                   4602:     gcc)
                   4603:       # This depmode causes a compiler race in universal mode.
                   4604:       test "$am__universal" = false || continue
                   4605:       ;;
                   4606:     nosideeffect)
                   4607:       # after this tag, mechanisms are not by side-effect, so they'll
                   4608:       # only be used when explicitly requested
                   4609:       if test "x$enable_dependency_tracking" = xyes; then
                   4610:        continue
                   4611:       else
                   4612:        break
                   4613:       fi
                   4614:       ;;
                   4615:     msvisualcpp | msvcmsys)
                   4616:       # This compiler won't grok `-c -o', but also, the minuso test has
                   4617:       # not run yet.  These depmodes are late enough in the game, and
                   4618:       # so weak that their functioning should not be impacted.
                   4619:       am__obj=conftest.${OBJEXT-o}
                   4620:       am__minus_obj=
                   4621:       ;;
                   4622:     none) break ;;
                   4623:     esac
                   4624:     if depmode=$depmode \
                   4625:        source=sub/conftest.c object=$am__obj \
                   4626:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
                   4627:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
                   4628:          >/dev/null 2>conftest.err &&
                   4629:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
                   4630:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
                   4631:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
                   4632:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
                   4633:       # icc doesn't choke on unknown options, it will just issue warnings
                   4634:       # or remarks (even with -Werror).  So we grep stderr for any message
                   4635:       # that says an option was ignored or not supported.
                   4636:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   4637:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   4638:       # The diagnosis changed in icc 8.0:
                   4639:       #   icc: Command line remark: option '-MP' not supported
                   4640:       if (grep 'ignoring option' conftest.err ||
                   4641:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   4642:         am_cv_CC_dependencies_compiler_type=$depmode
                   4643:         break
                   4644:       fi
                   4645:     fi
                   4646:   done
                   4647: 
                   4648:   cd ..
                   4649:   rm -rf conftest.dir
                   4650: else
                   4651:   am_cv_CC_dependencies_compiler_type=none
                   4652: fi
                   4653: 
                   4654: fi
                   4655: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
                   4656: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
                   4657: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   4658: 
                   4659:  if
                   4660:   test "x$enable_dependency_tracking" != xno \
                   4661:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   4662:   am__fastdepCC_TRUE=
                   4663:   am__fastdepCC_FALSE='#'
                   4664: else
                   4665:   am__fastdepCC_TRUE='#'
                   4666:   am__fastdepCC_FALSE=
                   4667: fi
                   4668: 
                   4669: 
                   4670: 
                   4671: am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
                   4672: 
                   4673: 
                   4674: ac_ext=c
                   4675: ac_cpp='$CPP $CPPFLAGS'
                   4676: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4677: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4678: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4679: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
                   4680: $as_echo_n "checking how to run the C preprocessor... " >&6; }
                   4681: # On Suns, sometimes $CPP names a directory.
                   4682: if test -n "$CPP" && test -d "$CPP"; then
                   4683:   CPP=
                   4684: fi
                   4685: if test -z "$CPP"; then
                   4686:   if test "${ac_cv_prog_CPP+set}" = set; then :
                   4687:   $as_echo_n "(cached) " >&6
                   4688: else
                   4689:       # Double quotes because CPP needs to be expanded
                   4690:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   4691:     do
                   4692:       ac_preproc_ok=false
                   4693: for ac_c_preproc_warn_flag in '' yes
                   4694: do
                   4695:   # Use a header file that comes with gcc, so configuring glibc
                   4696:   # with a fresh cross-compiler works.
                   4697:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   4698:   # <limits.h> exists even on freestanding compilers.
                   4699:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   4700:   # not just through cpp. "Syntax error" is here to catch this case.
                   4701:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4702: /* end confdefs.h.  */
                   4703: #ifdef __STDC__
                   4704: # include <limits.h>
                   4705: #else
                   4706: # include <assert.h>
                   4707: #endif
                   4708:                     Syntax error
                   4709: _ACEOF
                   4710: if ac_fn_c_try_cpp "$LINENO"; then :
                   4711: 
                   4712: else
                   4713:   # Broken: fails on valid input.
                   4714: continue
                   4715: fi
                   4716: rm -f conftest.err conftest.i conftest.$ac_ext
                   4717: 
                   4718:   # OK, works on sane cases.  Now check whether nonexistent headers
                   4719:   # can be detected and how.
                   4720:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4721: /* end confdefs.h.  */
                   4722: #include <ac_nonexistent.h>
                   4723: _ACEOF
                   4724: if ac_fn_c_try_cpp "$LINENO"; then :
                   4725:   # Broken: success on invalid input.
                   4726: continue
                   4727: else
                   4728:   # Passes both tests.
                   4729: ac_preproc_ok=:
                   4730: break
                   4731: fi
                   4732: rm -f conftest.err conftest.i conftest.$ac_ext
                   4733: 
                   4734: done
                   4735: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   4736: rm -f conftest.i conftest.err conftest.$ac_ext
                   4737: if $ac_preproc_ok; then :
                   4738:   break
                   4739: fi
                   4740: 
                   4741:     done
                   4742:     ac_cv_prog_CPP=$CPP
                   4743: 
                   4744: fi
                   4745:   CPP=$ac_cv_prog_CPP
                   4746: else
                   4747:   ac_cv_prog_CPP=$CPP
                   4748: fi
                   4749: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
                   4750: $as_echo "$CPP" >&6; }
                   4751: ac_preproc_ok=false
                   4752: for ac_c_preproc_warn_flag in '' yes
                   4753: do
                   4754:   # Use a header file that comes with gcc, so configuring glibc
                   4755:   # with a fresh cross-compiler works.
                   4756:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   4757:   # <limits.h> exists even on freestanding compilers.
                   4758:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   4759:   # not just through cpp. "Syntax error" is here to catch this case.
                   4760:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4761: /* end confdefs.h.  */
                   4762: #ifdef __STDC__
                   4763: # include <limits.h>
                   4764: #else
                   4765: # include <assert.h>
                   4766: #endif
                   4767:                     Syntax error
                   4768: _ACEOF
                   4769: if ac_fn_c_try_cpp "$LINENO"; then :
                   4770: 
                   4771: else
                   4772:   # Broken: fails on valid input.
                   4773: continue
                   4774: fi
                   4775: rm -f conftest.err conftest.i conftest.$ac_ext
                   4776: 
                   4777:   # OK, works on sane cases.  Now check whether nonexistent headers
                   4778:   # can be detected and how.
                   4779:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4780: /* end confdefs.h.  */
                   4781: #include <ac_nonexistent.h>
                   4782: _ACEOF
                   4783: if ac_fn_c_try_cpp "$LINENO"; then :
                   4784:   # Broken: success on invalid input.
                   4785: continue
                   4786: else
                   4787:   # Passes both tests.
                   4788: ac_preproc_ok=:
                   4789: break
                   4790: fi
                   4791: rm -f conftest.err conftest.i conftest.$ac_ext
                   4792: 
                   4793: done
                   4794: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   4795: rm -f conftest.i conftest.err conftest.$ac_ext
                   4796: if $ac_preproc_ok; then :
                   4797: 
                   4798: else
                   4799:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   4800: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   4801: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
                   4802: See \`config.log' for more details" "$LINENO" 5 ; }
                   4803: fi
                   4804: 
                   4805: ac_ext=c
                   4806: ac_cpp='$CPP $CPPFLAGS'
                   4807: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4808: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4809: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4810: 
                   4811: 
                   4812: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
                   4813: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
                   4814: if test "${ac_cv_path_GREP+set}" = set; then :
                   4815:   $as_echo_n "(cached) " >&6
                   4816: else
                   4817:   if test -z "$GREP"; then
                   4818:   ac_path_GREP_found=false
                   4819:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4820:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4821: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   4822: do
                   4823:   IFS=$as_save_IFS
                   4824:   test -z "$as_dir" && as_dir=.
                   4825:     for ac_prog in grep ggrep; do
                   4826:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4827:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
                   4828:       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
                   4829: # Check for GNU ac_path_GREP and select it if it is found.
                   4830:   # Check for GNU $ac_path_GREP
                   4831: case `"$ac_path_GREP" --version 2>&1` in
                   4832: *GNU*)
                   4833:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
                   4834: *)
                   4835:   ac_count=0
                   4836:   $as_echo_n 0123456789 >"conftest.in"
                   4837:   while :
                   4838:   do
                   4839:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4840:     mv "conftest.tmp" "conftest.in"
                   4841:     cp "conftest.in" "conftest.nl"
                   4842:     $as_echo 'GREP' >> "conftest.nl"
                   4843:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4844:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4845:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4846:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
                   4847:       # Best one so far, save it but keep looking for a better one
                   4848:       ac_cv_path_GREP="$ac_path_GREP"
                   4849:       ac_path_GREP_max=$ac_count
                   4850:     fi
                   4851:     # 10*(2^10) chars as input seems more than enough
                   4852:     test $ac_count -gt 10 && break
                   4853:   done
                   4854:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4855: esac
                   4856: 
                   4857:       $ac_path_GREP_found && break 3
                   4858:     done
                   4859:   done
                   4860:   done
                   4861: IFS=$as_save_IFS
                   4862:   if test -z "$ac_cv_path_GREP"; then
                   4863:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   4864:   fi
                   4865: else
                   4866:   ac_cv_path_GREP=$GREP
                   4867: fi
                   4868: 
                   4869: fi
                   4870: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
                   4871: $as_echo "$ac_cv_path_GREP" >&6; }
                   4872:  GREP="$ac_cv_path_GREP"
                   4873: 
                   4874: 
                   4875: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
                   4876: $as_echo_n "checking for egrep... " >&6; }
                   4877: if test "${ac_cv_path_EGREP+set}" = set; then :
                   4878:   $as_echo_n "(cached) " >&6
                   4879: else
                   4880:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
                   4881:    then ac_cv_path_EGREP="$GREP -E"
                   4882:    else
                   4883:      if test -z "$EGREP"; then
                   4884:   ac_path_EGREP_found=false
                   4885:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4886:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4887: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   4888: do
                   4889:   IFS=$as_save_IFS
                   4890:   test -z "$as_dir" && as_dir=.
                   4891:     for ac_prog in egrep; do
                   4892:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4893:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
                   4894:       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
                   4895: # Check for GNU ac_path_EGREP and select it if it is found.
                   4896:   # Check for GNU $ac_path_EGREP
                   4897: case `"$ac_path_EGREP" --version 2>&1` in
                   4898: *GNU*)
                   4899:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
                   4900: *)
                   4901:   ac_count=0
                   4902:   $as_echo_n 0123456789 >"conftest.in"
                   4903:   while :
                   4904:   do
                   4905:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4906:     mv "conftest.tmp" "conftest.in"
                   4907:     cp "conftest.in" "conftest.nl"
                   4908:     $as_echo 'EGREP' >> "conftest.nl"
                   4909:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4910:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4911:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4912:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
                   4913:       # Best one so far, save it but keep looking for a better one
                   4914:       ac_cv_path_EGREP="$ac_path_EGREP"
                   4915:       ac_path_EGREP_max=$ac_count
                   4916:     fi
                   4917:     # 10*(2^10) chars as input seems more than enough
                   4918:     test $ac_count -gt 10 && break
                   4919:   done
                   4920:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4921: esac
                   4922: 
                   4923:       $ac_path_EGREP_found && break 3
                   4924:     done
                   4925:   done
                   4926:   done
                   4927: IFS=$as_save_IFS
                   4928:   if test -z "$ac_cv_path_EGREP"; then
                   4929:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   4930:   fi
                   4931: else
                   4932:   ac_cv_path_EGREP=$EGREP
                   4933: fi
                   4934: 
                   4935:    fi
                   4936: fi
                   4937: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
                   4938: $as_echo "$ac_cv_path_EGREP" >&6; }
                   4939:  EGREP="$ac_cv_path_EGREP"
                   4940: 
                   4941: 
                   4942: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   4943: $as_echo_n "checking for ANSI C header files... " >&6; }
                   4944: if test "${ac_cv_header_stdc+set}" = set; then :
                   4945:   $as_echo_n "(cached) " >&6
                   4946: else
                   4947:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4948: /* end confdefs.h.  */
                   4949: #include <stdlib.h>
                   4950: #include <stdarg.h>
                   4951: #include <string.h>
                   4952: #include <float.h>
                   4953: 
                   4954: int
                   4955: main ()
                   4956: {
                   4957: 
                   4958:   ;
                   4959:   return 0;
                   4960: }
                   4961: _ACEOF
                   4962: if ac_fn_c_try_compile "$LINENO"; then :
                   4963:   ac_cv_header_stdc=yes
                   4964: else
                   4965:   ac_cv_header_stdc=no
                   4966: fi
                   4967: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4968: 
                   4969: if test $ac_cv_header_stdc = yes; then
                   4970:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   4971:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4972: /* end confdefs.h.  */
                   4973: #include <string.h>
                   4974: 
                   4975: _ACEOF
                   4976: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   4977:   $EGREP "memchr" >/dev/null 2>&1; then :
                   4978: 
                   4979: else
                   4980:   ac_cv_header_stdc=no
                   4981: fi
                   4982: rm -f conftest*
                   4983: 
                   4984: fi
                   4985: 
                   4986: if test $ac_cv_header_stdc = yes; then
                   4987:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   4988:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4989: /* end confdefs.h.  */
                   4990: #include <stdlib.h>
                   4991: 
                   4992: _ACEOF
                   4993: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   4994:   $EGREP "free" >/dev/null 2>&1; then :
                   4995: 
                   4996: else
                   4997:   ac_cv_header_stdc=no
                   4998: fi
                   4999: rm -f conftest*
                   5000: 
                   5001: fi
                   5002: 
                   5003: if test $ac_cv_header_stdc = yes; then
                   5004:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   5005:   if test "$cross_compiling" = yes; then :
                   5006:   :
                   5007: else
                   5008:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   5009: /* end confdefs.h.  */
                   5010: #include <ctype.h>
                   5011: #include <stdlib.h>
                   5012: #if ((' ' & 0x0FF) == 0x020)
                   5013: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   5014: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   5015: #else
                   5016: # define ISLOWER(c) \
                   5017:                   (('a' <= (c) && (c) <= 'i') \
                   5018:                     || ('j' <= (c) && (c) <= 'r') \
                   5019:                     || ('s' <= (c) && (c) <= 'z'))
                   5020: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   5021: #endif
                   5022: 
                   5023: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   5024: int
                   5025: main ()
                   5026: {
                   5027:   int i;
                   5028:   for (i = 0; i < 256; i++)
                   5029:     if (XOR (islower (i), ISLOWER (i))
                   5030:        || toupper (i) != TOUPPER (i))
                   5031:       return 2;
                   5032:   return 0;
                   5033: }
                   5034: _ACEOF
                   5035: if ac_fn_c_try_run "$LINENO"; then :
                   5036: 
                   5037: else
                   5038:   ac_cv_header_stdc=no
                   5039: fi
                   5040: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   5041:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   5042: fi
                   5043: 
                   5044: fi
                   5045: fi
                   5046: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   5047: $as_echo "$ac_cv_header_stdc" >&6; }
                   5048: if test $ac_cv_header_stdc = yes; then
                   5049: 
                   5050: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
                   5051: 
                   5052: fi
                   5053: 
                   5054: case `pwd` in
                   5055:   *\ * | *\    *)
                   5056:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
                   5057: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
                   5058: esac
                   5059: 
                   5060: 
                   5061: 
                   5062: macro_version='2.2.6b'
                   5063: macro_revision='1.3017'
                   5064: 
                   5065: 
                   5066: 
                   5067: 
                   5068: 
                   5069: 
                   5070: 
                   5071: 
                   5072: 
                   5073: 
                   5074: 
                   5075: 
                   5076: 
                   5077: ltmain="$ac_aux_dir/ltmain.sh"
                   5078: 
                   5079: # Make sure we can run config.sub.
                   5080: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
                   5081:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
                   5082: 
                   5083: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
                   5084: $as_echo_n "checking build system type... " >&6; }
                   5085: if test "${ac_cv_build+set}" = set; then :
                   5086:   $as_echo_n "(cached) " >&6
                   5087: else
                   5088:   ac_build_alias=$build_alias
                   5089: test "x$ac_build_alias" = x &&
                   5090:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
                   5091: test "x$ac_build_alias" = x &&
                   5092:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
                   5093: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
                   5094:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
                   5095: 
                   5096: fi
                   5097: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
                   5098: $as_echo "$ac_cv_build" >&6; }
                   5099: case $ac_cv_build in
                   5100: *-*-*) ;;
                   5101: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
                   5102: esac
                   5103: build=$ac_cv_build
                   5104: ac_save_IFS=$IFS; IFS='-'
                   5105: set x $ac_cv_build
                   5106: shift
                   5107: build_cpu=$1
                   5108: build_vendor=$2
                   5109: shift; shift
                   5110: # Remember, the first character of IFS is used to create $*,
                   5111: # except with old shells:
                   5112: build_os=$*
                   5113: IFS=$ac_save_IFS
                   5114: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
                   5115: 
                   5116: 
                   5117: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
                   5118: $as_echo_n "checking host system type... " >&6; }
                   5119: if test "${ac_cv_host+set}" = set; then :
                   5120:   $as_echo_n "(cached) " >&6
                   5121: else
                   5122:   if test "x$host_alias" = x; then
                   5123:   ac_cv_host=$ac_cv_build
                   5124: else
                   5125:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
                   5126:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
                   5127: fi
                   5128: 
                   5129: fi
                   5130: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
                   5131: $as_echo "$ac_cv_host" >&6; }
                   5132: case $ac_cv_host in
                   5133: *-*-*) ;;
                   5134: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
                   5135: esac
                   5136: host=$ac_cv_host
                   5137: ac_save_IFS=$IFS; IFS='-'
                   5138: set x $ac_cv_host
                   5139: shift
                   5140: host_cpu=$1
                   5141: host_vendor=$2
                   5142: shift; shift
                   5143: # Remember, the first character of IFS is used to create $*,
                   5144: # except with old shells:
                   5145: host_os=$*
                   5146: IFS=$ac_save_IFS
                   5147: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
                   5148: 
                   5149: 
                   5150: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
                   5151: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
                   5152: if test "${ac_cv_path_SED+set}" = set; then :
                   5153:   $as_echo_n "(cached) " >&6
                   5154: else
                   5155:             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
                   5156:      for ac_i in 1 2 3 4 5 6 7; do
                   5157:        ac_script="$ac_script$as_nl$ac_script"
                   5158:      done
                   5159:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
                   5160:      { ac_script=; unset ac_script;}
                   5161:      if test -z "$SED"; then
                   5162:   ac_path_SED_found=false
                   5163:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5164:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5165: for as_dir in $PATH
                   5166: do
                   5167:   IFS=$as_save_IFS
                   5168:   test -z "$as_dir" && as_dir=.
                   5169:     for ac_prog in sed gsed; do
                   5170:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5171:       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
                   5172:       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
                   5173: # Check for GNU ac_path_SED and select it if it is found.
                   5174:   # Check for GNU $ac_path_SED
                   5175: case `"$ac_path_SED" --version 2>&1` in
                   5176: *GNU*)
                   5177:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
                   5178: *)
                   5179:   ac_count=0
                   5180:   $as_echo_n 0123456789 >"conftest.in"
                   5181:   while :
                   5182:   do
                   5183:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5184:     mv "conftest.tmp" "conftest.in"
                   5185:     cp "conftest.in" "conftest.nl"
                   5186:     $as_echo '' >> "conftest.nl"
                   5187:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5188:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5189:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5190:     if test $ac_count -gt ${ac_path_SED_max-0}; then
                   5191:       # Best one so far, save it but keep looking for a better one
                   5192:       ac_cv_path_SED="$ac_path_SED"
                   5193:       ac_path_SED_max=$ac_count
                   5194:     fi
                   5195:     # 10*(2^10) chars as input seems more than enough
                   5196:     test $ac_count -gt 10 && break
                   5197:   done
                   5198:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5199: esac
                   5200: 
                   5201:       $ac_path_SED_found && break 3
                   5202:     done
                   5203:   done
                   5204:   done
                   5205: IFS=$as_save_IFS
                   5206:   if test -z "$ac_cv_path_SED"; then
                   5207:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
                   5208:   fi
                   5209: else
                   5210:   ac_cv_path_SED=$SED
                   5211: fi
                   5212: 
                   5213: fi
                   5214: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
                   5215: $as_echo "$ac_cv_path_SED" >&6; }
                   5216:  SED="$ac_cv_path_SED"
                   5217:   rm -f conftest.sed
                   5218: 
                   5219: test -z "$SED" && SED=sed
                   5220: Xsed="$SED -e 1s/^X//"
                   5221: 
                   5222: 
                   5223: 
                   5224: 
                   5225: 
                   5226: 
                   5227: 
                   5228: 
                   5229: 
                   5230: 
                   5231: 
                   5232: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
                   5233: $as_echo_n "checking for fgrep... " >&6; }
                   5234: if test "${ac_cv_path_FGREP+set}" = set; then :
                   5235:   $as_echo_n "(cached) " >&6
                   5236: else
                   5237:   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
                   5238:    then ac_cv_path_FGREP="$GREP -F"
                   5239:    else
                   5240:      if test -z "$FGREP"; then
                   5241:   ac_path_FGREP_found=false
                   5242:   # Loop through the user's path and test for each of PROGNAME-LIST
                   5243:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5244: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   5245: do
                   5246:   IFS=$as_save_IFS
                   5247:   test -z "$as_dir" && as_dir=.
                   5248:     for ac_prog in fgrep; do
                   5249:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5250:       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
                   5251:       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
                   5252: # Check for GNU ac_path_FGREP and select it if it is found.
                   5253:   # Check for GNU $ac_path_FGREP
                   5254: case `"$ac_path_FGREP" --version 2>&1` in
                   5255: *GNU*)
                   5256:   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
                   5257: *)
                   5258:   ac_count=0
                   5259:   $as_echo_n 0123456789 >"conftest.in"
                   5260:   while :
                   5261:   do
                   5262:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   5263:     mv "conftest.tmp" "conftest.in"
                   5264:     cp "conftest.in" "conftest.nl"
                   5265:     $as_echo 'FGREP' >> "conftest.nl"
                   5266:     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   5267:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   5268:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   5269:     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
                   5270:       # Best one so far, save it but keep looking for a better one
                   5271:       ac_cv_path_FGREP="$ac_path_FGREP"
                   5272:       ac_path_FGREP_max=$ac_count
                   5273:     fi
                   5274:     # 10*(2^10) chars as input seems more than enough
                   5275:     test $ac_count -gt 10 && break
                   5276:   done
                   5277:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   5278: esac
                   5279: 
                   5280:       $ac_path_FGREP_found && break 3
                   5281:     done
                   5282:   done
                   5283:   done
                   5284: IFS=$as_save_IFS
                   5285:   if test -z "$ac_cv_path_FGREP"; then
                   5286:     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   5287:   fi
                   5288: else
                   5289:   ac_cv_path_FGREP=$FGREP
                   5290: fi
                   5291: 
                   5292:    fi
                   5293: fi
                   5294: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
                   5295: $as_echo "$ac_cv_path_FGREP" >&6; }
                   5296:  FGREP="$ac_cv_path_FGREP"
                   5297: 
                   5298: 
                   5299: test -z "$GREP" && GREP=grep
                   5300: 
                   5301: 
                   5302: 
                   5303: 
                   5304: 
                   5305: 
                   5306: 
                   5307: 
                   5308: 
                   5309: 
                   5310: 
                   5311: 
                   5312: 
                   5313: 
                   5314: 
                   5315: 
                   5316: 
                   5317: 
                   5318: 
                   5319: # Check whether --with-gnu-ld was given.
                   5320: if test "${with_gnu_ld+set}" = set; then :
                   5321:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
                   5322: else
                   5323:   with_gnu_ld=no
                   5324: fi
                   5325: 
                   5326: ac_prog=ld
                   5327: if test "$GCC" = yes; then
                   5328:   # Check if gcc -print-prog-name=ld gives a path.
                   5329:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   5330: $as_echo_n "checking for ld used by $CC... " >&6; }
                   5331:   case $host in
                   5332:   *-*-mingw*)
                   5333:     # gcc leaves a trailing carriage return which upsets mingw
                   5334:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   5335:   *)
                   5336:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   5337:   esac
                   5338:   case $ac_prog in
                   5339:     # Accept absolute paths.
                   5340:     [\\/]* | ?:[\\/]*)
                   5341:       re_direlt='/[^/][^/]*/\.\./'
                   5342:       # Canonicalize the pathname of ld
                   5343:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   5344:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   5345:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   5346:       done
                   5347:       test -z "$LD" && LD="$ac_prog"
                   5348:       ;;
                   5349:   "")
                   5350:     # If it fails, then pretend we aren't using GCC.
                   5351:     ac_prog=ld
                   5352:     ;;
                   5353:   *)
                   5354:     # If it is relative, then search for the first ld in PATH.
                   5355:     with_gnu_ld=unknown
                   5356:     ;;
                   5357:   esac
                   5358: elif test "$with_gnu_ld" = yes; then
                   5359:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   5360: $as_echo_n "checking for GNU ld... " >&6; }
                   5361: else
                   5362:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   5363: $as_echo_n "checking for non-GNU ld... " >&6; }
                   5364: fi
                   5365: if test "${lt_cv_path_LD+set}" = set; then :
                   5366:   $as_echo_n "(cached) " >&6
                   5367: else
                   5368:   if test -z "$LD"; then
                   5369:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   5370:   for ac_dir in $PATH; do
                   5371:     IFS="$lt_save_ifs"
                   5372:     test -z "$ac_dir" && ac_dir=.
                   5373:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   5374:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   5375:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   5376:       # but apparently some variants of GNU ld only accept -v.
                   5377:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   5378:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   5379:       *GNU* | *'with BFD'*)
                   5380:        test "$with_gnu_ld" != no && break
                   5381:        ;;
                   5382:       *)
                   5383:        test "$with_gnu_ld" != yes && break
                   5384:        ;;
                   5385:       esac
                   5386:     fi
                   5387:   done
                   5388:   IFS="$lt_save_ifs"
                   5389: else
                   5390:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   5391: fi
                   5392: fi
                   5393: 
                   5394: LD="$lt_cv_path_LD"
                   5395: if test -n "$LD"; then
                   5396:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   5397: $as_echo "$LD" >&6; }
                   5398: else
                   5399:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5400: $as_echo "no" >&6; }
                   5401: fi
                   5402: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
                   5403: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   5404: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
                   5405: if test "${lt_cv_prog_gnu_ld+set}" = set; then :
                   5406:   $as_echo_n "(cached) " >&6
                   5407: else
                   5408:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   5409: case `$LD -v 2>&1 </dev/null` in
                   5410: *GNU* | *'with BFD'*)
                   5411:   lt_cv_prog_gnu_ld=yes
                   5412:   ;;
                   5413: *)
                   5414:   lt_cv_prog_gnu_ld=no
                   5415:   ;;
                   5416: esac
                   5417: fi
                   5418: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   5419: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
                   5420: with_gnu_ld=$lt_cv_prog_gnu_ld
                   5421: 
                   5422: 
                   5423: 
                   5424: 
                   5425: 
                   5426: 
                   5427: 
                   5428: 
                   5429: 
                   5430: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
                   5431: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
                   5432: if test "${lt_cv_path_NM+set}" = set; then :
                   5433:   $as_echo_n "(cached) " >&6
                   5434: else
                   5435:   if test -n "$NM"; then
                   5436:   # Let the user override the test.
                   5437:   lt_cv_path_NM="$NM"
                   5438: else
                   5439:   lt_nm_to_check="${ac_tool_prefix}nm"
                   5440:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
                   5441:     lt_nm_to_check="$lt_nm_to_check nm"
                   5442:   fi
                   5443:   for lt_tmp_nm in $lt_nm_to_check; do
                   5444:     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   5445:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
                   5446:       IFS="$lt_save_ifs"
                   5447:       test -z "$ac_dir" && ac_dir=.
                   5448:       tmp_nm="$ac_dir/$lt_tmp_nm"
                   5449:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
                   5450:        # Check to see if the nm accepts a BSD-compat flag.
                   5451:        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
                   5452:        #   nm: unknown option "B" ignored
                   5453:        # Tru64's nm complains that /dev/null is an invalid object file
                   5454:        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
                   5455:        */dev/null* | *'Invalid file or object type'*)
                   5456:          lt_cv_path_NM="$tmp_nm -B"
                   5457:          break
                   5458:          ;;
                   5459:        *)
                   5460:          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
                   5461:          */dev/null*)
                   5462:            lt_cv_path_NM="$tmp_nm -p"
                   5463:            break
                   5464:            ;;
                   5465:          *)
                   5466:            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
                   5467:            continue # so that we can try to find one that supports BSD flags
                   5468:            ;;
                   5469:          esac
                   5470:          ;;
                   5471:        esac
                   5472:       fi
                   5473:     done
                   5474:     IFS="$lt_save_ifs"
                   5475:   done
                   5476:   : ${lt_cv_path_NM=no}
                   5477: fi
                   5478: fi
                   5479: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
                   5480: $as_echo "$lt_cv_path_NM" >&6; }
                   5481: if test "$lt_cv_path_NM" != "no"; then
                   5482:   NM="$lt_cv_path_NM"
                   5483: else
                   5484:   # Didn't find any BSD compatible name lister, look for dumpbin.
                   5485:   if test -n "$ac_tool_prefix"; then
                   5486:   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
                   5487:   do
                   5488:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   5489: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   5490: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5491: $as_echo_n "checking for $ac_word... " >&6; }
                   5492: if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
                   5493:   $as_echo_n "(cached) " >&6
                   5494: else
                   5495:   if test -n "$DUMPBIN"; then
                   5496:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
                   5497: else
                   5498: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5499: for as_dir in $PATH
                   5500: do
                   5501:   IFS=$as_save_IFS
                   5502:   test -z "$as_dir" && as_dir=.
                   5503:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5504:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   5505:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
                   5506:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5507:     break 2
                   5508:   fi
                   5509: done
                   5510:   done
                   5511: IFS=$as_save_IFS
                   5512: 
                   5513: fi
                   5514: fi
                   5515: DUMPBIN=$ac_cv_prog_DUMPBIN
                   5516: if test -n "$DUMPBIN"; then
                   5517:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
                   5518: $as_echo "$DUMPBIN" >&6; }
                   5519: else
                   5520:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5521: $as_echo "no" >&6; }
                   5522: fi
                   5523: 
                   5524: 
                   5525:     test -n "$DUMPBIN" && break
                   5526:   done
                   5527: fi
                   5528: if test -z "$DUMPBIN"; then
                   5529:   ac_ct_DUMPBIN=$DUMPBIN
                   5530:   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
                   5531: do
                   5532:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   5533: set dummy $ac_prog; ac_word=$2
                   5534: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5535: $as_echo_n "checking for $ac_word... " >&6; }
                   5536: if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
                   5537:   $as_echo_n "(cached) " >&6
                   5538: else
                   5539:   if test -n "$ac_ct_DUMPBIN"; then
                   5540:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
                   5541: else
                   5542: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5543: for as_dir in $PATH
                   5544: do
                   5545:   IFS=$as_save_IFS
                   5546:   test -z "$as_dir" && as_dir=.
                   5547:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5548:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   5549:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
                   5550:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5551:     break 2
                   5552:   fi
                   5553: done
                   5554:   done
                   5555: IFS=$as_save_IFS
                   5556: 
                   5557: fi
                   5558: fi
                   5559: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
                   5560: if test -n "$ac_ct_DUMPBIN"; then
                   5561:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
                   5562: $as_echo "$ac_ct_DUMPBIN" >&6; }
                   5563: else
                   5564:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5565: $as_echo "no" >&6; }
                   5566: fi
                   5567: 
                   5568: 
                   5569:   test -n "$ac_ct_DUMPBIN" && break
                   5570: done
                   5571: 
                   5572:   if test "x$ac_ct_DUMPBIN" = x; then
                   5573:     DUMPBIN=":"
                   5574:   else
                   5575:     case $cross_compiling:$ac_tool_warned in
                   5576: yes:)
                   5577: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5578: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5579: ac_tool_warned=yes ;;
                   5580: esac
                   5581:     DUMPBIN=$ac_ct_DUMPBIN
                   5582:   fi
                   5583: fi
                   5584: 
                   5585: 
                   5586:   if test "$DUMPBIN" != ":"; then
                   5587:     NM="$DUMPBIN"
                   5588:   fi
                   5589: fi
                   5590: test -z "$NM" && NM=nm
                   5591: 
                   5592: 
                   5593: 
                   5594: 
                   5595: 
                   5596: 
                   5597: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
                   5598: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
                   5599: if test "${lt_cv_nm_interface+set}" = set; then :
                   5600:   $as_echo_n "(cached) " >&6
                   5601: else
                   5602:   lt_cv_nm_interface="BSD nm"
                   5603:   echo "int some_variable = 0;" > conftest.$ac_ext
                   5604:   (eval echo "\"\$as_me:5604: $ac_compile\"" >&5)
                   5605:   (eval "$ac_compile" 2>conftest.err)
                   5606:   cat conftest.err >&5
                   5607:   (eval echo "\"\$as_me:5607: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
                   5608:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
                   5609:   cat conftest.err >&5
                   5610:   (eval echo "\"\$as_me:5610: output\"" >&5)
                   5611:   cat conftest.out >&5
                   5612:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
                   5613:     lt_cv_nm_interface="MS dumpbin"
                   5614:   fi
                   5615:   rm -f conftest*
                   5616: fi
                   5617: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
                   5618: $as_echo "$lt_cv_nm_interface" >&6; }
                   5619: 
                   5620: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
                   5621: $as_echo_n "checking whether ln -s works... " >&6; }
                   5622: LN_S=$as_ln_s
                   5623: if test "$LN_S" = "ln -s"; then
                   5624:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   5625: $as_echo "yes" >&6; }
                   5626: else
                   5627:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
                   5628: $as_echo "no, using $LN_S" >&6; }
                   5629: fi
                   5630: 
                   5631: # find the maximum length of command line arguments
                   5632: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
                   5633: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
                   5634: if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
                   5635:   $as_echo_n "(cached) " >&6
                   5636: else
                   5637:     i=0
                   5638:   teststring="ABCD"
                   5639: 
                   5640:   case $build_os in
                   5641:   msdosdjgpp*)
                   5642:     # On DJGPP, this test can blow up pretty badly due to problems in libc
                   5643:     # (any single argument exceeding 2000 bytes causes a buffer overrun
                   5644:     # during glob expansion).  Even if it were fixed, the result of this
                   5645:     # check would be larger than it should be.
                   5646:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
                   5647:     ;;
                   5648: 
                   5649:   gnu*)
                   5650:     # Under GNU Hurd, this test is not required because there is
                   5651:     # no limit to the length of command line arguments.
                   5652:     # Libtool will interpret -1 as no limit whatsoever
                   5653:     lt_cv_sys_max_cmd_len=-1;
                   5654:     ;;
                   5655: 
                   5656:   cygwin* | mingw* | cegcc*)
                   5657:     # On Win9x/ME, this test blows up -- it succeeds, but takes
                   5658:     # about 5 minutes as the teststring grows exponentially.
                   5659:     # Worse, since 9x/ME are not pre-emptively multitasking,
                   5660:     # you end up with a "frozen" computer, even though with patience
                   5661:     # the test eventually succeeds (with a max line length of 256k).
                   5662:     # Instead, let's just punt: use the minimum linelength reported by
                   5663:     # all of the supported platforms: 8192 (on NT/2K/XP).
                   5664:     lt_cv_sys_max_cmd_len=8192;
                   5665:     ;;
                   5666: 
                   5667:   amigaos*)
                   5668:     # On AmigaOS with pdksh, this test takes hours, literally.
                   5669:     # So we just punt and use a minimum line length of 8192.
                   5670:     lt_cv_sys_max_cmd_len=8192;
                   5671:     ;;
                   5672: 
                   5673:   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
                   5674:     # This has been around since 386BSD, at least.  Likely further.
                   5675:     if test -x /sbin/sysctl; then
                   5676:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
                   5677:     elif test -x /usr/sbin/sysctl; then
                   5678:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
                   5679:     else
                   5680:       lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
                   5681:     fi
                   5682:     # And add a safety zone
                   5683:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   5684:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   5685:     ;;
                   5686: 
                   5687:   interix*)
                   5688:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
                   5689:     lt_cv_sys_max_cmd_len=196608
                   5690:     ;;
                   5691: 
                   5692:   osf*)
                   5693:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
                   5694:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
                   5695:     # nice to cause kernel panics so lets avoid the loop below.
                   5696:     # First set a reasonable default.
                   5697:     lt_cv_sys_max_cmd_len=16384
                   5698:     #
                   5699:     if test -x /sbin/sysconfig; then
                   5700:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
                   5701:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
                   5702:       esac
                   5703:     fi
                   5704:     ;;
                   5705:   sco3.2v5*)
                   5706:     lt_cv_sys_max_cmd_len=102400
                   5707:     ;;
                   5708:   sysv5* | sco5v6* | sysv4.2uw2*)
                   5709:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
                   5710:     if test -n "$kargmax"; then
                   5711:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
                   5712:     else
                   5713:       lt_cv_sys_max_cmd_len=32768
                   5714:     fi
                   5715:     ;;
                   5716:   *)
                   5717:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
                   5718:     if test -n "$lt_cv_sys_max_cmd_len"; then
                   5719:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   5720:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   5721:     else
                   5722:       # Make teststring a little bigger before we do anything with it.
                   5723:       # a 1K string should be a reasonable start.
                   5724:       for i in 1 2 3 4 5 6 7 8 ; do
                   5725:         teststring=$teststring$teststring
                   5726:       done
                   5727:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
                   5728:       # If test is not a shell built-in, we'll probably end up computing a
                   5729:       # maximum length that is only half of the actual maximum length, but
                   5730:       # we can't tell.
                   5731:       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
                   5732:                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
                   5733:              test $i != 17 # 1/2 MB should be enough
                   5734:       do
                   5735:         i=`expr $i + 1`
                   5736:         teststring=$teststring$teststring
                   5737:       done
                   5738:       # Only check the string length outside the loop.
                   5739:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
                   5740:       teststring=
                   5741:       # Add a significant safety factor because C++ compilers can tack on
                   5742:       # massive amounts of additional arguments before passing them to the
                   5743:       # linker.  It appears as though 1/2 is a usable value.
                   5744:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
                   5745:     fi
                   5746:     ;;
                   5747:   esac
                   5748: 
                   5749: fi
                   5750: 
                   5751: if test -n $lt_cv_sys_max_cmd_len ; then
                   5752:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
                   5753: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
                   5754: else
                   5755:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
                   5756: $as_echo "none" >&6; }
                   5757: fi
                   5758: max_cmd_len=$lt_cv_sys_max_cmd_len
                   5759: 
                   5760: 
                   5761: 
                   5762: 
                   5763: 
                   5764: 
                   5765: : ${CP="cp -f"}
                   5766: : ${MV="mv -f"}
                   5767: : ${RM="rm -f"}
                   5768: 
                   5769: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
                   5770: $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
                   5771: # Try some XSI features
                   5772: xsi_shell=no
                   5773: ( _lt_dummy="a/b/c"
                   5774:   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
                   5775:       = c,a/b,, \
                   5776:     && eval 'test $(( 1 + 1 )) -eq 2 \
                   5777:     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
                   5778:   && xsi_shell=yes
                   5779: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
                   5780: $as_echo "$xsi_shell" >&6; }
                   5781: 
                   5782: 
                   5783: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
                   5784: $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
                   5785: lt_shell_append=no
                   5786: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
                   5787:     >/dev/null 2>&1 \
                   5788:   && lt_shell_append=yes
                   5789: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
                   5790: $as_echo "$lt_shell_append" >&6; }
                   5791: 
                   5792: 
                   5793: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                   5794:   lt_unset=unset
                   5795: else
                   5796:   lt_unset=false
                   5797: fi
                   5798: 
                   5799: 
                   5800: 
                   5801: 
                   5802: 
                   5803: # test EBCDIC or ASCII
                   5804: case `echo X|tr X '\101'` in
                   5805:  A) # ASCII based system
                   5806:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
                   5807:   lt_SP2NL='tr \040 \012'
                   5808:   lt_NL2SP='tr \015\012 \040\040'
                   5809:   ;;
                   5810:  *) # EBCDIC based system
                   5811:   lt_SP2NL='tr \100 \n'
                   5812:   lt_NL2SP='tr \r\n \100\100'
                   5813:   ;;
                   5814: esac
                   5815: 
                   5816: 
                   5817: 
                   5818: 
                   5819: 
                   5820: 
                   5821: 
                   5822: 
                   5823: 
                   5824: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
                   5825: $as_echo_n "checking for $LD option to reload object files... " >&6; }
                   5826: if test "${lt_cv_ld_reload_flag+set}" = set; then :
                   5827:   $as_echo_n "(cached) " >&6
                   5828: else
                   5829:   lt_cv_ld_reload_flag='-r'
                   5830: fi
                   5831: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
                   5832: $as_echo "$lt_cv_ld_reload_flag" >&6; }
                   5833: reload_flag=$lt_cv_ld_reload_flag
                   5834: case $reload_flag in
                   5835: "" | " "*) ;;
                   5836: *) reload_flag=" $reload_flag" ;;
                   5837: esac
                   5838: reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   5839: case $host_os in
                   5840:   darwin*)
                   5841:     if test "$GCC" = yes; then
                   5842:       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
                   5843:     else
                   5844:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   5845:     fi
                   5846:     ;;
                   5847: esac
                   5848: 
                   5849: 
                   5850: 
                   5851: 
                   5852: 
                   5853: 
                   5854: 
                   5855: 
                   5856: 
                   5857: if test -n "$ac_tool_prefix"; then
                   5858:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   5859: set dummy ${ac_tool_prefix}objdump; ac_word=$2
                   5860: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5861: $as_echo_n "checking for $ac_word... " >&6; }
                   5862: if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
                   5863:   $as_echo_n "(cached) " >&6
                   5864: else
                   5865:   if test -n "$OBJDUMP"; then
                   5866:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   5867: else
                   5868: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5869: for as_dir in $PATH
                   5870: do
                   5871:   IFS=$as_save_IFS
                   5872:   test -z "$as_dir" && as_dir=.
                   5873:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5874:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   5875:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
                   5876:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5877:     break 2
                   5878:   fi
                   5879: done
                   5880:   done
                   5881: IFS=$as_save_IFS
                   5882: 
                   5883: fi
                   5884: fi
                   5885: OBJDUMP=$ac_cv_prog_OBJDUMP
                   5886: if test -n "$OBJDUMP"; then
                   5887:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   5888: $as_echo "$OBJDUMP" >&6; }
                   5889: else
                   5890:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5891: $as_echo "no" >&6; }
                   5892: fi
                   5893: 
                   5894: 
                   5895: fi
                   5896: if test -z "$ac_cv_prog_OBJDUMP"; then
                   5897:   ac_ct_OBJDUMP=$OBJDUMP
                   5898:   # Extract the first word of "objdump", so it can be a program name with args.
                   5899: set dummy objdump; ac_word=$2
                   5900: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5901: $as_echo_n "checking for $ac_word... " >&6; }
                   5902: if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
                   5903:   $as_echo_n "(cached) " >&6
                   5904: else
                   5905:   if test -n "$ac_ct_OBJDUMP"; then
                   5906:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   5907: else
                   5908: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5909: for as_dir in $PATH
                   5910: do
                   5911:   IFS=$as_save_IFS
                   5912:   test -z "$as_dir" && as_dir=.
                   5913:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5914:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   5915:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
                   5916:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5917:     break 2
                   5918:   fi
                   5919: done
                   5920:   done
                   5921: IFS=$as_save_IFS
                   5922: 
                   5923: fi
                   5924: fi
                   5925: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   5926: if test -n "$ac_ct_OBJDUMP"; then
                   5927:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   5928: $as_echo "$ac_ct_OBJDUMP" >&6; }
                   5929: else
                   5930:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5931: $as_echo "no" >&6; }
                   5932: fi
                   5933: 
                   5934:   if test "x$ac_ct_OBJDUMP" = x; then
                   5935:     OBJDUMP="false"
                   5936:   else
                   5937:     case $cross_compiling:$ac_tool_warned in
                   5938: yes:)
                   5939: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5940: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5941: ac_tool_warned=yes ;;
                   5942: esac
                   5943:     OBJDUMP=$ac_ct_OBJDUMP
                   5944:   fi
                   5945: else
                   5946:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   5947: fi
                   5948: 
                   5949: test -z "$OBJDUMP" && OBJDUMP=objdump
                   5950: 
                   5951: 
                   5952: 
                   5953: 
                   5954: 
                   5955: 
                   5956: 
                   5957: 
                   5958: 
                   5959: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
                   5960: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
                   5961: if test "${lt_cv_deplibs_check_method+set}" = set; then :
                   5962:   $as_echo_n "(cached) " >&6
                   5963: else
                   5964:   lt_cv_file_magic_cmd='$MAGIC_CMD'
                   5965: lt_cv_file_magic_test_file=
                   5966: lt_cv_deplibs_check_method='unknown'
                   5967: # Need to set the preceding variable on all platforms that support
                   5968: # interlibrary dependencies.
                   5969: # 'none' -- dependencies not supported.
                   5970: # `unknown' -- same as none, but documents that we really don't know.
                   5971: # 'pass_all' -- all dependencies passed with no checks.
                   5972: # 'test_compile' -- check by making test program.
                   5973: # 'file_magic [[regex]]' -- check by looking for files in library path
                   5974: # which responds to the $file_magic_cmd with a given extended regex.
                   5975: # If you have `file' or equivalent on your system and you're not sure
                   5976: # whether `pass_all' will *always* work, you probably want this one.
                   5977: 
                   5978: case $host_os in
                   5979: aix[4-9]*)
                   5980:   lt_cv_deplibs_check_method=pass_all
                   5981:   ;;
                   5982: 
                   5983: beos*)
                   5984:   lt_cv_deplibs_check_method=pass_all
                   5985:   ;;
                   5986: 
                   5987: bsdi[45]*)
                   5988:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
                   5989:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   5990:   lt_cv_file_magic_test_file=/shlib/libc.so
                   5991:   ;;
                   5992: 
                   5993: cygwin*)
                   5994:   # func_win32_libid is a shell function defined in ltmain.sh
                   5995:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   5996:   lt_cv_file_magic_cmd='func_win32_libid'
                   5997:   ;;
                   5998: 
                   5999: mingw* | pw32*)
                   6000:   # Base MSYS/MinGW do not provide the 'file' command needed by
                   6001:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
                   6002:   # unless we find 'file', for example because we are cross-compiling.
                   6003:   if ( file / ) >/dev/null 2>&1; then
                   6004:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   6005:     lt_cv_file_magic_cmd='func_win32_libid'
                   6006:   else
                   6007:     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
                   6008:     lt_cv_file_magic_cmd='$OBJDUMP -f'
                   6009:   fi
                   6010:   ;;
                   6011: 
                   6012: cegcc)
                   6013:   # use the weaker test based on 'objdump'. See mingw*.
                   6014:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
                   6015:   lt_cv_file_magic_cmd='$OBJDUMP -f'
                   6016:   ;;
                   6017: 
                   6018: darwin* | rhapsody*)
                   6019:   lt_cv_deplibs_check_method=pass_all
                   6020:   ;;
                   6021: 
                   6022: freebsd* | dragonfly*)
                   6023:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   6024:     case $host_cpu in
                   6025:     i*86 )
                   6026:       # Not sure whether the presence of OpenBSD here was a mistake.
                   6027:       # Let's accept both of them until this is cleared up.
                   6028:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
                   6029:       lt_cv_file_magic_cmd=/usr/bin/file
                   6030:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
                   6031:       ;;
                   6032:     esac
                   6033:   else
                   6034:     lt_cv_deplibs_check_method=pass_all
                   6035:   fi
                   6036:   ;;
                   6037: 
                   6038: gnu*)
                   6039:   lt_cv_deplibs_check_method=pass_all
                   6040:   ;;
                   6041: 
                   6042: hpux10.20* | hpux11*)
                   6043:   lt_cv_file_magic_cmd=/usr/bin/file
                   6044:   case $host_cpu in
                   6045:   ia64*)
                   6046:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
                   6047:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
                   6048:     ;;
                   6049:   hppa*64*)
                   6050:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
                   6051:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
                   6052:     ;;
                   6053:   *)
                   6054:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
                   6055:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
                   6056:     ;;
                   6057:   esac
                   6058:   ;;
                   6059: 
                   6060: interix[3-9]*)
                   6061:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
                   6062:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
                   6063:   ;;
                   6064: 
                   6065: irix5* | irix6* | nonstopux*)
                   6066:   case $LD in
                   6067:   *-32|*"-32 ") libmagic=32-bit;;
                   6068:   *-n32|*"-n32 ") libmagic=N32;;
                   6069:   *-64|*"-64 ") libmagic=64-bit;;
                   6070:   *) libmagic=never-match;;
                   6071:   esac
                   6072:   lt_cv_deplibs_check_method=pass_all
                   6073:   ;;
                   6074: 
                   6075: # This must be Linux ELF.
                   6076: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   6077:   lt_cv_deplibs_check_method=pass_all
                   6078:   ;;
                   6079: 
                   6080: netbsd* | netbsdelf*-gnu)
                   6081:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   6082:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   6083:   else
                   6084:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
                   6085:   fi
                   6086:   ;;
                   6087: 
                   6088: newos6*)
                   6089:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
                   6090:   lt_cv_file_magic_cmd=/usr/bin/file
                   6091:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
                   6092:   ;;
                   6093: 
                   6094: *nto* | *qnx*)
                   6095:   lt_cv_deplibs_check_method=pass_all
                   6096:   ;;
                   6097: 
                   6098: openbsd*)
                   6099:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   6100:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
                   6101:   else
                   6102:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   6103:   fi
                   6104:   ;;
                   6105: 
                   6106: osf3* | osf4* | osf5*)
                   6107:   lt_cv_deplibs_check_method=pass_all
                   6108:   ;;
                   6109: 
                   6110: rdos*)
                   6111:   lt_cv_deplibs_check_method=pass_all
                   6112:   ;;
                   6113: 
                   6114: solaris*)
                   6115:   lt_cv_deplibs_check_method=pass_all
                   6116:   ;;
                   6117: 
                   6118: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   6119:   lt_cv_deplibs_check_method=pass_all
                   6120:   ;;
                   6121: 
                   6122: sysv4 | sysv4.3*)
                   6123:   case $host_vendor in
                   6124:   motorola)
                   6125:     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]'
                   6126:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
                   6127:     ;;
                   6128:   ncr)
                   6129:     lt_cv_deplibs_check_method=pass_all
                   6130:     ;;
                   6131:   sequent)
                   6132:     lt_cv_file_magic_cmd='/bin/file'
                   6133:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
                   6134:     ;;
                   6135:   sni)
                   6136:     lt_cv_file_magic_cmd='/bin/file'
                   6137:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
                   6138:     lt_cv_file_magic_test_file=/lib/libc.so
                   6139:     ;;
                   6140:   siemens)
                   6141:     lt_cv_deplibs_check_method=pass_all
                   6142:     ;;
                   6143:   pc)
                   6144:     lt_cv_deplibs_check_method=pass_all
                   6145:     ;;
                   6146:   esac
                   6147:   ;;
                   6148: 
                   6149: tpf*)
                   6150:   lt_cv_deplibs_check_method=pass_all
                   6151:   ;;
                   6152: esac
                   6153: 
                   6154: fi
                   6155: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
                   6156: $as_echo "$lt_cv_deplibs_check_method" >&6; }
                   6157: file_magic_cmd=$lt_cv_file_magic_cmd
                   6158: deplibs_check_method=$lt_cv_deplibs_check_method
                   6159: test -z "$deplibs_check_method" && deplibs_check_method=unknown
                   6160: 
                   6161: 
                   6162: 
                   6163: 
                   6164: 
                   6165: 
                   6166: 
                   6167: 
                   6168: 
                   6169: 
                   6170: 
                   6171: 
                   6172: if test -n "$ac_tool_prefix"; then
                   6173:   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
                   6174: set dummy ${ac_tool_prefix}ar; ac_word=$2
                   6175: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6176: $as_echo_n "checking for $ac_word... " >&6; }
                   6177: if test "${ac_cv_prog_AR+set}" = set; then :
                   6178:   $as_echo_n "(cached) " >&6
                   6179: else
                   6180:   if test -n "$AR"; then
                   6181:   ac_cv_prog_AR="$AR" # Let the user override the test.
                   6182: else
                   6183: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6184: for as_dir in $PATH
                   6185: do
                   6186:   IFS=$as_save_IFS
                   6187:   test -z "$as_dir" && as_dir=.
                   6188:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6189:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6190:     ac_cv_prog_AR="${ac_tool_prefix}ar"
                   6191:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6192:     break 2
                   6193:   fi
                   6194: done
                   6195:   done
                   6196: IFS=$as_save_IFS
                   6197: 
                   6198: fi
                   6199: fi
                   6200: AR=$ac_cv_prog_AR
                   6201: if test -n "$AR"; then
                   6202:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
                   6203: $as_echo "$AR" >&6; }
                   6204: else
                   6205:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6206: $as_echo "no" >&6; }
                   6207: fi
                   6208: 
                   6209: 
                   6210: fi
                   6211: if test -z "$ac_cv_prog_AR"; then
                   6212:   ac_ct_AR=$AR
                   6213:   # Extract the first word of "ar", so it can be a program name with args.
                   6214: set dummy ar; ac_word=$2
                   6215: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6216: $as_echo_n "checking for $ac_word... " >&6; }
                   6217: if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
                   6218:   $as_echo_n "(cached) " >&6
                   6219: else
                   6220:   if test -n "$ac_ct_AR"; then
                   6221:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
                   6222: else
                   6223: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6224: for as_dir in $PATH
                   6225: do
                   6226:   IFS=$as_save_IFS
                   6227:   test -z "$as_dir" && as_dir=.
                   6228:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6229:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6230:     ac_cv_prog_ac_ct_AR="ar"
                   6231:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6232:     break 2
                   6233:   fi
                   6234: done
                   6235:   done
                   6236: IFS=$as_save_IFS
                   6237: 
                   6238: fi
                   6239: fi
                   6240: ac_ct_AR=$ac_cv_prog_ac_ct_AR
                   6241: if test -n "$ac_ct_AR"; then
                   6242:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
                   6243: $as_echo "$ac_ct_AR" >&6; }
                   6244: else
                   6245:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6246: $as_echo "no" >&6; }
                   6247: fi
                   6248: 
                   6249:   if test "x$ac_ct_AR" = x; then
                   6250:     AR="false"
                   6251:   else
                   6252:     case $cross_compiling:$ac_tool_warned in
                   6253: yes:)
                   6254: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6255: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6256: ac_tool_warned=yes ;;
                   6257: esac
                   6258:     AR=$ac_ct_AR
                   6259:   fi
                   6260: else
                   6261:   AR="$ac_cv_prog_AR"
                   6262: fi
                   6263: 
                   6264: test -z "$AR" && AR=ar
                   6265: test -z "$AR_FLAGS" && AR_FLAGS=cru
                   6266: 
                   6267: 
                   6268: 
                   6269: 
                   6270: 
                   6271: 
                   6272: 
                   6273: 
                   6274: 
                   6275: 
                   6276: 
                   6277: if test -n "$ac_tool_prefix"; then
                   6278:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   6279: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   6280: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6281: $as_echo_n "checking for $ac_word... " >&6; }
                   6282: if test "${ac_cv_prog_STRIP+set}" = set; then :
                   6283:   $as_echo_n "(cached) " >&6
                   6284: else
                   6285:   if test -n "$STRIP"; then
                   6286:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   6287: else
                   6288: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6289: for as_dir in $PATH
                   6290: do
                   6291:   IFS=$as_save_IFS
                   6292:   test -z "$as_dir" && as_dir=.
                   6293:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6294:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6295:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   6296:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6297:     break 2
                   6298:   fi
                   6299: done
                   6300:   done
                   6301: IFS=$as_save_IFS
                   6302: 
                   6303: fi
                   6304: fi
                   6305: STRIP=$ac_cv_prog_STRIP
                   6306: if test -n "$STRIP"; then
                   6307:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   6308: $as_echo "$STRIP" >&6; }
                   6309: else
                   6310:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6311: $as_echo "no" >&6; }
                   6312: fi
                   6313: 
                   6314: 
                   6315: fi
                   6316: if test -z "$ac_cv_prog_STRIP"; then
                   6317:   ac_ct_STRIP=$STRIP
                   6318:   # Extract the first word of "strip", so it can be a program name with args.
                   6319: set dummy strip; ac_word=$2
                   6320: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6321: $as_echo_n "checking for $ac_word... " >&6; }
                   6322: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
                   6323:   $as_echo_n "(cached) " >&6
                   6324: else
                   6325:   if test -n "$ac_ct_STRIP"; then
                   6326:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   6327: else
                   6328: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6329: for as_dir in $PATH
                   6330: do
                   6331:   IFS=$as_save_IFS
                   6332:   test -z "$as_dir" && as_dir=.
                   6333:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6334:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6335:     ac_cv_prog_ac_ct_STRIP="strip"
                   6336:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6337:     break 2
                   6338:   fi
                   6339: done
                   6340:   done
                   6341: IFS=$as_save_IFS
                   6342: 
                   6343: fi
                   6344: fi
                   6345: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   6346: if test -n "$ac_ct_STRIP"; then
                   6347:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   6348: $as_echo "$ac_ct_STRIP" >&6; }
                   6349: else
                   6350:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6351: $as_echo "no" >&6; }
                   6352: fi
                   6353: 
                   6354:   if test "x$ac_ct_STRIP" = x; then
                   6355:     STRIP=":"
                   6356:   else
                   6357:     case $cross_compiling:$ac_tool_warned in
                   6358: yes:)
                   6359: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6360: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6361: ac_tool_warned=yes ;;
                   6362: esac
                   6363:     STRIP=$ac_ct_STRIP
                   6364:   fi
                   6365: else
                   6366:   STRIP="$ac_cv_prog_STRIP"
                   6367: fi
                   6368: 
                   6369: test -z "$STRIP" && STRIP=:
                   6370: 
                   6371: 
                   6372: 
                   6373: 
                   6374: 
                   6375: 
                   6376: if test -n "$ac_tool_prefix"; then
                   6377:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   6378: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
                   6379: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6380: $as_echo_n "checking for $ac_word... " >&6; }
                   6381: if test "${ac_cv_prog_RANLIB+set}" = set; then :
                   6382:   $as_echo_n "(cached) " >&6
                   6383: else
                   6384:   if test -n "$RANLIB"; then
                   6385:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   6386: else
                   6387: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6388: for as_dir in $PATH
                   6389: do
                   6390:   IFS=$as_save_IFS
                   6391:   test -z "$as_dir" && as_dir=.
                   6392:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6393:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6394:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
                   6395:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6396:     break 2
                   6397:   fi
                   6398: done
                   6399:   done
                   6400: IFS=$as_save_IFS
                   6401: 
                   6402: fi
                   6403: fi
                   6404: RANLIB=$ac_cv_prog_RANLIB
                   6405: if test -n "$RANLIB"; then
                   6406:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
                   6407: $as_echo "$RANLIB" >&6; }
                   6408: else
                   6409:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6410: $as_echo "no" >&6; }
                   6411: fi
                   6412: 
                   6413: 
                   6414: fi
                   6415: if test -z "$ac_cv_prog_RANLIB"; then
                   6416:   ac_ct_RANLIB=$RANLIB
                   6417:   # Extract the first word of "ranlib", so it can be a program name with args.
                   6418: set dummy ranlib; ac_word=$2
                   6419: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6420: $as_echo_n "checking for $ac_word... " >&6; }
                   6421: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
                   6422:   $as_echo_n "(cached) " >&6
                   6423: else
                   6424:   if test -n "$ac_ct_RANLIB"; then
                   6425:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   6426: else
                   6427: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6428: for as_dir in $PATH
                   6429: do
                   6430:   IFS=$as_save_IFS
                   6431:   test -z "$as_dir" && as_dir=.
                   6432:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6433:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6434:     ac_cv_prog_ac_ct_RANLIB="ranlib"
                   6435:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6436:     break 2
                   6437:   fi
                   6438: done
                   6439:   done
                   6440: IFS=$as_save_IFS
                   6441: 
                   6442: fi
                   6443: fi
                   6444: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   6445: if test -n "$ac_ct_RANLIB"; then
                   6446:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
                   6447: $as_echo "$ac_ct_RANLIB" >&6; }
                   6448: else
                   6449:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6450: $as_echo "no" >&6; }
                   6451: fi
                   6452: 
                   6453:   if test "x$ac_ct_RANLIB" = x; then
                   6454:     RANLIB=":"
                   6455:   else
                   6456:     case $cross_compiling:$ac_tool_warned in
                   6457: yes:)
                   6458: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6459: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6460: ac_tool_warned=yes ;;
                   6461: esac
                   6462:     RANLIB=$ac_ct_RANLIB
                   6463:   fi
                   6464: else
                   6465:   RANLIB="$ac_cv_prog_RANLIB"
                   6466: fi
                   6467: 
                   6468: test -z "$RANLIB" && RANLIB=:
                   6469: 
                   6470: 
                   6471: 
                   6472: 
                   6473: 
                   6474: 
                   6475: # Determine commands to create old-style static archives.
                   6476: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
                   6477: old_postinstall_cmds='chmod 644 $oldlib'
                   6478: old_postuninstall_cmds=
                   6479: 
                   6480: if test -n "$RANLIB"; then
                   6481:   case $host_os in
                   6482:   openbsd*)
                   6483:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
                   6484:     ;;
                   6485:   *)
                   6486:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
                   6487:     ;;
                   6488:   esac
                   6489:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
                   6490: fi
                   6491: 
                   6492: 
                   6493: 
                   6494: 
                   6495: 
                   6496: 
                   6497: 
                   6498: 
                   6499: 
                   6500: 
                   6501: 
                   6502: 
                   6503: 
                   6504: 
                   6505: 
                   6506: 
                   6507: 
                   6508: 
                   6509: 
                   6510: 
                   6511: 
                   6512: 
                   6513: 
                   6514: 
                   6515: 
                   6516: 
                   6517: 
                   6518: 
                   6519: 
                   6520: 
                   6521: 
                   6522: 
                   6523: 
                   6524: 
                   6525: # If no C compiler was specified, use CC.
                   6526: LTCC=${LTCC-"$CC"}
                   6527: 
                   6528: # If no C compiler flags were specified, use CFLAGS.
                   6529: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   6530: 
                   6531: # Allow CC to be a program name with arguments.
                   6532: compiler=$CC
                   6533: 
                   6534: 
                   6535: # Check for command to grab the raw symbol name followed by C symbol from nm.
                   6536: { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
                   6537: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
                   6538: if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
                   6539:   $as_echo_n "(cached) " >&6
                   6540: else
                   6541: 
                   6542: # These are sane defaults that work on at least a few old systems.
                   6543: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
                   6544: 
                   6545: # Character class describing NM global symbol codes.
                   6546: symcode='[BCDEGRST]'
                   6547: 
                   6548: # Regexp to match symbols that can be accessed directly from C.
                   6549: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
                   6550: 
                   6551: # Define system-specific variables.
                   6552: case $host_os in
                   6553: aix*)
                   6554:   symcode='[BCDT]'
                   6555:   ;;
                   6556: cygwin* | mingw* | pw32* | cegcc*)
                   6557:   symcode='[ABCDGISTW]'
                   6558:   ;;
                   6559: hpux*)
                   6560:   if test "$host_cpu" = ia64; then
                   6561:     symcode='[ABCDEGRST]'
                   6562:   fi
                   6563:   ;;
                   6564: irix* | nonstopux*)
                   6565:   symcode='[BCDEGRST]'
                   6566:   ;;
                   6567: osf*)
                   6568:   symcode='[BCDEGQRST]'
                   6569:   ;;
                   6570: solaris*)
                   6571:   symcode='[BDRT]'
                   6572:   ;;
                   6573: sco3.2v5*)
                   6574:   symcode='[DT]'
                   6575:   ;;
                   6576: sysv4.2uw2*)
                   6577:   symcode='[DT]'
                   6578:   ;;
                   6579: sysv5* | sco5v6* | unixware* | OpenUNIX*)
                   6580:   symcode='[ABDT]'
                   6581:   ;;
                   6582: sysv4)
                   6583:   symcode='[DFNSTU]'
                   6584:   ;;
                   6585: esac
                   6586: 
                   6587: # If we're using GNU nm, then use its standard symbol codes.
                   6588: case `$NM -V 2>&1` in
                   6589: *GNU* | *'with BFD'*)
                   6590:   symcode='[ABCDGIRSTW]' ;;
                   6591: esac
                   6592: 
                   6593: # Transform an extracted symbol line into a proper C declaration.
                   6594: # Some systems (esp. on ia64) link data and code symbols differently,
                   6595: # so use this general approach.
                   6596: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
                   6597: 
                   6598: # Transform an extracted symbol line into symbol name and symbol address
                   6599: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
                   6600: 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'"
                   6601: 
                   6602: # Handle CRLF in mingw tool chain
                   6603: opt_cr=
                   6604: case $build_os in
                   6605: mingw*)
                   6606:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
                   6607:   ;;
                   6608: esac
                   6609: 
                   6610: # Try without a prefix underscore, then with it.
                   6611: for ac_symprfx in "" "_"; do
                   6612: 
                   6613:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
                   6614:   symxfrm="\\1 $ac_symprfx\\2 \\2"
                   6615: 
                   6616:   # Write the raw and C identifiers.
                   6617:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   6618:     # Fake it for dumpbin and say T for any non-static function
                   6619:     # and D for any global variable.
                   6620:     # Also find C++ and __fastcall symbols from MSVC++,
                   6621:     # which start with @ or ?.
                   6622:     lt_cv_sys_global_symbol_pipe="$AWK '"\
                   6623: "     {last_section=section; section=\$ 3};"\
                   6624: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
                   6625: "     \$ 0!~/External *\|/{next};"\
                   6626: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
                   6627: "     {if(hide[section]) next};"\
                   6628: "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
                   6629: "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
                   6630: "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
                   6631: "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
                   6632: "     ' prfx=^$ac_symprfx"
                   6633:   else
                   6634:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
                   6635:   fi
                   6636: 
                   6637:   # Check to see that the pipe works correctly.
                   6638:   pipe_works=no
                   6639: 
                   6640:   rm -f conftest*
                   6641:   cat > conftest.$ac_ext <<_LT_EOF
                   6642: #ifdef __cplusplus
                   6643: extern "C" {
                   6644: #endif
                   6645: char nm_test_var;
                   6646: void nm_test_func(void);
                   6647: void nm_test_func(void){}
                   6648: #ifdef __cplusplus
                   6649: }
                   6650: #endif
                   6651: int main(){nm_test_var='a';nm_test_func();return(0);}
                   6652: _LT_EOF
                   6653: 
                   6654:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   6655:   (eval $ac_compile) 2>&5
                   6656:   ac_status=$?
                   6657:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6658:   test $ac_status = 0; }; then
                   6659:     # Now try to grab the symbols.
                   6660:     nlist=conftest.nm
                   6661:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
                   6662:   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
                   6663:   ac_status=$?
                   6664:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6665:   test $ac_status = 0; } && test -s "$nlist"; then
                   6666:       # Try sorting and uniquifying the output.
                   6667:       if sort "$nlist" | uniq > "$nlist"T; then
                   6668:        mv -f "$nlist"T "$nlist"
                   6669:       else
                   6670:        rm -f "$nlist"T
                   6671:       fi
                   6672: 
                   6673:       # Make sure that we snagged all the symbols we need.
                   6674:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
                   6675:        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
                   6676:          cat <<_LT_EOF > conftest.$ac_ext
                   6677: #ifdef __cplusplus
                   6678: extern "C" {
                   6679: #endif
                   6680: 
                   6681: _LT_EOF
                   6682:          # Now generate the symbol file.
                   6683:          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
                   6684: 
                   6685:          cat <<_LT_EOF >> conftest.$ac_ext
                   6686: 
                   6687: /* The mapping between symbol names and symbols.  */
                   6688: const struct {
                   6689:   const char *name;
                   6690:   void       *address;
                   6691: }
                   6692: lt__PROGRAM__LTX_preloaded_symbols[] =
                   6693: {
                   6694:   { "@PROGRAM@", (void *) 0 },
                   6695: _LT_EOF
                   6696:          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
                   6697:          cat <<\_LT_EOF >> conftest.$ac_ext
                   6698:   {0, (void *) 0}
                   6699: };
                   6700: 
                   6701: /* This works around a problem in FreeBSD linker */
                   6702: #ifdef FREEBSD_WORKAROUND
                   6703: static const void *lt_preloaded_setup() {
                   6704:   return lt__PROGRAM__LTX_preloaded_symbols;
                   6705: }
                   6706: #endif
                   6707: 
                   6708: #ifdef __cplusplus
                   6709: }
                   6710: #endif
                   6711: _LT_EOF
                   6712:          # Now try linking the two files.
                   6713:          mv conftest.$ac_objext conftstm.$ac_objext
                   6714:          lt_save_LIBS="$LIBS"
                   6715:          lt_save_CFLAGS="$CFLAGS"
                   6716:          LIBS="conftstm.$ac_objext"
                   6717:          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
                   6718:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
                   6719:   (eval $ac_link) 2>&5
                   6720:   ac_status=$?
                   6721:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6722:   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
                   6723:            pipe_works=yes
                   6724:          fi
                   6725:          LIBS="$lt_save_LIBS"
                   6726:          CFLAGS="$lt_save_CFLAGS"
                   6727:        else
                   6728:          echo "cannot find nm_test_func in $nlist" >&5
                   6729:        fi
                   6730:       else
                   6731:        echo "cannot find nm_test_var in $nlist" >&5
                   6732:       fi
                   6733:     else
                   6734:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   6735:     fi
                   6736:   else
                   6737:     echo "$progname: failed program was:" >&5
                   6738:     cat conftest.$ac_ext >&5
                   6739:   fi
                   6740:   rm -rf conftest* conftst*
                   6741: 
                   6742:   # Do not use the global_symbol_pipe unless it works.
                   6743:   if test "$pipe_works" = yes; then
                   6744:     break
                   6745:   else
                   6746:     lt_cv_sys_global_symbol_pipe=
                   6747:   fi
                   6748: done
                   6749: 
                   6750: fi
                   6751: 
                   6752: if test -z "$lt_cv_sys_global_symbol_pipe"; then
                   6753:   lt_cv_sys_global_symbol_to_cdecl=
                   6754: fi
                   6755: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
                   6756:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
                   6757: $as_echo "failed" >&6; }
                   6758: else
                   6759:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
                   6760: $as_echo "ok" >&6; }
                   6761: fi
                   6762: 
                   6763: 
                   6764: 
                   6765: 
                   6766: 
                   6767: 
                   6768: 
                   6769: 
                   6770: 
                   6771: 
                   6772: 
                   6773: 
                   6774: 
                   6775: 
                   6776: 
                   6777: 
                   6778: 
                   6779: 
                   6780: 
                   6781: 
                   6782: 
                   6783: 
                   6784: # Check whether --enable-libtool-lock was given.
                   6785: if test "${enable_libtool_lock+set}" = set; then :
                   6786:   enableval=$enable_libtool_lock;
                   6787: fi
                   6788: 
                   6789: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
                   6790: 
                   6791: # Some flags need to be propagated to the compiler or linker for good
                   6792: # libtool support.
                   6793: case $host in
                   6794: ia64-*-hpux*)
                   6795:   # Find out which ABI we are using.
                   6796:   echo 'int i;' > conftest.$ac_ext
                   6797:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   6798:   (eval $ac_compile) 2>&5
                   6799:   ac_status=$?
                   6800:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6801:   test $ac_status = 0; }; then
                   6802:     case `/usr/bin/file conftest.$ac_objext` in
                   6803:       *ELF-32*)
                   6804:        HPUX_IA64_MODE="32"
                   6805:        ;;
                   6806:       *ELF-64*)
                   6807:        HPUX_IA64_MODE="64"
                   6808:        ;;
                   6809:     esac
                   6810:   fi
                   6811:   rm -rf conftest*
                   6812:   ;;
                   6813: *-*-irix6*)
                   6814:   # Find out which ABI we are using.
                   6815:   echo '#line 6815 "configure"' > conftest.$ac_ext
                   6816:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   6817:   (eval $ac_compile) 2>&5
                   6818:   ac_status=$?
                   6819:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6820:   test $ac_status = 0; }; then
                   6821:     if test "$lt_cv_prog_gnu_ld" = yes; then
                   6822:       case `/usr/bin/file conftest.$ac_objext` in
                   6823:        *32-bit*)
                   6824:          LD="${LD-ld} -melf32bsmip"
                   6825:          ;;
                   6826:        *N32*)
                   6827:          LD="${LD-ld} -melf32bmipn32"
                   6828:          ;;
                   6829:        *64-bit*)
                   6830:          LD="${LD-ld} -melf64bmip"
                   6831:        ;;
                   6832:       esac
                   6833:     else
                   6834:       case `/usr/bin/file conftest.$ac_objext` in
                   6835:        *32-bit*)
                   6836:          LD="${LD-ld} -32"
                   6837:          ;;
                   6838:        *N32*)
                   6839:          LD="${LD-ld} -n32"
                   6840:          ;;
                   6841:        *64-bit*)
                   6842:          LD="${LD-ld} -64"
                   6843:          ;;
                   6844:       esac
                   6845:     fi
                   6846:   fi
                   6847:   rm -rf conftest*
                   6848:   ;;
                   6849: 
                   6850: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
                   6851: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
                   6852:   # Find out which ABI we are using.
                   6853:   echo 'int i;' > conftest.$ac_ext
                   6854:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   6855:   (eval $ac_compile) 2>&5
                   6856:   ac_status=$?
                   6857:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6858:   test $ac_status = 0; }; then
                   6859:     case `/usr/bin/file conftest.o` in
                   6860:       *32-bit*)
                   6861:        case $host in
                   6862:          x86_64-*kfreebsd*-gnu)
                   6863:            LD="${LD-ld} -m elf_i386_fbsd"
                   6864:            ;;
                   6865:          x86_64-*linux*)
                   6866:            LD="${LD-ld} -m elf_i386"
                   6867:            ;;
                   6868:          ppc64-*linux*|powerpc64-*linux*)
                   6869:            LD="${LD-ld} -m elf32ppclinux"
                   6870:            ;;
                   6871:          s390x-*linux*)
                   6872:            LD="${LD-ld} -m elf_s390"
                   6873:            ;;
                   6874:          sparc64-*linux*)
                   6875:            LD="${LD-ld} -m elf32_sparc"
                   6876:            ;;
                   6877:        esac
                   6878:        ;;
                   6879:       *64-bit*)
                   6880:        case $host in
                   6881:          x86_64-*kfreebsd*-gnu)
                   6882:            LD="${LD-ld} -m elf_x86_64_fbsd"
                   6883:            ;;
                   6884:          x86_64-*linux*)
                   6885:            LD="${LD-ld} -m elf_x86_64"
                   6886:            ;;
                   6887:          ppc*-*linux*|powerpc*-*linux*)
                   6888:            LD="${LD-ld} -m elf64ppc"
                   6889:            ;;
                   6890:          s390*-*linux*|s390*-*tpf*)
                   6891:            LD="${LD-ld} -m elf64_s390"
                   6892:            ;;
                   6893:          sparc*-*linux*)
                   6894:            LD="${LD-ld} -m elf64_sparc"
                   6895:            ;;
                   6896:        esac
                   6897:        ;;
                   6898:     esac
                   6899:   fi
                   6900:   rm -rf conftest*
                   6901:   ;;
                   6902: 
                   6903: *-*-sco3.2v5*)
                   6904:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
                   6905:   SAVE_CFLAGS="$CFLAGS"
                   6906:   CFLAGS="$CFLAGS -belf"
                   6907:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
                   6908: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
                   6909: if test "${lt_cv_cc_needs_belf+set}" = set; then :
                   6910:   $as_echo_n "(cached) " >&6
                   6911: else
                   6912:   ac_ext=c
                   6913: ac_cpp='$CPP $CPPFLAGS'
                   6914: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   6915: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   6916: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   6917: 
                   6918:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6919: /* end confdefs.h.  */
                   6920: 
                   6921: int
                   6922: main ()
                   6923: {
                   6924: 
                   6925:   ;
                   6926:   return 0;
                   6927: }
                   6928: _ACEOF
                   6929: if ac_fn_c_try_link "$LINENO"; then :
                   6930:   lt_cv_cc_needs_belf=yes
                   6931: else
                   6932:   lt_cv_cc_needs_belf=no
                   6933: fi
                   6934: rm -f core conftest.err conftest.$ac_objext \
                   6935:     conftest$ac_exeext conftest.$ac_ext
                   6936:      ac_ext=c
                   6937: ac_cpp='$CPP $CPPFLAGS'
                   6938: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   6939: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   6940: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   6941: 
                   6942: fi
                   6943: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
                   6944: $as_echo "$lt_cv_cc_needs_belf" >&6; }
                   6945:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
                   6946:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
                   6947:     CFLAGS="$SAVE_CFLAGS"
                   6948:   fi
                   6949:   ;;
                   6950: sparc*-*solaris*)
                   6951:   # Find out which ABI we are using.
                   6952:   echo 'int i;' > conftest.$ac_ext
                   6953:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   6954:   (eval $ac_compile) 2>&5
                   6955:   ac_status=$?
                   6956:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6957:   test $ac_status = 0; }; then
                   6958:     case `/usr/bin/file conftest.o` in
                   6959:     *64-bit*)
                   6960:       case $lt_cv_prog_gnu_ld in
                   6961:       yes*) LD="${LD-ld} -m elf64_sparc" ;;
                   6962:       *)
                   6963:        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
                   6964:          LD="${LD-ld} -64"
                   6965:        fi
                   6966:        ;;
                   6967:       esac
                   6968:       ;;
                   6969:     esac
                   6970:   fi
                   6971:   rm -rf conftest*
                   6972:   ;;
                   6973: esac
                   6974: 
                   6975: need_locks="$enable_libtool_lock"
                   6976: 
                   6977: 
                   6978:   case $host_os in
                   6979:     rhapsody* | darwin*)
                   6980:     if test -n "$ac_tool_prefix"; then
                   6981:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
                   6982: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
                   6983: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6984: $as_echo_n "checking for $ac_word... " >&6; }
                   6985: if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
                   6986:   $as_echo_n "(cached) " >&6
                   6987: else
                   6988:   if test -n "$DSYMUTIL"; then
                   6989:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
                   6990: else
                   6991: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6992: for as_dir in $PATH
                   6993: do
                   6994:   IFS=$as_save_IFS
                   6995:   test -z "$as_dir" && as_dir=.
                   6996:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6997:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6998:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
                   6999:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7000:     break 2
                   7001:   fi
                   7002: done
                   7003:   done
                   7004: IFS=$as_save_IFS
                   7005: 
                   7006: fi
                   7007: fi
                   7008: DSYMUTIL=$ac_cv_prog_DSYMUTIL
                   7009: if test -n "$DSYMUTIL"; then
                   7010:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
                   7011: $as_echo "$DSYMUTIL" >&6; }
                   7012: else
                   7013:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7014: $as_echo "no" >&6; }
                   7015: fi
                   7016: 
                   7017: 
                   7018: fi
                   7019: if test -z "$ac_cv_prog_DSYMUTIL"; then
                   7020:   ac_ct_DSYMUTIL=$DSYMUTIL
                   7021:   # Extract the first word of "dsymutil", so it can be a program name with args.
                   7022: set dummy dsymutil; ac_word=$2
                   7023: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7024: $as_echo_n "checking for $ac_word... " >&6; }
                   7025: if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
                   7026:   $as_echo_n "(cached) " >&6
                   7027: else
                   7028:   if test -n "$ac_ct_DSYMUTIL"; then
                   7029:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
                   7030: else
                   7031: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7032: for as_dir in $PATH
                   7033: do
                   7034:   IFS=$as_save_IFS
                   7035:   test -z "$as_dir" && as_dir=.
                   7036:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7037:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   7038:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
                   7039:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7040:     break 2
                   7041:   fi
                   7042: done
                   7043:   done
                   7044: IFS=$as_save_IFS
                   7045: 
                   7046: fi
                   7047: fi
                   7048: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
                   7049: if test -n "$ac_ct_DSYMUTIL"; then
                   7050:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
                   7051: $as_echo "$ac_ct_DSYMUTIL" >&6; }
                   7052: else
                   7053:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7054: $as_echo "no" >&6; }
                   7055: fi
                   7056: 
                   7057:   if test "x$ac_ct_DSYMUTIL" = x; then
                   7058:     DSYMUTIL=":"
                   7059:   else
                   7060:     case $cross_compiling:$ac_tool_warned in
                   7061: yes:)
                   7062: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7063: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7064: ac_tool_warned=yes ;;
                   7065: esac
                   7066:     DSYMUTIL=$ac_ct_DSYMUTIL
                   7067:   fi
                   7068: else
                   7069:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
                   7070: fi
                   7071: 
                   7072:     if test -n "$ac_tool_prefix"; then
                   7073:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
                   7074: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
                   7075: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7076: $as_echo_n "checking for $ac_word... " >&6; }
                   7077: if test "${ac_cv_prog_NMEDIT+set}" = set; then :
                   7078:   $as_echo_n "(cached) " >&6
                   7079: else
                   7080:   if test -n "$NMEDIT"; then
                   7081:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
                   7082: else
                   7083: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7084: for as_dir in $PATH
                   7085: do
                   7086:   IFS=$as_save_IFS
                   7087:   test -z "$as_dir" && as_dir=.
                   7088:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7089:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   7090:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
                   7091:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7092:     break 2
                   7093:   fi
                   7094: done
                   7095:   done
                   7096: IFS=$as_save_IFS
                   7097: 
                   7098: fi
                   7099: fi
                   7100: NMEDIT=$ac_cv_prog_NMEDIT
                   7101: if test -n "$NMEDIT"; then
                   7102:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
                   7103: $as_echo "$NMEDIT" >&6; }
                   7104: else
                   7105:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7106: $as_echo "no" >&6; }
                   7107: fi
                   7108: 
                   7109: 
                   7110: fi
                   7111: if test -z "$ac_cv_prog_NMEDIT"; then
                   7112:   ac_ct_NMEDIT=$NMEDIT
                   7113:   # Extract the first word of "nmedit", so it can be a program name with args.
                   7114: set dummy nmedit; ac_word=$2
                   7115: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7116: $as_echo_n "checking for $ac_word... " >&6; }
                   7117: if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
                   7118:   $as_echo_n "(cached) " >&6
                   7119: else
                   7120:   if test -n "$ac_ct_NMEDIT"; then
                   7121:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
                   7122: else
                   7123: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7124: for as_dir in $PATH
                   7125: do
                   7126:   IFS=$as_save_IFS
                   7127:   test -z "$as_dir" && as_dir=.
                   7128:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7129:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   7130:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
                   7131:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7132:     break 2
                   7133:   fi
                   7134: done
                   7135:   done
                   7136: IFS=$as_save_IFS
                   7137: 
                   7138: fi
                   7139: fi
                   7140: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
                   7141: if test -n "$ac_ct_NMEDIT"; then
                   7142:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
                   7143: $as_echo "$ac_ct_NMEDIT" >&6; }
                   7144: else
                   7145:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7146: $as_echo "no" >&6; }
                   7147: fi
                   7148: 
                   7149:   if test "x$ac_ct_NMEDIT" = x; then
                   7150:     NMEDIT=":"
                   7151:   else
                   7152:     case $cross_compiling:$ac_tool_warned in
                   7153: yes:)
                   7154: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7155: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7156: ac_tool_warned=yes ;;
                   7157: esac
                   7158:     NMEDIT=$ac_ct_NMEDIT
                   7159:   fi
                   7160: else
                   7161:   NMEDIT="$ac_cv_prog_NMEDIT"
                   7162: fi
                   7163: 
                   7164:     if test -n "$ac_tool_prefix"; then
                   7165:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
                   7166: set dummy ${ac_tool_prefix}lipo; ac_word=$2
                   7167: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7168: $as_echo_n "checking for $ac_word... " >&6; }
                   7169: if test "${ac_cv_prog_LIPO+set}" = set; then :
                   7170:   $as_echo_n "(cached) " >&6
                   7171: else
                   7172:   if test -n "$LIPO"; then
                   7173:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
                   7174: else
                   7175: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7176: for as_dir in $PATH
                   7177: do
                   7178:   IFS=$as_save_IFS
                   7179:   test -z "$as_dir" && as_dir=.
                   7180:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7181:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   7182:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
                   7183:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7184:     break 2
                   7185:   fi
                   7186: done
                   7187:   done
                   7188: IFS=$as_save_IFS
                   7189: 
                   7190: fi
                   7191: fi
                   7192: LIPO=$ac_cv_prog_LIPO
                   7193: if test -n "$LIPO"; then
                   7194:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
                   7195: $as_echo "$LIPO" >&6; }
                   7196: else
                   7197:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7198: $as_echo "no" >&6; }
                   7199: fi
                   7200: 
                   7201: 
                   7202: fi
                   7203: if test -z "$ac_cv_prog_LIPO"; then
                   7204:   ac_ct_LIPO=$LIPO
                   7205:   # Extract the first word of "lipo", so it can be a program name with args.
                   7206: set dummy lipo; ac_word=$2
                   7207: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7208: $as_echo_n "checking for $ac_word... " >&6; }
                   7209: if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
                   7210:   $as_echo_n "(cached) " >&6
                   7211: else
                   7212:   if test -n "$ac_ct_LIPO"; then
                   7213:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
                   7214: else
                   7215: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7216: for as_dir in $PATH
                   7217: do
                   7218:   IFS=$as_save_IFS
                   7219:   test -z "$as_dir" && as_dir=.
                   7220:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7221:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   7222:     ac_cv_prog_ac_ct_LIPO="lipo"
                   7223:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7224:     break 2
                   7225:   fi
                   7226: done
                   7227:   done
                   7228: IFS=$as_save_IFS
                   7229: 
                   7230: fi
                   7231: fi
                   7232: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
                   7233: if test -n "$ac_ct_LIPO"; then
                   7234:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
                   7235: $as_echo "$ac_ct_LIPO" >&6; }
                   7236: else
                   7237:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7238: $as_echo "no" >&6; }
                   7239: fi
                   7240: 
                   7241:   if test "x$ac_ct_LIPO" = x; then
                   7242:     LIPO=":"
                   7243:   else
                   7244:     case $cross_compiling:$ac_tool_warned in
                   7245: yes:)
                   7246: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7247: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7248: ac_tool_warned=yes ;;
                   7249: esac
                   7250:     LIPO=$ac_ct_LIPO
                   7251:   fi
                   7252: else
                   7253:   LIPO="$ac_cv_prog_LIPO"
                   7254: fi
                   7255: 
                   7256:     if test -n "$ac_tool_prefix"; then
                   7257:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
                   7258: set dummy ${ac_tool_prefix}otool; ac_word=$2
                   7259: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7260: $as_echo_n "checking for $ac_word... " >&6; }
                   7261: if test "${ac_cv_prog_OTOOL+set}" = set; then :
                   7262:   $as_echo_n "(cached) " >&6
                   7263: else
                   7264:   if test -n "$OTOOL"; then
                   7265:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
                   7266: else
                   7267: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7268: for as_dir in $PATH
                   7269: do
                   7270:   IFS=$as_save_IFS
                   7271:   test -z "$as_dir" && as_dir=.
                   7272:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7273:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   7274:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
                   7275:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7276:     break 2
                   7277:   fi
                   7278: done
                   7279:   done
                   7280: IFS=$as_save_IFS
                   7281: 
                   7282: fi
                   7283: fi
                   7284: OTOOL=$ac_cv_prog_OTOOL
                   7285: if test -n "$OTOOL"; then
                   7286:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
                   7287: $as_echo "$OTOOL" >&6; }
                   7288: else
                   7289:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7290: $as_echo "no" >&6; }
                   7291: fi
                   7292: 
                   7293: 
                   7294: fi
                   7295: if test -z "$ac_cv_prog_OTOOL"; then
                   7296:   ac_ct_OTOOL=$OTOOL
                   7297:   # Extract the first word of "otool", so it can be a program name with args.
                   7298: set dummy otool; ac_word=$2
                   7299: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7300: $as_echo_n "checking for $ac_word... " >&6; }
                   7301: if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
                   7302:   $as_echo_n "(cached) " >&6
                   7303: else
                   7304:   if test -n "$ac_ct_OTOOL"; then
                   7305:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
                   7306: else
                   7307: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7308: for as_dir in $PATH
                   7309: do
                   7310:   IFS=$as_save_IFS
                   7311:   test -z "$as_dir" && as_dir=.
                   7312:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7313:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   7314:     ac_cv_prog_ac_ct_OTOOL="otool"
                   7315:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7316:     break 2
                   7317:   fi
                   7318: done
                   7319:   done
                   7320: IFS=$as_save_IFS
                   7321: 
                   7322: fi
                   7323: fi
                   7324: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
                   7325: if test -n "$ac_ct_OTOOL"; then
                   7326:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
                   7327: $as_echo "$ac_ct_OTOOL" >&6; }
                   7328: else
                   7329:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7330: $as_echo "no" >&6; }
                   7331: fi
                   7332: 
                   7333:   if test "x$ac_ct_OTOOL" = x; then
                   7334:     OTOOL=":"
                   7335:   else
                   7336:     case $cross_compiling:$ac_tool_warned in
                   7337: yes:)
                   7338: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7339: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7340: ac_tool_warned=yes ;;
                   7341: esac
                   7342:     OTOOL=$ac_ct_OTOOL
                   7343:   fi
                   7344: else
                   7345:   OTOOL="$ac_cv_prog_OTOOL"
                   7346: fi
                   7347: 
                   7348:     if test -n "$ac_tool_prefix"; then
                   7349:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
                   7350: set dummy ${ac_tool_prefix}otool64; ac_word=$2
                   7351: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7352: $as_echo_n "checking for $ac_word... " >&6; }
                   7353: if test "${ac_cv_prog_OTOOL64+set}" = set; then :
                   7354:   $as_echo_n "(cached) " >&6
                   7355: else
                   7356:   if test -n "$OTOOL64"; then
                   7357:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
                   7358: else
                   7359: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7360: for as_dir in $PATH
                   7361: do
                   7362:   IFS=$as_save_IFS
                   7363:   test -z "$as_dir" && as_dir=.
                   7364:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7365:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   7366:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
                   7367:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7368:     break 2
                   7369:   fi
                   7370: done
                   7371:   done
                   7372: IFS=$as_save_IFS
                   7373: 
                   7374: fi
                   7375: fi
                   7376: OTOOL64=$ac_cv_prog_OTOOL64
                   7377: if test -n "$OTOOL64"; then
                   7378:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
                   7379: $as_echo "$OTOOL64" >&6; }
                   7380: else
                   7381:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7382: $as_echo "no" >&6; }
                   7383: fi
                   7384: 
                   7385: 
                   7386: fi
                   7387: if test -z "$ac_cv_prog_OTOOL64"; then
                   7388:   ac_ct_OTOOL64=$OTOOL64
                   7389:   # Extract the first word of "otool64", so it can be a program name with args.
                   7390: set dummy otool64; ac_word=$2
                   7391: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7392: $as_echo_n "checking for $ac_word... " >&6; }
                   7393: if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
                   7394:   $as_echo_n "(cached) " >&6
                   7395: else
                   7396:   if test -n "$ac_ct_OTOOL64"; then
                   7397:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
                   7398: else
                   7399: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7400: for as_dir in $PATH
                   7401: do
                   7402:   IFS=$as_save_IFS
                   7403:   test -z "$as_dir" && as_dir=.
                   7404:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7405:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   7406:     ac_cv_prog_ac_ct_OTOOL64="otool64"
                   7407:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7408:     break 2
                   7409:   fi
                   7410: done
                   7411:   done
                   7412: IFS=$as_save_IFS
                   7413: 
                   7414: fi
                   7415: fi
                   7416: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
                   7417: if test -n "$ac_ct_OTOOL64"; then
                   7418:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
                   7419: $as_echo "$ac_ct_OTOOL64" >&6; }
                   7420: else
                   7421:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7422: $as_echo "no" >&6; }
                   7423: fi
                   7424: 
                   7425:   if test "x$ac_ct_OTOOL64" = x; then
                   7426:     OTOOL64=":"
                   7427:   else
                   7428:     case $cross_compiling:$ac_tool_warned in
                   7429: yes:)
                   7430: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7431: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7432: ac_tool_warned=yes ;;
                   7433: esac
                   7434:     OTOOL64=$ac_ct_OTOOL64
                   7435:   fi
                   7436: else
                   7437:   OTOOL64="$ac_cv_prog_OTOOL64"
                   7438: fi
                   7439: 
                   7440: 
                   7441: 
                   7442: 
                   7443: 
                   7444: 
                   7445: 
                   7446: 
                   7447: 
                   7448: 
                   7449: 
                   7450: 
                   7451: 
                   7452: 
                   7453: 
                   7454: 
                   7455: 
                   7456: 
                   7457: 
                   7458: 
                   7459: 
                   7460: 
                   7461: 
                   7462: 
                   7463: 
                   7464: 
                   7465: 
                   7466:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
                   7467: $as_echo_n "checking for -single_module linker flag... " >&6; }
                   7468: if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
                   7469:   $as_echo_n "(cached) " >&6
                   7470: else
                   7471:   lt_cv_apple_cc_single_mod=no
                   7472:       if test -z "${LT_MULTI_MODULE}"; then
                   7473:        # By default we will add the -single_module flag. You can override
                   7474:        # by either setting the environment variable LT_MULTI_MODULE
                   7475:        # non-empty at configure time, or by adding -multi_module to the
                   7476:        # link flags.
                   7477:        rm -rf libconftest.dylib*
                   7478:        echo "int foo(void){return 1;}" > conftest.c
                   7479:        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   7480: -dynamiclib -Wl,-single_module conftest.c" >&5
                   7481:        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   7482:          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
                   7483:         _lt_result=$?
                   7484:        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
                   7485:          lt_cv_apple_cc_single_mod=yes
                   7486:        else
                   7487:          cat conftest.err >&5
                   7488:        fi
                   7489:        rm -rf libconftest.dylib*
                   7490:        rm -f conftest.*
                   7491:       fi
                   7492: fi
                   7493: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
                   7494: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
                   7495:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
                   7496: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
                   7497: if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
                   7498:   $as_echo_n "(cached) " >&6
                   7499: else
                   7500:   lt_cv_ld_exported_symbols_list=no
                   7501:       save_LDFLAGS=$LDFLAGS
                   7502:       echo "_main" > conftest.sym
                   7503:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
                   7504:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7505: /* end confdefs.h.  */
                   7506: 
                   7507: int
                   7508: main ()
                   7509: {
                   7510: 
                   7511:   ;
                   7512:   return 0;
                   7513: }
                   7514: _ACEOF
                   7515: if ac_fn_c_try_link "$LINENO"; then :
                   7516:   lt_cv_ld_exported_symbols_list=yes
                   7517: else
                   7518:   lt_cv_ld_exported_symbols_list=no
                   7519: fi
                   7520: rm -f core conftest.err conftest.$ac_objext \
                   7521:     conftest$ac_exeext conftest.$ac_ext
                   7522:        LDFLAGS="$save_LDFLAGS"
                   7523: 
                   7524: fi
                   7525: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
                   7526: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
                   7527:     case $host_os in
                   7528:     rhapsody* | darwin1.[012])
                   7529:       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
                   7530:     darwin1.*)
                   7531:       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   7532:     darwin*) # darwin 5.x on
                   7533:       # if running on 10.5 or later, the deployment target defaults
                   7534:       # to the OS version, if on x86, and 10.4, the deployment
                   7535:       # target defaults to 10.4. Don't you love it?
                   7536:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
                   7537:        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
                   7538:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   7539:        10.[012]*)
                   7540:          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   7541:        10.*)
                   7542:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   7543:       esac
                   7544:     ;;
                   7545:   esac
                   7546:     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
                   7547:       _lt_dar_single_mod='$single_module'
                   7548:     fi
                   7549:     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
                   7550:       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
                   7551:     else
                   7552:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
                   7553:     fi
                   7554:     if test "$DSYMUTIL" != ":"; then
                   7555:       _lt_dsymutil='~$DSYMUTIL $lib || :'
                   7556:     else
                   7557:       _lt_dsymutil=
                   7558:     fi
                   7559:     ;;
                   7560:   esac
                   7561: 
                   7562: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
                   7563: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   7564:                  inttypes.h stdint.h unistd.h
                   7565: do :
                   7566:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   7567: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   7568: "
                   7569: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   7570:   cat >>confdefs.h <<_ACEOF
                   7571: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   7572: _ACEOF
                   7573: 
                   7574: fi
                   7575: 
                   7576: done
                   7577: 
                   7578: 
                   7579: for ac_header in dlfcn.h
                   7580: do :
                   7581:   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
                   7582: "
                   7583: if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
                   7584:   cat >>confdefs.h <<_ACEOF
                   7585: #define HAVE_DLFCN_H 1
                   7586: _ACEOF
                   7587: 
                   7588: fi
                   7589: 
                   7590: done
                   7591: 
                   7592: 
                   7593: 
                   7594: # Set options
                   7595: 
                   7596: 
                   7597: 
                   7598:         enable_dlopen=no
                   7599: 
                   7600: 
                   7601:   enable_win32_dll=no
                   7602: 
                   7603: 
                   7604: 
                   7605:   # Check whether --enable-static was given.
                   7606: if test "${enable_static+set}" = set; then :
                   7607:   enableval=$enable_static; p=${PACKAGE-default}
                   7608:     case $enableval in
                   7609:     yes) enable_static=yes ;;
                   7610:     no) enable_static=no ;;
                   7611:     *)
                   7612:      enable_static=no
                   7613:       # Look at the argument we got.  We use all the common list separators.
                   7614:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   7615:       for pkg in $enableval; do
                   7616:        IFS="$lt_save_ifs"
                   7617:        if test "X$pkg" = "X$p"; then
                   7618:          enable_static=yes
                   7619:        fi
                   7620:       done
                   7621:       IFS="$lt_save_ifs"
                   7622:       ;;
                   7623:     esac
                   7624: else
                   7625:   enable_static=yes
                   7626: fi
                   7627: 
                   7628: 
                   7629: 
                   7630: 
                   7631: 
                   7632: 
                   7633: 
                   7634: 
                   7635: 
                   7636: 
                   7637: # Check whether --with-pic was given.
                   7638: if test "${with_pic+set}" = set; then :
                   7639:   withval=$with_pic; pic_mode="$withval"
                   7640: else
                   7641:   pic_mode=default
                   7642: fi
                   7643: 
                   7644: 
                   7645: test -z "$pic_mode" && pic_mode=default
                   7646: 
                   7647: 
                   7648: 
                   7649: 
                   7650: 
                   7651: 
                   7652: 
                   7653:   # Check whether --enable-fast-install was given.
                   7654: if test "${enable_fast_install+set}" = set; then :
                   7655:   enableval=$enable_fast_install; p=${PACKAGE-default}
                   7656:     case $enableval in
                   7657:     yes) enable_fast_install=yes ;;
                   7658:     no) enable_fast_install=no ;;
                   7659:     *)
                   7660:       enable_fast_install=no
                   7661:       # Look at the argument we got.  We use all the common list separators.
                   7662:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   7663:       for pkg in $enableval; do
                   7664:        IFS="$lt_save_ifs"
                   7665:        if test "X$pkg" = "X$p"; then
                   7666:          enable_fast_install=yes
                   7667:        fi
                   7668:       done
                   7669:       IFS="$lt_save_ifs"
                   7670:       ;;
                   7671:     esac
                   7672: else
                   7673:   enable_fast_install=yes
                   7674: fi
                   7675: 
                   7676: 
                   7677: 
                   7678: 
                   7679: 
                   7680: 
                   7681: 
                   7682: 
                   7683: 
                   7684: 
                   7685: 
                   7686: # This can be used to rebuild libtool when needed
                   7687: LIBTOOL_DEPS="$ltmain"
                   7688: 
                   7689: # Always use our own libtool.
                   7690: LIBTOOL='$(SHELL) /usr/local/bin/libtool'
                   7691: 
                   7692: 
                   7693: 
                   7694: 
                   7695: 
                   7696: 
                   7697: 
                   7698: 
                   7699: 
                   7700: 
                   7701: 
                   7702: 
                   7703: 
                   7704: 
                   7705: 
                   7706: 
                   7707: 
                   7708: 
                   7709: 
                   7710: 
                   7711: 
                   7712: 
                   7713: 
                   7714: 
                   7715: 
                   7716: test -z "$LN_S" && LN_S="ln -s"
                   7717: 
                   7718: 
                   7719: 
                   7720: 
                   7721: 
                   7722: 
                   7723: 
                   7724: 
                   7725: 
                   7726: 
                   7727: 
                   7728: 
                   7729: 
                   7730: 
                   7731: if test -n "${ZSH_VERSION+set}" ; then
                   7732:    setopt NO_GLOB_SUBST
                   7733: fi
                   7734: 
                   7735: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
                   7736: $as_echo_n "checking for objdir... " >&6; }
                   7737: if test "${lt_cv_objdir+set}" = set; then :
                   7738:   $as_echo_n "(cached) " >&6
                   7739: else
                   7740:   rm -f .libs 2>/dev/null
                   7741: mkdir .libs 2>/dev/null
                   7742: if test -d .libs; then
                   7743:   lt_cv_objdir=.libs
                   7744: else
                   7745:   # MS-DOS does not allow filenames that begin with a dot.
                   7746:   lt_cv_objdir=_libs
                   7747: fi
                   7748: rmdir .libs 2>/dev/null
                   7749: fi
                   7750: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
                   7751: $as_echo "$lt_cv_objdir" >&6; }
                   7752: objdir=$lt_cv_objdir
                   7753: 
                   7754: 
                   7755: 
                   7756: 
                   7757: 
                   7758: cat >>confdefs.h <<_ACEOF
                   7759: #define LT_OBJDIR "$lt_cv_objdir/"
                   7760: _ACEOF
                   7761: 
                   7762: 
                   7763: 
                   7764: 
                   7765: 
                   7766: 
                   7767: 
                   7768: 
                   7769: 
                   7770: 
                   7771: 
                   7772: 
                   7773: 
                   7774: 
                   7775: 
                   7776: 
                   7777: 
                   7778: case $host_os in
                   7779: aix3*)
                   7780:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   7781:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   7782:   # vanish in a puff of smoke.
                   7783:   if test "X${COLLECT_NAMES+set}" != Xset; then
                   7784:     COLLECT_NAMES=
                   7785:     export COLLECT_NAMES
                   7786:   fi
                   7787:   ;;
                   7788: esac
                   7789: 
                   7790: # Sed substitution that helps us do robust quoting.  It backslashifies
                   7791: # metacharacters that are still active within double-quoted strings.
                   7792: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
                   7793: 
                   7794: # Same as above, but do not quote variable references.
                   7795: double_quote_subst='s/\(["`\\]\)/\\\1/g'
                   7796: 
                   7797: # Sed substitution to delay expansion of an escaped shell variable in a
                   7798: # double_quote_subst'ed string.
                   7799: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
                   7800: 
                   7801: # Sed substitution to delay expansion of an escaped single quote.
                   7802: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
                   7803: 
                   7804: # Sed substitution to avoid accidental globbing in evaled expressions
                   7805: no_glob_subst='s/\*/\\\*/g'
                   7806: 
                   7807: # Global variables:
                   7808: ofile=libtool
                   7809: can_build_shared=yes
                   7810: 
                   7811: # All known linkers require a `.a' archive for static linking (except MSVC,
                   7812: # which needs '.lib').
                   7813: libext=a
                   7814: 
                   7815: with_gnu_ld="$lt_cv_prog_gnu_ld"
                   7816: 
                   7817: old_CC="$CC"
                   7818: old_CFLAGS="$CFLAGS"
                   7819: 
                   7820: # Set sane defaults for various variables
                   7821: test -z "$CC" && CC=cc
                   7822: test -z "$LTCC" && LTCC=$CC
                   7823: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
                   7824: test -z "$LD" && LD=ld
                   7825: test -z "$ac_objext" && ac_objext=o
                   7826: 
                   7827: for cc_temp in $compiler""; do
                   7828:   case $cc_temp in
                   7829:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   7830:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   7831:     \-*) ;;
                   7832:     *) break;;
                   7833:   esac
                   7834: done
                   7835: cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
                   7836: 
                   7837: 
                   7838: # Only perform the check for file, if the check method requires it
                   7839: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   7840: case $deplibs_check_method in
                   7841: file_magic*)
                   7842:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
                   7843:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
                   7844: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
                   7845: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
                   7846:   $as_echo_n "(cached) " >&6
                   7847: else
                   7848:   case $MAGIC_CMD in
                   7849: [\\/*] |  ?:[\\/]*)
                   7850:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   7851:   ;;
                   7852: *)
                   7853:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   7854:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   7855:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   7856:   for ac_dir in $ac_dummy; do
                   7857:     IFS="$lt_save_ifs"
                   7858:     test -z "$ac_dir" && ac_dir=.
                   7859:     if test -f $ac_dir/${ac_tool_prefix}file; then
                   7860:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
                   7861:       if test -n "$file_magic_test_file"; then
                   7862:        case $deplibs_check_method in
                   7863:        "file_magic "*)
                   7864:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   7865:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   7866:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   7867:            $EGREP "$file_magic_regex" > /dev/null; then
                   7868:            :
                   7869:          else
                   7870:            cat <<_LT_EOF 1>&2
                   7871: 
                   7872: *** Warning: the command libtool uses to detect shared libraries,
                   7873: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   7874: *** The result is that libtool may fail to recognize shared libraries
                   7875: *** as such.  This will affect the creation of libtool libraries that
                   7876: *** depend on shared libraries, but programs linked with such libtool
                   7877: *** libraries will work regardless of this problem.  Nevertheless, you
                   7878: *** may want to report the problem to your system manager and/or to
                   7879: *** bug-libtool@gnu.org
                   7880: 
                   7881: _LT_EOF
                   7882:          fi ;;
                   7883:        esac
                   7884:       fi
                   7885:       break
                   7886:     fi
                   7887:   done
                   7888:   IFS="$lt_save_ifs"
                   7889:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   7890:   ;;
                   7891: esac
                   7892: fi
                   7893: 
                   7894: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   7895: if test -n "$MAGIC_CMD"; then
                   7896:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   7897: $as_echo "$MAGIC_CMD" >&6; }
                   7898: else
                   7899:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7900: $as_echo "no" >&6; }
                   7901: fi
                   7902: 
                   7903: 
                   7904: 
                   7905: 
                   7906: 
                   7907: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   7908:   if test -n "$ac_tool_prefix"; then
                   7909:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
                   7910: $as_echo_n "checking for file... " >&6; }
                   7911: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
                   7912:   $as_echo_n "(cached) " >&6
                   7913: else
                   7914:   case $MAGIC_CMD in
                   7915: [\\/*] |  ?:[\\/]*)
                   7916:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   7917:   ;;
                   7918: *)
                   7919:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   7920:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   7921:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   7922:   for ac_dir in $ac_dummy; do
                   7923:     IFS="$lt_save_ifs"
                   7924:     test -z "$ac_dir" && ac_dir=.
                   7925:     if test -f $ac_dir/file; then
                   7926:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
                   7927:       if test -n "$file_magic_test_file"; then
                   7928:        case $deplibs_check_method in
                   7929:        "file_magic "*)
                   7930:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   7931:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   7932:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   7933:            $EGREP "$file_magic_regex" > /dev/null; then
                   7934:            :
                   7935:          else
                   7936:            cat <<_LT_EOF 1>&2
                   7937: 
                   7938: *** Warning: the command libtool uses to detect shared libraries,
                   7939: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   7940: *** The result is that libtool may fail to recognize shared libraries
                   7941: *** as such.  This will affect the creation of libtool libraries that
                   7942: *** depend on shared libraries, but programs linked with such libtool
                   7943: *** libraries will work regardless of this problem.  Nevertheless, you
                   7944: *** may want to report the problem to your system manager and/or to
                   7945: *** bug-libtool@gnu.org
                   7946: 
                   7947: _LT_EOF
                   7948:          fi ;;
                   7949:        esac
                   7950:       fi
                   7951:       break
                   7952:     fi
                   7953:   done
                   7954:   IFS="$lt_save_ifs"
                   7955:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   7956:   ;;
                   7957: esac
                   7958: fi
                   7959: 
                   7960: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   7961: if test -n "$MAGIC_CMD"; then
                   7962:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   7963: $as_echo "$MAGIC_CMD" >&6; }
                   7964: else
                   7965:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7966: $as_echo "no" >&6; }
                   7967: fi
                   7968: 
                   7969: 
                   7970:   else
                   7971:     MAGIC_CMD=:
                   7972:   fi
                   7973: fi
                   7974: 
                   7975:   fi
                   7976:   ;;
                   7977: esac
                   7978: 
                   7979: # Use C for the default configuration in the libtool script
                   7980: 
                   7981: lt_save_CC="$CC"
                   7982: ac_ext=c
                   7983: ac_cpp='$CPP $CPPFLAGS'
                   7984: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7985: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7986: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7987: 
                   7988: 
                   7989: # Source file extension for C test sources.
                   7990: ac_ext=c
                   7991: 
                   7992: # Object file extension for compiled C test sources.
                   7993: objext=o
                   7994: objext=$objext
                   7995: 
                   7996: # Code to be used in simple compile tests
                   7997: lt_simple_compile_test_code="int some_variable = 0;"
                   7998: 
                   7999: # Code to be used in simple link tests
                   8000: lt_simple_link_test_code='int main(){return(0);}'
                   8001: 
                   8002: 
                   8003: 
                   8004: 
                   8005: 
                   8006: 
                   8007: 
                   8008: # If no C compiler was specified, use CC.
                   8009: LTCC=${LTCC-"$CC"}
                   8010: 
                   8011: # If no C compiler flags were specified, use CFLAGS.
                   8012: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   8013: 
                   8014: # Allow CC to be a program name with arguments.
                   8015: compiler=$CC
                   8016: 
                   8017: # Save the default compiler, since it gets overwritten when the other
                   8018: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
                   8019: compiler_DEFAULT=$CC
                   8020: 
                   8021: # save warnings/boilerplate of simple test code
                   8022: ac_outfile=conftest.$ac_objext
                   8023: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   8024: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   8025: _lt_compiler_boilerplate=`cat conftest.err`
                   8026: $RM conftest*
                   8027: 
                   8028: ac_outfile=conftest.$ac_objext
                   8029: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   8030: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   8031: _lt_linker_boilerplate=`cat conftest.err`
                   8032: $RM -r conftest*
                   8033: 
                   8034: 
                   8035: if test -n "$compiler"; then
                   8036: 
                   8037: lt_prog_compiler_no_builtin_flag=
                   8038: 
                   8039: if test "$GCC" = yes; then
                   8040:   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
                   8041: 
                   8042:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
                   8043: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
                   8044: if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
                   8045:   $as_echo_n "(cached) " >&6
                   8046: else
                   8047:   lt_cv_prog_compiler_rtti_exceptions=no
                   8048:    ac_outfile=conftest.$ac_objext
                   8049:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8050:    lt_compiler_flag="-fno-rtti -fno-exceptions"
                   8051:    # Insert the option either (1) after the last *FLAGS variable, or
                   8052:    # (2) before a word containing "conftest.", or (3) at the end.
                   8053:    # Note that $ac_compile itself does not contain backslashes and begins
                   8054:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8055:    # The option is referenced via a variable to avoid confusing sed.
                   8056:    lt_compile=`echo "$ac_compile" | $SED \
                   8057:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8058:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8059:    -e 's:$: $lt_compiler_flag:'`
                   8060:    (eval echo "\"\$as_me:8060: $lt_compile\"" >&5)
                   8061:    (eval "$lt_compile" 2>conftest.err)
                   8062:    ac_status=$?
                   8063:    cat conftest.err >&5
                   8064:    echo "$as_me:8064: \$? = $ac_status" >&5
                   8065:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   8066:      # The compiler can only warn and ignore the option if not recognized
                   8067:      # So say no if there are warnings other than the usual output.
                   8068:      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
                   8069:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8070:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   8071:        lt_cv_prog_compiler_rtti_exceptions=yes
                   8072:      fi
                   8073:    fi
                   8074:    $RM conftest*
                   8075: 
                   8076: fi
                   8077: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
                   8078: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
                   8079: 
                   8080: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
                   8081:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
                   8082: else
                   8083:     :
                   8084: fi
                   8085: 
                   8086: fi
                   8087: 
                   8088: 
                   8089: 
                   8090: 
                   8091: 
                   8092: 
                   8093:   lt_prog_compiler_wl=
                   8094: lt_prog_compiler_pic=
                   8095: lt_prog_compiler_static=
                   8096: 
                   8097: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   8098: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
                   8099: 
                   8100:   if test "$GCC" = yes; then
                   8101:     lt_prog_compiler_wl='-Wl,'
                   8102:     lt_prog_compiler_static='-static'
                   8103: 
                   8104:     case $host_os in
                   8105:       aix*)
                   8106:       # All AIX code is PIC.
                   8107:       if test "$host_cpu" = ia64; then
                   8108:        # AIX 5 now supports IA64 processor
                   8109:        lt_prog_compiler_static='-Bstatic'
                   8110:       fi
                   8111:       ;;
                   8112: 
                   8113:     amigaos*)
                   8114:       case $host_cpu in
                   8115:       powerpc)
                   8116:             # see comment about AmigaOS4 .so support
                   8117:             lt_prog_compiler_pic='-fPIC'
                   8118:         ;;
                   8119:       m68k)
                   8120:             # FIXME: we need at least 68020 code to build shared libraries, but
                   8121:             # adding the `-m68020' flag to GCC prevents building anything better,
                   8122:             # like `-m68040'.
                   8123:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
                   8124:         ;;
                   8125:       esac
                   8126:       ;;
                   8127: 
                   8128:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   8129:       # PIC is the default for these OSes.
                   8130:       ;;
                   8131: 
                   8132:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   8133:       # This hack is so that the source file can tell whether it is being
                   8134:       # built for inclusion in a dll (and should export symbols for example).
                   8135:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   8136:       # (--disable-auto-import) libraries
                   8137:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   8138:       ;;
                   8139: 
                   8140:     darwin* | rhapsody*)
                   8141:       # PIC is the default on this platform
                   8142:       # Common symbols not allowed in MH_DYLIB files
                   8143:       lt_prog_compiler_pic='-fno-common'
                   8144:       ;;
                   8145: 
                   8146:     hpux*)
                   8147:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   8148:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   8149:       # sets the default TLS model and affects inlining.
                   8150:       case $host_cpu in
                   8151:       hppa*64*)
                   8152:        # +Z the default
                   8153:        ;;
                   8154:       *)
                   8155:        lt_prog_compiler_pic='-fPIC'
                   8156:        ;;
                   8157:       esac
                   8158:       ;;
                   8159: 
                   8160:     interix[3-9]*)
                   8161:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   8162:       # Instead, we relocate shared libraries at runtime.
                   8163:       ;;
                   8164: 
                   8165:     msdosdjgpp*)
                   8166:       # Just because we use GCC doesn't mean we suddenly get shared libraries
                   8167:       # on systems that don't support them.
                   8168:       lt_prog_compiler_can_build_shared=no
                   8169:       enable_shared=no
                   8170:       ;;
                   8171: 
                   8172:     *nto* | *qnx*)
                   8173:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   8174:       # it will coredump.
                   8175:       lt_prog_compiler_pic='-fPIC -shared'
                   8176:       ;;
                   8177: 
                   8178:     sysv4*MP*)
                   8179:       if test -d /usr/nec; then
                   8180:        lt_prog_compiler_pic=-Kconform_pic
                   8181:       fi
                   8182:       ;;
                   8183: 
                   8184:     *)
                   8185:       lt_prog_compiler_pic='-fPIC'
                   8186:       ;;
                   8187:     esac
                   8188:   else
                   8189:     # PORTME Check for flag to pass linker flags through the system compiler.
                   8190:     case $host_os in
                   8191:     aix*)
                   8192:       lt_prog_compiler_wl='-Wl,'
                   8193:       if test "$host_cpu" = ia64; then
                   8194:        # AIX 5 now supports IA64 processor
                   8195:        lt_prog_compiler_static='-Bstatic'
                   8196:       else
                   8197:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
                   8198:       fi
                   8199:       ;;
                   8200: 
                   8201:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   8202:       # This hack is so that the source file can tell whether it is being
                   8203:       # built for inclusion in a dll (and should export symbols for example).
                   8204:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   8205:       ;;
                   8206: 
                   8207:     hpux9* | hpux10* | hpux11*)
                   8208:       lt_prog_compiler_wl='-Wl,'
                   8209:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
                   8210:       # not for PA HP-UX.
                   8211:       case $host_cpu in
                   8212:       hppa*64*|ia64*)
                   8213:        # +Z the default
                   8214:        ;;
                   8215:       *)
                   8216:        lt_prog_compiler_pic='+Z'
                   8217:        ;;
                   8218:       esac
                   8219:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
                   8220:       lt_prog_compiler_static='${wl}-a ${wl}archive'
                   8221:       ;;
                   8222: 
                   8223:     irix5* | irix6* | nonstopux*)
                   8224:       lt_prog_compiler_wl='-Wl,'
                   8225:       # PIC (with -KPIC) is the default.
                   8226:       lt_prog_compiler_static='-non_shared'
                   8227:       ;;
                   8228: 
                   8229:     linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   8230:       case $cc_basename in
                   8231:       # old Intel for x86_64 which still supported -KPIC.
                   8232:       ecc*)
                   8233:        lt_prog_compiler_wl='-Wl,'
                   8234:        lt_prog_compiler_pic='-KPIC'
                   8235:        lt_prog_compiler_static='-static'
                   8236:         ;;
                   8237:       # icc used to be incompatible with GCC.
                   8238:       # ICC 10 doesn't accept -KPIC any more.
                   8239:       icc* | ifort*)
                   8240:        lt_prog_compiler_wl='-Wl,'
                   8241:        lt_prog_compiler_pic='-fPIC'
                   8242:        lt_prog_compiler_static='-static'
                   8243:         ;;
                   8244:       # Lahey Fortran 8.1.
                   8245:       lf95*)
                   8246:        lt_prog_compiler_wl='-Wl,'
                   8247:        lt_prog_compiler_pic='--shared'
                   8248:        lt_prog_compiler_static='--static'
                   8249:        ;;
                   8250:       pgcc* | pgf77* | pgf90* | pgf95*)
                   8251:         # Portland Group compilers (*not* the Pentium gcc compiler,
                   8252:        # which looks to be a dead project)
                   8253:        lt_prog_compiler_wl='-Wl,'
                   8254:        lt_prog_compiler_pic='-fpic'
                   8255:        lt_prog_compiler_static='-Bstatic'
                   8256:         ;;
                   8257:       ccc*)
                   8258:         lt_prog_compiler_wl='-Wl,'
                   8259:         # All Alpha code is PIC.
                   8260:         lt_prog_compiler_static='-non_shared'
                   8261:         ;;
                   8262:       xl*)
                   8263:        # IBM XL C 8.0/Fortran 10.1 on PPC
                   8264:        lt_prog_compiler_wl='-Wl,'
                   8265:        lt_prog_compiler_pic='-qpic'
                   8266:        lt_prog_compiler_static='-qstaticlink'
                   8267:        ;;
                   8268:       *)
                   8269:        case `$CC -V 2>&1 | sed 5q` in
                   8270:        *Sun\ C*)
                   8271:          # Sun C 5.9
                   8272:          lt_prog_compiler_pic='-KPIC'
                   8273:          lt_prog_compiler_static='-Bstatic'
                   8274:          lt_prog_compiler_wl='-Wl,'
                   8275:          ;;
                   8276:        *Sun\ F*)
                   8277:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
                   8278:          lt_prog_compiler_pic='-KPIC'
                   8279:          lt_prog_compiler_static='-Bstatic'
                   8280:          lt_prog_compiler_wl=''
                   8281:          ;;
                   8282:        esac
                   8283:        ;;
                   8284:       esac
                   8285:       ;;
                   8286: 
                   8287:     newsos6)
                   8288:       lt_prog_compiler_pic='-KPIC'
                   8289:       lt_prog_compiler_static='-Bstatic'
                   8290:       ;;
                   8291: 
                   8292:     *nto* | *qnx*)
                   8293:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   8294:       # it will coredump.
                   8295:       lt_prog_compiler_pic='-fPIC -shared'
                   8296:       ;;
                   8297: 
                   8298:     osf3* | osf4* | osf5*)
                   8299:       lt_prog_compiler_wl='-Wl,'
                   8300:       # All OSF/1 code is PIC.
                   8301:       lt_prog_compiler_static='-non_shared'
                   8302:       ;;
                   8303: 
                   8304:     rdos*)
                   8305:       lt_prog_compiler_static='-non_shared'
                   8306:       ;;
                   8307: 
                   8308:     solaris*)
                   8309:       lt_prog_compiler_pic='-KPIC'
                   8310:       lt_prog_compiler_static='-Bstatic'
                   8311:       case $cc_basename in
                   8312:       f77* | f90* | f95*)
                   8313:        lt_prog_compiler_wl='-Qoption ld ';;
                   8314:       *)
                   8315:        lt_prog_compiler_wl='-Wl,';;
                   8316:       esac
                   8317:       ;;
                   8318: 
                   8319:     sunos4*)
                   8320:       lt_prog_compiler_wl='-Qoption ld '
                   8321:       lt_prog_compiler_pic='-PIC'
                   8322:       lt_prog_compiler_static='-Bstatic'
                   8323:       ;;
                   8324: 
                   8325:     sysv4 | sysv4.2uw2* | sysv4.3*)
                   8326:       lt_prog_compiler_wl='-Wl,'
                   8327:       lt_prog_compiler_pic='-KPIC'
                   8328:       lt_prog_compiler_static='-Bstatic'
                   8329:       ;;
                   8330: 
                   8331:     sysv4*MP*)
                   8332:       if test -d /usr/nec ;then
                   8333:        lt_prog_compiler_pic='-Kconform_pic'
                   8334:        lt_prog_compiler_static='-Bstatic'
                   8335:       fi
                   8336:       ;;
                   8337: 
                   8338:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   8339:       lt_prog_compiler_wl='-Wl,'
                   8340:       lt_prog_compiler_pic='-KPIC'
                   8341:       lt_prog_compiler_static='-Bstatic'
                   8342:       ;;
                   8343: 
                   8344:     unicos*)
                   8345:       lt_prog_compiler_wl='-Wl,'
                   8346:       lt_prog_compiler_can_build_shared=no
                   8347:       ;;
                   8348: 
                   8349:     uts4*)
                   8350:       lt_prog_compiler_pic='-pic'
                   8351:       lt_prog_compiler_static='-Bstatic'
                   8352:       ;;
                   8353: 
                   8354:     *)
                   8355:       lt_prog_compiler_can_build_shared=no
                   8356:       ;;
                   8357:     esac
                   8358:   fi
                   8359: 
                   8360: case $host_os in
                   8361:   # For platforms which do not support PIC, -DPIC is meaningless:
                   8362:   *djgpp*)
                   8363:     lt_prog_compiler_pic=
                   8364:     ;;
                   8365:   *)
                   8366:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
                   8367:     ;;
                   8368: esac
                   8369: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
                   8370: $as_echo "$lt_prog_compiler_pic" >&6; }
                   8371: 
                   8372: 
                   8373: 
                   8374: 
                   8375: 
                   8376: 
                   8377: #
                   8378: # Check to make sure the PIC flag actually works.
                   8379: #
                   8380: if test -n "$lt_prog_compiler_pic"; then
                   8381:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
                   8382: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
                   8383: if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
                   8384:   $as_echo_n "(cached) " >&6
                   8385: else
                   8386:   lt_cv_prog_compiler_pic_works=no
                   8387:    ac_outfile=conftest.$ac_objext
                   8388:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8389:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
                   8390:    # Insert the option either (1) after the last *FLAGS variable, or
                   8391:    # (2) before a word containing "conftest.", or (3) at the end.
                   8392:    # Note that $ac_compile itself does not contain backslashes and begins
                   8393:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8394:    # The option is referenced via a variable to avoid confusing sed.
                   8395:    lt_compile=`echo "$ac_compile" | $SED \
                   8396:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8397:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8398:    -e 's:$: $lt_compiler_flag:'`
                   8399:    (eval echo "\"\$as_me:8399: $lt_compile\"" >&5)
                   8400:    (eval "$lt_compile" 2>conftest.err)
                   8401:    ac_status=$?
                   8402:    cat conftest.err >&5
                   8403:    echo "$as_me:8403: \$? = $ac_status" >&5
                   8404:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   8405:      # The compiler can only warn and ignore the option if not recognized
                   8406:      # So say no if there are warnings other than the usual output.
                   8407:      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
                   8408:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8409:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   8410:        lt_cv_prog_compiler_pic_works=yes
                   8411:      fi
                   8412:    fi
                   8413:    $RM conftest*
                   8414: 
                   8415: fi
                   8416: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
                   8417: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
                   8418: 
                   8419: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
                   8420:     case $lt_prog_compiler_pic in
                   8421:      "" | " "*) ;;
                   8422:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
                   8423:      esac
                   8424: else
                   8425:     lt_prog_compiler_pic=
                   8426:      lt_prog_compiler_can_build_shared=no
                   8427: fi
                   8428: 
                   8429: fi
                   8430: 
                   8431: 
                   8432: 
                   8433: 
                   8434: 
                   8435: 
                   8436: #
                   8437: # Check to make sure the static flag actually works.
                   8438: #
                   8439: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
                   8440: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   8441: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   8442: if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
                   8443:   $as_echo_n "(cached) " >&6
                   8444: else
                   8445:   lt_cv_prog_compiler_static_works=no
                   8446:    save_LDFLAGS="$LDFLAGS"
                   8447:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   8448:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   8449:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   8450:      # The linker can only warn and ignore the option if not recognized
                   8451:      # So say no if there are warnings
                   8452:      if test -s conftest.err; then
                   8453:        # Append any errors to the config.log.
                   8454:        cat conftest.err 1>&5
                   8455:        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
                   8456:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8457:        if diff conftest.exp conftest.er2 >/dev/null; then
                   8458:          lt_cv_prog_compiler_static_works=yes
                   8459:        fi
                   8460:      else
                   8461:        lt_cv_prog_compiler_static_works=yes
                   8462:      fi
                   8463:    fi
                   8464:    $RM -r conftest*
                   8465:    LDFLAGS="$save_LDFLAGS"
                   8466: 
                   8467: fi
                   8468: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
                   8469: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
                   8470: 
                   8471: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
                   8472:     :
                   8473: else
                   8474:     lt_prog_compiler_static=
                   8475: fi
                   8476: 
                   8477: 
                   8478: 
                   8479: 
                   8480: 
                   8481: 
                   8482: 
                   8483:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   8484: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   8485: if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
                   8486:   $as_echo_n "(cached) " >&6
                   8487: else
                   8488:   lt_cv_prog_compiler_c_o=no
                   8489:    $RM -r conftest 2>/dev/null
                   8490:    mkdir conftest
                   8491:    cd conftest
                   8492:    mkdir out
                   8493:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8494: 
                   8495:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   8496:    # Insert the option either (1) after the last *FLAGS variable, or
                   8497:    # (2) before a word containing "conftest.", or (3) at the end.
                   8498:    # Note that $ac_compile itself does not contain backslashes and begins
                   8499:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8500:    lt_compile=`echo "$ac_compile" | $SED \
                   8501:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8502:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8503:    -e 's:$: $lt_compiler_flag:'`
                   8504:    (eval echo "\"\$as_me:8504: $lt_compile\"" >&5)
                   8505:    (eval "$lt_compile" 2>out/conftest.err)
                   8506:    ac_status=$?
                   8507:    cat out/conftest.err >&5
                   8508:    echo "$as_me:8508: \$? = $ac_status" >&5
                   8509:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   8510:    then
                   8511:      # The compiler can only warn and ignore the option if not recognized
                   8512:      # So say no if there are warnings
                   8513:      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
                   8514:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   8515:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   8516:        lt_cv_prog_compiler_c_o=yes
                   8517:      fi
                   8518:    fi
                   8519:    chmod u+w . 2>&5
                   8520:    $RM conftest*
                   8521:    # SGI C++ compiler will create directory out/ii_files/ for
                   8522:    # template instantiation
                   8523:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   8524:    $RM out/* && rmdir out
                   8525:    cd ..
                   8526:    $RM -r conftest
                   8527:    $RM conftest*
                   8528: 
                   8529: fi
                   8530: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   8531: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
                   8532: 
                   8533: 
                   8534: 
                   8535: 
                   8536: 
                   8537: 
                   8538:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   8539: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   8540: if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
                   8541:   $as_echo_n "(cached) " >&6
                   8542: else
                   8543:   lt_cv_prog_compiler_c_o=no
                   8544:    $RM -r conftest 2>/dev/null
                   8545:    mkdir conftest
                   8546:    cd conftest
                   8547:    mkdir out
                   8548:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8549: 
                   8550:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   8551:    # Insert the option either (1) after the last *FLAGS variable, or
                   8552:    # (2) before a word containing "conftest.", or (3) at the end.
                   8553:    # Note that $ac_compile itself does not contain backslashes and begins
                   8554:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8555:    lt_compile=`echo "$ac_compile" | $SED \
                   8556:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8557:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8558:    -e 's:$: $lt_compiler_flag:'`
                   8559:    (eval echo "\"\$as_me:8559: $lt_compile\"" >&5)
                   8560:    (eval "$lt_compile" 2>out/conftest.err)
                   8561:    ac_status=$?
                   8562:    cat out/conftest.err >&5
                   8563:    echo "$as_me:8563: \$? = $ac_status" >&5
                   8564:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   8565:    then
                   8566:      # The compiler can only warn and ignore the option if not recognized
                   8567:      # So say no if there are warnings
                   8568:      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
                   8569:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   8570:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   8571:        lt_cv_prog_compiler_c_o=yes
                   8572:      fi
                   8573:    fi
                   8574:    chmod u+w . 2>&5
                   8575:    $RM conftest*
                   8576:    # SGI C++ compiler will create directory out/ii_files/ for
                   8577:    # template instantiation
                   8578:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   8579:    $RM out/* && rmdir out
                   8580:    cd ..
                   8581:    $RM -r conftest
                   8582:    $RM conftest*
                   8583: 
                   8584: fi
                   8585: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   8586: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
                   8587: 
                   8588: 
                   8589: 
                   8590: 
                   8591: hard_links="nottested"
                   8592: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
                   8593:   # do not overwrite the value of need_locks provided by the user
                   8594:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   8595: $as_echo_n "checking if we can lock with hard links... " >&6; }
                   8596:   hard_links=yes
                   8597:   $RM conftest*
                   8598:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   8599:   touch conftest.a
                   8600:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   8601:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   8602:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   8603: $as_echo "$hard_links" >&6; }
                   8604:   if test "$hard_links" = no; then
                   8605:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   8606: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
                   8607:     need_locks=warn
                   8608:   fi
                   8609: else
                   8610:   need_locks=no
                   8611: fi
                   8612: 
                   8613: 
                   8614: 
                   8615: 
                   8616: 
                   8617: 
                   8618:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   8619: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
                   8620: 
                   8621:   runpath_var=
                   8622:   allow_undefined_flag=
                   8623:   always_export_symbols=no
                   8624:   archive_cmds=
                   8625:   archive_expsym_cmds=
                   8626:   compiler_needs_object=no
                   8627:   enable_shared_with_static_runtimes=no
                   8628:   export_dynamic_flag_spec=
                   8629:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   8630:   hardcode_automatic=no
                   8631:   hardcode_direct=no
                   8632:   hardcode_direct_absolute=no
                   8633:   hardcode_libdir_flag_spec=
                   8634:   hardcode_libdir_flag_spec_ld=
                   8635:   hardcode_libdir_separator=
                   8636:   hardcode_minus_L=no
                   8637:   hardcode_shlibpath_var=unsupported
                   8638:   inherit_rpath=no
                   8639:   link_all_deplibs=unknown
                   8640:   module_cmds=
                   8641:   module_expsym_cmds=
                   8642:   old_archive_from_new_cmds=
                   8643:   old_archive_from_expsyms_cmds=
                   8644:   thread_safe_flag_spec=
                   8645:   whole_archive_flag_spec=
                   8646:   # include_expsyms should be a list of space-separated symbols to be *always*
                   8647:   # included in the symbol list
                   8648:   include_expsyms=
                   8649:   # exclude_expsyms can be an extended regexp of symbols to exclude
                   8650:   # it will be wrapped by ` (' and `)$', so one must not match beginning or
                   8651:   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
                   8652:   # as well as any symbol that contains `d'.
                   8653:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   8654:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   8655:   # platforms (ab)use it in PIC code, but their linkers get confused if
                   8656:   # the symbol is explicitly referenced.  Since portable code cannot
                   8657:   # rely on this symbol name, it's probably fine to never include it in
                   8658:   # preloaded symbol tables.
                   8659:   # Exclude shared library initialization/finalization symbols.
                   8660:   extract_expsyms_cmds=
                   8661: 
                   8662:   case $host_os in
                   8663:   cygwin* | mingw* | pw32* | cegcc*)
                   8664:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
                   8665:     # When not using gcc, we currently assume that we are using
                   8666:     # Microsoft Visual C++.
                   8667:     if test "$GCC" != yes; then
                   8668:       with_gnu_ld=no
                   8669:     fi
                   8670:     ;;
                   8671:   interix*)
                   8672:     # we just hope/assume this is gcc and not c89 (= MSVC++)
                   8673:     with_gnu_ld=yes
                   8674:     ;;
                   8675:   openbsd*)
                   8676:     with_gnu_ld=no
                   8677:     ;;
                   8678:   linux* | k*bsd*-gnu)
                   8679:     link_all_deplibs=no
                   8680:     ;;
                   8681:   esac
                   8682: 
                   8683:   ld_shlibs=yes
                   8684:   if test "$with_gnu_ld" = yes; then
                   8685:     # If archive_cmds runs LD, not CC, wlarc should be empty
                   8686:     wlarc='${wl}'
                   8687: 
                   8688:     # Set some defaults for GNU ld with shared library support. These
                   8689:     # are reset later if shared libraries are not supported. Putting them
                   8690:     # here allows them to be overridden if necessary.
                   8691:     runpath_var=LD_RUN_PATH
                   8692:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   8693:     export_dynamic_flag_spec='${wl}--export-dynamic'
                   8694:     # ancient GNU ld didn't support --whole-archive et. al.
                   8695:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
                   8696:       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   8697:     else
                   8698:       whole_archive_flag_spec=
                   8699:     fi
                   8700:     supports_anon_versioning=no
                   8701:     case `$LD -v 2>&1` in
                   8702:       *GNU\ gold*) supports_anon_versioning=yes ;;
                   8703:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
                   8704:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
                   8705:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
                   8706:       *\ 2.11.*) ;; # other 2.11 versions
                   8707:       *) supports_anon_versioning=yes ;;
                   8708:     esac
                   8709: 
                   8710:     # See if GNU ld supports shared libraries.
                   8711:     case $host_os in
                   8712:     aix[3-9]*)
                   8713:       # On AIX/PPC, the GNU linker is very broken
                   8714:       if test "$host_cpu" != ia64; then
                   8715:        ld_shlibs=no
                   8716:        cat <<_LT_EOF 1>&2
                   8717: 
                   8718: *** Warning: the GNU linker, at least up to release 2.9.1, is reported
                   8719: *** to be unable to reliably create shared libraries on AIX.
                   8720: *** Therefore, libtool is disabling shared libraries support.  If you
                   8721: *** really care for shared libraries, you may want to modify your PATH
                   8722: *** so that a non-GNU linker is found, and then restart.
                   8723: 
                   8724: _LT_EOF
                   8725:       fi
                   8726:       ;;
                   8727: 
                   8728:     amigaos*)
                   8729:       case $host_cpu in
                   8730:       powerpc)
                   8731:             # see comment about AmigaOS4 .so support
                   8732:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8733:             archive_expsym_cmds=''
                   8734:         ;;
                   8735:       m68k)
                   8736:             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)'
                   8737:             hardcode_libdir_flag_spec='-L$libdir'
                   8738:             hardcode_minus_L=yes
                   8739:         ;;
                   8740:       esac
                   8741:       ;;
                   8742: 
                   8743:     beos*)
                   8744:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   8745:        allow_undefined_flag=unsupported
                   8746:        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   8747:        # support --undefined.  This deserves some investigation.  FIXME
                   8748:        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8749:       else
                   8750:        ld_shlibs=no
                   8751:       fi
                   8752:       ;;
                   8753: 
                   8754:     cygwin* | mingw* | pw32* | cegcc*)
                   8755:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
                   8756:       # as there is no search path for DLLs.
                   8757:       hardcode_libdir_flag_spec='-L$libdir'
                   8758:       allow_undefined_flag=unsupported
                   8759:       always_export_symbols=no
                   8760:       enable_shared_with_static_runtimes=yes
                   8761:       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
                   8762: 
                   8763:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   8764:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   8765:        # If the export-symbols file already is a .def file (1st line
                   8766:        # is EXPORTS), use it as is; otherwise, prepend...
                   8767:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   8768:          cp $export_symbols $output_objdir/$soname.def;
                   8769:        else
                   8770:          echo EXPORTS > $output_objdir/$soname.def;
                   8771:          cat $export_symbols >> $output_objdir/$soname.def;
                   8772:        fi~
                   8773:        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   8774:       else
                   8775:        ld_shlibs=no
                   8776:       fi
                   8777:       ;;
                   8778: 
                   8779:     interix[3-9]*)
                   8780:       hardcode_direct=no
                   8781:       hardcode_shlibpath_var=no
                   8782:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   8783:       export_dynamic_flag_spec='${wl}-E'
                   8784:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   8785:       # Instead, shared libraries are loaded at an image base (0x10000000 by
                   8786:       # default) and relocated if they conflict, which is a slow very memory
                   8787:       # consuming and fragmenting process.  To avoid this, we pick a random,
                   8788:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   8789:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   8790:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   8791:       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'
                   8792:       ;;
                   8793: 
                   8794:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
                   8795:       tmp_diet=no
                   8796:       if test "$host_os" = linux-dietlibc; then
                   8797:        case $cc_basename in
                   8798:          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
                   8799:        esac
                   8800:       fi
                   8801:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
                   8802:         && test "$tmp_diet" = no
                   8803:       then
                   8804:        tmp_addflag=
                   8805:        tmp_sharedflag='-shared'
                   8806:        case $cc_basename,$host_cpu in
                   8807:         pgcc*)                         # Portland Group C compiler
                   8808:          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
                   8809:          tmp_addflag=' $pic_flag'
                   8810:          ;;
                   8811:        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
                   8812:          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
                   8813:          tmp_addflag=' $pic_flag -Mnomain' ;;
                   8814:        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
                   8815:          tmp_addflag=' -i_dynamic' ;;
                   8816:        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
                   8817:          tmp_addflag=' -i_dynamic -nofor_main' ;;
                   8818:        ifc* | ifort*)                  # Intel Fortran compiler
                   8819:          tmp_addflag=' -nofor_main' ;;
                   8820:        lf95*)                          # Lahey Fortran 8.1
                   8821:          whole_archive_flag_spec=
                   8822:          tmp_sharedflag='--shared' ;;
                   8823:        xl[cC]*)                        # IBM XL C 8.0 on PPC (deal with xlf below)
                   8824:          tmp_sharedflag='-qmkshrobj'
                   8825:          tmp_addflag= ;;
                   8826:        esac
                   8827:        case `$CC -V 2>&1 | sed 5q` in
                   8828:        *Sun\ C*)                       # Sun C 5.9
                   8829:          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
                   8830:          compiler_needs_object=yes
                   8831:          tmp_sharedflag='-G' ;;
                   8832:        *Sun\ F*)                       # Sun Fortran 8.3
                   8833:          tmp_sharedflag='-G' ;;
                   8834:        esac
                   8835:        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8836: 
                   8837:         if test "x$supports_anon_versioning" = xyes; then
                   8838:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   8839:            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   8840:            echo "local: *; };" >> $output_objdir/$libname.ver~
                   8841:            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   8842:         fi
                   8843: 
                   8844:        case $cc_basename in
                   8845:        xlf*)
                   8846:          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
                   8847:          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
                   8848:          hardcode_libdir_flag_spec=
                   8849:          hardcode_libdir_flag_spec_ld='-rpath $libdir'
                   8850:          archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
                   8851:          if test "x$supports_anon_versioning" = xyes; then
                   8852:            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   8853:              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   8854:              echo "local: *; };" >> $output_objdir/$libname.ver~
                   8855:              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
                   8856:          fi
                   8857:          ;;
                   8858:        esac
                   8859:       else
                   8860:         ld_shlibs=no
                   8861:       fi
                   8862:       ;;
                   8863: 
                   8864:     netbsd* | netbsdelf*-gnu)
                   8865:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   8866:        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   8867:        wlarc=
                   8868:       else
                   8869:        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8870:        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   8871:       fi
                   8872:       ;;
                   8873: 
                   8874:     solaris*)
                   8875:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
                   8876:        ld_shlibs=no
                   8877:        cat <<_LT_EOF 1>&2
                   8878: 
                   8879: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   8880: *** create shared libraries on Solaris systems.  Therefore, libtool
                   8881: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   8882: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   8883: *** your PATH or compiler configuration so that the native linker is
                   8884: *** used, and then restart.
                   8885: 
                   8886: _LT_EOF
                   8887:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   8888:        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8889:        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   8890:       else
                   8891:        ld_shlibs=no
                   8892:       fi
                   8893:       ;;
                   8894: 
                   8895:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
                   8896:       case `$LD -v 2>&1` in
                   8897:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
                   8898:        ld_shlibs=no
                   8899:        cat <<_LT_EOF 1>&2
                   8900: 
                   8901: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
                   8902: *** reliably create shared libraries on SCO systems.  Therefore, libtool
                   8903: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   8904: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
                   8905: *** your PATH or compiler configuration so that the native linker is
                   8906: *** used, and then restart.
                   8907: 
                   8908: _LT_EOF
                   8909:        ;;
                   8910:        *)
                   8911:          # For security reasons, it is highly recommended that you always
                   8912:          # use absolute paths for naming shared libraries, and exclude the
                   8913:          # DT_RUNPATH tag from executables and libraries.  But doing so
                   8914:          # requires that you compile everything twice, which is a pain.
                   8915:          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   8916:            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   8917:            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8918:            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   8919:          else
                   8920:            ld_shlibs=no
                   8921:          fi
                   8922:        ;;
                   8923:       esac
                   8924:       ;;
                   8925: 
                   8926:     sunos4*)
                   8927:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   8928:       wlarc=
                   8929:       hardcode_direct=yes
                   8930:       hardcode_shlibpath_var=no
                   8931:       ;;
                   8932: 
                   8933:     *)
                   8934:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   8935:        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8936:        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   8937:       else
                   8938:        ld_shlibs=no
                   8939:       fi
                   8940:       ;;
                   8941:     esac
                   8942: 
                   8943:     if test "$ld_shlibs" = no; then
                   8944:       runpath_var=
                   8945:       hardcode_libdir_flag_spec=
                   8946:       export_dynamic_flag_spec=
                   8947:       whole_archive_flag_spec=
                   8948:     fi
                   8949:   else
                   8950:     # PORTME fill in a description of your system's linker (not GNU ld)
                   8951:     case $host_os in
                   8952:     aix3*)
                   8953:       allow_undefined_flag=unsupported
                   8954:       always_export_symbols=yes
                   8955:       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'
                   8956:       # Note: this linker hardcodes the directories in LIBPATH if there
                   8957:       # are no directories specified by -L.
                   8958:       hardcode_minus_L=yes
                   8959:       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
                   8960:        # Neither direct hardcoding nor static linking is supported with a
                   8961:        # broken collect2.
                   8962:        hardcode_direct=unsupported
                   8963:       fi
                   8964:       ;;
                   8965: 
                   8966:     aix[4-9]*)
                   8967:       if test "$host_cpu" = ia64; then
                   8968:        # On IA64, the linker does run time linking by default, so we don't
                   8969:        # have to do anything special.
                   8970:        aix_use_runtimelinking=no
                   8971:        exp_sym_flag='-Bexport'
                   8972:        no_entry_flag=""
                   8973:       else
                   8974:        # If we're using GNU nm, then we don't want the "-C" option.
                   8975:        # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   8976:        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   8977:          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
                   8978:        else
                   8979:          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'
                   8980:        fi
                   8981:        aix_use_runtimelinking=no
                   8982: 
                   8983:        # Test if we are trying to use run time linking or normal
                   8984:        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   8985:        # need to do runtime linking.
                   8986:        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   8987:          for ld_flag in $LDFLAGS; do
                   8988:          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
                   8989:            aix_use_runtimelinking=yes
                   8990:            break
                   8991:          fi
                   8992:          done
                   8993:          ;;
                   8994:        esac
                   8995: 
                   8996:        exp_sym_flag='-bexport'
                   8997:        no_entry_flag='-bnoentry'
                   8998:       fi
                   8999: 
                   9000:       # When large executables or shared objects are built, AIX ld can
                   9001:       # have problems creating the table of contents.  If linking a library
                   9002:       # or program results in "error TOC overflow" add -mminimal-toc to
                   9003:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   9004:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   9005: 
                   9006:       archive_cmds=''
                   9007:       hardcode_direct=yes
                   9008:       hardcode_direct_absolute=yes
                   9009:       hardcode_libdir_separator=':'
                   9010:       link_all_deplibs=yes
                   9011:       file_list_spec='${wl}-f,'
                   9012: 
                   9013:       if test "$GCC" = yes; then
                   9014:        case $host_os in aix4.[012]|aix4.[012].*)
                   9015:        # We only want to do this on AIX 4.2 and lower, the check
                   9016:        # below for broken collect2 doesn't work under 4.3+
                   9017:          collect2name=`${CC} -print-prog-name=collect2`
                   9018:          if test -f "$collect2name" &&
                   9019:           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   9020:          then
                   9021:          # We have reworked collect2
                   9022:          :
                   9023:          else
                   9024:          # We have old collect2
                   9025:          hardcode_direct=unsupported
                   9026:          # It fails to find uninstalled libraries when the uninstalled
                   9027:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   9028:          # to unsupported forces relinking
                   9029:          hardcode_minus_L=yes
                   9030:          hardcode_libdir_flag_spec='-L$libdir'
                   9031:          hardcode_libdir_separator=
                   9032:          fi
                   9033:          ;;
                   9034:        esac
                   9035:        shared_flag='-shared'
                   9036:        if test "$aix_use_runtimelinking" = yes; then
                   9037:          shared_flag="$shared_flag "'${wl}-G'
                   9038:        fi
                   9039:        link_all_deplibs=no
                   9040:       else
                   9041:        # not using gcc
                   9042:        if test "$host_cpu" = ia64; then
                   9043:        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   9044:        # chokes on -Wl,-G. The following line is correct:
                   9045:          shared_flag='-G'
                   9046:        else
                   9047:          if test "$aix_use_runtimelinking" = yes; then
                   9048:            shared_flag='${wl}-G'
                   9049:          else
                   9050:            shared_flag='${wl}-bM:SRE'
                   9051:          fi
                   9052:        fi
                   9053:       fi
                   9054: 
                   9055:       export_dynamic_flag_spec='${wl}-bexpall'
                   9056:       # It seems that -bexpall does not export symbols beginning with
                   9057:       # underscore (_), so it is better to generate a list of symbols to export.
                   9058:       always_export_symbols=yes
                   9059:       if test "$aix_use_runtimelinking" = yes; then
                   9060:        # Warning - without using the other runtime loading flags (-brtl),
                   9061:        # -berok will link without error, but may produce a broken library.
                   9062:        allow_undefined_flag='-berok'
                   9063:         # Determine the default libpath from the value encoded in an
                   9064:         # empty executable.
                   9065:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   9066: /* end confdefs.h.  */
                   9067: 
                   9068: int
                   9069: main ()
                   9070: {
                   9071: 
                   9072:   ;
                   9073:   return 0;
                   9074: }
                   9075: _ACEOF
                   9076: if ac_fn_c_try_link "$LINENO"; then :
                   9077: 
                   9078: lt_aix_libpath_sed='
                   9079:     /Import File Strings/,/^$/ {
                   9080:        /^0/ {
                   9081:            s/^0  *\(.*\)$/\1/
                   9082:            p
                   9083:        }
                   9084:     }'
                   9085: aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9086: # Check for a 64-bit object if we didn't find anything.
                   9087: if test -z "$aix_libpath"; then
                   9088:   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9089: fi
                   9090: fi
                   9091: rm -f core conftest.err conftest.$ac_objext \
                   9092:     conftest$ac_exeext conftest.$ac_ext
                   9093: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
                   9094: 
                   9095:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   9096:         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
                   9097:       else
                   9098:        if test "$host_cpu" = ia64; then
                   9099:          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
                   9100:          allow_undefined_flag="-z nodefs"
                   9101:          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"
                   9102:        else
                   9103:         # Determine the default libpath from the value encoded in an
                   9104:         # empty executable.
                   9105:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   9106: /* end confdefs.h.  */
                   9107: 
                   9108: int
                   9109: main ()
                   9110: {
                   9111: 
                   9112:   ;
                   9113:   return 0;
                   9114: }
                   9115: _ACEOF
                   9116: if ac_fn_c_try_link "$LINENO"; then :
                   9117: 
                   9118: lt_aix_libpath_sed='
                   9119:     /Import File Strings/,/^$/ {
                   9120:        /^0/ {
                   9121:            s/^0  *\(.*\)$/\1/
                   9122:            p
                   9123:        }
                   9124:     }'
                   9125: aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9126: # Check for a 64-bit object if we didn't find anything.
                   9127: if test -z "$aix_libpath"; then
                   9128:   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9129: fi
                   9130: fi
                   9131: rm -f core conftest.err conftest.$ac_objext \
                   9132:     conftest$ac_exeext conftest.$ac_ext
                   9133: if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
                   9134: 
                   9135:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   9136:          # Warning - without using the other run time loading flags,
                   9137:          # -berok will link without error, but may produce a broken library.
                   9138:          no_undefined_flag=' ${wl}-bernotok'
                   9139:          allow_undefined_flag=' ${wl}-berok'
                   9140:          # Exported symbols can be pulled into shared objects from archives
                   9141:          whole_archive_flag_spec='$convenience'
                   9142:          archive_cmds_need_lc=yes
                   9143:          # This is similar to how AIX traditionally builds its shared libraries.
                   9144:          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'
                   9145:        fi
                   9146:       fi
                   9147:       ;;
                   9148: 
                   9149:     amigaos*)
                   9150:       case $host_cpu in
                   9151:       powerpc)
                   9152:             # see comment about AmigaOS4 .so support
                   9153:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9154:             archive_expsym_cmds=''
                   9155:         ;;
                   9156:       m68k)
                   9157:             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)'
                   9158:             hardcode_libdir_flag_spec='-L$libdir'
                   9159:             hardcode_minus_L=yes
                   9160:         ;;
                   9161:       esac
                   9162:       ;;
                   9163: 
                   9164:     bsdi[45]*)
                   9165:       export_dynamic_flag_spec=-rdynamic
                   9166:       ;;
                   9167: 
                   9168:     cygwin* | mingw* | pw32* | cegcc*)
                   9169:       # When not using gcc, we currently assume that we are using
                   9170:       # Microsoft Visual C++.
                   9171:       # hardcode_libdir_flag_spec is actually meaningless, as there is
                   9172:       # no search path for DLLs.
                   9173:       hardcode_libdir_flag_spec=' '
                   9174:       allow_undefined_flag=unsupported
                   9175:       # Tell ltmain to make .lib files, not .a files.
                   9176:       libext=lib
                   9177:       # Tell ltmain to make .dll files, not .so files.
                   9178:       shrext_cmds=".dll"
                   9179:       # FIXME: Setting linknames here is a bad hack.
                   9180:       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
                   9181:       # The linker will automatically build a .lib file if we build a DLL.
                   9182:       old_archive_from_new_cmds='true'
                   9183:       # FIXME: Should let the user specify the lib program.
                   9184:       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
                   9185:       fix_srcfile_path='`cygpath -w "$srcfile"`'
                   9186:       enable_shared_with_static_runtimes=yes
                   9187:       ;;
                   9188: 
                   9189:     darwin* | rhapsody*)
                   9190: 
                   9191: 
                   9192:   archive_cmds_need_lc=no
                   9193:   hardcode_direct=no
                   9194:   hardcode_automatic=yes
                   9195:   hardcode_shlibpath_var=unsupported
                   9196:   whole_archive_flag_spec=''
                   9197:   link_all_deplibs=yes
                   9198:   allow_undefined_flag="$_lt_dar_allow_undefined"
                   9199:   case $cc_basename in
                   9200:      ifort*) _lt_dar_can_shared=yes ;;
                   9201:      *) _lt_dar_can_shared=$GCC ;;
                   9202:   esac
                   9203:   if test "$_lt_dar_can_shared" = "yes"; then
                   9204:     output_verbose_link_cmd=echo
                   9205:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
                   9206:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   9207:     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}"
                   9208:     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}"
                   9209: 
                   9210:   else
                   9211:   ld_shlibs=no
                   9212:   fi
                   9213: 
                   9214:       ;;
                   9215: 
                   9216:     dgux*)
                   9217:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9218:       hardcode_libdir_flag_spec='-L$libdir'
                   9219:       hardcode_shlibpath_var=no
                   9220:       ;;
                   9221: 
                   9222:     freebsd1.*)
                   9223:       ld_shlibs=no
                   9224:       ;;
                   9225: 
                   9226:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   9227:     # support.  Future versions do this automatically, but an explicit c++rt0.o
                   9228:     # does not break anything, and helps significantly (at the cost of a little
                   9229:     # extra space).
                   9230:     freebsd2.2*)
                   9231:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   9232:       hardcode_libdir_flag_spec='-R$libdir'
                   9233:       hardcode_direct=yes
                   9234:       hardcode_shlibpath_var=no
                   9235:       ;;
                   9236: 
                   9237:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
                   9238:     freebsd2*)
                   9239:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   9240:       hardcode_direct=yes
                   9241:       hardcode_minus_L=yes
                   9242:       hardcode_shlibpath_var=no
                   9243:       ;;
                   9244: 
                   9245:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
                   9246:     freebsd* | dragonfly*)
                   9247:       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
                   9248:       hardcode_libdir_flag_spec='-R$libdir'
                   9249:       hardcode_direct=yes
                   9250:       hardcode_shlibpath_var=no
                   9251:       ;;
                   9252: 
                   9253:     hpux9*)
                   9254:       if test "$GCC" = yes; then
                   9255:        archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
                   9256:       else
                   9257:        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'
                   9258:       fi
                   9259:       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   9260:       hardcode_libdir_separator=:
                   9261:       hardcode_direct=yes
                   9262: 
                   9263:       # hardcode_minus_L: Not really in the search PATH,
                   9264:       # but as the default location of the library.
                   9265:       hardcode_minus_L=yes
                   9266:       export_dynamic_flag_spec='${wl}-E'
                   9267:       ;;
                   9268: 
                   9269:     hpux10*)
                   9270:       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
                   9271:        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   9272:       else
                   9273:        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   9274:       fi
                   9275:       if test "$with_gnu_ld" = no; then
                   9276:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   9277:        hardcode_libdir_flag_spec_ld='+b $libdir'
                   9278:        hardcode_libdir_separator=:
                   9279:        hardcode_direct=yes
                   9280:        hardcode_direct_absolute=yes
                   9281:        export_dynamic_flag_spec='${wl}-E'
                   9282:        # hardcode_minus_L: Not really in the search PATH,
                   9283:        # but as the default location of the library.
                   9284:        hardcode_minus_L=yes
                   9285:       fi
                   9286:       ;;
                   9287: 
                   9288:     hpux11*)
                   9289:       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
                   9290:        case $host_cpu in
                   9291:        hppa*64*)
                   9292:          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9293:          ;;
                   9294:        ia64*)
                   9295:          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   9296:          ;;
                   9297:        *)
                   9298:          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   9299:          ;;
                   9300:        esac
                   9301:       else
                   9302:        case $host_cpu in
                   9303:        hppa*64*)
                   9304:          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9305:          ;;
                   9306:        ia64*)
                   9307:          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   9308:          ;;
                   9309:        *)
                   9310:          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   9311:          ;;
                   9312:        esac
                   9313:       fi
                   9314:       if test "$with_gnu_ld" = no; then
                   9315:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   9316:        hardcode_libdir_separator=:
                   9317: 
                   9318:        case $host_cpu in
                   9319:        hppa*64*|ia64*)
                   9320:          hardcode_direct=no
                   9321:          hardcode_shlibpath_var=no
                   9322:          ;;
                   9323:        *)
                   9324:          hardcode_direct=yes
                   9325:          hardcode_direct_absolute=yes
                   9326:          export_dynamic_flag_spec='${wl}-E'
                   9327: 
                   9328:          # hardcode_minus_L: Not really in the search PATH,
                   9329:          # but as the default location of the library.
                   9330:          hardcode_minus_L=yes
                   9331:          ;;
                   9332:        esac
                   9333:       fi
                   9334:       ;;
                   9335: 
                   9336:     irix5* | irix6* | nonstopux*)
                   9337:       if test "$GCC" = yes; then
                   9338:        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
                   9339:        # Try to use the -exported_symbol ld option, if it does not
                   9340:        # work, assume that -exports_file does not work either and
                   9341:        # implicitly export all symbols.
                   9342:         save_LDFLAGS="$LDFLAGS"
                   9343:         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
                   9344:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   9345: /* end confdefs.h.  */
                   9346: int foo(void) {}
                   9347: _ACEOF
                   9348: if ac_fn_c_try_link "$LINENO"; then :
                   9349:   archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
                   9350: 
                   9351: fi
                   9352: rm -f core conftest.err conftest.$ac_objext \
                   9353:     conftest$ac_exeext conftest.$ac_ext
                   9354:         LDFLAGS="$save_LDFLAGS"
                   9355:       else
                   9356:        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
                   9357:        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
                   9358:       fi
                   9359:       archive_cmds_need_lc='no'
                   9360:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9361:       hardcode_libdir_separator=:
                   9362:       inherit_rpath=yes
                   9363:       link_all_deplibs=yes
                   9364:       ;;
                   9365: 
                   9366:     netbsd* | netbsdelf*-gnu)
                   9367:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   9368:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   9369:       else
                   9370:        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   9371:       fi
                   9372:       hardcode_libdir_flag_spec='-R$libdir'
                   9373:       hardcode_direct=yes
                   9374:       hardcode_shlibpath_var=no
                   9375:       ;;
                   9376: 
                   9377:     newsos6)
                   9378:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9379:       hardcode_direct=yes
                   9380:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9381:       hardcode_libdir_separator=:
                   9382:       hardcode_shlibpath_var=no
                   9383:       ;;
                   9384: 
                   9385:     *nto* | *qnx*)
                   9386:       ;;
                   9387: 
                   9388:     openbsd*)
                   9389:       if test -f /usr/libexec/ld.so; then
                   9390:        hardcode_direct=yes
                   9391:        hardcode_shlibpath_var=no
                   9392:        hardcode_direct_absolute=yes
                   9393:        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   9394:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   9395:          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
                   9396:          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   9397:          export_dynamic_flag_spec='${wl}-E'
                   9398:        else
                   9399:          case $host_os in
                   9400:           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
                   9401:             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   9402:             hardcode_libdir_flag_spec='-R$libdir'
                   9403:             ;;
                   9404:           *)
                   9405:             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   9406:             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   9407:             ;;
                   9408:          esac
                   9409:        fi
                   9410:       else
                   9411:        ld_shlibs=no
                   9412:       fi
                   9413:       ;;
                   9414: 
                   9415:     os2*)
                   9416:       hardcode_libdir_flag_spec='-L$libdir'
                   9417:       hardcode_minus_L=yes
                   9418:       allow_undefined_flag=unsupported
                   9419:       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'
                   9420:       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
                   9421:       ;;
                   9422: 
                   9423:     osf3*)
                   9424:       if test "$GCC" = yes; then
                   9425:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   9426:        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
                   9427:       else
                   9428:        allow_undefined_flag=' -expect_unresolved \*'
                   9429:        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
                   9430:       fi
                   9431:       archive_cmds_need_lc='no'
                   9432:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9433:       hardcode_libdir_separator=:
                   9434:       ;;
                   9435: 
                   9436:     osf4* | osf5*)     # as osf3* with the addition of -msym flag
                   9437:       if test "$GCC" = yes; then
                   9438:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   9439:        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
                   9440:        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9441:       else
                   9442:        allow_undefined_flag=' -expect_unresolved \*'
                   9443:        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
                   9444:        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~
                   9445:        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
                   9446: 
                   9447:        # Both c and cxx compiler support -rpath directly
                   9448:        hardcode_libdir_flag_spec='-rpath $libdir'
                   9449:       fi
                   9450:       archive_cmds_need_lc='no'
                   9451:       hardcode_libdir_separator=:
                   9452:       ;;
                   9453: 
                   9454:     solaris*)
                   9455:       no_undefined_flag=' -z defs'
                   9456:       if test "$GCC" = yes; then
                   9457:        wlarc='${wl}'
                   9458:        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9459:        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   9460:          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
                   9461:       else
                   9462:        case `$CC -V 2>&1` in
                   9463:        *"Compilers 5.0"*)
                   9464:          wlarc=''
                   9465:          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9466:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   9467:          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
                   9468:          ;;
                   9469:        *)
                   9470:          wlarc='${wl}'
                   9471:          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   9472:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   9473:          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
                   9474:          ;;
                   9475:        esac
                   9476:       fi
                   9477:       hardcode_libdir_flag_spec='-R$libdir'
                   9478:       hardcode_shlibpath_var=no
                   9479:       case $host_os in
                   9480:       solaris2.[0-5] | solaris2.[0-5].*) ;;
                   9481:       *)
                   9482:        # The compiler driver will combine and reorder linker options,
                   9483:        # but understands `-z linker_flag'.  GCC discards it without `$wl',
                   9484:        # but is careful enough not to reorder.
                   9485:        # Supported since Solaris 2.6 (maybe 2.5.1?)
                   9486:        if test "$GCC" = yes; then
                   9487:          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   9488:        else
                   9489:          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
                   9490:        fi
                   9491:        ;;
                   9492:       esac
                   9493:       link_all_deplibs=yes
                   9494:       ;;
                   9495: 
                   9496:     sunos4*)
                   9497:       if test "x$host_vendor" = xsequent; then
                   9498:        # Use $CC to link under sequent, because it throws in some extra .o
                   9499:        # files that make .init and .fini sections work.
                   9500:        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   9501:       else
                   9502:        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   9503:       fi
                   9504:       hardcode_libdir_flag_spec='-L$libdir'
                   9505:       hardcode_direct=yes
                   9506:       hardcode_minus_L=yes
                   9507:       hardcode_shlibpath_var=no
                   9508:       ;;
                   9509: 
                   9510:     sysv4)
                   9511:       case $host_vendor in
                   9512:        sni)
                   9513:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9514:          hardcode_direct=yes # is this really true???
                   9515:        ;;
                   9516:        siemens)
                   9517:          ## LD is ld it makes a PLAMLIB
                   9518:          ## CC just makes a GrossModule.
                   9519:          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   9520:          reload_cmds='$CC -r -o $output$reload_objs'
                   9521:          hardcode_direct=no
                   9522:         ;;
                   9523:        motorola)
                   9524:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9525:          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   9526:        ;;
                   9527:       esac
                   9528:       runpath_var='LD_RUN_PATH'
                   9529:       hardcode_shlibpath_var=no
                   9530:       ;;
                   9531: 
                   9532:     sysv4.3*)
                   9533:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9534:       hardcode_shlibpath_var=no
                   9535:       export_dynamic_flag_spec='-Bexport'
                   9536:       ;;
                   9537: 
                   9538:     sysv4*MP*)
                   9539:       if test -d /usr/nec; then
                   9540:        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9541:        hardcode_shlibpath_var=no
                   9542:        runpath_var=LD_RUN_PATH
                   9543:        hardcode_runpath_var=yes
                   9544:        ld_shlibs=yes
                   9545:       fi
                   9546:       ;;
                   9547: 
                   9548:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   9549:       no_undefined_flag='${wl}-z,text'
                   9550:       archive_cmds_need_lc=no
                   9551:       hardcode_shlibpath_var=no
                   9552:       runpath_var='LD_RUN_PATH'
                   9553: 
                   9554:       if test "$GCC" = yes; then
                   9555:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9556:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9557:       else
                   9558:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9559:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9560:       fi
                   9561:       ;;
                   9562: 
                   9563:     sysv5* | sco3.2v5* | sco5v6*)
                   9564:       # Note: We can NOT use -z defs as we might desire, because we do not
                   9565:       # link with -lc, and that would cause any symbols used from libc to
                   9566:       # always be unresolved, which means just about no library would
                   9567:       # ever link correctly.  If we're not using GNU ld we use -z text
                   9568:       # though, which does catch some bad symbols but isn't as heavy-handed
                   9569:       # as -z defs.
                   9570:       no_undefined_flag='${wl}-z,text'
                   9571:       allow_undefined_flag='${wl}-z,nodefs'
                   9572:       archive_cmds_need_lc=no
                   9573:       hardcode_shlibpath_var=no
                   9574:       hardcode_libdir_flag_spec='${wl}-R,$libdir'
                   9575:       hardcode_libdir_separator=':'
                   9576:       link_all_deplibs=yes
                   9577:       export_dynamic_flag_spec='${wl}-Bexport'
                   9578:       runpath_var='LD_RUN_PATH'
                   9579: 
                   9580:       if test "$GCC" = yes; then
                   9581:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9582:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9583:       else
                   9584:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9585:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9586:       fi
                   9587:       ;;
                   9588: 
                   9589:     uts4*)
                   9590:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9591:       hardcode_libdir_flag_spec='-L$libdir'
                   9592:       hardcode_shlibpath_var=no
                   9593:       ;;
                   9594: 
                   9595:     *)
                   9596:       ld_shlibs=no
                   9597:       ;;
                   9598:     esac
                   9599: 
                   9600:     if test x$host_vendor = xsni; then
                   9601:       case $host in
                   9602:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   9603:        export_dynamic_flag_spec='${wl}-Blargedynsym'
                   9604:        ;;
                   9605:       esac
                   9606:     fi
                   9607:   fi
                   9608: 
                   9609: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
                   9610: $as_echo "$ld_shlibs" >&6; }
                   9611: test "$ld_shlibs" = no && can_build_shared=no
                   9612: 
                   9613: with_gnu_ld=$with_gnu_ld
                   9614: 
                   9615: 
                   9616: 
                   9617: 
                   9618: 
                   9619: 
                   9620: 
                   9621: 
                   9622: 
                   9623: 
                   9624: 
                   9625: 
                   9626: 
                   9627: 
                   9628: 
                   9629: #
                   9630: # Do we need to explicitly link libc?
                   9631: #
                   9632: case "x$archive_cmds_need_lc" in
                   9633: x|xyes)
                   9634:   # Assume -lc should be added
                   9635:   archive_cmds_need_lc=yes
                   9636: 
                   9637:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   9638:     case $archive_cmds in
                   9639:     *'~'*)
                   9640:       # FIXME: we may have to deal with multi-command sequences.
                   9641:       ;;
                   9642:     '$CC '*)
                   9643:       # Test whether the compiler implicitly links with -lc since on some
                   9644:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   9645:       # to ld, don't add -lc before -lgcc.
                   9646:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   9647: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
                   9648:       $RM conftest*
                   9649:       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9650: 
                   9651:       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   9652:   (eval $ac_compile) 2>&5
                   9653:   ac_status=$?
                   9654:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   9655:   test $ac_status = 0; } 2>conftest.err; then
                   9656:         soname=conftest
                   9657:         lib=conftest
                   9658:         libobjs=conftest.$ac_objext
                   9659:         deplibs=
                   9660:         wl=$lt_prog_compiler_wl
                   9661:        pic_flag=$lt_prog_compiler_pic
                   9662:         compiler_flags=-v
                   9663:         linker_flags=-v
                   9664:         verstring=
                   9665:         output_objdir=.
                   9666:         libname=conftest
                   9667:         lt_save_allow_undefined_flag=$allow_undefined_flag
                   9668:         allow_undefined_flag=
                   9669:         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
                   9670:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   9671:   ac_status=$?
                   9672:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   9673:   test $ac_status = 0; }
                   9674:         then
                   9675:          archive_cmds_need_lc=no
                   9676:         else
                   9677:          archive_cmds_need_lc=yes
                   9678:         fi
                   9679:         allow_undefined_flag=$lt_save_allow_undefined_flag
                   9680:       else
                   9681:         cat conftest.err 1>&5
                   9682:       fi
                   9683:       $RM conftest*
                   9684:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
                   9685: $as_echo "$archive_cmds_need_lc" >&6; }
                   9686:       ;;
                   9687:     esac
                   9688:   fi
                   9689:   ;;
                   9690: esac
                   9691: 
                   9692: 
                   9693: 
                   9694: 
                   9695: 
                   9696: 
                   9697: 
                   9698: 
                   9699: 
                   9700: 
                   9701: 
                   9702: 
                   9703: 
                   9704: 
                   9705: 
                   9706: 
                   9707: 
                   9708: 
                   9709: 
                   9710: 
                   9711: 
                   9712: 
                   9713: 
                   9714: 
                   9715: 
                   9716: 
                   9717: 
                   9718: 
                   9719: 
                   9720: 
                   9721: 
                   9722: 
                   9723: 
                   9724: 
                   9725: 
                   9726: 
                   9727: 
                   9728: 
                   9729: 
                   9730: 
                   9731: 
                   9732: 
                   9733: 
                   9734: 
                   9735: 
                   9736: 
                   9737: 
                   9738: 
                   9739: 
                   9740: 
                   9741: 
                   9742: 
                   9743: 
                   9744: 
                   9745: 
                   9746: 
                   9747: 
                   9748: 
                   9749: 
                   9750: 
                   9751: 
                   9752: 
                   9753: 
                   9754: 
                   9755: 
                   9756: 
                   9757: 
                   9758: 
                   9759: 
                   9760: 
                   9761: 
                   9762: 
                   9763: 
                   9764: 
                   9765: 
                   9766: 
                   9767: 
                   9768: 
                   9769: 
                   9770: 
                   9771: 
                   9772: 
                   9773: 
                   9774: 
                   9775: 
                   9776: 
                   9777: 
                   9778: 
                   9779: 
                   9780: 
                   9781: 
                   9782: 
                   9783: 
                   9784: 
                   9785: 
                   9786: 
                   9787: 
                   9788: 
                   9789: 
                   9790: 
                   9791: 
                   9792: 
                   9793: 
                   9794: 
                   9795: 
                   9796: 
                   9797: 
                   9798: 
                   9799: 
                   9800: 
                   9801: 
                   9802: 
                   9803: 
                   9804: 
                   9805: 
                   9806: 
                   9807: 
                   9808: 
                   9809: 
                   9810: 
                   9811: 
                   9812: 
                   9813: 
                   9814: 
                   9815: 
                   9816: 
                   9817: 
                   9818: 
                   9819: 
                   9820: 
                   9821: 
                   9822: 
                   9823: 
                   9824: 
                   9825: 
                   9826: 
                   9827: 
                   9828: 
                   9829: 
                   9830: 
                   9831: 
                   9832: 
                   9833: 
                   9834: 
                   9835: 
                   9836: 
                   9837: 
                   9838: 
                   9839: 
                   9840: 
                   9841: 
                   9842: 
                   9843: 
                   9844: 
                   9845: 
                   9846: 
                   9847: 
                   9848:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   9849: $as_echo_n "checking dynamic linker characteristics... " >&6; }
                   9850: 
                   9851: if test "$GCC" = yes; then
                   9852:   case $host_os in
                   9853:     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
                   9854:     *) lt_awk_arg="/^libraries:/" ;;
                   9855:   esac
                   9856:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
                   9857:   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
                   9858:     # if the path contains ";" then we assume it to be the separator
                   9859:     # otherwise default to the standard path separator (i.e. ":") - it is
                   9860:     # assumed that no part of a normal pathname contains ";" but that should
                   9861:     # okay in the real world where ";" in dirpaths is itself problematic.
                   9862:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
                   9863:   else
                   9864:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
                   9865:   fi
                   9866:   # Ok, now we have the path, separated by spaces, we can step through it
                   9867:   # and add multilib dir if necessary.
                   9868:   lt_tmp_lt_search_path_spec=
                   9869:   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
                   9870:   for lt_sys_path in $lt_search_path_spec; do
                   9871:     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
                   9872:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
                   9873:     else
                   9874:       test -d "$lt_sys_path" && \
                   9875:        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
                   9876:     fi
                   9877:   done
                   9878:   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
                   9879: BEGIN {RS=" "; FS="/|\n";} {
                   9880:   lt_foo="";
                   9881:   lt_count=0;
                   9882:   for (lt_i = NF; lt_i > 0; lt_i--) {
                   9883:     if ($lt_i != "" && $lt_i != ".") {
                   9884:       if ($lt_i == "..") {
                   9885:         lt_count++;
                   9886:       } else {
                   9887:         if (lt_count == 0) {
                   9888:           lt_foo="/" $lt_i lt_foo;
                   9889:         } else {
                   9890:           lt_count--;
                   9891:         }
                   9892:       }
                   9893:     }
                   9894:   }
                   9895:   if (lt_foo != "") { lt_freq[lt_foo]++; }
                   9896:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
                   9897: }'`
                   9898:   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
                   9899: else
                   9900:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   9901: fi
                   9902: library_names_spec=
                   9903: libname_spec='lib$name'
                   9904: soname_spec=
                   9905: shrext_cmds=".so"
                   9906: postinstall_cmds=
                   9907: postuninstall_cmds=
                   9908: finish_cmds=
                   9909: finish_eval=
                   9910: shlibpath_var=
                   9911: shlibpath_overrides_runpath=unknown
                   9912: version_type=none
                   9913: dynamic_linker="$host_os ld.so"
                   9914: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   9915: need_lib_prefix=unknown
                   9916: hardcode_into_libs=no
                   9917: 
                   9918: # when you set need_version to no, make sure it does not cause -set_version
                   9919: # flags to be left without arguments
                   9920: need_version=unknown
                   9921: 
                   9922: case $host_os in
                   9923: aix3*)
                   9924:   version_type=linux
                   9925:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   9926:   shlibpath_var=LIBPATH
                   9927: 
                   9928:   # AIX 3 has no versioning support, so we append a major version to the name.
                   9929:   soname_spec='${libname}${release}${shared_ext}$major'
                   9930:   ;;
                   9931: 
                   9932: aix[4-9]*)
                   9933:   version_type=linux
                   9934:   need_lib_prefix=no
                   9935:   need_version=no
                   9936:   hardcode_into_libs=yes
                   9937:   if test "$host_cpu" = ia64; then
                   9938:     # AIX 5 supports IA64
                   9939:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   9940:     shlibpath_var=LD_LIBRARY_PATH
                   9941:   else
                   9942:     # With GCC up to 2.95.x, collect2 would create an import file
                   9943:     # for dependence libraries.  The import file would start with
                   9944:     # the line `#! .'.  This would cause the generated library to
                   9945:     # depend on `.', always an invalid library.  This was fixed in
                   9946:     # development snapshots of GCC prior to 3.0.
                   9947:     case $host_os in
                   9948:       aix4 | aix4.[01] | aix4.[01].*)
                   9949:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   9950:           echo ' yes '
                   9951:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   9952:        :
                   9953:       else
                   9954:        can_build_shared=no
                   9955:       fi
                   9956:       ;;
                   9957:     esac
                   9958:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   9959:     # soname into executable. Probably we can add versioning support to
                   9960:     # collect2, so additional links can be useful in future.
                   9961:     if test "$aix_use_runtimelinking" = yes; then
                   9962:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   9963:       # instead of lib<name>.a to let people know that these are not
                   9964:       # typical AIX shared libraries.
                   9965:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   9966:     else
                   9967:       # We preserve .a as extension for shared libraries through AIX4.2
                   9968:       # and later when we are not doing run time linking.
                   9969:       library_names_spec='${libname}${release}.a $libname.a'
                   9970:       soname_spec='${libname}${release}${shared_ext}$major'
                   9971:     fi
                   9972:     shlibpath_var=LIBPATH
                   9973:   fi
                   9974:   ;;
                   9975: 
                   9976: amigaos*)
                   9977:   case $host_cpu in
                   9978:   powerpc)
                   9979:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   9980:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   9981:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   9982:     ;;
                   9983:   m68k)
                   9984:     library_names_spec='$libname.ixlibrary $libname.a'
                   9985:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   9986:     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
                   9987:     ;;
                   9988:   esac
                   9989:   ;;
                   9990: 
                   9991: beos*)
                   9992:   library_names_spec='${libname}${shared_ext}'
                   9993:   dynamic_linker="$host_os ld.so"
                   9994:   shlibpath_var=LIBRARY_PATH
                   9995:   ;;
                   9996: 
                   9997: bsdi[45]*)
                   9998:   version_type=linux
                   9999:   need_version=no
                   10000:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10001:   soname_spec='${libname}${release}${shared_ext}$major'
                   10002:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   10003:   shlibpath_var=LD_LIBRARY_PATH
                   10004:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   10005:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   10006:   # the default ld.so.conf also contains /usr/contrib/lib and
                   10007:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   10008:   # libtool to hard-code these into programs
                   10009:   ;;
                   10010: 
                   10011: cygwin* | mingw* | pw32* | cegcc*)
                   10012:   version_type=windows
                   10013:   shrext_cmds=".dll"
                   10014:   need_version=no
                   10015:   need_lib_prefix=no
                   10016: 
                   10017:   case $GCC,$host_os in
                   10018:   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
                   10019:     library_names_spec='$libname.dll.a'
                   10020:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   10021:     postinstall_cmds='base_file=`basename \${file}`~
                   10022:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   10023:       dldir=$destdir/`dirname \$dlpath`~
                   10024:       test -d \$dldir || mkdir -p \$dldir~
                   10025:       $install_prog $dir/$dlname \$dldir/$dlname~
                   10026:       chmod a+x \$dldir/$dlname~
                   10027:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   10028:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   10029:       fi'
                   10030:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   10031:       dlpath=$dir/\$dldll~
                   10032:        $RM \$dlpath'
                   10033:     shlibpath_overrides_runpath=yes
                   10034: 
                   10035:     case $host_os in
                   10036:     cygwin*)
                   10037:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   10038:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10039:       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
                   10040:       ;;
                   10041:     mingw* | cegcc*)
                   10042:       # MinGW DLLs use traditional 'lib' prefix
                   10043:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10044:       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
                   10045:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   10046:         # It is most probably a Windows format PATH printed by
                   10047:         # mingw gcc, but we are running on Cygwin. Gcc prints its search
                   10048:         # path with ; separators, and with drive letters. We can handle the
                   10049:         # drive letters (cygwin fileutils understands them), so leave them,
                   10050:         # especially as we might pass files found there to a mingw objdump,
                   10051:         # which wouldn't understand a cygwinified path. Ahh.
                   10052:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   10053:       else
                   10054:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
                   10055:       fi
                   10056:       ;;
                   10057:     pw32*)
                   10058:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   10059:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10060:       ;;
                   10061:     esac
                   10062:     ;;
                   10063: 
                   10064:   *)
                   10065:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   10066:     ;;
                   10067:   esac
                   10068:   dynamic_linker='Win32 ld.exe'
                   10069:   # FIXME: first we should search . and the directory the executable is in
                   10070:   shlibpath_var=PATH
                   10071:   ;;
                   10072: 
                   10073: darwin* | rhapsody*)
                   10074:   dynamic_linker="$host_os dyld"
                   10075:   version_type=darwin
                   10076:   need_lib_prefix=no
                   10077:   need_version=no
                   10078:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   10079:   soname_spec='${libname}${release}${major}$shared_ext'
                   10080:   shlibpath_overrides_runpath=yes
                   10081:   shlibpath_var=DYLD_LIBRARY_PATH
                   10082:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   10083: 
                   10084:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
                   10085:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   10086:   ;;
                   10087: 
                   10088: dgux*)
                   10089:   version_type=linux
                   10090:   need_lib_prefix=no
                   10091:   need_version=no
                   10092:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   10093:   soname_spec='${libname}${release}${shared_ext}$major'
                   10094:   shlibpath_var=LD_LIBRARY_PATH
                   10095:   ;;
                   10096: 
                   10097: freebsd1.*)
                   10098:   dynamic_linker=no
                   10099:   ;;
                   10100: 
                   10101: freebsd* | dragonfly*)
                   10102:   # DragonFly does not have aout.  When/if they implement a new
                   10103:   # versioning mechanism, adjust this.
                   10104:   if test -x /usr/bin/objformat; then
                   10105:     objformat=`/usr/bin/objformat`
                   10106:   else
                   10107:     case $host_os in
                   10108:     freebsd[123].*) objformat=aout ;;
                   10109:     *) objformat=elf ;;
                   10110:     esac
                   10111:   fi
                   10112:   version_type=freebsd-$objformat
                   10113:   case $version_type in
                   10114:     freebsd-elf*)
                   10115:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   10116:       need_version=no
                   10117:       need_lib_prefix=no
                   10118:       ;;
                   10119:     freebsd-*)
                   10120:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   10121:       need_version=yes
                   10122:       ;;
                   10123:   esac
                   10124:   shlibpath_var=LD_LIBRARY_PATH
                   10125:   case $host_os in
                   10126:   freebsd2*)
                   10127:     shlibpath_overrides_runpath=yes
                   10128:     ;;
                   10129:   freebsd3.[01]* | freebsdelf3.[01]*)
                   10130:     shlibpath_overrides_runpath=yes
                   10131:     hardcode_into_libs=yes
                   10132:     ;;
                   10133:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   10134:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   10135:     shlibpath_overrides_runpath=no
                   10136:     hardcode_into_libs=yes
                   10137:     ;;
                   10138:   *) # from 4.6 on, and DragonFly
                   10139:     shlibpath_overrides_runpath=yes
                   10140:     hardcode_into_libs=yes
                   10141:     ;;
                   10142:   esac
                   10143:   ;;
                   10144: 
                   10145: gnu*)
                   10146:   version_type=linux
                   10147:   need_lib_prefix=no
                   10148:   need_version=no
                   10149:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   10150:   soname_spec='${libname}${release}${shared_ext}$major'
                   10151:   shlibpath_var=LD_LIBRARY_PATH
                   10152:   hardcode_into_libs=yes
                   10153:   ;;
                   10154: 
                   10155: hpux9* | hpux10* | hpux11*)
                   10156:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   10157:   # link against other versions.
                   10158:   version_type=sunos
                   10159:   need_lib_prefix=no
                   10160:   need_version=no
                   10161:   case $host_cpu in
                   10162:   ia64*)
                   10163:     shrext_cmds='.so'
                   10164:     hardcode_into_libs=yes
                   10165:     dynamic_linker="$host_os dld.so"
                   10166:     shlibpath_var=LD_LIBRARY_PATH
                   10167:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   10168:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10169:     soname_spec='${libname}${release}${shared_ext}$major'
                   10170:     if test "X$HPUX_IA64_MODE" = X32; then
                   10171:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   10172:     else
                   10173:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   10174:     fi
                   10175:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   10176:     ;;
                   10177:   hppa*64*)
                   10178:     shrext_cmds='.sl'
                   10179:     hardcode_into_libs=yes
                   10180:     dynamic_linker="$host_os dld.sl"
                   10181:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   10182:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   10183:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10184:     soname_spec='${libname}${release}${shared_ext}$major'
                   10185:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   10186:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   10187:     ;;
                   10188:   *)
                   10189:     shrext_cmds='.sl'
                   10190:     dynamic_linker="$host_os dld.sl"
                   10191:     shlibpath_var=SHLIB_PATH
                   10192:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   10193:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10194:     soname_spec='${libname}${release}${shared_ext}$major'
                   10195:     ;;
                   10196:   esac
                   10197:   # HP-UX runs *really* slowly unless shared libraries are mode 555.
                   10198:   postinstall_cmds='chmod 555 $lib'
                   10199:   ;;
                   10200: 
                   10201: interix[3-9]*)
                   10202:   version_type=linux
                   10203:   need_lib_prefix=no
                   10204:   need_version=no
                   10205:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   10206:   soname_spec='${libname}${release}${shared_ext}$major'
                   10207:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   10208:   shlibpath_var=LD_LIBRARY_PATH
                   10209:   shlibpath_overrides_runpath=no
                   10210:   hardcode_into_libs=yes
                   10211:   ;;
                   10212: 
                   10213: irix5* | irix6* | nonstopux*)
                   10214:   case $host_os in
                   10215:     nonstopux*) version_type=nonstopux ;;
                   10216:     *)
                   10217:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   10218:                version_type=linux
                   10219:        else
                   10220:                version_type=irix
                   10221:        fi ;;
                   10222:   esac
                   10223:   need_lib_prefix=no
                   10224:   need_version=no
                   10225:   soname_spec='${libname}${release}${shared_ext}$major'
                   10226:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   10227:   case $host_os in
                   10228:   irix5* | nonstopux*)
                   10229:     libsuff= shlibsuff=
                   10230:     ;;
                   10231:   *)
                   10232:     case $LD in # libtool.m4 will add one of these switches to LD
                   10233:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   10234:       libsuff= shlibsuff= libmagic=32-bit;;
                   10235:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   10236:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   10237:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   10238:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   10239:     *) libsuff= shlibsuff= libmagic=never-match;;
                   10240:     esac
                   10241:     ;;
                   10242:   esac
                   10243:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   10244:   shlibpath_overrides_runpath=no
                   10245:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   10246:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   10247:   hardcode_into_libs=yes
                   10248:   ;;
                   10249: 
                   10250: # No shared lib support for Linux oldld, aout, or coff.
                   10251: linux*oldld* | linux*aout* | linux*coff*)
                   10252:   dynamic_linker=no
                   10253:   ;;
                   10254: 
                   10255: # This must be Linux ELF.
                   10256: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   10257:   version_type=linux
                   10258:   need_lib_prefix=no
                   10259:   need_version=no
                   10260:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10261:   soname_spec='${libname}${release}${shared_ext}$major'
                   10262:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   10263:   shlibpath_var=LD_LIBRARY_PATH
                   10264:   shlibpath_overrides_runpath=no
                   10265:   # Some binutils ld are patched to set DT_RUNPATH
                   10266:   save_LDFLAGS=$LDFLAGS
                   10267:   save_libdir=$libdir
                   10268:   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
                   10269:        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
                   10270:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   10271: /* end confdefs.h.  */
                   10272: 
                   10273: int
                   10274: main ()
                   10275: {
                   10276: 
                   10277:   ;
                   10278:   return 0;
                   10279: }
                   10280: _ACEOF
                   10281: if ac_fn_c_try_link "$LINENO"; then :
                   10282:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
                   10283:   shlibpath_overrides_runpath=yes
                   10284: fi
                   10285: fi
                   10286: rm -f core conftest.err conftest.$ac_objext \
                   10287:     conftest$ac_exeext conftest.$ac_ext
                   10288:   LDFLAGS=$save_LDFLAGS
                   10289:   libdir=$save_libdir
                   10290: 
                   10291:   # This implies no fast_install, which is unacceptable.
                   10292:   # Some rework will be needed to allow for fast_install
                   10293:   # before this can be enabled.
                   10294:   hardcode_into_libs=yes
                   10295: 
                   10296:   # Append ld.so.conf contents to the search path
                   10297:   if test -f /etc/ld.so.conf; then
                   10298:     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;/^$/d' | tr '\n' ' '`
                   10299:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   10300:   fi
                   10301: 
                   10302:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   10303:   # powerpc, because MkLinux only supported shared libraries with the
                   10304:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   10305:   # most powerpc-linux boxes support dynamic linking these days and
                   10306:   # people can always --disable-shared, the test was removed, and we
                   10307:   # assume the GNU/Linux dynamic linker is in use.
                   10308:   dynamic_linker='GNU/Linux ld.so'
                   10309:   ;;
                   10310: 
                   10311: netbsdelf*-gnu)
                   10312:   version_type=linux
                   10313:   need_lib_prefix=no
                   10314:   need_version=no
                   10315:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   10316:   soname_spec='${libname}${release}${shared_ext}$major'
                   10317:   shlibpath_var=LD_LIBRARY_PATH
                   10318:   shlibpath_overrides_runpath=no
                   10319:   hardcode_into_libs=yes
                   10320:   dynamic_linker='NetBSD ld.elf_so'
                   10321:   ;;
                   10322: 
                   10323: netbsd*)
                   10324:   version_type=sunos
                   10325:   need_lib_prefix=no
                   10326:   need_version=no
                   10327:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   10328:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   10329:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   10330:     dynamic_linker='NetBSD (a.out) ld.so'
                   10331:   else
                   10332:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   10333:     soname_spec='${libname}${release}${shared_ext}$major'
                   10334:     dynamic_linker='NetBSD ld.elf_so'
                   10335:   fi
                   10336:   shlibpath_var=LD_LIBRARY_PATH
                   10337:   shlibpath_overrides_runpath=yes
                   10338:   hardcode_into_libs=yes
                   10339:   ;;
                   10340: 
                   10341: newsos6)
                   10342:   version_type=linux
                   10343:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10344:   shlibpath_var=LD_LIBRARY_PATH
                   10345:   shlibpath_overrides_runpath=yes
                   10346:   ;;
                   10347: 
                   10348: *nto* | *qnx*)
                   10349:   version_type=qnx
                   10350:   need_lib_prefix=no
                   10351:   need_version=no
                   10352:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10353:   soname_spec='${libname}${release}${shared_ext}$major'
                   10354:   shlibpath_var=LD_LIBRARY_PATH
                   10355:   shlibpath_overrides_runpath=no
                   10356:   hardcode_into_libs=yes
                   10357:   dynamic_linker='ldqnx.so'
                   10358:   ;;
                   10359: 
                   10360: openbsd*)
                   10361:   version_type=sunos
                   10362:   sys_lib_dlsearch_path_spec="/usr/lib"
                   10363:   need_lib_prefix=no
                   10364:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   10365:   case $host_os in
                   10366:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   10367:     *)                         need_version=no  ;;
                   10368:   esac
                   10369:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   10370:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   10371:   shlibpath_var=LD_LIBRARY_PATH
                   10372:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   10373:     case $host_os in
                   10374:       openbsd2.[89] | openbsd2.[89].*)
                   10375:        shlibpath_overrides_runpath=no
                   10376:        ;;
                   10377:       *)
                   10378:        shlibpath_overrides_runpath=yes
                   10379:        ;;
                   10380:       esac
                   10381:   else
                   10382:     shlibpath_overrides_runpath=yes
                   10383:   fi
                   10384:   ;;
                   10385: 
                   10386: os2*)
                   10387:   libname_spec='$name'
                   10388:   shrext_cmds=".dll"
                   10389:   need_lib_prefix=no
                   10390:   library_names_spec='$libname${shared_ext} $libname.a'
                   10391:   dynamic_linker='OS/2 ld.exe'
                   10392:   shlibpath_var=LIBPATH
                   10393:   ;;
                   10394: 
                   10395: osf3* | osf4* | osf5*)
                   10396:   version_type=osf
                   10397:   need_lib_prefix=no
                   10398:   need_version=no
                   10399:   soname_spec='${libname}${release}${shared_ext}$major'
                   10400:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10401:   shlibpath_var=LD_LIBRARY_PATH
                   10402:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   10403:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   10404:   ;;
                   10405: 
                   10406: rdos*)
                   10407:   dynamic_linker=no
                   10408:   ;;
                   10409: 
                   10410: solaris*)
                   10411:   version_type=linux
                   10412:   need_lib_prefix=no
                   10413:   need_version=no
                   10414:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10415:   soname_spec='${libname}${release}${shared_ext}$major'
                   10416:   shlibpath_var=LD_LIBRARY_PATH
                   10417:   shlibpath_overrides_runpath=yes
                   10418:   hardcode_into_libs=yes
                   10419:   # ldd complains unless libraries are executable
                   10420:   postinstall_cmds='chmod +x $lib'
                   10421:   ;;
                   10422: 
                   10423: sunos4*)
                   10424:   version_type=sunos
                   10425:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   10426:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   10427:   shlibpath_var=LD_LIBRARY_PATH
                   10428:   shlibpath_overrides_runpath=yes
                   10429:   if test "$with_gnu_ld" = yes; then
                   10430:     need_lib_prefix=no
                   10431:   fi
                   10432:   need_version=yes
                   10433:   ;;
                   10434: 
                   10435: sysv4 | sysv4.3*)
                   10436:   version_type=linux
                   10437:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10438:   soname_spec='${libname}${release}${shared_ext}$major'
                   10439:   shlibpath_var=LD_LIBRARY_PATH
                   10440:   case $host_vendor in
                   10441:     sni)
                   10442:       shlibpath_overrides_runpath=no
                   10443:       need_lib_prefix=no
                   10444:       runpath_var=LD_RUN_PATH
                   10445:       ;;
                   10446:     siemens)
                   10447:       need_lib_prefix=no
                   10448:       ;;
                   10449:     motorola)
                   10450:       need_lib_prefix=no
                   10451:       need_version=no
                   10452:       shlibpath_overrides_runpath=no
                   10453:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   10454:       ;;
                   10455:   esac
                   10456:   ;;
                   10457: 
                   10458: sysv4*MP*)
                   10459:   if test -d /usr/nec ;then
                   10460:     version_type=linux
                   10461:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   10462:     soname_spec='$libname${shared_ext}.$major'
                   10463:     shlibpath_var=LD_LIBRARY_PATH
                   10464:   fi
                   10465:   ;;
                   10466: 
                   10467: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   10468:   version_type=freebsd-elf
                   10469:   need_lib_prefix=no
                   10470:   need_version=no
                   10471:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   10472:   soname_spec='${libname}${release}${shared_ext}$major'
                   10473:   shlibpath_var=LD_LIBRARY_PATH
                   10474:   shlibpath_overrides_runpath=yes
                   10475:   hardcode_into_libs=yes
                   10476:   if test "$with_gnu_ld" = yes; then
                   10477:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   10478:   else
                   10479:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   10480:     case $host_os in
                   10481:       sco3.2v5*)
                   10482:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   10483:        ;;
                   10484:     esac
                   10485:   fi
                   10486:   sys_lib_dlsearch_path_spec='/usr/lib'
                   10487:   ;;
                   10488: 
                   10489: tpf*)
                   10490:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   10491:   version_type=linux
                   10492:   need_lib_prefix=no
                   10493:   need_version=no
                   10494:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10495:   shlibpath_var=LD_LIBRARY_PATH
                   10496:   shlibpath_overrides_runpath=no
                   10497:   hardcode_into_libs=yes
                   10498:   ;;
                   10499: 
                   10500: uts4*)
                   10501:   version_type=linux
                   10502:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10503:   soname_spec='${libname}${release}${shared_ext}$major'
                   10504:   shlibpath_var=LD_LIBRARY_PATH
                   10505:   ;;
                   10506: 
                   10507: *)
                   10508:   dynamic_linker=no
                   10509:   ;;
                   10510: esac
                   10511: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   10512: $as_echo "$dynamic_linker" >&6; }
                   10513: test "$dynamic_linker" = no && can_build_shared=no
                   10514: 
                   10515: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   10516: if test "$GCC" = yes; then
                   10517:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   10518: fi
                   10519: 
                   10520: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   10521:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   10522: fi
                   10523: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   10524:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   10525: fi
                   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: 
                   10611: 
                   10612: 
                   10613:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   10614: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
                   10615: hardcode_action=
                   10616: if test -n "$hardcode_libdir_flag_spec" ||
                   10617:    test -n "$runpath_var" ||
                   10618:    test "X$hardcode_automatic" = "Xyes" ; then
                   10619: 
                   10620:   # We can hardcode non-existent directories.
                   10621:   if test "$hardcode_direct" != no &&
                   10622:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   10623:      # have to relink, otherwise we might link with an installed library
                   10624:      # when we should be linking with a yet-to-be-installed one
                   10625:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
                   10626:      test "$hardcode_minus_L" != no; then
                   10627:     # Linking always hardcodes the temporary library directory.
                   10628:     hardcode_action=relink
                   10629:   else
                   10630:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   10631:     hardcode_action=immediate
                   10632:   fi
                   10633: else
                   10634:   # We cannot hardcode anything, or else we can only hardcode existing
                   10635:   # directories.
                   10636:   hardcode_action=unsupported
                   10637: fi
                   10638: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
                   10639: $as_echo "$hardcode_action" >&6; }
                   10640: 
                   10641: if test "$hardcode_action" = relink ||
                   10642:    test "$inherit_rpath" = yes; then
                   10643:   # Fast installation is not supported
                   10644:   enable_fast_install=no
                   10645: elif test "$shlibpath_overrides_runpath" = yes ||
                   10646:      test "$enable_shared" = no; then
                   10647:   # Fast installation is not necessary
                   10648:   enable_fast_install=needless
                   10649: fi
                   10650: 
                   10651: 
                   10652: 
                   10653: 
                   10654: 
                   10655: 
                   10656:   if test "x$enable_dlopen" != xyes; then
                   10657:   enable_dlopen=unknown
                   10658:   enable_dlopen_self=unknown
                   10659:   enable_dlopen_self_static=unknown
                   10660: else
                   10661:   lt_cv_dlopen=no
                   10662:   lt_cv_dlopen_libs=
                   10663: 
                   10664:   case $host_os in
                   10665:   beos*)
                   10666:     lt_cv_dlopen="load_add_on"
                   10667:     lt_cv_dlopen_libs=
                   10668:     lt_cv_dlopen_self=yes
                   10669:     ;;
                   10670: 
                   10671:   mingw* | pw32* | cegcc*)
                   10672:     lt_cv_dlopen="LoadLibrary"
                   10673:     lt_cv_dlopen_libs=
                   10674:     ;;
                   10675: 
                   10676:   cygwin*)
                   10677:     lt_cv_dlopen="dlopen"
                   10678:     lt_cv_dlopen_libs=
                   10679:     ;;
                   10680: 
                   10681:   darwin*)
                   10682:   # if libdl is installed we need to link against it
                   10683:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   10684: $as_echo_n "checking for dlopen in -ldl... " >&6; }
                   10685: if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
                   10686:   $as_echo_n "(cached) " >&6
                   10687: else
                   10688:   ac_check_lib_save_LIBS=$LIBS
                   10689: LIBS="-ldl  $LIBS"
                   10690: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   10691: /* end confdefs.h.  */
                   10692: 
                   10693: /* Override any GCC internal prototype to avoid an error.
                   10694:    Use char because int might match the return type of a GCC
                   10695:    builtin and then its argument prototype would still apply.  */
                   10696: #ifdef __cplusplus
                   10697: extern "C"
                   10698: #endif
                   10699: char dlopen ();
                   10700: int
                   10701: main ()
                   10702: {
                   10703: return dlopen ();
                   10704:   ;
                   10705:   return 0;
                   10706: }
                   10707: _ACEOF
                   10708: if ac_fn_c_try_link "$LINENO"; then :
                   10709:   ac_cv_lib_dl_dlopen=yes
                   10710: else
                   10711:   ac_cv_lib_dl_dlopen=no
                   10712: fi
                   10713: rm -f core conftest.err conftest.$ac_objext \
                   10714:     conftest$ac_exeext conftest.$ac_ext
                   10715: LIBS=$ac_check_lib_save_LIBS
                   10716: fi
                   10717: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   10718: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
                   10719: if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
                   10720:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   10721: else
                   10722: 
                   10723:     lt_cv_dlopen="dyld"
                   10724:     lt_cv_dlopen_libs=
                   10725:     lt_cv_dlopen_self=yes
                   10726: 
                   10727: fi
                   10728: 
                   10729:     ;;
                   10730: 
                   10731:   *)
                   10732:     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
                   10733: if test "x$ac_cv_func_shl_load" = x""yes; then :
                   10734:   lt_cv_dlopen="shl_load"
                   10735: else
                   10736:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   10737: $as_echo_n "checking for shl_load in -ldld... " >&6; }
                   10738: if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
                   10739:   $as_echo_n "(cached) " >&6
                   10740: else
                   10741:   ac_check_lib_save_LIBS=$LIBS
                   10742: LIBS="-ldld  $LIBS"
                   10743: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   10744: /* end confdefs.h.  */
                   10745: 
                   10746: /* Override any GCC internal prototype to avoid an error.
                   10747:    Use char because int might match the return type of a GCC
                   10748:    builtin and then its argument prototype would still apply.  */
                   10749: #ifdef __cplusplus
                   10750: extern "C"
                   10751: #endif
                   10752: char shl_load ();
                   10753: int
                   10754: main ()
                   10755: {
                   10756: return shl_load ();
                   10757:   ;
                   10758:   return 0;
                   10759: }
                   10760: _ACEOF
                   10761: if ac_fn_c_try_link "$LINENO"; then :
                   10762:   ac_cv_lib_dld_shl_load=yes
                   10763: else
                   10764:   ac_cv_lib_dld_shl_load=no
                   10765: fi
                   10766: rm -f core conftest.err conftest.$ac_objext \
                   10767:     conftest$ac_exeext conftest.$ac_ext
                   10768: LIBS=$ac_check_lib_save_LIBS
                   10769: fi
                   10770: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   10771: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
                   10772: if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
                   10773:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
                   10774: else
                   10775:   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
                   10776: if test "x$ac_cv_func_dlopen" = x""yes; then :
                   10777:   lt_cv_dlopen="dlopen"
                   10778: else
                   10779:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   10780: $as_echo_n "checking for dlopen in -ldl... " >&6; }
                   10781: if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
                   10782:   $as_echo_n "(cached) " >&6
                   10783: else
                   10784:   ac_check_lib_save_LIBS=$LIBS
                   10785: LIBS="-ldl  $LIBS"
                   10786: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   10787: /* end confdefs.h.  */
                   10788: 
                   10789: /* Override any GCC internal prototype to avoid an error.
                   10790:    Use char because int might match the return type of a GCC
                   10791:    builtin and then its argument prototype would still apply.  */
                   10792: #ifdef __cplusplus
                   10793: extern "C"
                   10794: #endif
                   10795: char dlopen ();
                   10796: int
                   10797: main ()
                   10798: {
                   10799: return dlopen ();
                   10800:   ;
                   10801:   return 0;
                   10802: }
                   10803: _ACEOF
                   10804: if ac_fn_c_try_link "$LINENO"; then :
                   10805:   ac_cv_lib_dl_dlopen=yes
                   10806: else
                   10807:   ac_cv_lib_dl_dlopen=no
                   10808: fi
                   10809: rm -f core conftest.err conftest.$ac_objext \
                   10810:     conftest$ac_exeext conftest.$ac_ext
                   10811: LIBS=$ac_check_lib_save_LIBS
                   10812: fi
                   10813: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   10814: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
                   10815: if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
                   10816:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   10817: else
                   10818:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   10819: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
                   10820: if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
                   10821:   $as_echo_n "(cached) " >&6
                   10822: else
                   10823:   ac_check_lib_save_LIBS=$LIBS
                   10824: LIBS="-lsvld  $LIBS"
                   10825: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   10826: /* end confdefs.h.  */
                   10827: 
                   10828: /* Override any GCC internal prototype to avoid an error.
                   10829:    Use char because int might match the return type of a GCC
                   10830:    builtin and then its argument prototype would still apply.  */
                   10831: #ifdef __cplusplus
                   10832: extern "C"
                   10833: #endif
                   10834: char dlopen ();
                   10835: int
                   10836: main ()
                   10837: {
                   10838: return dlopen ();
                   10839:   ;
                   10840:   return 0;
                   10841: }
                   10842: _ACEOF
                   10843: if ac_fn_c_try_link "$LINENO"; then :
                   10844:   ac_cv_lib_svld_dlopen=yes
                   10845: else
                   10846:   ac_cv_lib_svld_dlopen=no
                   10847: fi
                   10848: rm -f core conftest.err conftest.$ac_objext \
                   10849:     conftest$ac_exeext conftest.$ac_ext
                   10850: LIBS=$ac_check_lib_save_LIBS
                   10851: fi
                   10852: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   10853: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
                   10854: if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
                   10855:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
                   10856: else
                   10857:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   10858: $as_echo_n "checking for dld_link in -ldld... " >&6; }
                   10859: if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
                   10860:   $as_echo_n "(cached) " >&6
                   10861: else
                   10862:   ac_check_lib_save_LIBS=$LIBS
                   10863: LIBS="-ldld  $LIBS"
                   10864: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   10865: /* end confdefs.h.  */
                   10866: 
                   10867: /* Override any GCC internal prototype to avoid an error.
                   10868:    Use char because int might match the return type of a GCC
                   10869:    builtin and then its argument prototype would still apply.  */
                   10870: #ifdef __cplusplus
                   10871: extern "C"
                   10872: #endif
                   10873: char dld_link ();
                   10874: int
                   10875: main ()
                   10876: {
                   10877: return dld_link ();
                   10878:   ;
                   10879:   return 0;
                   10880: }
                   10881: _ACEOF
                   10882: if ac_fn_c_try_link "$LINENO"; then :
                   10883:   ac_cv_lib_dld_dld_link=yes
                   10884: else
                   10885:   ac_cv_lib_dld_dld_link=no
                   10886: fi
                   10887: rm -f core conftest.err conftest.$ac_objext \
                   10888:     conftest$ac_exeext conftest.$ac_ext
                   10889: LIBS=$ac_check_lib_save_LIBS
                   10890: fi
                   10891: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   10892: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
                   10893: if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
                   10894:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
                   10895: fi
                   10896: 
                   10897: 
                   10898: fi
                   10899: 
                   10900: 
                   10901: fi
                   10902: 
                   10903: 
                   10904: fi
                   10905: 
                   10906: 
                   10907: fi
                   10908: 
                   10909: 
                   10910: fi
                   10911: 
                   10912:     ;;
                   10913:   esac
                   10914: 
                   10915:   if test "x$lt_cv_dlopen" != xno; then
                   10916:     enable_dlopen=yes
                   10917:   else
                   10918:     enable_dlopen=no
                   10919:   fi
                   10920: 
                   10921:   case $lt_cv_dlopen in
                   10922:   dlopen)
                   10923:     save_CPPFLAGS="$CPPFLAGS"
                   10924:     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
                   10925: 
                   10926:     save_LDFLAGS="$LDFLAGS"
                   10927:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
                   10928: 
                   10929:     save_LIBS="$LIBS"
                   10930:     LIBS="$lt_cv_dlopen_libs $LIBS"
                   10931: 
                   10932:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
                   10933: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
                   10934: if test "${lt_cv_dlopen_self+set}" = set; then :
                   10935:   $as_echo_n "(cached) " >&6
                   10936: else
                   10937:          if test "$cross_compiling" = yes; then :
                   10938:   lt_cv_dlopen_self=cross
                   10939: else
                   10940:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   10941:   lt_status=$lt_dlunknown
                   10942:   cat > conftest.$ac_ext <<_LT_EOF
                   10943: #line 10943 "configure"
                   10944: #include "confdefs.h"
                   10945: 
                   10946: #if HAVE_DLFCN_H
                   10947: #include <dlfcn.h>
                   10948: #endif
                   10949: 
                   10950: #include <stdio.h>
                   10951: 
                   10952: #ifdef RTLD_GLOBAL
                   10953: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   10954: #else
                   10955: #  ifdef DL_GLOBAL
                   10956: #    define LT_DLGLOBAL                DL_GLOBAL
                   10957: #  else
                   10958: #    define LT_DLGLOBAL                0
                   10959: #  endif
                   10960: #endif
                   10961: 
                   10962: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   10963:    find out it does not work in some platform. */
                   10964: #ifndef LT_DLLAZY_OR_NOW
                   10965: #  ifdef RTLD_LAZY
                   10966: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   10967: #  else
                   10968: #    ifdef DL_LAZY
                   10969: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   10970: #    else
                   10971: #      ifdef RTLD_NOW
                   10972: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   10973: #      else
                   10974: #        ifdef DL_NOW
                   10975: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   10976: #        else
                   10977: #          define LT_DLLAZY_OR_NOW     0
                   10978: #        endif
                   10979: #      endif
                   10980: #    endif
                   10981: #  endif
                   10982: #endif
                   10983: 
                   10984: void fnord() { int i=42;}
                   10985: int main ()
                   10986: {
                   10987:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   10988:   int status = $lt_dlunknown;
                   10989: 
                   10990:   if (self)
                   10991:     {
                   10992:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   10993:       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
                   10994:       /* dlclose (self); */
                   10995:     }
                   10996:   else
                   10997:     puts (dlerror ());
                   10998: 
                   10999:   return status;
                   11000: }
                   11001: _LT_EOF
                   11002:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
                   11003:   (eval $ac_link) 2>&5
                   11004:   ac_status=$?
                   11005:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   11006:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
                   11007:     (./conftest; exit; ) >&5 2>/dev/null
                   11008:     lt_status=$?
                   11009:     case x$lt_status in
                   11010:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   11011:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
                   11012:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
                   11013:     esac
                   11014:   else :
                   11015:     # compilation failed
                   11016:     lt_cv_dlopen_self=no
                   11017:   fi
                   11018: fi
                   11019: rm -fr conftest*
                   11020: 
                   11021: 
                   11022: fi
                   11023: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
                   11024: $as_echo "$lt_cv_dlopen_self" >&6; }
                   11025: 
                   11026:     if test "x$lt_cv_dlopen_self" = xyes; then
                   11027:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
                   11028:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
                   11029: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
                   11030: if test "${lt_cv_dlopen_self_static+set}" = set; then :
                   11031:   $as_echo_n "(cached) " >&6
                   11032: else
                   11033:          if test "$cross_compiling" = yes; then :
                   11034:   lt_cv_dlopen_self_static=cross
                   11035: else
                   11036:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   11037:   lt_status=$lt_dlunknown
                   11038:   cat > conftest.$ac_ext <<_LT_EOF
                   11039: #line 11039 "configure"
                   11040: #include "confdefs.h"
                   11041: 
                   11042: #if HAVE_DLFCN_H
                   11043: #include <dlfcn.h>
                   11044: #endif
                   11045: 
                   11046: #include <stdio.h>
                   11047: 
                   11048: #ifdef RTLD_GLOBAL
                   11049: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   11050: #else
                   11051: #  ifdef DL_GLOBAL
                   11052: #    define LT_DLGLOBAL                DL_GLOBAL
                   11053: #  else
                   11054: #    define LT_DLGLOBAL                0
                   11055: #  endif
                   11056: #endif
                   11057: 
                   11058: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   11059:    find out it does not work in some platform. */
                   11060: #ifndef LT_DLLAZY_OR_NOW
                   11061: #  ifdef RTLD_LAZY
                   11062: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   11063: #  else
                   11064: #    ifdef DL_LAZY
                   11065: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   11066: #    else
                   11067: #      ifdef RTLD_NOW
                   11068: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   11069: #      else
                   11070: #        ifdef DL_NOW
                   11071: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   11072: #        else
                   11073: #          define LT_DLLAZY_OR_NOW     0
                   11074: #        endif
                   11075: #      endif
                   11076: #    endif
                   11077: #  endif
                   11078: #endif
                   11079: 
                   11080: void fnord() { int i=42;}
                   11081: int main ()
                   11082: {
                   11083:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   11084:   int status = $lt_dlunknown;
                   11085: 
                   11086:   if (self)
                   11087:     {
                   11088:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   11089:       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
                   11090:       /* dlclose (self); */
                   11091:     }
                   11092:   else
                   11093:     puts (dlerror ());
                   11094: 
                   11095:   return status;
                   11096: }
                   11097: _LT_EOF
                   11098:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
                   11099:   (eval $ac_link) 2>&5
                   11100:   ac_status=$?
                   11101:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   11102:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
                   11103:     (./conftest; exit; ) >&5 2>/dev/null
                   11104:     lt_status=$?
                   11105:     case x$lt_status in
                   11106:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   11107:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
                   11108:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
                   11109:     esac
                   11110:   else :
                   11111:     # compilation failed
                   11112:     lt_cv_dlopen_self_static=no
                   11113:   fi
                   11114: fi
                   11115: rm -fr conftest*
                   11116: 
                   11117: 
                   11118: fi
                   11119: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
                   11120: $as_echo "$lt_cv_dlopen_self_static" >&6; }
                   11121:     fi
                   11122: 
                   11123:     CPPFLAGS="$save_CPPFLAGS"
                   11124:     LDFLAGS="$save_LDFLAGS"
                   11125:     LIBS="$save_LIBS"
                   11126:     ;;
                   11127:   esac
                   11128: 
                   11129:   case $lt_cv_dlopen_self in
                   11130:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   11131:   *) enable_dlopen_self=unknown ;;
                   11132:   esac
                   11133: 
                   11134:   case $lt_cv_dlopen_self_static in
                   11135:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   11136:   *) enable_dlopen_self_static=unknown ;;
                   11137:   esac
                   11138: fi
                   11139: 
                   11140: 
                   11141: 
                   11142: 
                   11143: 
                   11144: 
                   11145: 
                   11146: 
                   11147: 
                   11148: 
                   11149: 
                   11150: 
                   11151: 
                   11152: 
                   11153: 
                   11154: 
                   11155: 
                   11156: striplib=
                   11157: old_striplib=
                   11158: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
                   11159: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
                   11160: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
                   11161:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
                   11162:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
                   11163:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   11164: $as_echo "yes" >&6; }
                   11165: else
                   11166: # FIXME - insert some real tests, host_os isn't really good enough
                   11167:   case $host_os in
                   11168:   darwin*)
                   11169:     if test -n "$STRIP" ; then
                   11170:       striplib="$STRIP -x"
                   11171:       old_striplib="$STRIP -S"
                   11172:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   11173: $as_echo "yes" >&6; }
                   11174:     else
                   11175:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   11176: $as_echo "no" >&6; }
                   11177:     fi
                   11178:     ;;
                   11179:   *)
                   11180:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   11181: $as_echo "no" >&6; }
                   11182:     ;;
                   11183:   esac
                   11184: fi
                   11185: 
                   11186: 
                   11187: 
                   11188: 
                   11189: 
                   11190: 
                   11191: 
                   11192: 
                   11193: 
                   11194: 
                   11195: 
                   11196: 
                   11197:   # Report which library types will actually be built
                   11198:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
                   11199: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
                   11200:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
                   11201: $as_echo "$can_build_shared" >&6; }
                   11202: 
                   11203:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
                   11204: $as_echo_n "checking whether to build shared libraries... " >&6; }
                   11205:   test "$can_build_shared" = "no" && enable_shared=no
                   11206: 
                   11207:   # On AIX, shared libraries and static libraries use the same namespace, and
                   11208:   # are all built from PIC.
                   11209:   case $host_os in
                   11210:   aix3*)
                   11211:     test "$enable_shared" = yes && enable_static=no
                   11212:     if test -n "$RANLIB"; then
                   11213:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   11214:       postinstall_cmds='$RANLIB $lib'
                   11215:     fi
                   11216:     ;;
                   11217: 
                   11218:   aix[4-9]*)
                   11219:     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
                   11220:       test "$enable_shared" = yes && enable_static=no
                   11221:     fi
                   11222:     ;;
                   11223:   esac
                   11224:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
                   11225: $as_echo "$enable_shared" >&6; }
                   11226: 
                   11227:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
                   11228: $as_echo_n "checking whether to build static libraries... " >&6; }
                   11229:   # Make sure either enable_shared or enable_static is yes.
                   11230:   test "$enable_shared" = yes || enable_static=yes
                   11231:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
                   11232: $as_echo "$enable_static" >&6; }
                   11233: 
                   11234: 
                   11235: 
                   11236: 
                   11237: fi
                   11238: ac_ext=c
                   11239: ac_cpp='$CPP $CPPFLAGS'
                   11240: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   11241: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   11242: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   11243: 
                   11244: CC="$lt_save_CC"
                   11245: 
                   11246: 
                   11247: 
                   11248: 
                   11249: 
                   11250: 
                   11251: 
                   11252: 
                   11253: 
                   11254: 
                   11255: 
                   11256: 
                   11257: 
                   11258:         ac_config_commands="$ac_config_commands libtool"
                   11259: 
                   11260: 
                   11261: 
                   11262: 
                   11263: # Only expand once:
                   11264: 
                   11265: 
                   11266: for ac_prog in 'bison -y' byacc
                   11267: do
                   11268:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   11269: set dummy $ac_prog; ac_word=$2
                   11270: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   11271: $as_echo_n "checking for $ac_word... " >&6; }
                   11272: if test "${ac_cv_prog_YACC+set}" = set; then :
                   11273:   $as_echo_n "(cached) " >&6
                   11274: else
                   11275:   if test -n "$YACC"; then
                   11276:   ac_cv_prog_YACC="$YACC" # Let the user override the test.
                   11277: else
                   11278: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   11279: for as_dir in $PATH
                   11280: do
                   11281:   IFS=$as_save_IFS
                   11282:   test -z "$as_dir" && as_dir=.
                   11283:     for ac_exec_ext in '' $ac_executable_extensions; do
                   11284:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   11285:     ac_cv_prog_YACC="$ac_prog"
                   11286:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   11287:     break 2
                   11288:   fi
                   11289: done
                   11290:   done
                   11291: IFS=$as_save_IFS
                   11292: 
                   11293: fi
                   11294: fi
                   11295: YACC=$ac_cv_prog_YACC
                   11296: if test -n "$YACC"; then
                   11297:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
                   11298: $as_echo "$YACC" >&6; }
                   11299: else
                   11300:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   11301: $as_echo "no" >&6; }
                   11302: fi
                   11303: 
                   11304: 
                   11305:   test -n "$YACC" && break
                   11306: done
                   11307: test -n "$YACC" || YACC="yacc"
                   11308: 
                   11309: for ac_prog in flex lex
                   11310: do
                   11311:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   11312: set dummy $ac_prog; ac_word=$2
                   11313: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   11314: $as_echo_n "checking for $ac_word... " >&6; }
                   11315: if test "${ac_cv_prog_LEX+set}" = set; then :
                   11316:   $as_echo_n "(cached) " >&6
                   11317: else
                   11318:   if test -n "$LEX"; then
                   11319:   ac_cv_prog_LEX="$LEX" # Let the user override the test.
                   11320: else
                   11321: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   11322: for as_dir in $PATH
                   11323: do
                   11324:   IFS=$as_save_IFS
                   11325:   test -z "$as_dir" && as_dir=.
                   11326:     for ac_exec_ext in '' $ac_executable_extensions; do
                   11327:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   11328:     ac_cv_prog_LEX="$ac_prog"
                   11329:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   11330:     break 2
                   11331:   fi
                   11332: done
                   11333:   done
                   11334: IFS=$as_save_IFS
                   11335: 
                   11336: fi
                   11337: fi
                   11338: LEX=$ac_cv_prog_LEX
                   11339: if test -n "$LEX"; then
                   11340:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
                   11341: $as_echo "$LEX" >&6; }
                   11342: else
                   11343:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   11344: $as_echo "no" >&6; }
                   11345: fi
                   11346: 
                   11347: 
                   11348:   test -n "$LEX" && break
                   11349: done
                   11350: test -n "$LEX" || LEX=":"
                   11351: 
                   11352: if test "x$LEX" != "x:"; then
                   11353:   cat >conftest.l <<_ACEOF
                   11354: %%
                   11355: a { ECHO; }
                   11356: b { REJECT; }
                   11357: c { yymore (); }
                   11358: d { yyless (1); }
                   11359: e { yyless (input () != 0); }
                   11360: f { unput (yytext[0]); }
                   11361: . { BEGIN INITIAL; }
                   11362: %%
                   11363: #ifdef YYTEXT_POINTER
                   11364: extern char *yytext;
                   11365: #endif
                   11366: int
                   11367: main (void)
                   11368: {
                   11369:   return ! yylex () + ! yywrap ();
                   11370: }
                   11371: _ACEOF
                   11372: { { ac_try="$LEX conftest.l"
                   11373: case "(($ac_try" in
                   11374:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   11375:   *) ac_try_echo=$ac_try;;
                   11376: esac
                   11377: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   11378: $as_echo "$ac_try_echo"; } >&5
                   11379:   (eval "$LEX conftest.l") 2>&5
                   11380:   ac_status=$?
                   11381:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   11382:   test $ac_status = 0; }
                   11383: { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
                   11384: $as_echo_n "checking lex output file root... " >&6; }
                   11385: if test "${ac_cv_prog_lex_root+set}" = set; then :
                   11386:   $as_echo_n "(cached) " >&6
                   11387: else
                   11388: 
                   11389: if test -f lex.yy.c; then
                   11390:   ac_cv_prog_lex_root=lex.yy
                   11391: elif test -f lexyy.c; then
                   11392:   ac_cv_prog_lex_root=lexyy
                   11393: else
                   11394:   as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
                   11395: fi
                   11396: fi
                   11397: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
                   11398: $as_echo "$ac_cv_prog_lex_root" >&6; }
                   11399: LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
                   11400: 
                   11401: if test -z "${LEXLIB+set}"; then
                   11402:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
                   11403: $as_echo_n "checking lex library... " >&6; }
                   11404: if test "${ac_cv_lib_lex+set}" = set; then :
                   11405:   $as_echo_n "(cached) " >&6
                   11406: else
                   11407: 
                   11408:     ac_save_LIBS=$LIBS
                   11409:     ac_cv_lib_lex='none needed'
                   11410:     for ac_lib in '' -lfl -ll; do
                   11411:       LIBS="$ac_lib $ac_save_LIBS"
                   11412:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11413: /* end confdefs.h.  */
                   11414: `cat $LEX_OUTPUT_ROOT.c`
                   11415: _ACEOF
                   11416: if ac_fn_c_try_link "$LINENO"; then :
                   11417:   ac_cv_lib_lex=$ac_lib
                   11418: fi
                   11419: rm -f core conftest.err conftest.$ac_objext \
                   11420:     conftest$ac_exeext conftest.$ac_ext
                   11421:       test "$ac_cv_lib_lex" != 'none needed' && break
                   11422:     done
                   11423:     LIBS=$ac_save_LIBS
                   11424: 
                   11425: fi
                   11426: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
                   11427: $as_echo "$ac_cv_lib_lex" >&6; }
                   11428:   test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
                   11429: fi
                   11430: 
                   11431: 
                   11432: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
                   11433: $as_echo_n "checking whether yytext is a pointer... " >&6; }
                   11434: if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then :
                   11435:   $as_echo_n "(cached) " >&6
                   11436: else
                   11437:   # POSIX says lex can declare yytext either as a pointer or an array; the
                   11438: # default is implementation-dependent.  Figure out which it is, since
                   11439: # not all implementations provide the %pointer and %array declarations.
                   11440: ac_cv_prog_lex_yytext_pointer=no
                   11441: ac_save_LIBS=$LIBS
                   11442: LIBS="$LEXLIB $ac_save_LIBS"
                   11443: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11444: /* end confdefs.h.  */
                   11445: #define YYTEXT_POINTER 1
                   11446: `cat $LEX_OUTPUT_ROOT.c`
                   11447: _ACEOF
                   11448: if ac_fn_c_try_link "$LINENO"; then :
                   11449:   ac_cv_prog_lex_yytext_pointer=yes
                   11450: fi
                   11451: rm -f core conftest.err conftest.$ac_objext \
                   11452:     conftest$ac_exeext conftest.$ac_ext
                   11453: LIBS=$ac_save_LIBS
                   11454: 
                   11455: fi
                   11456: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
                   11457: $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
                   11458: if test $ac_cv_prog_lex_yytext_pointer = yes; then
                   11459: 
                   11460: $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
                   11461: 
                   11462: fi
                   11463: rm -f conftest.l $LEX_OUTPUT_ROOT.c
                   11464: 
                   11465: fi
                   11466: if test "$LEX" = :; then
                   11467:   LEX=${am_missing_run}flex
                   11468: fi
                   11469: 
                   11470: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
                   11471: $as_echo_n "checking for egrep... " >&6; }
                   11472: if test "${ac_cv_path_EGREP+set}" = set; then :
                   11473:   $as_echo_n "(cached) " >&6
                   11474: else
                   11475:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
                   11476:    then ac_cv_path_EGREP="$GREP -E"
                   11477:    else
                   11478:      if test -z "$EGREP"; then
                   11479:   ac_path_EGREP_found=false
                   11480:   # Loop through the user's path and test for each of PROGNAME-LIST
                   11481:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   11482: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   11483: do
                   11484:   IFS=$as_save_IFS
                   11485:   test -z "$as_dir" && as_dir=.
                   11486:     for ac_prog in egrep; do
                   11487:     for ac_exec_ext in '' $ac_executable_extensions; do
                   11488:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
                   11489:       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
                   11490: # Check for GNU ac_path_EGREP and select it if it is found.
                   11491:   # Check for GNU $ac_path_EGREP
                   11492: case `"$ac_path_EGREP" --version 2>&1` in
                   11493: *GNU*)
                   11494:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
                   11495: *)
                   11496:   ac_count=0
                   11497:   $as_echo_n 0123456789 >"conftest.in"
                   11498:   while :
                   11499:   do
                   11500:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   11501:     mv "conftest.tmp" "conftest.in"
                   11502:     cp "conftest.in" "conftest.nl"
                   11503:     $as_echo 'EGREP' >> "conftest.nl"
                   11504:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   11505:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   11506:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   11507:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
                   11508:       # Best one so far, save it but keep looking for a better one
                   11509:       ac_cv_path_EGREP="$ac_path_EGREP"
                   11510:       ac_path_EGREP_max=$ac_count
                   11511:     fi
                   11512:     # 10*(2^10) chars as input seems more than enough
                   11513:     test $ac_count -gt 10 && break
                   11514:   done
                   11515:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   11516: esac
                   11517: 
                   11518:       $ac_path_EGREP_found && break 3
                   11519:     done
                   11520:   done
                   11521:   done
                   11522: IFS=$as_save_IFS
                   11523:   if test -z "$ac_cv_path_EGREP"; then
                   11524:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   11525:   fi
                   11526: else
                   11527:   ac_cv_path_EGREP=$EGREP
                   11528: fi
                   11529: 
                   11530:    fi
                   11531: fi
                   11532: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
                   11533: $as_echo "$ac_cv_path_EGREP" >&6; }
                   11534:  EGREP="$ac_cv_path_EGREP"
                   11535: 
                   11536: 
                   11537: 
                   11538: CFLAGS_ADD="$CFLAGS_ADD -Wall -Werror -Wno-unused"
                   11539: 
                   11540: case $host in
                   11541: *netbsd*)
                   11542:        LDFLAGS="-Wl,-R/usr/pkg/lib $LDFLAGS"
                   11543:        ;;
                   11544: *linux*)
                   11545:        LIBS="$LIBS -lresolv"
                   11546:        INSTALL_OPTS="-o bin -g bin"
                   11547:        INCLUDE_GLIBC="include-glibc"
                   11548:        RPM="rpm"
                   11549: 
                   11550: 
                   11551: 
                   11552:        ;;
                   11553: *darwin*)
                   11554:        LIBS="$LIBS -lresolv"
                   11555:        ;;
                   11556: esac
                   11557: 
                   11558: # Look up some IPsec-related headers
                   11559: ac_fn_c_check_header_mongrel "$LINENO" "net/pfkeyv2.h" "ac_cv_header_net_pfkeyv2_h" "$ac_includes_default"
                   11560: if test "x$ac_cv_header_net_pfkeyv2_h" = x""yes; then :
                   11561:   have_net_pfkey=yes
                   11562: else
                   11563:   have_net_pfkey=no
                   11564: fi
                   11565: 
                   11566: 
                   11567: ac_fn_c_check_header_mongrel "$LINENO" "netinet/ipsec.h" "ac_cv_header_netinet_ipsec_h" "$ac_includes_default"
                   11568: if test "x$ac_cv_header_netinet_ipsec_h" = x""yes; then :
                   11569:   have_netinet_ipsec=yes
                   11570: else
                   11571:   have_netinet_ipsec=no
                   11572: fi
                   11573: 
                   11574: 
                   11575: ac_fn_c_check_header_mongrel "$LINENO" "netinet6/ipsec.h" "ac_cv_header_netinet6_ipsec_h" "$ac_includes_default"
                   11576: if test "x$ac_cv_header_netinet6_ipsec_h" = x""yes; then :
                   11577:   have_netinet6_ipsec=yes
                   11578: else
                   11579:   have_netinet6_ipsec=no
                   11580: fi
                   11581: 
                   11582: 
                   11583: ac_fn_c_check_header_mongrel "$LINENO" "netipsec/ipsec.h" "ac_cv_header_netipsec_ipsec_h" "$ac_includes_default"
                   11584: if test "x$ac_cv_header_netipsec_ipsec_h" = x""yes; then :
                   11585:   have_netipsec_ipsec=yes
                   11586: else
                   11587:   have_netipsec_ipsec=no
                   11588: fi
                   11589: 
                   11590: 
                   11591: 
                   11592: # FreeBSD >=7 has only <netipsec/ipsec.h>
                   11593: # NetBSD has <netinet6/ipsec.h> but not <netinet/ipsec.h>
                   11594: # XXX some *BSD still have both <netinet6/ipsec.h> and <netipsec/ipsec.h>,
                   11595: # we can't decide which one to use (actually <netinet6/ipsec.h>)
                   11596: 
                   11597: 
                   11598: if test "$have_netinet_ipsec$have_netinet6_ipsec$have_netipsec_ipsec" = nonoyes; then
                   11599:     have_netinet_ipsec=yes
                   11600: 
                   11601: $as_echo "#define PATH_IPSEC_H <netipsec/ipsec.h>" >>confdefs.h
                   11602: 
                   11603: else
                   11604:        if test "$have_netinet_ipsec$have_netinet6_ipsec" = noyes; then
                   11605:        have_netinet_ipsec=yes
                   11606: 
                   11607: $as_echo "#define PATH_IPSEC_H <netinet6/ipsec.h>" >>confdefs.h
                   11608: 
                   11609:        else
                   11610:                # have_netinet_ipsec will be checked a few lines below
                   11611: 
                   11612: $as_echo "#define PATH_IPSEC_H <netinet/ipsec.h>" >>confdefs.h
                   11613: 
                   11614:        fi
                   11615: fi
                   11616: 
                   11617: case "$host_os" in
                   11618:  *linux*)
                   11619: 
                   11620: # Check whether --with-kernel-headers was given.
                   11621: if test "${with_kernel_headers+set}" = set; then :
                   11622:   withval=$with_kernel_headers;  KERNEL_INCLUDE="$with_kernel_headers"
                   11623:              CONFIGURE_AMFLAGS="--with-kernel-headers=$with_kernel_headers"
                   11624: 
                   11625: else
                   11626:    KERNEL_INCLUDE="/lib/modules/`uname -r`/build/include"
                   11627: fi
                   11628: 
                   11629: 
                   11630:     as_ac_Header=`$as_echo "ac_cv_header_$KERNEL_INCLUDE/linux/pfkeyv2.h" | $as_tr_sh`
                   11631: ac_fn_c_check_header_mongrel "$LINENO" "$KERNEL_INCLUDE/linux/pfkeyv2.h" "$as_ac_Header" "$ac_includes_default"
                   11632: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   11633: 
                   11634: else
                   11635:    ac_fn_c_check_header_mongrel "$LINENO" "/usr/src/linux/include/linux/pfkeyv2.h" "ac_cv_header__usr_src_linux_include_linux_pfkeyv2_h" "$ac_includes_default"
                   11636: if test "x$ac_cv_header__usr_src_linux_include_linux_pfkeyv2_h" = x""yes; then :
                   11637:   KERNEL_INCLUDE=/usr/src/linux/include
                   11638: else
                   11639:    as_fn_error $? "Unable to find linux-2.6 kernel headers. Aborting." "$LINENO" 5
                   11640: fi
                   11641: 
                   11642: 
                   11643: fi
                   11644: 
                   11645: 
                   11646: 
                   11647:     # We need the configure script to run with correct kernel headers.
                   11648:     # However we don't want to point to kernel source tree in compile time,
                   11649:     # i.e. this will be removed from CPPFLAGS at the end of configure.
                   11650:     CPPFLAGS="-I$KERNEL_INCLUDE $CPPFLAGS"
                   11651: 
                   11652:     ac_fn_c_check_member "$LINENO" "struct sadb_x_policy" "sadb_x_policy_priority" "ac_cv_member_struct_sadb_x_policy_sadb_x_policy_priority" "#include \"$KERNEL_INCLUDE/linux/pfkeyv2.h\"
                   11653: "
                   11654: if test "x$ac_cv_member_struct_sadb_x_policy_sadb_x_policy_priority" = x""yes; then :
                   11655: 
                   11656: $as_echo "#define HAVE_PFKEY_POLICY_PRIORITY /**/" >>confdefs.h
                   11657: 
                   11658: fi
                   11659: 
                   11660: 
                   11661:     GLIBC_BUGS='-include ${top_srcdir}/src/include-glibc/glibc-bugs.h -I${top_srcdir}/src/include-glibc -I${top_builddir}/src/include-glibc'
                   11662:     GLIBC_BUGS_LOCAL="-include ${srcdir-.}/src/include-glibc/glibc-bugs.h -I${srcdir-.}/src/include-glibc -I./src/include-glibc"
                   11663:     CPPFLAGS="$GLIBC_BUGS_LOCAL $CPPFLAGS"
                   11664:     CPPFLAGS="-D_GNU_SOURCE $CPPFLAGS"
                   11665: 
                   11666:     ;;
                   11667:  *)
                   11668:     if test "$have_net_pfkey$have_netinet_ipsec" != yesyes; then
                   11669:       if test "$have_net_pfkey" = yes; then
                   11670:        as_fn_error $? "Found net/pfkeyv2.h but not netinet/ipsec.h. Aborting." "$LINENO" 5
                   11671:       else
                   11672:        as_fn_error $? "Found netinet/ipsec.h but not net/pfkeyv2.h. Aborting." "$LINENO" 5
                   11673:       fi
                   11674:     fi
                   11675:     ;;
                   11676: esac
                   11677: 
                   11678: ### Some basic toolchain checks
                   11679: 
                   11680: # Checks for header files.
                   11681: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   11682: $as_echo_n "checking for ANSI C header files... " >&6; }
                   11683: if test "${ac_cv_header_stdc+set}" = set; then :
                   11684:   $as_echo_n "(cached) " >&6
                   11685: else
                   11686:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11687: /* end confdefs.h.  */
                   11688: #include <stdlib.h>
                   11689: #include <stdarg.h>
                   11690: #include <string.h>
                   11691: #include <float.h>
                   11692: 
                   11693: int
                   11694: main ()
                   11695: {
                   11696: 
                   11697:   ;
                   11698:   return 0;
                   11699: }
                   11700: _ACEOF
                   11701: if ac_fn_c_try_compile "$LINENO"; then :
                   11702:   ac_cv_header_stdc=yes
                   11703: else
                   11704:   ac_cv_header_stdc=no
                   11705: fi
                   11706: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   11707: 
                   11708: if test $ac_cv_header_stdc = yes; then
                   11709:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   11710:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11711: /* end confdefs.h.  */
                   11712: #include <string.h>
                   11713: 
                   11714: _ACEOF
                   11715: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   11716:   $EGREP "memchr" >/dev/null 2>&1; then :
                   11717: 
                   11718: else
                   11719:   ac_cv_header_stdc=no
                   11720: fi
                   11721: rm -f conftest*
                   11722: 
                   11723: fi
                   11724: 
                   11725: if test $ac_cv_header_stdc = yes; then
                   11726:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   11727:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11728: /* end confdefs.h.  */
                   11729: #include <stdlib.h>
                   11730: 
                   11731: _ACEOF
                   11732: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   11733:   $EGREP "free" >/dev/null 2>&1; then :
                   11734: 
                   11735: else
                   11736:   ac_cv_header_stdc=no
                   11737: fi
                   11738: rm -f conftest*
                   11739: 
                   11740: fi
                   11741: 
                   11742: if test $ac_cv_header_stdc = yes; then
                   11743:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   11744:   if test "$cross_compiling" = yes; then :
                   11745:   :
                   11746: else
                   11747:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11748: /* end confdefs.h.  */
                   11749: #include <ctype.h>
                   11750: #include <stdlib.h>
                   11751: #if ((' ' & 0x0FF) == 0x020)
                   11752: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   11753: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   11754: #else
                   11755: # define ISLOWER(c) \
                   11756:                   (('a' <= (c) && (c) <= 'i') \
                   11757:                     || ('j' <= (c) && (c) <= 'r') \
                   11758:                     || ('s' <= (c) && (c) <= 'z'))
                   11759: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   11760: #endif
                   11761: 
                   11762: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   11763: int
                   11764: main ()
                   11765: {
                   11766:   int i;
                   11767:   for (i = 0; i < 256; i++)
                   11768:     if (XOR (islower (i), ISLOWER (i))
                   11769:        || toupper (i) != TOUPPER (i))
                   11770:       return 2;
                   11771:   return 0;
                   11772: }
                   11773: _ACEOF
                   11774: if ac_fn_c_try_run "$LINENO"; then :
                   11775: 
                   11776: else
                   11777:   ac_cv_header_stdc=no
                   11778: fi
                   11779: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   11780:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   11781: fi
                   11782: 
                   11783: fi
                   11784: fi
                   11785: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   11786: $as_echo "$ac_cv_header_stdc" >&6; }
                   11787: if test $ac_cv_header_stdc = yes; then
                   11788: 
                   11789: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
                   11790: 
                   11791: fi
                   11792: 
                   11793: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
                   11794: $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
                   11795: if test "${ac_cv_header_sys_wait_h+set}" = set; then :
                   11796:   $as_echo_n "(cached) " >&6
                   11797: else
                   11798:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11799: /* end confdefs.h.  */
                   11800: #include <sys/types.h>
                   11801: #include <sys/wait.h>
                   11802: #ifndef WEXITSTATUS
                   11803: # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
                   11804: #endif
                   11805: #ifndef WIFEXITED
                   11806: # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
                   11807: #endif
                   11808: 
                   11809: int
                   11810: main ()
                   11811: {
                   11812:   int s;
                   11813:   wait (&s);
                   11814:   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
                   11815:   ;
                   11816:   return 0;
                   11817: }
                   11818: _ACEOF
                   11819: if ac_fn_c_try_compile "$LINENO"; then :
                   11820:   ac_cv_header_sys_wait_h=yes
                   11821: else
                   11822:   ac_cv_header_sys_wait_h=no
                   11823: fi
                   11824: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   11825: fi
                   11826: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
                   11827: $as_echo "$ac_cv_header_sys_wait_h" >&6; }
                   11828: if test $ac_cv_header_sys_wait_h = yes; then
                   11829: 
                   11830: $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
                   11831: 
                   11832: fi
                   11833: 
                   11834: for ac_header in limits.h sys/time.h unistd.h stdarg.h varargs.h
                   11835: do :
                   11836:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   11837: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   11838: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   11839:   cat >>confdefs.h <<_ACEOF
                   11840: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   11841: _ACEOF
                   11842: 
                   11843: fi
                   11844: 
                   11845: done
                   11846: 
                   11847: for ac_header in shadow.h
                   11848: do :
                   11849:   ac_fn_c_check_header_mongrel "$LINENO" "shadow.h" "ac_cv_header_shadow_h" "$ac_includes_default"
                   11850: if test "x$ac_cv_header_shadow_h" = x""yes; then :
                   11851:   cat >>confdefs.h <<_ACEOF
                   11852: #define HAVE_SHADOW_H 1
                   11853: _ACEOF
                   11854: 
                   11855: fi
                   11856: 
                   11857: done
                   11858: 
                   11859: 
                   11860: # Checks for typedefs, structures, and compiler characteristics.
                   11861: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
                   11862: $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
                   11863: if test "${ac_cv_c_const+set}" = set; then :
                   11864:   $as_echo_n "(cached) " >&6
                   11865: else
                   11866:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11867: /* end confdefs.h.  */
                   11868: 
                   11869: int
                   11870: main ()
                   11871: {
                   11872: /* FIXME: Include the comments suggested by Paul. */
                   11873: #ifndef __cplusplus
                   11874:   /* Ultrix mips cc rejects this.  */
                   11875:   typedef int charset[2];
                   11876:   const charset cs;
                   11877:   /* SunOS 4.1.1 cc rejects this.  */
                   11878:   char const *const *pcpcc;
                   11879:   char **ppc;
                   11880:   /* NEC SVR4.0.2 mips cc rejects this.  */
                   11881:   struct point {int x, y;};
                   11882:   static struct point const zero = {0,0};
                   11883:   /* AIX XL C 1.02.0.0 rejects this.
                   11884:      It does not let you subtract one const X* pointer from another in
                   11885:      an arm of an if-expression whose if-part is not a constant
                   11886:      expression */
                   11887:   const char *g = "string";
                   11888:   pcpcc = &g + (g ? g-g : 0);
                   11889:   /* HPUX 7.0 cc rejects these. */
                   11890:   ++pcpcc;
                   11891:   ppc = (char**) pcpcc;
                   11892:   pcpcc = (char const *const *) ppc;
                   11893:   { /* SCO 3.2v4 cc rejects this.  */
                   11894:     char *t;
                   11895:     char const *s = 0 ? (char *) 0 : (char const *) 0;
                   11896: 
                   11897:     *t++ = 0;
                   11898:     if (s) return 0;
                   11899:   }
                   11900:   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
                   11901:     int x[] = {25, 17};
                   11902:     const int *foo = &x[0];
                   11903:     ++foo;
                   11904:   }
                   11905:   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
                   11906:     typedef const int *iptr;
                   11907:     iptr p = 0;
                   11908:     ++p;
                   11909:   }
                   11910:   { /* AIX XL C 1.02.0.0 rejects this saying
                   11911:        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
                   11912:     struct s { int j; const int *ap[3]; };
                   11913:     struct s *b; b->j = 5;
                   11914:   }
                   11915:   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
                   11916:     const int foo = 10;
                   11917:     if (!foo) return 0;
                   11918:   }
                   11919:   return !cs[0] && !zero.x;
                   11920: #endif
                   11921: 
                   11922:   ;
                   11923:   return 0;
                   11924: }
                   11925: _ACEOF
                   11926: if ac_fn_c_try_compile "$LINENO"; then :
                   11927:   ac_cv_c_const=yes
                   11928: else
                   11929:   ac_cv_c_const=no
                   11930: fi
                   11931: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   11932: fi
                   11933: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
                   11934: $as_echo "$ac_cv_c_const" >&6; }
                   11935: if test $ac_cv_c_const = no; then
                   11936: 
                   11937: $as_echo "#define const /**/" >>confdefs.h
                   11938: 
                   11939: fi
                   11940: 
                   11941: ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
                   11942: if test "x$ac_cv_type_pid_t" = x""yes; then :
                   11943: 
                   11944: else
                   11945: 
                   11946: cat >>confdefs.h <<_ACEOF
                   11947: #define pid_t int
                   11948: _ACEOF
                   11949: 
                   11950: fi
                   11951: 
                   11952: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
                   11953: if test "x$ac_cv_type_size_t" = x""yes; then :
                   11954: 
                   11955: else
                   11956: 
                   11957: cat >>confdefs.h <<_ACEOF
                   11958: #define size_t unsigned int
                   11959: _ACEOF
                   11960: 
                   11961: fi
                   11962: 
                   11963: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
                   11964: $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
                   11965: if test "${ac_cv_header_time+set}" = set; then :
                   11966:   $as_echo_n "(cached) " >&6
                   11967: else
                   11968:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11969: /* end confdefs.h.  */
                   11970: #include <sys/types.h>
                   11971: #include <sys/time.h>
                   11972: #include <time.h>
                   11973: 
                   11974: int
                   11975: main ()
                   11976: {
                   11977: if ((struct tm *) 0)
                   11978: return 0;
                   11979:   ;
                   11980:   return 0;
                   11981: }
                   11982: _ACEOF
                   11983: if ac_fn_c_try_compile "$LINENO"; then :
                   11984:   ac_cv_header_time=yes
                   11985: else
                   11986:   ac_cv_header_time=no
                   11987: fi
                   11988: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   11989: fi
                   11990: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
                   11991: $as_echo "$ac_cv_header_time" >&6; }
                   11992: if test $ac_cv_header_time = yes; then
                   11993: 
                   11994: $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
                   11995: 
                   11996: fi
                   11997: 
                   11998: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
                   11999: $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
                   12000: if test "${ac_cv_struct_tm+set}" = set; then :
                   12001:   $as_echo_n "(cached) " >&6
                   12002: else
                   12003:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12004: /* end confdefs.h.  */
                   12005: #include <sys/types.h>
                   12006: #include <time.h>
                   12007: 
                   12008: int
                   12009: main ()
                   12010: {
                   12011: struct tm tm;
                   12012:                                     int *p = &tm.tm_sec;
                   12013:                                     return !p;
                   12014:   ;
                   12015:   return 0;
                   12016: }
                   12017: _ACEOF
                   12018: if ac_fn_c_try_compile "$LINENO"; then :
                   12019:   ac_cv_struct_tm=time.h
                   12020: else
                   12021:   ac_cv_struct_tm=sys/time.h
                   12022: fi
                   12023: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   12024: fi
                   12025: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
                   12026: $as_echo "$ac_cv_struct_tm" >&6; }
                   12027: if test $ac_cv_struct_tm = sys/time.h; then
                   12028: 
                   12029: $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
                   12030: 
                   12031: fi
                   12032: 
                   12033: 
                   12034: # Checks for library functions.
                   12035: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
                   12036: $as_echo_n "checking for working memcmp... " >&6; }
                   12037: if test "${ac_cv_func_memcmp_working+set}" = set; then :
                   12038:   $as_echo_n "(cached) " >&6
                   12039: else
                   12040:   if test "$cross_compiling" = yes; then :
                   12041:   ac_cv_func_memcmp_working=no
                   12042: else
                   12043:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12044: /* end confdefs.h.  */
                   12045: $ac_includes_default
                   12046: int
                   12047: main ()
                   12048: {
                   12049: 
                   12050:   /* Some versions of memcmp are not 8-bit clean.  */
                   12051:   char c0 = '\100', c1 = '\200', c2 = '\201';
                   12052:   if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
                   12053:     return 1;
                   12054: 
                   12055:   /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
                   12056:      or more and with at least one buffer not starting on a 4-byte boundary.
                   12057:      William Lewis provided this test program.   */
                   12058:   {
                   12059:     char foo[21];
                   12060:     char bar[21];
                   12061:     int i;
                   12062:     for (i = 0; i < 4; i++)
                   12063:       {
                   12064:        char *a = foo + i;
                   12065:        char *b = bar + i;
                   12066:        strcpy (a, "--------01111111");
                   12067:        strcpy (b, "--------10000000");
                   12068:        if (memcmp (a, b, 16) >= 0)
                   12069:          return 1;
                   12070:       }
                   12071:     return 0;
                   12072:   }
                   12073: 
                   12074:   ;
                   12075:   return 0;
                   12076: }
                   12077: _ACEOF
                   12078: if ac_fn_c_try_run "$LINENO"; then :
                   12079:   ac_cv_func_memcmp_working=yes
                   12080: else
                   12081:   ac_cv_func_memcmp_working=no
                   12082: fi
                   12083: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   12084:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   12085: fi
                   12086: 
                   12087: fi
                   12088: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
                   12089: $as_echo "$ac_cv_func_memcmp_working" >&6; }
                   12090: test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
                   12091:   *" memcmp.$ac_objext "* ) ;;
                   12092:   *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
                   12093:  ;;
                   12094: esac
                   12095: 
                   12096: 
                   12097: { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
                   12098: $as_echo_n "checking return type of signal handlers... " >&6; }
                   12099: if test "${ac_cv_type_signal+set}" = set; then :
                   12100:   $as_echo_n "(cached) " >&6
                   12101: else
                   12102:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12103: /* end confdefs.h.  */
                   12104: #include <sys/types.h>
                   12105: #include <signal.h>
                   12106: 
                   12107: int
                   12108: main ()
                   12109: {
                   12110: return *(signal (0, 0)) (0) == 1;
                   12111:   ;
                   12112:   return 0;
                   12113: }
                   12114: _ACEOF
                   12115: if ac_fn_c_try_compile "$LINENO"; then :
                   12116:   ac_cv_type_signal=int
                   12117: else
                   12118:   ac_cv_type_signal=void
                   12119: fi
                   12120: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   12121: fi
                   12122: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
                   12123: $as_echo "$ac_cv_type_signal" >&6; }
                   12124: 
                   12125: cat >>confdefs.h <<_ACEOF
                   12126: #define RETSIGTYPE $ac_cv_type_signal
                   12127: _ACEOF
                   12128: 
                   12129: 
                   12130: for ac_func in vprintf
                   12131: do :
                   12132:   ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
                   12133: if test "x$ac_cv_func_vprintf" = x""yes; then :
                   12134:   cat >>confdefs.h <<_ACEOF
                   12135: #define HAVE_VPRINTF 1
                   12136: _ACEOF
                   12137: 
                   12138: ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
                   12139: if test "x$ac_cv_func__doprnt" = x""yes; then :
                   12140: 
                   12141: $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
                   12142: 
                   12143: fi
                   12144: 
                   12145: fi
                   12146: done
                   12147: 
                   12148: 
                   12149: for ac_func in gettimeofday select socket strerror strtol strtoul strlcpy strlcat
                   12150: do :
                   12151:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   12152: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   12153: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   12154:   cat >>confdefs.h <<_ACEOF
                   12155: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   12156: _ACEOF
                   12157: 
                   12158: fi
                   12159: done
                   12160: 
                   12161: ac_fn_c_check_func "$LINENO" "strdup" "ac_cv_func_strdup"
                   12162: if test "x$ac_cv_func_strdup" = x""yes; then :
                   12163:   $as_echo "#define HAVE_STRDUP 1" >>confdefs.h
                   12164: 
                   12165: else
                   12166:   case " $LIBOBJS " in
                   12167:   *" strdup.$ac_objext "* ) ;;
                   12168:   *) LIBOBJS="$LIBOBJS strdup.$ac_objext"
                   12169:  ;;
                   12170: esac
                   12171: 
                   12172: fi
                   12173: 
                   12174: 
                   12175: 
                   12176:        saved_CFLAGS=$CFLAGS
                   12177:        CFLAGS="-Wall -O2"
                   12178:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an implementation of va_copy()" >&5
                   12179: $as_echo_n "checking for an implementation of va_copy()... " >&6; }
                   12180: if test "${ac_cv_va_copy+set}" = set; then :
                   12181:   $as_echo_n "(cached) " >&6
                   12182: else
                   12183: 
                   12184:                if test "$cross_compiling" = yes; then :
                   12185:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cross compiling... Unable to test va_copy" >&5
                   12186: $as_echo "$as_me: WARNING: Cross compiling... Unable to test va_copy" >&2;}
                   12187:                ac_cv_va_copy=no
                   12188: else
                   12189:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12190: /* end confdefs.h.  */
                   12191: #include <stdarg.h>
                   12192:                void func (int i, ...) {
                   12193:                        va_list args1, args2;
                   12194:                        va_start (args1, i);
                   12195:                        va_copy (args2, args1);
                   12196:                        if (va_arg (args1, int) != 1 || va_arg (args2, int) != 1)
                   12197:                                exit (1);
                   12198:                        va_end (args1);
                   12199:                        va_end (args2);
                   12200:                }
                   12201:                int main() {
                   12202:                        func (0, 1);
                   12203:                        return 0;
                   12204:                }
                   12205: _ACEOF
                   12206: if ac_fn_c_try_run "$LINENO"; then :
                   12207:   ac_cv_va_copy=yes
                   12208: else
                   12209:   ac_cv_va_copy=no
                   12210: fi
                   12211: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   12212:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   12213: fi
                   12214: 
                   12215: 
                   12216: fi
                   12217: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_va_copy" >&5
                   12218: $as_echo "$ac_cv_va_copy" >&6; }
                   12219:        if test x$ac_cv_va_copy != xyes; then
                   12220:                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an implementation of __va_copy()" >&5
                   12221: $as_echo_n "checking for an implementation of __va_copy()... " >&6; }
                   12222: if test "${ac_cv___va_copy+set}" = set; then :
                   12223:   $as_echo_n "(cached) " >&6
                   12224: else
                   12225: 
                   12226:                        if test "$cross_compiling" = yes; then :
                   12227:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cross compiling... Unable to test __va_copy" >&5
                   12228: $as_echo "$as_me: WARNING: Cross compiling... Unable to test __va_copy" >&2;}
                   12229:                        ac_cv___va_copy=no
                   12230: else
                   12231:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12232: /* end confdefs.h.  */
                   12233: #include <stdarg.h>
                   12234:                        void func (int i, ...) {
                   12235:                                va_list args1, args2;
                   12236:                                va_start (args1, i);
                   12237:                                __va_copy (args2, args1);
                   12238:                                if (va_arg (args1, int) != 1 || va_arg (args2, int) != 1)
                   12239:                                        exit (1);
                   12240:                                va_end (args1);
                   12241:                                va_end (args2);
                   12242:                        }
                   12243:                        int main() {
                   12244:                                func (0, 1);
                   12245:                                return 0;
                   12246:                        }
                   12247: _ACEOF
                   12248: if ac_fn_c_try_run "$LINENO"; then :
                   12249:   ac_cv___va_copy=yes
                   12250: else
                   12251:   ac_cv___va_copy=no
                   12252: fi
                   12253: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   12254:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   12255: fi
                   12256: 
                   12257: 
                   12258: fi
                   12259: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___va_copy" >&5
                   12260: $as_echo "$ac_cv___va_copy" >&6; }
                   12261:        fi
                   12262: 
                   12263:        if test "x$ac_cv_va_copy" = "xyes"; then
                   12264:                va_copy_func=va_copy
                   12265:        elif test "x$ac_cv___va_copy" = "xyes"; then
                   12266:                va_copy_func=__va_copy
                   12267:        fi
                   12268: 
                   12269:        if test -n "$va_copy_func"; then
                   12270: 
                   12271: cat >>confdefs.h <<_ACEOF
                   12272: #define VA_COPY $va_copy_func
                   12273: _ACEOF
                   12274: 
                   12275:        else
                   12276:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Hmm, neither va_copy() nor __va_copy() found." >&5
                   12277: $as_echo "$as_me: WARNING: Hmm, neither va_copy() nor __va_copy() found." >&2;}
                   12278:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Using a generic fallback." >&5
                   12279: $as_echo "$as_me: WARNING: Using a generic fallback." >&2;}
                   12280:        fi
                   12281:        CFLAGS=$saved_CFLAGS
                   12282:        unset saved_CFLAGS
                   12283: 
                   12284: 
                   12285: # Check if printf accepts "%z" type modifier for size_t argument
                   12286: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if printf accepts %z" >&5
                   12287: $as_echo_n "checking if printf accepts %z... " >&6; }
                   12288: saved_CFLAGS=$CFLAGS
                   12289: CFLAGS="$CFLAGS -Wall -Werror"
                   12290: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12291: /* end confdefs.h.  */
                   12292: 
                   12293: #include <stdio.h>
                   12294: 
                   12295: int
                   12296: main ()
                   12297: {
                   12298: 
                   12299: printf("%zu\n", (size_t)-1);
                   12300: 
                   12301:   ;
                   12302:   return 0;
                   12303: }
                   12304: _ACEOF
                   12305: if ac_fn_c_try_compile "$LINENO"; then :
                   12306:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   12307: $as_echo "yes" >&6; }
                   12308: else
                   12309:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12310: $as_echo "no" >&6; };
                   12311:         CFLAGS_ADD="$CFLAGS_ADD -Wno-format";
                   12312: 
                   12313: $as_echo "#define BROKEN_PRINTF /**/" >>confdefs.h
                   12314: 
                   12315: 
                   12316: fi
                   12317: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   12318: CFLAGS=$saved_CFLAGS
                   12319: 
                   12320: # Can we use __func__ macro?
                   12321: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __func__ is available" >&5
                   12322: $as_echo_n "checking if __func__ is available... " >&6; }
                   12323: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12324: /* end confdefs.h.  */
                   12325: #include <stdio.h>
                   12326: 
                   12327: int
                   12328: main ()
                   12329: {
                   12330: char *x = __func__;
                   12331:   ;
                   12332:   return 0;
                   12333: }
                   12334: _ACEOF
                   12335: if ac_fn_c_try_compile "$LINENO"; then :
                   12336: 
                   12337: $as_echo "#define HAVE_FUNC_MACRO /**/" >>confdefs.h
                   12338: 
                   12339:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   12340: $as_echo "yes" >&6; }
                   12341: else
                   12342:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12343: $as_echo "no" >&6; }
                   12344: fi
                   12345: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   12346: 
                   12347: # Check if readline support is requested
                   12348: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if readline support is requested" >&5
                   12349: $as_echo_n "checking if readline support is requested... " >&6; }
                   12350: 
                   12351: # Check whether --with-readline was given.
                   12352: if test "${with_readline+set}" = set; then :
                   12353:   withval=$with_readline; with_readline="$withval"
                   12354: else
                   12355:   with_readline="yes"
                   12356: fi
                   12357: 
                   12358: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_readline" >&5
                   12359: $as_echo "$with_readline" >&6; }
                   12360: 
                   12361: # Is readline available?
                   12362: if test $with_readline != "no"; then
                   12363:        ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
                   12364: if test "x$ac_cv_header_readline_readline_h" = x""yes; then :
                   12365:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
                   12366: $as_echo_n "checking for readline in -lreadline... " >&6; }
                   12367: if test "${ac_cv_lib_readline_readline+set}" = set; then :
                   12368:   $as_echo_n "(cached) " >&6
                   12369: else
                   12370:   ac_check_lib_save_LIBS=$LIBS
                   12371: LIBS="-lreadline  $LIBS"
                   12372: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12373: /* end confdefs.h.  */
                   12374: 
                   12375: /* Override any GCC internal prototype to avoid an error.
                   12376:    Use char because int might match the return type of a GCC
                   12377:    builtin and then its argument prototype would still apply.  */
                   12378: #ifdef __cplusplus
                   12379: extern "C"
                   12380: #endif
                   12381: char readline ();
                   12382: int
                   12383: main ()
                   12384: {
                   12385: return readline ();
                   12386:   ;
                   12387:   return 0;
                   12388: }
                   12389: _ACEOF
                   12390: if ac_fn_c_try_link "$LINENO"; then :
                   12391:   ac_cv_lib_readline_readline=yes
                   12392: else
                   12393:   ac_cv_lib_readline_readline=no
                   12394: fi
                   12395: rm -f core conftest.err conftest.$ac_objext \
                   12396:     conftest$ac_exeext conftest.$ac_ext
                   12397: LIBS=$ac_check_lib_save_LIBS
                   12398: fi
                   12399: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
                   12400: $as_echo "$ac_cv_lib_readline_readline" >&6; }
                   12401: if test "x$ac_cv_lib_readline_readline" = x""yes; then :
                   12402: 
                   12403: 
                   12404: $as_echo "#define HAVE_READLINE /**/" >>confdefs.h
                   12405: 
                   12406:                                LIBS="$LIBS -lreadline"
                   12407: 
                   12408: fi
                   12409: 
                   12410: fi
                   12411: 
                   12412: 
                   12413: fi
                   12414: 
                   12415: 
                   12416: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if --with-flex option is specified" >&5
                   12417: $as_echo_n "checking if --with-flex option is specified... " >&6; }
                   12418: 
                   12419: # Check whether --with-flexdir was given.
                   12420: if test "${with_flexdir+set}" = set; then :
                   12421:   withval=$with_flexdir; flexdir="$withval"
                   12422: fi
                   12423: 
                   12424: { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flexdir-dirdefault}" >&5
                   12425: $as_echo "${flexdir-dirdefault}" >&6; }
                   12426: 
                   12427: if test "x$flexdir" != "x"; then
                   12428:        LIBS="$LIBS $flexdir/libfl.a"
                   12429: fi
                   12430: 
                   12431: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if --with-flexlib option is specified" >&5
                   12432: $as_echo_n "checking if --with-flexlib option is specified... " >&6; }
                   12433: 
                   12434: # Check whether --with-flexlib was given.
                   12435: if test "${with_flexlib+set}" = set; then :
                   12436:   withval=$with_flexlib; flexlib="$withval"
                   12437: fi
                   12438: 
                   12439: { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flexlib-default}" >&5
                   12440: $as_echo "${flexlib-default}" >&6; }
                   12441: 
                   12442: if test "x$flexlib" != "x"; then
                   12443:        LIBS="$LIBS $flexlib"
                   12444: fi
                   12445: 
                   12446: # Check if a different OpenSSL directory was specified
                   12447: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if --with-openssl option is specified" >&5
                   12448: $as_echo_n "checking if --with-openssl option is specified... " >&6; }
                   12449: 
                   12450: # Check whether --with-openssl was given.
                   12451: if test "${with_openssl+set}" = set; then :
                   12452:   withval=$with_openssl; crypto_dir=$withval
                   12453: fi
                   12454: 
                   12455: { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${crypto_dir-default}" >&5
                   12456: $as_echo "${crypto_dir-default}" >&6; }
                   12457: 
                   12458: if test "x$crypto_dir" != "x"; then
                   12459:        LIBS="$LIBS -L${crypto_dir}/lib"
                   12460:        CPPFLAGS="-I${crypto_dir}/include $CPPFLAGS"
                   12461: fi
                   12462: { $as_echo "$as_me:${as_lineno-$LINENO}: checking openssl version" >&5
                   12463: $as_echo_n "checking openssl version... " >&6; }
                   12464: 
                   12465: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12466: /* end confdefs.h.  */
                   12467: #include <openssl/opensslv.h>
                   12468: 
                   12469: int
                   12470: main ()
                   12471: {
                   12472: #if OPENSSL_VERSION_NUMBER < 0x0090602fL
                   12473: #error OpenSSL version is too old ...
                   12474: #endif
                   12475:   ;
                   12476:   return 0;
                   12477: }
                   12478: _ACEOF
                   12479: if ac_fn_c_try_compile "$LINENO"; then :
                   12480:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
                   12481: $as_echo "ok" >&6; }
                   12482: else
                   12483:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: too old" >&5
                   12484: $as_echo "too old" >&6; }
                   12485: as_fn_error $? "OpenSSL version must be 0.9.6 or higher. Aborting." "$LINENO" 5
                   12486: 
                   12487: fi
                   12488: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   12489: 
                   12490: for ac_header in openssl/engine.h
                   12491: do :
                   12492:   ac_fn_c_check_header_mongrel "$LINENO" "openssl/engine.h" "ac_cv_header_openssl_engine_h" "$ac_includes_default"
                   12493: if test "x$ac_cv_header_openssl_engine_h" = x""yes; then :
                   12494:   cat >>confdefs.h <<_ACEOF
                   12495: #define HAVE_OPENSSL_ENGINE_H 1
                   12496: _ACEOF
                   12497: 
                   12498: fi
                   12499: 
                   12500: done
                   12501: 
                   12502: 
                   12503: # checking rijndael
                   12504: for ac_header in openssl/aes.h
                   12505: do :
                   12506:   ac_fn_c_check_header_mongrel "$LINENO" "openssl/aes.h" "ac_cv_header_openssl_aes_h" "$ac_includes_default"
                   12507: if test "x$ac_cv_header_openssl_aes_h" = x""yes; then :
                   12508:   cat >>confdefs.h <<_ACEOF
                   12509: #define HAVE_OPENSSL_AES_H 1
                   12510: _ACEOF
                   12511: 
                   12512: else
                   12513:   CRYPTOBJS="$CRYPTOBJS rijndael-api-fst.o rijndael-alg-fst.o"
                   12514: fi
                   12515: 
                   12516: done
                   12517: 
                   12518: 
                   12519: # checking sha2
                   12520: { $as_echo "$as_me:${as_lineno-$LINENO}: checking sha2 support" >&5
                   12521: $as_echo_n "checking sha2 support... " >&6; }
                   12522: 
                   12523: $as_echo "#define WITH_SHA2 /**/" >>confdefs.h
                   12524: 
                   12525: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   12526: $as_echo "yes" >&6; }
                   12527: ac_fn_c_check_header_mongrel "$LINENO" "openssl/sha2.h" "ac_cv_header_openssl_sha2_h" "$ac_includes_default"
                   12528: if test "x$ac_cv_header_openssl_sha2_h" = x""yes; then :
                   12529: 
                   12530: else
                   12531: 
                   12532:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sha2 is defined in openssl/sha.h" >&5
                   12533: $as_echo_n "checking if sha2 is defined in openssl/sha.h... " >&6; }
                   12534:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12535: /* end confdefs.h.  */
                   12536: 
                   12537:                #ifdef HAVE_SYS_TYPES_H
                   12538:                #include <sys/types.h>
                   12539:                #endif
                   12540:                #include <openssl/sha.h>
                   12541: 
                   12542: int
                   12543: main ()
                   12544: {
                   12545: 
                   12546:                SHA256_CTX ctx;
                   12547: 
                   12548:   ;
                   12549:   return 0;
                   12550: }
                   12551: _ACEOF
                   12552: if ac_fn_c_try_compile "$LINENO"; then :
                   12553: 
                   12554:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   12555: $as_echo "yes" >&6; }
                   12556: 
                   12557: $as_echo "#define HAVE_SHA2_IN_SHA_H /**/" >>confdefs.h
                   12558: 
                   12559: 
                   12560: else
                   12561:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12562: $as_echo "no" >&6; }
                   12563:            case " $LIBOBJS " in
                   12564:   *" sha2.$ac_objext "* ) ;;
                   12565:   *) LIBOBJS="$LIBOBJS sha2.$ac_objext"
                   12566:  ;;
                   12567: esac
                   12568: 
                   12569:            CRYPTOBJS="$CRYPTOBJS sha2.o"
                   12570: 
                   12571: fi
                   12572: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   12573: 
                   12574:        CPPFLAGS_ADD="$CPPFLAGS_ADD -I\${top_srcdir}/src/racoon/missing"
                   12575: 
                   12576: fi
                   12577: 
                   12578: 
                   12579: 
                   12580: 
                   12581: # checking camellia
                   12582: for ac_header in openssl/camellia.h
                   12583: do :
                   12584:   ac_fn_c_check_header_mongrel "$LINENO" "openssl/camellia.h" "ac_cv_header_openssl_camellia_h" "$ac_includes_default"
                   12585: if test "x$ac_cv_header_openssl_camellia_h" = x""yes; then :
                   12586:   cat >>confdefs.h <<_ACEOF
                   12587: #define HAVE_OPENSSL_CAMELLIA_H 1
                   12588: _ACEOF
                   12589: 
                   12590: fi
                   12591: 
                   12592: done
                   12593: 
                   12594: 
                   12595: 
                   12596: # Option --enable-adminport
                   12597: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if --enable-adminport option is specified" >&5
                   12598: $as_echo_n "checking if --enable-adminport option is specified... " >&6; }
                   12599: # Check whether --enable-adminport was given.
                   12600: if test "${enable_adminport+set}" = set; then :
                   12601:   enableval=$enable_adminport;
                   12602: else
                   12603:   enable_adminport=no
                   12604: fi
                   12605: 
                   12606: if test $enable_adminport = "yes"; then
                   12607: 
                   12608: $as_echo "#define ENABLE_ADMINPORT /**/" >>confdefs.h
                   12609: 
                   12610: fi
                   12611: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_adminport" >&5
                   12612: $as_echo "$enable_adminport" >&6; }
                   12613: 
                   12614: # Option RC5
                   12615: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if --enable-rc5 option is specified" >&5
                   12616: $as_echo_n "checking if --enable-rc5 option is specified... " >&6; }
                   12617: # Check whether --enable-rc5 was given.
                   12618: if test "${enable_rc5+set}" = set; then :
                   12619:   enableval=$enable_rc5;
                   12620: else
                   12621:   enable_rc5=no
                   12622: fi
                   12623: 
                   12624: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_rc5" >&5
                   12625: $as_echo "$enable_rc5" >&6; }
                   12626: 
                   12627: if test $enable_rc5 = "yes"; then
                   12628:        for ac_header in openssl/rc5.h
                   12629: do :
                   12630:   ac_fn_c_check_header_mongrel "$LINENO" "openssl/rc5.h" "ac_cv_header_openssl_rc5_h" "$ac_includes_default"
                   12631: if test "x$ac_cv_header_openssl_rc5_h" = x""yes; then :
                   12632:   cat >>confdefs.h <<_ACEOF
                   12633: #define HAVE_OPENSSL_RC5_H 1
                   12634: _ACEOF
                   12635: 
                   12636: fi
                   12637: 
                   12638: done
                   12639: 
                   12640:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RC5_32_encrypt in -lcrypto_rc5" >&5
                   12641: $as_echo_n "checking for RC5_32_encrypt in -lcrypto_rc5... " >&6; }
                   12642: if test "${ac_cv_lib_crypto_rc5_RC5_32_encrypt+set}" = set; then :
                   12643:   $as_echo_n "(cached) " >&6
                   12644: else
                   12645:   ac_check_lib_save_LIBS=$LIBS
                   12646: LIBS="-lcrypto_rc5  $LIBS"
                   12647: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12648: /* end confdefs.h.  */
                   12649: 
                   12650: /* Override any GCC internal prototype to avoid an error.
                   12651:    Use char because int might match the return type of a GCC
                   12652:    builtin and then its argument prototype would still apply.  */
                   12653: #ifdef __cplusplus
                   12654: extern "C"
                   12655: #endif
                   12656: char RC5_32_encrypt ();
                   12657: int
                   12658: main ()
                   12659: {
                   12660: return RC5_32_encrypt ();
                   12661:   ;
                   12662:   return 0;
                   12663: }
                   12664: _ACEOF
                   12665: if ac_fn_c_try_link "$LINENO"; then :
                   12666:   ac_cv_lib_crypto_rc5_RC5_32_encrypt=yes
                   12667: else
                   12668:   ac_cv_lib_crypto_rc5_RC5_32_encrypt=no
                   12669: fi
                   12670: rm -f core conftest.err conftest.$ac_objext \
                   12671:     conftest$ac_exeext conftest.$ac_ext
                   12672: LIBS=$ac_check_lib_save_LIBS
                   12673: fi
                   12674: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_rc5_RC5_32_encrypt" >&5
                   12675: $as_echo "$ac_cv_lib_crypto_rc5_RC5_32_encrypt" >&6; }
                   12676: if test "x$ac_cv_lib_crypto_rc5_RC5_32_encrypt" = x""yes; then :
                   12677:   EXTRA_CRYPTO="$EXTRA_CRYPTO -lcrypto_rc5"
                   12678: fi
                   12679: 
                   12680: fi
                   12681: 
                   12682: # Option IDEA
                   12683: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if --enable-idea option is specified" >&5
                   12684: $as_echo_n "checking if --enable-idea option is specified... " >&6; }
                   12685: # Check whether --enable-idea was given.
                   12686: if test "${enable_idea+set}" = set; then :
                   12687:   enableval=$enable_idea;
                   12688: else
                   12689:   enable_idea=no
                   12690: fi
                   12691: 
                   12692: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_idea" >&5
                   12693: $as_echo "$enable_idea" >&6; }
                   12694: 
                   12695: if test $enable_idea = "yes"; then
                   12696:        for ac_header in openssl/idea.h
                   12697: do :
                   12698:   ac_fn_c_check_header_mongrel "$LINENO" "openssl/idea.h" "ac_cv_header_openssl_idea_h" "$ac_includes_default"
                   12699: if test "x$ac_cv_header_openssl_idea_h" = x""yes; then :
                   12700:   cat >>confdefs.h <<_ACEOF
                   12701: #define HAVE_OPENSSL_IDEA_H 1
                   12702: _ACEOF
                   12703: 
                   12704: fi
                   12705: 
                   12706: done
                   12707: 
                   12708:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for idea_encrypt in -lcrypto_idea" >&5
                   12709: $as_echo_n "checking for idea_encrypt in -lcrypto_idea... " >&6; }
                   12710: if test "${ac_cv_lib_crypto_idea_idea_encrypt+set}" = set; then :
                   12711:   $as_echo_n "(cached) " >&6
                   12712: else
                   12713:   ac_check_lib_save_LIBS=$LIBS
                   12714: LIBS="-lcrypto_idea  $LIBS"
                   12715: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12716: /* end confdefs.h.  */
                   12717: 
                   12718: /* Override any GCC internal prototype to avoid an error.
                   12719:    Use char because int might match the return type of a GCC
                   12720:    builtin and then its argument prototype would still apply.  */
                   12721: #ifdef __cplusplus
                   12722: extern "C"
                   12723: #endif
                   12724: char idea_encrypt ();
                   12725: int
                   12726: main ()
                   12727: {
                   12728: return idea_encrypt ();
                   12729:   ;
                   12730:   return 0;
                   12731: }
                   12732: _ACEOF
                   12733: if ac_fn_c_try_link "$LINENO"; then :
                   12734:   ac_cv_lib_crypto_idea_idea_encrypt=yes
                   12735: else
                   12736:   ac_cv_lib_crypto_idea_idea_encrypt=no
                   12737: fi
                   12738: rm -f core conftest.err conftest.$ac_objext \
                   12739:     conftest$ac_exeext conftest.$ac_ext
                   12740: LIBS=$ac_check_lib_save_LIBS
                   12741: fi
                   12742: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_idea_idea_encrypt" >&5
                   12743: $as_echo "$ac_cv_lib_crypto_idea_idea_encrypt" >&6; }
                   12744: if test "x$ac_cv_lib_crypto_idea_idea_encrypt" = x""yes; then :
                   12745:   EXTRA_CRYPTO="$EXTRA_CRYPTO -lcrypto_idea"
                   12746: fi
                   12747: 
                   12748: fi
                   12749: 
                   12750: 
                   12751: # For dynamic libradius
                   12752: 
                   12753: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypto containing MD5_Init" >&5
                   12754: $as_echo_n "checking for crypto containing MD5_Init... " >&6; }
                   12755: if test "${ac_cv_search_MD5_Init+set}" = set; then :
                   12756:   $as_echo_n "(cached) " >&6
                   12757: else
                   12758:   ac_func_search_save_LIBS="$LIBS"
                   12759: ac_cv_search_MD5_Init="no"
                   12760: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12761: /* end confdefs.h.  */
                   12762: 
                   12763: /* Override any GCC internal prototype to avoid an error.
                   12764:    Use char because int might match the return type of a GCC
                   12765:    builtin and then its argument prototype would still apply.  */
                   12766: #ifdef __cplusplus
                   12767: extern "C"
                   12768: #endif
                   12769: char MD5_Init ();
                   12770: int
                   12771: main ()
                   12772: {
                   12773: return MD5_Init ();
                   12774:   ;
                   12775:   return 0;
                   12776: }
                   12777: _ACEOF
                   12778: if ac_fn_c_try_link "$LINENO"; then :
                   12779:   ac_cv_search_MD5_Init="none required"
                   12780: else
                   12781:   LIBS="-lcrypto $LIBS"
                   12782:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12783: /* end confdefs.h.  */
                   12784: 
                   12785: /* Override any GCC internal prototype to avoid an error.
                   12786:    Use char because int might match the return type of a GCC
                   12787:    builtin and then its argument prototype would still apply.  */
                   12788: #ifdef __cplusplus
                   12789: extern "C"
                   12790: #endif
                   12791: char MD5_Init ();
                   12792: int
                   12793: main ()
                   12794: {
                   12795: return MD5_Init ();
                   12796:   ;
                   12797:   return 0;
                   12798: }
                   12799: _ACEOF
                   12800: if ac_fn_c_try_link "$LINENO"; then :
                   12801:   ac_cv_search_MD5_Init="-lcrypto"
                   12802: fi
                   12803: rm -f core conftest.err conftest.$ac_objext \
                   12804:     conftest$ac_exeext conftest.$ac_ext
                   12805: fi
                   12806: rm -f core conftest.err conftest.$ac_objext \
                   12807:     conftest$ac_exeext conftest.$ac_ext
                   12808: LIBS="$ac_func_search_save_LIBS"
                   12809: 
                   12810: fi
                   12811: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_MD5_Init" >&5
                   12812: $as_echo "$ac_cv_search_MD5_Init" >&6; }
                   12813: if test "$ac_cv_search_MD5_Init" != "no"; then
                   12814:   test "$ac_cv_search_MD5_Init" = "none required" || LIBS="$ac_cv_search_MD5_Init $LIBS"
                   12815: 
                   12816: else :
                   12817: 
                   12818: fi
                   12819: 
                   12820: # Check if we need -lutil for login(3)
                   12821: 
                   12822: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for util containing login" >&5
                   12823: $as_echo_n "checking for util containing login... " >&6; }
                   12824: if test "${ac_cv_search_login+set}" = set; then :
                   12825:   $as_echo_n "(cached) " >&6
                   12826: else
                   12827:   ac_func_search_save_LIBS="$LIBS"
                   12828: ac_cv_search_login="no"
                   12829: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12830: /* end confdefs.h.  */
                   12831: 
                   12832: /* Override any GCC internal prototype to avoid an error.
                   12833:    Use char because int might match the return type of a GCC
                   12834:    builtin and then its argument prototype would still apply.  */
                   12835: #ifdef __cplusplus
                   12836: extern "C"
                   12837: #endif
                   12838: char login ();
                   12839: int
                   12840: main ()
                   12841: {
                   12842: return login ();
                   12843:   ;
                   12844:   return 0;
                   12845: }
                   12846: _ACEOF
                   12847: if ac_fn_c_try_link "$LINENO"; then :
                   12848:   ac_cv_search_login="none required"
                   12849: else
                   12850:   LIBS="-lutil $LIBS"
                   12851:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12852: /* end confdefs.h.  */
                   12853: 
                   12854: /* Override any GCC internal prototype to avoid an error.
                   12855:    Use char because int might match the return type of a GCC
                   12856:    builtin and then its argument prototype would still apply.  */
                   12857: #ifdef __cplusplus
                   12858: extern "C"
                   12859: #endif
                   12860: char login ();
                   12861: int
                   12862: main ()
                   12863: {
                   12864: return login ();
                   12865:   ;
                   12866:   return 0;
                   12867: }
                   12868: _ACEOF
                   12869: if ac_fn_c_try_link "$LINENO"; then :
                   12870:   ac_cv_search_login="-lutil"
                   12871: fi
                   12872: rm -f core conftest.err conftest.$ac_objext \
                   12873:     conftest$ac_exeext conftest.$ac_ext
                   12874: fi
                   12875: rm -f core conftest.err conftest.$ac_objext \
                   12876:     conftest$ac_exeext conftest.$ac_ext
                   12877: LIBS="$ac_func_search_save_LIBS"
                   12878: 
                   12879: fi
                   12880: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_login" >&5
                   12881: $as_echo "$ac_cv_search_login" >&6; }
                   12882: if test "$ac_cv_search_login" != "no"; then
                   12883:   test "$ac_cv_search_login" = "none required" || LIBS="$ac_cv_search_login $LIBS"
                   12884: 
                   12885: else :
                   12886: 
                   12887: fi
                   12888: 
                   12889: # Specify libiconv prefix
                   12890: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if --with-libiconv option is specified" >&5
                   12891: $as_echo_n "checking if --with-libiconv option is specified... " >&6; }
                   12892: 
                   12893: # Check whether --with-libiconv was given.
                   12894: if test "${with_libiconv+set}" = set; then :
                   12895:   withval=$with_libiconv; libiconv_dir=$withval
                   12896: else
                   12897:   libiconv_dir=no
                   12898: fi
                   12899: 
                   12900: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libiconv_dir" >&5
                   12901: $as_echo "$libiconv_dir" >&6; }
                   12902: if test "$libiconv_dir" != "no"; then
                   12903:        if test "$libiconv_dir" = "yes" ; then
                   12904:                  libiconv_dir="";
                   12905:        fi;
                   12906:        if test "x$libiconv_dir" = "x"; then
                   12907: 
                   12908: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv containing iconv_open" >&5
                   12909: $as_echo_n "checking for iconv containing iconv_open... " >&6; }
                   12910: if test "${ac_cv_search_iconv_open+set}" = set; then :
                   12911:   $as_echo_n "(cached) " >&6
                   12912: else
                   12913:   ac_func_search_save_LIBS="$LIBS"
                   12914: ac_cv_search_iconv_open="no"
                   12915: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12916: /* end confdefs.h.  */
                   12917: 
                   12918: /* Override any GCC internal prototype to avoid an error.
                   12919:    Use char because int might match the return type of a GCC
                   12920:    builtin and then its argument prototype would still apply.  */
                   12921: #ifdef __cplusplus
                   12922: extern "C"
                   12923: #endif
                   12924: char iconv_open ();
                   12925: int
                   12926: main ()
                   12927: {
                   12928: return iconv_open ();
                   12929:   ;
                   12930:   return 0;
                   12931: }
                   12932: _ACEOF
                   12933: if ac_fn_c_try_link "$LINENO"; then :
                   12934:   ac_cv_search_iconv_open="none required"
                   12935: else
                   12936:   LIBS="-liconv $LIBS"
                   12937:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12938: /* end confdefs.h.  */
                   12939: 
                   12940: /* Override any GCC internal prototype to avoid an error.
                   12941:    Use char because int might match the return type of a GCC
                   12942:    builtin and then its argument prototype would still apply.  */
                   12943: #ifdef __cplusplus
                   12944: extern "C"
                   12945: #endif
                   12946: char iconv_open ();
                   12947: int
                   12948: main ()
                   12949: {
                   12950: return iconv_open ();
                   12951:   ;
                   12952:   return 0;
                   12953: }
                   12954: _ACEOF
                   12955: if ac_fn_c_try_link "$LINENO"; then :
                   12956:   ac_cv_search_iconv_open="-liconv"
                   12957: fi
                   12958: rm -f core conftest.err conftest.$ac_objext \
                   12959:     conftest$ac_exeext conftest.$ac_ext
                   12960: fi
                   12961: rm -f core conftest.err conftest.$ac_objext \
                   12962:     conftest$ac_exeext conftest.$ac_ext
                   12963: LIBS="$ac_func_search_save_LIBS"
                   12964: 
                   12965: fi
                   12966: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_iconv_open" >&5
                   12967: $as_echo "$ac_cv_search_iconv_open" >&6; }
                   12968: if test "$ac_cv_search_iconv_open" != "no"; then
                   12969:   test "$ac_cv_search_iconv_open" = "none required" || LIBS="$ac_cv_search_iconv_open $LIBS"
                   12970: 
                   12971: else :
                   12972: 
                   12973: fi
                   12974:        else
                   12975:                if test -d "$libiconv_dir/lib" -a \
                   12976:                    -d "$libiconv_dir/include" ; then
                   12977: 
                   12978: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv containing iconv_open" >&5
                   12979: $as_echo_n "checking for iconv containing iconv_open... " >&6; }
                   12980: if test "${ac_cv_search_iconv_open+set}" = set; then :
                   12981:   $as_echo_n "(cached) " >&6
                   12982: else
                   12983:   ac_func_search_save_LIBS="$LIBS"
                   12984: ac_cv_search_iconv_open="no"
                   12985: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12986: /* end confdefs.h.  */
                   12987: 
                   12988: /* Override any GCC internal prototype to avoid an error.
                   12989:    Use char because int might match the return type of a GCC
                   12990:    builtin and then its argument prototype would still apply.  */
                   12991: #ifdef __cplusplus
                   12992: extern "C"
                   12993: #endif
                   12994: char iconv_open ();
                   12995: int
                   12996: main ()
                   12997: {
                   12998: return iconv_open ();
                   12999:   ;
                   13000:   return 0;
                   13001: }
                   13002: _ACEOF
                   13003: if ac_fn_c_try_link "$LINENO"; then :
                   13004:   ac_cv_search_iconv_open="none required"
                   13005: else
                   13006:   LIBS="-liconv $LIBS"
                   13007:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13008: /* end confdefs.h.  */
                   13009: 
                   13010: /* Override any GCC internal prototype to avoid an error.
                   13011:    Use char because int might match the return type of a GCC
                   13012:    builtin and then its argument prototype would still apply.  */
                   13013: #ifdef __cplusplus
                   13014: extern "C"
                   13015: #endif
                   13016: char iconv_open ();
                   13017: int
                   13018: main ()
                   13019: {
                   13020: return iconv_open ();
                   13021:   ;
                   13022:   return 0;
                   13023: }
                   13024: _ACEOF
                   13025: if ac_fn_c_try_link "$LINENO"; then :
                   13026:   ac_cv_search_iconv_open="-liconv"
                   13027: fi
                   13028: rm -f core conftest.err conftest.$ac_objext \
                   13029:     conftest$ac_exeext conftest.$ac_ext
                   13030: fi
                   13031: rm -f core conftest.err conftest.$ac_objext \
                   13032:     conftest$ac_exeext conftest.$ac_ext
                   13033: LIBS="$ac_func_search_save_LIBS"
                   13034:  test "$ac_cv_search_iconv_open" = "no" && for i in "$libiconv_dir/lib"; do
                   13035:   LIBS="-L$i -liconv $ac_func_search_save_LIBS"
                   13036:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13037: /* end confdefs.h.  */
                   13038: 
                   13039: /* Override any GCC internal prototype to avoid an error.
                   13040:    Use char because int might match the return type of a GCC
                   13041:    builtin and then its argument prototype would still apply.  */
                   13042: #ifdef __cplusplus
                   13043: extern "C"
                   13044: #endif
                   13045: char iconv_open ();
                   13046: int
                   13047: main ()
                   13048: {
                   13049: return iconv_open ();
                   13050:   ;
                   13051:   return 0;
                   13052: }
                   13053: _ACEOF
                   13054: if ac_fn_c_try_link "$LINENO"; then :
                   13055:   ac_cv_search_iconv_open="-L$i -liconv"
                   13056:   break
                   13057: fi
                   13058: rm -f core conftest.err conftest.$ac_objext \
                   13059:     conftest$ac_exeext conftest.$ac_ext
                   13060:   done
                   13061: LIBS="$ac_func_search_save_LIBS"
                   13062: fi
                   13063: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_iconv_open" >&5
                   13064: $as_echo "$ac_cv_search_iconv_open" >&6; }
                   13065: if test "$ac_cv_search_iconv_open" != "no"; then
                   13066:   test "$ac_cv_search_iconv_open" = "none required" || LIBS="$ac_cv_search_iconv_open $LIBS"
                   13067: 
                   13068: else :
                   13069: 
                   13070: fi
                   13071:                        CPPFLAGS_ADD="$CPPFLAGS_ADD -I$libiconv_dir/include"
                   13072:                else
                   13073:                        as_fn_error $? "ICONV libs or includes not found. Aborting." "$LINENO" 5
                   13074:                fi
                   13075:        fi
                   13076:        LIBS="$LIBS -L$libiconv_dir/lib -R$libiconv_dir/lib -liconv"
                   13077:        for ac_func in iconv_open
                   13078: do :
                   13079:   ac_fn_c_check_func "$LINENO" "iconv_open" "ac_cv_func_iconv_open"
                   13080: if test "x$ac_cv_func_iconv_open" = x""yes; then :
                   13081:   cat >>confdefs.h <<_ACEOF
                   13082: #define HAVE_ICONV_OPEN 1
                   13083: _ACEOF
                   13084: 
                   13085: fi
                   13086: done
                   13087: 
                   13088: fi
                   13089: 
                   13090: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if --enable-hybrid option is specified" >&5
                   13091: $as_echo_n "checking if --enable-hybrid option is specified... " >&6; }
                   13092: # Check whether --enable-hybrid was given.
                   13093: if test "${enable_hybrid+set}" = set; then :
                   13094:   enableval=$enable_hybrid;
                   13095: else
                   13096:   enable_hybrid=no
                   13097: fi
                   13098: 
                   13099: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_hybrid" >&5
                   13100: $as_echo "$enable_hybrid" >&6; }
                   13101: 
                   13102: if test "x$enable_hybrid" = "xyes"; then
                   13103:        case $host in
                   13104:                *darwin*)
                   13105:                ;;
                   13106:        *)
                   13107:                LIBS="$LIBS -lcrypt";
                   13108:                ;;
                   13109:        esac
                   13110:        HYBRID_OBJS="isakmp_xauth.o isakmp_cfg.o isakmp_unity.o throttle.o"
                   13111: 
                   13112: 
                   13113: $as_echo "#define ENABLE_HYBRID /**/" >>confdefs.h
                   13114: 
                   13115: fi
                   13116: 
                   13117: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if --enable-frag option is specified" >&5
                   13118: $as_echo_n "checking if --enable-frag option is specified... " >&6; }
                   13119: # Check whether --enable-frag was given.
                   13120: if test "${enable_frag+set}" = set; then :
                   13121:   enableval=$enable_frag;
                   13122: else
                   13123:   enable_frag=no
                   13124: fi
                   13125: 
                   13126: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_frag" >&5
                   13127: $as_echo "$enable_frag" >&6; }
                   13128: 
                   13129: if test "x$enable_frag" = "xyes"; then
                   13130:        case $host in
                   13131:        *darwin*)
                   13132:                ;;
                   13133:        *)
                   13134:                LIBS="$LIBS -lcrypt";
                   13135:                ;;
                   13136:        esac
                   13137:        FRAG_OBJS="isakmp_frag.o"
                   13138: 
                   13139: 
                   13140: $as_echo "#define ENABLE_FRAG /**/" >>confdefs.h
                   13141: 
                   13142: fi
                   13143: 
                   13144: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if --with-libradius option is specified" >&5
                   13145: $as_echo_n "checking if --with-libradius option is specified... " >&6; }
                   13146: 
                   13147: # Check whether --with-libradius was given.
                   13148: if test "${with_libradius+set}" = set; then :
                   13149:   withval=$with_libradius; libradius_dir=$withval
                   13150: else
                   13151:   libradius_dir=no
                   13152: fi
                   13153: 
                   13154: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libradius_dir" >&5
                   13155: $as_echo "$libradius_dir" >&6; }
                   13156: if test "$libradius_dir" != "no"; then
                   13157:        if test "$libradius_dir" = "yes" ; then
                   13158:                  libradius_dir="";
                   13159:        fi;
                   13160:        if test "x$libradius_dir" = "x"; then
                   13161: 
                   13162: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for radius containing rad_create_request" >&5
                   13163: $as_echo_n "checking for radius containing rad_create_request... " >&6; }
                   13164: if test "${ac_cv_search_rad_create_request+set}" = set; then :
                   13165:   $as_echo_n "(cached) " >&6
                   13166: else
                   13167:   ac_func_search_save_LIBS="$LIBS"
                   13168: ac_cv_search_rad_create_request="no"
                   13169: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13170: /* end confdefs.h.  */
                   13171: 
                   13172: /* Override any GCC internal prototype to avoid an error.
                   13173:    Use char because int might match the return type of a GCC
                   13174:    builtin and then its argument prototype would still apply.  */
                   13175: #ifdef __cplusplus
                   13176: extern "C"
                   13177: #endif
                   13178: char rad_create_request ();
                   13179: int
                   13180: main ()
                   13181: {
                   13182: return rad_create_request ();
                   13183:   ;
                   13184:   return 0;
                   13185: }
                   13186: _ACEOF
                   13187: if ac_fn_c_try_link "$LINENO"; then :
                   13188:   ac_cv_search_rad_create_request="none required"
                   13189: else
                   13190:   LIBS="-lradius $LIBS"
                   13191:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13192: /* end confdefs.h.  */
                   13193: 
                   13194: /* Override any GCC internal prototype to avoid an error.
                   13195:    Use char because int might match the return type of a GCC
                   13196:    builtin and then its argument prototype would still apply.  */
                   13197: #ifdef __cplusplus
                   13198: extern "C"
                   13199: #endif
                   13200: char rad_create_request ();
                   13201: int
                   13202: main ()
                   13203: {
                   13204: return rad_create_request ();
                   13205:   ;
                   13206:   return 0;
                   13207: }
                   13208: _ACEOF
                   13209: if ac_fn_c_try_link "$LINENO"; then :
                   13210:   ac_cv_search_rad_create_request="-lradius"
                   13211: fi
                   13212: rm -f core conftest.err conftest.$ac_objext \
                   13213:     conftest$ac_exeext conftest.$ac_ext
                   13214: fi
                   13215: rm -f core conftest.err conftest.$ac_objext \
                   13216:     conftest$ac_exeext conftest.$ac_ext
                   13217: LIBS="$ac_func_search_save_LIBS"
                   13218: 
                   13219: fi
                   13220: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_rad_create_request" >&5
                   13221: $as_echo "$ac_cv_search_rad_create_request" >&6; }
                   13222: if test "$ac_cv_search_rad_create_request" != "no"; then
                   13223:   test "$ac_cv_search_rad_create_request" = "none required" || LIBS="$ac_cv_search_rad_create_request $LIBS"
                   13224: 
                   13225: else :
                   13226: 
                   13227: fi
                   13228:        else
                   13229:                if test -d "$libradius_dir/lib" -a \
                   13230:                    -d "$libradius_dir/include" ; then
                   13231: 
                   13232: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for radius containing rad_create_request" >&5
                   13233: $as_echo_n "checking for radius containing rad_create_request... " >&6; }
                   13234: if test "${ac_cv_search_rad_create_request+set}" = set; then :
                   13235:   $as_echo_n "(cached) " >&6
                   13236: else
                   13237:   ac_func_search_save_LIBS="$LIBS"
                   13238: ac_cv_search_rad_create_request="no"
                   13239: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13240: /* end confdefs.h.  */
                   13241: 
                   13242: /* Override any GCC internal prototype to avoid an error.
                   13243:    Use char because int might match the return type of a GCC
                   13244:    builtin and then its argument prototype would still apply.  */
                   13245: #ifdef __cplusplus
                   13246: extern "C"
                   13247: #endif
                   13248: char rad_create_request ();
                   13249: int
                   13250: main ()
                   13251: {
                   13252: return rad_create_request ();
                   13253:   ;
                   13254:   return 0;
                   13255: }
                   13256: _ACEOF
                   13257: if ac_fn_c_try_link "$LINENO"; then :
                   13258:   ac_cv_search_rad_create_request="none required"
                   13259: else
                   13260:   LIBS="-lradius $LIBS"
                   13261:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13262: /* end confdefs.h.  */
                   13263: 
                   13264: /* Override any GCC internal prototype to avoid an error.
                   13265:    Use char because int might match the return type of a GCC
                   13266:    builtin and then its argument prototype would still apply.  */
                   13267: #ifdef __cplusplus
                   13268: extern "C"
                   13269: #endif
                   13270: char rad_create_request ();
                   13271: int
                   13272: main ()
                   13273: {
                   13274: return rad_create_request ();
                   13275:   ;
                   13276:   return 0;
                   13277: }
                   13278: _ACEOF
                   13279: if ac_fn_c_try_link "$LINENO"; then :
                   13280:   ac_cv_search_rad_create_request="-lradius"
                   13281: fi
                   13282: rm -f core conftest.err conftest.$ac_objext \
                   13283:     conftest$ac_exeext conftest.$ac_ext
                   13284: fi
                   13285: rm -f core conftest.err conftest.$ac_objext \
                   13286:     conftest$ac_exeext conftest.$ac_ext
                   13287: LIBS="$ac_func_search_save_LIBS"
                   13288:  test "$ac_cv_search_rad_create_request" = "no" && for i in "$libradius_dir/lib"; do
                   13289:   LIBS="-L$i -lradius $ac_func_search_save_LIBS"
                   13290:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13291: /* end confdefs.h.  */
                   13292: 
                   13293: /* Override any GCC internal prototype to avoid an error.
                   13294:    Use char because int might match the return type of a GCC
                   13295:    builtin and then its argument prototype would still apply.  */
                   13296: #ifdef __cplusplus
                   13297: extern "C"
                   13298: #endif
                   13299: char rad_create_request ();
                   13300: int
                   13301: main ()
                   13302: {
                   13303: return rad_create_request ();
                   13304:   ;
                   13305:   return 0;
                   13306: }
                   13307: _ACEOF
                   13308: if ac_fn_c_try_link "$LINENO"; then :
                   13309:   ac_cv_search_rad_create_request="-L$i -lradius"
                   13310:   break
                   13311: fi
                   13312: rm -f core conftest.err conftest.$ac_objext \
                   13313:     conftest$ac_exeext conftest.$ac_ext
                   13314:   done
                   13315: LIBS="$ac_func_search_save_LIBS"
                   13316: fi
                   13317: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_rad_create_request" >&5
                   13318: $as_echo "$ac_cv_search_rad_create_request" >&6; }
                   13319: if test "$ac_cv_search_rad_create_request" != "no"; then
                   13320:   test "$ac_cv_search_rad_create_request" = "none required" || LIBS="$ac_cv_search_rad_create_request $LIBS"
                   13321: 
                   13322: else :
                   13323: 
                   13324: fi
                   13325:                        CPPFLAGS_ADD="$CPPFLAGS_ADD -I$libradius_dir/include"
                   13326:                else
                   13327:                        as_fn_error $? "RADIUS libs or includes not found. Aborting." "$LINENO" 5
                   13328:                fi
                   13329:        fi
                   13330: 
                   13331: $as_echo "#define HAVE_LIBRADIUS /**/" >>confdefs.h
                   13332: 
                   13333:        LIBS="$LIBS -L$libradius_dir/lib -R$libradius_dir/lib -lradius"
                   13334:        for ac_func in rad_create_request
                   13335: do :
                   13336:   ac_fn_c_check_func "$LINENO" "rad_create_request" "ac_cv_func_rad_create_request"
                   13337: if test "x$ac_cv_func_rad_create_request" = x""yes; then :
                   13338:   cat >>confdefs.h <<_ACEOF
                   13339: #define HAVE_RAD_CREATE_REQUEST 1
                   13340: _ACEOF
                   13341: 
                   13342: fi
                   13343: done
                   13344: 
                   13345: fi
                   13346: 
                   13347: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if --with-libpam option is specified" >&5
                   13348: $as_echo_n "checking if --with-libpam option is specified... " >&6; }
                   13349: 
                   13350: # Check whether --with-libpam was given.
                   13351: if test "${with_libpam+set}" = set; then :
                   13352:   withval=$with_libpam; libpam_dir=$withval
                   13353: else
                   13354:   libpam_dir=no
                   13355: fi
                   13356: 
                   13357: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libpam_dir" >&5
                   13358: $as_echo "$libpam_dir" >&6; }
                   13359: if test "$libpam_dir" != "no"; then
                   13360:        if test "$libpam_dir" = "yes" ; then
                   13361:                  libpam_dir="";
                   13362:        fi;
                   13363:        if test "x$libpam_dir" = "x"; then
                   13364: 
                   13365: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam containing pam_start" >&5
                   13366: $as_echo_n "checking for pam containing pam_start... " >&6; }
                   13367: if test "${ac_cv_search_pam_start+set}" = set; then :
                   13368:   $as_echo_n "(cached) " >&6
                   13369: else
                   13370:   ac_func_search_save_LIBS="$LIBS"
                   13371: ac_cv_search_pam_start="no"
                   13372: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13373: /* end confdefs.h.  */
                   13374: 
                   13375: /* Override any GCC internal prototype to avoid an error.
                   13376:    Use char because int might match the return type of a GCC
                   13377:    builtin and then its argument prototype would still apply.  */
                   13378: #ifdef __cplusplus
                   13379: extern "C"
                   13380: #endif
                   13381: char pam_start ();
                   13382: int
                   13383: main ()
                   13384: {
                   13385: return pam_start ();
                   13386:   ;
                   13387:   return 0;
                   13388: }
                   13389: _ACEOF
                   13390: if ac_fn_c_try_link "$LINENO"; then :
                   13391:   ac_cv_search_pam_start="none required"
                   13392: else
                   13393:   LIBS="-lpam $LIBS"
                   13394:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13395: /* end confdefs.h.  */
                   13396: 
                   13397: /* Override any GCC internal prototype to avoid an error.
                   13398:    Use char because int might match the return type of a GCC
                   13399:    builtin and then its argument prototype would still apply.  */
                   13400: #ifdef __cplusplus
                   13401: extern "C"
                   13402: #endif
                   13403: char pam_start ();
                   13404: int
                   13405: main ()
                   13406: {
                   13407: return pam_start ();
                   13408:   ;
                   13409:   return 0;
                   13410: }
                   13411: _ACEOF
                   13412: if ac_fn_c_try_link "$LINENO"; then :
                   13413:   ac_cv_search_pam_start="-lpam"
                   13414: fi
                   13415: rm -f core conftest.err conftest.$ac_objext \
                   13416:     conftest$ac_exeext conftest.$ac_ext
                   13417: fi
                   13418: rm -f core conftest.err conftest.$ac_objext \
                   13419:     conftest$ac_exeext conftest.$ac_ext
                   13420: LIBS="$ac_func_search_save_LIBS"
                   13421: 
                   13422: fi
                   13423: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pam_start" >&5
                   13424: $as_echo "$ac_cv_search_pam_start" >&6; }
                   13425: if test "$ac_cv_search_pam_start" != "no"; then
                   13426:   test "$ac_cv_search_pam_start" = "none required" || LIBS="$ac_cv_search_pam_start $LIBS"
                   13427: 
                   13428: else :
                   13429: 
                   13430: fi
                   13431:        else
                   13432:                if test -d "$libpam_dir/lib" -a \
                   13433:                    -d "$libpam_dir/include" ; then
                   13434: 
                   13435: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam containing pam_start" >&5
                   13436: $as_echo_n "checking for pam containing pam_start... " >&6; }
                   13437: if test "${ac_cv_search_pam_start+set}" = set; then :
                   13438:   $as_echo_n "(cached) " >&6
                   13439: else
                   13440:   ac_func_search_save_LIBS="$LIBS"
                   13441: ac_cv_search_pam_start="no"
                   13442: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13443: /* end confdefs.h.  */
                   13444: 
                   13445: /* Override any GCC internal prototype to avoid an error.
                   13446:    Use char because int might match the return type of a GCC
                   13447:    builtin and then its argument prototype would still apply.  */
                   13448: #ifdef __cplusplus
                   13449: extern "C"
                   13450: #endif
                   13451: char pam_start ();
                   13452: int
                   13453: main ()
                   13454: {
                   13455: return pam_start ();
                   13456:   ;
                   13457:   return 0;
                   13458: }
                   13459: _ACEOF
                   13460: if ac_fn_c_try_link "$LINENO"; then :
                   13461:   ac_cv_search_pam_start="none required"
                   13462: else
                   13463:   LIBS="-lpam $LIBS"
                   13464:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13465: /* end confdefs.h.  */
                   13466: 
                   13467: /* Override any GCC internal prototype to avoid an error.
                   13468:    Use char because int might match the return type of a GCC
                   13469:    builtin and then its argument prototype would still apply.  */
                   13470: #ifdef __cplusplus
                   13471: extern "C"
                   13472: #endif
                   13473: char pam_start ();
                   13474: int
                   13475: main ()
                   13476: {
                   13477: return pam_start ();
                   13478:   ;
                   13479:   return 0;
                   13480: }
                   13481: _ACEOF
                   13482: if ac_fn_c_try_link "$LINENO"; then :
                   13483:   ac_cv_search_pam_start="-lpam"
                   13484: fi
                   13485: rm -f core conftest.err conftest.$ac_objext \
                   13486:     conftest$ac_exeext conftest.$ac_ext
                   13487: fi
                   13488: rm -f core conftest.err conftest.$ac_objext \
                   13489:     conftest$ac_exeext conftest.$ac_ext
                   13490: LIBS="$ac_func_search_save_LIBS"
                   13491:  test "$ac_cv_search_pam_start" = "no" && for i in "$libpam_dir/lib"; do
                   13492:   LIBS="-L$i -lpam $ac_func_search_save_LIBS"
                   13493:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13494: /* end confdefs.h.  */
                   13495: 
                   13496: /* Override any GCC internal prototype to avoid an error.
                   13497:    Use char because int might match the return type of a GCC
                   13498:    builtin and then its argument prototype would still apply.  */
                   13499: #ifdef __cplusplus
                   13500: extern "C"
                   13501: #endif
                   13502: char pam_start ();
                   13503: int
                   13504: main ()
                   13505: {
                   13506: return pam_start ();
                   13507:   ;
                   13508:   return 0;
                   13509: }
                   13510: _ACEOF
                   13511: if ac_fn_c_try_link "$LINENO"; then :
                   13512:   ac_cv_search_pam_start="-L$i -lpam"
                   13513:   break
                   13514: fi
                   13515: rm -f core conftest.err conftest.$ac_objext \
                   13516:     conftest$ac_exeext conftest.$ac_ext
                   13517:   done
                   13518: LIBS="$ac_func_search_save_LIBS"
                   13519: fi
                   13520: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pam_start" >&5
                   13521: $as_echo "$ac_cv_search_pam_start" >&6; }
                   13522: if test "$ac_cv_search_pam_start" != "no"; then
                   13523:   test "$ac_cv_search_pam_start" = "none required" || LIBS="$ac_cv_search_pam_start $LIBS"
                   13524: 
                   13525: else :
                   13526: 
                   13527: fi
                   13528:                        CPPFLAGS_ADD="$CPPFLAGS_ADD -I$libpam_dir/include"
                   13529:                else
                   13530:                        as_fn_error $? "PAM libs or includes not found. Aborting." "$LINENO" 5
                   13531:                fi
                   13532:        fi
                   13533: 
                   13534: $as_echo "#define HAVE_LIBPAM /**/" >>confdefs.h
                   13535: 
                   13536:        LIBS="$LIBS -L$libpam_dir/lib -R$libpam_dir/lib -lpam"
                   13537:        for ac_func in pam_start
                   13538: do :
                   13539:   ac_fn_c_check_func "$LINENO" "pam_start" "ac_cv_func_pam_start"
                   13540: if test "x$ac_cv_func_pam_start" = x""yes; then :
                   13541:   cat >>confdefs.h <<_ACEOF
                   13542: #define HAVE_PAM_START 1
                   13543: _ACEOF
                   13544: 
                   13545: fi
                   13546: done
                   13547: 
                   13548: fi
                   13549: 
                   13550: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if --with-libldap option is specified" >&5
                   13551: $as_echo_n "checking if --with-libldap option is specified... " >&6; }
                   13552: 
                   13553: # Check whether --with-libldap was given.
                   13554: if test "${with_libldap+set}" = set; then :
                   13555:   withval=$with_libldap; libldap_dir=$withval
                   13556: else
                   13557:   libldap_dir=no
                   13558: fi
                   13559: 
                   13560: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libldap_dir" >&5
                   13561: $as_echo "$libldap_dir" >&6; }
                   13562: if test "$libldap_dir" != "no"; then
                   13563:        if test "$libldap_dir" = "yes" ; then
                   13564:                  libldap_dir="";
                   13565:        fi;
                   13566:        if test "x$libldap_dir" = "x"; then
                   13567: 
                   13568: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap containing ldap_init" >&5
                   13569: $as_echo_n "checking for ldap containing ldap_init... " >&6; }
                   13570: if test "${ac_cv_search_ldap_init+set}" = set; then :
                   13571:   $as_echo_n "(cached) " >&6
                   13572: else
                   13573:   ac_func_search_save_LIBS="$LIBS"
                   13574: ac_cv_search_ldap_init="no"
                   13575: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13576: /* end confdefs.h.  */
                   13577: 
                   13578: /* Override any GCC internal prototype to avoid an error.
                   13579:    Use char because int might match the return type of a GCC
                   13580:    builtin and then its argument prototype would still apply.  */
                   13581: #ifdef __cplusplus
                   13582: extern "C"
                   13583: #endif
                   13584: char ldap_init ();
                   13585: int
                   13586: main ()
                   13587: {
                   13588: return ldap_init ();
                   13589:   ;
                   13590:   return 0;
                   13591: }
                   13592: _ACEOF
                   13593: if ac_fn_c_try_link "$LINENO"; then :
                   13594:   ac_cv_search_ldap_init="none required"
                   13595: else
                   13596:   LIBS="-lldap $LIBS"
                   13597:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13598: /* end confdefs.h.  */
                   13599: 
                   13600: /* Override any GCC internal prototype to avoid an error.
                   13601:    Use char because int might match the return type of a GCC
                   13602:    builtin and then its argument prototype would still apply.  */
                   13603: #ifdef __cplusplus
                   13604: extern "C"
                   13605: #endif
                   13606: char ldap_init ();
                   13607: int
                   13608: main ()
                   13609: {
                   13610: return ldap_init ();
                   13611:   ;
                   13612:   return 0;
                   13613: }
                   13614: _ACEOF
                   13615: if ac_fn_c_try_link "$LINENO"; then :
                   13616:   ac_cv_search_ldap_init="-lldap"
                   13617: fi
                   13618: rm -f core conftest.err conftest.$ac_objext \
                   13619:     conftest$ac_exeext conftest.$ac_ext
                   13620: fi
                   13621: rm -f core conftest.err conftest.$ac_objext \
                   13622:     conftest$ac_exeext conftest.$ac_ext
                   13623: LIBS="$ac_func_search_save_LIBS"
                   13624: 
                   13625: fi
                   13626: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_init" >&5
                   13627: $as_echo "$ac_cv_search_ldap_init" >&6; }
                   13628: if test "$ac_cv_search_ldap_init" != "no"; then
                   13629:   test "$ac_cv_search_ldap_init" = "none required" || LIBS="$ac_cv_search_ldap_init $LIBS"
                   13630: 
                   13631: else :
                   13632: 
                   13633: fi
                   13634:        else
                   13635:                if test -d "$libldap_dir/lib" -a \
                   13636:                    -d "$libldap_dir/include" ; then
                   13637: 
                   13638: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap containing ldap_init" >&5
                   13639: $as_echo_n "checking for ldap containing ldap_init... " >&6; }
                   13640: if test "${ac_cv_search_ldap_init+set}" = set; then :
                   13641:   $as_echo_n "(cached) " >&6
                   13642: else
                   13643:   ac_func_search_save_LIBS="$LIBS"
                   13644: ac_cv_search_ldap_init="no"
                   13645: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13646: /* end confdefs.h.  */
                   13647: 
                   13648: /* Override any GCC internal prototype to avoid an error.
                   13649:    Use char because int might match the return type of a GCC
                   13650:    builtin and then its argument prototype would still apply.  */
                   13651: #ifdef __cplusplus
                   13652: extern "C"
                   13653: #endif
                   13654: char ldap_init ();
                   13655: int
                   13656: main ()
                   13657: {
                   13658: return ldap_init ();
                   13659:   ;
                   13660:   return 0;
                   13661: }
                   13662: _ACEOF
                   13663: if ac_fn_c_try_link "$LINENO"; then :
                   13664:   ac_cv_search_ldap_init="none required"
                   13665: else
                   13666:   LIBS="-lldap $LIBS"
                   13667:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13668: /* end confdefs.h.  */
                   13669: 
                   13670: /* Override any GCC internal prototype to avoid an error.
                   13671:    Use char because int might match the return type of a GCC
                   13672:    builtin and then its argument prototype would still apply.  */
                   13673: #ifdef __cplusplus
                   13674: extern "C"
                   13675: #endif
                   13676: char ldap_init ();
                   13677: int
                   13678: main ()
                   13679: {
                   13680: return ldap_init ();
                   13681:   ;
                   13682:   return 0;
                   13683: }
                   13684: _ACEOF
                   13685: if ac_fn_c_try_link "$LINENO"; then :
                   13686:   ac_cv_search_ldap_init="-lldap"
                   13687: fi
                   13688: rm -f core conftest.err conftest.$ac_objext \
                   13689:     conftest$ac_exeext conftest.$ac_ext
                   13690: fi
                   13691: rm -f core conftest.err conftest.$ac_objext \
                   13692:     conftest$ac_exeext conftest.$ac_ext
                   13693: LIBS="$ac_func_search_save_LIBS"
                   13694:  test "$ac_cv_search_ldap_init" = "no" && for i in "$libldap_dir/lib"; do
                   13695:   LIBS="-L$i -lldap $ac_func_search_save_LIBS"
                   13696:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13697: /* end confdefs.h.  */
                   13698: 
                   13699: /* Override any GCC internal prototype to avoid an error.
                   13700:    Use char because int might match the return type of a GCC
                   13701:    builtin and then its argument prototype would still apply.  */
                   13702: #ifdef __cplusplus
                   13703: extern "C"
                   13704: #endif
                   13705: char ldap_init ();
                   13706: int
                   13707: main ()
                   13708: {
                   13709: return ldap_init ();
                   13710:   ;
                   13711:   return 0;
                   13712: }
                   13713: _ACEOF
                   13714: if ac_fn_c_try_link "$LINENO"; then :
                   13715:   ac_cv_search_ldap_init="-L$i -lldap"
                   13716:   break
                   13717: fi
                   13718: rm -f core conftest.err conftest.$ac_objext \
                   13719:     conftest$ac_exeext conftest.$ac_ext
                   13720:   done
                   13721: LIBS="$ac_func_search_save_LIBS"
                   13722: fi
                   13723: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_init" >&5
                   13724: $as_echo "$ac_cv_search_ldap_init" >&6; }
                   13725: if test "$ac_cv_search_ldap_init" != "no"; then
                   13726:   test "$ac_cv_search_ldap_init" = "none required" || LIBS="$ac_cv_search_ldap_init $LIBS"
                   13727: 
                   13728: else :
                   13729: 
                   13730: fi
                   13731:                        CPPFLAGS_ADD="$CPPFLAGS_ADD -I$libldap_dir/include"
                   13732:                else
                   13733:                        as_fn_error $? "LDAP libs or includes not found. Aborting." "$LINENO" 5
                   13734:                fi
                   13735:        fi
                   13736: 
                   13737: $as_echo "#define HAVE_LIBLDAP /**/" >>confdefs.h
                   13738: 
                   13739:        LIBS="$LIBS -L$libldap_dir/lib -R$libldap_dir/lib -lldap"
                   13740: 
                   13741:        saved_CFLAGS=$CFLAGS
                   13742:        CFLAGS="$CFLAGS -Wall -Werror"
                   13743:        saved_CPPFLAGS=$CPPFLAGS
                   13744:         CPPFLAGS="$CPPFLAGS $CPPFLAGS_ADD"
                   13745:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13746: /* end confdefs.h.  */
                   13747: #include <ldap.h>
                   13748: int
                   13749: main ()
                   13750: {
                   13751: 
                   13752:                        #if LDAP_API_VERSION < 2004
                   13753:                        #error OpenLDAP version is too old ...
                   13754:                        #endif
                   13755: 
                   13756:   ;
                   13757:   return 0;
                   13758: }
                   13759: _ACEOF
                   13760: if ac_fn_c_try_compile "$LINENO"; then :
                   13761:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
                   13762: $as_echo "ok" >&6; }
                   13763: else
                   13764: 
                   13765:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: too old" >&5
                   13766: $as_echo "too old" >&6; }
                   13767:                        as_fn_error $? "OpenLDAP version must be 2.0 or higher. Aborting." "$LINENO" 5
                   13768: 
                   13769: fi
                   13770: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   13771:        CFLAGS=$saved_CFLAGS
                   13772:        CPPFLAGS=$saved_CPPFLAGS
                   13773: fi
                   13774: 
                   13775: # Check for Kerberos5 support
                   13776: # XXX This must come after all --with-* tests, else the
                   13777: # -liconv checks will not work
                   13778: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if --enable-gssapi option is specified" >&5
                   13779: $as_echo_n "checking if --enable-gssapi option is specified... " >&6; }
                   13780: # Check whether --enable-gssapi was given.
                   13781: if test "${enable_gssapi+set}" = set; then :
                   13782:   enableval=$enable_gssapi;
                   13783: else
                   13784:   enable_gssapi=no
                   13785: fi
                   13786: 
                   13787: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gssapi" >&5
                   13788: $as_echo "$enable_gssapi" >&6; }
                   13789: # Extract the first word of "krb5-config", so it can be a program name with args.
                   13790: set dummy krb5-config; ac_word=$2
                   13791: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   13792: $as_echo_n "checking for $ac_word... " >&6; }
                   13793: if test "${ac_cv_path_KRB5_CONFIG+set}" = set; then :
                   13794:   $as_echo_n "(cached) " >&6
                   13795: else
                   13796:   case $KRB5_CONFIG in
                   13797:   [\\/]* | ?:[\\/]*)
                   13798:   ac_cv_path_KRB5_CONFIG="$KRB5_CONFIG" # Let the user override the test with a path.
                   13799:   ;;
                   13800:   *)
                   13801:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   13802: for as_dir in $PATH
                   13803: do
                   13804:   IFS=$as_save_IFS
                   13805:   test -z "$as_dir" && as_dir=.
                   13806:     for ac_exec_ext in '' $ac_executable_extensions; do
                   13807:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   13808:     ac_cv_path_KRB5_CONFIG="$as_dir/$ac_word$ac_exec_ext"
                   13809:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   13810:     break 2
                   13811:   fi
                   13812: done
                   13813:   done
                   13814: IFS=$as_save_IFS
                   13815: 
                   13816:   test -z "$ac_cv_path_KRB5_CONFIG" && ac_cv_path_KRB5_CONFIG="no"
                   13817:   ;;
                   13818: esac
                   13819: fi
                   13820: KRB5_CONFIG=$ac_cv_path_KRB5_CONFIG
                   13821: if test -n "$KRB5_CONFIG"; then
                   13822:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KRB5_CONFIG" >&5
                   13823: $as_echo "$KRB5_CONFIG" >&6; }
                   13824: else
                   13825:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   13826: $as_echo "no" >&6; }
                   13827: fi
                   13828: 
                   13829: 
                   13830: if test "x$enable_gssapi" = "xyes"; then
                   13831:        if test "$KRB5_CONFIG" != "no"; then
                   13832:                krb5_incdir="`$KRB5_CONFIG --cflags gssapi`"
                   13833:                krb5_libs="`$KRB5_CONFIG --libs gssapi`"
                   13834:        else
                   13835:                # No krb5-config; let's make some assumptions based on
                   13836:                # the OS.
                   13837:                case $host_os in
                   13838:                netbsd*)
                   13839:                        krb5_incdir="-I/usr/include/krb5"
                   13840:                        krb5_libs="-lgssapi -lkrb5 -lcom_err -lroken -lasn1"
                   13841:                        ;;
                   13842:                *)
                   13843:                        as_fn_error $? "krb5-config not found, but needed for GSSAPI support. Aborting." "$LINENO" 5
                   13844:                        ;;
                   13845:                esac
                   13846:        fi
                   13847:        LIBS="$LIBS $krb5_libs"
                   13848:        CPPFLAGS_ADD="$krb5_incdir $CPPFLAGS_ADD"
                   13849: 
                   13850: $as_echo "#define HAVE_GSSAPI /**/" >>confdefs.h
                   13851: 
                   13852: 
                   13853:        # Check if iconv 2nd argument needs const
                   13854:        saved_CFLAGS=$CFLAGS
                   13855:        CFLAGS="$CFLAGS -Wall -Werror"
                   13856:        saved_CPPFLAGS=$CPPFLAGS
                   13857:         CPPFLAGS="$CPPFLAGS $CPPFLAGS_ADD"
                   13858:        ac_fn_c_check_header_mongrel "$LINENO" "iconv.h" "ac_cv_header_iconv_h" "$ac_includes_default"
                   13859: if test "x$ac_cv_header_iconv_h" = x""yes; then :
                   13860: 
                   13861: else
                   13862:   as_fn_error $? "iconv.h not found, but needed for GSSAPI support. Aborting." "$LINENO" 5
                   13863: fi
                   13864: 
                   13865: 
                   13866:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iconv second argument needs const" >&5
                   13867: $as_echo_n "checking if iconv second argument needs const... " >&6; }
                   13868:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13869: /* end confdefs.h.  */
                   13870: 
                   13871:                #include <iconv.h>
                   13872:                #include <stdio.h>
                   13873: 
                   13874: int
                   13875: main ()
                   13876: {
                   13877: 
                   13878:                iconv_t cd = NULL;
                   13879:                const char **src = NULL;
                   13880:                size_t *srcleft = NULL;
                   13881:                char **dst = NULL;
                   13882:                size_t *dstleft = NULL;
                   13883: 
                   13884:                (void)iconv(cd, src, srcleft, dst, dstleft);
                   13885: 
                   13886:   ;
                   13887:   return 0;
                   13888: }
                   13889: _ACEOF
                   13890: if ac_fn_c_try_compile "$LINENO"; then :
                   13891:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   13892: $as_echo "yes" >&6; }
                   13893: 
                   13894: $as_echo "#define HAVE_ICONV_2ND_CONST /**/" >>confdefs.h
                   13895: 
                   13896: 
                   13897: else
                   13898:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   13899: $as_echo "no" >&6; }
                   13900: fi
                   13901: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   13902:        CFLAGS=$saved_CFLAGS
                   13903:        CPPFLAGS=$saved_CPPFLAGS
                   13904: 
                   13905:        # libiconv is often integrated into libc. If a with-* option
                   13906:        # caused a non libc-based iconv.h to be catched instead of
                   13907:        # the libc-based iconv.h, then we need to link with -liconv
                   13908:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is required" >&5
                   13909: $as_echo_n "checking if -liconv is required... " >&6; }
                   13910:        saved_CPPFLAGS=$CPPFLAGS
                   13911:        saved_LIBS=$LIBS
                   13912:        CPPFLAGS="$CPPFLAGS $CPPFLAGS_ADD"
                   13913:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13914: /* end confdefs.h.  */
                   13915: 
                   13916:                #include <iconv.h>
                   13917: 
                   13918: int
                   13919: main ()
                   13920: {
                   13921: 
                   13922:                (void)iconv_open("ascii", "ascii");
                   13923: 
                   13924:   ;
                   13925:   return 0;
                   13926: }
                   13927: _ACEOF
                   13928: if ac_fn_c_try_link "$LINENO"; then :
                   13929:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   13930: $as_echo "no" >&6; }
                   13931: else
                   13932: 
                   13933:                        LIBS="$LIBS -liconv"
                   13934:                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13935: /* end confdefs.h.  */
                   13936: 
                   13937:                                #include <iconv.h>
                   13938: 
                   13939: int
                   13940: main ()
                   13941: {
                   13942: 
                   13943:                                (void)iconv_open("ascii", "ascii");
                   13944: 
                   13945:   ;
                   13946:   return 0;
                   13947: }
                   13948: _ACEOF
                   13949: if ac_fn_c_try_link "$LINENO"; then :
                   13950: 
                   13951:                                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   13952: $as_echo "yes" >&6; }
                   13953:                                saved_LIBS=$LIBS
                   13954: 
                   13955: else
                   13956: 
                   13957:                                as_fn_error $? "cannot use iconv" "$LINENO" 5
                   13958: 
                   13959: fi
                   13960: rm -f core conftest.err conftest.$ac_objext \
                   13961:     conftest$ac_exeext conftest.$ac_ext
                   13962: 
                   13963: fi
                   13964: rm -f core conftest.err conftest.$ac_objext \
                   13965:     conftest$ac_exeext conftest.$ac_ext
                   13966:        CPPFLAGS=$saved_CPPFLAGS
                   13967:        LIBS=$saved_LIBS
                   13968: fi
                   13969: 
                   13970: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if --enable-stats option is specified" >&5
                   13971: $as_echo_n "checking if --enable-stats option is specified... " >&6; }
                   13972: # Check whether --enable-stats was given.
                   13973: if test "${enable_stats+set}" = set; then :
                   13974:   enableval=$enable_stats;
                   13975: else
                   13976:   enable_stats=no
                   13977: fi
                   13978: 
                   13979: if test "x$enable_stats" = "xyes"; then
                   13980: 
                   13981: $as_echo "#define ENABLE_STATS /**/" >>confdefs.h
                   13982: 
                   13983: fi
                   13984: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_stats" >&5
                   13985: $as_echo "$enable_stats" >&6; }
                   13986: 
                   13987: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if --enable-dpd option is specified" >&5
                   13988: $as_echo_n "checking if --enable-dpd option is specified... " >&6; }
                   13989: # Check whether --enable-dpd was given.
                   13990: if test "${enable_dpd+set}" = set; then :
                   13991:   enableval=$enable_dpd;
                   13992: else
                   13993:   enable_dpd=no
                   13994: fi
                   13995: 
                   13996: if test "x$enable_dpd" = "xyes"; then
                   13997: 
                   13998: $as_echo "#define ENABLE_DPD /**/" >>confdefs.h
                   13999: 
                   14000: fi
                   14001: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dpd" >&5
                   14002: $as_echo "$enable_dpd" >&6; }
                   14003: 
                   14004: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if --enable-samode-unspec option is specified" >&5
                   14005: $as_echo_n "checking if --enable-samode-unspec option is specified... " >&6; }
                   14006: # Check whether --enable-samode-unspec was given.
                   14007: if test "${enable_samode_unspec+set}" = set; then :
                   14008:   enableval=$enable_samode_unspec;
                   14009: else
                   14010:   enable_samode_unspec=no
                   14011: fi
                   14012: 
                   14013: if test "x$enable_samode_unspec" = "xyes"; then
                   14014:        case $host_os in
                   14015:        *linux*)
                   14016:                cat << EOC
                   14017: 
                   14018: ERROR: --enable-samode-unspec is not supported under linux
                   14019: because linux kernel do not support it. This option is disabled
                   14020: to prevent mysterious problems.
                   14021: 
                   14022: If you REALLY know what your are doing, remove this check.
                   14023: EOC
                   14024:                exit 1;
                   14025:                ;;
                   14026:        esac
                   14027: 
                   14028: $as_echo "#define ENABLE_SAMODE_UNSPECIFIED /**/" >>confdefs.h
                   14029: 
                   14030: fi
                   14031: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_samode_unspec" >&5
                   14032: $as_echo "$enable_samode_unspec" >&6; }
                   14033: 
                   14034: # Checks if IPv6 is requested
                   14035: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ipv6" >&5
                   14036: $as_echo_n "checking whether to enable ipv6... " >&6; }
                   14037: # Check whether --enable-ipv6 was given.
                   14038: if test "${enable_ipv6+set}" = set; then :
                   14039:   enableval=$enable_ipv6;  case "$enableval" in
                   14040:   no)
                   14041:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   14042: $as_echo "no" >&6; }
                   14043:        ipv6=no
                   14044:        ;;
                   14045:   *)   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   14046: $as_echo "yes" >&6; }
                   14047:        ipv6=yes
                   14048:        ;;
                   14049:   esac
                   14050: else
                   14051:   if test "$cross_compiling" = yes; then :
                   14052:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   14053: $as_echo "no" >&6; }
                   14054:   ipv6=no
                   14055: 
                   14056: else
                   14057:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14058: /* end confdefs.h.  */
                   14059:  /* AF_INET6 avalable check */
                   14060: #include <sys/types.h>
                   14061: #include <sys/socket.h>
                   14062: main()
                   14063: {
                   14064:   exit(0);
                   14065:  if (socket(AF_INET6, SOCK_STREAM, 0) < 0)
                   14066:    exit(1);
                   14067:  else
                   14068:    exit(0);
                   14069: }
                   14070: 
                   14071: _ACEOF
                   14072: if ac_fn_c_try_run "$LINENO"; then :
                   14073:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   14074: $as_echo "yes" >&6; }
                   14075: 
                   14076: $as_echo "#define INET6 /**/" >>confdefs.h
                   14077: 
                   14078:   ipv6=yes
                   14079: else
                   14080:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   14081: $as_echo "no" >&6; }
                   14082:   ipv6=no
                   14083: fi
                   14084: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   14085:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   14086: fi
                   14087: 
                   14088: fi
                   14089: 
                   14090: 
                   14091: if test "$ipv6" = "yes"; then
                   14092: 
                   14093: $as_echo "#define INET6 /**/" >>confdefs.h
                   14094: 
                   14095:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for advanced API support" >&5
                   14096: $as_echo_n "checking for advanced API support... " >&6; }
                   14097:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14098: /* end confdefs.h.  */
                   14099: #ifndef INET6
                   14100: #define INET6
                   14101: #endif
                   14102: #include <sys/types.h>
                   14103: #include <netinet/in.h>
                   14104: int
                   14105: main ()
                   14106: {
                   14107: struct in6_pktinfo a;
                   14108:   ;
                   14109:   return 0;
                   14110: }
                   14111: _ACEOF
                   14112: if ac_fn_c_try_compile "$LINENO"; then :
                   14113:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   14114: $as_echo "yes" >&6; }
                   14115: 
                   14116: $as_echo "#define INET6_ADVAPI /**/" >>confdefs.h
                   14117: 
                   14118: else
                   14119:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   14120: $as_echo "no" >&6; }
                   14121: fi
                   14122: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   14123: fi
                   14124: 
                   14125: 
                   14126:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking getaddrinfo bug" >&5
                   14127: $as_echo_n "checking getaddrinfo bug... " >&6; }
                   14128:        saved_CFLAGS=$CFLAGS
                   14129:        CFLAGS="-Wall -O2"
                   14130:        if test "$cross_compiling" = yes; then :
                   14131:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Cross compiling ... Assuming getaddrinfo is not buggy." >&5
                   14132: $as_echo "Cross compiling ... Assuming getaddrinfo is not buggy." >&6; }
                   14133:        buggygetaddrinfo=no
                   14134: else
                   14135:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14136: /* end confdefs.h.  */
                   14137: 
                   14138:        #include <sys/types.h>
                   14139:        #include <sys/socket.h>
                   14140:        #include <netdb.h>
                   14141:        #include <stdlib.h>
                   14142:        #include <string.h>
                   14143:        #include <netinet/in.h>
                   14144: 
                   14145:        int main()
                   14146:        {
                   14147:          int passive, gaierr, inet4 = 0, inet6 = 0;
                   14148:          struct addrinfo hints, *ai, *aitop;
                   14149:          char straddr[INET6_ADDRSTRLEN], strport[16];
                   14150: 
                   14151:          for (passive = 0; passive <= 1; passive++) {
                   14152:            memset(&hints, 0, sizeof(hints));
                   14153:            hints.ai_family = AF_UNSPEC;
                   14154:            hints.ai_flags = passive ? AI_PASSIVE : 0;
                   14155:            hints.ai_protocol = IPPROTO_TCP;
                   14156:            hints.ai_socktype = SOCK_STREAM;
                   14157:            if ((gaierr = getaddrinfo(NULL, "54321", &hints, &aitop)) != 0) {
                   14158:              (void)gai_strerror(gaierr);
                   14159:              goto bad;
                   14160:            }
                   14161:            for (ai = aitop; ai; ai = ai->ai_next) {
                   14162:              if (ai->ai_addr == NULL ||
                   14163:                  ai->ai_addrlen == 0 ||
                   14164:                  getnameinfo(ai->ai_addr, ai->ai_addrlen,
                   14165:                              straddr, sizeof(straddr), strport, sizeof(strport),
                   14166:                              NI_NUMERICHOST|NI_NUMERICSERV) != 0) {
                   14167:                goto bad;
                   14168:              }
                   14169:              switch (ai->ai_family) {
                   14170:              case AF_INET:
                   14171:                if (strcmp(strport, "54321") != 0) {
                   14172:                  goto bad;
                   14173:                }
                   14174:                if (passive) {
                   14175:                  if (strcmp(straddr, "0.0.0.0") != 0) {
                   14176:                    goto bad;
                   14177:                  }
                   14178:                } else {
                   14179:                  if (strcmp(straddr, "127.0.0.1") != 0) {
                   14180:                    goto bad;
                   14181:                  }
                   14182:                }
                   14183:                inet4++;
                   14184:                break;
                   14185:              case AF_INET6:
                   14186:                if (strcmp(strport, "54321") != 0) {
                   14187:                  goto bad;
                   14188:                }
                   14189:                if (passive) {
                   14190:                  if (strcmp(straddr, "::") != 0) {
                   14191:                    goto bad;
                   14192:                  }
                   14193:                } else {
                   14194:                  if (strcmp(straddr, "::1") != 0) {
                   14195:                    goto bad;
                   14196:                  }
                   14197:                }
                   14198:                inet6++;
                   14199:                break;
                   14200:              case AF_UNSPEC:
                   14201:                goto bad;
                   14202:                break;
                   14203:              default:
                   14204:                /* another family support? */
                   14205:                break;
                   14206:              }
                   14207:            }
                   14208:          }
                   14209: 
                   14210:          if (!(inet4 == 0 || inet4 == 2))
                   14211:            goto bad;
                   14212:          if (!(inet6 == 0 || inet6 == 2))
                   14213:            goto bad;
                   14214: 
                   14215:          if (aitop)
                   14216:            freeaddrinfo(aitop);
                   14217:          exit(0);
                   14218: 
                   14219:         bad:
                   14220:          if (aitop)
                   14221:            freeaddrinfo(aitop);
                   14222:          exit(1);
                   14223:        }
                   14224: 
                   14225: _ACEOF
                   14226: if ac_fn_c_try_run "$LINENO"; then :
                   14227:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: good" >&5
                   14228: $as_echo "good" >&6; }
                   14229:        buggygetaddrinfo=no
                   14230: else
                   14231:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy" >&5
                   14232: $as_echo "buggy" >&6; }
                   14233:        buggygetaddrinfo=yes
                   14234: fi
                   14235: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   14236:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   14237: fi
                   14238: 
                   14239:        CFLAGS=$saved_CFLAGS
                   14240:        unset saved_CFLAGS
                   14241: 
                   14242: if test "$buggygetaddrinfo" = "yes"; then
                   14243:        as_fn_error $? "Broken getaddrinfo() is no longer supported. Aborting." "$LINENO" 5
                   14244: fi
                   14245: 
                   14246: # Check if kernel support is available for NAT-T, defaults to no.
                   14247: kernel_natt="no"
                   14248: 
                   14249: { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel NAT-Traversal support" >&5
                   14250: $as_echo_n "checking kernel NAT-Traversal support... " >&6; }
                   14251: case $host_os in
                   14252: linux*)
                   14253: # Linux kernel NAT-T check
                   14254: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14255: /* end confdefs.h.  */
                   14256: #include <linux/pfkeyv2.h>
                   14257: #ifdef SADB_X_EXT_NAT_T_TYPE
                   14258: yes
                   14259: #endif
                   14260: 
                   14261: _ACEOF
                   14262: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   14263:   $EGREP "yes" >/dev/null 2>&1; then :
                   14264:   kernel_natt="yes"
                   14265: fi
                   14266: rm -f conftest*
                   14267: 
                   14268:        ;;
                   14269: freebsd*|netbsd*)
                   14270: # NetBSD case
                   14271: # Same check for FreeBSD
                   14272: ac_fn_c_check_member "$LINENO" "struct sadb_x_nat_t_type" "sadb_x_nat_t_type_len" "ac_cv_member_struct_sadb_x_nat_t_type_sadb_x_nat_t_type_len" "
                   14273: #define _KERNEL
                   14274: #include <sys/types.h>
                   14275: #include <net/pfkeyv2.h>
                   14276: 
                   14277: "
                   14278: if test "x$ac_cv_member_struct_sadb_x_nat_t_type_sadb_x_nat_t_type_len" = x""yes; then :
                   14279:   kernel_natt="yes"
                   14280: fi
                   14281: 
                   14282:        ;;
                   14283: esac
                   14284: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_natt" >&5
                   14285: $as_echo "$kernel_natt" >&6; }
                   14286: 
                   14287: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support NAT-T" >&5
                   14288: $as_echo_n "checking whether to support NAT-T... " >&6; }
                   14289: # Check whether --enable-natt was given.
                   14290: if test "${enable_natt+set}" = set; then :
                   14291:   enableval=$enable_natt;  if test "$enable_natt" = "kernel"; then enable_natt=$kernel_natt; fi
                   14292: else
                   14293:    enable_natt=no
                   14294: fi
                   14295: 
                   14296: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_natt" >&5
                   14297: $as_echo "$enable_natt" >&6; }
                   14298: 
                   14299: if test "$enable_natt" = "yes"; then
                   14300:        if test "$kernel_natt" = "no" ; then
                   14301:                as_fn_error $? "NAT-T requested, but no kernel support! Aborting." "$LINENO" 5
                   14302:        else
                   14303: 
                   14304: $as_echo "#define ENABLE_NATT /**/" >>confdefs.h
                   14305: 
                   14306:                NATT_OBJS="nattraversal.o"
                   14307: 
                   14308:        fi
                   14309: fi
                   14310: 
                   14311: # Set up defines for supported NAT-T versions.
                   14312: natt_versions_default="00,02,rfc"
                   14313: { $as_echo "$as_me:${as_lineno-$LINENO}: checking which NAT-T versions to support" >&5
                   14314: $as_echo_n "checking which NAT-T versions to support... " >&6; }
                   14315: # Check whether --enable-natt_versions was given.
                   14316: if test "${enable_natt_versions+set}" = set; then :
                   14317:   enableval=$enable_natt_versions;  test "$enable_natt_versions" = "yes" && enable_natt_versions=$natt_versions_default
                   14318: else
                   14319:    enable_natt_versions=$natt_versions_default
                   14320: fi
                   14321: 
                   14322: if test "$enable_natt" = "yes"; then
                   14323:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_natt_versions" >&5
                   14324: $as_echo "$enable_natt_versions" >&6; }
                   14325:        for i in `echo $enable_natt_versions | tr ',cfr' ' CFR'`; do
                   14326:                case $i in
                   14327:                        0|00)
                   14328: $as_echo "#define ENABLE_NATT_00 /**/" >>confdefs.h
                   14329:  ;;
                   14330:                        1|01)
                   14331: $as_echo "#define ENABLE_NATT_01 /**/" >>confdefs.h
                   14332:  ;;
                   14333:                        2|02)
                   14334: $as_echo "#define ENABLE_NATT_02 /**/" >>confdefs.h
                   14335:  ;;
                   14336:                        3|03)
                   14337: $as_echo "#define ENABLE_NATT_03 /**/" >>confdefs.h
                   14338:  ;;
                   14339:                        4|04)
                   14340: $as_echo "#define ENABLE_NATT_04 /**/" >>confdefs.h
                   14341:  ;;
                   14342:                        5|05)
                   14343: $as_echo "#define ENABLE_NATT_05 /**/" >>confdefs.h
                   14344:  ;;
                   14345:                        6|06)
                   14346: $as_echo "#define ENABLE_NATT_06 /**/" >>confdefs.h
                   14347:  ;;
                   14348:                        7|07)
                   14349: $as_echo "#define ENABLE_NATT_07 /**/" >>confdefs.h
                   14350:  ;;
                   14351:                        8|08)
                   14352: $as_echo "#define ENABLE_NATT_08 /**/" >>confdefs.h
                   14353:  ;;
                   14354:                        RFC)
                   14355: $as_echo "#define ENABLE_NATT_RFC /**/" >>confdefs.h
                   14356:  ;;
                   14357:                        *) as_fn_error $? "Unknown NAT-T version. Aborting." "$LINENO" 5  ;;
                   14358:                esac
                   14359:        done
                   14360:        unset i
                   14361: else
                   14362:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
                   14363: $as_echo "none" >&6; }
                   14364: fi
                   14365: 
                   14366: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if --enable-broken-natt option is specified" >&5
                   14367: $as_echo_n "checking if --enable-broken-natt option is specified... " >&6; }
                   14368: # Check whether --enable-broken-natt was given.
                   14369: if test "${enable_broken_natt+set}" = set; then :
                   14370:   enableval=$enable_broken_natt;
                   14371: else
                   14372:   enable_broken_natt=no
                   14373: fi
                   14374: 
                   14375: if test "x$enable_broken_natt" = "xyes"; then
                   14376: 
                   14377: $as_echo "#define BROKEN_NATT /**/" >>confdefs.h
                   14378: 
                   14379: fi
                   14380: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_broken_natt" >&5
                   14381: $as_echo "$enable_broken_natt" >&6; }
                   14382: 
                   14383: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we support FWD policy" >&5
                   14384: $as_echo_n "checking whether we support FWD policy... " >&6; }
                   14385: case $host in
                   14386:        *linux*)
                   14387:                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14388: /* end confdefs.h.  */
                   14389: 
                   14390:                #include <inttypes.h>
                   14391:                #include <linux/ipsec.h>
                   14392: 
                   14393: int
                   14394: main ()
                   14395: {
                   14396: 
                   14397:                        int fwd = IPSEC_DIR_FWD;
                   14398: 
                   14399:   ;
                   14400:   return 0;
                   14401: }
                   14402: _ACEOF
                   14403: if ac_fn_c_try_compile "$LINENO"; then :
                   14404:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   14405: $as_echo "yes" >&6; }
                   14406: 
                   14407: $as_echo "#define HAVE_POLICY_FWD /**/" >>confdefs.h
                   14408: 
                   14409: else
                   14410:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   14411: $as_echo "no" >&6; }
                   14412: fi
                   14413: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   14414:                ;;
                   14415:        *)
                   14416:                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   14417: $as_echo "no" >&6; }
                   14418:                ;;
                   14419: esac
                   14420: 
                   14421: ac_fn_c_check_type "$LINENO" "ipsec_policy_t" "ac_cv_type_ipsec_policy_t" "
                   14422:                #include <sys/types.h>
                   14423:                #include <netinet6/ipsec.h>
                   14424: 
                   14425: "
                   14426: if test "x$ac_cv_type_ipsec_policy_t" = x""yes; then :
                   14427: 
                   14428: $as_echo "#define HAVE_IPSEC_POLICY_T /**/" >>confdefs.h
                   14429: 
                   14430: fi
                   14431: 
                   14432: 
                   14433: # Check if kernel support is available for Security Context, defaults to no.
                   14434: kernel_secctx="no"
                   14435: 
                   14436: { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel Security Context support" >&5
                   14437: $as_echo_n "checking kernel Security Context support... " >&6; }
                   14438: case $host_os in
                   14439: linux*)
                   14440: # Linux kernel Security Context check
                   14441: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14442: /* end confdefs.h.  */
                   14443: #include <linux/pfkeyv2.h>
                   14444: #ifdef SADB_X_EXT_SEC_CTX
                   14445: yes
                   14446: #endif
                   14447: 
                   14448: _ACEOF
                   14449: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   14450:   $EGREP "yes" >/dev/null 2>&1; then :
                   14451:   kernel_secctx="yes"
                   14452: fi
                   14453: rm -f conftest*
                   14454: 
                   14455:        ;;
                   14456: esac
                   14457: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_secctx" >&5
                   14458: $as_echo "$kernel_secctx" >&6; }
                   14459: 
                   14460: ac_fn_c_check_header_mongrel "$LINENO" "selinux/selinux.h" "ac_cv_header_selinux_selinux_h" "$ac_includes_default"
                   14461: if test "x$ac_cv_header_selinux_selinux_h" = x""yes; then :
                   14462:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avc_init in -lselinux" >&5
                   14463: $as_echo_n "checking for avc_init in -lselinux... " >&6; }
                   14464: if test "${ac_cv_lib_selinux_avc_init+set}" = set; then :
                   14465:   $as_echo_n "(cached) " >&6
                   14466: else
                   14467:   ac_check_lib_save_LIBS=$LIBS
                   14468: LIBS="-lselinux  $LIBS"
                   14469: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14470: /* end confdefs.h.  */
                   14471: 
                   14472: /* Override any GCC internal prototype to avoid an error.
                   14473:    Use char because int might match the return type of a GCC
                   14474:    builtin and then its argument prototype would still apply.  */
                   14475: #ifdef __cplusplus
                   14476: extern "C"
                   14477: #endif
                   14478: char avc_init ();
                   14479: int
                   14480: main ()
                   14481: {
                   14482: return avc_init ();
                   14483:   ;
                   14484:   return 0;
                   14485: }
                   14486: _ACEOF
                   14487: if ac_fn_c_try_link "$LINENO"; then :
                   14488:   ac_cv_lib_selinux_avc_init=yes
                   14489: else
                   14490:   ac_cv_lib_selinux_avc_init=no
                   14491: fi
                   14492: rm -f core conftest.err conftest.$ac_objext \
                   14493:     conftest$ac_exeext conftest.$ac_ext
                   14494: LIBS=$ac_check_lib_save_LIBS
                   14495: fi
                   14496: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_avc_init" >&5
                   14497: $as_echo "$ac_cv_lib_selinux_avc_init" >&6; }
                   14498: if test "x$ac_cv_lib_selinux_avc_init" = x""yes; then :
                   14499:   selinux_support=yes
                   14500: else
                   14501:   selinux_support=no
                   14502: fi
                   14503: 
                   14504: else
                   14505:   selinux_support=no
                   14506: fi
                   14507: 
                   14508: 
                   14509: 
                   14510: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support Security Context" >&5
                   14511: $as_echo_n "checking whether to support Security Context... " >&6; }
                   14512: # Check whether --enable-security-context was given.
                   14513: if test "${enable_security_context+set}" = set; then :
                   14514:   enableval=$enable_security_context; if test "$enable_security_context" = "kernel"; then
                   14515:                enable_security_context=$kernel_secctx; fi
                   14516: else
                   14517:   enable_security_context=$kernel_secctx
                   14518: fi
                   14519: 
                   14520: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_security_context" >&5
                   14521: $as_echo "$enable_security_context" >&6; }
                   14522: 
                   14523: if test "$enable_security_context" = "yes"; then
                   14524:        if test "$kernel_secctx" = "no" ; then
                   14525:                as_fn_error $? "Security Context requested, but no kernel support! Aborting." "$LINENO" 5
                   14526:        else
                   14527:                if test "$selinux_support" = "no"; then
                   14528:                        as_fn_error $? "Security Context requested, but no selinux support! Aborting." "$LINENO" 5
                   14529:                else
                   14530: 
                   14531: $as_echo "#define HAVE_SECCTX /**/" >>confdefs.h
                   14532: 
                   14533:                        SECCTX_OBJS="security.o"
                   14534: 
                   14535:                        LIBS="$LIBS -lselinux"
                   14536:                fi
                   14537:        fi
                   14538: fi
                   14539: 
                   14540: 
                   14541: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rt containing clock_gettime" >&5
                   14542: $as_echo_n "checking for rt containing clock_gettime... " >&6; }
                   14543: if test "${ac_cv_search_clock_gettime+set}" = set; then :
                   14544:   $as_echo_n "(cached) " >&6
                   14545: else
                   14546:   ac_func_search_save_LIBS="$LIBS"
                   14547: ac_cv_search_clock_gettime="no"
                   14548: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14549: /* end confdefs.h.  */
                   14550: 
                   14551: /* Override any GCC internal prototype to avoid an error.
                   14552:    Use char because int might match the return type of a GCC
                   14553:    builtin and then its argument prototype would still apply.  */
                   14554: #ifdef __cplusplus
                   14555: extern "C"
                   14556: #endif
                   14557: char clock_gettime ();
                   14558: int
                   14559: main ()
                   14560: {
                   14561: return clock_gettime ();
                   14562:   ;
                   14563:   return 0;
                   14564: }
                   14565: _ACEOF
                   14566: if ac_fn_c_try_link "$LINENO"; then :
                   14567:   ac_cv_search_clock_gettime="none required"
                   14568: else
                   14569:   LIBS="-lrt $LIBS"
                   14570:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14571: /* end confdefs.h.  */
                   14572: 
                   14573: /* Override any GCC internal prototype to avoid an error.
                   14574:    Use char because int might match the return type of a GCC
                   14575:    builtin and then its argument prototype would still apply.  */
                   14576: #ifdef __cplusplus
                   14577: extern "C"
                   14578: #endif
                   14579: char clock_gettime ();
                   14580: int
                   14581: main ()
                   14582: {
                   14583: return clock_gettime ();
                   14584:   ;
                   14585:   return 0;
                   14586: }
                   14587: _ACEOF
                   14588: if ac_fn_c_try_link "$LINENO"; then :
                   14589:   ac_cv_search_clock_gettime="-lrt"
                   14590: fi
                   14591: rm -f core conftest.err conftest.$ac_objext \
                   14592:     conftest$ac_exeext conftest.$ac_ext
                   14593: fi
                   14594: rm -f core conftest.err conftest.$ac_objext \
                   14595:     conftest$ac_exeext conftest.$ac_ext
                   14596: LIBS="$ac_func_search_save_LIBS"
                   14597: 
                   14598: fi
                   14599: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
                   14600: $as_echo "$ac_cv_search_clock_gettime" >&6; }
                   14601: if test "$ac_cv_search_clock_gettime" != "no"; then
                   14602:   test "$ac_cv_search_clock_gettime" = "none required" || LIBS="$ac_cv_search_clock_gettime $LIBS"
                   14603: 
                   14604: else :
                   14605: 
                   14606: fi
                   14607: 
                   14608: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic system clock" >&5
                   14609: $as_echo_n "checking for monotonic system clock... " >&6; }
                   14610: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14611: /* end confdefs.h.  */
                   14612: #include <time.h>
                   14613: int
                   14614: main ()
                   14615: {
                   14616: clock_gettime(CLOCK_MONOTONIC, NULL);
                   14617:   ;
                   14618:   return 0;
                   14619: }
                   14620: _ACEOF
                   14621: if ac_fn_c_try_compile "$LINENO"; then :
                   14622: 
                   14623: $as_echo "#define HAVE_CLOCK_MONOTONIC /**/" >>confdefs.h
                   14624: 
                   14625:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   14626: $as_echo "yes" >&6; }
                   14627: else
                   14628:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   14629: $as_echo "no" >&6; }
                   14630: fi
                   14631: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   14632: 
                   14633: CFLAGS="$CFLAGS $CFLAGS_ADD"
                   14634: CPPFLAGS="$CPPFLAGS $CPPFLAGS_ADD"
                   14635: 
                   14636: case $host in
                   14637:        *linux*)
                   14638:                # Remove KERNEL_INCLUDE from CPPFLAGS. It will
                   14639:                # be symlinked to src/include-glibc/linux in
                   14640:                # compile time.
                   14641:                CPPFLAGS=`echo $CPPFLAGS | sed "s,-I$KERNEL_INCLUDE,,"`
                   14642:                ;;
                   14643: esac
                   14644: 
                   14645: include_racoondir=${includedir}/racoon
                   14646: 
                   14647: 
                   14648: ac_config_files="$ac_config_files Makefile package_version.h src/Makefile src/include-glibc/Makefile src/libipsec/Makefile src/setkey/Makefile src/racoon/Makefile src/racoon/samples/psk.txt src/racoon/samples/racoon.conf rpm/Makefile rpm/suse/Makefile rpm/suse/ipsec-tools.spec"
                   14649: 
                   14650: cat >confcache <<\_ACEOF
                   14651: # This file is a shell script that caches the results of configure
                   14652: # tests run on this system so they can be shared between configure
                   14653: # scripts and configure runs, see configure's option --config-cache.
                   14654: # It is not useful on other systems.  If it contains results you don't
                   14655: # want to keep, you may remove or edit it.
                   14656: #
                   14657: # config.status only pays attention to the cache file if you give it
                   14658: # the --recheck option to rerun configure.
                   14659: #
                   14660: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   14661: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   14662: # following values.
                   14663: 
                   14664: _ACEOF
                   14665: 
                   14666: # The following way of writing the cache mishandles newlines in values,
                   14667: # but we know of no workaround that is simple, portable, and efficient.
                   14668: # So, we kill variables containing newlines.
                   14669: # Ultrix sh set writes to stderr and can't be redirected directly,
                   14670: # and sets the high bit in the cache file unless we assign to the vars.
                   14671: (
                   14672:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   14673:     eval ac_val=\$$ac_var
                   14674:     case $ac_val in #(
                   14675:     *${as_nl}*)
                   14676:       case $ac_var in #(
                   14677:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   14678: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   14679:       esac
                   14680:       case $ac_var in #(
                   14681:       _ | IFS | as_nl) ;; #(
                   14682:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   14683:       *) { eval $ac_var=; unset $ac_var;} ;;
                   14684:       esac ;;
                   14685:     esac
                   14686:   done
                   14687: 
                   14688:   (set) 2>&1 |
                   14689:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   14690:     *${as_nl}ac_space=\ *)
                   14691:       # `set' does not quote correctly, so add quotes: double-quote
                   14692:       # substitution turns \\\\ into \\, and sed turns \\ into \.
                   14693:       sed -n \
                   14694:        "s/'/'\\\\''/g;
                   14695:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
                   14696:       ;; #(
                   14697:     *)
                   14698:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   14699:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   14700:       ;;
                   14701:     esac |
                   14702:     sort
                   14703: ) |
                   14704:   sed '
                   14705:      /^ac_cv_env_/b end
                   14706:      t clear
                   14707:      :clear
                   14708:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   14709:      t end
                   14710:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   14711:      :end' >>confcache
                   14712: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   14713:   if test -w "$cache_file"; then
                   14714:     test "x$cache_file" != "x/dev/null" &&
                   14715:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
                   14716: $as_echo "$as_me: updating cache $cache_file" >&6;}
                   14717:     cat confcache >$cache_file
                   14718:   else
                   14719:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
                   14720: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
                   14721:   fi
                   14722: fi
                   14723: rm -f confcache
                   14724: 
                   14725: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   14726: # Let make expand exec_prefix.
                   14727: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   14728: 
                   14729: DEFS=-DHAVE_CONFIG_H
                   14730: 
                   14731: ac_libobjs=
                   14732: ac_ltlibobjs=
                   14733: U=
                   14734: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   14735:   # 1. Remove the extension, and $U if already installed.
                   14736:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
                   14737:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
                   14738:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   14739:   #    will be set to the directory where LIBOBJS objects are built.
                   14740:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   14741:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
                   14742: done
                   14743: LIBOBJS=$ac_libobjs
                   14744: 
                   14745: LTLIBOBJS=$ac_ltlibobjs
                   14746: 
                   14747: 
                   14748:  if test -n "$EXEEXT"; then
                   14749:   am__EXEEXT_TRUE=
                   14750:   am__EXEEXT_FALSE='#'
                   14751: else
                   14752:   am__EXEEXT_TRUE='#'
                   14753:   am__EXEEXT_FALSE=
                   14754: fi
                   14755: 
                   14756: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
                   14757:   as_fn_error $? "conditional \"AMDEP\" was never defined.
                   14758: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   14759: fi
                   14760: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
                   14761:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
                   14762: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   14763: fi
                   14764: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
                   14765:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
                   14766: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   14767: fi
                   14768: 
                   14769: : ${CONFIG_STATUS=./config.status}
                   14770: ac_write_fail=0
                   14771: ac_clean_files_save=$ac_clean_files
                   14772: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
                   14773: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
                   14774: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   14775: as_write_fail=0
                   14776: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
                   14777: #! $SHELL
                   14778: # Generated by $as_me.
                   14779: # Run this file to recreate the current configuration.
                   14780: # Compiler output produced by configure, useful for debugging
                   14781: # configure, is in config.log if it exists.
                   14782: 
                   14783: debug=false
                   14784: ac_cs_recheck=false
                   14785: ac_cs_silent=false
                   14786: 
                   14787: SHELL=\${CONFIG_SHELL-$SHELL}
                   14788: export SHELL
                   14789: _ASEOF
                   14790: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
                   14791: ## -------------------- ##
                   14792: ## M4sh Initialization. ##
                   14793: ## -------------------- ##
                   14794: 
                   14795: # Be more Bourne compatible
                   14796: DUALCASE=1; export DUALCASE # for MKS sh
                   14797: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
                   14798:   emulate sh
                   14799:   NULLCMD=:
                   14800:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
                   14801:   # is contrary to our usage.  Disable this feature.
                   14802:   alias -g '${1+"$@"}'='"$@"'
                   14803:   setopt NO_GLOB_SUBST
                   14804: else
                   14805:   case `(set -o) 2>/dev/null` in #(
                   14806:   *posix*) :
                   14807:     set -o posix ;; #(
                   14808:   *) :
                   14809:      ;;
                   14810: esac
                   14811: fi
                   14812: 
                   14813: 
                   14814: as_nl='
                   14815: '
                   14816: export as_nl
                   14817: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                   14818: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   14819: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                   14820: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                   14821: # Prefer a ksh shell builtin over an external printf program on Solaris,
                   14822: # but without wasting forks for bash or zsh.
                   14823: if test -z "$BASH_VERSION$ZSH_VERSION" \
                   14824:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                   14825:   as_echo='print -r --'
                   14826:   as_echo_n='print -rn --'
                   14827: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                   14828:   as_echo='printf %s\n'
                   14829:   as_echo_n='printf %s'
                   14830: else
                   14831:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                   14832:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                   14833:     as_echo_n='/usr/ucb/echo -n'
                   14834:   else
                   14835:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                   14836:     as_echo_n_body='eval
                   14837:       arg=$1;
                   14838:       case $arg in #(
                   14839:       *"$as_nl"*)
                   14840:        expr "X$arg" : "X\\(.*\\)$as_nl";
                   14841:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                   14842:       esac;
                   14843:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                   14844:     '
                   14845:     export as_echo_n_body
                   14846:     as_echo_n='sh -c $as_echo_n_body as_echo'
                   14847:   fi
                   14848:   export as_echo_body
                   14849:   as_echo='sh -c $as_echo_body as_echo'
                   14850: fi
                   14851: 
                   14852: # The user is always right.
                   14853: if test "${PATH_SEPARATOR+set}" != set; then
                   14854:   PATH_SEPARATOR=:
                   14855:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   14856:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   14857:       PATH_SEPARATOR=';'
                   14858:   }
                   14859: fi
                   14860: 
                   14861: 
                   14862: # IFS
                   14863: # We need space, tab and new line, in precisely that order.  Quoting is
                   14864: # there to prevent editors from complaining about space-tab.
                   14865: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                   14866: # splitting by setting IFS to empty value.)
                   14867: IFS=" ""       $as_nl"
                   14868: 
                   14869: # Find who we are.  Look in the path if we contain no directory separator.
                   14870: case $0 in #((
                   14871:   *[\\/]* ) as_myself=$0 ;;
                   14872:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   14873: for as_dir in $PATH
                   14874: do
                   14875:   IFS=$as_save_IFS
                   14876:   test -z "$as_dir" && as_dir=.
                   14877:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   14878:   done
                   14879: IFS=$as_save_IFS
                   14880: 
                   14881:      ;;
                   14882: esac
                   14883: # We did not find ourselves, most probably we were run as `sh COMMAND'
                   14884: # in which case we are not to be found in the path.
                   14885: if test "x$as_myself" = x; then
                   14886:   as_myself=$0
                   14887: fi
                   14888: if test ! -f "$as_myself"; then
                   14889:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                   14890:   exit 1
                   14891: fi
                   14892: 
                   14893: # Unset variables that we do not need and which cause bugs (e.g. in
                   14894: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                   14895: # suppresses any "Segmentation fault" message there.  '((' could
                   14896: # trigger a bug in pdksh 5.2.14.
                   14897: for as_var in BASH_ENV ENV MAIL MAILPATH
                   14898: do eval test x\${$as_var+set} = xset \
                   14899:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                   14900: done
                   14901: PS1='$ '
                   14902: PS2='> '
                   14903: PS4='+ '
                   14904: 
                   14905: # NLS nuisances.
                   14906: LC_ALL=C
                   14907: export LC_ALL
                   14908: LANGUAGE=C
                   14909: export LANGUAGE
                   14910: 
                   14911: # CDPATH.
                   14912: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   14913: 
                   14914: 
                   14915: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                   14916: # ----------------------------------------
                   14917: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                   14918: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                   14919: # script with STATUS, using 1 if that was 0.
                   14920: as_fn_error ()
                   14921: {
                   14922:   as_status=$1; test $as_status -eq 0 && as_status=1
                   14923:   if test "$4"; then
                   14924:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   14925:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                   14926:   fi
                   14927:   $as_echo "$as_me: error: $2" >&2
                   14928:   as_fn_exit $as_status
                   14929: } # as_fn_error
                   14930: 
                   14931: 
                   14932: # as_fn_set_status STATUS
                   14933: # -----------------------
                   14934: # Set $? to STATUS, without forking.
                   14935: as_fn_set_status ()
                   14936: {
                   14937:   return $1
                   14938: } # as_fn_set_status
                   14939: 
                   14940: # as_fn_exit STATUS
                   14941: # -----------------
                   14942: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                   14943: as_fn_exit ()
                   14944: {
                   14945:   set +e
                   14946:   as_fn_set_status $1
                   14947:   exit $1
                   14948: } # as_fn_exit
                   14949: 
                   14950: # as_fn_unset VAR
                   14951: # ---------------
                   14952: # Portably unset VAR.
                   14953: as_fn_unset ()
                   14954: {
                   14955:   { eval $1=; unset $1;}
                   14956: }
                   14957: as_unset=as_fn_unset
                   14958: # as_fn_append VAR VALUE
                   14959: # ----------------------
                   14960: # Append the text in VALUE to the end of the definition contained in VAR. Take
                   14961: # advantage of any shell optimizations that allow amortized linear growth over
                   14962: # repeated appends, instead of the typical quadratic growth present in naive
                   14963: # implementations.
                   14964: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                   14965:   eval 'as_fn_append ()
                   14966:   {
                   14967:     eval $1+=\$2
                   14968:   }'
                   14969: else
                   14970:   as_fn_append ()
                   14971:   {
                   14972:     eval $1=\$$1\$2
                   14973:   }
                   14974: fi # as_fn_append
                   14975: 
                   14976: # as_fn_arith ARG...
                   14977: # ------------------
                   14978: # Perform arithmetic evaluation on the ARGs, and store the result in the
                   14979: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                   14980: # must be portable across $(()) and expr.
                   14981: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                   14982:   eval 'as_fn_arith ()
                   14983:   {
                   14984:     as_val=$(( $* ))
                   14985:   }'
                   14986: else
                   14987:   as_fn_arith ()
                   14988:   {
                   14989:     as_val=`expr "$@" || test $? -eq 1`
                   14990:   }
                   14991: fi # as_fn_arith
                   14992: 
                   14993: 
                   14994: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   14995:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                   14996:   as_expr=expr
                   14997: else
                   14998:   as_expr=false
                   14999: fi
                   15000: 
                   15001: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                   15002:   as_basename=basename
                   15003: else
                   15004:   as_basename=false
                   15005: fi
                   15006: 
                   15007: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   15008:   as_dirname=dirname
                   15009: else
                   15010:   as_dirname=false
                   15011: fi
                   15012: 
                   15013: as_me=`$as_basename -- "$0" ||
                   15014: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   15015:         X"$0" : 'X\(//\)$' \| \
                   15016:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                   15017: $as_echo X/"$0" |
                   15018:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   15019:            s//\1/
                   15020:            q
                   15021:          }
                   15022:          /^X\/\(\/\/\)$/{
                   15023:            s//\1/
                   15024:            q
                   15025:          }
                   15026:          /^X\/\(\/\).*/{
                   15027:            s//\1/
                   15028:            q
                   15029:          }
                   15030:          s/.*/./; q'`
                   15031: 
                   15032: # Avoid depending upon Character Ranges.
                   15033: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   15034: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   15035: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   15036: as_cr_digits='0123456789'
                   15037: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   15038: 
                   15039: ECHO_C= ECHO_N= ECHO_T=
                   15040: case `echo -n x` in #(((((
                   15041: -n*)
                   15042:   case `echo 'xy\c'` in
                   15043:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                   15044:   xy)  ECHO_C='\c';;
                   15045:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                   15046:        ECHO_T='        ';;
                   15047:   esac;;
                   15048: *)
                   15049:   ECHO_N='-n';;
                   15050: esac
                   15051: 
                   15052: rm -f conf$$ conf$$.exe conf$$.file
                   15053: if test -d conf$$.dir; then
                   15054:   rm -f conf$$.dir/conf$$.file
                   15055: else
                   15056:   rm -f conf$$.dir
                   15057:   mkdir conf$$.dir 2>/dev/null
                   15058: fi
                   15059: if (echo >conf$$.file) 2>/dev/null; then
                   15060:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   15061:     as_ln_s='ln -s'
                   15062:     # ... but there are two gotchas:
                   15063:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                   15064:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
                   15065:     # In both cases, we have to default to `cp -p'.
                   15066:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
                   15067:       as_ln_s='cp -p'
                   15068:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   15069:     as_ln_s=ln
                   15070:   else
                   15071:     as_ln_s='cp -p'
                   15072:   fi
                   15073: else
                   15074:   as_ln_s='cp -p'
                   15075: fi
                   15076: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   15077: rmdir conf$$.dir 2>/dev/null
                   15078: 
                   15079: 
                   15080: # as_fn_mkdir_p
                   15081: # -------------
                   15082: # Create "$as_dir" as a directory, including parents if necessary.
                   15083: as_fn_mkdir_p ()
                   15084: {
                   15085: 
                   15086:   case $as_dir in #(
                   15087:   -*) as_dir=./$as_dir;;
                   15088:   esac
                   15089:   test -d "$as_dir" || eval $as_mkdir_p || {
                   15090:     as_dirs=
                   15091:     while :; do
                   15092:       case $as_dir in #(
                   15093:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                   15094:       *) as_qdir=$as_dir;;
                   15095:       esac
                   15096:       as_dirs="'$as_qdir' $as_dirs"
                   15097:       as_dir=`$as_dirname -- "$as_dir" ||
                   15098: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   15099:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   15100:         X"$as_dir" : 'X\(//\)$' \| \
                   15101:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                   15102: $as_echo X"$as_dir" |
                   15103:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   15104:            s//\1/
                   15105:            q
                   15106:          }
                   15107:          /^X\(\/\/\)[^/].*/{
                   15108:            s//\1/
                   15109:            q
                   15110:          }
                   15111:          /^X\(\/\/\)$/{
                   15112:            s//\1/
                   15113:            q
                   15114:          }
                   15115:          /^X\(\/\).*/{
                   15116:            s//\1/
                   15117:            q
                   15118:          }
                   15119:          s/.*/./; q'`
                   15120:       test -d "$as_dir" && break
                   15121:     done
                   15122:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                   15123:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                   15124: 
                   15125: 
                   15126: } # as_fn_mkdir_p
                   15127: if mkdir -p . 2>/dev/null; then
                   15128:   as_mkdir_p='mkdir -p "$as_dir"'
                   15129: else
                   15130:   test -d ./-p && rmdir ./-p
                   15131:   as_mkdir_p=false
                   15132: fi
                   15133: 
                   15134: if test -x / >/dev/null 2>&1; then
                   15135:   as_test_x='test -x'
                   15136: else
                   15137:   if ls -dL / >/dev/null 2>&1; then
                   15138:     as_ls_L_option=L
                   15139:   else
                   15140:     as_ls_L_option=
                   15141:   fi
                   15142:   as_test_x='
                   15143:     eval sh -c '\''
                   15144:       if test -d "$1"; then
                   15145:        test -d "$1/.";
                   15146:       else
                   15147:        case $1 in #(
                   15148:        -*)set "./$1";;
                   15149:        esac;
                   15150:        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
                   15151:        ???[sx]*):;;*)false;;esac;fi
                   15152:     '\'' sh
                   15153:   '
                   15154: fi
                   15155: as_executable_p=$as_test_x
                   15156: 
                   15157: # Sed expression to map a string onto a valid CPP name.
                   15158: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                   15159: 
                   15160: # Sed expression to map a string onto a valid variable name.
                   15161: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                   15162: 
                   15163: 
                   15164: exec 6>&1
                   15165: ## ----------------------------------- ##
                   15166: ## Main body of $CONFIG_STATUS script. ##
                   15167: ## ----------------------------------- ##
                   15168: _ASEOF
                   15169: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
                   15170: 
                   15171: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   15172: # Save the log message, to keep $0 and so on meaningful, and to
                   15173: # report actual input values of CONFIG_FILES etc. instead of their
                   15174: # values after options handling.
                   15175: ac_log="
                   15176: This file was extended by ipsec-tools $as_me 0.8.0, which was
                   15177: generated by GNU Autoconf 2.67.  Invocation command line was
                   15178: 
                   15179:   CONFIG_FILES    = $CONFIG_FILES
                   15180:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   15181:   CONFIG_LINKS    = $CONFIG_LINKS
                   15182:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   15183:   $ $0 $@
                   15184: 
                   15185: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   15186: "
                   15187: 
                   15188: _ACEOF
                   15189: 
                   15190: case $ac_config_files in *"
                   15191: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   15192: esac
                   15193: 
                   15194: case $ac_config_headers in *"
                   15195: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
                   15196: esac
                   15197: 
                   15198: 
                   15199: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   15200: # Files that config.status was made for.
                   15201: config_files="$ac_config_files"
                   15202: config_headers="$ac_config_headers"
                   15203: config_commands="$ac_config_commands"
                   15204: 
                   15205: _ACEOF
                   15206: 
                   15207: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   15208: ac_cs_usage="\
                   15209: \`$as_me' instantiates files and other configuration actions
                   15210: from templates according to the current configuration.  Unless the files
                   15211: and actions are specified as TAGs, all are instantiated by default.
                   15212: 
                   15213: Usage: $0 [OPTION]... [TAG]...
                   15214: 
                   15215:   -h, --help       print this help, then exit
                   15216:   -V, --version    print version number and configuration settings, then exit
                   15217:       --config     print configuration, then exit
                   15218:   -q, --quiet, --silent
                   15219:                    do not print progress messages
                   15220:   -d, --debug      don't remove temporary files
                   15221:       --recheck    update $as_me by reconfiguring in the same conditions
                   15222:       --file=FILE[:TEMPLATE]
                   15223:                    instantiate the configuration file FILE
                   15224:       --header=FILE[:TEMPLATE]
                   15225:                    instantiate the configuration header FILE
                   15226: 
                   15227: Configuration files:
                   15228: $config_files
                   15229: 
                   15230: Configuration headers:
                   15231: $config_headers
                   15232: 
                   15233: Configuration commands:
                   15234: $config_commands
                   15235: 
                   15236: Report bugs to the package provider."
                   15237: 
                   15238: _ACEOF
                   15239: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   15240: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
                   15241: ac_cs_version="\\
                   15242: ipsec-tools config.status 0.8.0
                   15243: configured by $0, generated by GNU Autoconf 2.67,
                   15244:   with options \\"\$ac_cs_config\\"
                   15245: 
                   15246: Copyright (C) 2010 Free Software Foundation, Inc.
                   15247: This config.status script is free software; the Free Software Foundation
                   15248: gives unlimited permission to copy, distribute and modify it."
                   15249: 
                   15250: ac_pwd='$ac_pwd'
                   15251: srcdir='$srcdir'
                   15252: INSTALL='$INSTALL'
                   15253: MKDIR_P='$MKDIR_P'
                   15254: AWK='$AWK'
                   15255: test -n "\$AWK" || AWK=awk
                   15256: _ACEOF
                   15257: 
                   15258: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   15259: # The default lists apply if the user does not specify any file.
                   15260: ac_need_defaults=:
                   15261: while test $# != 0
                   15262: do
                   15263:   case $1 in
                   15264:   --*=?*)
                   15265:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   15266:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
                   15267:     ac_shift=:
                   15268:     ;;
                   15269:   --*=)
                   15270:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   15271:     ac_optarg=
                   15272:     ac_shift=:
                   15273:     ;;
                   15274:   *)
                   15275:     ac_option=$1
                   15276:     ac_optarg=$2
                   15277:     ac_shift=shift
                   15278:     ;;
                   15279:   esac
                   15280: 
                   15281:   case $ac_option in
                   15282:   # Handling of the options.
                   15283:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   15284:     ac_cs_recheck=: ;;
                   15285:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
                   15286:     $as_echo "$ac_cs_version"; exit ;;
                   15287:   --config | --confi | --conf | --con | --co | --c )
                   15288:     $as_echo "$ac_cs_config"; exit ;;
                   15289:   --debug | --debu | --deb | --de | --d | -d )
                   15290:     debug=: ;;
                   15291:   --file | --fil | --fi | --f )
                   15292:     $ac_shift
                   15293:     case $ac_optarg in
                   15294:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   15295:     '') as_fn_error $? "missing file argument" ;;
                   15296:     esac
                   15297:     as_fn_append CONFIG_FILES " '$ac_optarg'"
                   15298:     ac_need_defaults=false;;
                   15299:   --header | --heade | --head | --hea )
                   15300:     $ac_shift
                   15301:     case $ac_optarg in
                   15302:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   15303:     esac
                   15304:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
                   15305:     ac_need_defaults=false;;
                   15306:   --he | --h)
                   15307:     # Conflict between --help and --header
                   15308:     as_fn_error $? "ambiguous option: \`$1'
                   15309: Try \`$0 --help' for more information.";;
                   15310:   --help | --hel | -h )
                   15311:     $as_echo "$ac_cs_usage"; exit ;;
                   15312:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   15313:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   15314:     ac_cs_silent=: ;;
                   15315: 
                   15316:   # This is an error.
                   15317:   -*) as_fn_error $? "unrecognized option: \`$1'
                   15318: Try \`$0 --help' for more information." ;;
                   15319: 
                   15320:   *) as_fn_append ac_config_targets " $1"
                   15321:      ac_need_defaults=false ;;
                   15322: 
                   15323:   esac
                   15324:   shift
                   15325: done
                   15326: 
                   15327: ac_configure_extra_args=
                   15328: 
                   15329: if $ac_cs_silent; then
                   15330:   exec 6>/dev/null
                   15331:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   15332: fi
                   15333: 
                   15334: _ACEOF
                   15335: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   15336: if \$ac_cs_recheck; then
                   15337:   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
                   15338:   shift
                   15339:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
                   15340:   CONFIG_SHELL='$SHELL'
                   15341:   export CONFIG_SHELL
                   15342:   exec "\$@"
                   15343: fi
                   15344: 
                   15345: _ACEOF
                   15346: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   15347: exec 5>>config.log
                   15348: {
                   15349:   echo
                   15350:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   15351: ## Running $as_me. ##
                   15352: _ASBOX
                   15353:   $as_echo "$ac_log"
                   15354: } >&5
                   15355: 
                   15356: _ACEOF
                   15357: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   15358: #
                   15359: # INIT-COMMANDS
                   15360: #
                   15361: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
                   15362: 
                   15363: 
                   15364: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   15365: # if CDPATH is set.
                   15366: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   15367: 
                   15368: sed_quote_subst='$sed_quote_subst'
                   15369: double_quote_subst='$double_quote_subst'
                   15370: delay_variable_subst='$delay_variable_subst'
                   15371: enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
                   15372: macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
                   15373: macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
                   15374: enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
                   15375: pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
                   15376: enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
                   15377: host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
                   15378: host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
                   15379: host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
                   15380: build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
                   15381: build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
                   15382: build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
                   15383: SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
                   15384: Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
                   15385: GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
                   15386: EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
                   15387: FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
                   15388: LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
                   15389: NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
                   15390: LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
                   15391: max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
                   15392: ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
                   15393: exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
                   15394: lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
                   15395: lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
                   15396: lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
                   15397: reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
                   15398: reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
                   15399: OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
                   15400: deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
                   15401: file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
                   15402: AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
                   15403: AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
                   15404: STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
                   15405: RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
                   15406: old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
                   15407: old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
                   15408: old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
                   15409: CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
                   15410: CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
                   15411: compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
                   15412: GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
                   15413: lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
                   15414: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
                   15415: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
                   15416: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
                   15417: objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
                   15418: SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
                   15419: ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
                   15420: MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
                   15421: lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
                   15422: lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
                   15423: lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
                   15424: lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
                   15425: lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
                   15426: need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
                   15427: DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
                   15428: NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
                   15429: LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
                   15430: OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
                   15431: OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
                   15432: libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
                   15433: shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
                   15434: extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
                   15435: archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
                   15436: enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
                   15437: export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
                   15438: whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
                   15439: compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
                   15440: old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
                   15441: old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
                   15442: archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
                   15443: archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
                   15444: module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
                   15445: module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
                   15446: with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
                   15447: allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
                   15448: no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
                   15449: hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
                   15450: hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
                   15451: hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
                   15452: hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
                   15453: hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
                   15454: hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
                   15455: hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
                   15456: hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
                   15457: inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
                   15458: link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
                   15459: fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
                   15460: always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
                   15461: export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
                   15462: exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
                   15463: include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
                   15464: prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
                   15465: file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
                   15466: variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
                   15467: need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
                   15468: need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
                   15469: version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
                   15470: runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
                   15471: shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
                   15472: shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
                   15473: libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
                   15474: library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
                   15475: soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
                   15476: postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
                   15477: postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
                   15478: finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
                   15479: finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
                   15480: hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
                   15481: sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
                   15482: sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
                   15483: hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
                   15484: enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
                   15485: enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
                   15486: enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
                   15487: old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
                   15488: striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
                   15489: 
                   15490: LTCC='$LTCC'
                   15491: LTCFLAGS='$LTCFLAGS'
                   15492: compiler='$compiler_DEFAULT'
                   15493: 
                   15494: # Quote evaled strings.
                   15495: for var in SED \
                   15496: GREP \
                   15497: EGREP \
                   15498: FGREP \
                   15499: LD \
                   15500: NM \
                   15501: LN_S \
                   15502: lt_SP2NL \
                   15503: lt_NL2SP \
                   15504: reload_flag \
                   15505: OBJDUMP \
                   15506: deplibs_check_method \
                   15507: file_magic_cmd \
                   15508: AR \
                   15509: AR_FLAGS \
                   15510: STRIP \
                   15511: RANLIB \
                   15512: CC \
                   15513: CFLAGS \
                   15514: compiler \
                   15515: lt_cv_sys_global_symbol_pipe \
                   15516: lt_cv_sys_global_symbol_to_cdecl \
                   15517: lt_cv_sys_global_symbol_to_c_name_address \
                   15518: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
                   15519: SHELL \
                   15520: ECHO \
                   15521: lt_prog_compiler_no_builtin_flag \
                   15522: lt_prog_compiler_wl \
                   15523: lt_prog_compiler_pic \
                   15524: lt_prog_compiler_static \
                   15525: lt_cv_prog_compiler_c_o \
                   15526: need_locks \
                   15527: DSYMUTIL \
                   15528: NMEDIT \
                   15529: LIPO \
                   15530: OTOOL \
                   15531: OTOOL64 \
                   15532: shrext_cmds \
                   15533: export_dynamic_flag_spec \
                   15534: whole_archive_flag_spec \
                   15535: compiler_needs_object \
                   15536: with_gnu_ld \
                   15537: allow_undefined_flag \
                   15538: no_undefined_flag \
                   15539: hardcode_libdir_flag_spec \
                   15540: hardcode_libdir_flag_spec_ld \
                   15541: hardcode_libdir_separator \
                   15542: fix_srcfile_path \
                   15543: exclude_expsyms \
                   15544: include_expsyms \
                   15545: file_list_spec \
                   15546: variables_saved_for_relink \
                   15547: libname_spec \
                   15548: library_names_spec \
                   15549: soname_spec \
                   15550: finish_eval \
                   15551: old_striplib \
                   15552: striplib; do
                   15553:     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
                   15554:     *[\\\\\\\`\\"\\\$]*)
                   15555:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
                   15556:       ;;
                   15557:     *)
                   15558:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   15559:       ;;
                   15560:     esac
                   15561: done
                   15562: 
                   15563: # Double-quote double-evaled strings.
                   15564: for var in reload_cmds \
                   15565: old_postinstall_cmds \
                   15566: old_postuninstall_cmds \
                   15567: old_archive_cmds \
                   15568: extract_expsyms_cmds \
                   15569: old_archive_from_new_cmds \
                   15570: old_archive_from_expsyms_cmds \
                   15571: archive_cmds \
                   15572: archive_expsym_cmds \
                   15573: module_cmds \
                   15574: module_expsym_cmds \
                   15575: export_symbols_cmds \
                   15576: prelink_cmds \
                   15577: postinstall_cmds \
                   15578: postuninstall_cmds \
                   15579: finish_cmds \
                   15580: sys_lib_search_path_spec \
                   15581: sys_lib_dlsearch_path_spec; do
                   15582:     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
                   15583:     *[\\\\\\\`\\"\\\$]*)
                   15584:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
                   15585:       ;;
                   15586:     *)
                   15587:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   15588:       ;;
                   15589:     esac
                   15590: done
                   15591: 
                   15592: # Fix-up fallback echo if it was mangled by the above quoting rules.
                   15593: case \$lt_ECHO in
                   15594: *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
                   15595:   ;;
                   15596: esac
                   15597: 
                   15598: ac_aux_dir='$ac_aux_dir'
                   15599: xsi_shell='$xsi_shell'
                   15600: lt_shell_append='$lt_shell_append'
                   15601: 
                   15602: # See if we are running on zsh, and set the options which allow our
                   15603: # commands through without removal of \ escapes INIT.
                   15604: if test -n "\${ZSH_VERSION+set}" ; then
                   15605:    setopt NO_GLOB_SUBST
                   15606: fi
                   15607: 
                   15608: 
                   15609:     PACKAGE='$PACKAGE'
                   15610:     VERSION='$VERSION'
                   15611:     TIMESTAMP='$TIMESTAMP'
                   15612:     RM='$RM'
                   15613:     ofile='$ofile'
                   15614: 
                   15615: 
                   15616: 
                   15617: 
                   15618: _ACEOF
                   15619: 
                   15620: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   15621: 
                   15622: # Handling of arguments.
                   15623: for ac_config_target in $ac_config_targets
                   15624: do
                   15625:   case $ac_config_target in
                   15626:     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
                   15627:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   15628:     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
                   15629:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   15630:     "package_version.h") CONFIG_FILES="$CONFIG_FILES package_version.h" ;;
                   15631:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
                   15632:     "src/include-glibc/Makefile") CONFIG_FILES="$CONFIG_FILES src/include-glibc/Makefile" ;;
                   15633:     "src/libipsec/Makefile") CONFIG_FILES="$CONFIG_FILES src/libipsec/Makefile" ;;
                   15634:     "src/setkey/Makefile") CONFIG_FILES="$CONFIG_FILES src/setkey/Makefile" ;;
                   15635:     "src/racoon/Makefile") CONFIG_FILES="$CONFIG_FILES src/racoon/Makefile" ;;
                   15636:     "src/racoon/samples/psk.txt") CONFIG_FILES="$CONFIG_FILES src/racoon/samples/psk.txt" ;;
                   15637:     "src/racoon/samples/racoon.conf") CONFIG_FILES="$CONFIG_FILES src/racoon/samples/racoon.conf" ;;
                   15638:     "rpm/Makefile") CONFIG_FILES="$CONFIG_FILES rpm/Makefile" ;;
                   15639:     "rpm/suse/Makefile") CONFIG_FILES="$CONFIG_FILES rpm/suse/Makefile" ;;
                   15640:     "rpm/suse/ipsec-tools.spec") CONFIG_FILES="$CONFIG_FILES rpm/suse/ipsec-tools.spec" ;;
                   15641: 
                   15642:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
                   15643:   esac
                   15644: done
                   15645: 
                   15646: 
                   15647: # If the user did not use the arguments to specify the items to instantiate,
                   15648: # then the envvar interface is used.  Set only those that are not.
                   15649: # We use the long form for the default assignment because of an extremely
                   15650: # bizarre bug on SunOS 4.1.3.
                   15651: if $ac_need_defaults; then
                   15652:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   15653:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   15654:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   15655: fi
                   15656: 
                   15657: # Have a temporary directory for convenience.  Make it in the build tree
                   15658: # simply because there is no reason against having it here, and in addition,
                   15659: # creating and moving files from /tmp can sometimes cause problems.
                   15660: # Hook for its removal unless debugging.
                   15661: # Note that there is a small window in which the directory will not be cleaned:
                   15662: # after its creation but before its name has been assigned to `$tmp'.
                   15663: $debug ||
                   15664: {
                   15665:   tmp=
                   15666:   trap 'exit_status=$?
                   15667:   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
                   15668: ' 0
                   15669:   trap 'as_fn_exit 1' 1 2 13 15
                   15670: }
                   15671: # Create a (secure) tmp directory for tmp files.
                   15672: 
                   15673: {
                   15674:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
                   15675:   test -n "$tmp" && test -d "$tmp"
                   15676: }  ||
                   15677: {
                   15678:   tmp=./conf$$-$RANDOM
                   15679:   (umask 077 && mkdir "$tmp")
                   15680: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
                   15681: 
                   15682: # Set up the scripts for CONFIG_FILES section.
                   15683: # No need to generate them if there are no CONFIG_FILES.
                   15684: # This happens for instance with `./config.status config.h'.
                   15685: if test -n "$CONFIG_FILES"; then
                   15686: 
                   15687: 
                   15688: ac_cr=`echo X | tr X '\015'`
                   15689: # On cygwin, bash can eat \r inside `` if the user requested igncr.
                   15690: # But we know of no other shell where ac_cr would be empty at this
                   15691: # point, so we can use a bashism as a fallback.
                   15692: if test "x$ac_cr" = x; then
                   15693:   eval ac_cr=\$\'\\r\'
                   15694: fi
                   15695: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   15696: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
                   15697:   ac_cs_awk_cr='\\r'
                   15698: else
                   15699:   ac_cs_awk_cr=$ac_cr
                   15700: fi
                   15701: 
                   15702: echo 'BEGIN {' >"$tmp/subs1.awk" &&
                   15703: _ACEOF
                   15704: 
                   15705: 
                   15706: {
                   15707:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   15708:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   15709:   echo "_ACEOF"
                   15710: } >conf$$subs.sh ||
                   15711:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   15712: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
                   15713: ac_delim='%!_!# '
                   15714: for ac_last_try in false false false false false :; do
                   15715:   . ./conf$$subs.sh ||
                   15716:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   15717: 
                   15718:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   15719:   if test $ac_delim_n = $ac_delim_num; then
                   15720:     break
                   15721:   elif $ac_last_try; then
                   15722:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   15723:   else
                   15724:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   15725:   fi
                   15726: done
                   15727: rm -f conf$$subs.sh
                   15728: 
                   15729: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   15730: cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
                   15731: _ACEOF
                   15732: sed -n '
                   15733: h
                   15734: s/^/S["/; s/!.*/"]=/
                   15735: p
                   15736: g
                   15737: s/^[^!]*!//
                   15738: :repl
                   15739: t repl
                   15740: s/'"$ac_delim"'$//
                   15741: t delim
                   15742: :nl
                   15743: h
                   15744: s/\(.\{148\}\)..*/\1/
                   15745: t more1
                   15746: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   15747: p
                   15748: n
                   15749: b repl
                   15750: :more1
                   15751: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   15752: p
                   15753: g
                   15754: s/.\{148\}//
                   15755: t nl
                   15756: :delim
                   15757: h
                   15758: s/\(.\{148\}\)..*/\1/
                   15759: t more2
                   15760: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   15761: p
                   15762: b
                   15763: :more2
                   15764: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   15765: p
                   15766: g
                   15767: s/.\{148\}//
                   15768: t delim
                   15769: ' <conf$$subs.awk | sed '
                   15770: /^[^""]/{
                   15771:   N
                   15772:   s/\n//
                   15773: }
                   15774: ' >>$CONFIG_STATUS || ac_write_fail=1
                   15775: rm -f conf$$subs.awk
                   15776: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   15777: _ACAWK
                   15778: cat >>"\$tmp/subs1.awk" <<_ACAWK &&
                   15779:   for (key in S) S_is_set[key] = 1
                   15780:   FS = ""
                   15781: 
                   15782: }
                   15783: {
                   15784:   line = $ 0
                   15785:   nfields = split(line, field, "@")
                   15786:   substed = 0
                   15787:   len = length(field[1])
                   15788:   for (i = 2; i < nfields; i++) {
                   15789:     key = field[i]
                   15790:     keylen = length(key)
                   15791:     if (S_is_set[key]) {
                   15792:       value = S[key]
                   15793:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   15794:       len += length(value) + length(field[++i])
                   15795:       substed = 1
                   15796:     } else
                   15797:       len += 1 + keylen
                   15798:   }
                   15799: 
                   15800:   print line
                   15801: }
                   15802: 
                   15803: _ACAWK
                   15804: _ACEOF
                   15805: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   15806: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   15807:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
                   15808: else
                   15809:   cat
                   15810: fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
                   15811:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
                   15812: _ACEOF
                   15813: 
                   15814: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
                   15815: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
                   15816: # trailing colons and then remove the whole line if VPATH becomes empty
                   15817: # (actually we leave an empty line to preserve line numbers).
                   15818: if test "x$srcdir" = x.; then
                   15819:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
                   15820: h
                   15821: s///
                   15822: s/^/:/
                   15823: s/[     ]*$/:/
                   15824: s/:\$(srcdir):/:/g
                   15825: s/:\${srcdir}:/:/g
                   15826: s/:@srcdir@:/:/g
                   15827: s/^:*//
                   15828: s/:*$//
                   15829: x
                   15830: s/\(=[  ]*\).*/\1/
                   15831: G
                   15832: s/\n//
                   15833: s/^[^=]*=[      ]*$//
                   15834: }'
                   15835: fi
                   15836: 
                   15837: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   15838: fi # test -n "$CONFIG_FILES"
                   15839: 
                   15840: # Set up the scripts for CONFIG_HEADERS section.
                   15841: # No need to generate them if there are no CONFIG_HEADERS.
                   15842: # This happens for instance with `./config.status Makefile'.
                   15843: if test -n "$CONFIG_HEADERS"; then
                   15844: cat >"$tmp/defines.awk" <<\_ACAWK ||
                   15845: BEGIN {
                   15846: _ACEOF
                   15847: 
                   15848: # Transform confdefs.h into an awk script `defines.awk', embedded as
                   15849: # here-document in config.status, that substitutes the proper values into
                   15850: # config.h.in to produce config.h.
                   15851: 
                   15852: # Create a delimiter string that does not exist in confdefs.h, to ease
                   15853: # handling of long lines.
                   15854: ac_delim='%!_!# '
                   15855: for ac_last_try in false false :; do
                   15856:   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
                   15857:   if test -z "$ac_t"; then
                   15858:     break
                   15859:   elif $ac_last_try; then
                   15860:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
                   15861:   else
                   15862:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   15863:   fi
                   15864: done
                   15865: 
                   15866: # For the awk script, D is an array of macro values keyed by name,
                   15867: # likewise P contains macro parameters if any.  Preserve backslash
                   15868: # newline sequences.
                   15869: 
                   15870: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
                   15871: sed -n '
                   15872: s/.\{148\}/&'"$ac_delim"'/g
                   15873: t rset
                   15874: :rset
                   15875: s/^[    ]*#[    ]*define[       ][      ]*/ /
                   15876: t def
                   15877: d
                   15878: :def
                   15879: s/\\$//
                   15880: t bsnl
                   15881: s/["\\]/\\&/g
                   15882: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   15883: D["\1"]=" \3"/p
                   15884: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
                   15885: d
                   15886: :bsnl
                   15887: s/["\\]/\\&/g
                   15888: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   15889: D["\1"]=" \3\\\\\\n"\\/p
                   15890: t cont
                   15891: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
                   15892: t cont
                   15893: d
                   15894: :cont
                   15895: n
                   15896: s/.\{148\}/&'"$ac_delim"'/g
                   15897: t clear
                   15898: :clear
                   15899: s/\\$//
                   15900: t bsnlc
                   15901: s/["\\]/\\&/g; s/^/"/; s/$/"/p
                   15902: d
                   15903: :bsnlc
                   15904: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
                   15905: b cont
                   15906: ' <confdefs.h | sed '
                   15907: s/'"$ac_delim"'/"\\\
                   15908: "/g' >>$CONFIG_STATUS || ac_write_fail=1
                   15909: 
                   15910: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   15911:   for (key in D) D_is_set[key] = 1
                   15912:   FS = ""
                   15913: }
                   15914: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
                   15915:   line = \$ 0
                   15916:   split(line, arg, " ")
                   15917:   if (arg[1] == "#") {
                   15918:     defundef = arg[2]
                   15919:     mac1 = arg[3]
                   15920:   } else {
                   15921:     defundef = substr(arg[1], 2)
                   15922:     mac1 = arg[2]
                   15923:   }
                   15924:   split(mac1, mac2, "(") #)
                   15925:   macro = mac2[1]
                   15926:   prefix = substr(line, 1, index(line, defundef) - 1)
                   15927:   if (D_is_set[macro]) {
                   15928:     # Preserve the white space surrounding the "#".
                   15929:     print prefix "define", macro P[macro] D[macro]
                   15930:     next
                   15931:   } else {
                   15932:     # Replace #undef with comments.  This is necessary, for example,
                   15933:     # in the case of _POSIX_SOURCE, which is predefined and required
                   15934:     # on some systems where configure will not decide to define it.
                   15935:     if (defundef == "undef") {
                   15936:       print "/*", prefix defundef, macro, "*/"
                   15937:       next
                   15938:     }
                   15939:   }
                   15940: }
                   15941: { print }
                   15942: _ACAWK
                   15943: _ACEOF
                   15944: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   15945:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
                   15946: fi # test -n "$CONFIG_HEADERS"
                   15947: 
                   15948: 
                   15949: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
                   15950: shift
                   15951: for ac_tag
                   15952: do
                   15953:   case $ac_tag in
                   15954:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   15955:   esac
                   15956:   case $ac_mode$ac_tag in
                   15957:   :[FHL]*:*);;
                   15958:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
                   15959:   :[FH]-) ac_tag=-:-;;
                   15960:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   15961:   esac
                   15962:   ac_save_IFS=$IFS
                   15963:   IFS=:
                   15964:   set x $ac_tag
                   15965:   IFS=$ac_save_IFS
                   15966:   shift
                   15967:   ac_file=$1
                   15968:   shift
                   15969: 
                   15970:   case $ac_mode in
                   15971:   :L) ac_source=$1;;
                   15972:   :[FH])
                   15973:     ac_file_inputs=
                   15974:     for ac_f
                   15975:     do
                   15976:       case $ac_f in
                   15977:       -) ac_f="$tmp/stdin";;
                   15978:       *) # Look for the file first in the build tree, then in the source tree
                   15979:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
                   15980:         # because $ac_f cannot contain `:'.
                   15981:         test -f "$ac_f" ||
                   15982:           case $ac_f in
                   15983:           [\\/$]*) false;;
                   15984:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   15985:           esac ||
                   15986:           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
                   15987:       esac
                   15988:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
                   15989:       as_fn_append ac_file_inputs " '$ac_f'"
                   15990:     done
                   15991: 
                   15992:     # Let's still pretend it is `configure' which instantiates (i.e., don't
                   15993:     # use $as_me), people would be surprised to read:
                   15994:     #    /* config.h.  Generated by config.status.  */
                   15995:     configure_input='Generated from '`
                   15996:          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
                   15997:        `' by configure.'
                   15998:     if test x"$ac_file" != x-; then
                   15999:       configure_input="$ac_file.  $configure_input"
                   16000:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
                   16001: $as_echo "$as_me: creating $ac_file" >&6;}
                   16002:     fi
                   16003:     # Neutralize special characters interpreted by sed in replacement strings.
                   16004:     case $configure_input in #(
                   16005:     *\&* | *\|* | *\\* )
                   16006:        ac_sed_conf_input=`$as_echo "$configure_input" |
                   16007:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   16008:     *) ac_sed_conf_input=$configure_input;;
                   16009:     esac
                   16010: 
                   16011:     case $ac_tag in
                   16012:     *:-:* | *:-) cat >"$tmp/stdin" \
                   16013:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
                   16014:     esac
                   16015:     ;;
                   16016:   esac
                   16017: 
                   16018:   ac_dir=`$as_dirname -- "$ac_file" ||
                   16019: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   16020:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   16021:         X"$ac_file" : 'X\(//\)$' \| \
                   16022:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
                   16023: $as_echo X"$ac_file" |
                   16024:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   16025:            s//\1/
                   16026:            q
                   16027:          }
                   16028:          /^X\(\/\/\)[^/].*/{
                   16029:            s//\1/
                   16030:            q
                   16031:          }
                   16032:          /^X\(\/\/\)$/{
                   16033:            s//\1/
                   16034:            q
                   16035:          }
                   16036:          /^X\(\/\).*/{
                   16037:            s//\1/
                   16038:            q
                   16039:          }
                   16040:          s/.*/./; q'`
                   16041:   as_dir="$ac_dir"; as_fn_mkdir_p
                   16042:   ac_builddir=.
                   16043: 
                   16044: case "$ac_dir" in
                   16045: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   16046: *)
                   16047:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   16048:   # A ".." for each directory in $ac_dir_suffix.
                   16049:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   16050:   case $ac_top_builddir_sub in
                   16051:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   16052:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   16053:   esac ;;
                   16054: esac
                   16055: ac_abs_top_builddir=$ac_pwd
                   16056: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   16057: # for backward compatibility:
                   16058: ac_top_builddir=$ac_top_build_prefix
                   16059: 
                   16060: case $srcdir in
                   16061:   .)  # We are building in place.
                   16062:     ac_srcdir=.
                   16063:     ac_top_srcdir=$ac_top_builddir_sub
                   16064:     ac_abs_top_srcdir=$ac_pwd ;;
                   16065:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   16066:     ac_srcdir=$srcdir$ac_dir_suffix;
                   16067:     ac_top_srcdir=$srcdir
                   16068:     ac_abs_top_srcdir=$srcdir ;;
                   16069:   *) # Relative name.
                   16070:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   16071:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   16072:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   16073: esac
                   16074: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   16075: 
                   16076: 
                   16077:   case $ac_mode in
                   16078:   :F)
                   16079:   #
                   16080:   # CONFIG_FILE
                   16081:   #
                   16082: 
                   16083:   case $INSTALL in
                   16084:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   16085:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
                   16086:   esac
                   16087:   ac_MKDIR_P=$MKDIR_P
                   16088:   case $MKDIR_P in
                   16089:   [\\/$]* | ?:[\\/]* ) ;;
                   16090:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
                   16091:   esac
                   16092: _ACEOF
                   16093: 
                   16094: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   16095: # If the template does not know about datarootdir, expand it.
                   16096: # FIXME: This hack should be removed a few years after 2.60.
                   16097: ac_datarootdir_hack=; ac_datarootdir_seen=
                   16098: ac_sed_dataroot='
                   16099: /datarootdir/ {
                   16100:   p
                   16101:   q
                   16102: }
                   16103: /@datadir@/p
                   16104: /@docdir@/p
                   16105: /@infodir@/p
                   16106: /@localedir@/p
                   16107: /@mandir@/p'
                   16108: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
                   16109: *datarootdir*) ac_datarootdir_seen=yes;;
                   16110: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
                   16111:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
                   16112: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
                   16113: _ACEOF
                   16114: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   16115:   ac_datarootdir_hack='
                   16116:   s&@datadir@&$datadir&g
                   16117:   s&@docdir@&$docdir&g
                   16118:   s&@infodir@&$infodir&g
                   16119:   s&@localedir@&$localedir&g
                   16120:   s&@mandir@&$mandir&g
                   16121:   s&\\\${datarootdir}&$datarootdir&g' ;;
                   16122: esac
                   16123: _ACEOF
                   16124: 
                   16125: # Neutralize VPATH when `$srcdir' = `.'.
                   16126: # Shell code in configure.ac might set extrasub.
                   16127: # FIXME: do we really want to maintain this feature?
                   16128: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   16129: ac_sed_extra="$ac_vpsub
                   16130: $extrasub
                   16131: _ACEOF
                   16132: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   16133: :t
                   16134: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   16135: s|@configure_input@|$ac_sed_conf_input|;t t
                   16136: s&@top_builddir@&$ac_top_builddir_sub&;t t
                   16137: s&@top_build_prefix@&$ac_top_build_prefix&;t t
                   16138: s&@srcdir@&$ac_srcdir&;t t
                   16139: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   16140: s&@top_srcdir@&$ac_top_srcdir&;t t
                   16141: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   16142: s&@builddir@&$ac_builddir&;t t
                   16143: s&@abs_builddir@&$ac_abs_builddir&;t t
                   16144: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
                   16145: s&@INSTALL@&$ac_INSTALL&;t t
                   16146: s&@MKDIR_P@&$ac_MKDIR_P&;t t
                   16147: $ac_datarootdir_hack
                   16148: "
                   16149: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
                   16150:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   16151: 
                   16152: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
                   16153:   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
                   16154:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
                   16155:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   16156: which seems to be undefined.  Please make sure it is defined" >&5
                   16157: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   16158: which seems to be undefined.  Please make sure it is defined" >&2;}
                   16159: 
                   16160:   rm -f "$tmp/stdin"
                   16161:   case $ac_file in
                   16162:   -) cat "$tmp/out" && rm -f "$tmp/out";;
                   16163:   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
                   16164:   esac \
                   16165:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   16166:  ;;
                   16167:   :H)
                   16168:   #
                   16169:   # CONFIG_HEADER
                   16170:   #
                   16171:   if test x"$ac_file" != x-; then
                   16172:     {
                   16173:       $as_echo "/* $configure_input  */" \
                   16174:       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
                   16175:     } >"$tmp/config.h" \
                   16176:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   16177:     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
                   16178:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
                   16179: $as_echo "$as_me: $ac_file is unchanged" >&6;}
                   16180:     else
                   16181:       rm -f "$ac_file"
                   16182:       mv "$tmp/config.h" "$ac_file" \
                   16183:        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   16184:     fi
                   16185:   else
                   16186:     $as_echo "/* $configure_input  */" \
                   16187:       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
                   16188:       || as_fn_error $? "could not create -" "$LINENO" 5
                   16189:   fi
                   16190: # Compute "$ac_file"'s index in $config_headers.
                   16191: _am_arg="$ac_file"
                   16192: _am_stamp_count=1
                   16193: for _am_header in $config_headers :; do
                   16194:   case $_am_header in
                   16195:     $_am_arg | $_am_arg:* )
                   16196:       break ;;
                   16197:     * )
                   16198:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   16199:   esac
                   16200: done
                   16201: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
                   16202: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   16203:         X"$_am_arg" : 'X\(//\)[^/]' \| \
                   16204:         X"$_am_arg" : 'X\(//\)$' \| \
                   16205:         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
                   16206: $as_echo X"$_am_arg" |
                   16207:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   16208:            s//\1/
                   16209:            q
                   16210:          }
                   16211:          /^X\(\/\/\)[^/].*/{
                   16212:            s//\1/
                   16213:            q
                   16214:          }
                   16215:          /^X\(\/\/\)$/{
                   16216:            s//\1/
                   16217:            q
                   16218:          }
                   16219:          /^X\(\/\).*/{
                   16220:            s//\1/
                   16221:            q
                   16222:          }
                   16223:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   16224:  ;;
                   16225: 
                   16226:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
                   16227: $as_echo "$as_me: executing $ac_file commands" >&6;}
                   16228:  ;;
                   16229:   esac
                   16230: 
                   16231: 
                   16232:   case $ac_file$ac_mode in
                   16233:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
                   16234:   # Autoconf 2.62 quotes --file arguments for eval, but not when files
                   16235:   # are listed without --file.  Let's play safe and only enable the eval
                   16236:   # if we detect the quoting.
                   16237:   case $CONFIG_FILES in
                   16238:   *\'*) eval set x "$CONFIG_FILES" ;;
                   16239:   *)   set x $CONFIG_FILES ;;
                   16240:   esac
                   16241:   shift
                   16242:   for mf
                   16243:   do
                   16244:     # Strip MF so we end up with the name of the file.
                   16245:     mf=`echo "$mf" | sed -e 's/:.*$//'`
                   16246:     # Check whether this is an Automake generated Makefile or not.
                   16247:     # We used to match only the files named `Makefile.in', but
                   16248:     # some people rename them; so instead we look at the file content.
                   16249:     # Grep'ing the first line is not enough: some people post-process
                   16250:     # each Makefile.in and add a new line on top of each file to say so.
                   16251:     # Grep'ing the whole file is not good either: AIX grep has a line
                   16252:     # limit of 2048, but all sed's we know have understand at least 4000.
                   16253:     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
                   16254:       dirpart=`$as_dirname -- "$mf" ||
                   16255: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   16256:         X"$mf" : 'X\(//\)[^/]' \| \
                   16257:         X"$mf" : 'X\(//\)$' \| \
                   16258:         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
                   16259: $as_echo X"$mf" |
                   16260:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   16261:            s//\1/
                   16262:            q
                   16263:          }
                   16264:          /^X\(\/\/\)[^/].*/{
                   16265:            s//\1/
                   16266:            q
                   16267:          }
                   16268:          /^X\(\/\/\)$/{
                   16269:            s//\1/
                   16270:            q
                   16271:          }
                   16272:          /^X\(\/\).*/{
                   16273:            s//\1/
                   16274:            q
                   16275:          }
                   16276:          s/.*/./; q'`
                   16277:     else
                   16278:       continue
                   16279:     fi
                   16280:     # Extract the definition of DEPDIR, am__include, and am__quote
                   16281:     # from the Makefile without running `make'.
                   16282:     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
                   16283:     test -z "$DEPDIR" && continue
                   16284:     am__include=`sed -n 's/^am__include = //p' < "$mf"`
                   16285:     test -z "am__include" && continue
                   16286:     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
                   16287:     # When using ansi2knr, U may be empty or an underscore; expand it
                   16288:     U=`sed -n 's/^U = //p' < "$mf"`
                   16289:     # Find all dependency output files, they are included files with
                   16290:     # $(DEPDIR) in their names.  We invoke sed twice because it is the
                   16291:     # simplest approach to changing $(DEPDIR) to its actual value in the
                   16292:     # expansion.
                   16293:     for file in `sed -n "
                   16294:       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
                   16295:         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
                   16296:       # Make sure the directory exists.
                   16297:       test -f "$dirpart/$file" && continue
                   16298:       fdir=`$as_dirname -- "$file" ||
                   16299: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   16300:         X"$file" : 'X\(//\)[^/]' \| \
                   16301:         X"$file" : 'X\(//\)$' \| \
                   16302:         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
                   16303: $as_echo X"$file" |
                   16304:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   16305:            s//\1/
                   16306:            q
                   16307:          }
                   16308:          /^X\(\/\/\)[^/].*/{
                   16309:            s//\1/
                   16310:            q
                   16311:          }
                   16312:          /^X\(\/\/\)$/{
                   16313:            s//\1/
                   16314:            q
                   16315:          }
                   16316:          /^X\(\/\).*/{
                   16317:            s//\1/
                   16318:            q
                   16319:          }
                   16320:          s/.*/./; q'`
                   16321:       as_dir=$dirpart/$fdir; as_fn_mkdir_p
                   16322:       # echo "creating $dirpart/$file"
                   16323:       echo '# dummy' > "$dirpart/$file"
                   16324:     done
                   16325:   done
                   16326: }
                   16327:  ;;
                   16328:     "libtool":C)
                   16329: 
                   16330:     # See if we are running on zsh, and set the options which allow our
                   16331:     # commands through without removal of \ escapes.
                   16332:     if test -n "${ZSH_VERSION+set}" ; then
                   16333:       setopt NO_GLOB_SUBST
                   16334:     fi
                   16335: 
                   16336:     cfgfile="${ofile}T"
                   16337:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
                   16338:     $RM "$cfgfile"
                   16339: 
                   16340:     cat <<_LT_EOF >> "$cfgfile"
                   16341: #! $SHELL
                   16342: 
                   16343: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
                   16344: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
                   16345: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
                   16346: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
                   16347: #
                   16348: #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
                   16349: #                 2006, 2007, 2008 Free Software Foundation, Inc.
                   16350: #   Written by Gordon Matzigkeit, 1996
                   16351: #
                   16352: #   This file is part of GNU Libtool.
                   16353: #
                   16354: # GNU Libtool is free software; you can redistribute it and/or
                   16355: # modify it under the terms of the GNU General Public License as
                   16356: # published by the Free Software Foundation; either version 2 of
                   16357: # the License, or (at your option) any later version.
                   16358: #
                   16359: # As a special exception to the GNU General Public License,
                   16360: # if you distribute this file as part of a program or library that
                   16361: # is built using GNU Libtool, you may include this file under the
                   16362: # same distribution terms that you use for the rest of that program.
                   16363: #
                   16364: # GNU Libtool is distributed in the hope that it will be useful,
                   16365: # but WITHOUT ANY WARRANTY; without even the implied warranty of
                   16366: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   16367: # GNU General Public License for more details.
                   16368: #
                   16369: # You should have received a copy of the GNU General Public License
                   16370: # along with GNU Libtool; see the file COPYING.  If not, a copy
                   16371: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
                   16372: # obtained by writing to the Free Software Foundation, Inc.,
                   16373: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
                   16374: 
                   16375: 
                   16376: # The names of the tagged configurations supported by this script.
                   16377: available_tags=""
                   16378: 
                   16379: # ### BEGIN LIBTOOL CONFIG
                   16380: 
                   16381: # Whether or not to build shared libraries.
                   16382: build_libtool_libs=$enable_shared
                   16383: 
                   16384: # Which release of libtool.m4 was used?
                   16385: macro_version=$macro_version
                   16386: macro_revision=$macro_revision
                   16387: 
                   16388: # Whether or not to build static libraries.
                   16389: build_old_libs=$enable_static
                   16390: 
                   16391: # What type of objects to build.
                   16392: pic_mode=$pic_mode
                   16393: 
                   16394: # Whether or not to optimize for fast installation.
                   16395: fast_install=$enable_fast_install
                   16396: 
                   16397: # The host system.
                   16398: host_alias=$host_alias
                   16399: host=$host
                   16400: host_os=$host_os
                   16401: 
                   16402: # The build system.
                   16403: build_alias=$build_alias
                   16404: build=$build
                   16405: build_os=$build_os
                   16406: 
                   16407: # A sed program that does not truncate output.
                   16408: SED=$lt_SED
                   16409: 
                   16410: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   16411: Xsed="\$SED -e 1s/^X//"
                   16412: 
                   16413: # A grep program that handles long lines.
                   16414: GREP=$lt_GREP
                   16415: 
                   16416: # An ERE matcher.
                   16417: EGREP=$lt_EGREP
                   16418: 
                   16419: # A literal string matcher.
                   16420: FGREP=$lt_FGREP
                   16421: 
                   16422: # A BSD- or MS-compatible name lister.
                   16423: NM=$lt_NM
                   16424: 
                   16425: # Whether we need soft or hard links.
                   16426: LN_S=$lt_LN_S
                   16427: 
                   16428: # What is the maximum length of a command?
                   16429: max_cmd_len=$max_cmd_len
                   16430: 
                   16431: # Object file suffix (normally "o").
                   16432: objext=$ac_objext
                   16433: 
                   16434: # Executable file suffix (normally "").
                   16435: exeext=$exeext
                   16436: 
                   16437: # whether the shell understands "unset".
                   16438: lt_unset=$lt_unset
                   16439: 
                   16440: # turn spaces into newlines.
                   16441: SP2NL=$lt_lt_SP2NL
                   16442: 
                   16443: # turn newlines into spaces.
                   16444: NL2SP=$lt_lt_NL2SP
                   16445: 
                   16446: # How to create reloadable object files.
                   16447: reload_flag=$lt_reload_flag
                   16448: reload_cmds=$lt_reload_cmds
                   16449: 
                   16450: # An object symbol dumper.
                   16451: OBJDUMP=$lt_OBJDUMP
                   16452: 
                   16453: # Method to check whether dependent libraries are shared objects.
                   16454: deplibs_check_method=$lt_deplibs_check_method
                   16455: 
                   16456: # Command to use when deplibs_check_method == "file_magic".
                   16457: file_magic_cmd=$lt_file_magic_cmd
                   16458: 
                   16459: # The archiver.
                   16460: AR=$lt_AR
                   16461: AR_FLAGS=$lt_AR_FLAGS
                   16462: 
                   16463: # A symbol stripping program.
                   16464: STRIP=$lt_STRIP
                   16465: 
                   16466: # Commands used to install an old-style archive.
                   16467: RANLIB=$lt_RANLIB
                   16468: old_postinstall_cmds=$lt_old_postinstall_cmds
                   16469: old_postuninstall_cmds=$lt_old_postuninstall_cmds
                   16470: 
                   16471: # A C compiler.
                   16472: LTCC=$lt_CC
                   16473: 
                   16474: # LTCC compiler flags.
                   16475: LTCFLAGS=$lt_CFLAGS
                   16476: 
                   16477: # Take the output of nm and produce a listing of raw symbols and C names.
                   16478: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
                   16479: 
                   16480: # Transform the output of nm in a proper C declaration.
                   16481: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
                   16482: 
                   16483: # Transform the output of nm in a C name address pair.
                   16484: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
                   16485: 
                   16486: # Transform the output of nm in a C name address pair when lib prefix is needed.
                   16487: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
                   16488: 
                   16489: # The name of the directory that contains temporary libtool files.
                   16490: objdir=$objdir
                   16491: 
                   16492: # Shell to use when invoking shell scripts.
                   16493: SHELL=$lt_SHELL
                   16494: 
                   16495: # An echo program that does not interpret backslashes.
                   16496: ECHO=$lt_ECHO
                   16497: 
                   16498: # Used to examine libraries when file_magic_cmd begins with "file".
                   16499: MAGIC_CMD=$MAGIC_CMD
                   16500: 
                   16501: # Must we lock files when doing compilation?
                   16502: need_locks=$lt_need_locks
                   16503: 
                   16504: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
                   16505: DSYMUTIL=$lt_DSYMUTIL
                   16506: 
                   16507: # Tool to change global to local symbols on Mac OS X.
                   16508: NMEDIT=$lt_NMEDIT
                   16509: 
                   16510: # Tool to manipulate fat objects and archives on Mac OS X.
                   16511: LIPO=$lt_LIPO
                   16512: 
                   16513: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
                   16514: OTOOL=$lt_OTOOL
                   16515: 
                   16516: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
                   16517: OTOOL64=$lt_OTOOL64
                   16518: 
                   16519: # Old archive suffix (normally "a").
                   16520: libext=$libext
                   16521: 
                   16522: # Shared library suffix (normally ".so").
                   16523: shrext_cmds=$lt_shrext_cmds
                   16524: 
                   16525: # The commands to extract the exported symbol list from a shared archive.
                   16526: extract_expsyms_cmds=$lt_extract_expsyms_cmds
                   16527: 
                   16528: # Variables whose values should be saved in libtool wrapper scripts and
                   16529: # restored at link time.
                   16530: variables_saved_for_relink=$lt_variables_saved_for_relink
                   16531: 
                   16532: # Do we need the "lib" prefix for modules?
                   16533: need_lib_prefix=$need_lib_prefix
                   16534: 
                   16535: # Do we need a version for libraries?
                   16536: need_version=$need_version
                   16537: 
                   16538: # Library versioning type.
                   16539: version_type=$version_type
                   16540: 
                   16541: # Shared library runtime path variable.
                   16542: runpath_var=$runpath_var
                   16543: 
                   16544: # Shared library path variable.
                   16545: shlibpath_var=$shlibpath_var
                   16546: 
                   16547: # Is shlibpath searched before the hard-coded library search path?
                   16548: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
                   16549: 
                   16550: # Format of library name prefix.
                   16551: libname_spec=$lt_libname_spec
                   16552: 
                   16553: # List of archive names.  First name is the real one, the rest are links.
                   16554: # The last name is the one that the linker finds with -lNAME
                   16555: library_names_spec=$lt_library_names_spec
                   16556: 
                   16557: # The coded name of the library, if different from the real name.
                   16558: soname_spec=$lt_soname_spec
                   16559: 
                   16560: # Command to use after installation of a shared archive.
                   16561: postinstall_cmds=$lt_postinstall_cmds
                   16562: 
                   16563: # Command to use after uninstallation of a shared archive.
                   16564: postuninstall_cmds=$lt_postuninstall_cmds
                   16565: 
                   16566: # Commands used to finish a libtool library installation in a directory.
                   16567: finish_cmds=$lt_finish_cmds
                   16568: 
                   16569: # As "finish_cmds", except a single script fragment to be evaled but
                   16570: # not shown.
                   16571: finish_eval=$lt_finish_eval
                   16572: 
                   16573: # Whether we should hardcode library paths into libraries.
                   16574: hardcode_into_libs=$hardcode_into_libs
                   16575: 
                   16576: # Compile-time system search path for libraries.
                   16577: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
                   16578: 
                   16579: # Run-time system search path for libraries.
                   16580: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
                   16581: 
                   16582: # Whether dlopen is supported.
                   16583: dlopen_support=$enable_dlopen
                   16584: 
                   16585: # Whether dlopen of programs is supported.
                   16586: dlopen_self=$enable_dlopen_self
                   16587: 
                   16588: # Whether dlopen of statically linked programs is supported.
                   16589: dlopen_self_static=$enable_dlopen_self_static
                   16590: 
                   16591: # Commands to strip libraries.
                   16592: old_striplib=$lt_old_striplib
                   16593: striplib=$lt_striplib
                   16594: 
                   16595: 
                   16596: # The linker used to build libraries.
                   16597: LD=$lt_LD
                   16598: 
                   16599: # Commands used to build an old-style archive.
                   16600: old_archive_cmds=$lt_old_archive_cmds
                   16601: 
                   16602: # A language specific compiler.
                   16603: CC=$lt_compiler
                   16604: 
                   16605: # Is the compiler the GNU compiler?
                   16606: with_gcc=$GCC
                   16607: 
                   16608: # Compiler flag to turn off builtin functions.
                   16609: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
                   16610: 
                   16611: # How to pass a linker flag through the compiler.
                   16612: wl=$lt_lt_prog_compiler_wl
                   16613: 
                   16614: # Additional compiler flags for building library objects.
                   16615: pic_flag=$lt_lt_prog_compiler_pic
                   16616: 
                   16617: # Compiler flag to prevent dynamic linking.
                   16618: link_static_flag=$lt_lt_prog_compiler_static
                   16619: 
                   16620: # Does compiler simultaneously support -c and -o options?
                   16621: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
                   16622: 
                   16623: # Whether or not to add -lc for building shared libraries.
                   16624: build_libtool_need_lc=$archive_cmds_need_lc
                   16625: 
                   16626: # Whether or not to disallow shared libs when runtime libs are static.
                   16627: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
                   16628: 
                   16629: # Compiler flag to allow reflexive dlopens.
                   16630: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
                   16631: 
                   16632: # Compiler flag to generate shared objects directly from archives.
                   16633: whole_archive_flag_spec=$lt_whole_archive_flag_spec
                   16634: 
                   16635: # Whether the compiler copes with passing no objects directly.
                   16636: compiler_needs_object=$lt_compiler_needs_object
                   16637: 
                   16638: # Create an old-style archive from a shared archive.
                   16639: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
                   16640: 
                   16641: # Create a temporary old-style archive to link instead of a shared archive.
                   16642: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
                   16643: 
                   16644: # Commands used to build a shared archive.
                   16645: archive_cmds=$lt_archive_cmds
                   16646: archive_expsym_cmds=$lt_archive_expsym_cmds
                   16647: 
                   16648: # Commands used to build a loadable module if different from building
                   16649: # a shared archive.
                   16650: module_cmds=$lt_module_cmds
                   16651: module_expsym_cmds=$lt_module_expsym_cmds
                   16652: 
                   16653: # Whether we are building with GNU ld or not.
                   16654: with_gnu_ld=$lt_with_gnu_ld
                   16655: 
                   16656: # Flag that allows shared libraries with undefined symbols to be built.
                   16657: allow_undefined_flag=$lt_allow_undefined_flag
                   16658: 
                   16659: # Flag that enforces no undefined symbols.
                   16660: no_undefined_flag=$lt_no_undefined_flag
                   16661: 
                   16662: # Flag to hardcode \$libdir into a binary during linking.
                   16663: # This must work even if \$libdir does not exist
                   16664: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
                   16665: 
                   16666: # If ld is used when linking, flag to hardcode \$libdir into a binary
                   16667: # during linking.  This must work even if \$libdir does not exist.
                   16668: hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
                   16669: 
                   16670: # Whether we need a single "-rpath" flag with a separated argument.
                   16671: hardcode_libdir_separator=$lt_hardcode_libdir_separator
                   16672: 
                   16673: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   16674: # DIR into the resulting binary.
                   16675: hardcode_direct=$hardcode_direct
                   16676: 
                   16677: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   16678: # DIR into the resulting binary and the resulting library dependency is
                   16679: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   16680: # library is relocated.
                   16681: hardcode_direct_absolute=$hardcode_direct_absolute
                   16682: 
                   16683: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   16684: # into the resulting binary.
                   16685: hardcode_minus_L=$hardcode_minus_L
                   16686: 
                   16687: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   16688: # into the resulting binary.
                   16689: hardcode_shlibpath_var=$hardcode_shlibpath_var
                   16690: 
                   16691: # Set to "yes" if building a shared library automatically hardcodes DIR
                   16692: # into the library and all subsequent libraries and executables linked
                   16693: # against it.
                   16694: hardcode_automatic=$hardcode_automatic
                   16695: 
                   16696: # Set to yes if linker adds runtime paths of dependent libraries
                   16697: # to runtime path list.
                   16698: inherit_rpath=$inherit_rpath
                   16699: 
                   16700: # Whether libtool must link a program against all its dependency libraries.
                   16701: link_all_deplibs=$link_all_deplibs
                   16702: 
                   16703: # Fix the shell variable \$srcfile for the compiler.
                   16704: fix_srcfile_path=$lt_fix_srcfile_path
                   16705: 
                   16706: # Set to "yes" if exported symbols are required.
                   16707: always_export_symbols=$always_export_symbols
                   16708: 
                   16709: # The commands to list exported symbols.
                   16710: export_symbols_cmds=$lt_export_symbols_cmds
                   16711: 
                   16712: # Symbols that should not be listed in the preloaded symbols.
                   16713: exclude_expsyms=$lt_exclude_expsyms
                   16714: 
                   16715: # Symbols that must always be exported.
                   16716: include_expsyms=$lt_include_expsyms
                   16717: 
                   16718: # Commands necessary for linking programs (against libraries) with templates.
                   16719: prelink_cmds=$lt_prelink_cmds
                   16720: 
                   16721: # Specify filename containing input files.
                   16722: file_list_spec=$lt_file_list_spec
                   16723: 
                   16724: # How to hardcode a shared library path into an executable.
                   16725: hardcode_action=$hardcode_action
                   16726: 
                   16727: # ### END LIBTOOL CONFIG
                   16728: 
                   16729: _LT_EOF
                   16730: 
                   16731:   case $host_os in
                   16732:   aix3*)
                   16733:     cat <<\_LT_EOF >> "$cfgfile"
                   16734: # AIX sometimes has problems with the GCC collect2 program.  For some
                   16735: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   16736: # vanish in a puff of smoke.
                   16737: if test "X${COLLECT_NAMES+set}" != Xset; then
                   16738:   COLLECT_NAMES=
                   16739:   export COLLECT_NAMES
                   16740: fi
                   16741: _LT_EOF
                   16742:     ;;
                   16743:   esac
                   16744: 
                   16745: 
                   16746: ltmain="$ac_aux_dir/ltmain.sh"
                   16747: 
                   16748: 
                   16749:   # We use sed instead of cat because bash on DJGPP gets confused if
                   16750:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   16751:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   16752:   # is reportedly fixed, but why not run on old versions too?
                   16753:   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
                   16754:     || (rm -f "$cfgfile"; exit 1)
                   16755: 
                   16756:   case $xsi_shell in
                   16757:   yes)
                   16758:     cat << \_LT_EOF >> "$cfgfile"
                   16759: 
                   16760: # func_dirname file append nondir_replacement
                   16761: # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
                   16762: # otherwise set result to NONDIR_REPLACEMENT.
                   16763: func_dirname ()
                   16764: {
                   16765:   case ${1} in
                   16766:     */*) func_dirname_result="${1%/*}${2}" ;;
                   16767:     *  ) func_dirname_result="${3}" ;;
                   16768:   esac
                   16769: }
                   16770: 
                   16771: # func_basename file
                   16772: func_basename ()
                   16773: {
                   16774:   func_basename_result="${1##*/}"
                   16775: }
                   16776: 
                   16777: # func_dirname_and_basename file append nondir_replacement
                   16778: # perform func_basename and func_dirname in a single function
                   16779: # call:
                   16780: #   dirname:  Compute the dirname of FILE.  If nonempty,
                   16781: #             add APPEND to the result, otherwise set result
                   16782: #             to NONDIR_REPLACEMENT.
                   16783: #             value returned in "$func_dirname_result"
                   16784: #   basename: Compute filename of FILE.
                   16785: #             value retuned in "$func_basename_result"
                   16786: # Implementation must be kept synchronized with func_dirname
                   16787: # and func_basename. For efficiency, we do not delegate to
                   16788: # those functions but instead duplicate the functionality here.
                   16789: func_dirname_and_basename ()
                   16790: {
                   16791:   case ${1} in
                   16792:     */*) func_dirname_result="${1%/*}${2}" ;;
                   16793:     *  ) func_dirname_result="${3}" ;;
                   16794:   esac
                   16795:   func_basename_result="${1##*/}"
                   16796: }
                   16797: 
                   16798: # func_stripname prefix suffix name
                   16799: # strip PREFIX and SUFFIX off of NAME.
                   16800: # PREFIX and SUFFIX must not contain globbing or regex special
                   16801: # characters, hashes, percent signs, but SUFFIX may contain a leading
                   16802: # dot (in which case that matches only a dot).
                   16803: func_stripname ()
                   16804: {
                   16805:   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
                   16806:   # positional parameters, so assign one to ordinary parameter first.
                   16807:   func_stripname_result=${3}
                   16808:   func_stripname_result=${func_stripname_result#"${1}"}
                   16809:   func_stripname_result=${func_stripname_result%"${2}"}
                   16810: }
                   16811: 
                   16812: # func_opt_split
                   16813: func_opt_split ()
                   16814: {
                   16815:   func_opt_split_opt=${1%%=*}
                   16816:   func_opt_split_arg=${1#*=}
                   16817: }
                   16818: 
                   16819: # func_lo2o object
                   16820: func_lo2o ()
                   16821: {
                   16822:   case ${1} in
                   16823:     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
                   16824:     *)    func_lo2o_result=${1} ;;
                   16825:   esac
                   16826: }
                   16827: 
                   16828: # func_xform libobj-or-source
                   16829: func_xform ()
                   16830: {
                   16831:   func_xform_result=${1%.*}.lo
                   16832: }
                   16833: 
                   16834: # func_arith arithmetic-term...
                   16835: func_arith ()
                   16836: {
                   16837:   func_arith_result=$(( $* ))
                   16838: }
                   16839: 
                   16840: # func_len string
                   16841: # STRING may not start with a hyphen.
                   16842: func_len ()
                   16843: {
                   16844:   func_len_result=${#1}
                   16845: }
                   16846: 
                   16847: _LT_EOF
                   16848:     ;;
                   16849:   *) # Bourne compatible functions.
                   16850:     cat << \_LT_EOF >> "$cfgfile"
                   16851: 
                   16852: # func_dirname file append nondir_replacement
                   16853: # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
                   16854: # otherwise set result to NONDIR_REPLACEMENT.
                   16855: func_dirname ()
                   16856: {
                   16857:   # Extract subdirectory from the argument.
                   16858:   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
                   16859:   if test "X$func_dirname_result" = "X${1}"; then
                   16860:     func_dirname_result="${3}"
                   16861:   else
                   16862:     func_dirname_result="$func_dirname_result${2}"
                   16863:   fi
                   16864: }
                   16865: 
                   16866: # func_basename file
                   16867: func_basename ()
                   16868: {
                   16869:   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
                   16870: }
                   16871: 
                   16872: 
                   16873: # func_stripname prefix suffix name
                   16874: # strip PREFIX and SUFFIX off of NAME.
                   16875: # PREFIX and SUFFIX must not contain globbing or regex special
                   16876: # characters, hashes, percent signs, but SUFFIX may contain a leading
                   16877: # dot (in which case that matches only a dot).
                   16878: # func_strip_suffix prefix name
                   16879: func_stripname ()
                   16880: {
                   16881:   case ${2} in
                   16882:     .*) func_stripname_result=`$ECHO "X${3}" \
                   16883:            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
                   16884:     *)  func_stripname_result=`$ECHO "X${3}" \
                   16885:            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
                   16886:   esac
                   16887: }
                   16888: 
                   16889: # sed scripts:
                   16890: my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
                   16891: my_sed_long_arg='1s/^-[^=]*=//'
                   16892: 
                   16893: # func_opt_split
                   16894: func_opt_split ()
                   16895: {
                   16896:   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
                   16897:   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
                   16898: }
                   16899: 
                   16900: # func_lo2o object
                   16901: func_lo2o ()
                   16902: {
                   16903:   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
                   16904: }
                   16905: 
                   16906: # func_xform libobj-or-source
                   16907: func_xform ()
                   16908: {
                   16909:   func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
                   16910: }
                   16911: 
                   16912: # func_arith arithmetic-term...
                   16913: func_arith ()
                   16914: {
                   16915:   func_arith_result=`expr "$@"`
                   16916: }
                   16917: 
                   16918: # func_len string
                   16919: # STRING may not start with a hyphen.
                   16920: func_len ()
                   16921: {
                   16922:   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
                   16923: }
                   16924: 
                   16925: _LT_EOF
                   16926: esac
                   16927: 
                   16928: case $lt_shell_append in
                   16929:   yes)
                   16930:     cat << \_LT_EOF >> "$cfgfile"
                   16931: 
                   16932: # func_append var value
                   16933: # Append VALUE to the end of shell variable VAR.
                   16934: func_append ()
                   16935: {
                   16936:   eval "$1+=\$2"
                   16937: }
                   16938: _LT_EOF
                   16939:     ;;
                   16940:   *)
                   16941:     cat << \_LT_EOF >> "$cfgfile"
                   16942: 
                   16943: # func_append var value
                   16944: # Append VALUE to the end of shell variable VAR.
                   16945: func_append ()
                   16946: {
                   16947:   eval "$1=\$$1\$2"
                   16948: }
                   16949: 
                   16950: _LT_EOF
                   16951:     ;;
                   16952:   esac
                   16953: 
                   16954: 
                   16955:   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
                   16956:     || (rm -f "$cfgfile"; exit 1)
                   16957: 
                   16958:   mv -f "$cfgfile" "$ofile" ||
                   16959:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
                   16960:   chmod +x "$ofile"
                   16961: 
                   16962:  ;;
                   16963: 
                   16964:   esac
                   16965: done # for ac_tag
                   16966: 
                   16967: 
                   16968: as_fn_exit 0
                   16969: _ACEOF
                   16970: ac_clean_files=$ac_clean_files_save
                   16971: 
                   16972: test $ac_write_fail = 0 ||
                   16973:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
                   16974: 
                   16975: 
                   16976: # configure is writing to config.log, and then calls config.status.
                   16977: # config.status does its own redirection, appending to config.log.
                   16978: # Unfortunately, on DOS this fails, as config.log is still kept open
                   16979: # by configure, so config.status won't be able to write to it; its
                   16980: # output is simply discarded.  So we exec the FD to /dev/null,
                   16981: # effectively closing config.log, so it can be properly (re)opened and
                   16982: # appended to by config.status.  When coming back to configure, we
                   16983: # need to make the FD available again.
                   16984: if test "$no_create" != yes; then
                   16985:   ac_cs_success=:
                   16986:   ac_config_status_args=
                   16987:   test "$silent" = yes &&
                   16988:     ac_config_status_args="$ac_config_status_args --quiet"
                   16989:   exec 5>/dev/null
                   16990:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   16991:   exec 5>>config.log
                   16992:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   16993:   # would make configure fail if this is the last instruction.
                   16994:   $ac_cs_success || as_fn_exit 1
                   16995: fi
                   16996: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
                   16997:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
                   16998: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
                   16999: fi
                   17000: 

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