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

1.1       misho       1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.1.1.2 ! misho       3: # Generated by GNU Autoconf 2.69 for ipsec-tools 0.8.1.
1.1       misho       4: #
                      5: #
1.1.1.2 ! misho       6: # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
1.1       misho       7: #
                      8: #
                      9: # This configure script is free software; the Free Software Foundation
                     10: # gives unlimited permission to copy, distribute and modify it.
                     11: ## -------------------- ##
                     12: ## M4sh Initialization. ##
                     13: ## -------------------- ##
                     14: 
                     15: # Be more Bourne compatible
                     16: DUALCASE=1; export DUALCASE # for MKS sh
                     17: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
                     18:   emulate sh
                     19:   NULLCMD=:
                     20:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
                     21:   # is contrary to our usage.  Disable this feature.
                     22:   alias -g '${1+"$@"}'='"$@"'
                     23:   setopt NO_GLOB_SUBST
                     24: else
                     25:   case `(set -o) 2>/dev/null` in #(
                     26:   *posix*) :
                     27:     set -o posix ;; #(
                     28:   *) :
                     29:      ;;
                     30: esac
                     31: fi
                     32: 
                     33: 
                     34: as_nl='
                     35: '
                     36: export as_nl
                     37: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                     38: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                     39: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                     40: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                     41: # Prefer a ksh shell builtin over an external printf program on Solaris,
                     42: # but without wasting forks for bash or zsh.
                     43: if test -z "$BASH_VERSION$ZSH_VERSION" \
                     44:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                     45:   as_echo='print -r --'
                     46:   as_echo_n='print -rn --'
                     47: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                     48:   as_echo='printf %s\n'
                     49:   as_echo_n='printf %s'
                     50: else
                     51:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                     52:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                     53:     as_echo_n='/usr/ucb/echo -n'
                     54:   else
                     55:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                     56:     as_echo_n_body='eval
                     57:       arg=$1;
                     58:       case $arg in #(
                     59:       *"$as_nl"*)
                     60:        expr "X$arg" : "X\\(.*\\)$as_nl";
                     61:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                     62:       esac;
                     63:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                     64:     '
                     65:     export as_echo_n_body
                     66:     as_echo_n='sh -c $as_echo_n_body as_echo'
                     67:   fi
                     68:   export as_echo_body
                     69:   as_echo='sh -c $as_echo_body as_echo'
                     70: fi
                     71: 
                     72: # The user is always right.
                     73: if test "${PATH_SEPARATOR+set}" != set; then
                     74:   PATH_SEPARATOR=:
                     75:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                     76:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                     77:       PATH_SEPARATOR=';'
                     78:   }
                     79: fi
                     80: 
                     81: 
                     82: # IFS
                     83: # We need space, tab and new line, in precisely that order.  Quoting is
                     84: # there to prevent editors from complaining about space-tab.
                     85: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                     86: # splitting by setting IFS to empty value.)
                     87: IFS=" ""       $as_nl"
                     88: 
                     89: # Find who we are.  Look in the path if we contain no directory separator.
1.1.1.2 ! misho      90: as_myself=
1.1       misho      91: case $0 in #((
                     92:   *[\\/]* ) as_myself=$0 ;;
                     93:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                     94: for as_dir in $PATH
                     95: do
                     96:   IFS=$as_save_IFS
                     97:   test -z "$as_dir" && as_dir=.
                     98:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                     99:   done
                    100: IFS=$as_save_IFS
                    101: 
                    102:      ;;
                    103: esac
                    104: # We did not find ourselves, most probably we were run as `sh COMMAND'
                    105: # in which case we are not to be found in the path.
                    106: if test "x$as_myself" = x; then
                    107:   as_myself=$0
                    108: fi
                    109: if test ! -f "$as_myself"; then
                    110:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                    111:   exit 1
                    112: fi
                    113: 
                    114: # Unset variables that we do not need and which cause bugs (e.g. in
                    115: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                    116: # suppresses any "Segmentation fault" message there.  '((' could
                    117: # trigger a bug in pdksh 5.2.14.
                    118: for as_var in BASH_ENV ENV MAIL MAILPATH
                    119: do eval test x\${$as_var+set} = xset \
                    120:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                    121: done
                    122: PS1='$ '
                    123: PS2='> '
                    124: PS4='+ '
                    125: 
                    126: # NLS nuisances.
                    127: LC_ALL=C
                    128: export LC_ALL
                    129: LANGUAGE=C
                    130: export LANGUAGE
                    131: 
                    132: # CDPATH.
                    133: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                    134: 
1.1.1.2 ! misho     135: # Use a proper internal environment variable to ensure we don't fall
        !           136:   # into an infinite loop, continuously re-executing ourselves.
        !           137:   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
        !           138:     _as_can_reexec=no; export _as_can_reexec;
        !           139:     # We cannot yet assume a decent shell, so we have to provide a
        !           140: # neutralization value for shells without unset; and this also
        !           141: # works around shells that cannot unset nonexistent variables.
        !           142: # Preserve -v and -x to the replacement shell.
        !           143: BASH_ENV=/dev/null
        !           144: ENV=/dev/null
        !           145: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
        !           146: case $- in # ((((
        !           147:   *v*x* | *x*v* ) as_opts=-vx ;;
        !           148:   *v* ) as_opts=-v ;;
        !           149:   *x* ) as_opts=-x ;;
        !           150:   * ) as_opts= ;;
        !           151: esac
        !           152: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
        !           153: # Admittedly, this is quite paranoid, since all the known shells bail
        !           154: # out after a failed `exec'.
        !           155: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
        !           156: as_fn_exit 255
        !           157:   fi
        !           158:   # We don't want this to propagate to other subprocesses.
        !           159:           { _as_can_reexec=; unset _as_can_reexec;}
1.1       misho     160: if test "x$CONFIG_SHELL" = x; then
                    161:   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
                    162:   emulate sh
                    163:   NULLCMD=:
                    164:   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
                    165:   # is contrary to our usage.  Disable this feature.
                    166:   alias -g '\${1+\"\$@\"}'='\"\$@\"'
                    167:   setopt NO_GLOB_SUBST
                    168: else
                    169:   case \`(set -o) 2>/dev/null\` in #(
                    170:   *posix*) :
                    171:     set -o posix ;; #(
                    172:   *) :
                    173:      ;;
                    174: esac
                    175: fi
                    176: "
                    177:   as_required="as_fn_return () { (exit \$1); }
                    178: as_fn_success () { as_fn_return 0; }
                    179: as_fn_failure () { as_fn_return 1; }
                    180: as_fn_ret_success () { return 0; }
                    181: as_fn_ret_failure () { return 1; }
                    182: 
                    183: exitcode=0
                    184: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
                    185: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
                    186: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
                    187: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
                    188: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
                    189: 
                    190: else
                    191:   exitcode=1; echo positional parameters were not saved.
                    192: fi
1.1.1.2 ! misho     193: test x\$exitcode = x0 || exit 1
        !           194: test -x / || exit 1"
1.1       misho     195:   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
                    196:   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
                    197:   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
                    198:   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
1.1.1.2 ! misho     199: test \$(( 1 + 1 )) = 2 || exit 1
        !           200: 
        !           201:   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
        !           202:     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
        !           203:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
        !           204:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
        !           205:     PATH=/empty FPATH=/empty; export PATH FPATH
        !           206:     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
        !           207:       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
1.1       misho     208:   if (eval "$as_required") 2>/dev/null; then :
                    209:   as_have_required=yes
                    210: else
                    211:   as_have_required=no
                    212: fi
                    213:   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
                    214: 
                    215: else
                    216:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                    217: as_found=false
                    218: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                    219: do
                    220:   IFS=$as_save_IFS
                    221:   test -z "$as_dir" && as_dir=.
                    222:   as_found=:
                    223:   case $as_dir in #(
                    224:         /*)
                    225:           for as_base in sh bash ksh sh5; do
                    226:             # Try only shells that exist, to save several forks.
                    227:             as_shell=$as_dir/$as_base
                    228:             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
                    229:                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
                    230:   CONFIG_SHELL=$as_shell as_have_required=yes
                    231:                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
                    232:   break 2
                    233: fi
                    234: fi
                    235:           done;;
                    236:        esac
                    237:   as_found=false
                    238: done
                    239: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
                    240:              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
                    241:   CONFIG_SHELL=$SHELL as_have_required=yes
                    242: fi; }
                    243: IFS=$as_save_IFS
                    244: 
                    245: 
                    246:       if test "x$CONFIG_SHELL" != x; then :
1.1.1.2 ! misho     247:   export CONFIG_SHELL
        !           248:              # We cannot yet assume a decent shell, so we have to provide a
        !           249: # neutralization value for shells without unset; and this also
        !           250: # works around shells that cannot unset nonexistent variables.
        !           251: # Preserve -v and -x to the replacement shell.
        !           252: BASH_ENV=/dev/null
        !           253: ENV=/dev/null
        !           254: (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
        !           255: case $- in # ((((
        !           256:   *v*x* | *x*v* ) as_opts=-vx ;;
        !           257:   *v* ) as_opts=-v ;;
        !           258:   *x* ) as_opts=-x ;;
        !           259:   * ) as_opts= ;;
        !           260: esac
        !           261: exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
        !           262: # Admittedly, this is quite paranoid, since all the known shells bail
        !           263: # out after a failed `exec'.
        !           264: $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
        !           265: exit 255
1.1       misho     266: fi
                    267: 
                    268:     if test x$as_have_required = xno; then :
                    269:   $as_echo "$0: This script requires a shell more modern than all"
                    270:   $as_echo "$0: the shells that I found on your system."
                    271:   if test x${ZSH_VERSION+set} = xset ; then
                    272:     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
                    273:     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
                    274:   else
                    275:     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
                    276: $0: including any error possibly output before this
                    277: $0: message. Then install a modern shell, or manually run
                    278: $0: the script under such a shell if you do have one."
                    279:   fi
                    280:   exit 1
                    281: fi
                    282: fi
                    283: fi
                    284: SHELL=${CONFIG_SHELL-/bin/sh}
                    285: export SHELL
                    286: # Unset more variables known to interfere with behavior of common tools.
                    287: CLICOLOR_FORCE= GREP_OPTIONS=
                    288: unset CLICOLOR_FORCE GREP_OPTIONS
                    289: 
                    290: ## --------------------- ##
                    291: ## M4sh Shell Functions. ##
                    292: ## --------------------- ##
                    293: # as_fn_unset VAR
                    294: # ---------------
                    295: # Portably unset VAR.
                    296: as_fn_unset ()
                    297: {
                    298:   { eval $1=; unset $1;}
                    299: }
                    300: as_unset=as_fn_unset
                    301: 
                    302: # as_fn_set_status STATUS
                    303: # -----------------------
                    304: # Set $? to STATUS, without forking.
                    305: as_fn_set_status ()
                    306: {
                    307:   return $1
                    308: } # as_fn_set_status
                    309: 
                    310: # as_fn_exit STATUS
                    311: # -----------------
                    312: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                    313: as_fn_exit ()
                    314: {
                    315:   set +e
                    316:   as_fn_set_status $1
                    317:   exit $1
                    318: } # as_fn_exit
                    319: 
                    320: # as_fn_mkdir_p
                    321: # -------------
                    322: # Create "$as_dir" as a directory, including parents if necessary.
                    323: as_fn_mkdir_p ()
                    324: {
                    325: 
                    326:   case $as_dir in #(
                    327:   -*) as_dir=./$as_dir;;
                    328:   esac
                    329:   test -d "$as_dir" || eval $as_mkdir_p || {
                    330:     as_dirs=
                    331:     while :; do
                    332:       case $as_dir in #(
                    333:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                    334:       *) as_qdir=$as_dir;;
                    335:       esac
                    336:       as_dirs="'$as_qdir' $as_dirs"
                    337:       as_dir=`$as_dirname -- "$as_dir" ||
                    338: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                    339:         X"$as_dir" : 'X\(//\)[^/]' \| \
                    340:         X"$as_dir" : 'X\(//\)$' \| \
                    341:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                    342: $as_echo X"$as_dir" |
                    343:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                    344:            s//\1/
                    345:            q
                    346:          }
                    347:          /^X\(\/\/\)[^/].*/{
                    348:            s//\1/
                    349:            q
                    350:          }
                    351:          /^X\(\/\/\)$/{
                    352:            s//\1/
                    353:            q
                    354:          }
                    355:          /^X\(\/\).*/{
                    356:            s//\1/
                    357:            q
                    358:          }
                    359:          s/.*/./; q'`
                    360:       test -d "$as_dir" && break
                    361:     done
                    362:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                    363:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                    364: 
                    365: 
                    366: } # as_fn_mkdir_p
1.1.1.2 ! misho     367: 
        !           368: # as_fn_executable_p FILE
        !           369: # -----------------------
        !           370: # Test if FILE is an executable regular file.
        !           371: as_fn_executable_p ()
        !           372: {
        !           373:   test -f "$1" && test -x "$1"
        !           374: } # as_fn_executable_p
1.1       misho     375: # as_fn_append VAR VALUE
                    376: # ----------------------
                    377: # Append the text in VALUE to the end of the definition contained in VAR. Take
                    378: # advantage of any shell optimizations that allow amortized linear growth over
                    379: # repeated appends, instead of the typical quadratic growth present in naive
                    380: # implementations.
                    381: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                    382:   eval 'as_fn_append ()
                    383:   {
                    384:     eval $1+=\$2
                    385:   }'
                    386: else
                    387:   as_fn_append ()
                    388:   {
                    389:     eval $1=\$$1\$2
                    390:   }
                    391: fi # as_fn_append
                    392: 
                    393: # as_fn_arith ARG...
                    394: # ------------------
                    395: # Perform arithmetic evaluation on the ARGs, and store the result in the
                    396: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                    397: # must be portable across $(()) and expr.
                    398: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                    399:   eval 'as_fn_arith ()
                    400:   {
                    401:     as_val=$(( $* ))
                    402:   }'
                    403: else
                    404:   as_fn_arith ()
                    405:   {
                    406:     as_val=`expr "$@" || test $? -eq 1`
                    407:   }
                    408: fi # as_fn_arith
                    409: 
                    410: 
                    411: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                    412: # ----------------------------------------
                    413: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                    414: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                    415: # script with STATUS, using 1 if that was 0.
                    416: as_fn_error ()
                    417: {
                    418:   as_status=$1; test $as_status -eq 0 && as_status=1
                    419:   if test "$4"; then
                    420:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                    421:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                    422:   fi
                    423:   $as_echo "$as_me: error: $2" >&2
                    424:   as_fn_exit $as_status
                    425: } # as_fn_error
                    426: 
                    427: if expr a : '\(a\)' >/dev/null 2>&1 &&
                    428:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                    429:   as_expr=expr
                    430: else
                    431:   as_expr=false
                    432: fi
                    433: 
                    434: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                    435:   as_basename=basename
                    436: else
                    437:   as_basename=false
                    438: fi
                    439: 
                    440: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                    441:   as_dirname=dirname
                    442: else
                    443:   as_dirname=false
                    444: fi
                    445: 
                    446: as_me=`$as_basename -- "$0" ||
                    447: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                    448:         X"$0" : 'X\(//\)$' \| \
                    449:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                    450: $as_echo X/"$0" |
                    451:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                    452:            s//\1/
                    453:            q
                    454:          }
                    455:          /^X\/\(\/\/\)$/{
                    456:            s//\1/
                    457:            q
                    458:          }
                    459:          /^X\/\(\/\).*/{
                    460:            s//\1/
                    461:            q
                    462:          }
                    463:          s/.*/./; q'`
                    464: 
                    465: # Avoid depending upon Character Ranges.
                    466: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                    467: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                    468: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                    469: as_cr_digits='0123456789'
                    470: as_cr_alnum=$as_cr_Letters$as_cr_digits
                    471: 
                    472: 
                    473:   as_lineno_1=$LINENO as_lineno_1a=$LINENO
                    474:   as_lineno_2=$LINENO as_lineno_2a=$LINENO
                    475:   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
                    476:   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
                    477:   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
                    478:   sed -n '
                    479:     p
                    480:     /[$]LINENO/=
                    481:   ' <$as_myself |
                    482:     sed '
                    483:       s/[$]LINENO.*/&-/
                    484:       t lineno
                    485:       b
                    486:       :lineno
                    487:       N
                    488:       :loop
                    489:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
                    490:       t loop
                    491:       s/-\n.*//
                    492:     ' >$as_me.lineno &&
                    493:   chmod +x "$as_me.lineno" ||
                    494:     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
                    495: 
1.1.1.2 ! misho     496:   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
        !           497:   # already done that, so ensure we don't try to do so again and fall
        !           498:   # in an infinite loop.  This has already happened in practice.
        !           499:   _as_can_reexec=no; export _as_can_reexec
1.1       misho     500:   # Don't try to exec as it changes $[0], causing all sort of problems
                    501:   # (the dirname of $[0] is not the place where we might find the
                    502:   # original and so on.  Autoconf is especially sensitive to this).
                    503:   . "./$as_me.lineno"
                    504:   # Exit status is that of the last command.
                    505:   exit
                    506: }
                    507: 
                    508: ECHO_C= ECHO_N= ECHO_T=
                    509: case `echo -n x` in #(((((
                    510: -n*)
                    511:   case `echo 'xy\c'` in
                    512:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                    513:   xy)  ECHO_C='\c';;
                    514:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                    515:        ECHO_T='        ';;
                    516:   esac;;
                    517: *)
                    518:   ECHO_N='-n';;
                    519: esac
                    520: 
                    521: rm -f conf$$ conf$$.exe conf$$.file
                    522: if test -d conf$$.dir; then
                    523:   rm -f conf$$.dir/conf$$.file
                    524: else
                    525:   rm -f conf$$.dir
                    526:   mkdir conf$$.dir 2>/dev/null
                    527: fi
                    528: if (echo >conf$$.file) 2>/dev/null; then
                    529:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                    530:     as_ln_s='ln -s'
                    531:     # ... but there are two gotchas:
                    532:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                    533:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1.1.1.2 ! misho     534:     # In both cases, we have to default to `cp -pR'.
1.1       misho     535:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.1.1.2 ! misho     536:       as_ln_s='cp -pR'
1.1       misho     537:   elif ln conf$$.file conf$$ 2>/dev/null; then
                    538:     as_ln_s=ln
                    539:   else
1.1.1.2 ! misho     540:     as_ln_s='cp -pR'
1.1       misho     541:   fi
                    542: else
1.1.1.2 ! misho     543:   as_ln_s='cp -pR'
1.1       misho     544: fi
                    545: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                    546: rmdir conf$$.dir 2>/dev/null
                    547: 
                    548: if mkdir -p . 2>/dev/null; then
                    549:   as_mkdir_p='mkdir -p "$as_dir"'
                    550: else
                    551:   test -d ./-p && rmdir ./-p
                    552:   as_mkdir_p=false
                    553: fi
                    554: 
1.1.1.2 ! misho     555: as_test_x='test -x'
        !           556: as_executable_p=as_fn_executable_p
1.1       misho     557: 
                    558: # Sed expression to map a string onto a valid CPP name.
                    559: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                    560: 
                    561: # Sed expression to map a string onto a valid variable name.
                    562: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                    563: 
                    564: SHELL=${CONFIG_SHELL-/bin/sh}
                    565: 
                    566: 
                    567: test -n "$DJDIR" || exec 7<&0 </dev/null
                    568: exec 6>&1
                    569: 
                    570: # Name of the host.
                    571: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
                    572: # so uname gets run too.
                    573: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
                    574: 
                    575: #
                    576: # Initializations.
                    577: #
                    578: ac_default_prefix=/usr/local
                    579: ac_clean_files=
                    580: ac_config_libobj_dir=.
                    581: LIBOBJS=
                    582: cross_compiling=no
                    583: subdirs=
                    584: MFLAGS=
                    585: MAKEFLAGS=
                    586: 
                    587: # Identity of this package.
                    588: PACKAGE_NAME='ipsec-tools'
                    589: PACKAGE_TARNAME='ipsec-tools'
1.1.1.2 ! misho     590: PACKAGE_VERSION='0.8.1'
        !           591: PACKAGE_STRING='ipsec-tools 0.8.1'
1.1       misho     592: PACKAGE_BUGREPORT=''
                    593: PACKAGE_URL=''
                    594: 
                    595: ac_unique_file="configure.ac"
                    596: # Factoring default headers for most tests.
                    597: ac_includes_default="\
                    598: #include <stdio.h>
                    599: #ifdef HAVE_SYS_TYPES_H
                    600: # include <sys/types.h>
                    601: #endif
                    602: #ifdef HAVE_SYS_STAT_H
                    603: # include <sys/stat.h>
                    604: #endif
                    605: #ifdef STDC_HEADERS
                    606: # include <stdlib.h>
                    607: # include <stddef.h>
                    608: #else
                    609: # ifdef HAVE_STDLIB_H
                    610: #  include <stdlib.h>
                    611: # endif
                    612: #endif
                    613: #ifdef HAVE_STRING_H
                    614: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
                    615: #  include <memory.h>
                    616: # endif
                    617: # include <string.h>
                    618: #endif
                    619: #ifdef HAVE_STRINGS_H
                    620: # include <strings.h>
                    621: #endif
                    622: #ifdef HAVE_INTTYPES_H
                    623: # include <inttypes.h>
                    624: #endif
                    625: #ifdef HAVE_STDINT_H
                    626: # include <stdint.h>
                    627: #endif
                    628: #ifdef HAVE_UNISTD_H
                    629: # include <unistd.h>
                    630: #endif"
                    631: 
                    632: ac_subst_vars='am__EXEEXT_FALSE
                    633: am__EXEEXT_TRUE
                    634: LTLIBOBJS
                    635: include_racoondir
                    636: SECCTX_OBJS
                    637: NATT_OBJS
                    638: KRB5_CONFIG
                    639: FRAG_OBJS
                    640: HYBRID_OBJS
                    641: EXTRA_CRYPTO
                    642: CRYPTOBJS
                    643: LIBOBJS
                    644: GLIBC_BUGS
                    645: KERNEL_INCLUDE
                    646: CONFIGURE_AMFLAGS
                    647: RPM
                    648: INCLUDE_GLIBC
                    649: INSTALL_OPTS
                    650: LEXLIB
                    651: LEX_OUTPUT_ROOT
                    652: LEX
                    653: YFLAGS
                    654: YACC
                    655: OTOOL64
                    656: OTOOL
                    657: LIPO
                    658: NMEDIT
                    659: DSYMUTIL
1.1.1.2 ! misho     660: MANIFEST_TOOL
1.1       misho     661: RANLIB
1.1.1.2 ! misho     662: ac_ct_AR
1.1       misho     663: AR
1.1.1.2 ! misho     664: DLLTOOL
1.1       misho     665: OBJDUMP
                    666: LN_S
                    667: NM
                    668: ac_ct_DUMPBIN
                    669: DUMPBIN
                    670: LD
                    671: FGREP
                    672: SED
                    673: host_os
                    674: host_vendor
                    675: host_cpu
                    676: host
                    677: build_os
                    678: build_vendor
                    679: build_cpu
                    680: build
                    681: LIBTOOL
                    682: EGREP
                    683: GREP
                    684: CPP
                    685: am__fastdepCC_FALSE
                    686: am__fastdepCC_TRUE
                    687: CCDEPMODE
1.1.1.2 ! misho     688: am__nodep
1.1       misho     689: AMDEPBACKSLASH
                    690: AMDEP_FALSE
                    691: AMDEP_TRUE
                    692: am__quote
                    693: am__include
                    694: DEPDIR
                    695: OBJEXT
                    696: EXEEXT
                    697: ac_ct_CC
                    698: CPPFLAGS
                    699: LDFLAGS
                    700: CFLAGS
                    701: CC
1.1.1.2 ! misho     702: AM_BACKSLASH
        !           703: AM_DEFAULT_VERBOSITY
        !           704: AM_DEFAULT_V
        !           705: AM_V
1.1       misho     706: am__untar
                    707: am__tar
                    708: AMTAR
                    709: am__leading_dot
                    710: SET_MAKE
                    711: AWK
                    712: mkdir_p
                    713: MKDIR_P
                    714: INSTALL_STRIP_PROGRAM
                    715: STRIP
                    716: install_sh
                    717: MAKEINFO
                    718: AUTOHEADER
                    719: AUTOMAKE
                    720: AUTOCONF
                    721: ACLOCAL
                    722: VERSION
                    723: PACKAGE
                    724: CYGPATH_W
                    725: am__isrc
                    726: INSTALL_DATA
                    727: INSTALL_SCRIPT
                    728: INSTALL_PROGRAM
                    729: target_alias
                    730: host_alias
                    731: build_alias
                    732: LIBS
                    733: ECHO_T
                    734: ECHO_N
                    735: ECHO_C
                    736: DEFS
                    737: mandir
                    738: localedir
                    739: libdir
                    740: psdir
                    741: pdfdir
                    742: dvidir
                    743: htmldir
                    744: infodir
                    745: docdir
                    746: oldincludedir
                    747: includedir
                    748: localstatedir
                    749: sharedstatedir
                    750: sysconfdir
                    751: datadir
                    752: datarootdir
                    753: libexecdir
                    754: sbindir
                    755: bindir
                    756: program_transform_name
                    757: prefix
                    758: exec_prefix
                    759: PACKAGE_URL
                    760: PACKAGE_BUGREPORT
                    761: PACKAGE_STRING
                    762: PACKAGE_VERSION
                    763: PACKAGE_TARNAME
                    764: PACKAGE_NAME
                    765: PATH_SEPARATOR
                    766: SHELL'
                    767: ac_subst_files=''
                    768: ac_user_opts='
                    769: enable_option_checking
1.1.1.2 ! misho     770: enable_silent_rules
1.1       misho     771: enable_shared
                    772: enable_dependency_tracking
                    773: enable_static
                    774: with_pic
                    775: enable_fast_install
                    776: with_gnu_ld
1.1.1.2 ! misho     777: with_sysroot
1.1       misho     778: enable_libtool_lock
                    779: with_kernel_headers
                    780: with_readline
                    781: with_flexdir
                    782: with_flexlib
                    783: with_openssl
                    784: enable_adminport
                    785: enable_rc5
                    786: enable_idea
                    787: with_libiconv
                    788: enable_hybrid
                    789: enable_frag
                    790: with_libradius
                    791: with_libpam
                    792: with_libldap
                    793: enable_gssapi
                    794: enable_stats
                    795: enable_dpd
                    796: enable_samode_unspec
                    797: enable_ipv6
                    798: enable_natt
                    799: enable_natt_versions
                    800: enable_broken_natt
                    801: enable_security_context
                    802: '
                    803:       ac_precious_vars='build_alias
                    804: host_alias
                    805: target_alias
                    806: CC
                    807: CFLAGS
                    808: LDFLAGS
                    809: LIBS
                    810: CPPFLAGS
                    811: CPP
                    812: YACC
                    813: YFLAGS'
                    814: 
                    815: 
                    816: # Initialize some variables set by options.
                    817: ac_init_help=
                    818: ac_init_version=false
                    819: ac_unrecognized_opts=
                    820: ac_unrecognized_sep=
                    821: # The variables have the same names as the options, with
                    822: # dashes changed to underlines.
                    823: cache_file=/dev/null
                    824: exec_prefix=NONE
                    825: no_create=
                    826: no_recursion=
                    827: prefix=NONE
                    828: program_prefix=NONE
                    829: program_suffix=NONE
                    830: program_transform_name=s,x,x,
                    831: silent=
                    832: site=
                    833: srcdir=
                    834: verbose=
                    835: x_includes=NONE
                    836: x_libraries=NONE
                    837: 
                    838: # Installation directory options.
                    839: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    840: # and all the variables that are supposed to be based on exec_prefix
                    841: # by default will actually change.
                    842: # Use braces instead of parens because sh, perl, etc. also accept them.
                    843: # (The list follows the same order as the GNU Coding Standards.)
                    844: bindir='${exec_prefix}/bin'
                    845: sbindir='${exec_prefix}/sbin'
                    846: libexecdir='${exec_prefix}/libexec'
                    847: datarootdir='${prefix}/share'
                    848: datadir='${datarootdir}'
                    849: sysconfdir='${prefix}/etc'
                    850: sharedstatedir='${prefix}/com'
                    851: localstatedir='${prefix}/var'
                    852: includedir='${prefix}/include'
                    853: oldincludedir='/usr/include'
                    854: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
                    855: infodir='${datarootdir}/info'
                    856: htmldir='${docdir}'
                    857: dvidir='${docdir}'
                    858: pdfdir='${docdir}'
                    859: psdir='${docdir}'
                    860: libdir='${exec_prefix}/lib'
                    861: localedir='${datarootdir}/locale'
                    862: mandir='${datarootdir}/man'
                    863: 
                    864: ac_prev=
                    865: ac_dashdash=
                    866: for ac_option
                    867: do
                    868:   # If the previous option needs an argument, assign it.
                    869:   if test -n "$ac_prev"; then
                    870:     eval $ac_prev=\$ac_option
                    871:     ac_prev=
                    872:     continue
                    873:   fi
                    874: 
                    875:   case $ac_option in
                    876:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
                    877:   *=)   ac_optarg= ;;
                    878:   *)    ac_optarg=yes ;;
                    879:   esac
                    880: 
                    881:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    882: 
                    883:   case $ac_dashdash$ac_option in
                    884:   --)
                    885:     ac_dashdash=yes ;;
                    886: 
                    887:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    888:     ac_prev=bindir ;;
                    889:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
                    890:     bindir=$ac_optarg ;;
                    891: 
                    892:   -build | --build | --buil | --bui | --bu)
                    893:     ac_prev=build_alias ;;
                    894:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
                    895:     build_alias=$ac_optarg ;;
                    896: 
                    897:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    898:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    899:     ac_prev=cache_file ;;
                    900:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    901:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
                    902:     cache_file=$ac_optarg ;;
                    903: 
                    904:   --config-cache | -C)
                    905:     cache_file=config.cache ;;
                    906: 
                    907:   -datadir | --datadir | --datadi | --datad)
                    908:     ac_prev=datadir ;;
                    909:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
                    910:     datadir=$ac_optarg ;;
                    911: 
                    912:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
                    913:   | --dataroo | --dataro | --datar)
                    914:     ac_prev=datarootdir ;;
                    915:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
                    916:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
                    917:     datarootdir=$ac_optarg ;;
                    918: 
                    919:   -disable-* | --disable-*)
                    920:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
                    921:     # Reject names that are not valid shell variable names.
                    922:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                    923:       as_fn_error $? "invalid feature name: $ac_useropt"
                    924:     ac_useropt_orig=$ac_useropt
                    925:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    926:     case $ac_user_opts in
                    927:       *"
                    928: "enable_$ac_useropt"
                    929: "*) ;;
                    930:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
                    931:         ac_unrecognized_sep=', ';;
                    932:     esac
                    933:     eval enable_$ac_useropt=no ;;
                    934: 
                    935:   -docdir | --docdir | --docdi | --doc | --do)
                    936:     ac_prev=docdir ;;
                    937:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
                    938:     docdir=$ac_optarg ;;
                    939: 
                    940:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
                    941:     ac_prev=dvidir ;;
                    942:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
                    943:     dvidir=$ac_optarg ;;
                    944: 
                    945:   -enable-* | --enable-*)
                    946:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
                    947:     # Reject names that are not valid shell variable names.
                    948:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                    949:       as_fn_error $? "invalid feature name: $ac_useropt"
                    950:     ac_useropt_orig=$ac_useropt
                    951:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    952:     case $ac_user_opts in
                    953:       *"
                    954: "enable_$ac_useropt"
                    955: "*) ;;
                    956:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
                    957:         ac_unrecognized_sep=', ';;
                    958:     esac
                    959:     eval enable_$ac_useropt=\$ac_optarg ;;
                    960: 
                    961:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    962:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    963:   | --exec | --exe | --ex)
                    964:     ac_prev=exec_prefix ;;
                    965:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                    966:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                    967:   | --exec=* | --exe=* | --ex=*)
                    968:     exec_prefix=$ac_optarg ;;
                    969: 
                    970:   -gas | --gas | --ga | --g)
                    971:     # Obsolete; use --with-gas.
                    972:     with_gas=yes ;;
                    973: 
                    974:   -help | --help | --hel | --he | -h)
                    975:     ac_init_help=long ;;
                    976:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                    977:     ac_init_help=recursive ;;
                    978:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                    979:     ac_init_help=short ;;
                    980: 
                    981:   -host | --host | --hos | --ho)
                    982:     ac_prev=host_alias ;;
                    983:   -host=* | --host=* | --hos=* | --ho=*)
                    984:     host_alias=$ac_optarg ;;
                    985: 
                    986:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
                    987:     ac_prev=htmldir ;;
                    988:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
                    989:   | --ht=*)
                    990:     htmldir=$ac_optarg ;;
                    991: 
                    992:   -includedir | --includedir | --includedi | --included | --include \
                    993:   | --includ | --inclu | --incl | --inc)
                    994:     ac_prev=includedir ;;
                    995:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                    996:   | --includ=* | --inclu=* | --incl=* | --inc=*)
                    997:     includedir=$ac_optarg ;;
                    998: 
                    999:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                   1000:     ac_prev=infodir ;;
                   1001:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
                   1002:     infodir=$ac_optarg ;;
                   1003: 
                   1004:   -libdir | --libdir | --libdi | --libd)
                   1005:     ac_prev=libdir ;;
                   1006:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
                   1007:     libdir=$ac_optarg ;;
                   1008: 
                   1009:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                   1010:   | --libexe | --libex | --libe)
                   1011:     ac_prev=libexecdir ;;
                   1012:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                   1013:   | --libexe=* | --libex=* | --libe=*)
                   1014:     libexecdir=$ac_optarg ;;
                   1015: 
                   1016:   -localedir | --localedir | --localedi | --localed | --locale)
                   1017:     ac_prev=localedir ;;
                   1018:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
                   1019:     localedir=$ac_optarg ;;
                   1020: 
                   1021:   -localstatedir | --localstatedir | --localstatedi | --localstated \
                   1022:   | --localstate | --localstat | --localsta | --localst | --locals)
                   1023:     ac_prev=localstatedir ;;
                   1024:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
                   1025:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
                   1026:     localstatedir=$ac_optarg ;;
                   1027: 
                   1028:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                   1029:     ac_prev=mandir ;;
                   1030:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
                   1031:     mandir=$ac_optarg ;;
                   1032: 
                   1033:   -nfp | --nfp | --nf)
                   1034:     # Obsolete; use --without-fp.
                   1035:     with_fp=no ;;
                   1036: 
                   1037:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
                   1038:   | --no-cr | --no-c | -n)
                   1039:     no_create=yes ;;
                   1040: 
                   1041:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                   1042:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                   1043:     no_recursion=yes ;;
                   1044: 
                   1045:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                   1046:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                   1047:   | --oldin | --oldi | --old | --ol | --o)
                   1048:     ac_prev=oldincludedir ;;
                   1049:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                   1050:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                   1051:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
                   1052:     oldincludedir=$ac_optarg ;;
                   1053: 
                   1054:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   1055:     ac_prev=prefix ;;
                   1056:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   1057:     prefix=$ac_optarg ;;
                   1058: 
                   1059:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                   1060:   | --program-pre | --program-pr | --program-p)
                   1061:     ac_prev=program_prefix ;;
                   1062:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                   1063:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
                   1064:     program_prefix=$ac_optarg ;;
                   1065: 
                   1066:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                   1067:   | --program-suf | --program-su | --program-s)
                   1068:     ac_prev=program_suffix ;;
                   1069:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                   1070:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
                   1071:     program_suffix=$ac_optarg ;;
                   1072: 
                   1073:   -program-transform-name | --program-transform-name \
                   1074:   | --program-transform-nam | --program-transform-na \
                   1075:   | --program-transform-n | --program-transform- \
                   1076:   | --program-transform | --program-transfor \
                   1077:   | --program-transfo | --program-transf \
                   1078:   | --program-trans | --program-tran \
                   1079:   | --progr-tra | --program-tr | --program-t)
                   1080:     ac_prev=program_transform_name ;;
                   1081:   -program-transform-name=* | --program-transform-name=* \
                   1082:   | --program-transform-nam=* | --program-transform-na=* \
                   1083:   | --program-transform-n=* | --program-transform-=* \
                   1084:   | --program-transform=* | --program-transfor=* \
                   1085:   | --program-transfo=* | --program-transf=* \
                   1086:   | --program-trans=* | --program-tran=* \
                   1087:   | --progr-tra=* | --program-tr=* | --program-t=*)
                   1088:     program_transform_name=$ac_optarg ;;
                   1089: 
                   1090:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
                   1091:     ac_prev=pdfdir ;;
                   1092:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
                   1093:     pdfdir=$ac_optarg ;;
                   1094: 
                   1095:   -psdir | --psdir | --psdi | --psd | --ps)
                   1096:     ac_prev=psdir ;;
                   1097:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
                   1098:     psdir=$ac_optarg ;;
                   1099: 
                   1100:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1101:   | -silent | --silent | --silen | --sile | --sil)
                   1102:     silent=yes ;;
                   1103: 
                   1104:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                   1105:     ac_prev=sbindir ;;
                   1106:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                   1107:   | --sbi=* | --sb=*)
                   1108:     sbindir=$ac_optarg ;;
                   1109: 
                   1110:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                   1111:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                   1112:   | --sharedst | --shareds | --shared | --share | --shar \
                   1113:   | --sha | --sh)
                   1114:     ac_prev=sharedstatedir ;;
                   1115:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                   1116:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                   1117:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                   1118:   | --sha=* | --sh=*)
                   1119:     sharedstatedir=$ac_optarg ;;
                   1120: 
                   1121:   -site | --site | --sit)
                   1122:     ac_prev=site ;;
                   1123:   -site=* | --site=* | --sit=*)
                   1124:     site=$ac_optarg ;;
                   1125: 
                   1126:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   1127:     ac_prev=srcdir ;;
                   1128:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   1129:     srcdir=$ac_optarg ;;
                   1130: 
                   1131:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                   1132:   | --syscon | --sysco | --sysc | --sys | --sy)
                   1133:     ac_prev=sysconfdir ;;
                   1134:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                   1135:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
                   1136:     sysconfdir=$ac_optarg ;;
                   1137: 
                   1138:   -target | --target | --targe | --targ | --tar | --ta | --t)
                   1139:     ac_prev=target_alias ;;
                   1140:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
                   1141:     target_alias=$ac_optarg ;;
                   1142: 
                   1143:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                   1144:     verbose=yes ;;
                   1145: 
                   1146:   -version | --version | --versio | --versi | --vers | -V)
                   1147:     ac_init_version=: ;;
                   1148: 
                   1149:   -with-* | --with-*)
                   1150:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
                   1151:     # Reject names that are not valid shell variable names.
                   1152:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1153:       as_fn_error $? "invalid package name: $ac_useropt"
                   1154:     ac_useropt_orig=$ac_useropt
                   1155:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1156:     case $ac_user_opts in
                   1157:       *"
                   1158: "with_$ac_useropt"
                   1159: "*) ;;
                   1160:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
                   1161:         ac_unrecognized_sep=', ';;
                   1162:     esac
                   1163:     eval with_$ac_useropt=\$ac_optarg ;;
                   1164: 
                   1165:   -without-* | --without-*)
                   1166:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
                   1167:     # Reject names that are not valid shell variable names.
                   1168:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1169:       as_fn_error $? "invalid package name: $ac_useropt"
                   1170:     ac_useropt_orig=$ac_useropt
                   1171:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1172:     case $ac_user_opts in
                   1173:       *"
                   1174: "with_$ac_useropt"
                   1175: "*) ;;
                   1176:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
                   1177:         ac_unrecognized_sep=', ';;
                   1178:     esac
                   1179:     eval with_$ac_useropt=no ;;
                   1180: 
                   1181:   --x)
                   1182:     # Obsolete; use --with-x.
                   1183:     with_x=yes ;;
                   1184: 
                   1185:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                   1186:   | --x-incl | --x-inc | --x-in | --x-i)
                   1187:     ac_prev=x_includes ;;
                   1188:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                   1189:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
                   1190:     x_includes=$ac_optarg ;;
                   1191: 
                   1192:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                   1193:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                   1194:     ac_prev=x_libraries ;;
                   1195:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                   1196:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
                   1197:     x_libraries=$ac_optarg ;;
                   1198: 
                   1199:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
                   1200: Try \`$0 --help' for more information"
                   1201:     ;;
                   1202: 
                   1203:   *=*)
                   1204:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                   1205:     # Reject names that are not valid shell variable names.
                   1206:     case $ac_envvar in #(
                   1207:       '' | [0-9]* | *[!_$as_cr_alnum]* )
                   1208:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
                   1209:     esac
                   1210:     eval $ac_envvar=\$ac_optarg
                   1211:     export $ac_envvar ;;
                   1212: 
                   1213:   *)
                   1214:     # FIXME: should be removed in autoconf 3.0.
                   1215:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
                   1216:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
                   1217:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1.1.1.2 ! misho    1218:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1.1       misho    1219:     ;;
                   1220: 
                   1221:   esac
                   1222: done
                   1223: 
                   1224: if test -n "$ac_prev"; then
                   1225:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
                   1226:   as_fn_error $? "missing argument to $ac_option"
                   1227: fi
                   1228: 
                   1229: if test -n "$ac_unrecognized_opts"; then
                   1230:   case $enable_option_checking in
                   1231:     no) ;;
                   1232:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
                   1233:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
                   1234:   esac
                   1235: fi
                   1236: 
                   1237: # Check all directory arguments for consistency.
                   1238: for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
                   1239:                datadir sysconfdir sharedstatedir localstatedir includedir \
                   1240:                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
                   1241:                libdir localedir mandir
                   1242: do
                   1243:   eval ac_val=\$$ac_var
                   1244:   # Remove trailing slashes.
                   1245:   case $ac_val in
                   1246:     */ )
                   1247:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
                   1248:       eval $ac_var=\$ac_val;;
                   1249:   esac
                   1250:   # Be sure to have absolute directory names.
                   1251:   case $ac_val in
                   1252:     [\\/$]* | ?:[\\/]* )  continue;;
                   1253:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
                   1254:   esac
                   1255:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
                   1256: done
                   1257: 
                   1258: # There might be people who depend on the old broken behavior: `$host'
                   1259: # used to hold the argument of --host etc.
                   1260: # FIXME: To remove some day.
                   1261: build=$build_alias
                   1262: host=$host_alias
                   1263: target=$target_alias
                   1264: 
                   1265: # FIXME: To remove some day.
                   1266: if test "x$host_alias" != x; then
                   1267:   if test "x$build_alias" = x; then
                   1268:     cross_compiling=maybe
                   1269:   elif test "x$build_alias" != "x$host_alias"; then
                   1270:     cross_compiling=yes
                   1271:   fi
                   1272: fi
                   1273: 
                   1274: ac_tool_prefix=
                   1275: test -n "$host_alias" && ac_tool_prefix=$host_alias-
                   1276: 
                   1277: test "$silent" = yes && exec 6>/dev/null
                   1278: 
                   1279: 
                   1280: ac_pwd=`pwd` && test -n "$ac_pwd" &&
                   1281: ac_ls_di=`ls -di .` &&
                   1282: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
                   1283:   as_fn_error $? "working directory cannot be determined"
                   1284: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
                   1285:   as_fn_error $? "pwd does not report name of working directory"
                   1286: 
                   1287: 
                   1288: # Find the source files, if location was not specified.
                   1289: if test -z "$srcdir"; then
                   1290:   ac_srcdir_defaulted=yes
                   1291:   # Try the directory containing this script, then the parent directory.
                   1292:   ac_confdir=`$as_dirname -- "$as_myself" ||
                   1293: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   1294:         X"$as_myself" : 'X\(//\)[^/]' \| \
                   1295:         X"$as_myself" : 'X\(//\)$' \| \
                   1296:         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
                   1297: $as_echo X"$as_myself" |
                   1298:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   1299:            s//\1/
                   1300:            q
                   1301:          }
                   1302:          /^X\(\/\/\)[^/].*/{
                   1303:            s//\1/
                   1304:            q
                   1305:          }
                   1306:          /^X\(\/\/\)$/{
                   1307:            s//\1/
                   1308:            q
                   1309:          }
                   1310:          /^X\(\/\).*/{
                   1311:            s//\1/
                   1312:            q
                   1313:          }
                   1314:          s/.*/./; q'`
                   1315:   srcdir=$ac_confdir
                   1316:   if test ! -r "$srcdir/$ac_unique_file"; then
                   1317:     srcdir=..
                   1318:   fi
                   1319: else
                   1320:   ac_srcdir_defaulted=no
                   1321: fi
                   1322: if test ! -r "$srcdir/$ac_unique_file"; then
                   1323:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
                   1324:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
                   1325: fi
                   1326: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
                   1327: ac_abs_confdir=`(
                   1328:        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
                   1329:        pwd)`
                   1330: # When building in place, set srcdir=.
                   1331: if test "$ac_abs_confdir" = "$ac_pwd"; then
                   1332:   srcdir=.
                   1333: fi
                   1334: # Remove unnecessary trailing slashes from srcdir.
                   1335: # Double slashes in file names in object file debugging info
                   1336: # mess up M-x gdb in Emacs.
                   1337: case $srcdir in
                   1338: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
                   1339: esac
                   1340: for ac_var in $ac_precious_vars; do
                   1341:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
                   1342:   eval ac_env_${ac_var}_value=\$${ac_var}
                   1343:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
                   1344:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
                   1345: done
                   1346: 
                   1347: #
                   1348: # Report the --help message.
                   1349: #
                   1350: if test "$ac_init_help" = "long"; then
                   1351:   # Omit some internal or obsolete options to make the list less imposing.
                   1352:   # This message is too long to be a string in the A/UX 3.1 sh.
                   1353:   cat <<_ACEOF
1.1.1.2 ! misho    1354: \`configure' configures ipsec-tools 0.8.1 to adapt to many kinds of systems.
1.1       misho    1355: 
                   1356: Usage: $0 [OPTION]... [VAR=VALUE]...
                   1357: 
                   1358: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                   1359: VAR=VALUE.  See below for descriptions of some of the useful variables.
                   1360: 
                   1361: Defaults for the options are specified in brackets.
                   1362: 
                   1363: Configuration:
                   1364:   -h, --help              display this help and exit
                   1365:       --help=short        display options specific to this package
                   1366:       --help=recursive    display the short help of all the included packages
                   1367:   -V, --version           display version information and exit
                   1368:   -q, --quiet, --silent   do not print \`checking ...' messages
                   1369:       --cache-file=FILE   cache test results in FILE [disabled]
                   1370:   -C, --config-cache      alias for \`--cache-file=config.cache'
                   1371:   -n, --no-create         do not create output files
                   1372:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                   1373: 
                   1374: Installation directories:
                   1375:   --prefix=PREFIX         install architecture-independent files in PREFIX
                   1376:                           [$ac_default_prefix]
                   1377:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                   1378:                           [PREFIX]
                   1379: 
                   1380: By default, \`make install' will install all the files in
                   1381: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                   1382: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                   1383: for instance \`--prefix=\$HOME'.
                   1384: 
                   1385: For better control, use the options below.
                   1386: 
                   1387: Fine tuning of the installation directories:
                   1388:   --bindir=DIR            user executables [EPREFIX/bin]
                   1389:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
                   1390:   --libexecdir=DIR        program executables [EPREFIX/libexec]
                   1391:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
                   1392:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
                   1393:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
                   1394:   --libdir=DIR            object code libraries [EPREFIX/lib]
                   1395:   --includedir=DIR        C header files [PREFIX/include]
                   1396:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
                   1397:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
                   1398:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
                   1399:   --infodir=DIR           info documentation [DATAROOTDIR/info]
                   1400:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
                   1401:   --mandir=DIR            man documentation [DATAROOTDIR/man]
                   1402:   --docdir=DIR            documentation root [DATAROOTDIR/doc/ipsec-tools]
                   1403:   --htmldir=DIR           html documentation [DOCDIR]
                   1404:   --dvidir=DIR            dvi documentation [DOCDIR]
                   1405:   --pdfdir=DIR            pdf documentation [DOCDIR]
                   1406:   --psdir=DIR             ps documentation [DOCDIR]
                   1407: _ACEOF
                   1408: 
                   1409:   cat <<\_ACEOF
                   1410: 
                   1411: Program names:
                   1412:   --program-prefix=PREFIX            prepend PREFIX to installed program names
                   1413:   --program-suffix=SUFFIX            append SUFFIX to installed program names
                   1414:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
                   1415: 
                   1416: System types:
                   1417:   --build=BUILD     configure for building on BUILD [guessed]
                   1418:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                   1419: _ACEOF
                   1420: fi
                   1421: 
                   1422: if test -n "$ac_init_help"; then
                   1423:   case $ac_init_help in
1.1.1.2 ! misho    1424:      short | recursive ) echo "Configuration of ipsec-tools 0.8.1:";;
1.1       misho    1425:    esac
                   1426:   cat <<\_ACEOF
                   1427: 
                   1428: Optional Features:
                   1429:   --disable-option-checking  ignore unrecognized --enable/--with options
                   1430:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                   1431:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1.1.1.2 ! misho    1432:   --enable-silent-rules   less verbose build output (undo: "make V=1")
        !          1433:   --disable-silent-rules  verbose build output (undo: "make V=0")
1.1       misho    1434:   --enable-shared[=PKGS]  build shared libraries [default=no]
1.1.1.2 ! misho    1435:   --enable-dependency-tracking
        !          1436:                           do not reject slow dependency extractors
        !          1437:   --disable-dependency-tracking
        !          1438:                           speeds up one-time build
1.1       misho    1439:   --enable-static[=PKGS]  build static libraries [default=yes]
                   1440:   --enable-fast-install[=PKGS]
                   1441:                           optimize for fast installation [default=yes]
                   1442:   --disable-libtool-lock  avoid locking (might break parallel builds)
                   1443:   --enable-adminport      enable admin port
                   1444:   --enable-rc5         enable RC5 encryption (patented)
                   1445:   --enable-idea        enable IDEA encryption (patented)
                   1446:   --enable-hybrid        enable hybrid, both mode-cfg and xauth support
                   1447:   --enable-frag           enable IKE fragmentation payload support
                   1448:   --enable-gssapi         enable GSS-API authentication
                   1449:   --enable-stats          enable statistics logging function
                   1450:   --enable-dpd            enable dead peer detection
                   1451:   --enable-samode-unspec  enable to use unspecified a mode of SA
                   1452:   --disable-ipv6          disable ipv6 support
                   1453:   --enable-natt           enable NAT-Traversal (yes/no/kernel)
                   1454:   --enable-natt-versions=list    list of supported NAT-T versions delimited by coma.
                   1455:   --enable-broken-natt    broken in-kernel NAT-T
                   1456:   --enable-security-context    enable Security Context(yes/no/kernel)
                   1457: 
                   1458: Optional Packages:
                   1459:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                   1460:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1.1.1.2 ! misho    1461:   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1.1       misho    1462:                           both]
                   1463:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1.1.1.2 ! misho    1464:   --with-sysroot=DIR Search for dependent libraries within DIR
        !          1465:                         (or the compiler's sysroot if not specified).
1.1       misho    1466:   --with-kernel-headers=/lib/modules/<uname>/build/include
                   1467:                           where your Linux Kernel headers are installed
                   1468:   --with-readline         support readline input (yes by default)
                   1469:   --with-flex             use directiory (default: no)
                   1470:   --with-flexlib=<LIB>    specify flex library.
                   1471:   --with-openssl=DIR      specify OpenSSL directory
                   1472:   --with-libiconv=DIR    specify libiconv path (like/usr/pkg)
                   1473:   --with-libradius=DIR    specify libradius path (like/usr/pkg)
                   1474:   --with-libpam=DIR    specify libpam path (like/usr/pkg)
                   1475:   --with-libldap=DIR    specify libldap path (like/usr/pkg)
                   1476: 
                   1477: Some influential environment variables:
                   1478:   CC          C compiler command
                   1479:   CFLAGS      C compiler flags
                   1480:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                   1481:               nonstandard directory <lib dir>
                   1482:   LIBS        libraries to pass to the linker, e.g. -l<library>
                   1483:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
                   1484:               you have headers in a nonstandard directory <include dir>
                   1485:   CPP         C preprocessor
1.1.1.2 ! misho    1486:   YACC        The `Yet Another Compiler Compiler' implementation to use.
        !          1487:               Defaults to the first program found out of: `bison -y', `byacc',
        !          1488:               `yacc'.
1.1       misho    1489:   YFLAGS      The list of arguments that will be passed by default to $YACC.
                   1490:               This script will default YFLAGS to the empty string to avoid a
                   1491:               default value of `-d' given by some make applications.
                   1492: 
                   1493: Use these variables to override the choices made by `configure' or to help
                   1494: it to find libraries and programs with nonstandard names/locations.
                   1495: 
                   1496: Report bugs to the package provider.
                   1497: _ACEOF
                   1498: ac_status=$?
                   1499: fi
                   1500: 
                   1501: if test "$ac_init_help" = "recursive"; then
                   1502:   # If there are subdirs, report their specific --help.
                   1503:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
                   1504:     test -d "$ac_dir" ||
                   1505:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
                   1506:       continue
                   1507:     ac_builddir=.
                   1508: 
                   1509: case "$ac_dir" in
                   1510: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1511: *)
                   1512:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   1513:   # A ".." for each directory in $ac_dir_suffix.
                   1514:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   1515:   case $ac_top_builddir_sub in
                   1516:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1517:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   1518:   esac ;;
                   1519: esac
                   1520: ac_abs_top_builddir=$ac_pwd
                   1521: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   1522: # for backward compatibility:
                   1523: ac_top_builddir=$ac_top_build_prefix
                   1524: 
                   1525: case $srcdir in
                   1526:   .)  # We are building in place.
                   1527:     ac_srcdir=.
                   1528:     ac_top_srcdir=$ac_top_builddir_sub
                   1529:     ac_abs_top_srcdir=$ac_pwd ;;
                   1530:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   1531:     ac_srcdir=$srcdir$ac_dir_suffix;
                   1532:     ac_top_srcdir=$srcdir
                   1533:     ac_abs_top_srcdir=$srcdir ;;
                   1534:   *) # Relative name.
                   1535:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   1536:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   1537:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   1538: esac
                   1539: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   1540: 
                   1541:     cd "$ac_dir" || { ac_status=$?; continue; }
                   1542:     # Check for guested configure.
                   1543:     if test -f "$ac_srcdir/configure.gnu"; then
                   1544:       echo &&
                   1545:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
                   1546:     elif test -f "$ac_srcdir/configure"; then
                   1547:       echo &&
                   1548:       $SHELL "$ac_srcdir/configure" --help=recursive
                   1549:     else
                   1550:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
                   1551:     fi || ac_status=$?
                   1552:     cd "$ac_pwd" || { ac_status=$?; break; }
                   1553:   done
                   1554: fi
                   1555: 
                   1556: test -n "$ac_init_help" && exit $ac_status
                   1557: if $ac_init_version; then
                   1558:   cat <<\_ACEOF
1.1.1.2 ! misho    1559: ipsec-tools configure 0.8.1
        !          1560: generated by GNU Autoconf 2.69
1.1       misho    1561: 
1.1.1.2 ! misho    1562: Copyright (C) 2012 Free Software Foundation, Inc.
1.1       misho    1563: This configure script is free software; the Free Software Foundation
                   1564: gives unlimited permission to copy, distribute and modify it.
                   1565: _ACEOF
                   1566:   exit
                   1567: fi
                   1568: 
                   1569: ## ------------------------ ##
                   1570: ## Autoconf initialization. ##
                   1571: ## ------------------------ ##
                   1572: 
                   1573: # ac_fn_c_try_compile LINENO
                   1574: # --------------------------
                   1575: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1576: ac_fn_c_try_compile ()
                   1577: {
                   1578:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1579:   rm -f conftest.$ac_objext
                   1580:   if { { ac_try="$ac_compile"
                   1581: case "(($ac_try" in
                   1582:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1583:   *) ac_try_echo=$ac_try;;
                   1584: esac
                   1585: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1586: $as_echo "$ac_try_echo"; } >&5
                   1587:   (eval "$ac_compile") 2>conftest.err
                   1588:   ac_status=$?
                   1589:   if test -s conftest.err; then
                   1590:     grep -v '^ *+' conftest.err >conftest.er1
                   1591:     cat conftest.er1 >&5
                   1592:     mv -f conftest.er1 conftest.err
                   1593:   fi
                   1594:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1595:   test $ac_status = 0; } && {
                   1596:         test -z "$ac_c_werror_flag" ||
                   1597:         test ! -s conftest.err
                   1598:        } && test -s conftest.$ac_objext; then :
                   1599:   ac_retval=0
                   1600: else
                   1601:   $as_echo "$as_me: failed program was:" >&5
                   1602: sed 's/^/| /' conftest.$ac_ext >&5
                   1603: 
                   1604:        ac_retval=1
                   1605: fi
1.1.1.2 ! misho    1606:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.1       misho    1607:   as_fn_set_status $ac_retval
                   1608: 
                   1609: } # ac_fn_c_try_compile
                   1610: 
                   1611: # ac_fn_c_try_cpp LINENO
                   1612: # ----------------------
                   1613: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
                   1614: ac_fn_c_try_cpp ()
                   1615: {
                   1616:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1617:   if { { ac_try="$ac_cpp conftest.$ac_ext"
                   1618: case "(($ac_try" in
                   1619:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1620:   *) ac_try_echo=$ac_try;;
                   1621: esac
                   1622: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1623: $as_echo "$ac_try_echo"; } >&5
                   1624:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
                   1625:   ac_status=$?
                   1626:   if test -s conftest.err; then
                   1627:     grep -v '^ *+' conftest.err >conftest.er1
                   1628:     cat conftest.er1 >&5
                   1629:     mv -f conftest.er1 conftest.err
                   1630:   fi
                   1631:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1632:   test $ac_status = 0; } > conftest.i && {
                   1633:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   1634:         test ! -s conftest.err
                   1635:        }; then :
                   1636:   ac_retval=0
                   1637: else
                   1638:   $as_echo "$as_me: failed program was:" >&5
                   1639: sed 's/^/| /' conftest.$ac_ext >&5
                   1640: 
                   1641:     ac_retval=1
                   1642: fi
1.1.1.2 ! misho    1643:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.1       misho    1644:   as_fn_set_status $ac_retval
                   1645: 
                   1646: } # ac_fn_c_try_cpp
                   1647: 
                   1648: # ac_fn_c_try_run LINENO
                   1649: # ----------------------
                   1650: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
                   1651: # that executables *can* be run.
                   1652: ac_fn_c_try_run ()
                   1653: {
                   1654:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1655:   if { { ac_try="$ac_link"
                   1656: case "(($ac_try" in
                   1657:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1658:   *) ac_try_echo=$ac_try;;
                   1659: esac
                   1660: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1661: $as_echo "$ac_try_echo"; } >&5
                   1662:   (eval "$ac_link") 2>&5
                   1663:   ac_status=$?
                   1664:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1665:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
                   1666:   { { case "(($ac_try" in
                   1667:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1668:   *) ac_try_echo=$ac_try;;
                   1669: esac
                   1670: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1671: $as_echo "$ac_try_echo"; } >&5
                   1672:   (eval "$ac_try") 2>&5
                   1673:   ac_status=$?
                   1674:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1675:   test $ac_status = 0; }; }; then :
                   1676:   ac_retval=0
                   1677: else
                   1678:   $as_echo "$as_me: program exited with status $ac_status" >&5
                   1679:        $as_echo "$as_me: failed program was:" >&5
                   1680: sed 's/^/| /' conftest.$ac_ext >&5
                   1681: 
                   1682:        ac_retval=$ac_status
                   1683: fi
                   1684:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1.1.1.2 ! misho    1685:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.1       misho    1686:   as_fn_set_status $ac_retval
                   1687: 
                   1688: } # ac_fn_c_try_run
                   1689: 
                   1690: # ac_fn_c_try_link LINENO
                   1691: # -----------------------
                   1692: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1693: ac_fn_c_try_link ()
                   1694: {
                   1695:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1696:   rm -f conftest.$ac_objext conftest$ac_exeext
                   1697:   if { { ac_try="$ac_link"
                   1698: case "(($ac_try" in
                   1699:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1700:   *) ac_try_echo=$ac_try;;
                   1701: esac
                   1702: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1703: $as_echo "$ac_try_echo"; } >&5
                   1704:   (eval "$ac_link") 2>conftest.err
                   1705:   ac_status=$?
                   1706:   if test -s conftest.err; then
                   1707:     grep -v '^ *+' conftest.err >conftest.er1
                   1708:     cat conftest.er1 >&5
                   1709:     mv -f conftest.er1 conftest.err
                   1710:   fi
                   1711:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1712:   test $ac_status = 0; } && {
                   1713:         test -z "$ac_c_werror_flag" ||
                   1714:         test ! -s conftest.err
                   1715:        } && test -s conftest$ac_exeext && {
                   1716:         test "$cross_compiling" = yes ||
1.1.1.2 ! misho    1717:         test -x conftest$ac_exeext
1.1       misho    1718:        }; then :
                   1719:   ac_retval=0
                   1720: else
                   1721:   $as_echo "$as_me: failed program was:" >&5
                   1722: sed 's/^/| /' conftest.$ac_ext >&5
                   1723: 
                   1724:        ac_retval=1
                   1725: fi
                   1726:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   1727:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   1728:   # interfere with the next link command; also delete a directory that is
                   1729:   # left behind by Apple's compiler.  We do this before executing the actions.
                   1730:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1.1.1.2 ! misho    1731:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.1       misho    1732:   as_fn_set_status $ac_retval
                   1733: 
                   1734: } # ac_fn_c_try_link
                   1735: 
                   1736: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
                   1737: # -------------------------------------------------------
                   1738: # Tests whether HEADER exists and can be compiled using the include files in
                   1739: # INCLUDES, setting the cache variable VAR accordingly.
                   1740: ac_fn_c_check_header_compile ()
                   1741: {
                   1742:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1743:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1744: $as_echo_n "checking for $2... " >&6; }
1.1.1.2 ! misho    1745: if eval \${$3+:} false; then :
1.1       misho    1746:   $as_echo_n "(cached) " >&6
                   1747: else
                   1748:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1749: /* end confdefs.h.  */
                   1750: $4
                   1751: #include <$2>
                   1752: _ACEOF
                   1753: if ac_fn_c_try_compile "$LINENO"; then :
                   1754:   eval "$3=yes"
                   1755: else
                   1756:   eval "$3=no"
                   1757: fi
                   1758: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1759: fi
                   1760: eval ac_res=\$$3
                   1761:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1762: $as_echo "$ac_res" >&6; }
1.1.1.2 ! misho    1763:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.1       misho    1764: 
                   1765: } # ac_fn_c_check_header_compile
                   1766: 
                   1767: # ac_fn_c_check_func LINENO FUNC VAR
                   1768: # ----------------------------------
                   1769: # Tests whether FUNC exists, setting the cache variable VAR accordingly
                   1770: ac_fn_c_check_func ()
                   1771: {
                   1772:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1773:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1774: $as_echo_n "checking for $2... " >&6; }
1.1.1.2 ! misho    1775: if eval \${$3+:} false; then :
1.1       misho    1776:   $as_echo_n "(cached) " >&6
                   1777: else
                   1778:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1779: /* end confdefs.h.  */
                   1780: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
                   1781:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   1782: #define $2 innocuous_$2
                   1783: 
                   1784: /* System header to define __stub macros and hopefully few prototypes,
                   1785:     which can conflict with char $2 (); below.
                   1786:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   1787:     <limits.h> exists even on freestanding compilers.  */
                   1788: 
                   1789: #ifdef __STDC__
                   1790: # include <limits.h>
                   1791: #else
                   1792: # include <assert.h>
                   1793: #endif
                   1794: 
                   1795: #undef $2
                   1796: 
                   1797: /* Override any GCC internal prototype to avoid an error.
                   1798:    Use char because int might match the return type of a GCC
                   1799:    builtin and then its argument prototype would still apply.  */
                   1800: #ifdef __cplusplus
                   1801: extern "C"
                   1802: #endif
                   1803: char $2 ();
                   1804: /* The GNU C library defines this for functions which it implements
                   1805:     to always fail with ENOSYS.  Some functions are actually named
                   1806:     something starting with __ and the normal name is an alias.  */
                   1807: #if defined __stub_$2 || defined __stub___$2
                   1808: choke me
                   1809: #endif
                   1810: 
                   1811: int
                   1812: main ()
                   1813: {
                   1814: return $2 ();
                   1815:   ;
                   1816:   return 0;
                   1817: }
                   1818: _ACEOF
                   1819: if ac_fn_c_try_link "$LINENO"; then :
                   1820:   eval "$3=yes"
                   1821: else
                   1822:   eval "$3=no"
                   1823: fi
                   1824: rm -f core conftest.err conftest.$ac_objext \
                   1825:     conftest$ac_exeext conftest.$ac_ext
                   1826: fi
                   1827: eval ac_res=\$$3
                   1828:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1829: $as_echo "$ac_res" >&6; }
1.1.1.2 ! misho    1830:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.1       misho    1831: 
                   1832: } # ac_fn_c_check_func
                   1833: 
                   1834: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
                   1835: # -------------------------------------------------------
                   1836: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
                   1837: # the include files in INCLUDES and setting the cache variable VAR
                   1838: # accordingly.
                   1839: ac_fn_c_check_header_mongrel ()
                   1840: {
                   1841:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1.1.1.2 ! misho    1842:   if eval \${$3+:} false; then :
1.1       misho    1843:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1844: $as_echo_n "checking for $2... " >&6; }
1.1.1.2 ! misho    1845: if eval \${$3+:} false; then :
1.1       misho    1846:   $as_echo_n "(cached) " >&6
                   1847: fi
                   1848: eval ac_res=\$$3
                   1849:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1850: $as_echo "$ac_res" >&6; }
                   1851: else
                   1852:   # Is the header compilable?
                   1853: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
                   1854: $as_echo_n "checking $2 usability... " >&6; }
                   1855: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1856: /* end confdefs.h.  */
                   1857: $4
                   1858: #include <$2>
                   1859: _ACEOF
                   1860: if ac_fn_c_try_compile "$LINENO"; then :
                   1861:   ac_header_compiler=yes
                   1862: else
                   1863:   ac_header_compiler=no
                   1864: fi
                   1865: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1866: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
                   1867: $as_echo "$ac_header_compiler" >&6; }
                   1868: 
                   1869: # Is the header present?
                   1870: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
                   1871: $as_echo_n "checking $2 presence... " >&6; }
                   1872: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1873: /* end confdefs.h.  */
                   1874: #include <$2>
                   1875: _ACEOF
                   1876: if ac_fn_c_try_cpp "$LINENO"; then :
                   1877:   ac_header_preproc=yes
                   1878: else
                   1879:   ac_header_preproc=no
                   1880: fi
                   1881: rm -f conftest.err conftest.i conftest.$ac_ext
                   1882: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
                   1883: $as_echo "$ac_header_preproc" >&6; }
                   1884: 
                   1885: # So?  What about this header?
                   1886: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
                   1887:   yes:no: )
                   1888:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
                   1889: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   1890:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   1891: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   1892:     ;;
                   1893:   no:yes:* )
                   1894:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
                   1895: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
                   1896:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
                   1897: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
                   1898:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
                   1899: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
                   1900:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
                   1901: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
                   1902:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
                   1903: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
                   1904:     ;;
                   1905: esac
                   1906:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1907: $as_echo_n "checking for $2... " >&6; }
1.1.1.2 ! misho    1908: if eval \${$3+:} false; then :
1.1       misho    1909:   $as_echo_n "(cached) " >&6
                   1910: else
                   1911:   eval "$3=\$ac_header_compiler"
                   1912: fi
                   1913: eval ac_res=\$$3
                   1914:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1915: $as_echo "$ac_res" >&6; }
                   1916: fi
1.1.1.2 ! misho    1917:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.1       misho    1918: 
                   1919: } # ac_fn_c_check_header_mongrel
                   1920: 
                   1921: # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
                   1922: # ----------------------------------------------------
                   1923: # Tries to find if the field MEMBER exists in type AGGR, after including
                   1924: # INCLUDES, setting cache variable VAR accordingly.
                   1925: ac_fn_c_check_member ()
                   1926: {
                   1927:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1928:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
                   1929: $as_echo_n "checking for $2.$3... " >&6; }
1.1.1.2 ! misho    1930: if eval \${$4+:} false; then :
1.1       misho    1931:   $as_echo_n "(cached) " >&6
                   1932: else
                   1933:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1934: /* end confdefs.h.  */
                   1935: $5
                   1936: int
                   1937: main ()
                   1938: {
                   1939: static $2 ac_aggr;
                   1940: if (ac_aggr.$3)
                   1941: return 0;
                   1942:   ;
                   1943:   return 0;
                   1944: }
                   1945: _ACEOF
                   1946: if ac_fn_c_try_compile "$LINENO"; then :
                   1947:   eval "$4=yes"
                   1948: else
                   1949:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1950: /* end confdefs.h.  */
                   1951: $5
                   1952: int
                   1953: main ()
                   1954: {
                   1955: static $2 ac_aggr;
                   1956: if (sizeof ac_aggr.$3)
                   1957: return 0;
                   1958:   ;
                   1959:   return 0;
                   1960: }
                   1961: _ACEOF
                   1962: if ac_fn_c_try_compile "$LINENO"; then :
                   1963:   eval "$4=yes"
                   1964: else
                   1965:   eval "$4=no"
                   1966: fi
                   1967: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1968: fi
                   1969: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1970: fi
                   1971: eval ac_res=\$$4
                   1972:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1973: $as_echo "$ac_res" >&6; }
1.1.1.2 ! misho    1974:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.1       misho    1975: 
                   1976: } # ac_fn_c_check_member
                   1977: 
                   1978: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
                   1979: # -------------------------------------------
                   1980: # Tests whether TYPE exists after having included INCLUDES, setting cache
                   1981: # variable VAR accordingly.
                   1982: ac_fn_c_check_type ()
                   1983: {
                   1984:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1985:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1986: $as_echo_n "checking for $2... " >&6; }
1.1.1.2 ! misho    1987: if eval \${$3+:} false; then :
1.1       misho    1988:   $as_echo_n "(cached) " >&6
                   1989: else
                   1990:   eval "$3=no"
                   1991:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1992: /* end confdefs.h.  */
                   1993: $4
                   1994: int
                   1995: main ()
                   1996: {
                   1997: if (sizeof ($2))
                   1998:         return 0;
                   1999:   ;
                   2000:   return 0;
                   2001: }
                   2002: _ACEOF
                   2003: if ac_fn_c_try_compile "$LINENO"; then :
                   2004:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   2005: /* end confdefs.h.  */
                   2006: $4
                   2007: int
                   2008: main ()
                   2009: {
                   2010: if (sizeof (($2)))
                   2011:            return 0;
                   2012:   ;
                   2013:   return 0;
                   2014: }
                   2015: _ACEOF
                   2016: if ac_fn_c_try_compile "$LINENO"; then :
                   2017: 
                   2018: else
                   2019:   eval "$3=yes"
                   2020: fi
                   2021: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2022: fi
                   2023: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2024: fi
                   2025: eval ac_res=\$$3
                   2026:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   2027: $as_echo "$ac_res" >&6; }
1.1.1.2 ! misho    2028:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1.1       misho    2029: 
                   2030: } # ac_fn_c_check_type
                   2031: cat >config.log <<_ACEOF
                   2032: This file contains any messages produced by compilers while
                   2033: running configure, to aid debugging if configure makes a mistake.
                   2034: 
1.1.1.2 ! misho    2035: It was created by ipsec-tools $as_me 0.8.1, which was
        !          2036: generated by GNU Autoconf 2.69.  Invocation command line was
1.1       misho    2037: 
                   2038:   $ $0 $@
                   2039: 
                   2040: _ACEOF
                   2041: exec 5>>config.log
                   2042: {
                   2043: cat <<_ASUNAME
                   2044: ## --------- ##
                   2045: ## Platform. ##
                   2046: ## --------- ##
                   2047: 
                   2048: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   2049: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   2050: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   2051: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   2052: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                   2053: 
                   2054: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   2055: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
                   2056: 
                   2057: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   2058: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   2059: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
                   2060: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
                   2061: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   2062: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   2063: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   2064: 
                   2065: _ASUNAME
                   2066: 
                   2067: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2068: for as_dir in $PATH
                   2069: do
                   2070:   IFS=$as_save_IFS
                   2071:   test -z "$as_dir" && as_dir=.
                   2072:     $as_echo "PATH: $as_dir"
                   2073:   done
                   2074: IFS=$as_save_IFS
                   2075: 
                   2076: } >&5
                   2077: 
                   2078: cat >&5 <<_ACEOF
                   2079: 
                   2080: 
                   2081: ## ----------- ##
                   2082: ## Core tests. ##
                   2083: ## ----------- ##
                   2084: 
                   2085: _ACEOF
                   2086: 
                   2087: 
                   2088: # Keep a trace of the command line.
                   2089: # Strip out --no-create and --no-recursion so they do not pile up.
                   2090: # Strip out --silent because we don't want to record it for future runs.
                   2091: # Also quote any args containing shell meta-characters.
                   2092: # Make two passes to allow for proper duplicate-argument suppression.
                   2093: ac_configure_args=
                   2094: ac_configure_args0=
                   2095: ac_configure_args1=
                   2096: ac_must_keep_next=false
                   2097: for ac_pass in 1 2
                   2098: do
                   2099:   for ac_arg
                   2100:   do
                   2101:     case $ac_arg in
                   2102:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   2103:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   2104:     | -silent | --silent | --silen | --sile | --sil)
                   2105:       continue ;;
                   2106:     *\'*)
                   2107:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   2108:     esac
                   2109:     case $ac_pass in
                   2110:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
                   2111:     2)
                   2112:       as_fn_append ac_configure_args1 " '$ac_arg'"
                   2113:       if test $ac_must_keep_next = true; then
                   2114:        ac_must_keep_next=false # Got value, back to normal.
                   2115:       else
                   2116:        case $ac_arg in
                   2117:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   2118:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   2119:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   2120:          | -with-* | --with-* | -without-* | --without-* | --x)
                   2121:            case "$ac_configure_args0 " in
                   2122:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   2123:            esac
                   2124:            ;;
                   2125:          -* ) ac_must_keep_next=true ;;
                   2126:        esac
                   2127:       fi
                   2128:       as_fn_append ac_configure_args " '$ac_arg'"
                   2129:       ;;
                   2130:     esac
                   2131:   done
                   2132: done
                   2133: { ac_configure_args0=; unset ac_configure_args0;}
                   2134: { ac_configure_args1=; unset ac_configure_args1;}
                   2135: 
                   2136: # When interrupted or exit'd, cleanup temporary files, and complete
                   2137: # config.log.  We remove comments because anyway the quotes in there
                   2138: # would cause problems or look ugly.
                   2139: # WARNING: Use '\'' to represent an apostrophe within the trap.
                   2140: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
                   2141: trap 'exit_status=$?
                   2142:   # Save into config.log some information that might help in debugging.
                   2143:   {
                   2144:     echo
                   2145: 
                   2146:     $as_echo "## ---------------- ##
                   2147: ## Cache variables. ##
                   2148: ## ---------------- ##"
                   2149:     echo
                   2150:     # The following way of writing the cache mishandles newlines in values,
                   2151: (
                   2152:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
                   2153:     eval ac_val=\$$ac_var
                   2154:     case $ac_val in #(
                   2155:     *${as_nl}*)
                   2156:       case $ac_var in #(
                   2157:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   2158: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   2159:       esac
                   2160:       case $ac_var in #(
                   2161:       _ | IFS | as_nl) ;; #(
                   2162:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   2163:       *) { eval $ac_var=; unset $ac_var;} ;;
                   2164:       esac ;;
                   2165:     esac
                   2166:   done
                   2167:   (set) 2>&1 |
                   2168:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
                   2169:     *${as_nl}ac_space=\ *)
                   2170:       sed -n \
                   2171:        "s/'\''/'\''\\\\'\'''\''/g;
                   2172:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
                   2173:       ;; #(
                   2174:     *)
                   2175:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   2176:       ;;
                   2177:     esac |
                   2178:     sort
                   2179: )
                   2180:     echo
                   2181: 
                   2182:     $as_echo "## ----------------- ##
                   2183: ## Output variables. ##
                   2184: ## ----------------- ##"
                   2185:     echo
                   2186:     for ac_var in $ac_subst_vars
                   2187:     do
                   2188:       eval ac_val=\$$ac_var
                   2189:       case $ac_val in
                   2190:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2191:       esac
                   2192:       $as_echo "$ac_var='\''$ac_val'\''"
                   2193:     done | sort
                   2194:     echo
                   2195: 
                   2196:     if test -n "$ac_subst_files"; then
                   2197:       $as_echo "## ------------------- ##
                   2198: ## File substitutions. ##
                   2199: ## ------------------- ##"
                   2200:       echo
                   2201:       for ac_var in $ac_subst_files
                   2202:       do
                   2203:        eval ac_val=\$$ac_var
                   2204:        case $ac_val in
                   2205:        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2206:        esac
                   2207:        $as_echo "$ac_var='\''$ac_val'\''"
                   2208:       done | sort
                   2209:       echo
                   2210:     fi
                   2211: 
                   2212:     if test -s confdefs.h; then
                   2213:       $as_echo "## ----------- ##
                   2214: ## confdefs.h. ##
                   2215: ## ----------- ##"
                   2216:       echo
                   2217:       cat confdefs.h
                   2218:       echo
                   2219:     fi
                   2220:     test "$ac_signal" != 0 &&
                   2221:       $as_echo "$as_me: caught signal $ac_signal"
                   2222:     $as_echo "$as_me: exit $exit_status"
                   2223:   } >&5
                   2224:   rm -f core *.core core.conftest.* &&
                   2225:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
                   2226:     exit $exit_status
                   2227: ' 0
                   2228: for ac_signal in 1 2 13 15; do
                   2229:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
                   2230: done
                   2231: ac_signal=0
                   2232: 
                   2233: # confdefs.h avoids OS command line length limits that DEFS can exceed.
                   2234: rm -f -r conftest* confdefs.h
                   2235: 
                   2236: $as_echo "/* confdefs.h */" > confdefs.h
                   2237: 
                   2238: # Predefined preprocessor variables.
                   2239: 
                   2240: cat >>confdefs.h <<_ACEOF
                   2241: #define PACKAGE_NAME "$PACKAGE_NAME"
                   2242: _ACEOF
                   2243: 
                   2244: cat >>confdefs.h <<_ACEOF
                   2245: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   2246: _ACEOF
                   2247: 
                   2248: cat >>confdefs.h <<_ACEOF
                   2249: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   2250: _ACEOF
                   2251: 
                   2252: cat >>confdefs.h <<_ACEOF
                   2253: #define PACKAGE_STRING "$PACKAGE_STRING"
                   2254: _ACEOF
                   2255: 
                   2256: cat >>confdefs.h <<_ACEOF
                   2257: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   2258: _ACEOF
                   2259: 
                   2260: cat >>confdefs.h <<_ACEOF
                   2261: #define PACKAGE_URL "$PACKAGE_URL"
                   2262: _ACEOF
                   2263: 
                   2264: 
                   2265: # Let the site file select an alternate cache file if it wants to.
                   2266: # Prefer an explicitly selected file to automatically selected ones.
                   2267: ac_site_file1=NONE
                   2268: ac_site_file2=NONE
                   2269: if test -n "$CONFIG_SITE"; then
                   2270:   # We do not want a PATH search for config.site.
                   2271:   case $CONFIG_SITE in #((
                   2272:     -*)  ac_site_file1=./$CONFIG_SITE;;
                   2273:     */*) ac_site_file1=$CONFIG_SITE;;
                   2274:     *)   ac_site_file1=./$CONFIG_SITE;;
                   2275:   esac
                   2276: elif test "x$prefix" != xNONE; then
                   2277:   ac_site_file1=$prefix/share/config.site
                   2278:   ac_site_file2=$prefix/etc/config.site
                   2279: else
                   2280:   ac_site_file1=$ac_default_prefix/share/config.site
                   2281:   ac_site_file2=$ac_default_prefix/etc/config.site
                   2282: fi
                   2283: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
                   2284: do
                   2285:   test "x$ac_site_file" = xNONE && continue
                   2286:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
                   2287:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
                   2288: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
                   2289:     sed 's/^/| /' "$ac_site_file" >&5
                   2290:     . "$ac_site_file" \
                   2291:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2292: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2293: as_fn_error $? "failed to load site script $ac_site_file
1.1.1.2 ! misho    2294: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    2295:   fi
                   2296: done
                   2297: 
                   2298: if test -r "$cache_file"; then
                   2299:   # Some versions of bash will fail to source /dev/null (special files
                   2300:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
                   2301:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
                   2302:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
                   2303: $as_echo "$as_me: loading cache $cache_file" >&6;}
                   2304:     case $cache_file in
                   2305:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
                   2306:       *)                      . "./$cache_file";;
                   2307:     esac
                   2308:   fi
                   2309: else
                   2310:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
                   2311: $as_echo "$as_me: creating cache $cache_file" >&6;}
                   2312:   >$cache_file
                   2313: fi
                   2314: 
                   2315: # Check that the precious variables saved in the cache have kept the same
                   2316: # value.
                   2317: ac_cache_corrupted=false
                   2318: for ac_var in $ac_precious_vars; do
                   2319:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   2320:   eval ac_new_set=\$ac_env_${ac_var}_set
                   2321:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
                   2322:   eval ac_new_val=\$ac_env_${ac_var}_value
                   2323:   case $ac_old_set,$ac_new_set in
                   2324:     set,)
                   2325:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   2326: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
                   2327:       ac_cache_corrupted=: ;;
                   2328:     ,set)
                   2329:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
                   2330: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
                   2331:       ac_cache_corrupted=: ;;
                   2332:     ,);;
                   2333:     *)
                   2334:       if test "x$ac_old_val" != "x$ac_new_val"; then
                   2335:        # differences in whitespace do not lead to failure.
                   2336:        ac_old_val_w=`echo x $ac_old_val`
                   2337:        ac_new_val_w=`echo x $ac_new_val`
                   2338:        if test "$ac_old_val_w" != "$ac_new_val_w"; then
                   2339:          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
                   2340: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
                   2341:          ac_cache_corrupted=:
                   2342:        else
                   2343:          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
                   2344: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
                   2345:          eval $ac_var=\$ac_old_val
                   2346:        fi
                   2347:        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
                   2348: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
                   2349:        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
                   2350: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
                   2351:       fi;;
                   2352:   esac
                   2353:   # Pass precious variables to config.status.
                   2354:   if test "$ac_new_set" = set; then
                   2355:     case $ac_new_val in
                   2356:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
                   2357:     *) ac_arg=$ac_var=$ac_new_val ;;
                   2358:     esac
                   2359:     case " $ac_configure_args " in
                   2360:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
                   2361:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
                   2362:     esac
                   2363:   fi
                   2364: done
                   2365: if $ac_cache_corrupted; then
                   2366:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2367: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2368:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
                   2369: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
                   2370:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
                   2371: fi
                   2372: ## -------------------- ##
                   2373: ## Main body of script. ##
                   2374: ## -------------------- ##
                   2375: 
                   2376: ac_ext=c
                   2377: ac_cpp='$CPP $CPPFLAGS'
                   2378: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2379: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2380: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2381: 
                   2382: 
                   2383: 
                   2384: ac_config_headers="$ac_config_headers config.h"
                   2385: 
                   2386: 
1.1.1.2 ! misho    2387: am__api_version='1.13'
1.1       misho    2388: 
                   2389: ac_aux_dir=
                   2390: for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
                   2391:   if test -f "$ac_dir/install-sh"; then
                   2392:     ac_aux_dir=$ac_dir
                   2393:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   2394:     break
                   2395:   elif test -f "$ac_dir/install.sh"; then
                   2396:     ac_aux_dir=$ac_dir
                   2397:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   2398:     break
                   2399:   elif test -f "$ac_dir/shtool"; then
                   2400:     ac_aux_dir=$ac_dir
                   2401:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   2402:     break
                   2403:   fi
                   2404: done
                   2405: if test -z "$ac_aux_dir"; then
                   2406:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
                   2407: fi
                   2408: 
                   2409: # These three variables are undocumented and unsupported,
                   2410: # and are intended to be withdrawn in a future Autoconf release.
                   2411: # They can cause serious problems if a builder's source tree is in a directory
                   2412: # whose full name contains unusual characters.
                   2413: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
                   2414: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
                   2415: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
                   2416: 
                   2417: 
                   2418: # Find a good install program.  We prefer a C program (faster),
                   2419: # so one script is as good as another.  But avoid the broken or
                   2420: # incompatible versions:
                   2421: # SysV /etc/install, /usr/sbin/install
                   2422: # SunOS /usr/etc/install
                   2423: # IRIX /sbin/install
                   2424: # AIX /bin/install
                   2425: # AmigaOS /C/install, which installs bootblocks on floppy discs
                   2426: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   2427: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   2428: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
                   2429: # OS/2's system install, which has a completely different semantic
                   2430: # ./install, which can be erroneously created by make from ./install.sh.
                   2431: # Reject install programs that cannot install multiple files.
                   2432: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
                   2433: $as_echo_n "checking for a BSD-compatible install... " >&6; }
                   2434: if test -z "$INSTALL"; then
1.1.1.2 ! misho    2435: if ${ac_cv_path_install+:} false; then :
1.1       misho    2436:   $as_echo_n "(cached) " >&6
                   2437: else
                   2438:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2439: for as_dir in $PATH
                   2440: do
                   2441:   IFS=$as_save_IFS
                   2442:   test -z "$as_dir" && as_dir=.
                   2443:     # Account for people who put trailing slashes in PATH elements.
                   2444: case $as_dir/ in #((
                   2445:   ./ | .// | /[cC]/* | \
                   2446:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
                   2447:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
                   2448:   /usr/ucb/* ) ;;
                   2449:   *)
                   2450:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   2451:     # Don't use installbsd from OSF since it installs stuff as root
                   2452:     # by default.
                   2453:     for ac_prog in ginstall scoinst install; do
                   2454:       for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    2455:        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1.1       misho    2456:          if test $ac_prog = install &&
                   2457:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2458:            # AIX install.  It has an incompatible calling convention.
                   2459:            :
                   2460:          elif test $ac_prog = install &&
                   2461:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2462:            # program-specific install script used by HP pwplus--don't use.
                   2463:            :
                   2464:          else
                   2465:            rm -rf conftest.one conftest.two conftest.dir
                   2466:            echo one > conftest.one
                   2467:            echo two > conftest.two
                   2468:            mkdir conftest.dir
                   2469:            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
                   2470:              test -s conftest.one && test -s conftest.two &&
                   2471:              test -s conftest.dir/conftest.one &&
                   2472:              test -s conftest.dir/conftest.two
                   2473:            then
                   2474:              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   2475:              break 3
                   2476:            fi
                   2477:          fi
                   2478:        fi
                   2479:       done
                   2480:     done
                   2481:     ;;
                   2482: esac
                   2483: 
                   2484:   done
                   2485: IFS=$as_save_IFS
                   2486: 
                   2487: rm -rf conftest.one conftest.two conftest.dir
                   2488: 
                   2489: fi
                   2490:   if test "${ac_cv_path_install+set}" = set; then
                   2491:     INSTALL=$ac_cv_path_install
                   2492:   else
                   2493:     # As a last resort, use the slow shell script.  Don't cache a
                   2494:     # value for INSTALL within a source directory, because that will
                   2495:     # break other packages using the cache if that directory is
                   2496:     # removed, or if the value is a relative name.
                   2497:     INSTALL=$ac_install_sh
                   2498:   fi
                   2499: fi
                   2500: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
                   2501: $as_echo "$INSTALL" >&6; }
                   2502: 
                   2503: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   2504: # It thinks the first close brace ends the variable substitution.
                   2505: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   2506: 
                   2507: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
                   2508: 
                   2509: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   2510: 
                   2511: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
                   2512: $as_echo_n "checking whether build environment is sane... " >&6; }
                   2513: # Reject unsafe characters in $srcdir or the absolute working directory
                   2514: # name.  Accept space and tab only in the latter.
                   2515: am_lf='
                   2516: '
                   2517: case `pwd` in
                   2518:   *[\\\"\#\$\&\'\`$am_lf]*)
1.1.1.2 ! misho    2519:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
1.1       misho    2520: esac
                   2521: case $srcdir in
                   2522:   *[\\\"\#\$\&\'\`$am_lf\ \    ]*)
1.1.1.2 ! misho    2523:     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
1.1       misho    2524: esac
                   2525: 
1.1.1.2 ! misho    2526: # Do 'set' in a subshell so we don't clobber the current shell's
1.1       misho    2527: # arguments.  Must try -L first in case configure is actually a
                   2528: # symlink; some systems play weird games with the mod time of symlinks
                   2529: # (eg FreeBSD returns the mod time of the symlink's containing
                   2530: # directory).
                   2531: if (
1.1.1.2 ! misho    2532:    am_has_slept=no
        !          2533:    for am_try in 1 2; do
        !          2534:      echo "timestamp, slept: $am_has_slept" > conftest.file
        !          2535:      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
        !          2536:      if test "$*" = "X"; then
        !          2537:        # -L didn't work.
        !          2538:        set X `ls -t "$srcdir/configure" conftest.file`
        !          2539:      fi
        !          2540:      if test "$*" != "X $srcdir/configure conftest.file" \
        !          2541:        && test "$*" != "X conftest.file $srcdir/configure"; then
1.1       misho    2542: 
1.1.1.2 ! misho    2543:        # If neither matched, then we have a broken ls.  This can happen
        !          2544:        # if, for instance, CONFIG_SHELL is bash and it inherits a
        !          2545:        # broken ls alias from the environment.  This has actually
        !          2546:        # happened.  Such a system could not be considered "sane".
        !          2547:        as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
        !          2548:   alias in your environment" "$LINENO" 5
        !          2549:      fi
        !          2550:      if test "$2" = conftest.file || test $am_try -eq 2; then
        !          2551:        break
        !          2552:      fi
        !          2553:      # Just in case.
        !          2554:      sleep 1
        !          2555:      am_has_slept=yes
        !          2556:    done
1.1       misho    2557:    test "$2" = conftest.file
                   2558:    )
                   2559: then
                   2560:    # Ok.
                   2561:    :
                   2562: else
                   2563:    as_fn_error $? "newly created file is older than distributed files!
                   2564: Check your system clock" "$LINENO" 5
                   2565: fi
                   2566: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2567: $as_echo "yes" >&6; }
1.1.1.2 ! misho    2568: # If we didn't sleep, we still need to ensure time stamps of config.status and
        !          2569: # generated files are strictly newer.
        !          2570: am_sleep_pid=
        !          2571: if grep 'slept: no' conftest.file >/dev/null 2>&1; then
        !          2572:   ( sleep 1 ) &
        !          2573:   am_sleep_pid=$!
        !          2574: fi
        !          2575: 
        !          2576: rm -f conftest.file
        !          2577: 
1.1       misho    2578: test "$program_prefix" != NONE &&
                   2579:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
                   2580: # Use a double $ so make ignores it.
                   2581: test "$program_suffix" != NONE &&
                   2582:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
                   2583: # Double any \ or $.
                   2584: # By default was `s,x,x', remove it if useless.
                   2585: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
                   2586: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
                   2587: 
                   2588: # expand $ac_aux_dir to an absolute path
                   2589: am_aux_dir=`cd $ac_aux_dir && pwd`
                   2590: 
                   2591: if test x"${MISSING+set}" != xset; then
                   2592:   case $am_aux_dir in
                   2593:   *\ * | *\    *)
                   2594:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
                   2595:   *)
                   2596:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
                   2597:   esac
                   2598: fi
                   2599: # Use eval to expand $SHELL
1.1.1.2 ! misho    2600: if eval "$MISSING --is-lightweight"; then
        !          2601:   am_missing_run="$MISSING "
1.1       misho    2602: else
                   2603:   am_missing_run=
1.1.1.2 ! misho    2604:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
        !          2605: $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
1.1       misho    2606: fi
                   2607: 
                   2608: if test x"${install_sh}" != xset; then
                   2609:   case $am_aux_dir in
                   2610:   *\ * | *\    *)
                   2611:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
                   2612:   *)
                   2613:     install_sh="\${SHELL} $am_aux_dir/install-sh"
                   2614:   esac
                   2615: fi
                   2616: 
1.1.1.2 ! misho    2617: # Installed binaries are usually stripped using 'strip' when the user
        !          2618: # run "make install-strip".  However 'strip' might not be the right
1.1       misho    2619: # tool to use in cross-compilation environments, therefore Automake
1.1.1.2 ! misho    2620: # will honor the 'STRIP' environment variable to overrule this program.
1.1       misho    2621: if test "$cross_compiling" != no; then
                   2622:   if test -n "$ac_tool_prefix"; then
                   2623:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   2624: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   2625: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2626: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    2627: if ${ac_cv_prog_STRIP+:} false; then :
1.1       misho    2628:   $as_echo_n "(cached) " >&6
                   2629: else
                   2630:   if test -n "$STRIP"; then
                   2631:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   2632: else
                   2633: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2634: for as_dir in $PATH
                   2635: do
                   2636:   IFS=$as_save_IFS
                   2637:   test -z "$as_dir" && as_dir=.
                   2638:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    2639:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    2640:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   2641:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2642:     break 2
                   2643:   fi
                   2644: done
                   2645:   done
                   2646: IFS=$as_save_IFS
                   2647: 
                   2648: fi
                   2649: fi
                   2650: STRIP=$ac_cv_prog_STRIP
                   2651: if test -n "$STRIP"; then
                   2652:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   2653: $as_echo "$STRIP" >&6; }
                   2654: else
                   2655:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2656: $as_echo "no" >&6; }
                   2657: fi
                   2658: 
                   2659: 
                   2660: fi
                   2661: if test -z "$ac_cv_prog_STRIP"; then
                   2662:   ac_ct_STRIP=$STRIP
                   2663:   # Extract the first word of "strip", so it can be a program name with args.
                   2664: set dummy strip; ac_word=$2
                   2665: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2666: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    2667: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
1.1       misho    2668:   $as_echo_n "(cached) " >&6
                   2669: else
                   2670:   if test -n "$ac_ct_STRIP"; then
                   2671:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   2672: else
                   2673: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2674: for as_dir in $PATH
                   2675: do
                   2676:   IFS=$as_save_IFS
                   2677:   test -z "$as_dir" && as_dir=.
                   2678:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    2679:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    2680:     ac_cv_prog_ac_ct_STRIP="strip"
                   2681:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2682:     break 2
                   2683:   fi
                   2684: done
                   2685:   done
                   2686: IFS=$as_save_IFS
                   2687: 
                   2688: fi
                   2689: fi
                   2690: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   2691: if test -n "$ac_ct_STRIP"; then
                   2692:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   2693: $as_echo "$ac_ct_STRIP" >&6; }
                   2694: else
                   2695:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2696: $as_echo "no" >&6; }
                   2697: fi
                   2698: 
                   2699:   if test "x$ac_ct_STRIP" = x; then
                   2700:     STRIP=":"
                   2701:   else
                   2702:     case $cross_compiling:$ac_tool_warned in
                   2703: yes:)
                   2704: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   2705: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   2706: ac_tool_warned=yes ;;
                   2707: esac
                   2708:     STRIP=$ac_ct_STRIP
                   2709:   fi
                   2710: else
                   2711:   STRIP="$ac_cv_prog_STRIP"
                   2712: fi
                   2713: 
                   2714: fi
                   2715: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
                   2716: 
                   2717: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
                   2718: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
                   2719: if test -z "$MKDIR_P"; then
1.1.1.2 ! misho    2720:   if ${ac_cv_path_mkdir+:} false; then :
1.1       misho    2721:   $as_echo_n "(cached) " >&6
                   2722: else
                   2723:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2724: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
                   2725: do
                   2726:   IFS=$as_save_IFS
                   2727:   test -z "$as_dir" && as_dir=.
                   2728:     for ac_prog in mkdir gmkdir; do
                   2729:         for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    2730:           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
1.1       misho    2731:           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
                   2732:             'mkdir (GNU coreutils) '* | \
                   2733:             'mkdir (coreutils) '* | \
                   2734:             'mkdir (fileutils) '4.1*)
                   2735:               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
                   2736:               break 3;;
                   2737:           esac
                   2738:         done
                   2739:        done
                   2740:   done
                   2741: IFS=$as_save_IFS
                   2742: 
                   2743: fi
                   2744: 
                   2745:   test -d ./--version && rmdir ./--version
                   2746:   if test "${ac_cv_path_mkdir+set}" = set; then
                   2747:     MKDIR_P="$ac_cv_path_mkdir -p"
                   2748:   else
                   2749:     # As a last resort, use the slow shell script.  Don't cache a
                   2750:     # value for MKDIR_P within a source directory, because that will
                   2751:     # break other packages using the cache if that directory is
                   2752:     # removed, or if the value is a relative name.
                   2753:     MKDIR_P="$ac_install_sh -d"
                   2754:   fi
                   2755: fi
                   2756: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
                   2757: $as_echo "$MKDIR_P" >&6; }
                   2758: 
                   2759: for ac_prog in gawk mawk nawk awk
                   2760: do
                   2761:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2762: set dummy $ac_prog; ac_word=$2
                   2763: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2764: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    2765: if ${ac_cv_prog_AWK+:} false; then :
1.1       misho    2766:   $as_echo_n "(cached) " >&6
                   2767: else
                   2768:   if test -n "$AWK"; then
                   2769:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   2770: else
                   2771: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2772: for as_dir in $PATH
                   2773: do
                   2774:   IFS=$as_save_IFS
                   2775:   test -z "$as_dir" && as_dir=.
                   2776:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    2777:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    2778:     ac_cv_prog_AWK="$ac_prog"
                   2779:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2780:     break 2
                   2781:   fi
                   2782: done
                   2783:   done
                   2784: IFS=$as_save_IFS
                   2785: 
                   2786: fi
                   2787: fi
                   2788: AWK=$ac_cv_prog_AWK
                   2789: if test -n "$AWK"; then
                   2790:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   2791: $as_echo "$AWK" >&6; }
                   2792: else
                   2793:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2794: $as_echo "no" >&6; }
                   2795: fi
                   2796: 
                   2797: 
                   2798:   test -n "$AWK" && break
                   2799: done
                   2800: 
                   2801: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   2802: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
                   2803: set x ${MAKE-make}
                   2804: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1.1.1.2 ! misho    2805: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
1.1       misho    2806:   $as_echo_n "(cached) " >&6
                   2807: else
                   2808:   cat >conftest.make <<\_ACEOF
                   2809: SHELL = /bin/sh
                   2810: all:
                   2811:        @echo '@@@%%%=$(MAKE)=@@@%%%'
                   2812: _ACEOF
                   2813: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
                   2814: case `${MAKE-make} -f conftest.make 2>/dev/null` in
                   2815:   *@@@%%%=?*=@@@%%%*)
                   2816:     eval ac_cv_prog_make_${ac_make}_set=yes;;
                   2817:   *)
                   2818:     eval ac_cv_prog_make_${ac_make}_set=no;;
                   2819: esac
                   2820: rm -f conftest.make
                   2821: fi
                   2822: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
                   2823:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2824: $as_echo "yes" >&6; }
                   2825:   SET_MAKE=
                   2826: else
                   2827:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2828: $as_echo "no" >&6; }
                   2829:   SET_MAKE="MAKE=${MAKE-make}"
                   2830: fi
                   2831: 
                   2832: rm -rf .tst 2>/dev/null
                   2833: mkdir .tst 2>/dev/null
                   2834: if test -d .tst; then
                   2835:   am__leading_dot=.
                   2836: else
                   2837:   am__leading_dot=_
                   2838: fi
                   2839: rmdir .tst 2>/dev/null
                   2840: 
1.1.1.2 ! misho    2841: # Check whether --enable-silent-rules was given.
        !          2842: if test "${enable_silent_rules+set}" = set; then :
        !          2843:   enableval=$enable_silent_rules;
        !          2844: fi
        !          2845: 
        !          2846: case $enable_silent_rules in # (((
        !          2847:   yes) AM_DEFAULT_VERBOSITY=0;;
        !          2848:    no) AM_DEFAULT_VERBOSITY=1;;
        !          2849:     *) AM_DEFAULT_VERBOSITY=1;;
        !          2850: esac
        !          2851: am_make=${MAKE-make}
        !          2852: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
        !          2853: $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
        !          2854: if ${am_cv_make_support_nested_variables+:} false; then :
        !          2855:   $as_echo_n "(cached) " >&6
        !          2856: else
        !          2857:   if $as_echo 'TRUE=$(BAR$(V))
        !          2858: BAR0=false
        !          2859: BAR1=true
        !          2860: V=1
        !          2861: am__doit:
        !          2862:        @$(TRUE)
        !          2863: .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
        !          2864:   am_cv_make_support_nested_variables=yes
        !          2865: else
        !          2866:   am_cv_make_support_nested_variables=no
        !          2867: fi
        !          2868: fi
        !          2869: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
        !          2870: $as_echo "$am_cv_make_support_nested_variables" >&6; }
        !          2871: if test $am_cv_make_support_nested_variables = yes; then
        !          2872:     AM_V='$(V)'
        !          2873:   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
        !          2874: else
        !          2875:   AM_V=$AM_DEFAULT_VERBOSITY
        !          2876:   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
        !          2877: fi
        !          2878: AM_BACKSLASH='\'
        !          2879: 
1.1       misho    2880: if test "`cd $srcdir && pwd`" != "`pwd`"; then
                   2881:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
                   2882:   # is not polluted with repeated "-I."
                   2883:   am__isrc=' -I$(srcdir)'
                   2884:   # test to see if srcdir already configured
                   2885:   if test -f $srcdir/config.status; then
                   2886:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
                   2887:   fi
                   2888: fi
                   2889: 
                   2890: # test whether we have cygpath
                   2891: if test -z "$CYGPATH_W"; then
                   2892:   if (cygpath --version) >/dev/null 2>/dev/null; then
                   2893:     CYGPATH_W='cygpath -w'
                   2894:   else
                   2895:     CYGPATH_W=echo
                   2896:   fi
                   2897: fi
                   2898: 
                   2899: 
                   2900: # Define the identity of the package.
                   2901:  PACKAGE='ipsec-tools'
1.1.1.2 ! misho    2902:  VERSION='0.8.1'
1.1       misho    2903: 
                   2904: 
                   2905: cat >>confdefs.h <<_ACEOF
                   2906: #define PACKAGE "$PACKAGE"
                   2907: _ACEOF
                   2908: 
                   2909: 
                   2910: cat >>confdefs.h <<_ACEOF
                   2911: #define VERSION "$VERSION"
                   2912: _ACEOF
                   2913: 
                   2914: # Some tools Automake needs.
                   2915: 
                   2916: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
                   2917: 
                   2918: 
                   2919: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   2920: 
                   2921: 
                   2922: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
                   2923: 
                   2924: 
                   2925: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   2926: 
                   2927: 
                   2928: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
                   2929: 
1.1.1.2 ! misho    2930: # For better backward compatibility.  To be removed once Automake 1.9.x
        !          2931: # dies out for good.  For more background, see:
        !          2932: # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
        !          2933: # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
        !          2934: mkdir_p='$(MKDIR_P)'
        !          2935: 
1.1       misho    2936: # We need awk for the "check" target.  The system "awk" is bad on
                   2937: # some platforms.
1.1.1.2 ! misho    2938: # Always define AMTAR for backward compatibility.  Yes, it's still used
        !          2939: # in the wild :-(  We should find a proper way to deprecate it ...
        !          2940: AMTAR='$${TAR-tar}'
1.1       misho    2941: 
1.1.1.2 ! misho    2942: am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
1.1       misho    2943: 
                   2944: 
                   2945: 
                   2946: 
                   2947: 
                   2948: 
                   2949: # Check whether --enable-shared was given.
                   2950: if test "${enable_shared+set}" = set; then :
                   2951:   enableval=$enable_shared; p=${PACKAGE-default}
                   2952:     case $enableval in
                   2953:     yes) enable_shared=yes ;;
                   2954:     no) enable_shared=no ;;
                   2955:     *)
                   2956:       enable_shared=no
                   2957:       # Look at the argument we got.  We use all the common list separators.
                   2958:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   2959:       for pkg in $enableval; do
                   2960:        IFS="$lt_save_ifs"
                   2961:        if test "X$pkg" = "X$p"; then
                   2962:          enable_shared=yes
                   2963:        fi
                   2964:       done
                   2965:       IFS="$lt_save_ifs"
                   2966:       ;;
                   2967:     esac
                   2968: else
                   2969:   enable_shared=no
                   2970: fi
                   2971: 
                   2972: 
                   2973: 
                   2974: 
                   2975: 
                   2976: 
                   2977: 
                   2978: 
                   2979: 
                   2980: 
                   2981: ac_ext=c
                   2982: ac_cpp='$CPP $CPPFLAGS'
                   2983: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2984: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2985: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2986: if test -n "$ac_tool_prefix"; then
                   2987:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   2988: set dummy ${ac_tool_prefix}gcc; ac_word=$2
                   2989: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2990: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    2991: if ${ac_cv_prog_CC+:} false; then :
1.1       misho    2992:   $as_echo_n "(cached) " >&6
                   2993: else
                   2994:   if test -n "$CC"; then
                   2995:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2996: else
                   2997: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2998: for as_dir in $PATH
                   2999: do
                   3000:   IFS=$as_save_IFS
                   3001:   test -z "$as_dir" && as_dir=.
                   3002:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    3003:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3004:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
                   3005:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3006:     break 2
                   3007:   fi
                   3008: done
                   3009:   done
                   3010: IFS=$as_save_IFS
                   3011: 
                   3012: fi
                   3013: fi
                   3014: CC=$ac_cv_prog_CC
                   3015: if test -n "$CC"; then
                   3016:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3017: $as_echo "$CC" >&6; }
                   3018: else
                   3019:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3020: $as_echo "no" >&6; }
                   3021: fi
                   3022: 
                   3023: 
                   3024: fi
                   3025: if test -z "$ac_cv_prog_CC"; then
                   3026:   ac_ct_CC=$CC
                   3027:   # Extract the first word of "gcc", so it can be a program name with args.
                   3028: set dummy gcc; ac_word=$2
                   3029: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3030: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    3031: if ${ac_cv_prog_ac_ct_CC+:} false; then :
1.1       misho    3032:   $as_echo_n "(cached) " >&6
                   3033: else
                   3034:   if test -n "$ac_ct_CC"; then
                   3035:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3036: else
                   3037: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3038: for as_dir in $PATH
                   3039: do
                   3040:   IFS=$as_save_IFS
                   3041:   test -z "$as_dir" && as_dir=.
                   3042:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    3043:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3044:     ac_cv_prog_ac_ct_CC="gcc"
                   3045:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3046:     break 2
                   3047:   fi
                   3048: done
                   3049:   done
                   3050: IFS=$as_save_IFS
                   3051: 
                   3052: fi
                   3053: fi
                   3054: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3055: if test -n "$ac_ct_CC"; then
                   3056:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   3057: $as_echo "$ac_ct_CC" >&6; }
                   3058: else
                   3059:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3060: $as_echo "no" >&6; }
                   3061: fi
                   3062: 
                   3063:   if test "x$ac_ct_CC" = x; then
                   3064:     CC=""
                   3065:   else
                   3066:     case $cross_compiling:$ac_tool_warned in
                   3067: yes:)
                   3068: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3069: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3070: ac_tool_warned=yes ;;
                   3071: esac
                   3072:     CC=$ac_ct_CC
                   3073:   fi
                   3074: else
                   3075:   CC="$ac_cv_prog_CC"
                   3076: fi
                   3077: 
                   3078: if test -z "$CC"; then
                   3079:           if test -n "$ac_tool_prefix"; then
                   3080:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
                   3081: set dummy ${ac_tool_prefix}cc; ac_word=$2
                   3082: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3083: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    3084: if ${ac_cv_prog_CC+:} false; then :
1.1       misho    3085:   $as_echo_n "(cached) " >&6
                   3086: else
                   3087:   if test -n "$CC"; then
                   3088:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3089: else
                   3090: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3091: for as_dir in $PATH
                   3092: do
                   3093:   IFS=$as_save_IFS
                   3094:   test -z "$as_dir" && as_dir=.
                   3095:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    3096:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3097:     ac_cv_prog_CC="${ac_tool_prefix}cc"
                   3098:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3099:     break 2
                   3100:   fi
                   3101: done
                   3102:   done
                   3103: IFS=$as_save_IFS
                   3104: 
                   3105: fi
                   3106: fi
                   3107: CC=$ac_cv_prog_CC
                   3108: if test -n "$CC"; then
                   3109:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3110: $as_echo "$CC" >&6; }
                   3111: else
                   3112:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3113: $as_echo "no" >&6; }
                   3114: fi
                   3115: 
                   3116: 
                   3117:   fi
                   3118: fi
                   3119: if test -z "$CC"; then
                   3120:   # Extract the first word of "cc", so it can be a program name with args.
                   3121: set dummy cc; ac_word=$2
                   3122: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3123: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    3124: if ${ac_cv_prog_CC+:} false; then :
1.1       misho    3125:   $as_echo_n "(cached) " >&6
                   3126: else
                   3127:   if test -n "$CC"; then
                   3128:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3129: else
                   3130:   ac_prog_rejected=no
                   3131: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3132: for as_dir in $PATH
                   3133: do
                   3134:   IFS=$as_save_IFS
                   3135:   test -z "$as_dir" && as_dir=.
                   3136:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    3137:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3138:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   3139:        ac_prog_rejected=yes
                   3140:        continue
                   3141:      fi
                   3142:     ac_cv_prog_CC="cc"
                   3143:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3144:     break 2
                   3145:   fi
                   3146: done
                   3147:   done
                   3148: IFS=$as_save_IFS
                   3149: 
                   3150: if test $ac_prog_rejected = yes; then
                   3151:   # We found a bogon in the path, so make sure we never use it.
                   3152:   set dummy $ac_cv_prog_CC
                   3153:   shift
                   3154:   if test $# != 0; then
                   3155:     # We chose a different compiler from the bogus one.
                   3156:     # However, it has the same basename, so the bogon will be chosen
                   3157:     # first if we set CC to just the basename; use the full file name.
                   3158:     shift
                   3159:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
                   3160:   fi
                   3161: fi
                   3162: fi
                   3163: fi
                   3164: CC=$ac_cv_prog_CC
                   3165: if test -n "$CC"; then
                   3166:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3167: $as_echo "$CC" >&6; }
                   3168: else
                   3169:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3170: $as_echo "no" >&6; }
                   3171: fi
                   3172: 
                   3173: 
                   3174: fi
                   3175: if test -z "$CC"; then
                   3176:   if test -n "$ac_tool_prefix"; then
                   3177:   for ac_prog in cl.exe
                   3178:   do
                   3179:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3180: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   3181: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3182: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    3183: if ${ac_cv_prog_CC+:} false; then :
1.1       misho    3184:   $as_echo_n "(cached) " >&6
                   3185: else
                   3186:   if test -n "$CC"; then
                   3187:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3188: else
                   3189: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3190: for as_dir in $PATH
                   3191: do
                   3192:   IFS=$as_save_IFS
                   3193:   test -z "$as_dir" && as_dir=.
                   3194:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    3195:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3196:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
                   3197:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3198:     break 2
                   3199:   fi
                   3200: done
                   3201:   done
                   3202: IFS=$as_save_IFS
                   3203: 
                   3204: fi
                   3205: fi
                   3206: CC=$ac_cv_prog_CC
                   3207: if test -n "$CC"; then
                   3208:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3209: $as_echo "$CC" >&6; }
                   3210: else
                   3211:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3212: $as_echo "no" >&6; }
                   3213: fi
                   3214: 
                   3215: 
                   3216:     test -n "$CC" && break
                   3217:   done
                   3218: fi
                   3219: if test -z "$CC"; then
                   3220:   ac_ct_CC=$CC
                   3221:   for ac_prog in cl.exe
                   3222: do
                   3223:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3224: set dummy $ac_prog; ac_word=$2
                   3225: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3226: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    3227: if ${ac_cv_prog_ac_ct_CC+:} false; then :
1.1       misho    3228:   $as_echo_n "(cached) " >&6
                   3229: else
                   3230:   if test -n "$ac_ct_CC"; then
                   3231:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3232: else
                   3233: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3234: for as_dir in $PATH
                   3235: do
                   3236:   IFS=$as_save_IFS
                   3237:   test -z "$as_dir" && as_dir=.
                   3238:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    3239:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    3240:     ac_cv_prog_ac_ct_CC="$ac_prog"
                   3241:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3242:     break 2
                   3243:   fi
                   3244: done
                   3245:   done
                   3246: IFS=$as_save_IFS
                   3247: 
                   3248: fi
                   3249: fi
                   3250: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3251: if test -n "$ac_ct_CC"; then
                   3252:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   3253: $as_echo "$ac_ct_CC" >&6; }
                   3254: else
                   3255:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3256: $as_echo "no" >&6; }
                   3257: fi
                   3258: 
                   3259: 
                   3260:   test -n "$ac_ct_CC" && break
                   3261: done
                   3262: 
                   3263:   if test "x$ac_ct_CC" = x; then
                   3264:     CC=""
                   3265:   else
                   3266:     case $cross_compiling:$ac_tool_warned in
                   3267: yes:)
                   3268: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3269: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3270: ac_tool_warned=yes ;;
                   3271: esac
                   3272:     CC=$ac_ct_CC
                   3273:   fi
                   3274: fi
                   3275: 
                   3276: fi
                   3277: 
                   3278: 
                   3279: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3280: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3281: as_fn_error $? "no acceptable C compiler found in \$PATH
1.1.1.2 ! misho    3282: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    3283: 
                   3284: # Provide some information about the compiler.
                   3285: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
                   3286: set X $ac_compile
                   3287: ac_compiler=$2
                   3288: for ac_option in --version -v -V -qversion; do
                   3289:   { { ac_try="$ac_compiler $ac_option >&5"
                   3290: case "(($ac_try" in
                   3291:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3292:   *) ac_try_echo=$ac_try;;
                   3293: esac
                   3294: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3295: $as_echo "$ac_try_echo"; } >&5
                   3296:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
                   3297:   ac_status=$?
                   3298:   if test -s conftest.err; then
                   3299:     sed '10a\
                   3300: ... rest of stderr output deleted ...
                   3301:          10q' conftest.err >conftest.er1
                   3302:     cat conftest.er1 >&5
                   3303:   fi
                   3304:   rm -f conftest.er1 conftest.err
                   3305:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3306:   test $ac_status = 0; }
                   3307: done
                   3308: 
                   3309: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3310: /* end confdefs.h.  */
                   3311: 
                   3312: int
                   3313: main ()
                   3314: {
                   3315: 
                   3316:   ;
                   3317:   return 0;
                   3318: }
                   3319: _ACEOF
                   3320: ac_clean_files_save=$ac_clean_files
                   3321: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
                   3322: # Try to create an executable without -o first, disregard a.out.
                   3323: # It will help us diagnose broken compilers, and finding out an intuition
                   3324: # of exeext.
                   3325: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
                   3326: $as_echo_n "checking whether the C compiler works... " >&6; }
                   3327: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   3328: 
                   3329: # The possible output files:
                   3330: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
                   3331: 
                   3332: ac_rmfiles=
                   3333: for ac_file in $ac_files
                   3334: do
                   3335:   case $ac_file in
                   3336:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3337:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
                   3338:   esac
                   3339: done
                   3340: rm -f $ac_rmfiles
                   3341: 
                   3342: if { { ac_try="$ac_link_default"
                   3343: case "(($ac_try" in
                   3344:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3345:   *) ac_try_echo=$ac_try;;
                   3346: esac
                   3347: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3348: $as_echo "$ac_try_echo"; } >&5
                   3349:   (eval "$ac_link_default") 2>&5
                   3350:   ac_status=$?
                   3351:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3352:   test $ac_status = 0; }; then :
                   3353:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
                   3354: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
                   3355: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
                   3356: # so that the user can short-circuit this test for compilers unknown to
                   3357: # Autoconf.
                   3358: for ac_file in $ac_files ''
                   3359: do
                   3360:   test -f "$ac_file" || continue
                   3361:   case $ac_file in
                   3362:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
                   3363:        ;;
                   3364:     [ab].out )
                   3365:        # We found the default executable, but exeext='' is most
                   3366:        # certainly right.
                   3367:        break;;
                   3368:     *.* )
                   3369:        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
                   3370:        then :; else
                   3371:           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3372:        fi
                   3373:        # We set ac_cv_exeext here because the later test for it is not
                   3374:        # safe: cross compilers may not add the suffix if given an `-o'
                   3375:        # argument, so we may need to know it at that point already.
                   3376:        # Even if this section looks crufty: it has the advantage of
                   3377:        # actually working.
                   3378:        break;;
                   3379:     * )
                   3380:        break;;
                   3381:   esac
                   3382: done
                   3383: test "$ac_cv_exeext" = no && ac_cv_exeext=
                   3384: 
                   3385: else
                   3386:   ac_file=''
                   3387: fi
                   3388: if test -z "$ac_file"; then :
                   3389:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3390: $as_echo "no" >&6; }
                   3391: $as_echo "$as_me: failed program was:" >&5
                   3392: sed 's/^/| /' conftest.$ac_ext >&5
                   3393: 
                   3394: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3395: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3396: as_fn_error 77 "C compiler cannot create executables
1.1.1.2 ! misho    3397: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    3398: else
                   3399:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3400: $as_echo "yes" >&6; }
                   3401: fi
                   3402: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
                   3403: $as_echo_n "checking for C compiler default output file name... " >&6; }
                   3404: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
                   3405: $as_echo "$ac_file" >&6; }
                   3406: ac_exeext=$ac_cv_exeext
                   3407: 
                   3408: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
                   3409: ac_clean_files=$ac_clean_files_save
                   3410: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
                   3411: $as_echo_n "checking for suffix of executables... " >&6; }
                   3412: if { { ac_try="$ac_link"
                   3413: case "(($ac_try" in
                   3414:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3415:   *) ac_try_echo=$ac_try;;
                   3416: esac
                   3417: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3418: $as_echo "$ac_try_echo"; } >&5
                   3419:   (eval "$ac_link") 2>&5
                   3420:   ac_status=$?
                   3421:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3422:   test $ac_status = 0; }; then :
                   3423:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   3424: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   3425: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   3426: # `rm'.
                   3427: for ac_file in conftest.exe conftest conftest.*; do
                   3428:   test -f "$ac_file" || continue
                   3429:   case $ac_file in
                   3430:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3431:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3432:          break;;
                   3433:     * ) break;;
                   3434:   esac
                   3435: done
                   3436: else
                   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 $? "cannot compute suffix of executables: cannot compile and link
1.1.1.2 ! misho    3440: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    3441: fi
                   3442: rm -f conftest conftest$ac_cv_exeext
                   3443: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
                   3444: $as_echo "$ac_cv_exeext" >&6; }
                   3445: 
                   3446: rm -f conftest.$ac_ext
                   3447: EXEEXT=$ac_cv_exeext
                   3448: ac_exeext=$EXEEXT
                   3449: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3450: /* end confdefs.h.  */
                   3451: #include <stdio.h>
                   3452: int
                   3453: main ()
                   3454: {
                   3455: FILE *f = fopen ("conftest.out", "w");
                   3456:  return ferror (f) || fclose (f) != 0;
                   3457: 
                   3458:   ;
                   3459:   return 0;
                   3460: }
                   3461: _ACEOF
                   3462: ac_clean_files="$ac_clean_files conftest.out"
                   3463: # Check that the compiler produces executables we can run.  If not, either
                   3464: # the compiler is broken, or we cross compile.
                   3465: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
                   3466: $as_echo_n "checking whether we are cross compiling... " >&6; }
                   3467: if test "$cross_compiling" != yes; then
                   3468:   { { ac_try="$ac_link"
                   3469: case "(($ac_try" in
                   3470:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3471:   *) ac_try_echo=$ac_try;;
                   3472: esac
                   3473: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3474: $as_echo "$ac_try_echo"; } >&5
                   3475:   (eval "$ac_link") 2>&5
                   3476:   ac_status=$?
                   3477:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3478:   test $ac_status = 0; }
                   3479:   if { ac_try='./conftest$ac_cv_exeext'
                   3480:   { { case "(($ac_try" in
                   3481:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3482:   *) ac_try_echo=$ac_try;;
                   3483: esac
                   3484: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3485: $as_echo "$ac_try_echo"; } >&5
                   3486:   (eval "$ac_try") 2>&5
                   3487:   ac_status=$?
                   3488:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3489:   test $ac_status = 0; }; }; then
                   3490:     cross_compiling=no
                   3491:   else
                   3492:     if test "$cross_compiling" = maybe; then
                   3493:        cross_compiling=yes
                   3494:     else
                   3495:        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3496: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3497: as_fn_error $? "cannot run C compiled programs.
                   3498: If you meant to cross compile, use \`--host'.
1.1.1.2 ! misho    3499: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    3500:     fi
                   3501:   fi
                   3502: fi
                   3503: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
                   3504: $as_echo "$cross_compiling" >&6; }
                   3505: 
                   3506: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
                   3507: ac_clean_files=$ac_clean_files_save
                   3508: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
                   3509: $as_echo_n "checking for suffix of object files... " >&6; }
1.1.1.2 ! misho    3510: if ${ac_cv_objext+:} false; then :
1.1       misho    3511:   $as_echo_n "(cached) " >&6
                   3512: else
                   3513:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3514: /* end confdefs.h.  */
                   3515: 
                   3516: int
                   3517: main ()
                   3518: {
                   3519: 
                   3520:   ;
                   3521:   return 0;
                   3522: }
                   3523: _ACEOF
                   3524: rm -f conftest.o conftest.obj
                   3525: if { { ac_try="$ac_compile"
                   3526: case "(($ac_try" in
                   3527:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3528:   *) ac_try_echo=$ac_try;;
                   3529: esac
                   3530: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3531: $as_echo "$ac_try_echo"; } >&5
                   3532:   (eval "$ac_compile") 2>&5
                   3533:   ac_status=$?
                   3534:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3535:   test $ac_status = 0; }; then :
                   3536:   for ac_file in conftest.o conftest.obj conftest.*; do
                   3537:   test -f "$ac_file" || continue;
                   3538:   case $ac_file in
                   3539:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
                   3540:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   3541:        break;;
                   3542:   esac
                   3543: done
                   3544: else
                   3545:   $as_echo "$as_me: failed program was:" >&5
                   3546: sed 's/^/| /' conftest.$ac_ext >&5
                   3547: 
                   3548: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3549: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3550: as_fn_error $? "cannot compute suffix of object files: cannot compile
1.1.1.2 ! misho    3551: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    3552: fi
                   3553: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   3554: fi
                   3555: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
                   3556: $as_echo "$ac_cv_objext" >&6; }
                   3557: OBJEXT=$ac_cv_objext
                   3558: ac_objext=$OBJEXT
                   3559: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
                   3560: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
1.1.1.2 ! misho    3561: if ${ac_cv_c_compiler_gnu+:} false; then :
1.1       misho    3562:   $as_echo_n "(cached) " >&6
                   3563: else
                   3564:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3565: /* end confdefs.h.  */
                   3566: 
                   3567: int
                   3568: main ()
                   3569: {
                   3570: #ifndef __GNUC__
                   3571:        choke me
                   3572: #endif
                   3573: 
                   3574:   ;
                   3575:   return 0;
                   3576: }
                   3577: _ACEOF
                   3578: if ac_fn_c_try_compile "$LINENO"; then :
                   3579:   ac_compiler_gnu=yes
                   3580: else
                   3581:   ac_compiler_gnu=no
                   3582: fi
                   3583: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3584: ac_cv_c_compiler_gnu=$ac_compiler_gnu
                   3585: 
                   3586: fi
                   3587: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
                   3588: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
                   3589: if test $ac_compiler_gnu = yes; then
                   3590:   GCC=yes
                   3591: else
                   3592:   GCC=
                   3593: fi
                   3594: ac_test_CFLAGS=${CFLAGS+set}
                   3595: ac_save_CFLAGS=$CFLAGS
                   3596: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
                   3597: $as_echo_n "checking whether $CC accepts -g... " >&6; }
1.1.1.2 ! misho    3598: if ${ac_cv_prog_cc_g+:} false; then :
1.1       misho    3599:   $as_echo_n "(cached) " >&6
                   3600: else
                   3601:   ac_save_c_werror_flag=$ac_c_werror_flag
                   3602:    ac_c_werror_flag=yes
                   3603:    ac_cv_prog_cc_g=no
                   3604:    CFLAGS="-g"
                   3605:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3606: /* end confdefs.h.  */
                   3607: 
                   3608: int
                   3609: main ()
                   3610: {
                   3611: 
                   3612:   ;
                   3613:   return 0;
                   3614: }
                   3615: _ACEOF
                   3616: if ac_fn_c_try_compile "$LINENO"; then :
                   3617:   ac_cv_prog_cc_g=yes
                   3618: else
                   3619:   CFLAGS=""
                   3620:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3621: /* end confdefs.h.  */
                   3622: 
                   3623: int
                   3624: main ()
                   3625: {
                   3626: 
                   3627:   ;
                   3628:   return 0;
                   3629: }
                   3630: _ACEOF
                   3631: if ac_fn_c_try_compile "$LINENO"; then :
                   3632: 
                   3633: else
                   3634:   ac_c_werror_flag=$ac_save_c_werror_flag
                   3635:         CFLAGS="-g"
                   3636:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3637: /* end confdefs.h.  */
                   3638: 
                   3639: int
                   3640: main ()
                   3641: {
                   3642: 
                   3643:   ;
                   3644:   return 0;
                   3645: }
                   3646: _ACEOF
                   3647: if ac_fn_c_try_compile "$LINENO"; then :
                   3648:   ac_cv_prog_cc_g=yes
                   3649: fi
                   3650: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3651: fi
                   3652: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3653: fi
                   3654: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3655:    ac_c_werror_flag=$ac_save_c_werror_flag
                   3656: fi
                   3657: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
                   3658: $as_echo "$ac_cv_prog_cc_g" >&6; }
                   3659: if test "$ac_test_CFLAGS" = set; then
                   3660:   CFLAGS=$ac_save_CFLAGS
                   3661: elif test $ac_cv_prog_cc_g = yes; then
                   3662:   if test "$GCC" = yes; then
                   3663:     CFLAGS="-g -O2"
                   3664:   else
                   3665:     CFLAGS="-g"
                   3666:   fi
                   3667: else
                   3668:   if test "$GCC" = yes; then
                   3669:     CFLAGS="-O2"
                   3670:   else
                   3671:     CFLAGS=
                   3672:   fi
                   3673: fi
                   3674: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
                   3675: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
1.1.1.2 ! misho    3676: if ${ac_cv_prog_cc_c89+:} false; then :
1.1       misho    3677:   $as_echo_n "(cached) " >&6
                   3678: else
                   3679:   ac_cv_prog_cc_c89=no
                   3680: ac_save_CC=$CC
                   3681: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3682: /* end confdefs.h.  */
                   3683: #include <stdarg.h>
                   3684: #include <stdio.h>
1.1.1.2 ! misho    3685: struct stat;
1.1       misho    3686: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   3687: struct buf { int x; };
                   3688: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   3689: static char *e (p, i)
                   3690:      char **p;
                   3691:      int i;
                   3692: {
                   3693:   return p[i];
                   3694: }
                   3695: static char *f (char * (*g) (char **, int), char **p, ...)
                   3696: {
                   3697:   char *s;
                   3698:   va_list v;
                   3699:   va_start (v,p);
                   3700:   s = g (p, va_arg (v,int));
                   3701:   va_end (v);
                   3702:   return s;
                   3703: }
                   3704: 
                   3705: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   3706:    function prototypes and stuff, but not '\xHH' hex character constants.
                   3707:    These don't provoke an error unfortunately, instead are silently treated
                   3708:    as 'x'.  The following induces an error, until -std is added to get
                   3709:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   3710:    array size at least.  It's necessary to write '\x00'==0 to get something
                   3711:    that's true only with -std.  */
                   3712: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   3713: 
                   3714: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
                   3715:    inside strings and character constants.  */
                   3716: #define FOO(x) 'x'
                   3717: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
                   3718: 
                   3719: int test (int i, double x);
                   3720: struct s1 {int (*f) (int a);};
                   3721: struct s2 {int (*f) (double a);};
                   3722: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   3723: int argc;
                   3724: char **argv;
                   3725: int
                   3726: main ()
                   3727: {
                   3728: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   3729:   ;
                   3730:   return 0;
                   3731: }
                   3732: _ACEOF
                   3733: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
                   3734:        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
                   3735: do
                   3736:   CC="$ac_save_CC $ac_arg"
                   3737:   if ac_fn_c_try_compile "$LINENO"; then :
                   3738:   ac_cv_prog_cc_c89=$ac_arg
                   3739: fi
                   3740: rm -f core conftest.err conftest.$ac_objext
                   3741:   test "x$ac_cv_prog_cc_c89" != "xno" && break
                   3742: done
                   3743: rm -f conftest.$ac_ext
                   3744: CC=$ac_save_CC
                   3745: 
                   3746: fi
                   3747: # AC_CACHE_VAL
                   3748: case "x$ac_cv_prog_cc_c89" in
                   3749:   x)
                   3750:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   3751: $as_echo "none needed" >&6; } ;;
                   3752:   xno)
                   3753:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   3754: $as_echo "unsupported" >&6; } ;;
                   3755:   *)
                   3756:     CC="$CC $ac_cv_prog_cc_c89"
                   3757:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
                   3758: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
                   3759: esac
                   3760: if test "x$ac_cv_prog_cc_c89" != xno; then :
                   3761: 
                   3762: fi
                   3763: 
                   3764: ac_ext=c
                   3765: ac_cpp='$CPP $CPPFLAGS'
                   3766: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3767: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3768: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3769: DEPDIR="${am__leading_dot}deps"
                   3770: 
                   3771: ac_config_commands="$ac_config_commands depfiles"
                   3772: 
                   3773: 
                   3774: am_make=${MAKE-make}
                   3775: cat > confinc << 'END'
                   3776: am__doit:
                   3777:        @echo this is the am__doit target
                   3778: .PHONY: am__doit
                   3779: END
                   3780: # If we don't find an include directive, just comment out the code.
                   3781: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
                   3782: $as_echo_n "checking for style of include used by $am_make... " >&6; }
                   3783: am__include="#"
                   3784: am__quote=
                   3785: _am_result=none
                   3786: # First try GNU make style include.
                   3787: echo "include confinc" > confmf
1.1.1.2 ! misho    3788: # Ignore all kinds of additional output from 'make'.
1.1       misho    3789: case `$am_make -s -f confmf 2> /dev/null` in #(
                   3790: *the\ am__doit\ target*)
                   3791:   am__include=include
                   3792:   am__quote=
                   3793:   _am_result=GNU
                   3794:   ;;
                   3795: esac
                   3796: # Now try BSD make style include.
                   3797: if test "$am__include" = "#"; then
                   3798:    echo '.include "confinc"' > confmf
                   3799:    case `$am_make -s -f confmf 2> /dev/null` in #(
                   3800:    *the\ am__doit\ target*)
                   3801:      am__include=.include
                   3802:      am__quote="\""
                   3803:      _am_result=BSD
                   3804:      ;;
                   3805:    esac
                   3806: fi
                   3807: 
                   3808: 
                   3809: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
                   3810: $as_echo "$_am_result" >&6; }
                   3811: rm -f confinc confmf
                   3812: 
                   3813: # Check whether --enable-dependency-tracking was given.
                   3814: if test "${enable_dependency_tracking+set}" = set; then :
                   3815:   enableval=$enable_dependency_tracking;
                   3816: fi
                   3817: 
                   3818: if test "x$enable_dependency_tracking" != xno; then
                   3819:   am_depcomp="$ac_aux_dir/depcomp"
                   3820:   AMDEPBACKSLASH='\'
1.1.1.2 ! misho    3821:   am__nodep='_no'
1.1       misho    3822: fi
                   3823:  if test "x$enable_dependency_tracking" != xno; then
                   3824:   AMDEP_TRUE=
                   3825:   AMDEP_FALSE='#'
                   3826: else
                   3827:   AMDEP_TRUE='#'
                   3828:   AMDEP_FALSE=
                   3829: fi
                   3830: 
                   3831: 
                   3832: 
                   3833: depcc="$CC"   am_compiler_list=
                   3834: 
                   3835: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   3836: $as_echo_n "checking dependency style of $depcc... " >&6; }
1.1.1.2 ! misho    3837: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
1.1       misho    3838:   $as_echo_n "(cached) " >&6
                   3839: else
                   3840:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   3841:   # We make a subdir and do the tests there.  Otherwise we can end up
                   3842:   # making bogus files that we don't know about and never remove.  For
                   3843:   # instance it was reported that on HP-UX the gcc test will end up
1.1.1.2 ! misho    3844:   # making a dummy file named 'D' -- because '-MD' means "put the output
        !          3845:   # in D".
        !          3846:   rm -rf conftest.dir
1.1       misho    3847:   mkdir conftest.dir
                   3848:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   3849:   # using a relative directory.
                   3850:   cp "$am_depcomp" conftest.dir
                   3851:   cd conftest.dir
                   3852:   # We will build objects and dependencies in a subdirectory because
                   3853:   # it helps to detect inapplicable dependency modes.  For instance
                   3854:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   3855:   # side effect of compilation, but ICC will put the dependencies in
                   3856:   # the current directory while Tru64 will put them in the object
                   3857:   # directory.
                   3858:   mkdir sub
                   3859: 
                   3860:   am_cv_CC_dependencies_compiler_type=none
                   3861:   if test "$am_compiler_list" = ""; then
                   3862:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   3863:   fi
                   3864:   am__universal=false
                   3865:   case " $depcc " in #(
                   3866:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   3867:      esac
                   3868: 
                   3869:   for depmode in $am_compiler_list; do
                   3870:     # Setup a source with many dependencies, because some compilers
                   3871:     # like to wrap large dependency lists on column 80 (with \), and
                   3872:     # we should not choose a depcomp mode which is confused by this.
                   3873:     #
                   3874:     # We need to recreate these files for each test, as the compiler may
                   3875:     # overwrite some of them when testing with obscure command lines.
                   3876:     # This happens at least with the AIX C compiler.
                   3877:     : > sub/conftest.c
                   3878:     for i in 1 2 3 4 5 6; do
                   3879:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
1.1.1.2 ! misho    3880:       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
        !          3881:       # Solaris 10 /bin/sh.
        !          3882:       echo '/* dummy */' > sub/conftst$i.h
1.1       misho    3883:     done
                   3884:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
                   3885: 
1.1.1.2 ! misho    3886:     # We check with '-c' and '-o' for the sake of the "dashmstdout"
1.1       misho    3887:     # mode.  It turns out that the SunPro C++ compiler does not properly
1.1.1.2 ! misho    3888:     # handle '-M -o', and we need to detect this.  Also, some Intel
        !          3889:     # versions had trouble with output in subdirs.
1.1       misho    3890:     am__obj=sub/conftest.${OBJEXT-o}
                   3891:     am__minus_obj="-o $am__obj"
                   3892:     case $depmode in
                   3893:     gcc)
                   3894:       # This depmode causes a compiler race in universal mode.
                   3895:       test "$am__universal" = false || continue
                   3896:       ;;
                   3897:     nosideeffect)
1.1.1.2 ! misho    3898:       # After this tag, mechanisms are not by side-effect, so they'll
        !          3899:       # only be used when explicitly requested.
1.1       misho    3900:       if test "x$enable_dependency_tracking" = xyes; then
                   3901:        continue
                   3902:       else
                   3903:        break
                   3904:       fi
                   3905:       ;;
1.1.1.2 ! misho    3906:     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
        !          3907:       # This compiler won't grok '-c -o', but also, the minuso test has
1.1       misho    3908:       # not run yet.  These depmodes are late enough in the game, and
                   3909:       # so weak that their functioning should not be impacted.
                   3910:       am__obj=conftest.${OBJEXT-o}
                   3911:       am__minus_obj=
                   3912:       ;;
                   3913:     none) break ;;
                   3914:     esac
                   3915:     if depmode=$depmode \
                   3916:        source=sub/conftest.c object=$am__obj \
                   3917:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
                   3918:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
                   3919:          >/dev/null 2>conftest.err &&
                   3920:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
                   3921:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
                   3922:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
                   3923:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
                   3924:       # icc doesn't choke on unknown options, it will just issue warnings
                   3925:       # or remarks (even with -Werror).  So we grep stderr for any message
                   3926:       # that says an option was ignored or not supported.
                   3927:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   3928:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   3929:       # The diagnosis changed in icc 8.0:
                   3930:       #   icc: Command line remark: option '-MP' not supported
                   3931:       if (grep 'ignoring option' conftest.err ||
                   3932:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   3933:         am_cv_CC_dependencies_compiler_type=$depmode
                   3934:         break
                   3935:       fi
                   3936:     fi
                   3937:   done
                   3938: 
                   3939:   cd ..
                   3940:   rm -rf conftest.dir
                   3941: else
                   3942:   am_cv_CC_dependencies_compiler_type=none
                   3943: fi
                   3944: 
                   3945: fi
                   3946: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
                   3947: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
                   3948: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   3949: 
                   3950:  if
                   3951:   test "x$enable_dependency_tracking" != xno \
                   3952:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   3953:   am__fastdepCC_TRUE=
                   3954:   am__fastdepCC_FALSE='#'
                   3955: else
                   3956:   am__fastdepCC_TRUE='#'
                   3957:   am__fastdepCC_FALSE=
                   3958: fi
                   3959: 
                   3960: 
1.1.1.2 ! misho    3961: 
1.1       misho    3962: ac_ext=c
                   3963: ac_cpp='$CPP $CPPFLAGS'
                   3964: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3965: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3966: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1.1.2 ! misho    3967: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
        !          3968: $as_echo_n "checking how to run the C preprocessor... " >&6; }
        !          3969: # On Suns, sometimes $CPP names a directory.
        !          3970: if test -n "$CPP" && test -d "$CPP"; then
        !          3971:   CPP=
        !          3972: fi
        !          3973: if test -z "$CPP"; then
        !          3974:   if ${ac_cv_prog_CPP+:} false; then :
1.1       misho    3975:   $as_echo_n "(cached) " >&6
                   3976: else
1.1.1.2 ! misho    3977:       # Double quotes because CPP needs to be expanded
        !          3978:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
        !          3979:     do
        !          3980:       ac_preproc_ok=false
        !          3981: for ac_c_preproc_warn_flag in '' yes
1.1       misho    3982: do
1.1.1.2 ! misho    3983:   # Use a header file that comes with gcc, so configuring glibc
        !          3984:   # with a fresh cross-compiler works.
        !          3985:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
        !          3986:   # <limits.h> exists even on freestanding compilers.
        !          3987:   # On the NeXT, cc -E runs the code through the compiler's parser,
        !          3988:   # not just through cpp. "Syntax error" is here to catch this case.
        !          3989:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          3990: /* end confdefs.h.  */
        !          3991: #ifdef __STDC__
        !          3992: # include <limits.h>
        !          3993: #else
        !          3994: # include <assert.h>
        !          3995: #endif
        !          3996:                     Syntax error
        !          3997: _ACEOF
        !          3998: if ac_fn_c_try_cpp "$LINENO"; then :
1.1       misho    3999: 
1.1.1.2 ! misho    4000: else
        !          4001:   # Broken: fails on valid input.
        !          4002: continue
1.1       misho    4003: fi
1.1.1.2 ! misho    4004: rm -f conftest.err conftest.i conftest.$ac_ext
        !          4005: 
        !          4006:   # OK, works on sane cases.  Now check whether nonexistent headers
        !          4007:   # can be detected and how.
        !          4008:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          4009: /* end confdefs.h.  */
        !          4010: #include <ac_nonexistent.h>
        !          4011: _ACEOF
        !          4012: if ac_fn_c_try_cpp "$LINENO"; then :
        !          4013:   # Broken: success on invalid input.
        !          4014: continue
1.1       misho    4015: else
1.1.1.2 ! misho    4016:   # Passes both tests.
        !          4017: ac_preproc_ok=:
        !          4018: break
        !          4019: fi
        !          4020: rm -f conftest.err conftest.i conftest.$ac_ext
        !          4021: 
        !          4022: done
        !          4023: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
        !          4024: rm -f conftest.i conftest.err conftest.$ac_ext
        !          4025: if $ac_preproc_ok; then :
        !          4026:   break
1.1       misho    4027: fi
                   4028: 
1.1.1.2 ! misho    4029:     done
        !          4030:     ac_cv_prog_CPP=$CPP
1.1       misho    4031: 
                   4032: fi
1.1.1.2 ! misho    4033:   CPP=$ac_cv_prog_CPP
1.1       misho    4034: else
1.1.1.2 ! misho    4035:   ac_cv_prog_CPP=$CPP
        !          4036: fi
        !          4037: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
        !          4038: $as_echo "$CPP" >&6; }
        !          4039: ac_preproc_ok=false
        !          4040: for ac_c_preproc_warn_flag in '' yes
1.1       misho    4041: do
1.1.1.2 ! misho    4042:   # Use a header file that comes with gcc, so configuring glibc
        !          4043:   # with a fresh cross-compiler works.
        !          4044:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
        !          4045:   # <limits.h> exists even on freestanding compilers.
        !          4046:   # On the NeXT, cc -E runs the code through the compiler's parser,
        !          4047:   # not just through cpp. "Syntax error" is here to catch this case.
        !          4048:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          4049: /* end confdefs.h.  */
        !          4050: #ifdef __STDC__
        !          4051: # include <limits.h>
        !          4052: #else
        !          4053: # include <assert.h>
        !          4054: #endif
        !          4055:                     Syntax error
        !          4056: _ACEOF
        !          4057: if ac_fn_c_try_cpp "$LINENO"; then :
1.1       misho    4058: 
                   4059: else
1.1.1.2 ! misho    4060:   # Broken: fails on valid input.
        !          4061: continue
1.1       misho    4062: fi
1.1.1.2 ! misho    4063: rm -f conftest.err conftest.i conftest.$ac_ext
1.1       misho    4064: 
1.1.1.2 ! misho    4065:   # OK, works on sane cases.  Now check whether nonexistent headers
        !          4066:   # can be detected and how.
        !          4067:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          4068: /* end confdefs.h.  */
        !          4069: #include <ac_nonexistent.h>
        !          4070: _ACEOF
        !          4071: if ac_fn_c_try_cpp "$LINENO"; then :
        !          4072:   # Broken: success on invalid input.
        !          4073: continue
1.1       misho    4074: else
1.1.1.2 ! misho    4075:   # Passes both tests.
        !          4076: ac_preproc_ok=:
        !          4077: break
1.1       misho    4078: fi
                   4079: rm -f conftest.err conftest.i conftest.$ac_ext
                   4080: 
                   4081: done
                   4082: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   4083: rm -f conftest.i conftest.err conftest.$ac_ext
                   4084: if $ac_preproc_ok; then :
                   4085: 
                   4086: else
                   4087:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   4088: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   4089: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
1.1.1.2 ! misho    4090: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    4091: fi
                   4092: 
                   4093: ac_ext=c
                   4094: ac_cpp='$CPP $CPPFLAGS'
                   4095: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   4096: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   4097: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   4098: 
                   4099: 
                   4100: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
                   4101: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
1.1.1.2 ! misho    4102: if ${ac_cv_path_GREP+:} false; then :
1.1       misho    4103:   $as_echo_n "(cached) " >&6
                   4104: else
                   4105:   if test -z "$GREP"; then
                   4106:   ac_path_GREP_found=false
                   4107:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4108:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4109: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   4110: do
                   4111:   IFS=$as_save_IFS
                   4112:   test -z "$as_dir" && as_dir=.
                   4113:     for ac_prog in grep ggrep; do
                   4114:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4115:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
1.1.1.2 ! misho    4116:       as_fn_executable_p "$ac_path_GREP" || continue
1.1       misho    4117: # Check for GNU ac_path_GREP and select it if it is found.
                   4118:   # Check for GNU $ac_path_GREP
                   4119: case `"$ac_path_GREP" --version 2>&1` in
                   4120: *GNU*)
                   4121:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
                   4122: *)
                   4123:   ac_count=0
                   4124:   $as_echo_n 0123456789 >"conftest.in"
                   4125:   while :
                   4126:   do
                   4127:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4128:     mv "conftest.tmp" "conftest.in"
                   4129:     cp "conftest.in" "conftest.nl"
                   4130:     $as_echo 'GREP' >> "conftest.nl"
                   4131:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4132:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4133:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4134:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
                   4135:       # Best one so far, save it but keep looking for a better one
                   4136:       ac_cv_path_GREP="$ac_path_GREP"
                   4137:       ac_path_GREP_max=$ac_count
                   4138:     fi
                   4139:     # 10*(2^10) chars as input seems more than enough
                   4140:     test $ac_count -gt 10 && break
                   4141:   done
                   4142:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4143: esac
                   4144: 
                   4145:       $ac_path_GREP_found && break 3
                   4146:     done
                   4147:   done
                   4148:   done
                   4149: IFS=$as_save_IFS
                   4150:   if test -z "$ac_cv_path_GREP"; then
                   4151:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   4152:   fi
                   4153: else
                   4154:   ac_cv_path_GREP=$GREP
                   4155: fi
                   4156: 
                   4157: fi
                   4158: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
                   4159: $as_echo "$ac_cv_path_GREP" >&6; }
                   4160:  GREP="$ac_cv_path_GREP"
                   4161: 
                   4162: 
                   4163: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
                   4164: $as_echo_n "checking for egrep... " >&6; }
1.1.1.2 ! misho    4165: if ${ac_cv_path_EGREP+:} false; then :
1.1       misho    4166:   $as_echo_n "(cached) " >&6
                   4167: else
                   4168:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
                   4169:    then ac_cv_path_EGREP="$GREP -E"
                   4170:    else
                   4171:      if test -z "$EGREP"; then
                   4172:   ac_path_EGREP_found=false
                   4173:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4174:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4175: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   4176: do
                   4177:   IFS=$as_save_IFS
                   4178:   test -z "$as_dir" && as_dir=.
                   4179:     for ac_prog in egrep; do
                   4180:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4181:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
1.1.1.2 ! misho    4182:       as_fn_executable_p "$ac_path_EGREP" || continue
1.1       misho    4183: # Check for GNU ac_path_EGREP and select it if it is found.
                   4184:   # Check for GNU $ac_path_EGREP
                   4185: case `"$ac_path_EGREP" --version 2>&1` in
                   4186: *GNU*)
                   4187:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
                   4188: *)
                   4189:   ac_count=0
                   4190:   $as_echo_n 0123456789 >"conftest.in"
                   4191:   while :
                   4192:   do
                   4193:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4194:     mv "conftest.tmp" "conftest.in"
                   4195:     cp "conftest.in" "conftest.nl"
                   4196:     $as_echo 'EGREP' >> "conftest.nl"
                   4197:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4198:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4199:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4200:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
                   4201:       # Best one so far, save it but keep looking for a better one
                   4202:       ac_cv_path_EGREP="$ac_path_EGREP"
                   4203:       ac_path_EGREP_max=$ac_count
                   4204:     fi
                   4205:     # 10*(2^10) chars as input seems more than enough
                   4206:     test $ac_count -gt 10 && break
                   4207:   done
                   4208:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4209: esac
                   4210: 
                   4211:       $ac_path_EGREP_found && break 3
                   4212:     done
                   4213:   done
                   4214:   done
                   4215: IFS=$as_save_IFS
                   4216:   if test -z "$ac_cv_path_EGREP"; then
                   4217:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   4218:   fi
                   4219: else
                   4220:   ac_cv_path_EGREP=$EGREP
                   4221: fi
                   4222: 
                   4223:    fi
                   4224: fi
                   4225: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
                   4226: $as_echo "$ac_cv_path_EGREP" >&6; }
                   4227:  EGREP="$ac_cv_path_EGREP"
                   4228: 
                   4229: 
                   4230: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   4231: $as_echo_n "checking for ANSI C header files... " >&6; }
1.1.1.2 ! misho    4232: if ${ac_cv_header_stdc+:} false; then :
1.1       misho    4233:   $as_echo_n "(cached) " >&6
                   4234: else
                   4235:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4236: /* end confdefs.h.  */
                   4237: #include <stdlib.h>
                   4238: #include <stdarg.h>
                   4239: #include <string.h>
                   4240: #include <float.h>
                   4241: 
                   4242: int
                   4243: main ()
                   4244: {
                   4245: 
                   4246:   ;
                   4247:   return 0;
                   4248: }
                   4249: _ACEOF
                   4250: if ac_fn_c_try_compile "$LINENO"; then :
                   4251:   ac_cv_header_stdc=yes
                   4252: else
                   4253:   ac_cv_header_stdc=no
                   4254: fi
                   4255: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   4256: 
                   4257: if test $ac_cv_header_stdc = yes; then
                   4258:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   4259:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4260: /* end confdefs.h.  */
                   4261: #include <string.h>
                   4262: 
                   4263: _ACEOF
                   4264: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   4265:   $EGREP "memchr" >/dev/null 2>&1; then :
                   4266: 
                   4267: else
                   4268:   ac_cv_header_stdc=no
                   4269: fi
                   4270: rm -f conftest*
                   4271: 
                   4272: fi
                   4273: 
                   4274: if test $ac_cv_header_stdc = yes; then
                   4275:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   4276:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4277: /* end confdefs.h.  */
                   4278: #include <stdlib.h>
                   4279: 
                   4280: _ACEOF
                   4281: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   4282:   $EGREP "free" >/dev/null 2>&1; then :
                   4283: 
                   4284: else
                   4285:   ac_cv_header_stdc=no
                   4286: fi
                   4287: rm -f conftest*
                   4288: 
                   4289: fi
                   4290: 
                   4291: if test $ac_cv_header_stdc = yes; then
                   4292:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   4293:   if test "$cross_compiling" = yes; then :
                   4294:   :
                   4295: else
                   4296:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   4297: /* end confdefs.h.  */
                   4298: #include <ctype.h>
                   4299: #include <stdlib.h>
                   4300: #if ((' ' & 0x0FF) == 0x020)
                   4301: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   4302: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   4303: #else
                   4304: # define ISLOWER(c) \
                   4305:                   (('a' <= (c) && (c) <= 'i') \
                   4306:                     || ('j' <= (c) && (c) <= 'r') \
                   4307:                     || ('s' <= (c) && (c) <= 'z'))
                   4308: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   4309: #endif
                   4310: 
                   4311: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   4312: int
                   4313: main ()
                   4314: {
                   4315:   int i;
                   4316:   for (i = 0; i < 256; i++)
                   4317:     if (XOR (islower (i), ISLOWER (i))
                   4318:        || toupper (i) != TOUPPER (i))
                   4319:       return 2;
                   4320:   return 0;
                   4321: }
                   4322: _ACEOF
                   4323: if ac_fn_c_try_run "$LINENO"; then :
                   4324: 
                   4325: else
                   4326:   ac_cv_header_stdc=no
                   4327: fi
                   4328: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   4329:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   4330: fi
                   4331: 
                   4332: fi
                   4333: fi
                   4334: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   4335: $as_echo "$ac_cv_header_stdc" >&6; }
                   4336: if test $ac_cv_header_stdc = yes; then
                   4337: 
                   4338: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
                   4339: 
                   4340: fi
                   4341: 
                   4342: case `pwd` in
                   4343:   *\ * | *\    *)
                   4344:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
                   4345: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
                   4346: esac
                   4347: 
                   4348: 
                   4349: 
1.1.1.2 ! misho    4350: macro_version='2.4.2'
        !          4351: macro_revision='1.3337'
1.1       misho    4352: 
                   4353: 
                   4354: 
                   4355: 
                   4356: 
                   4357: 
                   4358: 
                   4359: 
                   4360: 
                   4361: 
                   4362: 
                   4363: 
                   4364: 
                   4365: ltmain="$ac_aux_dir/ltmain.sh"
                   4366: 
                   4367: # Make sure we can run config.sub.
                   4368: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
                   4369:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
                   4370: 
                   4371: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
                   4372: $as_echo_n "checking build system type... " >&6; }
1.1.1.2 ! misho    4373: if ${ac_cv_build+:} false; then :
1.1       misho    4374:   $as_echo_n "(cached) " >&6
                   4375: else
                   4376:   ac_build_alias=$build_alias
                   4377: test "x$ac_build_alias" = x &&
                   4378:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
                   4379: test "x$ac_build_alias" = x &&
                   4380:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
                   4381: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
                   4382:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
                   4383: 
                   4384: fi
                   4385: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
                   4386: $as_echo "$ac_cv_build" >&6; }
                   4387: case $ac_cv_build in
                   4388: *-*-*) ;;
1.1.1.2 ! misho    4389: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
1.1       misho    4390: esac
                   4391: build=$ac_cv_build
                   4392: ac_save_IFS=$IFS; IFS='-'
                   4393: set x $ac_cv_build
                   4394: shift
                   4395: build_cpu=$1
                   4396: build_vendor=$2
                   4397: shift; shift
                   4398: # Remember, the first character of IFS is used to create $*,
                   4399: # except with old shells:
                   4400: build_os=$*
                   4401: IFS=$ac_save_IFS
                   4402: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
                   4403: 
                   4404: 
                   4405: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
                   4406: $as_echo_n "checking host system type... " >&6; }
1.1.1.2 ! misho    4407: if ${ac_cv_host+:} false; then :
1.1       misho    4408:   $as_echo_n "(cached) " >&6
                   4409: else
                   4410:   if test "x$host_alias" = x; then
                   4411:   ac_cv_host=$ac_cv_build
                   4412: else
                   4413:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
                   4414:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
                   4415: fi
                   4416: 
                   4417: fi
                   4418: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
                   4419: $as_echo "$ac_cv_host" >&6; }
                   4420: case $ac_cv_host in
                   4421: *-*-*) ;;
1.1.1.2 ! misho    4422: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
1.1       misho    4423: esac
                   4424: host=$ac_cv_host
                   4425: ac_save_IFS=$IFS; IFS='-'
                   4426: set x $ac_cv_host
                   4427: shift
                   4428: host_cpu=$1
                   4429: host_vendor=$2
                   4430: shift; shift
                   4431: # Remember, the first character of IFS is used to create $*,
                   4432: # except with old shells:
                   4433: host_os=$*
                   4434: IFS=$ac_save_IFS
                   4435: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
                   4436: 
                   4437: 
1.1.1.2 ! misho    4438: # Backslashify metacharacters that are still active within
        !          4439: # double-quoted strings.
        !          4440: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
        !          4441: 
        !          4442: # Same as above, but do not quote variable references.
        !          4443: double_quote_subst='s/\(["`\\]\)/\\\1/g'
        !          4444: 
        !          4445: # Sed substitution to delay expansion of an escaped shell variable in a
        !          4446: # double_quote_subst'ed string.
        !          4447: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
        !          4448: 
        !          4449: # Sed substitution to delay expansion of an escaped single quote.
        !          4450: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
        !          4451: 
        !          4452: # Sed substitution to avoid accidental globbing in evaled expressions
        !          4453: no_glob_subst='s/\*/\\\*/g'
        !          4454: 
        !          4455: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
        !          4456: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
        !          4457: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
        !          4458: 
        !          4459: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
        !          4460: $as_echo_n "checking how to print strings... " >&6; }
        !          4461: # Test print first, because it will be a builtin if present.
        !          4462: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
        !          4463:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
        !          4464:   ECHO='print -r --'
        !          4465: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
        !          4466:   ECHO='printf %s\n'
        !          4467: else
        !          4468:   # Use this function as a fallback that always works.
        !          4469:   func_fallback_echo ()
        !          4470:   {
        !          4471:     eval 'cat <<_LTECHO_EOF
        !          4472: $1
        !          4473: _LTECHO_EOF'
        !          4474:   }
        !          4475:   ECHO='func_fallback_echo'
        !          4476: fi
        !          4477: 
        !          4478: # func_echo_all arg...
        !          4479: # Invoke $ECHO with all args, space-separated.
        !          4480: func_echo_all ()
        !          4481: {
        !          4482:     $ECHO ""
        !          4483: }
        !          4484: 
        !          4485: case "$ECHO" in
        !          4486:   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
        !          4487: $as_echo "printf" >&6; } ;;
        !          4488:   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
        !          4489: $as_echo "print -r" >&6; } ;;
        !          4490:   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
        !          4491: $as_echo "cat" >&6; } ;;
        !          4492: esac
        !          4493: 
        !          4494: 
        !          4495: 
        !          4496: 
        !          4497: 
        !          4498: 
        !          4499: 
        !          4500: 
        !          4501: 
        !          4502: 
        !          4503: 
        !          4504: 
        !          4505: 
        !          4506: 
1.1       misho    4507: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
                   4508: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
1.1.1.2 ! misho    4509: if ${ac_cv_path_SED+:} false; then :
1.1       misho    4510:   $as_echo_n "(cached) " >&6
                   4511: else
                   4512:             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
                   4513:      for ac_i in 1 2 3 4 5 6 7; do
                   4514:        ac_script="$ac_script$as_nl$ac_script"
                   4515:      done
                   4516:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
                   4517:      { ac_script=; unset ac_script;}
                   4518:      if test -z "$SED"; then
                   4519:   ac_path_SED_found=false
                   4520:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4521:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4522: for as_dir in $PATH
                   4523: do
                   4524:   IFS=$as_save_IFS
                   4525:   test -z "$as_dir" && as_dir=.
                   4526:     for ac_prog in sed gsed; do
                   4527:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4528:       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
1.1.1.2 ! misho    4529:       as_fn_executable_p "$ac_path_SED" || continue
1.1       misho    4530: # Check for GNU ac_path_SED and select it if it is found.
                   4531:   # Check for GNU $ac_path_SED
                   4532: case `"$ac_path_SED" --version 2>&1` in
                   4533: *GNU*)
                   4534:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
                   4535: *)
                   4536:   ac_count=0
                   4537:   $as_echo_n 0123456789 >"conftest.in"
                   4538:   while :
                   4539:   do
                   4540:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4541:     mv "conftest.tmp" "conftest.in"
                   4542:     cp "conftest.in" "conftest.nl"
                   4543:     $as_echo '' >> "conftest.nl"
                   4544:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4545:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4546:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4547:     if test $ac_count -gt ${ac_path_SED_max-0}; then
                   4548:       # Best one so far, save it but keep looking for a better one
                   4549:       ac_cv_path_SED="$ac_path_SED"
                   4550:       ac_path_SED_max=$ac_count
                   4551:     fi
                   4552:     # 10*(2^10) chars as input seems more than enough
                   4553:     test $ac_count -gt 10 && break
                   4554:   done
                   4555:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4556: esac
                   4557: 
                   4558:       $ac_path_SED_found && break 3
                   4559:     done
                   4560:   done
                   4561:   done
                   4562: IFS=$as_save_IFS
                   4563:   if test -z "$ac_cv_path_SED"; then
                   4564:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
                   4565:   fi
                   4566: else
                   4567:   ac_cv_path_SED=$SED
                   4568: fi
                   4569: 
                   4570: fi
                   4571: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
                   4572: $as_echo "$ac_cv_path_SED" >&6; }
                   4573:  SED="$ac_cv_path_SED"
                   4574:   rm -f conftest.sed
                   4575: 
                   4576: test -z "$SED" && SED=sed
                   4577: Xsed="$SED -e 1s/^X//"
                   4578: 
                   4579: 
                   4580: 
                   4581: 
                   4582: 
                   4583: 
                   4584: 
                   4585: 
                   4586: 
                   4587: 
                   4588: 
                   4589: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
                   4590: $as_echo_n "checking for fgrep... " >&6; }
1.1.1.2 ! misho    4591: if ${ac_cv_path_FGREP+:} false; then :
1.1       misho    4592:   $as_echo_n "(cached) " >&6
                   4593: else
                   4594:   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
                   4595:    then ac_cv_path_FGREP="$GREP -F"
                   4596:    else
                   4597:      if test -z "$FGREP"; then
                   4598:   ac_path_FGREP_found=false
                   4599:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4600:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4601: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   4602: do
                   4603:   IFS=$as_save_IFS
                   4604:   test -z "$as_dir" && as_dir=.
                   4605:     for ac_prog in fgrep; do
                   4606:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4607:       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
1.1.1.2 ! misho    4608:       as_fn_executable_p "$ac_path_FGREP" || continue
1.1       misho    4609: # Check for GNU ac_path_FGREP and select it if it is found.
                   4610:   # Check for GNU $ac_path_FGREP
                   4611: case `"$ac_path_FGREP" --version 2>&1` in
                   4612: *GNU*)
                   4613:   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
                   4614: *)
                   4615:   ac_count=0
                   4616:   $as_echo_n 0123456789 >"conftest.in"
                   4617:   while :
                   4618:   do
                   4619:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4620:     mv "conftest.tmp" "conftest.in"
                   4621:     cp "conftest.in" "conftest.nl"
                   4622:     $as_echo 'FGREP' >> "conftest.nl"
                   4623:     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4624:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4625:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4626:     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
                   4627:       # Best one so far, save it but keep looking for a better one
                   4628:       ac_cv_path_FGREP="$ac_path_FGREP"
                   4629:       ac_path_FGREP_max=$ac_count
                   4630:     fi
                   4631:     # 10*(2^10) chars as input seems more than enough
                   4632:     test $ac_count -gt 10 && break
                   4633:   done
                   4634:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   4635: esac
                   4636: 
                   4637:       $ac_path_FGREP_found && break 3
                   4638:     done
                   4639:   done
                   4640:   done
                   4641: IFS=$as_save_IFS
                   4642:   if test -z "$ac_cv_path_FGREP"; then
                   4643:     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   4644:   fi
                   4645: else
                   4646:   ac_cv_path_FGREP=$FGREP
                   4647: fi
                   4648: 
                   4649:    fi
                   4650: fi
                   4651: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
                   4652: $as_echo "$ac_cv_path_FGREP" >&6; }
                   4653:  FGREP="$ac_cv_path_FGREP"
                   4654: 
                   4655: 
                   4656: test -z "$GREP" && GREP=grep
                   4657: 
                   4658: 
                   4659: 
                   4660: 
                   4661: 
                   4662: 
                   4663: 
                   4664: 
                   4665: 
                   4666: 
                   4667: 
                   4668: 
                   4669: 
                   4670: 
                   4671: 
                   4672: 
                   4673: 
                   4674: 
                   4675: 
                   4676: # Check whether --with-gnu-ld was given.
                   4677: if test "${with_gnu_ld+set}" = set; then :
                   4678:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
                   4679: else
                   4680:   with_gnu_ld=no
                   4681: fi
                   4682: 
                   4683: ac_prog=ld
                   4684: if test "$GCC" = yes; then
                   4685:   # Check if gcc -print-prog-name=ld gives a path.
                   4686:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   4687: $as_echo_n "checking for ld used by $CC... " >&6; }
                   4688:   case $host in
                   4689:   *-*-mingw*)
                   4690:     # gcc leaves a trailing carriage return which upsets mingw
                   4691:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   4692:   *)
                   4693:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   4694:   esac
                   4695:   case $ac_prog in
                   4696:     # Accept absolute paths.
                   4697:     [\\/]* | ?:[\\/]*)
                   4698:       re_direlt='/[^/][^/]*/\.\./'
                   4699:       # Canonicalize the pathname of ld
                   4700:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   4701:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   4702:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   4703:       done
                   4704:       test -z "$LD" && LD="$ac_prog"
                   4705:       ;;
                   4706:   "")
                   4707:     # If it fails, then pretend we aren't using GCC.
                   4708:     ac_prog=ld
                   4709:     ;;
                   4710:   *)
                   4711:     # If it is relative, then search for the first ld in PATH.
                   4712:     with_gnu_ld=unknown
                   4713:     ;;
                   4714:   esac
                   4715: elif test "$with_gnu_ld" = yes; then
                   4716:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   4717: $as_echo_n "checking for GNU ld... " >&6; }
                   4718: else
                   4719:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   4720: $as_echo_n "checking for non-GNU ld... " >&6; }
                   4721: fi
1.1.1.2 ! misho    4722: if ${lt_cv_path_LD+:} false; then :
1.1       misho    4723:   $as_echo_n "(cached) " >&6
                   4724: else
                   4725:   if test -z "$LD"; then
                   4726:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   4727:   for ac_dir in $PATH; do
                   4728:     IFS="$lt_save_ifs"
                   4729:     test -z "$ac_dir" && ac_dir=.
                   4730:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   4731:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   4732:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   4733:       # but apparently some variants of GNU ld only accept -v.
                   4734:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   4735:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   4736:       *GNU* | *'with BFD'*)
                   4737:        test "$with_gnu_ld" != no && break
                   4738:        ;;
                   4739:       *)
                   4740:        test "$with_gnu_ld" != yes && break
                   4741:        ;;
                   4742:       esac
                   4743:     fi
                   4744:   done
                   4745:   IFS="$lt_save_ifs"
                   4746: else
                   4747:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   4748: fi
                   4749: fi
                   4750: 
                   4751: LD="$lt_cv_path_LD"
                   4752: if test -n "$LD"; then
                   4753:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   4754: $as_echo "$LD" >&6; }
                   4755: else
                   4756:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4757: $as_echo "no" >&6; }
                   4758: fi
                   4759: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
                   4760: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   4761: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
1.1.1.2 ! misho    4762: if ${lt_cv_prog_gnu_ld+:} false; then :
1.1       misho    4763:   $as_echo_n "(cached) " >&6
                   4764: else
                   4765:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   4766: case `$LD -v 2>&1 </dev/null` in
                   4767: *GNU* | *'with BFD'*)
                   4768:   lt_cv_prog_gnu_ld=yes
                   4769:   ;;
                   4770: *)
                   4771:   lt_cv_prog_gnu_ld=no
                   4772:   ;;
                   4773: esac
                   4774: fi
                   4775: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   4776: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
                   4777: with_gnu_ld=$lt_cv_prog_gnu_ld
                   4778: 
                   4779: 
                   4780: 
                   4781: 
                   4782: 
                   4783: 
                   4784: 
                   4785: 
                   4786: 
                   4787: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
                   4788: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
1.1.1.2 ! misho    4789: if ${lt_cv_path_NM+:} false; then :
1.1       misho    4790:   $as_echo_n "(cached) " >&6
                   4791: else
                   4792:   if test -n "$NM"; then
                   4793:   # Let the user override the test.
                   4794:   lt_cv_path_NM="$NM"
                   4795: else
                   4796:   lt_nm_to_check="${ac_tool_prefix}nm"
                   4797:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
                   4798:     lt_nm_to_check="$lt_nm_to_check nm"
                   4799:   fi
                   4800:   for lt_tmp_nm in $lt_nm_to_check; do
                   4801:     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   4802:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
                   4803:       IFS="$lt_save_ifs"
                   4804:       test -z "$ac_dir" && ac_dir=.
                   4805:       tmp_nm="$ac_dir/$lt_tmp_nm"
                   4806:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
                   4807:        # Check to see if the nm accepts a BSD-compat flag.
                   4808:        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
                   4809:        #   nm: unknown option "B" ignored
                   4810:        # Tru64's nm complains that /dev/null is an invalid object file
                   4811:        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
                   4812:        */dev/null* | *'Invalid file or object type'*)
                   4813:          lt_cv_path_NM="$tmp_nm -B"
                   4814:          break
                   4815:          ;;
                   4816:        *)
                   4817:          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
                   4818:          */dev/null*)
                   4819:            lt_cv_path_NM="$tmp_nm -p"
                   4820:            break
                   4821:            ;;
                   4822:          *)
                   4823:            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
                   4824:            continue # so that we can try to find one that supports BSD flags
                   4825:            ;;
                   4826:          esac
                   4827:          ;;
                   4828:        esac
                   4829:       fi
                   4830:     done
                   4831:     IFS="$lt_save_ifs"
                   4832:   done
                   4833:   : ${lt_cv_path_NM=no}
                   4834: fi
                   4835: fi
                   4836: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
                   4837: $as_echo "$lt_cv_path_NM" >&6; }
                   4838: if test "$lt_cv_path_NM" != "no"; then
                   4839:   NM="$lt_cv_path_NM"
                   4840: else
                   4841:   # Didn't find any BSD compatible name lister, look for dumpbin.
1.1.1.2 ! misho    4842:   if test -n "$DUMPBIN"; then :
        !          4843:     # Let the user override the test.
        !          4844:   else
        !          4845:     if test -n "$ac_tool_prefix"; then
        !          4846:   for ac_prog in dumpbin "link -dump"
1.1       misho    4847:   do
                   4848:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   4849: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   4850: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4851: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    4852: if ${ac_cv_prog_DUMPBIN+:} false; then :
1.1       misho    4853:   $as_echo_n "(cached) " >&6
                   4854: else
                   4855:   if test -n "$DUMPBIN"; then
                   4856:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
                   4857: else
                   4858: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4859: for as_dir in $PATH
                   4860: do
                   4861:   IFS=$as_save_IFS
                   4862:   test -z "$as_dir" && as_dir=.
                   4863:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    4864:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    4865:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
                   4866:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4867:     break 2
                   4868:   fi
                   4869: done
                   4870:   done
                   4871: IFS=$as_save_IFS
                   4872: 
                   4873: fi
                   4874: fi
                   4875: DUMPBIN=$ac_cv_prog_DUMPBIN
                   4876: if test -n "$DUMPBIN"; then
                   4877:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
                   4878: $as_echo "$DUMPBIN" >&6; }
                   4879: else
                   4880:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4881: $as_echo "no" >&6; }
                   4882: fi
                   4883: 
                   4884: 
                   4885:     test -n "$DUMPBIN" && break
                   4886:   done
                   4887: fi
                   4888: if test -z "$DUMPBIN"; then
                   4889:   ac_ct_DUMPBIN=$DUMPBIN
1.1.1.2 ! misho    4890:   for ac_prog in dumpbin "link -dump"
1.1       misho    4891: do
                   4892:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   4893: set dummy $ac_prog; ac_word=$2
                   4894: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4895: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    4896: if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
1.1       misho    4897:   $as_echo_n "(cached) " >&6
                   4898: else
                   4899:   if test -n "$ac_ct_DUMPBIN"; then
                   4900:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
                   4901: else
                   4902: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4903: for as_dir in $PATH
                   4904: do
                   4905:   IFS=$as_save_IFS
                   4906:   test -z "$as_dir" && as_dir=.
                   4907:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    4908:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    4909:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
                   4910:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4911:     break 2
                   4912:   fi
                   4913: done
                   4914:   done
                   4915: IFS=$as_save_IFS
                   4916: 
                   4917: fi
                   4918: fi
                   4919: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
                   4920: if test -n "$ac_ct_DUMPBIN"; then
                   4921:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
                   4922: $as_echo "$ac_ct_DUMPBIN" >&6; }
                   4923: else
                   4924:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4925: $as_echo "no" >&6; }
                   4926: fi
                   4927: 
                   4928: 
                   4929:   test -n "$ac_ct_DUMPBIN" && break
                   4930: done
                   4931: 
                   4932:   if test "x$ac_ct_DUMPBIN" = x; then
                   4933:     DUMPBIN=":"
                   4934:   else
                   4935:     case $cross_compiling:$ac_tool_warned in
                   4936: yes:)
                   4937: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   4938: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   4939: ac_tool_warned=yes ;;
                   4940: esac
                   4941:     DUMPBIN=$ac_ct_DUMPBIN
                   4942:   fi
                   4943: fi
                   4944: 
1.1.1.2 ! misho    4945:     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
        !          4946:     *COFF*)
        !          4947:       DUMPBIN="$DUMPBIN -symbols"
        !          4948:       ;;
        !          4949:     *)
        !          4950:       DUMPBIN=:
        !          4951:       ;;
        !          4952:     esac
        !          4953:   fi
1.1       misho    4954: 
                   4955:   if test "$DUMPBIN" != ":"; then
                   4956:     NM="$DUMPBIN"
                   4957:   fi
                   4958: fi
                   4959: test -z "$NM" && NM=nm
                   4960: 
                   4961: 
                   4962: 
                   4963: 
                   4964: 
                   4965: 
                   4966: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
                   4967: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
1.1.1.2 ! misho    4968: if ${lt_cv_nm_interface+:} false; then :
1.1       misho    4969:   $as_echo_n "(cached) " >&6
                   4970: else
                   4971:   lt_cv_nm_interface="BSD nm"
                   4972:   echo "int some_variable = 0;" > conftest.$ac_ext
1.1.1.2 ! misho    4973:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
1.1       misho    4974:   (eval "$ac_compile" 2>conftest.err)
                   4975:   cat conftest.err >&5
1.1.1.2 ! misho    4976:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
1.1       misho    4977:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
                   4978:   cat conftest.err >&5
1.1.1.2 ! misho    4979:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
1.1       misho    4980:   cat conftest.out >&5
                   4981:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
                   4982:     lt_cv_nm_interface="MS dumpbin"
                   4983:   fi
                   4984:   rm -f conftest*
                   4985: fi
                   4986: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
                   4987: $as_echo "$lt_cv_nm_interface" >&6; }
                   4988: 
                   4989: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
                   4990: $as_echo_n "checking whether ln -s works... " >&6; }
                   4991: LN_S=$as_ln_s
                   4992: if test "$LN_S" = "ln -s"; then
                   4993:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4994: $as_echo "yes" >&6; }
                   4995: else
                   4996:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
                   4997: $as_echo "no, using $LN_S" >&6; }
                   4998: fi
                   4999: 
                   5000: # find the maximum length of command line arguments
                   5001: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
                   5002: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
1.1.1.2 ! misho    5003: if ${lt_cv_sys_max_cmd_len+:} false; then :
1.1       misho    5004:   $as_echo_n "(cached) " >&6
                   5005: else
                   5006:     i=0
                   5007:   teststring="ABCD"
                   5008: 
                   5009:   case $build_os in
                   5010:   msdosdjgpp*)
                   5011:     # On DJGPP, this test can blow up pretty badly due to problems in libc
                   5012:     # (any single argument exceeding 2000 bytes causes a buffer overrun
                   5013:     # during glob expansion).  Even if it were fixed, the result of this
                   5014:     # check would be larger than it should be.
                   5015:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
                   5016:     ;;
                   5017: 
                   5018:   gnu*)
                   5019:     # Under GNU Hurd, this test is not required because there is
                   5020:     # no limit to the length of command line arguments.
                   5021:     # Libtool will interpret -1 as no limit whatsoever
                   5022:     lt_cv_sys_max_cmd_len=-1;
                   5023:     ;;
                   5024: 
                   5025:   cygwin* | mingw* | cegcc*)
                   5026:     # On Win9x/ME, this test blows up -- it succeeds, but takes
                   5027:     # about 5 minutes as the teststring grows exponentially.
                   5028:     # Worse, since 9x/ME are not pre-emptively multitasking,
                   5029:     # you end up with a "frozen" computer, even though with patience
                   5030:     # the test eventually succeeds (with a max line length of 256k).
                   5031:     # Instead, let's just punt: use the minimum linelength reported by
                   5032:     # all of the supported platforms: 8192 (on NT/2K/XP).
                   5033:     lt_cv_sys_max_cmd_len=8192;
                   5034:     ;;
                   5035: 
1.1.1.2 ! misho    5036:   mint*)
        !          5037:     # On MiNT this can take a long time and run out of memory.
        !          5038:     lt_cv_sys_max_cmd_len=8192;
        !          5039:     ;;
        !          5040: 
1.1       misho    5041:   amigaos*)
                   5042:     # On AmigaOS with pdksh, this test takes hours, literally.
                   5043:     # So we just punt and use a minimum line length of 8192.
                   5044:     lt_cv_sys_max_cmd_len=8192;
                   5045:     ;;
                   5046: 
                   5047:   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
                   5048:     # This has been around since 386BSD, at least.  Likely further.
                   5049:     if test -x /sbin/sysctl; then
                   5050:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
                   5051:     elif test -x /usr/sbin/sysctl; then
                   5052:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
                   5053:     else
                   5054:       lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
                   5055:     fi
                   5056:     # And add a safety zone
                   5057:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   5058:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   5059:     ;;
                   5060: 
                   5061:   interix*)
                   5062:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
                   5063:     lt_cv_sys_max_cmd_len=196608
                   5064:     ;;
                   5065: 
1.1.1.2 ! misho    5066:   os2*)
        !          5067:     # The test takes a long time on OS/2.
        !          5068:     lt_cv_sys_max_cmd_len=8192
        !          5069:     ;;
        !          5070: 
1.1       misho    5071:   osf*)
                   5072:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
                   5073:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
                   5074:     # nice to cause kernel panics so lets avoid the loop below.
                   5075:     # First set a reasonable default.
                   5076:     lt_cv_sys_max_cmd_len=16384
                   5077:     #
                   5078:     if test -x /sbin/sysconfig; then
                   5079:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
                   5080:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
                   5081:       esac
                   5082:     fi
                   5083:     ;;
                   5084:   sco3.2v5*)
                   5085:     lt_cv_sys_max_cmd_len=102400
                   5086:     ;;
                   5087:   sysv5* | sco5v6* | sysv4.2uw2*)
                   5088:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
                   5089:     if test -n "$kargmax"; then
                   5090:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
                   5091:     else
                   5092:       lt_cv_sys_max_cmd_len=32768
                   5093:     fi
                   5094:     ;;
                   5095:   *)
                   5096:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
                   5097:     if test -n "$lt_cv_sys_max_cmd_len"; then
                   5098:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   5099:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   5100:     else
                   5101:       # Make teststring a little bigger before we do anything with it.
                   5102:       # a 1K string should be a reasonable start.
                   5103:       for i in 1 2 3 4 5 6 7 8 ; do
                   5104:         teststring=$teststring$teststring
                   5105:       done
                   5106:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
                   5107:       # If test is not a shell built-in, we'll probably end up computing a
                   5108:       # maximum length that is only half of the actual maximum length, but
                   5109:       # we can't tell.
1.1.1.2 ! misho    5110:       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
        !          5111:                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
1.1       misho    5112:              test $i != 17 # 1/2 MB should be enough
                   5113:       do
                   5114:         i=`expr $i + 1`
                   5115:         teststring=$teststring$teststring
                   5116:       done
                   5117:       # Only check the string length outside the loop.
                   5118:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
                   5119:       teststring=
                   5120:       # Add a significant safety factor because C++ compilers can tack on
                   5121:       # massive amounts of additional arguments before passing them to the
                   5122:       # linker.  It appears as though 1/2 is a usable value.
                   5123:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
                   5124:     fi
                   5125:     ;;
                   5126:   esac
                   5127: 
                   5128: fi
                   5129: 
                   5130: if test -n $lt_cv_sys_max_cmd_len ; then
                   5131:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
                   5132: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
                   5133: else
                   5134:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
                   5135: $as_echo "none" >&6; }
                   5136: fi
                   5137: max_cmd_len=$lt_cv_sys_max_cmd_len
                   5138: 
                   5139: 
                   5140: 
                   5141: 
                   5142: 
                   5143: 
                   5144: : ${CP="cp -f"}
                   5145: : ${MV="mv -f"}
                   5146: : ${RM="rm -f"}
                   5147: 
                   5148: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
                   5149: $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
                   5150: # Try some XSI features
                   5151: xsi_shell=no
                   5152: ( _lt_dummy="a/b/c"
1.1.1.2 ! misho    5153:   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
        !          5154:       = c,a/b,b/c, \
1.1       misho    5155:     && eval 'test $(( 1 + 1 )) -eq 2 \
                   5156:     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
                   5157:   && xsi_shell=yes
                   5158: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
                   5159: $as_echo "$xsi_shell" >&6; }
                   5160: 
                   5161: 
                   5162: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
                   5163: $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
                   5164: lt_shell_append=no
                   5165: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
                   5166:     >/dev/null 2>&1 \
                   5167:   && lt_shell_append=yes
                   5168: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
                   5169: $as_echo "$lt_shell_append" >&6; }
                   5170: 
                   5171: 
                   5172: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                   5173:   lt_unset=unset
                   5174: else
                   5175:   lt_unset=false
                   5176: fi
                   5177: 
                   5178: 
                   5179: 
                   5180: 
                   5181: 
                   5182: # test EBCDIC or ASCII
                   5183: case `echo X|tr X '\101'` in
                   5184:  A) # ASCII based system
                   5185:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
                   5186:   lt_SP2NL='tr \040 \012'
                   5187:   lt_NL2SP='tr \015\012 \040\040'
                   5188:   ;;
                   5189:  *) # EBCDIC based system
                   5190:   lt_SP2NL='tr \100 \n'
                   5191:   lt_NL2SP='tr \r\n \100\100'
                   5192:   ;;
                   5193: esac
                   5194: 
                   5195: 
                   5196: 
                   5197: 
                   5198: 
                   5199: 
                   5200: 
                   5201: 
                   5202: 
1.1.1.2 ! misho    5203: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
        !          5204: $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
        !          5205: if ${lt_cv_to_host_file_cmd+:} false; then :
        !          5206:   $as_echo_n "(cached) " >&6
        !          5207: else
        !          5208:   case $host in
        !          5209:   *-*-mingw* )
        !          5210:     case $build in
        !          5211:       *-*-mingw* ) # actually msys
        !          5212:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
        !          5213:         ;;
        !          5214:       *-*-cygwin* )
        !          5215:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
        !          5216:         ;;
        !          5217:       * ) # otherwise, assume *nix
        !          5218:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
        !          5219:         ;;
        !          5220:     esac
        !          5221:     ;;
        !          5222:   *-*-cygwin* )
        !          5223:     case $build in
        !          5224:       *-*-mingw* ) # actually msys
        !          5225:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
        !          5226:         ;;
        !          5227:       *-*-cygwin* )
        !          5228:         lt_cv_to_host_file_cmd=func_convert_file_noop
        !          5229:         ;;
        !          5230:       * ) # otherwise, assume *nix
        !          5231:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
        !          5232:         ;;
        !          5233:     esac
        !          5234:     ;;
        !          5235:   * ) # unhandled hosts (and "normal" native builds)
        !          5236:     lt_cv_to_host_file_cmd=func_convert_file_noop
        !          5237:     ;;
        !          5238: esac
        !          5239: 
        !          5240: fi
        !          5241: 
        !          5242: to_host_file_cmd=$lt_cv_to_host_file_cmd
        !          5243: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
        !          5244: $as_echo "$lt_cv_to_host_file_cmd" >&6; }
        !          5245: 
        !          5246: 
        !          5247: 
        !          5248: 
        !          5249: 
        !          5250: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
        !          5251: $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
        !          5252: if ${lt_cv_to_tool_file_cmd+:} false; then :
        !          5253:   $as_echo_n "(cached) " >&6
        !          5254: else
        !          5255:   #assume ordinary cross tools, or native build.
        !          5256: lt_cv_to_tool_file_cmd=func_convert_file_noop
        !          5257: case $host in
        !          5258:   *-*-mingw* )
        !          5259:     case $build in
        !          5260:       *-*-mingw* ) # actually msys
        !          5261:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
        !          5262:         ;;
        !          5263:     esac
        !          5264:     ;;
        !          5265: esac
        !          5266: 
        !          5267: fi
        !          5268: 
        !          5269: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
        !          5270: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
        !          5271: $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
        !          5272: 
        !          5273: 
        !          5274: 
        !          5275: 
        !          5276: 
1.1       misho    5277: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
                   5278: $as_echo_n "checking for $LD option to reload object files... " >&6; }
1.1.1.2 ! misho    5279: if ${lt_cv_ld_reload_flag+:} false; then :
1.1       misho    5280:   $as_echo_n "(cached) " >&6
                   5281: else
                   5282:   lt_cv_ld_reload_flag='-r'
                   5283: fi
                   5284: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
                   5285: $as_echo "$lt_cv_ld_reload_flag" >&6; }
                   5286: reload_flag=$lt_cv_ld_reload_flag
                   5287: case $reload_flag in
                   5288: "" | " "*) ;;
                   5289: *) reload_flag=" $reload_flag" ;;
                   5290: esac
                   5291: reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   5292: case $host_os in
1.1.1.2 ! misho    5293:   cygwin* | mingw* | pw32* | cegcc*)
        !          5294:     if test "$GCC" != yes; then
        !          5295:       reload_cmds=false
        !          5296:     fi
        !          5297:     ;;
1.1       misho    5298:   darwin*)
                   5299:     if test "$GCC" = yes; then
                   5300:       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
                   5301:     else
                   5302:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   5303:     fi
                   5304:     ;;
                   5305: esac
                   5306: 
                   5307: 
                   5308: 
                   5309: 
                   5310: 
                   5311: 
                   5312: 
                   5313: 
                   5314: 
                   5315: if test -n "$ac_tool_prefix"; then
                   5316:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   5317: set dummy ${ac_tool_prefix}objdump; ac_word=$2
                   5318: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5319: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    5320: if ${ac_cv_prog_OBJDUMP+:} false; then :
1.1       misho    5321:   $as_echo_n "(cached) " >&6
                   5322: else
                   5323:   if test -n "$OBJDUMP"; then
                   5324:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   5325: else
                   5326: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5327: for as_dir in $PATH
                   5328: do
                   5329:   IFS=$as_save_IFS
                   5330:   test -z "$as_dir" && as_dir=.
                   5331:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    5332:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    5333:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
                   5334:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5335:     break 2
                   5336:   fi
                   5337: done
                   5338:   done
                   5339: IFS=$as_save_IFS
                   5340: 
                   5341: fi
                   5342: fi
                   5343: OBJDUMP=$ac_cv_prog_OBJDUMP
                   5344: if test -n "$OBJDUMP"; then
                   5345:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   5346: $as_echo "$OBJDUMP" >&6; }
                   5347: else
                   5348:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5349: $as_echo "no" >&6; }
                   5350: fi
                   5351: 
                   5352: 
                   5353: fi
                   5354: if test -z "$ac_cv_prog_OBJDUMP"; then
                   5355:   ac_ct_OBJDUMP=$OBJDUMP
                   5356:   # Extract the first word of "objdump", so it can be a program name with args.
                   5357: set dummy objdump; ac_word=$2
                   5358: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5359: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    5360: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
1.1       misho    5361:   $as_echo_n "(cached) " >&6
                   5362: else
                   5363:   if test -n "$ac_ct_OBJDUMP"; then
                   5364:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   5365: else
                   5366: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5367: for as_dir in $PATH
                   5368: do
                   5369:   IFS=$as_save_IFS
                   5370:   test -z "$as_dir" && as_dir=.
                   5371:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    5372:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    5373:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
                   5374:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5375:     break 2
                   5376:   fi
                   5377: done
                   5378:   done
                   5379: IFS=$as_save_IFS
                   5380: 
                   5381: fi
                   5382: fi
                   5383: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   5384: if test -n "$ac_ct_OBJDUMP"; then
                   5385:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   5386: $as_echo "$ac_ct_OBJDUMP" >&6; }
                   5387: else
                   5388:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5389: $as_echo "no" >&6; }
                   5390: fi
                   5391: 
                   5392:   if test "x$ac_ct_OBJDUMP" = x; then
                   5393:     OBJDUMP="false"
                   5394:   else
                   5395:     case $cross_compiling:$ac_tool_warned in
                   5396: yes:)
                   5397: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5398: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5399: ac_tool_warned=yes ;;
                   5400: esac
                   5401:     OBJDUMP=$ac_ct_OBJDUMP
                   5402:   fi
                   5403: else
                   5404:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   5405: fi
                   5406: 
                   5407: test -z "$OBJDUMP" && OBJDUMP=objdump
                   5408: 
                   5409: 
                   5410: 
                   5411: 
                   5412: 
                   5413: 
                   5414: 
                   5415: 
                   5416: 
                   5417: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
                   5418: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
1.1.1.2 ! misho    5419: if ${lt_cv_deplibs_check_method+:} false; then :
1.1       misho    5420:   $as_echo_n "(cached) " >&6
                   5421: else
                   5422:   lt_cv_file_magic_cmd='$MAGIC_CMD'
                   5423: lt_cv_file_magic_test_file=
                   5424: lt_cv_deplibs_check_method='unknown'
                   5425: # Need to set the preceding variable on all platforms that support
                   5426: # interlibrary dependencies.
                   5427: # 'none' -- dependencies not supported.
                   5428: # `unknown' -- same as none, but documents that we really don't know.
                   5429: # 'pass_all' -- all dependencies passed with no checks.
                   5430: # 'test_compile' -- check by making test program.
                   5431: # 'file_magic [[regex]]' -- check by looking for files in library path
                   5432: # which responds to the $file_magic_cmd with a given extended regex.
                   5433: # If you have `file' or equivalent on your system and you're not sure
                   5434: # whether `pass_all' will *always* work, you probably want this one.
                   5435: 
                   5436: case $host_os in
                   5437: aix[4-9]*)
                   5438:   lt_cv_deplibs_check_method=pass_all
                   5439:   ;;
                   5440: 
                   5441: beos*)
                   5442:   lt_cv_deplibs_check_method=pass_all
                   5443:   ;;
                   5444: 
                   5445: bsdi[45]*)
                   5446:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
                   5447:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   5448:   lt_cv_file_magic_test_file=/shlib/libc.so
                   5449:   ;;
                   5450: 
                   5451: cygwin*)
                   5452:   # func_win32_libid is a shell function defined in ltmain.sh
                   5453:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   5454:   lt_cv_file_magic_cmd='func_win32_libid'
                   5455:   ;;
                   5456: 
                   5457: mingw* | pw32*)
                   5458:   # Base MSYS/MinGW do not provide the 'file' command needed by
                   5459:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
                   5460:   # unless we find 'file', for example because we are cross-compiling.
1.1.1.2 ! misho    5461:   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
        !          5462:   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
1.1       misho    5463:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   5464:     lt_cv_file_magic_cmd='func_win32_libid'
                   5465:   else
1.1.1.2 ! misho    5466:     # Keep this pattern in sync with the one in func_win32_libid.
        !          5467:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
1.1       misho    5468:     lt_cv_file_magic_cmd='$OBJDUMP -f'
                   5469:   fi
                   5470:   ;;
                   5471: 
1.1.1.2 ! misho    5472: cegcc*)
1.1       misho    5473:   # use the weaker test based on 'objdump'. See mingw*.
                   5474:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
                   5475:   lt_cv_file_magic_cmd='$OBJDUMP -f'
                   5476:   ;;
                   5477: 
                   5478: darwin* | rhapsody*)
                   5479:   lt_cv_deplibs_check_method=pass_all
                   5480:   ;;
                   5481: 
                   5482: freebsd* | dragonfly*)
                   5483:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   5484:     case $host_cpu in
                   5485:     i*86 )
                   5486:       # Not sure whether the presence of OpenBSD here was a mistake.
                   5487:       # Let's accept both of them until this is cleared up.
                   5488:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
                   5489:       lt_cv_file_magic_cmd=/usr/bin/file
                   5490:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
                   5491:       ;;
                   5492:     esac
                   5493:   else
                   5494:     lt_cv_deplibs_check_method=pass_all
                   5495:   fi
                   5496:   ;;
                   5497: 
                   5498: gnu*)
                   5499:   lt_cv_deplibs_check_method=pass_all
                   5500:   ;;
                   5501: 
1.1.1.2 ! misho    5502: haiku*)
        !          5503:   lt_cv_deplibs_check_method=pass_all
        !          5504:   ;;
        !          5505: 
1.1       misho    5506: hpux10.20* | hpux11*)
                   5507:   lt_cv_file_magic_cmd=/usr/bin/file
                   5508:   case $host_cpu in
                   5509:   ia64*)
                   5510:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
                   5511:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
                   5512:     ;;
                   5513:   hppa*64*)
1.1.1.2 ! misho    5514:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
1.1       misho    5515:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
                   5516:     ;;
                   5517:   *)
1.1.1.2 ! misho    5518:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
1.1       misho    5519:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
                   5520:     ;;
                   5521:   esac
                   5522:   ;;
                   5523: 
                   5524: interix[3-9]*)
                   5525:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
                   5526:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
                   5527:   ;;
                   5528: 
                   5529: irix5* | irix6* | nonstopux*)
                   5530:   case $LD in
                   5531:   *-32|*"-32 ") libmagic=32-bit;;
                   5532:   *-n32|*"-n32 ") libmagic=N32;;
                   5533:   *-64|*"-64 ") libmagic=64-bit;;
                   5534:   *) libmagic=never-match;;
                   5535:   esac
                   5536:   lt_cv_deplibs_check_method=pass_all
                   5537:   ;;
                   5538: 
1.1.1.2 ! misho    5539: # This must be glibc/ELF.
1.1       misho    5540: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   5541:   lt_cv_deplibs_check_method=pass_all
                   5542:   ;;
                   5543: 
1.1.1.2 ! misho    5544: netbsd*)
1.1       misho    5545:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   5546:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   5547:   else
                   5548:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
                   5549:   fi
                   5550:   ;;
                   5551: 
                   5552: newos6*)
                   5553:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
                   5554:   lt_cv_file_magic_cmd=/usr/bin/file
                   5555:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
                   5556:   ;;
                   5557: 
                   5558: *nto* | *qnx*)
                   5559:   lt_cv_deplibs_check_method=pass_all
                   5560:   ;;
                   5561: 
                   5562: openbsd*)
                   5563:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   5564:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
                   5565:   else
                   5566:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   5567:   fi
                   5568:   ;;
                   5569: 
                   5570: osf3* | osf4* | osf5*)
                   5571:   lt_cv_deplibs_check_method=pass_all
                   5572:   ;;
                   5573: 
                   5574: rdos*)
                   5575:   lt_cv_deplibs_check_method=pass_all
                   5576:   ;;
                   5577: 
                   5578: solaris*)
                   5579:   lt_cv_deplibs_check_method=pass_all
                   5580:   ;;
                   5581: 
                   5582: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   5583:   lt_cv_deplibs_check_method=pass_all
                   5584:   ;;
                   5585: 
                   5586: sysv4 | sysv4.3*)
                   5587:   case $host_vendor in
                   5588:   motorola)
                   5589:     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]'
                   5590:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
                   5591:     ;;
                   5592:   ncr)
                   5593:     lt_cv_deplibs_check_method=pass_all
                   5594:     ;;
                   5595:   sequent)
                   5596:     lt_cv_file_magic_cmd='/bin/file'
                   5597:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
                   5598:     ;;
                   5599:   sni)
                   5600:     lt_cv_file_magic_cmd='/bin/file'
                   5601:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
                   5602:     lt_cv_file_magic_test_file=/lib/libc.so
                   5603:     ;;
                   5604:   siemens)
                   5605:     lt_cv_deplibs_check_method=pass_all
                   5606:     ;;
1.1.1.2 ! misho    5607:   pc)
        !          5608:     lt_cv_deplibs_check_method=pass_all
        !          5609:     ;;
        !          5610:   esac
        !          5611:   ;;
        !          5612: 
        !          5613: tpf*)
        !          5614:   lt_cv_deplibs_check_method=pass_all
        !          5615:   ;;
        !          5616: esac
        !          5617: 
        !          5618: fi
        !          5619: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
        !          5620: $as_echo "$lt_cv_deplibs_check_method" >&6; }
        !          5621: 
        !          5622: file_magic_glob=
        !          5623: want_nocaseglob=no
        !          5624: if test "$build" = "$host"; then
        !          5625:   case $host_os in
        !          5626:   mingw* | pw32*)
        !          5627:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
        !          5628:       want_nocaseglob=yes
        !          5629:     else
        !          5630:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
        !          5631:     fi
        !          5632:     ;;
        !          5633:   esac
        !          5634: fi
        !          5635: 
        !          5636: file_magic_cmd=$lt_cv_file_magic_cmd
        !          5637: deplibs_check_method=$lt_cv_deplibs_check_method
        !          5638: test -z "$deplibs_check_method" && deplibs_check_method=unknown
        !          5639: 
        !          5640: 
        !          5641: 
        !          5642: 
        !          5643: 
        !          5644: 
        !          5645: 
        !          5646: 
        !          5647: 
        !          5648: 
        !          5649: 
        !          5650: 
        !          5651: 
        !          5652: 
        !          5653: 
        !          5654: 
        !          5655: 
        !          5656: 
        !          5657: 
        !          5658: 
        !          5659: 
        !          5660: 
        !          5661: if test -n "$ac_tool_prefix"; then
        !          5662:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
        !          5663: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
        !          5664: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          5665: $as_echo_n "checking for $ac_word... " >&6; }
        !          5666: if ${ac_cv_prog_DLLTOOL+:} false; then :
        !          5667:   $as_echo_n "(cached) " >&6
        !          5668: else
        !          5669:   if test -n "$DLLTOOL"; then
        !          5670:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
        !          5671: else
        !          5672: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          5673: for as_dir in $PATH
        !          5674: do
        !          5675:   IFS=$as_save_IFS
        !          5676:   test -z "$as_dir" && as_dir=.
        !          5677:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          5678:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          5679:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
        !          5680:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          5681:     break 2
        !          5682:   fi
        !          5683: done
        !          5684:   done
        !          5685: IFS=$as_save_IFS
        !          5686: 
        !          5687: fi
        !          5688: fi
        !          5689: DLLTOOL=$ac_cv_prog_DLLTOOL
        !          5690: if test -n "$DLLTOOL"; then
        !          5691:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
        !          5692: $as_echo "$DLLTOOL" >&6; }
        !          5693: else
        !          5694:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5695: $as_echo "no" >&6; }
        !          5696: fi
        !          5697: 
        !          5698: 
        !          5699: fi
        !          5700: if test -z "$ac_cv_prog_DLLTOOL"; then
        !          5701:   ac_ct_DLLTOOL=$DLLTOOL
        !          5702:   # Extract the first word of "dlltool", so it can be a program name with args.
        !          5703: set dummy dlltool; ac_word=$2
        !          5704: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          5705: $as_echo_n "checking for $ac_word... " >&6; }
        !          5706: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
        !          5707:   $as_echo_n "(cached) " >&6
        !          5708: else
        !          5709:   if test -n "$ac_ct_DLLTOOL"; then
        !          5710:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
        !          5711: else
        !          5712: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          5713: for as_dir in $PATH
        !          5714: do
        !          5715:   IFS=$as_save_IFS
        !          5716:   test -z "$as_dir" && as_dir=.
        !          5717:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          5718:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          5719:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
        !          5720:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          5721:     break 2
        !          5722:   fi
        !          5723: done
        !          5724:   done
        !          5725: IFS=$as_save_IFS
        !          5726: 
        !          5727: fi
        !          5728: fi
        !          5729: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
        !          5730: if test -n "$ac_ct_DLLTOOL"; then
        !          5731:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
        !          5732: $as_echo "$ac_ct_DLLTOOL" >&6; }
        !          5733: else
        !          5734:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5735: $as_echo "no" >&6; }
        !          5736: fi
        !          5737: 
        !          5738:   if test "x$ac_ct_DLLTOOL" = x; then
        !          5739:     DLLTOOL="false"
        !          5740:   else
        !          5741:     case $cross_compiling:$ac_tool_warned in
        !          5742: yes:)
        !          5743: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          5744: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          5745: ac_tool_warned=yes ;;
        !          5746: esac
        !          5747:     DLLTOOL=$ac_ct_DLLTOOL
        !          5748:   fi
        !          5749: else
        !          5750:   DLLTOOL="$ac_cv_prog_DLLTOOL"
        !          5751: fi
        !          5752: 
        !          5753: test -z "$DLLTOOL" && DLLTOOL=dlltool
        !          5754: 
        !          5755: 
        !          5756: 
        !          5757: 
        !          5758: 
        !          5759: 
        !          5760: 
        !          5761: 
        !          5762: 
        !          5763: 
        !          5764: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
        !          5765: $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
        !          5766: if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
        !          5767:   $as_echo_n "(cached) " >&6
        !          5768: else
        !          5769:   lt_cv_sharedlib_from_linklib_cmd='unknown'
        !          5770: 
        !          5771: case $host_os in
        !          5772: cygwin* | mingw* | pw32* | cegcc*)
        !          5773:   # two different shell functions defined in ltmain.sh
        !          5774:   # decide which to use based on capabilities of $DLLTOOL
        !          5775:   case `$DLLTOOL --help 2>&1` in
        !          5776:   *--identify-strict*)
        !          5777:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
        !          5778:     ;;
        !          5779:   *)
        !          5780:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
1.1       misho    5781:     ;;
                   5782:   esac
                   5783:   ;;
1.1.1.2 ! misho    5784: *)
        !          5785:   # fallback: assume linklib IS sharedlib
        !          5786:   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
1.1       misho    5787:   ;;
                   5788: esac
                   5789: 
                   5790: fi
1.1.1.2 ! misho    5791: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
        !          5792: $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
        !          5793: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
        !          5794: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
1.1       misho    5795: 
                   5796: 
                   5797: 
                   5798: 
                   5799: 
                   5800: 
                   5801: 
                   5802: if test -n "$ac_tool_prefix"; then
1.1.1.2 ! misho    5803:   for ac_prog in ar
        !          5804:   do
        !          5805:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
        !          5806: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.1       misho    5807: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5808: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    5809: if ${ac_cv_prog_AR+:} false; then :
1.1       misho    5810:   $as_echo_n "(cached) " >&6
                   5811: else
                   5812:   if test -n "$AR"; then
                   5813:   ac_cv_prog_AR="$AR" # Let the user override the test.
                   5814: else
                   5815: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5816: for as_dir in $PATH
                   5817: do
                   5818:   IFS=$as_save_IFS
                   5819:   test -z "$as_dir" && as_dir=.
                   5820:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    5821:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          5822:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
1.1       misho    5823:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5824:     break 2
                   5825:   fi
                   5826: done
                   5827:   done
                   5828: IFS=$as_save_IFS
                   5829: 
                   5830: fi
                   5831: fi
                   5832: AR=$ac_cv_prog_AR
                   5833: if test -n "$AR"; then
                   5834:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
                   5835: $as_echo "$AR" >&6; }
                   5836: else
                   5837:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5838: $as_echo "no" >&6; }
                   5839: fi
                   5840: 
                   5841: 
1.1.1.2 ! misho    5842:     test -n "$AR" && break
        !          5843:   done
1.1       misho    5844: fi
1.1.1.2 ! misho    5845: if test -z "$AR"; then
1.1       misho    5846:   ac_ct_AR=$AR
1.1.1.2 ! misho    5847:   for ac_prog in ar
        !          5848: do
        !          5849:   # Extract the first word of "$ac_prog", so it can be a program name with args.
        !          5850: set dummy $ac_prog; ac_word=$2
1.1       misho    5851: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5852: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    5853: if ${ac_cv_prog_ac_ct_AR+:} false; then :
1.1       misho    5854:   $as_echo_n "(cached) " >&6
                   5855: else
                   5856:   if test -n "$ac_ct_AR"; then
                   5857:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
                   5858: else
                   5859: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5860: for as_dir in $PATH
                   5861: do
                   5862:   IFS=$as_save_IFS
                   5863:   test -z "$as_dir" && as_dir=.
                   5864:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    5865:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          5866:     ac_cv_prog_ac_ct_AR="$ac_prog"
1.1       misho    5867:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5868:     break 2
                   5869:   fi
                   5870: done
                   5871:   done
                   5872: IFS=$as_save_IFS
                   5873: 
                   5874: fi
                   5875: fi
                   5876: ac_ct_AR=$ac_cv_prog_ac_ct_AR
                   5877: if test -n "$ac_ct_AR"; then
                   5878:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
                   5879: $as_echo "$ac_ct_AR" >&6; }
                   5880: else
                   5881:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5882: $as_echo "no" >&6; }
                   5883: fi
                   5884: 
1.1.1.2 ! misho    5885: 
        !          5886:   test -n "$ac_ct_AR" && break
        !          5887: done
        !          5888: 
1.1       misho    5889:   if test "x$ac_ct_AR" = x; then
                   5890:     AR="false"
                   5891:   else
                   5892:     case $cross_compiling:$ac_tool_warned in
                   5893: yes:)
                   5894: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5895: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5896: ac_tool_warned=yes ;;
                   5897: esac
                   5898:     AR=$ac_ct_AR
                   5899:   fi
                   5900: fi
                   5901: 
1.1.1.2 ! misho    5902: : ${AR=ar}
        !          5903: : ${AR_FLAGS=cru}
        !          5904: 
        !          5905: 
        !          5906: 
        !          5907: 
        !          5908: 
        !          5909: 
        !          5910: 
        !          5911: 
        !          5912: 
        !          5913: 
        !          5914: 
        !          5915: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
        !          5916: $as_echo_n "checking for archiver @FILE support... " >&6; }
        !          5917: if ${lt_cv_ar_at_file+:} false; then :
        !          5918:   $as_echo_n "(cached) " >&6
        !          5919: else
        !          5920:   lt_cv_ar_at_file=no
        !          5921:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          5922: /* end confdefs.h.  */
        !          5923: 
        !          5924: int
        !          5925: main ()
        !          5926: {
1.1       misho    5927: 
1.1.1.2 ! misho    5928:   ;
        !          5929:   return 0;
        !          5930: }
        !          5931: _ACEOF
        !          5932: if ac_fn_c_try_compile "$LINENO"; then :
        !          5933:   echo conftest.$ac_objext > conftest.lst
        !          5934:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
        !          5935:       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
        !          5936:   (eval $lt_ar_try) 2>&5
        !          5937:   ac_status=$?
        !          5938:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          5939:   test $ac_status = 0; }
        !          5940:       if test "$ac_status" -eq 0; then
        !          5941:        # Ensure the archiver fails upon bogus file names.
        !          5942:        rm -f conftest.$ac_objext libconftest.a
        !          5943:        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
        !          5944:   (eval $lt_ar_try) 2>&5
        !          5945:   ac_status=$?
        !          5946:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          5947:   test $ac_status = 0; }
        !          5948:        if test "$ac_status" -ne 0; then
        !          5949:           lt_cv_ar_at_file=@
        !          5950:         fi
        !          5951:       fi
        !          5952:       rm -f conftest.* libconftest.a
1.1       misho    5953: 
1.1.1.2 ! misho    5954: fi
        !          5955: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       misho    5956: 
1.1.1.2 ! misho    5957: fi
        !          5958: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
        !          5959: $as_echo "$lt_cv_ar_at_file" >&6; }
1.1       misho    5960: 
1.1.1.2 ! misho    5961: if test "x$lt_cv_ar_at_file" = xno; then
        !          5962:   archiver_list_spec=
        !          5963: else
        !          5964:   archiver_list_spec=$lt_cv_ar_at_file
        !          5965: fi
1.1       misho    5966: 
                   5967: 
                   5968: 
                   5969: 
                   5970: 
                   5971: 
                   5972: 
                   5973: if test -n "$ac_tool_prefix"; then
                   5974:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   5975: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   5976: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5977: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    5978: if ${ac_cv_prog_STRIP+:} false; then :
1.1       misho    5979:   $as_echo_n "(cached) " >&6
                   5980: else
                   5981:   if test -n "$STRIP"; then
                   5982:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   5983: else
                   5984: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5985: for as_dir in $PATH
                   5986: do
                   5987:   IFS=$as_save_IFS
                   5988:   test -z "$as_dir" && as_dir=.
                   5989:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    5990:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    5991:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   5992:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5993:     break 2
                   5994:   fi
                   5995: done
                   5996:   done
                   5997: IFS=$as_save_IFS
                   5998: 
                   5999: fi
                   6000: fi
                   6001: STRIP=$ac_cv_prog_STRIP
                   6002: if test -n "$STRIP"; then
                   6003:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   6004: $as_echo "$STRIP" >&6; }
                   6005: else
                   6006:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6007: $as_echo "no" >&6; }
                   6008: fi
                   6009: 
                   6010: 
                   6011: fi
                   6012: if test -z "$ac_cv_prog_STRIP"; then
                   6013:   ac_ct_STRIP=$STRIP
                   6014:   # Extract the first word of "strip", so it can be a program name with args.
                   6015: set dummy strip; ac_word=$2
                   6016: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6017: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    6018: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
1.1       misho    6019:   $as_echo_n "(cached) " >&6
                   6020: else
                   6021:   if test -n "$ac_ct_STRIP"; then
                   6022:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   6023: else
                   6024: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6025: for as_dir in $PATH
                   6026: do
                   6027:   IFS=$as_save_IFS
                   6028:   test -z "$as_dir" && as_dir=.
                   6029:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    6030:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    6031:     ac_cv_prog_ac_ct_STRIP="strip"
                   6032:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6033:     break 2
                   6034:   fi
                   6035: done
                   6036:   done
                   6037: IFS=$as_save_IFS
                   6038: 
                   6039: fi
                   6040: fi
                   6041: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   6042: if test -n "$ac_ct_STRIP"; then
                   6043:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   6044: $as_echo "$ac_ct_STRIP" >&6; }
                   6045: else
                   6046:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6047: $as_echo "no" >&6; }
                   6048: fi
                   6049: 
                   6050:   if test "x$ac_ct_STRIP" = x; then
                   6051:     STRIP=":"
                   6052:   else
                   6053:     case $cross_compiling:$ac_tool_warned in
                   6054: yes:)
                   6055: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6056: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6057: ac_tool_warned=yes ;;
                   6058: esac
                   6059:     STRIP=$ac_ct_STRIP
                   6060:   fi
                   6061: else
                   6062:   STRIP="$ac_cv_prog_STRIP"
                   6063: fi
                   6064: 
                   6065: test -z "$STRIP" && STRIP=:
                   6066: 
                   6067: 
                   6068: 
                   6069: 
                   6070: 
                   6071: 
                   6072: if test -n "$ac_tool_prefix"; then
                   6073:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   6074: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
                   6075: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6076: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    6077: if ${ac_cv_prog_RANLIB+:} false; then :
1.1       misho    6078:   $as_echo_n "(cached) " >&6
                   6079: else
                   6080:   if test -n "$RANLIB"; then
                   6081:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   6082: else
                   6083: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6084: for as_dir in $PATH
                   6085: do
                   6086:   IFS=$as_save_IFS
                   6087:   test -z "$as_dir" && as_dir=.
                   6088:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    6089:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    6090:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
                   6091:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6092:     break 2
                   6093:   fi
                   6094: done
                   6095:   done
                   6096: IFS=$as_save_IFS
                   6097: 
                   6098: fi
                   6099: fi
                   6100: RANLIB=$ac_cv_prog_RANLIB
                   6101: if test -n "$RANLIB"; then
                   6102:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
                   6103: $as_echo "$RANLIB" >&6; }
                   6104: else
                   6105:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6106: $as_echo "no" >&6; }
                   6107: fi
                   6108: 
                   6109: 
                   6110: fi
                   6111: if test -z "$ac_cv_prog_RANLIB"; then
                   6112:   ac_ct_RANLIB=$RANLIB
                   6113:   # Extract the first word of "ranlib", so it can be a program name with args.
                   6114: set dummy ranlib; ac_word=$2
                   6115: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6116: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    6117: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
1.1       misho    6118:   $as_echo_n "(cached) " >&6
                   6119: else
                   6120:   if test -n "$ac_ct_RANLIB"; then
                   6121:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   6122: else
                   6123: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6124: for as_dir in $PATH
                   6125: do
                   6126:   IFS=$as_save_IFS
                   6127:   test -z "$as_dir" && as_dir=.
                   6128:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    6129:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    6130:     ac_cv_prog_ac_ct_RANLIB="ranlib"
                   6131:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6132:     break 2
                   6133:   fi
                   6134: done
                   6135:   done
                   6136: IFS=$as_save_IFS
                   6137: 
                   6138: fi
                   6139: fi
                   6140: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   6141: if test -n "$ac_ct_RANLIB"; then
                   6142:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
                   6143: $as_echo "$ac_ct_RANLIB" >&6; }
                   6144: else
                   6145:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6146: $as_echo "no" >&6; }
                   6147: fi
                   6148: 
                   6149:   if test "x$ac_ct_RANLIB" = x; then
                   6150:     RANLIB=":"
                   6151:   else
                   6152:     case $cross_compiling:$ac_tool_warned in
                   6153: yes:)
                   6154: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6155: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6156: ac_tool_warned=yes ;;
                   6157: esac
                   6158:     RANLIB=$ac_ct_RANLIB
                   6159:   fi
                   6160: else
                   6161:   RANLIB="$ac_cv_prog_RANLIB"
                   6162: fi
                   6163: 
                   6164: test -z "$RANLIB" && RANLIB=:
                   6165: 
                   6166: 
                   6167: 
                   6168: 
                   6169: 
                   6170: 
                   6171: # Determine commands to create old-style static archives.
                   6172: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
                   6173: old_postinstall_cmds='chmod 644 $oldlib'
                   6174: old_postuninstall_cmds=
                   6175: 
                   6176: if test -n "$RANLIB"; then
                   6177:   case $host_os in
                   6178:   openbsd*)
1.1.1.2 ! misho    6179:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
1.1       misho    6180:     ;;
                   6181:   *)
1.1.1.2 ! misho    6182:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
1.1       misho    6183:     ;;
                   6184:   esac
1.1.1.2 ! misho    6185:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
1.1       misho    6186: fi
                   6187: 
1.1.1.2 ! misho    6188: case $host_os in
        !          6189:   darwin*)
        !          6190:     lock_old_archive_extraction=yes ;;
        !          6191:   *)
        !          6192:     lock_old_archive_extraction=no ;;
        !          6193: esac
        !          6194: 
        !          6195: 
        !          6196: 
        !          6197: 
        !          6198: 
        !          6199: 
1.1       misho    6200: 
                   6201: 
                   6202: 
                   6203: 
                   6204: 
                   6205: 
                   6206: 
                   6207: 
                   6208: 
                   6209: 
                   6210: 
                   6211: 
                   6212: 
                   6213: 
                   6214: 
                   6215: 
                   6216: 
                   6217: 
                   6218: 
                   6219: 
                   6220: 
                   6221: 
                   6222: 
                   6223: 
                   6224: 
                   6225: 
                   6226: 
                   6227: 
                   6228: 
                   6229: 
                   6230: 
                   6231: 
                   6232: 
                   6233: # If no C compiler was specified, use CC.
                   6234: LTCC=${LTCC-"$CC"}
                   6235: 
                   6236: # If no C compiler flags were specified, use CFLAGS.
                   6237: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   6238: 
                   6239: # Allow CC to be a program name with arguments.
                   6240: compiler=$CC
                   6241: 
                   6242: 
                   6243: # Check for command to grab the raw symbol name followed by C symbol from nm.
                   6244: { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
                   6245: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
1.1.1.2 ! misho    6246: if ${lt_cv_sys_global_symbol_pipe+:} false; then :
1.1       misho    6247:   $as_echo_n "(cached) " >&6
                   6248: else
                   6249: 
                   6250: # These are sane defaults that work on at least a few old systems.
                   6251: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
                   6252: 
                   6253: # Character class describing NM global symbol codes.
                   6254: symcode='[BCDEGRST]'
                   6255: 
                   6256: # Regexp to match symbols that can be accessed directly from C.
                   6257: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
                   6258: 
                   6259: # Define system-specific variables.
                   6260: case $host_os in
                   6261: aix*)
                   6262:   symcode='[BCDT]'
                   6263:   ;;
                   6264: cygwin* | mingw* | pw32* | cegcc*)
                   6265:   symcode='[ABCDGISTW]'
                   6266:   ;;
                   6267: hpux*)
                   6268:   if test "$host_cpu" = ia64; then
                   6269:     symcode='[ABCDEGRST]'
                   6270:   fi
                   6271:   ;;
                   6272: irix* | nonstopux*)
                   6273:   symcode='[BCDEGRST]'
                   6274:   ;;
                   6275: osf*)
                   6276:   symcode='[BCDEGQRST]'
                   6277:   ;;
                   6278: solaris*)
                   6279:   symcode='[BDRT]'
                   6280:   ;;
                   6281: sco3.2v5*)
                   6282:   symcode='[DT]'
                   6283:   ;;
                   6284: sysv4.2uw2*)
                   6285:   symcode='[DT]'
                   6286:   ;;
                   6287: sysv5* | sco5v6* | unixware* | OpenUNIX*)
                   6288:   symcode='[ABDT]'
                   6289:   ;;
                   6290: sysv4)
                   6291:   symcode='[DFNSTU]'
                   6292:   ;;
                   6293: esac
                   6294: 
                   6295: # If we're using GNU nm, then use its standard symbol codes.
                   6296: case `$NM -V 2>&1` in
                   6297: *GNU* | *'with BFD'*)
                   6298:   symcode='[ABCDGIRSTW]' ;;
                   6299: esac
                   6300: 
                   6301: # Transform an extracted symbol line into a proper C declaration.
                   6302: # Some systems (esp. on ia64) link data and code symbols differently,
                   6303: # so use this general approach.
                   6304: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
                   6305: 
                   6306: # Transform an extracted symbol line into symbol name and symbol address
1.1.1.2 ! misho    6307: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
        !          6308: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
1.1       misho    6309: 
                   6310: # Handle CRLF in mingw tool chain
                   6311: opt_cr=
                   6312: case $build_os in
                   6313: mingw*)
                   6314:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
                   6315:   ;;
                   6316: esac
                   6317: 
                   6318: # Try without a prefix underscore, then with it.
                   6319: for ac_symprfx in "" "_"; do
                   6320: 
                   6321:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
                   6322:   symxfrm="\\1 $ac_symprfx\\2 \\2"
                   6323: 
                   6324:   # Write the raw and C identifiers.
                   6325:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   6326:     # Fake it for dumpbin and say T for any non-static function
                   6327:     # and D for any global variable.
                   6328:     # Also find C++ and __fastcall symbols from MSVC++,
                   6329:     # which start with @ or ?.
                   6330:     lt_cv_sys_global_symbol_pipe="$AWK '"\
                   6331: "     {last_section=section; section=\$ 3};"\
1.1.1.2 ! misho    6332: "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
1.1       misho    6333: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
                   6334: "     \$ 0!~/External *\|/{next};"\
                   6335: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
                   6336: "     {if(hide[section]) next};"\
                   6337: "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
                   6338: "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
                   6339: "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
                   6340: "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
                   6341: "     ' prfx=^$ac_symprfx"
                   6342:   else
                   6343:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
                   6344:   fi
1.1.1.2 ! misho    6345:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
1.1       misho    6346: 
                   6347:   # Check to see that the pipe works correctly.
                   6348:   pipe_works=no
                   6349: 
                   6350:   rm -f conftest*
                   6351:   cat > conftest.$ac_ext <<_LT_EOF
                   6352: #ifdef __cplusplus
                   6353: extern "C" {
                   6354: #endif
                   6355: char nm_test_var;
                   6356: void nm_test_func(void);
                   6357: void nm_test_func(void){}
                   6358: #ifdef __cplusplus
                   6359: }
                   6360: #endif
                   6361: int main(){nm_test_var='a';nm_test_func();return(0);}
                   6362: _LT_EOF
                   6363: 
                   6364:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   6365:   (eval $ac_compile) 2>&5
                   6366:   ac_status=$?
                   6367:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6368:   test $ac_status = 0; }; then
                   6369:     # Now try to grab the symbols.
                   6370:     nlist=conftest.nm
1.1.1.2 ! misho    6371:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
        !          6372:   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
1.1       misho    6373:   ac_status=$?
                   6374:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6375:   test $ac_status = 0; } && test -s "$nlist"; then
                   6376:       # Try sorting and uniquifying the output.
                   6377:       if sort "$nlist" | uniq > "$nlist"T; then
                   6378:        mv -f "$nlist"T "$nlist"
                   6379:       else
                   6380:        rm -f "$nlist"T
                   6381:       fi
                   6382: 
                   6383:       # Make sure that we snagged all the symbols we need.
                   6384:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
                   6385:        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
                   6386:          cat <<_LT_EOF > conftest.$ac_ext
1.1.1.2 ! misho    6387: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
        !          6388: #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
        !          6389: /* DATA imports from DLLs on WIN32 con't be const, because runtime
        !          6390:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
        !          6391: # define LT_DLSYM_CONST
        !          6392: #elif defined(__osf__)
        !          6393: /* This system does not cope well with relocations in const data.  */
        !          6394: # define LT_DLSYM_CONST
        !          6395: #else
        !          6396: # define LT_DLSYM_CONST const
        !          6397: #endif
        !          6398: 
1.1       misho    6399: #ifdef __cplusplus
                   6400: extern "C" {
                   6401: #endif
                   6402: 
                   6403: _LT_EOF
                   6404:          # Now generate the symbol file.
                   6405:          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
                   6406: 
                   6407:          cat <<_LT_EOF >> conftest.$ac_ext
                   6408: 
                   6409: /* The mapping between symbol names and symbols.  */
1.1.1.2 ! misho    6410: LT_DLSYM_CONST struct {
1.1       misho    6411:   const char *name;
                   6412:   void       *address;
                   6413: }
                   6414: lt__PROGRAM__LTX_preloaded_symbols[] =
                   6415: {
                   6416:   { "@PROGRAM@", (void *) 0 },
                   6417: _LT_EOF
                   6418:          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
                   6419:          cat <<\_LT_EOF >> conftest.$ac_ext
                   6420:   {0, (void *) 0}
                   6421: };
                   6422: 
                   6423: /* This works around a problem in FreeBSD linker */
                   6424: #ifdef FREEBSD_WORKAROUND
                   6425: static const void *lt_preloaded_setup() {
                   6426:   return lt__PROGRAM__LTX_preloaded_symbols;
                   6427: }
                   6428: #endif
                   6429: 
                   6430: #ifdef __cplusplus
                   6431: }
                   6432: #endif
                   6433: _LT_EOF
                   6434:          # Now try linking the two files.
                   6435:          mv conftest.$ac_objext conftstm.$ac_objext
1.1.1.2 ! misho    6436:          lt_globsym_save_LIBS=$LIBS
        !          6437:          lt_globsym_save_CFLAGS=$CFLAGS
1.1       misho    6438:          LIBS="conftstm.$ac_objext"
                   6439:          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
                   6440:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
                   6441:   (eval $ac_link) 2>&5
                   6442:   ac_status=$?
                   6443:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6444:   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
                   6445:            pipe_works=yes
                   6446:          fi
1.1.1.2 ! misho    6447:          LIBS=$lt_globsym_save_LIBS
        !          6448:          CFLAGS=$lt_globsym_save_CFLAGS
1.1       misho    6449:        else
                   6450:          echo "cannot find nm_test_func in $nlist" >&5
                   6451:        fi
                   6452:       else
                   6453:        echo "cannot find nm_test_var in $nlist" >&5
                   6454:       fi
                   6455:     else
                   6456:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   6457:     fi
                   6458:   else
                   6459:     echo "$progname: failed program was:" >&5
                   6460:     cat conftest.$ac_ext >&5
                   6461:   fi
                   6462:   rm -rf conftest* conftst*
                   6463: 
                   6464:   # Do not use the global_symbol_pipe unless it works.
                   6465:   if test "$pipe_works" = yes; then
                   6466:     break
                   6467:   else
                   6468:     lt_cv_sys_global_symbol_pipe=
                   6469:   fi
                   6470: done
                   6471: 
                   6472: fi
                   6473: 
                   6474: if test -z "$lt_cv_sys_global_symbol_pipe"; then
                   6475:   lt_cv_sys_global_symbol_to_cdecl=
                   6476: fi
                   6477: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
                   6478:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
                   6479: $as_echo "failed" >&6; }
                   6480: else
                   6481:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
                   6482: $as_echo "ok" >&6; }
                   6483: fi
                   6484: 
1.1.1.2 ! misho    6485: # Response file support.
        !          6486: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
        !          6487:   nm_file_list_spec='@'
        !          6488: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
        !          6489:   nm_file_list_spec='@'
        !          6490: fi
        !          6491: 
        !          6492: 
        !          6493: 
        !          6494: 
        !          6495: 
        !          6496: 
        !          6497: 
        !          6498: 
        !          6499: 
        !          6500: 
        !          6501: 
        !          6502: 
        !          6503: 
1.1       misho    6504: 
                   6505: 
                   6506: 
                   6507: 
                   6508: 
                   6509: 
                   6510: 
                   6511: 
                   6512: 
                   6513: 
                   6514: 
                   6515: 
                   6516: 
                   6517: 
1.1.1.2 ! misho    6518: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
        !          6519: $as_echo_n "checking for sysroot... " >&6; }
1.1       misho    6520: 
1.1.1.2 ! misho    6521: # Check whether --with-sysroot was given.
        !          6522: if test "${with_sysroot+set}" = set; then :
        !          6523:   withval=$with_sysroot;
        !          6524: else
        !          6525:   with_sysroot=no
        !          6526: fi
        !          6527: 
        !          6528: 
        !          6529: lt_sysroot=
        !          6530: case ${with_sysroot} in #(
        !          6531:  yes)
        !          6532:    if test "$GCC" = yes; then
        !          6533:      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
        !          6534:    fi
        !          6535:    ;; #(
        !          6536:  /*)
        !          6537:    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
        !          6538:    ;; #(
        !          6539:  no|'')
        !          6540:    ;; #(
        !          6541:  *)
        !          6542:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
        !          6543: $as_echo "${with_sysroot}" >&6; }
        !          6544:    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
        !          6545:    ;;
        !          6546: esac
1.1       misho    6547: 
1.1.1.2 ! misho    6548:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
        !          6549: $as_echo "${lt_sysroot:-no}" >&6; }
1.1       misho    6550: 
                   6551: 
                   6552: 
                   6553: 
                   6554: 
                   6555: # Check whether --enable-libtool-lock was given.
                   6556: if test "${enable_libtool_lock+set}" = set; then :
                   6557:   enableval=$enable_libtool_lock;
                   6558: fi
                   6559: 
                   6560: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
                   6561: 
                   6562: # Some flags need to be propagated to the compiler or linker for good
                   6563: # libtool support.
                   6564: case $host in
                   6565: ia64-*-hpux*)
                   6566:   # Find out which ABI we are using.
                   6567:   echo 'int i;' > conftest.$ac_ext
                   6568:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   6569:   (eval $ac_compile) 2>&5
                   6570:   ac_status=$?
                   6571:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6572:   test $ac_status = 0; }; then
                   6573:     case `/usr/bin/file conftest.$ac_objext` in
                   6574:       *ELF-32*)
                   6575:        HPUX_IA64_MODE="32"
                   6576:        ;;
                   6577:       *ELF-64*)
                   6578:        HPUX_IA64_MODE="64"
                   6579:        ;;
                   6580:     esac
                   6581:   fi
                   6582:   rm -rf conftest*
                   6583:   ;;
                   6584: *-*-irix6*)
                   6585:   # Find out which ABI we are using.
1.1.1.2 ! misho    6586:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
1.1       misho    6587:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   6588:   (eval $ac_compile) 2>&5
                   6589:   ac_status=$?
                   6590:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6591:   test $ac_status = 0; }; then
                   6592:     if test "$lt_cv_prog_gnu_ld" = yes; then
                   6593:       case `/usr/bin/file conftest.$ac_objext` in
                   6594:        *32-bit*)
                   6595:          LD="${LD-ld} -melf32bsmip"
                   6596:          ;;
                   6597:        *N32*)
                   6598:          LD="${LD-ld} -melf32bmipn32"
                   6599:          ;;
                   6600:        *64-bit*)
                   6601:          LD="${LD-ld} -melf64bmip"
                   6602:        ;;
                   6603:       esac
                   6604:     else
                   6605:       case `/usr/bin/file conftest.$ac_objext` in
                   6606:        *32-bit*)
                   6607:          LD="${LD-ld} -32"
                   6608:          ;;
                   6609:        *N32*)
                   6610:          LD="${LD-ld} -n32"
                   6611:          ;;
                   6612:        *64-bit*)
                   6613:          LD="${LD-ld} -64"
                   6614:          ;;
                   6615:       esac
                   6616:     fi
                   6617:   fi
                   6618:   rm -rf conftest*
                   6619:   ;;
                   6620: 
                   6621: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
                   6622: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
                   6623:   # Find out which ABI we are using.
                   6624:   echo 'int i;' > conftest.$ac_ext
                   6625:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   6626:   (eval $ac_compile) 2>&5
                   6627:   ac_status=$?
                   6628:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6629:   test $ac_status = 0; }; then
                   6630:     case `/usr/bin/file conftest.o` in
                   6631:       *32-bit*)
                   6632:        case $host in
                   6633:          x86_64-*kfreebsd*-gnu)
                   6634:            LD="${LD-ld} -m elf_i386_fbsd"
                   6635:            ;;
                   6636:          x86_64-*linux*)
                   6637:            LD="${LD-ld} -m elf_i386"
                   6638:            ;;
                   6639:          ppc64-*linux*|powerpc64-*linux*)
                   6640:            LD="${LD-ld} -m elf32ppclinux"
                   6641:            ;;
                   6642:          s390x-*linux*)
                   6643:            LD="${LD-ld} -m elf_s390"
                   6644:            ;;
                   6645:          sparc64-*linux*)
                   6646:            LD="${LD-ld} -m elf32_sparc"
                   6647:            ;;
                   6648:        esac
                   6649:        ;;
                   6650:       *64-bit*)
                   6651:        case $host in
                   6652:          x86_64-*kfreebsd*-gnu)
                   6653:            LD="${LD-ld} -m elf_x86_64_fbsd"
                   6654:            ;;
                   6655:          x86_64-*linux*)
                   6656:            LD="${LD-ld} -m elf_x86_64"
                   6657:            ;;
                   6658:          ppc*-*linux*|powerpc*-*linux*)
                   6659:            LD="${LD-ld} -m elf64ppc"
                   6660:            ;;
                   6661:          s390*-*linux*|s390*-*tpf*)
                   6662:            LD="${LD-ld} -m elf64_s390"
                   6663:            ;;
                   6664:          sparc*-*linux*)
                   6665:            LD="${LD-ld} -m elf64_sparc"
                   6666:            ;;
                   6667:        esac
                   6668:        ;;
                   6669:     esac
                   6670:   fi
1.1.1.2 ! misho    6671:   rm -rf conftest*
        !          6672:   ;;
        !          6673: 
        !          6674: *-*-sco3.2v5*)
        !          6675:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
        !          6676:   SAVE_CFLAGS="$CFLAGS"
        !          6677:   CFLAGS="$CFLAGS -belf"
        !          6678:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
        !          6679: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
        !          6680: if ${lt_cv_cc_needs_belf+:} false; then :
        !          6681:   $as_echo_n "(cached) " >&6
        !          6682: else
        !          6683:   ac_ext=c
        !          6684: ac_cpp='$CPP $CPPFLAGS'
        !          6685: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          6686: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          6687: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          6688: 
        !          6689:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          6690: /* end confdefs.h.  */
        !          6691: 
        !          6692: int
        !          6693: main ()
        !          6694: {
        !          6695: 
        !          6696:   ;
        !          6697:   return 0;
        !          6698: }
        !          6699: _ACEOF
        !          6700: if ac_fn_c_try_link "$LINENO"; then :
        !          6701:   lt_cv_cc_needs_belf=yes
        !          6702: else
        !          6703:   lt_cv_cc_needs_belf=no
        !          6704: fi
        !          6705: rm -f core conftest.err conftest.$ac_objext \
        !          6706:     conftest$ac_exeext conftest.$ac_ext
        !          6707:      ac_ext=c
        !          6708: ac_cpp='$CPP $CPPFLAGS'
        !          6709: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
        !          6710: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
        !          6711: ac_compiler_gnu=$ac_cv_c_compiler_gnu
        !          6712: 
        !          6713: fi
        !          6714: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
        !          6715: $as_echo "$lt_cv_cc_needs_belf" >&6; }
        !          6716:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
        !          6717:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
        !          6718:     CFLAGS="$SAVE_CFLAGS"
        !          6719:   fi
        !          6720:   ;;
        !          6721: *-*solaris*)
        !          6722:   # Find out which ABI we are using.
        !          6723:   echo 'int i;' > conftest.$ac_ext
        !          6724:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
        !          6725:   (eval $ac_compile) 2>&5
        !          6726:   ac_status=$?
        !          6727:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          6728:   test $ac_status = 0; }; then
        !          6729:     case `/usr/bin/file conftest.o` in
        !          6730:     *64-bit*)
        !          6731:       case $lt_cv_prog_gnu_ld in
        !          6732:       yes*)
        !          6733:         case $host in
        !          6734:         i?86-*-solaris*)
        !          6735:           LD="${LD-ld} -m elf_x86_64"
        !          6736:           ;;
        !          6737:         sparc*-*-solaris*)
        !          6738:           LD="${LD-ld} -m elf64_sparc"
        !          6739:           ;;
        !          6740:         esac
        !          6741:         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
        !          6742:         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
        !          6743:           LD="${LD-ld}_sol2"
        !          6744:         fi
        !          6745:         ;;
        !          6746:       *)
        !          6747:        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
        !          6748:          LD="${LD-ld} -64"
        !          6749:        fi
        !          6750:        ;;
        !          6751:       esac
        !          6752:       ;;
        !          6753:     esac
        !          6754:   fi
        !          6755:   rm -rf conftest*
        !          6756:   ;;
        !          6757: esac
        !          6758: 
        !          6759: need_locks="$enable_libtool_lock"
        !          6760: 
        !          6761: if test -n "$ac_tool_prefix"; then
        !          6762:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
        !          6763: set dummy ${ac_tool_prefix}mt; ac_word=$2
        !          6764: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          6765: $as_echo_n "checking for $ac_word... " >&6; }
        !          6766: if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
        !          6767:   $as_echo_n "(cached) " >&6
        !          6768: else
        !          6769:   if test -n "$MANIFEST_TOOL"; then
        !          6770:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
        !          6771: else
        !          6772: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          6773: for as_dir in $PATH
        !          6774: do
        !          6775:   IFS=$as_save_IFS
        !          6776:   test -z "$as_dir" && as_dir=.
        !          6777:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          6778:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          6779:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
        !          6780:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          6781:     break 2
        !          6782:   fi
        !          6783: done
        !          6784:   done
        !          6785: IFS=$as_save_IFS
        !          6786: 
        !          6787: fi
        !          6788: fi
        !          6789: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
        !          6790: if test -n "$MANIFEST_TOOL"; then
        !          6791:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
        !          6792: $as_echo "$MANIFEST_TOOL" >&6; }
        !          6793: else
        !          6794:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6795: $as_echo "no" >&6; }
        !          6796: fi
        !          6797: 
        !          6798: 
        !          6799: fi
        !          6800: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
        !          6801:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
        !          6802:   # Extract the first word of "mt", so it can be a program name with args.
        !          6803: set dummy mt; ac_word=$2
        !          6804: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          6805: $as_echo_n "checking for $ac_word... " >&6; }
        !          6806: if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
        !          6807:   $as_echo_n "(cached) " >&6
        !          6808: else
        !          6809:   if test -n "$ac_ct_MANIFEST_TOOL"; then
        !          6810:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
        !          6811: else
        !          6812: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          6813: for as_dir in $PATH
        !          6814: do
        !          6815:   IFS=$as_save_IFS
        !          6816:   test -z "$as_dir" && as_dir=.
        !          6817:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          6818:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
        !          6819:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
        !          6820:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          6821:     break 2
        !          6822:   fi
        !          6823: done
        !          6824:   done
        !          6825: IFS=$as_save_IFS
        !          6826: 
        !          6827: fi
        !          6828: fi
        !          6829: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
        !          6830: if test -n "$ac_ct_MANIFEST_TOOL"; then
        !          6831:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
        !          6832: $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
        !          6833: else
        !          6834:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6835: $as_echo "no" >&6; }
        !          6836: fi
        !          6837: 
        !          6838:   if test "x$ac_ct_MANIFEST_TOOL" = x; then
        !          6839:     MANIFEST_TOOL=":"
        !          6840:   else
        !          6841:     case $cross_compiling:$ac_tool_warned in
        !          6842: yes:)
        !          6843: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          6844: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          6845: ac_tool_warned=yes ;;
        !          6846: esac
        !          6847:     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
        !          6848:   fi
        !          6849: else
        !          6850:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
        !          6851: fi
1.1       misho    6852: 
1.1.1.2 ! misho    6853: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
        !          6854: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
        !          6855: $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
        !          6856: if ${lt_cv_path_mainfest_tool+:} false; then :
1.1       misho    6857:   $as_echo_n "(cached) " >&6
                   6858: else
1.1.1.2 ! misho    6859:   lt_cv_path_mainfest_tool=no
        !          6860:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
        !          6861:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
        !          6862:   cat conftest.err >&5
        !          6863:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
        !          6864:     lt_cv_path_mainfest_tool=yes
        !          6865:   fi
        !          6866:   rm -f conftest*
        !          6867: fi
        !          6868: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
        !          6869: $as_echo "$lt_cv_path_mainfest_tool" >&6; }
        !          6870: if test "x$lt_cv_path_mainfest_tool" != xyes; then
        !          6871:   MANIFEST_TOOL=:
        !          6872: fi
1.1       misho    6873: 
                   6874: 
                   6875: 
                   6876: 
                   6877: 
                   6878: 
                   6879:   case $host_os in
                   6880:     rhapsody* | darwin*)
                   6881:     if test -n "$ac_tool_prefix"; then
                   6882:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
                   6883: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
                   6884: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6885: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    6886: if ${ac_cv_prog_DSYMUTIL+:} false; then :
1.1       misho    6887:   $as_echo_n "(cached) " >&6
                   6888: else
                   6889:   if test -n "$DSYMUTIL"; then
                   6890:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
                   6891: else
                   6892: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6893: for as_dir in $PATH
                   6894: do
                   6895:   IFS=$as_save_IFS
                   6896:   test -z "$as_dir" && as_dir=.
                   6897:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    6898:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    6899:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
                   6900:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6901:     break 2
                   6902:   fi
                   6903: done
                   6904:   done
                   6905: IFS=$as_save_IFS
                   6906: 
                   6907: fi
                   6908: fi
                   6909: DSYMUTIL=$ac_cv_prog_DSYMUTIL
                   6910: if test -n "$DSYMUTIL"; then
                   6911:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
                   6912: $as_echo "$DSYMUTIL" >&6; }
                   6913: else
                   6914:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6915: $as_echo "no" >&6; }
                   6916: fi
                   6917: 
                   6918: 
                   6919: fi
                   6920: if test -z "$ac_cv_prog_DSYMUTIL"; then
                   6921:   ac_ct_DSYMUTIL=$DSYMUTIL
                   6922:   # Extract the first word of "dsymutil", so it can be a program name with args.
                   6923: set dummy dsymutil; ac_word=$2
                   6924: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6925: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    6926: if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
1.1       misho    6927:   $as_echo_n "(cached) " >&6
                   6928: else
                   6929:   if test -n "$ac_ct_DSYMUTIL"; then
                   6930:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
                   6931: else
                   6932: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6933: for as_dir in $PATH
                   6934: do
                   6935:   IFS=$as_save_IFS
                   6936:   test -z "$as_dir" && as_dir=.
                   6937:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    6938:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    6939:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
                   6940:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6941:     break 2
                   6942:   fi
                   6943: done
                   6944:   done
                   6945: IFS=$as_save_IFS
                   6946: 
                   6947: fi
                   6948: fi
                   6949: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
                   6950: if test -n "$ac_ct_DSYMUTIL"; then
                   6951:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
                   6952: $as_echo "$ac_ct_DSYMUTIL" >&6; }
                   6953: else
                   6954:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6955: $as_echo "no" >&6; }
                   6956: fi
                   6957: 
                   6958:   if test "x$ac_ct_DSYMUTIL" = x; then
                   6959:     DSYMUTIL=":"
                   6960:   else
                   6961:     case $cross_compiling:$ac_tool_warned in
                   6962: yes:)
                   6963: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6964: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6965: ac_tool_warned=yes ;;
                   6966: esac
                   6967:     DSYMUTIL=$ac_ct_DSYMUTIL
                   6968:   fi
                   6969: else
                   6970:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
                   6971: fi
                   6972: 
                   6973:     if test -n "$ac_tool_prefix"; then
                   6974:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
                   6975: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
                   6976: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6977: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    6978: if ${ac_cv_prog_NMEDIT+:} false; then :
1.1       misho    6979:   $as_echo_n "(cached) " >&6
                   6980: else
                   6981:   if test -n "$NMEDIT"; then
                   6982:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
                   6983: else
                   6984: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6985: for as_dir in $PATH
                   6986: do
                   6987:   IFS=$as_save_IFS
                   6988:   test -z "$as_dir" && as_dir=.
                   6989:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    6990:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    6991:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
                   6992:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6993:     break 2
                   6994:   fi
                   6995: done
                   6996:   done
                   6997: IFS=$as_save_IFS
                   6998: 
                   6999: fi
                   7000: fi
                   7001: NMEDIT=$ac_cv_prog_NMEDIT
                   7002: if test -n "$NMEDIT"; then
                   7003:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
                   7004: $as_echo "$NMEDIT" >&6; }
                   7005: else
                   7006:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7007: $as_echo "no" >&6; }
                   7008: fi
                   7009: 
                   7010: 
                   7011: fi
                   7012: if test -z "$ac_cv_prog_NMEDIT"; then
                   7013:   ac_ct_NMEDIT=$NMEDIT
                   7014:   # Extract the first word of "nmedit", so it can be a program name with args.
                   7015: set dummy nmedit; ac_word=$2
                   7016: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7017: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    7018: if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
1.1       misho    7019:   $as_echo_n "(cached) " >&6
                   7020: else
                   7021:   if test -n "$ac_ct_NMEDIT"; then
                   7022:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
                   7023: else
                   7024: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7025: for as_dir in $PATH
                   7026: do
                   7027:   IFS=$as_save_IFS
                   7028:   test -z "$as_dir" && as_dir=.
                   7029:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    7030:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    7031:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
                   7032:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7033:     break 2
                   7034:   fi
                   7035: done
                   7036:   done
                   7037: IFS=$as_save_IFS
                   7038: 
                   7039: fi
                   7040: fi
                   7041: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
                   7042: if test -n "$ac_ct_NMEDIT"; then
                   7043:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
                   7044: $as_echo "$ac_ct_NMEDIT" >&6; }
                   7045: else
                   7046:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7047: $as_echo "no" >&6; }
                   7048: fi
                   7049: 
                   7050:   if test "x$ac_ct_NMEDIT" = x; then
                   7051:     NMEDIT=":"
                   7052:   else
                   7053:     case $cross_compiling:$ac_tool_warned in
                   7054: yes:)
                   7055: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7056: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7057: ac_tool_warned=yes ;;
                   7058: esac
                   7059:     NMEDIT=$ac_ct_NMEDIT
                   7060:   fi
                   7061: else
                   7062:   NMEDIT="$ac_cv_prog_NMEDIT"
                   7063: fi
                   7064: 
                   7065:     if test -n "$ac_tool_prefix"; then
                   7066:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
                   7067: set dummy ${ac_tool_prefix}lipo; ac_word=$2
                   7068: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7069: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    7070: if ${ac_cv_prog_LIPO+:} false; then :
1.1       misho    7071:   $as_echo_n "(cached) " >&6
                   7072: else
                   7073:   if test -n "$LIPO"; then
                   7074:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
                   7075: else
                   7076: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7077: for as_dir in $PATH
                   7078: do
                   7079:   IFS=$as_save_IFS
                   7080:   test -z "$as_dir" && as_dir=.
                   7081:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    7082:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    7083:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
                   7084:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7085:     break 2
                   7086:   fi
                   7087: done
                   7088:   done
                   7089: IFS=$as_save_IFS
                   7090: 
                   7091: fi
                   7092: fi
                   7093: LIPO=$ac_cv_prog_LIPO
                   7094: if test -n "$LIPO"; then
                   7095:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
                   7096: $as_echo "$LIPO" >&6; }
                   7097: else
                   7098:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7099: $as_echo "no" >&6; }
                   7100: fi
                   7101: 
                   7102: 
                   7103: fi
                   7104: if test -z "$ac_cv_prog_LIPO"; then
                   7105:   ac_ct_LIPO=$LIPO
                   7106:   # Extract the first word of "lipo", so it can be a program name with args.
                   7107: set dummy lipo; ac_word=$2
                   7108: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7109: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    7110: if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
1.1       misho    7111:   $as_echo_n "(cached) " >&6
                   7112: else
                   7113:   if test -n "$ac_ct_LIPO"; then
                   7114:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
                   7115: else
                   7116: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7117: for as_dir in $PATH
                   7118: do
                   7119:   IFS=$as_save_IFS
                   7120:   test -z "$as_dir" && as_dir=.
                   7121:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    7122:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    7123:     ac_cv_prog_ac_ct_LIPO="lipo"
                   7124:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7125:     break 2
                   7126:   fi
                   7127: done
                   7128:   done
                   7129: IFS=$as_save_IFS
                   7130: 
                   7131: fi
                   7132: fi
                   7133: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
                   7134: if test -n "$ac_ct_LIPO"; then
                   7135:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
                   7136: $as_echo "$ac_ct_LIPO" >&6; }
                   7137: else
                   7138:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7139: $as_echo "no" >&6; }
                   7140: fi
                   7141: 
                   7142:   if test "x$ac_ct_LIPO" = x; then
                   7143:     LIPO=":"
                   7144:   else
                   7145:     case $cross_compiling:$ac_tool_warned in
                   7146: yes:)
                   7147: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7148: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7149: ac_tool_warned=yes ;;
                   7150: esac
                   7151:     LIPO=$ac_ct_LIPO
                   7152:   fi
                   7153: else
                   7154:   LIPO="$ac_cv_prog_LIPO"
                   7155: fi
                   7156: 
                   7157:     if test -n "$ac_tool_prefix"; then
                   7158:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
                   7159: set dummy ${ac_tool_prefix}otool; ac_word=$2
                   7160: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7161: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    7162: if ${ac_cv_prog_OTOOL+:} false; then :
1.1       misho    7163:   $as_echo_n "(cached) " >&6
                   7164: else
                   7165:   if test -n "$OTOOL"; then
                   7166:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
                   7167: else
                   7168: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7169: for as_dir in $PATH
                   7170: do
                   7171:   IFS=$as_save_IFS
                   7172:   test -z "$as_dir" && as_dir=.
                   7173:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    7174:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    7175:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
                   7176:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7177:     break 2
                   7178:   fi
                   7179: done
                   7180:   done
                   7181: IFS=$as_save_IFS
                   7182: 
                   7183: fi
                   7184: fi
                   7185: OTOOL=$ac_cv_prog_OTOOL
                   7186: if test -n "$OTOOL"; then
                   7187:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
                   7188: $as_echo "$OTOOL" >&6; }
                   7189: else
                   7190:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7191: $as_echo "no" >&6; }
                   7192: fi
                   7193: 
                   7194: 
                   7195: fi
                   7196: if test -z "$ac_cv_prog_OTOOL"; then
                   7197:   ac_ct_OTOOL=$OTOOL
                   7198:   # Extract the first word of "otool", so it can be a program name with args.
                   7199: set dummy otool; ac_word=$2
                   7200: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7201: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    7202: if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
1.1       misho    7203:   $as_echo_n "(cached) " >&6
                   7204: else
                   7205:   if test -n "$ac_ct_OTOOL"; then
                   7206:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
                   7207: else
                   7208: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7209: for as_dir in $PATH
                   7210: do
                   7211:   IFS=$as_save_IFS
                   7212:   test -z "$as_dir" && as_dir=.
                   7213:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    7214:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    7215:     ac_cv_prog_ac_ct_OTOOL="otool"
                   7216:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7217:     break 2
                   7218:   fi
                   7219: done
                   7220:   done
                   7221: IFS=$as_save_IFS
                   7222: 
                   7223: fi
                   7224: fi
                   7225: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
                   7226: if test -n "$ac_ct_OTOOL"; then
                   7227:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
                   7228: $as_echo "$ac_ct_OTOOL" >&6; }
                   7229: else
                   7230:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7231: $as_echo "no" >&6; }
                   7232: fi
                   7233: 
                   7234:   if test "x$ac_ct_OTOOL" = x; then
                   7235:     OTOOL=":"
                   7236:   else
                   7237:     case $cross_compiling:$ac_tool_warned in
                   7238: yes:)
                   7239: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7240: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7241: ac_tool_warned=yes ;;
                   7242: esac
                   7243:     OTOOL=$ac_ct_OTOOL
                   7244:   fi
                   7245: else
                   7246:   OTOOL="$ac_cv_prog_OTOOL"
                   7247: fi
                   7248: 
                   7249:     if test -n "$ac_tool_prefix"; then
                   7250:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
                   7251: set dummy ${ac_tool_prefix}otool64; ac_word=$2
                   7252: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7253: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    7254: if ${ac_cv_prog_OTOOL64+:} false; then :
1.1       misho    7255:   $as_echo_n "(cached) " >&6
                   7256: else
                   7257:   if test -n "$OTOOL64"; then
                   7258:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
                   7259: else
                   7260: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7261: for as_dir in $PATH
                   7262: do
                   7263:   IFS=$as_save_IFS
                   7264:   test -z "$as_dir" && as_dir=.
                   7265:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    7266:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    7267:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
                   7268:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7269:     break 2
                   7270:   fi
                   7271: done
                   7272:   done
                   7273: IFS=$as_save_IFS
                   7274: 
                   7275: fi
                   7276: fi
                   7277: OTOOL64=$ac_cv_prog_OTOOL64
                   7278: if test -n "$OTOOL64"; then
                   7279:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
                   7280: $as_echo "$OTOOL64" >&6; }
                   7281: else
                   7282:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7283: $as_echo "no" >&6; }
                   7284: fi
                   7285: 
                   7286: 
                   7287: fi
                   7288: if test -z "$ac_cv_prog_OTOOL64"; then
                   7289:   ac_ct_OTOOL64=$OTOOL64
                   7290:   # Extract the first word of "otool64", so it can be a program name with args.
                   7291: set dummy otool64; ac_word=$2
                   7292: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7293: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    7294: if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
1.1       misho    7295:   $as_echo_n "(cached) " >&6
                   7296: else
                   7297:   if test -n "$ac_ct_OTOOL64"; then
                   7298:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
                   7299: else
                   7300: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7301: for as_dir in $PATH
                   7302: do
                   7303:   IFS=$as_save_IFS
                   7304:   test -z "$as_dir" && as_dir=.
                   7305:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    7306:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    7307:     ac_cv_prog_ac_ct_OTOOL64="otool64"
                   7308:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7309:     break 2
                   7310:   fi
                   7311: done
                   7312:   done
                   7313: IFS=$as_save_IFS
                   7314: 
                   7315: fi
                   7316: fi
                   7317: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
                   7318: if test -n "$ac_ct_OTOOL64"; then
                   7319:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
                   7320: $as_echo "$ac_ct_OTOOL64" >&6; }
                   7321: else
                   7322:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7323: $as_echo "no" >&6; }
                   7324: fi
                   7325: 
                   7326:   if test "x$ac_ct_OTOOL64" = x; then
                   7327:     OTOOL64=":"
                   7328:   else
                   7329:     case $cross_compiling:$ac_tool_warned in
                   7330: yes:)
                   7331: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7332: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7333: ac_tool_warned=yes ;;
                   7334: esac
                   7335:     OTOOL64=$ac_ct_OTOOL64
                   7336:   fi
                   7337: else
                   7338:   OTOOL64="$ac_cv_prog_OTOOL64"
                   7339: fi
                   7340: 
                   7341: 
                   7342: 
                   7343: 
                   7344: 
                   7345: 
                   7346: 
                   7347: 
                   7348: 
                   7349: 
                   7350: 
                   7351: 
                   7352: 
                   7353: 
                   7354: 
                   7355: 
                   7356: 
                   7357: 
                   7358: 
                   7359: 
                   7360: 
                   7361: 
                   7362: 
                   7363: 
                   7364: 
                   7365: 
                   7366: 
                   7367:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
                   7368: $as_echo_n "checking for -single_module linker flag... " >&6; }
1.1.1.2 ! misho    7369: if ${lt_cv_apple_cc_single_mod+:} false; then :
1.1       misho    7370:   $as_echo_n "(cached) " >&6
                   7371: else
                   7372:   lt_cv_apple_cc_single_mod=no
                   7373:       if test -z "${LT_MULTI_MODULE}"; then
                   7374:        # By default we will add the -single_module flag. You can override
                   7375:        # by either setting the environment variable LT_MULTI_MODULE
                   7376:        # non-empty at configure time, or by adding -multi_module to the
                   7377:        # link flags.
                   7378:        rm -rf libconftest.dylib*
                   7379:        echo "int foo(void){return 1;}" > conftest.c
                   7380:        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   7381: -dynamiclib -Wl,-single_module conftest.c" >&5
                   7382:        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   7383:          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
                   7384:         _lt_result=$?
1.1.1.2 ! misho    7385:        # If there is a non-empty error log, and "single_module"
        !          7386:        # appears in it, assume the flag caused a linker warning
        !          7387:         if test -s conftest.err && $GREP single_module conftest.err; then
        !          7388:          cat conftest.err >&5
        !          7389:        # Otherwise, if the output was created with a 0 exit code from
        !          7390:        # the compiler, it worked.
        !          7391:        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
1.1       misho    7392:          lt_cv_apple_cc_single_mod=yes
                   7393:        else
                   7394:          cat conftest.err >&5
                   7395:        fi
                   7396:        rm -rf libconftest.dylib*
                   7397:        rm -f conftest.*
                   7398:       fi
                   7399: fi
                   7400: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
                   7401: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
1.1.1.2 ! misho    7402: 
1.1       misho    7403:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
                   7404: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
1.1.1.2 ! misho    7405: if ${lt_cv_ld_exported_symbols_list+:} false; then :
1.1       misho    7406:   $as_echo_n "(cached) " >&6
                   7407: else
                   7408:   lt_cv_ld_exported_symbols_list=no
                   7409:       save_LDFLAGS=$LDFLAGS
                   7410:       echo "_main" > conftest.sym
                   7411:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
                   7412:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7413: /* end confdefs.h.  */
                   7414: 
                   7415: int
                   7416: main ()
                   7417: {
                   7418: 
                   7419:   ;
                   7420:   return 0;
                   7421: }
                   7422: _ACEOF
                   7423: if ac_fn_c_try_link "$LINENO"; then :
                   7424:   lt_cv_ld_exported_symbols_list=yes
                   7425: else
                   7426:   lt_cv_ld_exported_symbols_list=no
                   7427: fi
                   7428: rm -f core conftest.err conftest.$ac_objext \
                   7429:     conftest$ac_exeext conftest.$ac_ext
                   7430:        LDFLAGS="$save_LDFLAGS"
                   7431: 
                   7432: fi
                   7433: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
                   7434: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
1.1.1.2 ! misho    7435: 
        !          7436:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
        !          7437: $as_echo_n "checking for -force_load linker flag... " >&6; }
        !          7438: if ${lt_cv_ld_force_load+:} false; then :
        !          7439:   $as_echo_n "(cached) " >&6
        !          7440: else
        !          7441:   lt_cv_ld_force_load=no
        !          7442:       cat > conftest.c << _LT_EOF
        !          7443: int forced_loaded() { return 2;}
        !          7444: _LT_EOF
        !          7445:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
        !          7446:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
        !          7447:       echo "$AR cru libconftest.a conftest.o" >&5
        !          7448:       $AR cru libconftest.a conftest.o 2>&5
        !          7449:       echo "$RANLIB libconftest.a" >&5
        !          7450:       $RANLIB libconftest.a 2>&5
        !          7451:       cat > conftest.c << _LT_EOF
        !          7452: int main() { return 0;}
        !          7453: _LT_EOF
        !          7454:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
        !          7455:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
        !          7456:       _lt_result=$?
        !          7457:       if test -s conftest.err && $GREP force_load conftest.err; then
        !          7458:        cat conftest.err >&5
        !          7459:       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
        !          7460:        lt_cv_ld_force_load=yes
        !          7461:       else
        !          7462:        cat conftest.err >&5
        !          7463:       fi
        !          7464:         rm -f conftest.err libconftest.a conftest conftest.c
        !          7465:         rm -rf conftest.dSYM
        !          7466: 
        !          7467: fi
        !          7468: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
        !          7469: $as_echo "$lt_cv_ld_force_load" >&6; }
1.1       misho    7470:     case $host_os in
                   7471:     rhapsody* | darwin1.[012])
                   7472:       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
                   7473:     darwin1.*)
                   7474:       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   7475:     darwin*) # darwin 5.x on
                   7476:       # if running on 10.5 or later, the deployment target defaults
                   7477:       # to the OS version, if on x86, and 10.4, the deployment
                   7478:       # target defaults to 10.4. Don't you love it?
                   7479:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
                   7480:        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
                   7481:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   7482:        10.[012]*)
                   7483:          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   7484:        10.*)
                   7485:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   7486:       esac
                   7487:     ;;
                   7488:   esac
                   7489:     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
                   7490:       _lt_dar_single_mod='$single_module'
                   7491:     fi
                   7492:     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
                   7493:       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
                   7494:     else
                   7495:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
                   7496:     fi
1.1.1.2 ! misho    7497:     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
1.1       misho    7498:       _lt_dsymutil='~$DSYMUTIL $lib || :'
                   7499:     else
                   7500:       _lt_dsymutil=
                   7501:     fi
                   7502:     ;;
                   7503:   esac
                   7504: 
                   7505: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
                   7506: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   7507:                  inttypes.h stdint.h unistd.h
                   7508: do :
                   7509:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   7510: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   7511: "
                   7512: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   7513:   cat >>confdefs.h <<_ACEOF
                   7514: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   7515: _ACEOF
                   7516: 
                   7517: fi
                   7518: 
                   7519: done
                   7520: 
                   7521: 
                   7522: for ac_header in dlfcn.h
                   7523: do :
                   7524:   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
                   7525: "
1.1.1.2 ! misho    7526: if test "x$ac_cv_header_dlfcn_h" = xyes; then :
1.1       misho    7527:   cat >>confdefs.h <<_ACEOF
                   7528: #define HAVE_DLFCN_H 1
                   7529: _ACEOF
                   7530: 
                   7531: fi
                   7532: 
                   7533: done
                   7534: 
                   7535: 
                   7536: 
1.1.1.2 ! misho    7537: 
        !          7538: 
1.1       misho    7539: # Set options
                   7540: 
                   7541: 
                   7542: 
                   7543:         enable_dlopen=no
                   7544: 
                   7545: 
                   7546:   enable_win32_dll=no
                   7547: 
                   7548: 
                   7549: 
                   7550:   # Check whether --enable-static was given.
                   7551: if test "${enable_static+set}" = set; then :
                   7552:   enableval=$enable_static; p=${PACKAGE-default}
                   7553:     case $enableval in
                   7554:     yes) enable_static=yes ;;
                   7555:     no) enable_static=no ;;
                   7556:     *)
                   7557:      enable_static=no
                   7558:       # Look at the argument we got.  We use all the common list separators.
                   7559:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   7560:       for pkg in $enableval; do
                   7561:        IFS="$lt_save_ifs"
                   7562:        if test "X$pkg" = "X$p"; then
                   7563:          enable_static=yes
                   7564:        fi
                   7565:       done
                   7566:       IFS="$lt_save_ifs"
                   7567:       ;;
                   7568:     esac
                   7569: else
                   7570:   enable_static=yes
                   7571: fi
                   7572: 
                   7573: 
                   7574: 
                   7575: 
                   7576: 
                   7577: 
                   7578: 
                   7579: 
                   7580: 
                   7581: 
                   7582: # Check whether --with-pic was given.
                   7583: if test "${with_pic+set}" = set; then :
1.1.1.2 ! misho    7584:   withval=$with_pic; lt_p=${PACKAGE-default}
        !          7585:     case $withval in
        !          7586:     yes|no) pic_mode=$withval ;;
        !          7587:     *)
        !          7588:       pic_mode=default
        !          7589:       # Look at the argument we got.  We use all the common list separators.
        !          7590:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
        !          7591:       for lt_pkg in $withval; do
        !          7592:        IFS="$lt_save_ifs"
        !          7593:        if test "X$lt_pkg" = "X$lt_p"; then
        !          7594:          pic_mode=yes
        !          7595:        fi
        !          7596:       done
        !          7597:       IFS="$lt_save_ifs"
        !          7598:       ;;
        !          7599:     esac
1.1       misho    7600: else
                   7601:   pic_mode=default
                   7602: fi
                   7603: 
                   7604: 
                   7605: test -z "$pic_mode" && pic_mode=default
                   7606: 
                   7607: 
                   7608: 
                   7609: 
                   7610: 
                   7611: 
                   7612: 
                   7613:   # Check whether --enable-fast-install was given.
                   7614: if test "${enable_fast_install+set}" = set; then :
                   7615:   enableval=$enable_fast_install; p=${PACKAGE-default}
                   7616:     case $enableval in
                   7617:     yes) enable_fast_install=yes ;;
                   7618:     no) enable_fast_install=no ;;
                   7619:     *)
                   7620:       enable_fast_install=no
                   7621:       # Look at the argument we got.  We use all the common list separators.
                   7622:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   7623:       for pkg in $enableval; do
                   7624:        IFS="$lt_save_ifs"
                   7625:        if test "X$pkg" = "X$p"; then
                   7626:          enable_fast_install=yes
                   7627:        fi
                   7628:       done
                   7629:       IFS="$lt_save_ifs"
                   7630:       ;;
                   7631:     esac
                   7632: else
                   7633:   enable_fast_install=yes
                   7634: fi
                   7635: 
                   7636: 
                   7637: 
                   7638: 
                   7639: 
                   7640: 
                   7641: 
                   7642: 
                   7643: 
                   7644: 
                   7645: 
                   7646: # This can be used to rebuild libtool when needed
                   7647: LIBTOOL_DEPS="$ltmain"
                   7648: 
                   7649: # Always use our own libtool.
1.1.1.2 ! misho    7650: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
        !          7651: 
        !          7652: 
        !          7653: 
        !          7654: 
        !          7655: 
1.1       misho    7656: 
                   7657: 
                   7658: 
                   7659: 
                   7660: 
                   7661: 
                   7662: 
                   7663: 
                   7664: 
                   7665: 
                   7666: 
                   7667: 
                   7668: 
                   7669: 
                   7670: 
                   7671: 
                   7672: 
                   7673: 
                   7674: 
                   7675: 
                   7676: 
                   7677: 
                   7678: 
                   7679: 
                   7680: 
                   7681: test -z "$LN_S" && LN_S="ln -s"
                   7682: 
                   7683: 
                   7684: 
                   7685: 
                   7686: 
                   7687: 
                   7688: 
                   7689: 
                   7690: 
                   7691: 
                   7692: 
                   7693: 
                   7694: 
                   7695: 
                   7696: if test -n "${ZSH_VERSION+set}" ; then
                   7697:    setopt NO_GLOB_SUBST
                   7698: fi
                   7699: 
                   7700: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
                   7701: $as_echo_n "checking for objdir... " >&6; }
1.1.1.2 ! misho    7702: if ${lt_cv_objdir+:} false; then :
1.1       misho    7703:   $as_echo_n "(cached) " >&6
                   7704: else
                   7705:   rm -f .libs 2>/dev/null
                   7706: mkdir .libs 2>/dev/null
                   7707: if test -d .libs; then
                   7708:   lt_cv_objdir=.libs
                   7709: else
                   7710:   # MS-DOS does not allow filenames that begin with a dot.
                   7711:   lt_cv_objdir=_libs
                   7712: fi
                   7713: rmdir .libs 2>/dev/null
                   7714: fi
                   7715: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
                   7716: $as_echo "$lt_cv_objdir" >&6; }
                   7717: objdir=$lt_cv_objdir
                   7718: 
                   7719: 
                   7720: 
                   7721: 
                   7722: 
                   7723: cat >>confdefs.h <<_ACEOF
                   7724: #define LT_OBJDIR "$lt_cv_objdir/"
                   7725: _ACEOF
                   7726: 
                   7727: 
                   7728: 
                   7729: 
                   7730: case $host_os in
                   7731: aix3*)
                   7732:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   7733:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   7734:   # vanish in a puff of smoke.
                   7735:   if test "X${COLLECT_NAMES+set}" != Xset; then
                   7736:     COLLECT_NAMES=
                   7737:     export COLLECT_NAMES
                   7738:   fi
                   7739:   ;;
                   7740: esac
                   7741: 
                   7742: # Global variables:
                   7743: ofile=libtool
                   7744: can_build_shared=yes
                   7745: 
                   7746: # All known linkers require a `.a' archive for static linking (except MSVC,
                   7747: # which needs '.lib').
                   7748: libext=a
                   7749: 
                   7750: with_gnu_ld="$lt_cv_prog_gnu_ld"
                   7751: 
                   7752: old_CC="$CC"
                   7753: old_CFLAGS="$CFLAGS"
                   7754: 
                   7755: # Set sane defaults for various variables
                   7756: test -z "$CC" && CC=cc
                   7757: test -z "$LTCC" && LTCC=$CC
                   7758: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
                   7759: test -z "$LD" && LD=ld
                   7760: test -z "$ac_objext" && ac_objext=o
                   7761: 
                   7762: for cc_temp in $compiler""; do
                   7763:   case $cc_temp in
                   7764:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   7765:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   7766:     \-*) ;;
                   7767:     *) break;;
                   7768:   esac
                   7769: done
1.1.1.2 ! misho    7770: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
1.1       misho    7771: 
                   7772: 
                   7773: # Only perform the check for file, if the check method requires it
                   7774: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   7775: case $deplibs_check_method in
                   7776: file_magic*)
                   7777:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
                   7778:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
                   7779: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
1.1.1.2 ! misho    7780: if ${lt_cv_path_MAGIC_CMD+:} false; then :
1.1       misho    7781:   $as_echo_n "(cached) " >&6
                   7782: else
                   7783:   case $MAGIC_CMD in
                   7784: [\\/*] |  ?:[\\/]*)
                   7785:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   7786:   ;;
                   7787: *)
                   7788:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   7789:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   7790:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   7791:   for ac_dir in $ac_dummy; do
                   7792:     IFS="$lt_save_ifs"
                   7793:     test -z "$ac_dir" && ac_dir=.
                   7794:     if test -f $ac_dir/${ac_tool_prefix}file; then
                   7795:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
                   7796:       if test -n "$file_magic_test_file"; then
                   7797:        case $deplibs_check_method in
                   7798:        "file_magic "*)
                   7799:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   7800:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   7801:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   7802:            $EGREP "$file_magic_regex" > /dev/null; then
                   7803:            :
                   7804:          else
                   7805:            cat <<_LT_EOF 1>&2
                   7806: 
                   7807: *** Warning: the command libtool uses to detect shared libraries,
                   7808: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   7809: *** The result is that libtool may fail to recognize shared libraries
                   7810: *** as such.  This will affect the creation of libtool libraries that
                   7811: *** depend on shared libraries, but programs linked with such libtool
                   7812: *** libraries will work regardless of this problem.  Nevertheless, you
                   7813: *** may want to report the problem to your system manager and/or to
                   7814: *** bug-libtool@gnu.org
                   7815: 
                   7816: _LT_EOF
                   7817:          fi ;;
                   7818:        esac
                   7819:       fi
                   7820:       break
                   7821:     fi
                   7822:   done
                   7823:   IFS="$lt_save_ifs"
                   7824:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   7825:   ;;
                   7826: esac
                   7827: fi
                   7828: 
                   7829: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   7830: if test -n "$MAGIC_CMD"; then
                   7831:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   7832: $as_echo "$MAGIC_CMD" >&6; }
                   7833: else
                   7834:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7835: $as_echo "no" >&6; }
                   7836: fi
                   7837: 
                   7838: 
                   7839: 
                   7840: 
                   7841: 
                   7842: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   7843:   if test -n "$ac_tool_prefix"; then
                   7844:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
                   7845: $as_echo_n "checking for file... " >&6; }
1.1.1.2 ! misho    7846: if ${lt_cv_path_MAGIC_CMD+:} false; then :
1.1       misho    7847:   $as_echo_n "(cached) " >&6
                   7848: else
                   7849:   case $MAGIC_CMD in
                   7850: [\\/*] |  ?:[\\/]*)
                   7851:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   7852:   ;;
                   7853: *)
                   7854:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   7855:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   7856:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   7857:   for ac_dir in $ac_dummy; do
                   7858:     IFS="$lt_save_ifs"
                   7859:     test -z "$ac_dir" && ac_dir=.
                   7860:     if test -f $ac_dir/file; then
                   7861:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
                   7862:       if test -n "$file_magic_test_file"; then
                   7863:        case $deplibs_check_method in
                   7864:        "file_magic "*)
                   7865:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   7866:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   7867:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   7868:            $EGREP "$file_magic_regex" > /dev/null; then
                   7869:            :
                   7870:          else
                   7871:            cat <<_LT_EOF 1>&2
                   7872: 
                   7873: *** Warning: the command libtool uses to detect shared libraries,
                   7874: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   7875: *** The result is that libtool may fail to recognize shared libraries
                   7876: *** as such.  This will affect the creation of libtool libraries that
                   7877: *** depend on shared libraries, but programs linked with such libtool
                   7878: *** libraries will work regardless of this problem.  Nevertheless, you
                   7879: *** may want to report the problem to your system manager and/or to
                   7880: *** bug-libtool@gnu.org
                   7881: 
                   7882: _LT_EOF
                   7883:          fi ;;
                   7884:        esac
                   7885:       fi
                   7886:       break
                   7887:     fi
                   7888:   done
                   7889:   IFS="$lt_save_ifs"
                   7890:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   7891:   ;;
                   7892: esac
                   7893: fi
                   7894: 
                   7895: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   7896: if test -n "$MAGIC_CMD"; then
                   7897:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   7898: $as_echo "$MAGIC_CMD" >&6; }
                   7899: else
                   7900:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7901: $as_echo "no" >&6; }
                   7902: fi
                   7903: 
                   7904: 
                   7905:   else
                   7906:     MAGIC_CMD=:
                   7907:   fi
                   7908: fi
                   7909: 
                   7910:   fi
                   7911:   ;;
                   7912: esac
                   7913: 
                   7914: # Use C for the default configuration in the libtool script
                   7915: 
                   7916: lt_save_CC="$CC"
                   7917: ac_ext=c
                   7918: ac_cpp='$CPP $CPPFLAGS'
                   7919: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7920: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7921: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7922: 
                   7923: 
                   7924: # Source file extension for C test sources.
                   7925: ac_ext=c
                   7926: 
                   7927: # Object file extension for compiled C test sources.
                   7928: objext=o
                   7929: objext=$objext
                   7930: 
                   7931: # Code to be used in simple compile tests
                   7932: lt_simple_compile_test_code="int some_variable = 0;"
                   7933: 
                   7934: # Code to be used in simple link tests
                   7935: lt_simple_link_test_code='int main(){return(0);}'
                   7936: 
                   7937: 
                   7938: 
                   7939: 
                   7940: 
                   7941: 
                   7942: 
                   7943: # If no C compiler was specified, use CC.
                   7944: LTCC=${LTCC-"$CC"}
                   7945: 
                   7946: # If no C compiler flags were specified, use CFLAGS.
                   7947: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   7948: 
                   7949: # Allow CC to be a program name with arguments.
                   7950: compiler=$CC
                   7951: 
                   7952: # Save the default compiler, since it gets overwritten when the other
                   7953: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
                   7954: compiler_DEFAULT=$CC
                   7955: 
                   7956: # save warnings/boilerplate of simple test code
                   7957: ac_outfile=conftest.$ac_objext
                   7958: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   7959: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   7960: _lt_compiler_boilerplate=`cat conftest.err`
                   7961: $RM conftest*
                   7962: 
                   7963: ac_outfile=conftest.$ac_objext
                   7964: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   7965: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   7966: _lt_linker_boilerplate=`cat conftest.err`
                   7967: $RM -r conftest*
                   7968: 
                   7969: 
                   7970: if test -n "$compiler"; then
                   7971: 
                   7972: lt_prog_compiler_no_builtin_flag=
                   7973: 
                   7974: if test "$GCC" = yes; then
1.1.1.2 ! misho    7975:   case $cc_basename in
        !          7976:   nvcc*)
        !          7977:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
        !          7978:   *)
        !          7979:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
        !          7980:   esac
1.1       misho    7981: 
                   7982:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
                   7983: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
1.1.1.2 ! misho    7984: if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
1.1       misho    7985:   $as_echo_n "(cached) " >&6
                   7986: else
                   7987:   lt_cv_prog_compiler_rtti_exceptions=no
                   7988:    ac_outfile=conftest.$ac_objext
                   7989:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   7990:    lt_compiler_flag="-fno-rtti -fno-exceptions"
                   7991:    # Insert the option either (1) after the last *FLAGS variable, or
                   7992:    # (2) before a word containing "conftest.", or (3) at the end.
                   7993:    # Note that $ac_compile itself does not contain backslashes and begins
                   7994:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   7995:    # The option is referenced via a variable to avoid confusing sed.
                   7996:    lt_compile=`echo "$ac_compile" | $SED \
                   7997:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   7998:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   7999:    -e 's:$: $lt_compiler_flag:'`
1.1.1.2 ! misho    8000:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
1.1       misho    8001:    (eval "$lt_compile" 2>conftest.err)
                   8002:    ac_status=$?
                   8003:    cat conftest.err >&5
1.1.1.2 ! misho    8004:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1       misho    8005:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   8006:      # The compiler can only warn and ignore the option if not recognized
                   8007:      # So say no if there are warnings other than the usual output.
1.1.1.2 ! misho    8008:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
1.1       misho    8009:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8010:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   8011:        lt_cv_prog_compiler_rtti_exceptions=yes
                   8012:      fi
                   8013:    fi
                   8014:    $RM conftest*
                   8015: 
                   8016: fi
                   8017: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
                   8018: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
                   8019: 
                   8020: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
                   8021:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
                   8022: else
                   8023:     :
                   8024: fi
                   8025: 
                   8026: fi
                   8027: 
                   8028: 
                   8029: 
                   8030: 
                   8031: 
                   8032: 
                   8033:   lt_prog_compiler_wl=
                   8034: lt_prog_compiler_pic=
                   8035: lt_prog_compiler_static=
                   8036: 
                   8037: 
                   8038:   if test "$GCC" = yes; then
                   8039:     lt_prog_compiler_wl='-Wl,'
                   8040:     lt_prog_compiler_static='-static'
                   8041: 
                   8042:     case $host_os in
                   8043:       aix*)
                   8044:       # All AIX code is PIC.
                   8045:       if test "$host_cpu" = ia64; then
                   8046:        # AIX 5 now supports IA64 processor
                   8047:        lt_prog_compiler_static='-Bstatic'
                   8048:       fi
                   8049:       ;;
                   8050: 
                   8051:     amigaos*)
                   8052:       case $host_cpu in
                   8053:       powerpc)
                   8054:             # see comment about AmigaOS4 .so support
                   8055:             lt_prog_compiler_pic='-fPIC'
                   8056:         ;;
                   8057:       m68k)
                   8058:             # FIXME: we need at least 68020 code to build shared libraries, but
                   8059:             # adding the `-m68020' flag to GCC prevents building anything better,
                   8060:             # like `-m68040'.
                   8061:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
                   8062:         ;;
                   8063:       esac
                   8064:       ;;
                   8065: 
                   8066:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   8067:       # PIC is the default for these OSes.
                   8068:       ;;
                   8069: 
                   8070:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   8071:       # This hack is so that the source file can tell whether it is being
                   8072:       # built for inclusion in a dll (and should export symbols for example).
                   8073:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   8074:       # (--disable-auto-import) libraries
                   8075:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   8076:       ;;
                   8077: 
                   8078:     darwin* | rhapsody*)
                   8079:       # PIC is the default on this platform
                   8080:       # Common symbols not allowed in MH_DYLIB files
                   8081:       lt_prog_compiler_pic='-fno-common'
                   8082:       ;;
                   8083: 
1.1.1.2 ! misho    8084:     haiku*)
        !          8085:       # PIC is the default for Haiku.
        !          8086:       # The "-static" flag exists, but is broken.
        !          8087:       lt_prog_compiler_static=
        !          8088:       ;;
        !          8089: 
1.1       misho    8090:     hpux*)
                   8091:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   8092:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   8093:       # sets the default TLS model and affects inlining.
                   8094:       case $host_cpu in
                   8095:       hppa*64*)
                   8096:        # +Z the default
                   8097:        ;;
                   8098:       *)
                   8099:        lt_prog_compiler_pic='-fPIC'
                   8100:        ;;
                   8101:       esac
                   8102:       ;;
                   8103: 
                   8104:     interix[3-9]*)
                   8105:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   8106:       # Instead, we relocate shared libraries at runtime.
                   8107:       ;;
                   8108: 
                   8109:     msdosdjgpp*)
                   8110:       # Just because we use GCC doesn't mean we suddenly get shared libraries
                   8111:       # on systems that don't support them.
                   8112:       lt_prog_compiler_can_build_shared=no
                   8113:       enable_shared=no
                   8114:       ;;
                   8115: 
                   8116:     *nto* | *qnx*)
                   8117:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   8118:       # it will coredump.
                   8119:       lt_prog_compiler_pic='-fPIC -shared'
                   8120:       ;;
                   8121: 
                   8122:     sysv4*MP*)
                   8123:       if test -d /usr/nec; then
                   8124:        lt_prog_compiler_pic=-Kconform_pic
                   8125:       fi
                   8126:       ;;
                   8127: 
                   8128:     *)
                   8129:       lt_prog_compiler_pic='-fPIC'
                   8130:       ;;
                   8131:     esac
1.1.1.2 ! misho    8132: 
        !          8133:     case $cc_basename in
        !          8134:     nvcc*) # Cuda Compiler Driver 2.2
        !          8135:       lt_prog_compiler_wl='-Xlinker '
        !          8136:       if test -n "$lt_prog_compiler_pic"; then
        !          8137:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
        !          8138:       fi
        !          8139:       ;;
        !          8140:     esac
1.1       misho    8141:   else
                   8142:     # PORTME Check for flag to pass linker flags through the system compiler.
                   8143:     case $host_os in
                   8144:     aix*)
                   8145:       lt_prog_compiler_wl='-Wl,'
                   8146:       if test "$host_cpu" = ia64; then
                   8147:        # AIX 5 now supports IA64 processor
                   8148:        lt_prog_compiler_static='-Bstatic'
                   8149:       else
                   8150:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
                   8151:       fi
                   8152:       ;;
                   8153: 
                   8154:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   8155:       # This hack is so that the source file can tell whether it is being
                   8156:       # built for inclusion in a dll (and should export symbols for example).
                   8157:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   8158:       ;;
                   8159: 
                   8160:     hpux9* | hpux10* | hpux11*)
                   8161:       lt_prog_compiler_wl='-Wl,'
                   8162:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
                   8163:       # not for PA HP-UX.
                   8164:       case $host_cpu in
                   8165:       hppa*64*|ia64*)
                   8166:        # +Z the default
                   8167:        ;;
                   8168:       *)
                   8169:        lt_prog_compiler_pic='+Z'
                   8170:        ;;
                   8171:       esac
                   8172:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
                   8173:       lt_prog_compiler_static='${wl}-a ${wl}archive'
                   8174:       ;;
                   8175: 
                   8176:     irix5* | irix6* | nonstopux*)
                   8177:       lt_prog_compiler_wl='-Wl,'
                   8178:       # PIC (with -KPIC) is the default.
                   8179:       lt_prog_compiler_static='-non_shared'
                   8180:       ;;
                   8181: 
                   8182:     linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   8183:       case $cc_basename in
                   8184:       # old Intel for x86_64 which still supported -KPIC.
                   8185:       ecc*)
                   8186:        lt_prog_compiler_wl='-Wl,'
                   8187:        lt_prog_compiler_pic='-KPIC'
                   8188:        lt_prog_compiler_static='-static'
                   8189:         ;;
                   8190:       # icc used to be incompatible with GCC.
                   8191:       # ICC 10 doesn't accept -KPIC any more.
                   8192:       icc* | ifort*)
                   8193:        lt_prog_compiler_wl='-Wl,'
                   8194:        lt_prog_compiler_pic='-fPIC'
                   8195:        lt_prog_compiler_static='-static'
                   8196:         ;;
                   8197:       # Lahey Fortran 8.1.
                   8198:       lf95*)
                   8199:        lt_prog_compiler_wl='-Wl,'
                   8200:        lt_prog_compiler_pic='--shared'
                   8201:        lt_prog_compiler_static='--static'
                   8202:        ;;
1.1.1.2 ! misho    8203:       nagfor*)
        !          8204:        # NAG Fortran compiler
        !          8205:        lt_prog_compiler_wl='-Wl,-Wl,,'
        !          8206:        lt_prog_compiler_pic='-PIC'
        !          8207:        lt_prog_compiler_static='-Bstatic'
        !          8208:        ;;
        !          8209:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
1.1       misho    8210:         # Portland Group compilers (*not* the Pentium gcc compiler,
                   8211:        # which looks to be a dead project)
                   8212:        lt_prog_compiler_wl='-Wl,'
                   8213:        lt_prog_compiler_pic='-fpic'
                   8214:        lt_prog_compiler_static='-Bstatic'
                   8215:         ;;
                   8216:       ccc*)
                   8217:         lt_prog_compiler_wl='-Wl,'
                   8218:         # All Alpha code is PIC.
                   8219:         lt_prog_compiler_static='-non_shared'
                   8220:         ;;
1.1.1.2 ! misho    8221:       xl* | bgxl* | bgf* | mpixl*)
        !          8222:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
1.1       misho    8223:        lt_prog_compiler_wl='-Wl,'
                   8224:        lt_prog_compiler_pic='-qpic'
                   8225:        lt_prog_compiler_static='-qstaticlink'
                   8226:        ;;
                   8227:       *)
                   8228:        case `$CC -V 2>&1 | sed 5q` in
1.1.1.2 ! misho    8229:        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
        !          8230:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
        !          8231:          lt_prog_compiler_pic='-KPIC'
        !          8232:          lt_prog_compiler_static='-Bstatic'
        !          8233:          lt_prog_compiler_wl=''
        !          8234:          ;;
        !          8235:        *Sun\ F* | *Sun*Fortran*)
        !          8236:          lt_prog_compiler_pic='-KPIC'
        !          8237:          lt_prog_compiler_static='-Bstatic'
        !          8238:          lt_prog_compiler_wl='-Qoption ld '
        !          8239:          ;;
1.1       misho    8240:        *Sun\ C*)
                   8241:          # Sun C 5.9
                   8242:          lt_prog_compiler_pic='-KPIC'
                   8243:          lt_prog_compiler_static='-Bstatic'
                   8244:          lt_prog_compiler_wl='-Wl,'
                   8245:          ;;
1.1.1.2 ! misho    8246:         *Intel*\ [CF]*Compiler*)
        !          8247:          lt_prog_compiler_wl='-Wl,'
        !          8248:          lt_prog_compiler_pic='-fPIC'
        !          8249:          lt_prog_compiler_static='-static'
        !          8250:          ;;
        !          8251:        *Portland\ Group*)
        !          8252:          lt_prog_compiler_wl='-Wl,'
        !          8253:          lt_prog_compiler_pic='-fpic'
1.1       misho    8254:          lt_prog_compiler_static='-Bstatic'
                   8255:          ;;
                   8256:        esac
                   8257:        ;;
                   8258:       esac
                   8259:       ;;
                   8260: 
                   8261:     newsos6)
                   8262:       lt_prog_compiler_pic='-KPIC'
                   8263:       lt_prog_compiler_static='-Bstatic'
                   8264:       ;;
                   8265: 
                   8266:     *nto* | *qnx*)
                   8267:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   8268:       # it will coredump.
                   8269:       lt_prog_compiler_pic='-fPIC -shared'
                   8270:       ;;
                   8271: 
                   8272:     osf3* | osf4* | osf5*)
                   8273:       lt_prog_compiler_wl='-Wl,'
                   8274:       # All OSF/1 code is PIC.
                   8275:       lt_prog_compiler_static='-non_shared'
                   8276:       ;;
                   8277: 
                   8278:     rdos*)
                   8279:       lt_prog_compiler_static='-non_shared'
                   8280:       ;;
                   8281: 
                   8282:     solaris*)
                   8283:       lt_prog_compiler_pic='-KPIC'
                   8284:       lt_prog_compiler_static='-Bstatic'
                   8285:       case $cc_basename in
1.1.1.2 ! misho    8286:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
1.1       misho    8287:        lt_prog_compiler_wl='-Qoption ld ';;
                   8288:       *)
                   8289:        lt_prog_compiler_wl='-Wl,';;
                   8290:       esac
                   8291:       ;;
                   8292: 
                   8293:     sunos4*)
                   8294:       lt_prog_compiler_wl='-Qoption ld '
                   8295:       lt_prog_compiler_pic='-PIC'
                   8296:       lt_prog_compiler_static='-Bstatic'
                   8297:       ;;
                   8298: 
                   8299:     sysv4 | sysv4.2uw2* | sysv4.3*)
                   8300:       lt_prog_compiler_wl='-Wl,'
                   8301:       lt_prog_compiler_pic='-KPIC'
                   8302:       lt_prog_compiler_static='-Bstatic'
                   8303:       ;;
                   8304: 
                   8305:     sysv4*MP*)
                   8306:       if test -d /usr/nec ;then
                   8307:        lt_prog_compiler_pic='-Kconform_pic'
                   8308:        lt_prog_compiler_static='-Bstatic'
                   8309:       fi
                   8310:       ;;
                   8311: 
                   8312:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   8313:       lt_prog_compiler_wl='-Wl,'
                   8314:       lt_prog_compiler_pic='-KPIC'
                   8315:       lt_prog_compiler_static='-Bstatic'
                   8316:       ;;
                   8317: 
                   8318:     unicos*)
                   8319:       lt_prog_compiler_wl='-Wl,'
                   8320:       lt_prog_compiler_can_build_shared=no
                   8321:       ;;
                   8322: 
                   8323:     uts4*)
                   8324:       lt_prog_compiler_pic='-pic'
                   8325:       lt_prog_compiler_static='-Bstatic'
                   8326:       ;;
                   8327: 
                   8328:     *)
                   8329:       lt_prog_compiler_can_build_shared=no
                   8330:       ;;
                   8331:     esac
                   8332:   fi
                   8333: 
                   8334: case $host_os in
                   8335:   # For platforms which do not support PIC, -DPIC is meaningless:
                   8336:   *djgpp*)
                   8337:     lt_prog_compiler_pic=
                   8338:     ;;
                   8339:   *)
                   8340:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
                   8341:     ;;
                   8342: esac
                   8343: 
1.1.1.2 ! misho    8344: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
        !          8345: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
        !          8346: if ${lt_cv_prog_compiler_pic+:} false; then :
        !          8347:   $as_echo_n "(cached) " >&6
        !          8348: else
        !          8349:   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
        !          8350: fi
        !          8351: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
        !          8352: $as_echo "$lt_cv_prog_compiler_pic" >&6; }
        !          8353: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
1.1       misho    8354: 
                   8355: #
                   8356: # Check to make sure the PIC flag actually works.
                   8357: #
                   8358: if test -n "$lt_prog_compiler_pic"; then
                   8359:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
                   8360: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
1.1.1.2 ! misho    8361: if ${lt_cv_prog_compiler_pic_works+:} false; then :
1.1       misho    8362:   $as_echo_n "(cached) " >&6
                   8363: else
                   8364:   lt_cv_prog_compiler_pic_works=no
                   8365:    ac_outfile=conftest.$ac_objext
                   8366:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8367:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
                   8368:    # Insert the option either (1) after the last *FLAGS variable, or
                   8369:    # (2) before a word containing "conftest.", or (3) at the end.
                   8370:    # Note that $ac_compile itself does not contain backslashes and begins
                   8371:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8372:    # The option is referenced via a variable to avoid confusing sed.
                   8373:    lt_compile=`echo "$ac_compile" | $SED \
                   8374:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8375:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8376:    -e 's:$: $lt_compiler_flag:'`
1.1.1.2 ! misho    8377:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
1.1       misho    8378:    (eval "$lt_compile" 2>conftest.err)
                   8379:    ac_status=$?
                   8380:    cat conftest.err >&5
1.1.1.2 ! misho    8381:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1       misho    8382:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   8383:      # The compiler can only warn and ignore the option if not recognized
                   8384:      # So say no if there are warnings other than the usual output.
1.1.1.2 ! misho    8385:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
1.1       misho    8386:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8387:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   8388:        lt_cv_prog_compiler_pic_works=yes
                   8389:      fi
                   8390:    fi
                   8391:    $RM conftest*
                   8392: 
                   8393: fi
                   8394: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
                   8395: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
                   8396: 
                   8397: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
                   8398:     case $lt_prog_compiler_pic in
                   8399:      "" | " "*) ;;
                   8400:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
                   8401:      esac
                   8402: else
                   8403:     lt_prog_compiler_pic=
                   8404:      lt_prog_compiler_can_build_shared=no
                   8405: fi
                   8406: 
                   8407: fi
                   8408: 
                   8409: 
                   8410: 
                   8411: 
                   8412: 
                   8413: 
1.1.1.2 ! misho    8414: 
        !          8415: 
        !          8416: 
        !          8417: 
        !          8418: 
1.1       misho    8419: #
                   8420: # Check to make sure the static flag actually works.
                   8421: #
                   8422: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
                   8423: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   8424: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
1.1.1.2 ! misho    8425: if ${lt_cv_prog_compiler_static_works+:} false; then :
1.1       misho    8426:   $as_echo_n "(cached) " >&6
                   8427: else
                   8428:   lt_cv_prog_compiler_static_works=no
                   8429:    save_LDFLAGS="$LDFLAGS"
                   8430:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   8431:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   8432:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   8433:      # The linker can only warn and ignore the option if not recognized
                   8434:      # So say no if there are warnings
                   8435:      if test -s conftest.err; then
                   8436:        # Append any errors to the config.log.
                   8437:        cat conftest.err 1>&5
1.1.1.2 ! misho    8438:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
1.1       misho    8439:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8440:        if diff conftest.exp conftest.er2 >/dev/null; then
                   8441:          lt_cv_prog_compiler_static_works=yes
                   8442:        fi
                   8443:      else
                   8444:        lt_cv_prog_compiler_static_works=yes
                   8445:      fi
                   8446:    fi
                   8447:    $RM -r conftest*
                   8448:    LDFLAGS="$save_LDFLAGS"
                   8449: 
                   8450: fi
                   8451: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
                   8452: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
                   8453: 
                   8454: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
                   8455:     :
                   8456: else
                   8457:     lt_prog_compiler_static=
                   8458: fi
                   8459: 
                   8460: 
                   8461: 
                   8462: 
                   8463: 
                   8464: 
                   8465: 
                   8466:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   8467: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
1.1.1.2 ! misho    8468: if ${lt_cv_prog_compiler_c_o+:} false; then :
1.1       misho    8469:   $as_echo_n "(cached) " >&6
                   8470: else
                   8471:   lt_cv_prog_compiler_c_o=no
                   8472:    $RM -r conftest 2>/dev/null
                   8473:    mkdir conftest
                   8474:    cd conftest
                   8475:    mkdir out
                   8476:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8477: 
                   8478:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   8479:    # Insert the option either (1) after the last *FLAGS variable, or
                   8480:    # (2) before a word containing "conftest.", or (3) at the end.
                   8481:    # Note that $ac_compile itself does not contain backslashes and begins
                   8482:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8483:    lt_compile=`echo "$ac_compile" | $SED \
                   8484:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8485:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8486:    -e 's:$: $lt_compiler_flag:'`
1.1.1.2 ! misho    8487:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
1.1       misho    8488:    (eval "$lt_compile" 2>out/conftest.err)
                   8489:    ac_status=$?
                   8490:    cat out/conftest.err >&5
1.1.1.2 ! misho    8491:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1       misho    8492:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   8493:    then
                   8494:      # The compiler can only warn and ignore the option if not recognized
                   8495:      # So say no if there are warnings
1.1.1.2 ! misho    8496:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
1.1       misho    8497:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   8498:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   8499:        lt_cv_prog_compiler_c_o=yes
                   8500:      fi
                   8501:    fi
                   8502:    chmod u+w . 2>&5
                   8503:    $RM conftest*
                   8504:    # SGI C++ compiler will create directory out/ii_files/ for
                   8505:    # template instantiation
                   8506:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   8507:    $RM out/* && rmdir out
                   8508:    cd ..
                   8509:    $RM -r conftest
                   8510:    $RM conftest*
                   8511: 
                   8512: fi
                   8513: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   8514: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
                   8515: 
                   8516: 
                   8517: 
                   8518: 
                   8519: 
                   8520: 
                   8521:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   8522: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
1.1.1.2 ! misho    8523: if ${lt_cv_prog_compiler_c_o+:} false; then :
1.1       misho    8524:   $as_echo_n "(cached) " >&6
                   8525: else
                   8526:   lt_cv_prog_compiler_c_o=no
                   8527:    $RM -r conftest 2>/dev/null
                   8528:    mkdir conftest
                   8529:    cd conftest
                   8530:    mkdir out
                   8531:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8532: 
                   8533:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   8534:    # Insert the option either (1) after the last *FLAGS variable, or
                   8535:    # (2) before a word containing "conftest.", or (3) at the end.
                   8536:    # Note that $ac_compile itself does not contain backslashes and begins
                   8537:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8538:    lt_compile=`echo "$ac_compile" | $SED \
                   8539:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8540:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8541:    -e 's:$: $lt_compiler_flag:'`
1.1.1.2 ! misho    8542:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
1.1       misho    8543:    (eval "$lt_compile" 2>out/conftest.err)
                   8544:    ac_status=$?
                   8545:    cat out/conftest.err >&5
1.1.1.2 ! misho    8546:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1       misho    8547:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   8548:    then
                   8549:      # The compiler can only warn and ignore the option if not recognized
                   8550:      # So say no if there are warnings
1.1.1.2 ! misho    8551:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
1.1       misho    8552:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   8553:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   8554:        lt_cv_prog_compiler_c_o=yes
                   8555:      fi
                   8556:    fi
                   8557:    chmod u+w . 2>&5
                   8558:    $RM conftest*
                   8559:    # SGI C++ compiler will create directory out/ii_files/ for
                   8560:    # template instantiation
                   8561:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   8562:    $RM out/* && rmdir out
                   8563:    cd ..
                   8564:    $RM -r conftest
                   8565:    $RM conftest*
                   8566: 
                   8567: fi
                   8568: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   8569: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
                   8570: 
                   8571: 
                   8572: 
                   8573: 
                   8574: hard_links="nottested"
                   8575: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
                   8576:   # do not overwrite the value of need_locks provided by the user
                   8577:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   8578: $as_echo_n "checking if we can lock with hard links... " >&6; }
                   8579:   hard_links=yes
                   8580:   $RM conftest*
                   8581:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   8582:   touch conftest.a
                   8583:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   8584:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   8585:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   8586: $as_echo "$hard_links" >&6; }
                   8587:   if test "$hard_links" = no; then
                   8588:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   8589: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
                   8590:     need_locks=warn
                   8591:   fi
                   8592: else
                   8593:   need_locks=no
                   8594: fi
                   8595: 
                   8596: 
                   8597: 
                   8598: 
                   8599: 
                   8600: 
                   8601:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   8602: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
                   8603: 
                   8604:   runpath_var=
                   8605:   allow_undefined_flag=
                   8606:   always_export_symbols=no
                   8607:   archive_cmds=
                   8608:   archive_expsym_cmds=
                   8609:   compiler_needs_object=no
                   8610:   enable_shared_with_static_runtimes=no
                   8611:   export_dynamic_flag_spec=
                   8612:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   8613:   hardcode_automatic=no
                   8614:   hardcode_direct=no
                   8615:   hardcode_direct_absolute=no
                   8616:   hardcode_libdir_flag_spec=
                   8617:   hardcode_libdir_separator=
                   8618:   hardcode_minus_L=no
                   8619:   hardcode_shlibpath_var=unsupported
                   8620:   inherit_rpath=no
                   8621:   link_all_deplibs=unknown
                   8622:   module_cmds=
                   8623:   module_expsym_cmds=
                   8624:   old_archive_from_new_cmds=
                   8625:   old_archive_from_expsyms_cmds=
                   8626:   thread_safe_flag_spec=
                   8627:   whole_archive_flag_spec=
                   8628:   # include_expsyms should be a list of space-separated symbols to be *always*
                   8629:   # included in the symbol list
                   8630:   include_expsyms=
                   8631:   # exclude_expsyms can be an extended regexp of symbols to exclude
                   8632:   # it will be wrapped by ` (' and `)$', so one must not match beginning or
                   8633:   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
                   8634:   # as well as any symbol that contains `d'.
                   8635:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   8636:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   8637:   # platforms (ab)use it in PIC code, but their linkers get confused if
                   8638:   # the symbol is explicitly referenced.  Since portable code cannot
                   8639:   # rely on this symbol name, it's probably fine to never include it in
                   8640:   # preloaded symbol tables.
                   8641:   # Exclude shared library initialization/finalization symbols.
                   8642:   extract_expsyms_cmds=
                   8643: 
                   8644:   case $host_os in
                   8645:   cygwin* | mingw* | pw32* | cegcc*)
                   8646:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
                   8647:     # When not using gcc, we currently assume that we are using
                   8648:     # Microsoft Visual C++.
                   8649:     if test "$GCC" != yes; then
                   8650:       with_gnu_ld=no
                   8651:     fi
                   8652:     ;;
                   8653:   interix*)
                   8654:     # we just hope/assume this is gcc and not c89 (= MSVC++)
                   8655:     with_gnu_ld=yes
                   8656:     ;;
                   8657:   openbsd*)
                   8658:     with_gnu_ld=no
                   8659:     ;;
                   8660:   esac
                   8661: 
                   8662:   ld_shlibs=yes
1.1.1.2 ! misho    8663: 
        !          8664:   # On some targets, GNU ld is compatible enough with the native linker
        !          8665:   # that we're better off using the native interface for both.
        !          8666:   lt_use_gnu_ld_interface=no
1.1       misho    8667:   if test "$with_gnu_ld" = yes; then
1.1.1.2 ! misho    8668:     case $host_os in
        !          8669:       aix*)
        !          8670:        # The AIX port of GNU ld has always aspired to compatibility
        !          8671:        # with the native linker.  However, as the warning in the GNU ld
        !          8672:        # block says, versions before 2.19.5* couldn't really create working
        !          8673:        # shared libraries, regardless of the interface used.
        !          8674:        case `$LD -v 2>&1` in
        !          8675:          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
        !          8676:          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
        !          8677:          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
        !          8678:          *)
        !          8679:            lt_use_gnu_ld_interface=yes
        !          8680:            ;;
        !          8681:        esac
        !          8682:        ;;
        !          8683:       *)
        !          8684:        lt_use_gnu_ld_interface=yes
        !          8685:        ;;
        !          8686:     esac
        !          8687:   fi
        !          8688: 
        !          8689:   if test "$lt_use_gnu_ld_interface" = yes; then
1.1       misho    8690:     # If archive_cmds runs LD, not CC, wlarc should be empty
                   8691:     wlarc='${wl}'
                   8692: 
                   8693:     # Set some defaults for GNU ld with shared library support. These
                   8694:     # are reset later if shared libraries are not supported. Putting them
                   8695:     # here allows them to be overridden if necessary.
                   8696:     runpath_var=LD_RUN_PATH
                   8697:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   8698:     export_dynamic_flag_spec='${wl}--export-dynamic'
                   8699:     # ancient GNU ld didn't support --whole-archive et. al.
                   8700:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
                   8701:       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   8702:     else
                   8703:       whole_archive_flag_spec=
                   8704:     fi
                   8705:     supports_anon_versioning=no
                   8706:     case `$LD -v 2>&1` in
                   8707:       *GNU\ gold*) supports_anon_versioning=yes ;;
                   8708:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
                   8709:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
                   8710:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
                   8711:       *\ 2.11.*) ;; # other 2.11 versions
                   8712:       *) supports_anon_versioning=yes ;;
                   8713:     esac
                   8714: 
                   8715:     # See if GNU ld supports shared libraries.
                   8716:     case $host_os in
                   8717:     aix[3-9]*)
                   8718:       # On AIX/PPC, the GNU linker is very broken
                   8719:       if test "$host_cpu" != ia64; then
                   8720:        ld_shlibs=no
                   8721:        cat <<_LT_EOF 1>&2
                   8722: 
1.1.1.2 ! misho    8723: *** Warning: the GNU linker, at least up to release 2.19, is reported
1.1       misho    8724: *** to be unable to reliably create shared libraries on AIX.
                   8725: *** Therefore, libtool is disabling shared libraries support.  If you
1.1.1.2 ! misho    8726: *** really care for shared libraries, you may want to install binutils
        !          8727: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
        !          8728: *** You will then need to restart the configuration process.
1.1       misho    8729: 
                   8730: _LT_EOF
                   8731:       fi
                   8732:       ;;
                   8733: 
                   8734:     amigaos*)
                   8735:       case $host_cpu in
                   8736:       powerpc)
                   8737:             # see comment about AmigaOS4 .so support
                   8738:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8739:             archive_expsym_cmds=''
                   8740:         ;;
                   8741:       m68k)
                   8742:             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)'
                   8743:             hardcode_libdir_flag_spec='-L$libdir'
                   8744:             hardcode_minus_L=yes
                   8745:         ;;
                   8746:       esac
                   8747:       ;;
                   8748: 
                   8749:     beos*)
                   8750:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   8751:        allow_undefined_flag=unsupported
                   8752:        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   8753:        # support --undefined.  This deserves some investigation.  FIXME
                   8754:        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8755:       else
                   8756:        ld_shlibs=no
                   8757:       fi
                   8758:       ;;
                   8759: 
                   8760:     cygwin* | mingw* | pw32* | cegcc*)
                   8761:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
                   8762:       # as there is no search path for DLLs.
                   8763:       hardcode_libdir_flag_spec='-L$libdir'
1.1.1.2 ! misho    8764:       export_dynamic_flag_spec='${wl}--export-all-symbols'
1.1       misho    8765:       allow_undefined_flag=unsupported
                   8766:       always_export_symbols=no
                   8767:       enable_shared_with_static_runtimes=yes
1.1.1.2 ! misho    8768:       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
        !          8769:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
1.1       misho    8770: 
                   8771:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   8772:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   8773:        # If the export-symbols file already is a .def file (1st line
                   8774:        # is EXPORTS), use it as is; otherwise, prepend...
                   8775:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   8776:          cp $export_symbols $output_objdir/$soname.def;
                   8777:        else
                   8778:          echo EXPORTS > $output_objdir/$soname.def;
                   8779:          cat $export_symbols >> $output_objdir/$soname.def;
                   8780:        fi~
                   8781:        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   8782:       else
                   8783:        ld_shlibs=no
                   8784:       fi
                   8785:       ;;
                   8786: 
1.1.1.2 ! misho    8787:     haiku*)
        !          8788:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
        !          8789:       link_all_deplibs=yes
        !          8790:       ;;
        !          8791: 
1.1       misho    8792:     interix[3-9]*)
                   8793:       hardcode_direct=no
                   8794:       hardcode_shlibpath_var=no
                   8795:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   8796:       export_dynamic_flag_spec='${wl}-E'
                   8797:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   8798:       # Instead, shared libraries are loaded at an image base (0x10000000 by
                   8799:       # default) and relocated if they conflict, which is a slow very memory
                   8800:       # consuming and fragmenting process.  To avoid this, we pick a random,
                   8801:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   8802:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   8803:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   8804:       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'
                   8805:       ;;
                   8806: 
                   8807:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
                   8808:       tmp_diet=no
                   8809:       if test "$host_os" = linux-dietlibc; then
                   8810:        case $cc_basename in
                   8811:          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
                   8812:        esac
                   8813:       fi
                   8814:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
                   8815:         && test "$tmp_diet" = no
                   8816:       then
1.1.1.2 ! misho    8817:        tmp_addflag=' $pic_flag'
1.1       misho    8818:        tmp_sharedflag='-shared'
                   8819:        case $cc_basename,$host_cpu in
                   8820:         pgcc*)                         # Portland Group C compiler
1.1.1.2 ! misho    8821:          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
1.1       misho    8822:          tmp_addflag=' $pic_flag'
                   8823:          ;;
1.1.1.2 ! misho    8824:        pgf77* | pgf90* | pgf95* | pgfortran*)
        !          8825:                                        # Portland Group f77 and f90 compilers
        !          8826:          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
1.1       misho    8827:          tmp_addflag=' $pic_flag -Mnomain' ;;
                   8828:        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
                   8829:          tmp_addflag=' -i_dynamic' ;;
                   8830:        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
                   8831:          tmp_addflag=' -i_dynamic -nofor_main' ;;
                   8832:        ifc* | ifort*)                  # Intel Fortran compiler
                   8833:          tmp_addflag=' -nofor_main' ;;
                   8834:        lf95*)                          # Lahey Fortran 8.1
                   8835:          whole_archive_flag_spec=
                   8836:          tmp_sharedflag='--shared' ;;
1.1.1.2 ! misho    8837:        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
1.1       misho    8838:          tmp_sharedflag='-qmkshrobj'
                   8839:          tmp_addflag= ;;
1.1.1.2 ! misho    8840:        nvcc*)  # Cuda Compiler Driver 2.2
        !          8841:          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
        !          8842:          compiler_needs_object=yes
        !          8843:          ;;
1.1       misho    8844:        esac
                   8845:        case `$CC -V 2>&1 | sed 5q` in
                   8846:        *Sun\ C*)                       # Sun C 5.9
1.1.1.2 ! misho    8847:          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
1.1       misho    8848:          compiler_needs_object=yes
                   8849:          tmp_sharedflag='-G' ;;
                   8850:        *Sun\ F*)                       # Sun Fortran 8.3
                   8851:          tmp_sharedflag='-G' ;;
                   8852:        esac
                   8853:        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8854: 
                   8855:         if test "x$supports_anon_versioning" = xyes; then
                   8856:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   8857:            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   8858:            echo "local: *; };" >> $output_objdir/$libname.ver~
                   8859:            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   8860:         fi
                   8861: 
                   8862:        case $cc_basename in
1.1.1.2 ! misho    8863:        xlf* | bgf* | bgxlf* | mpixlf*)
1.1       misho    8864:          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
                   8865:          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
1.1.1.2 ! misho    8866:          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
        !          8867:          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
1.1       misho    8868:          if test "x$supports_anon_versioning" = xyes; then
                   8869:            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   8870:              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   8871:              echo "local: *; };" >> $output_objdir/$libname.ver~
1.1.1.2 ! misho    8872:              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
1.1       misho    8873:          fi
                   8874:          ;;
                   8875:        esac
                   8876:       else
                   8877:         ld_shlibs=no
                   8878:       fi
                   8879:       ;;
                   8880: 
1.1.1.2 ! misho    8881:     netbsd*)
1.1       misho    8882:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   8883:        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   8884:        wlarc=
                   8885:       else
1.1.1.2 ! misho    8886:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
        !          8887:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
1.1       misho    8888:       fi
                   8889:       ;;
                   8890: 
                   8891:     solaris*)
                   8892:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
                   8893:        ld_shlibs=no
                   8894:        cat <<_LT_EOF 1>&2
                   8895: 
                   8896: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   8897: *** create shared libraries on Solaris systems.  Therefore, libtool
                   8898: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   8899: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   8900: *** your PATH or compiler configuration so that the native linker is
                   8901: *** used, and then restart.
                   8902: 
                   8903: _LT_EOF
                   8904:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
1.1.1.2 ! misho    8905:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
        !          8906:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
1.1       misho    8907:       else
                   8908:        ld_shlibs=no
                   8909:       fi
                   8910:       ;;
                   8911: 
                   8912:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
                   8913:       case `$LD -v 2>&1` in
                   8914:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
                   8915:        ld_shlibs=no
                   8916:        cat <<_LT_EOF 1>&2
                   8917: 
                   8918: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
                   8919: *** reliably create shared libraries on SCO systems.  Therefore, libtool
                   8920: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   8921: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
                   8922: *** your PATH or compiler configuration so that the native linker is
                   8923: *** used, and then restart.
                   8924: 
                   8925: _LT_EOF
                   8926:        ;;
                   8927:        *)
                   8928:          # For security reasons, it is highly recommended that you always
                   8929:          # use absolute paths for naming shared libraries, and exclude the
                   8930:          # DT_RUNPATH tag from executables and libraries.  But doing so
                   8931:          # requires that you compile everything twice, which is a pain.
                   8932:          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   8933:            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   8934:            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8935:            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   8936:          else
                   8937:            ld_shlibs=no
                   8938:          fi
                   8939:        ;;
                   8940:       esac
                   8941:       ;;
                   8942: 
                   8943:     sunos4*)
                   8944:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   8945:       wlarc=
                   8946:       hardcode_direct=yes
                   8947:       hardcode_shlibpath_var=no
                   8948:       ;;
                   8949: 
                   8950:     *)
                   8951:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
1.1.1.2 ! misho    8952:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
        !          8953:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
1.1       misho    8954:       else
                   8955:        ld_shlibs=no
                   8956:       fi
                   8957:       ;;
                   8958:     esac
                   8959: 
                   8960:     if test "$ld_shlibs" = no; then
                   8961:       runpath_var=
                   8962:       hardcode_libdir_flag_spec=
                   8963:       export_dynamic_flag_spec=
                   8964:       whole_archive_flag_spec=
                   8965:     fi
                   8966:   else
                   8967:     # PORTME fill in a description of your system's linker (not GNU ld)
                   8968:     case $host_os in
                   8969:     aix3*)
                   8970:       allow_undefined_flag=unsupported
                   8971:       always_export_symbols=yes
                   8972:       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'
                   8973:       # Note: this linker hardcodes the directories in LIBPATH if there
                   8974:       # are no directories specified by -L.
                   8975:       hardcode_minus_L=yes
                   8976:       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
                   8977:        # Neither direct hardcoding nor static linking is supported with a
                   8978:        # broken collect2.
                   8979:        hardcode_direct=unsupported
                   8980:       fi
                   8981:       ;;
                   8982: 
                   8983:     aix[4-9]*)
                   8984:       if test "$host_cpu" = ia64; then
                   8985:        # On IA64, the linker does run time linking by default, so we don't
                   8986:        # have to do anything special.
                   8987:        aix_use_runtimelinking=no
                   8988:        exp_sym_flag='-Bexport'
                   8989:        no_entry_flag=""
                   8990:       else
                   8991:        # If we're using GNU nm, then we don't want the "-C" option.
                   8992:        # -C means demangle to AIX nm, but means don't demangle with GNU nm
1.1.1.2 ! misho    8993:        # Also, AIX nm treats weak defined symbols like other global
        !          8994:        # defined symbols, whereas GNU nm marks them as "W".
1.1       misho    8995:        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
1.1.1.2 ! misho    8996:          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
1.1       misho    8997:        else
                   8998:          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'
                   8999:        fi
                   9000:        aix_use_runtimelinking=no
                   9001: 
                   9002:        # Test if we are trying to use run time linking or normal
                   9003:        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   9004:        # need to do runtime linking.
                   9005:        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   9006:          for ld_flag in $LDFLAGS; do
                   9007:          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
                   9008:            aix_use_runtimelinking=yes
                   9009:            break
                   9010:          fi
                   9011:          done
                   9012:          ;;
                   9013:        esac
                   9014: 
                   9015:        exp_sym_flag='-bexport'
                   9016:        no_entry_flag='-bnoentry'
                   9017:       fi
                   9018: 
                   9019:       # When large executables or shared objects are built, AIX ld can
                   9020:       # have problems creating the table of contents.  If linking a library
                   9021:       # or program results in "error TOC overflow" add -mminimal-toc to
                   9022:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   9023:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   9024: 
                   9025:       archive_cmds=''
                   9026:       hardcode_direct=yes
                   9027:       hardcode_direct_absolute=yes
                   9028:       hardcode_libdir_separator=':'
                   9029:       link_all_deplibs=yes
                   9030:       file_list_spec='${wl}-f,'
                   9031: 
                   9032:       if test "$GCC" = yes; then
                   9033:        case $host_os in aix4.[012]|aix4.[012].*)
                   9034:        # We only want to do this on AIX 4.2 and lower, the check
                   9035:        # below for broken collect2 doesn't work under 4.3+
                   9036:          collect2name=`${CC} -print-prog-name=collect2`
                   9037:          if test -f "$collect2name" &&
                   9038:           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   9039:          then
                   9040:          # We have reworked collect2
                   9041:          :
                   9042:          else
                   9043:          # We have old collect2
                   9044:          hardcode_direct=unsupported
                   9045:          # It fails to find uninstalled libraries when the uninstalled
                   9046:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   9047:          # to unsupported forces relinking
                   9048:          hardcode_minus_L=yes
                   9049:          hardcode_libdir_flag_spec='-L$libdir'
                   9050:          hardcode_libdir_separator=
                   9051:          fi
                   9052:          ;;
                   9053:        esac
                   9054:        shared_flag='-shared'
                   9055:        if test "$aix_use_runtimelinking" = yes; then
                   9056:          shared_flag="$shared_flag "'${wl}-G'
                   9057:        fi
                   9058:       else
                   9059:        # not using gcc
                   9060:        if test "$host_cpu" = ia64; then
                   9061:        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   9062:        # chokes on -Wl,-G. The following line is correct:
                   9063:          shared_flag='-G'
                   9064:        else
                   9065:          if test "$aix_use_runtimelinking" = yes; then
                   9066:            shared_flag='${wl}-G'
                   9067:          else
                   9068:            shared_flag='${wl}-bM:SRE'
                   9069:          fi
                   9070:        fi
                   9071:       fi
                   9072: 
                   9073:       export_dynamic_flag_spec='${wl}-bexpall'
                   9074:       # It seems that -bexpall does not export symbols beginning with
                   9075:       # underscore (_), so it is better to generate a list of symbols to export.
                   9076:       always_export_symbols=yes
                   9077:       if test "$aix_use_runtimelinking" = yes; then
                   9078:        # Warning - without using the other runtime loading flags (-brtl),
                   9079:        # -berok will link without error, but may produce a broken library.
                   9080:        allow_undefined_flag='-berok'
                   9081:         # Determine the default libpath from the value encoded in an
                   9082:         # empty executable.
1.1.1.2 ! misho    9083:         if test "${lt_cv_aix_libpath+set}" = set; then
        !          9084:   aix_libpath=$lt_cv_aix_libpath
        !          9085: else
        !          9086:   if ${lt_cv_aix_libpath_+:} false; then :
        !          9087:   $as_echo_n "(cached) " >&6
        !          9088: else
        !          9089:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    9090: /* end confdefs.h.  */
                   9091: 
                   9092: int
                   9093: main ()
                   9094: {
                   9095: 
                   9096:   ;
                   9097:   return 0;
                   9098: }
                   9099: _ACEOF
                   9100: if ac_fn_c_try_link "$LINENO"; then :
                   9101: 
1.1.1.2 ! misho    9102:   lt_aix_libpath_sed='
        !          9103:       /Import File Strings/,/^$/ {
        !          9104:          /^0/ {
        !          9105:              s/^0  *\([^ ]*\) *$/\1/
        !          9106:              p
        !          9107:          }
        !          9108:       }'
        !          9109:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
        !          9110:   # Check for a 64-bit object if we didn't find anything.
        !          9111:   if test -z "$lt_cv_aix_libpath_"; then
        !          9112:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
        !          9113:   fi
1.1       misho    9114: fi
                   9115: rm -f core conftest.err conftest.$ac_objext \
                   9116:     conftest$ac_exeext conftest.$ac_ext
1.1.1.2 ! misho    9117:   if test -z "$lt_cv_aix_libpath_"; then
        !          9118:     lt_cv_aix_libpath_="/usr/lib:/lib"
        !          9119:   fi
        !          9120: 
        !          9121: fi
        !          9122: 
        !          9123:   aix_libpath=$lt_cv_aix_libpath_
        !          9124: fi
1.1       misho    9125: 
                   9126:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
1.1.1.2 ! misho    9127:         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
1.1       misho    9128:       else
                   9129:        if test "$host_cpu" = ia64; then
                   9130:          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
                   9131:          allow_undefined_flag="-z nodefs"
                   9132:          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"
                   9133:        else
                   9134:         # Determine the default libpath from the value encoded in an
                   9135:         # empty executable.
1.1.1.2 ! misho    9136:         if test "${lt_cv_aix_libpath+set}" = set; then
        !          9137:   aix_libpath=$lt_cv_aix_libpath
        !          9138: else
        !          9139:   if ${lt_cv_aix_libpath_+:} false; then :
        !          9140:   $as_echo_n "(cached) " >&6
        !          9141: else
        !          9142:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    9143: /* end confdefs.h.  */
                   9144: 
                   9145: int
                   9146: main ()
                   9147: {
                   9148: 
                   9149:   ;
                   9150:   return 0;
                   9151: }
                   9152: _ACEOF
                   9153: if ac_fn_c_try_link "$LINENO"; then :
                   9154: 
1.1.1.2 ! misho    9155:   lt_aix_libpath_sed='
        !          9156:       /Import File Strings/,/^$/ {
        !          9157:          /^0/ {
        !          9158:              s/^0  *\([^ ]*\) *$/\1/
        !          9159:              p
        !          9160:          }
        !          9161:       }'
        !          9162:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
        !          9163:   # Check for a 64-bit object if we didn't find anything.
        !          9164:   if test -z "$lt_cv_aix_libpath_"; then
        !          9165:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
        !          9166:   fi
1.1       misho    9167: fi
                   9168: rm -f core conftest.err conftest.$ac_objext \
                   9169:     conftest$ac_exeext conftest.$ac_ext
1.1.1.2 ! misho    9170:   if test -z "$lt_cv_aix_libpath_"; then
        !          9171:     lt_cv_aix_libpath_="/usr/lib:/lib"
        !          9172:   fi
        !          9173: 
        !          9174: fi
        !          9175: 
        !          9176:   aix_libpath=$lt_cv_aix_libpath_
        !          9177: fi
1.1       misho    9178: 
                   9179:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   9180:          # Warning - without using the other run time loading flags,
                   9181:          # -berok will link without error, but may produce a broken library.
                   9182:          no_undefined_flag=' ${wl}-bernotok'
                   9183:          allow_undefined_flag=' ${wl}-berok'
1.1.1.2 ! misho    9184:          if test "$with_gnu_ld" = yes; then
        !          9185:            # We only use this code for GNU lds that support --whole-archive.
        !          9186:            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
        !          9187:          else
        !          9188:            # Exported symbols can be pulled into shared objects from archives
        !          9189:            whole_archive_flag_spec='$convenience'
        !          9190:          fi
1.1       misho    9191:          archive_cmds_need_lc=yes
                   9192:          # This is similar to how AIX traditionally builds its shared libraries.
                   9193:          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'
                   9194:        fi
                   9195:       fi
                   9196:       ;;
                   9197: 
                   9198:     amigaos*)
                   9199:       case $host_cpu in
                   9200:       powerpc)
                   9201:             # see comment about AmigaOS4 .so support
                   9202:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9203:             archive_expsym_cmds=''
                   9204:         ;;
                   9205:       m68k)
                   9206:             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)'
                   9207:             hardcode_libdir_flag_spec='-L$libdir'
                   9208:             hardcode_minus_L=yes
                   9209:         ;;
                   9210:       esac
                   9211:       ;;
                   9212: 
                   9213:     bsdi[45]*)
                   9214:       export_dynamic_flag_spec=-rdynamic
                   9215:       ;;
                   9216: 
                   9217:     cygwin* | mingw* | pw32* | cegcc*)
                   9218:       # When not using gcc, we currently assume that we are using
                   9219:       # Microsoft Visual C++.
                   9220:       # hardcode_libdir_flag_spec is actually meaningless, as there is
                   9221:       # no search path for DLLs.
1.1.1.2 ! misho    9222:       case $cc_basename in
        !          9223:       cl*)
        !          9224:        # Native MSVC
        !          9225:        hardcode_libdir_flag_spec=' '
        !          9226:        allow_undefined_flag=unsupported
        !          9227:        always_export_symbols=yes
        !          9228:        file_list_spec='@'
        !          9229:        # Tell ltmain to make .lib files, not .a files.
        !          9230:        libext=lib
        !          9231:        # Tell ltmain to make .dll files, not .so files.
        !          9232:        shrext_cmds=".dll"
        !          9233:        # FIXME: Setting linknames here is a bad hack.
        !          9234:        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
        !          9235:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
        !          9236:            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
        !          9237:          else
        !          9238:            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
        !          9239:          fi~
        !          9240:          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
        !          9241:          linknames='
        !          9242:        # The linker will not automatically build a static lib if we build a DLL.
        !          9243:        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
        !          9244:        enable_shared_with_static_runtimes=yes
        !          9245:        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
        !          9246:        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
        !          9247:        # Don't use ranlib
        !          9248:        old_postinstall_cmds='chmod 644 $oldlib'
        !          9249:        postlink_cmds='lt_outputfile="@OUTPUT@"~
        !          9250:          lt_tool_outputfile="@TOOL_OUTPUT@"~
        !          9251:          case $lt_outputfile in
        !          9252:            *.exe|*.EXE) ;;
        !          9253:            *)
        !          9254:              lt_outputfile="$lt_outputfile.exe"
        !          9255:              lt_tool_outputfile="$lt_tool_outputfile.exe"
        !          9256:              ;;
        !          9257:          esac~
        !          9258:          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
        !          9259:            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
        !          9260:            $RM "$lt_outputfile.manifest";
        !          9261:          fi'
        !          9262:        ;;
        !          9263:       *)
        !          9264:        # Assume MSVC wrapper
        !          9265:        hardcode_libdir_flag_spec=' '
        !          9266:        allow_undefined_flag=unsupported
        !          9267:        # Tell ltmain to make .lib files, not .a files.
        !          9268:        libext=lib
        !          9269:        # Tell ltmain to make .dll files, not .so files.
        !          9270:        shrext_cmds=".dll"
        !          9271:        # FIXME: Setting linknames here is a bad hack.
        !          9272:        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
        !          9273:        # The linker will automatically build a .lib file if we build a DLL.
        !          9274:        old_archive_from_new_cmds='true'
        !          9275:        # FIXME: Should let the user specify the lib program.
        !          9276:        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
        !          9277:        enable_shared_with_static_runtimes=yes
        !          9278:        ;;
        !          9279:       esac
1.1       misho    9280:       ;;
                   9281: 
                   9282:     darwin* | rhapsody*)
                   9283: 
                   9284: 
                   9285:   archive_cmds_need_lc=no
                   9286:   hardcode_direct=no
                   9287:   hardcode_automatic=yes
                   9288:   hardcode_shlibpath_var=unsupported
1.1.1.2 ! misho    9289:   if test "$lt_cv_ld_force_load" = "yes"; then
        !          9290:     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
        !          9291: 
        !          9292:   else
        !          9293:     whole_archive_flag_spec=''
        !          9294:   fi
1.1       misho    9295:   link_all_deplibs=yes
                   9296:   allow_undefined_flag="$_lt_dar_allow_undefined"
                   9297:   case $cc_basename in
                   9298:      ifort*) _lt_dar_can_shared=yes ;;
                   9299:      *) _lt_dar_can_shared=$GCC ;;
                   9300:   esac
                   9301:   if test "$_lt_dar_can_shared" = "yes"; then
1.1.1.2 ! misho    9302:     output_verbose_link_cmd=func_echo_all
1.1       misho    9303:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
                   9304:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   9305:     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}"
                   9306:     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}"
                   9307: 
                   9308:   else
                   9309:   ld_shlibs=no
                   9310:   fi
                   9311: 
                   9312:       ;;
                   9313: 
                   9314:     dgux*)
                   9315:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9316:       hardcode_libdir_flag_spec='-L$libdir'
                   9317:       hardcode_shlibpath_var=no
                   9318:       ;;
                   9319: 
                   9320:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   9321:     # support.  Future versions do this automatically, but an explicit c++rt0.o
                   9322:     # does not break anything, and helps significantly (at the cost of a little
                   9323:     # extra space).
                   9324:     freebsd2.2*)
                   9325:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   9326:       hardcode_libdir_flag_spec='-R$libdir'
                   9327:       hardcode_direct=yes
                   9328:       hardcode_shlibpath_var=no
                   9329:       ;;
                   9330: 
                   9331:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
1.1.1.2 ! misho    9332:     freebsd2.*)
1.1       misho    9333:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   9334:       hardcode_direct=yes
                   9335:       hardcode_minus_L=yes
                   9336:       hardcode_shlibpath_var=no
                   9337:       ;;
                   9338: 
                   9339:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
                   9340:     freebsd* | dragonfly*)
1.1.1.2 ! misho    9341:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
1.1       misho    9342:       hardcode_libdir_flag_spec='-R$libdir'
                   9343:       hardcode_direct=yes
                   9344:       hardcode_shlibpath_var=no
                   9345:       ;;
                   9346: 
                   9347:     hpux9*)
                   9348:       if test "$GCC" = yes; then
1.1.1.2 ! misho    9349:        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
1.1       misho    9350:       else
                   9351:        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'
                   9352:       fi
                   9353:       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   9354:       hardcode_libdir_separator=:
                   9355:       hardcode_direct=yes
                   9356: 
                   9357:       # hardcode_minus_L: Not really in the search PATH,
                   9358:       # but as the default location of the library.
                   9359:       hardcode_minus_L=yes
                   9360:       export_dynamic_flag_spec='${wl}-E'
                   9361:       ;;
                   9362: 
                   9363:     hpux10*)
1.1.1.2 ! misho    9364:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
        !          9365:        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1.1       misho    9366:       else
                   9367:        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   9368:       fi
                   9369:       if test "$with_gnu_ld" = no; then
                   9370:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   9371:        hardcode_libdir_separator=:
                   9372:        hardcode_direct=yes
                   9373:        hardcode_direct_absolute=yes
                   9374:        export_dynamic_flag_spec='${wl}-E'
                   9375:        # hardcode_minus_L: Not really in the search PATH,
                   9376:        # but as the default location of the library.
                   9377:        hardcode_minus_L=yes
                   9378:       fi
                   9379:       ;;
                   9380: 
                   9381:     hpux11*)
1.1.1.2 ! misho    9382:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
1.1       misho    9383:        case $host_cpu in
                   9384:        hppa*64*)
                   9385:          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9386:          ;;
                   9387:        ia64*)
1.1.1.2 ! misho    9388:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
1.1       misho    9389:          ;;
                   9390:        *)
1.1.1.2 ! misho    9391:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1.1       misho    9392:          ;;
                   9393:        esac
                   9394:       else
                   9395:        case $host_cpu in
                   9396:        hppa*64*)
                   9397:          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9398:          ;;
                   9399:        ia64*)
                   9400:          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   9401:          ;;
                   9402:        *)
1.1.1.2 ! misho    9403: 
        !          9404:          # Older versions of the 11.00 compiler do not understand -b yet
        !          9405:          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
        !          9406:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
        !          9407: $as_echo_n "checking if $CC understands -b... " >&6; }
        !          9408: if ${lt_cv_prog_compiler__b+:} false; then :
        !          9409:   $as_echo_n "(cached) " >&6
        !          9410: else
        !          9411:   lt_cv_prog_compiler__b=no
        !          9412:    save_LDFLAGS="$LDFLAGS"
        !          9413:    LDFLAGS="$LDFLAGS -b"
        !          9414:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
        !          9415:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
        !          9416:      # The linker can only warn and ignore the option if not recognized
        !          9417:      # So say no if there are warnings
        !          9418:      if test -s conftest.err; then
        !          9419:        # Append any errors to the config.log.
        !          9420:        cat conftest.err 1>&5
        !          9421:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
        !          9422:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
        !          9423:        if diff conftest.exp conftest.er2 >/dev/null; then
        !          9424:          lt_cv_prog_compiler__b=yes
        !          9425:        fi
        !          9426:      else
        !          9427:        lt_cv_prog_compiler__b=yes
        !          9428:      fi
        !          9429:    fi
        !          9430:    $RM -r conftest*
        !          9431:    LDFLAGS="$save_LDFLAGS"
        !          9432: 
        !          9433: fi
        !          9434: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
        !          9435: $as_echo "$lt_cv_prog_compiler__b" >&6; }
        !          9436: 
        !          9437: if test x"$lt_cv_prog_compiler__b" = xyes; then
        !          9438:     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
        !          9439: else
        !          9440:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
        !          9441: fi
        !          9442: 
1.1       misho    9443:          ;;
                   9444:        esac
                   9445:       fi
                   9446:       if test "$with_gnu_ld" = no; then
                   9447:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   9448:        hardcode_libdir_separator=:
                   9449: 
                   9450:        case $host_cpu in
                   9451:        hppa*64*|ia64*)
                   9452:          hardcode_direct=no
                   9453:          hardcode_shlibpath_var=no
                   9454:          ;;
                   9455:        *)
                   9456:          hardcode_direct=yes
                   9457:          hardcode_direct_absolute=yes
                   9458:          export_dynamic_flag_spec='${wl}-E'
                   9459: 
                   9460:          # hardcode_minus_L: Not really in the search PATH,
                   9461:          # but as the default location of the library.
                   9462:          hardcode_minus_L=yes
                   9463:          ;;
                   9464:        esac
                   9465:       fi
                   9466:       ;;
                   9467: 
                   9468:     irix5* | irix6* | nonstopux*)
                   9469:       if test "$GCC" = yes; then
1.1.1.2 ! misho    9470:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
1.1       misho    9471:        # Try to use the -exported_symbol ld option, if it does not
                   9472:        # work, assume that -exports_file does not work either and
                   9473:        # implicitly export all symbols.
1.1.1.2 ! misho    9474:        # This should be the same for all languages, so no per-tag cache variable.
        !          9475:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
        !          9476: $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
        !          9477: if ${lt_cv_irix_exported_symbol+:} false; then :
        !          9478:   $as_echo_n "(cached) " >&6
        !          9479: else
        !          9480:   save_LDFLAGS="$LDFLAGS"
        !          9481:           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
        !          9482:           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    9483: /* end confdefs.h.  */
1.1.1.2 ! misho    9484: int foo (void) { return 0; }
1.1       misho    9485: _ACEOF
                   9486: if ac_fn_c_try_link "$LINENO"; then :
1.1.1.2 ! misho    9487:   lt_cv_irix_exported_symbol=yes
        !          9488: else
        !          9489:   lt_cv_irix_exported_symbol=no
1.1       misho    9490: fi
                   9491: rm -f core conftest.err conftest.$ac_objext \
                   9492:     conftest$ac_exeext conftest.$ac_ext
1.1.1.2 ! misho    9493:            LDFLAGS="$save_LDFLAGS"
        !          9494: fi
        !          9495: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
        !          9496: $as_echo "$lt_cv_irix_exported_symbol" >&6; }
        !          9497:        if test "$lt_cv_irix_exported_symbol" = yes; then
        !          9498:           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
        !          9499:        fi
1.1       misho    9500:       else
1.1.1.2 ! misho    9501:        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
        !          9502:        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
1.1       misho    9503:       fi
                   9504:       archive_cmds_need_lc='no'
                   9505:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9506:       hardcode_libdir_separator=:
                   9507:       inherit_rpath=yes
                   9508:       link_all_deplibs=yes
                   9509:       ;;
                   9510: 
1.1.1.2 ! misho    9511:     netbsd*)
1.1       misho    9512:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   9513:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   9514:       else
                   9515:        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   9516:       fi
                   9517:       hardcode_libdir_flag_spec='-R$libdir'
                   9518:       hardcode_direct=yes
                   9519:       hardcode_shlibpath_var=no
                   9520:       ;;
                   9521: 
                   9522:     newsos6)
                   9523:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9524:       hardcode_direct=yes
                   9525:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9526:       hardcode_libdir_separator=:
                   9527:       hardcode_shlibpath_var=no
                   9528:       ;;
                   9529: 
                   9530:     *nto* | *qnx*)
                   9531:       ;;
                   9532: 
                   9533:     openbsd*)
                   9534:       if test -f /usr/libexec/ld.so; then
                   9535:        hardcode_direct=yes
                   9536:        hardcode_shlibpath_var=no
                   9537:        hardcode_direct_absolute=yes
                   9538:        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   9539:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   9540:          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
                   9541:          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   9542:          export_dynamic_flag_spec='${wl}-E'
                   9543:        else
                   9544:          case $host_os in
                   9545:           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
                   9546:             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   9547:             hardcode_libdir_flag_spec='-R$libdir'
                   9548:             ;;
                   9549:           *)
                   9550:             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   9551:             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   9552:             ;;
                   9553:          esac
                   9554:        fi
                   9555:       else
                   9556:        ld_shlibs=no
                   9557:       fi
                   9558:       ;;
                   9559: 
                   9560:     os2*)
                   9561:       hardcode_libdir_flag_spec='-L$libdir'
                   9562:       hardcode_minus_L=yes
                   9563:       allow_undefined_flag=unsupported
1.1.1.2 ! misho    9564:       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'
1.1       misho    9565:       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
                   9566:       ;;
                   9567: 
                   9568:     osf3*)
                   9569:       if test "$GCC" = yes; then
                   9570:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
1.1.1.2 ! misho    9571:        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
1.1       misho    9572:       else
                   9573:        allow_undefined_flag=' -expect_unresolved \*'
1.1.1.2 ! misho    9574:        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
1.1       misho    9575:       fi
                   9576:       archive_cmds_need_lc='no'
                   9577:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9578:       hardcode_libdir_separator=:
                   9579:       ;;
                   9580: 
                   9581:     osf4* | osf5*)     # as osf3* with the addition of -msym flag
                   9582:       if test "$GCC" = yes; then
                   9583:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
1.1.1.2 ! misho    9584:        archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
1.1       misho    9585:        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9586:       else
                   9587:        allow_undefined_flag=' -expect_unresolved \*'
1.1.1.2 ! misho    9588:        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
1.1       misho    9589:        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~
1.1.1.2 ! misho    9590:        $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
1.1       misho    9591: 
                   9592:        # Both c and cxx compiler support -rpath directly
                   9593:        hardcode_libdir_flag_spec='-rpath $libdir'
                   9594:       fi
                   9595:       archive_cmds_need_lc='no'
                   9596:       hardcode_libdir_separator=:
                   9597:       ;;
                   9598: 
                   9599:     solaris*)
                   9600:       no_undefined_flag=' -z defs'
                   9601:       if test "$GCC" = yes; then
                   9602:        wlarc='${wl}'
1.1.1.2 ! misho    9603:        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1.1       misho    9604:        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
1.1.1.2 ! misho    9605:          $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
1.1       misho    9606:       else
                   9607:        case `$CC -V 2>&1` in
                   9608:        *"Compilers 5.0"*)
                   9609:          wlarc=''
                   9610:          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9611:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   9612:          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
                   9613:          ;;
                   9614:        *)
                   9615:          wlarc='${wl}'
                   9616:          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   9617:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   9618:          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
                   9619:          ;;
                   9620:        esac
                   9621:       fi
                   9622:       hardcode_libdir_flag_spec='-R$libdir'
                   9623:       hardcode_shlibpath_var=no
                   9624:       case $host_os in
                   9625:       solaris2.[0-5] | solaris2.[0-5].*) ;;
                   9626:       *)
                   9627:        # The compiler driver will combine and reorder linker options,
                   9628:        # but understands `-z linker_flag'.  GCC discards it without `$wl',
                   9629:        # but is careful enough not to reorder.
                   9630:        # Supported since Solaris 2.6 (maybe 2.5.1?)
                   9631:        if test "$GCC" = yes; then
                   9632:          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   9633:        else
                   9634:          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
                   9635:        fi
                   9636:        ;;
                   9637:       esac
                   9638:       link_all_deplibs=yes
                   9639:       ;;
                   9640: 
                   9641:     sunos4*)
                   9642:       if test "x$host_vendor" = xsequent; then
                   9643:        # Use $CC to link under sequent, because it throws in some extra .o
                   9644:        # files that make .init and .fini sections work.
                   9645:        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   9646:       else
                   9647:        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   9648:       fi
                   9649:       hardcode_libdir_flag_spec='-L$libdir'
                   9650:       hardcode_direct=yes
                   9651:       hardcode_minus_L=yes
                   9652:       hardcode_shlibpath_var=no
                   9653:       ;;
                   9654: 
                   9655:     sysv4)
                   9656:       case $host_vendor in
                   9657:        sni)
                   9658:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9659:          hardcode_direct=yes # is this really true???
                   9660:        ;;
                   9661:        siemens)
                   9662:          ## LD is ld it makes a PLAMLIB
                   9663:          ## CC just makes a GrossModule.
                   9664:          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   9665:          reload_cmds='$CC -r -o $output$reload_objs'
                   9666:          hardcode_direct=no
                   9667:         ;;
                   9668:        motorola)
                   9669:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9670:          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   9671:        ;;
                   9672:       esac
                   9673:       runpath_var='LD_RUN_PATH'
                   9674:       hardcode_shlibpath_var=no
                   9675:       ;;
                   9676: 
                   9677:     sysv4.3*)
                   9678:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9679:       hardcode_shlibpath_var=no
                   9680:       export_dynamic_flag_spec='-Bexport'
                   9681:       ;;
                   9682: 
                   9683:     sysv4*MP*)
                   9684:       if test -d /usr/nec; then
                   9685:        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9686:        hardcode_shlibpath_var=no
                   9687:        runpath_var=LD_RUN_PATH
                   9688:        hardcode_runpath_var=yes
                   9689:        ld_shlibs=yes
                   9690:       fi
                   9691:       ;;
                   9692: 
                   9693:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   9694:       no_undefined_flag='${wl}-z,text'
                   9695:       archive_cmds_need_lc=no
                   9696:       hardcode_shlibpath_var=no
                   9697:       runpath_var='LD_RUN_PATH'
                   9698: 
                   9699:       if test "$GCC" = yes; then
                   9700:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9701:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9702:       else
                   9703:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9704:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9705:       fi
                   9706:       ;;
                   9707: 
                   9708:     sysv5* | sco3.2v5* | sco5v6*)
                   9709:       # Note: We can NOT use -z defs as we might desire, because we do not
                   9710:       # link with -lc, and that would cause any symbols used from libc to
                   9711:       # always be unresolved, which means just about no library would
                   9712:       # ever link correctly.  If we're not using GNU ld we use -z text
                   9713:       # though, which does catch some bad symbols but isn't as heavy-handed
                   9714:       # as -z defs.
                   9715:       no_undefined_flag='${wl}-z,text'
                   9716:       allow_undefined_flag='${wl}-z,nodefs'
                   9717:       archive_cmds_need_lc=no
                   9718:       hardcode_shlibpath_var=no
                   9719:       hardcode_libdir_flag_spec='${wl}-R,$libdir'
                   9720:       hardcode_libdir_separator=':'
                   9721:       link_all_deplibs=yes
                   9722:       export_dynamic_flag_spec='${wl}-Bexport'
                   9723:       runpath_var='LD_RUN_PATH'
                   9724: 
                   9725:       if test "$GCC" = yes; then
                   9726:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9727:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9728:       else
                   9729:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9730:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9731:       fi
                   9732:       ;;
                   9733: 
                   9734:     uts4*)
                   9735:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9736:       hardcode_libdir_flag_spec='-L$libdir'
                   9737:       hardcode_shlibpath_var=no
                   9738:       ;;
                   9739: 
                   9740:     *)
                   9741:       ld_shlibs=no
                   9742:       ;;
                   9743:     esac
                   9744: 
                   9745:     if test x$host_vendor = xsni; then
                   9746:       case $host in
                   9747:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   9748:        export_dynamic_flag_spec='${wl}-Blargedynsym'
                   9749:        ;;
                   9750:       esac
                   9751:     fi
                   9752:   fi
                   9753: 
                   9754: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
                   9755: $as_echo "$ld_shlibs" >&6; }
                   9756: test "$ld_shlibs" = no && can_build_shared=no
                   9757: 
                   9758: with_gnu_ld=$with_gnu_ld
                   9759: 
                   9760: 
                   9761: 
                   9762: 
                   9763: 
                   9764: 
                   9765: 
                   9766: 
                   9767: 
                   9768: 
                   9769: 
                   9770: 
                   9771: 
                   9772: 
                   9773: 
                   9774: #
                   9775: # Do we need to explicitly link libc?
                   9776: #
                   9777: case "x$archive_cmds_need_lc" in
                   9778: x|xyes)
                   9779:   # Assume -lc should be added
                   9780:   archive_cmds_need_lc=yes
                   9781: 
                   9782:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   9783:     case $archive_cmds in
                   9784:     *'~'*)
                   9785:       # FIXME: we may have to deal with multi-command sequences.
                   9786:       ;;
                   9787:     '$CC '*)
                   9788:       # Test whether the compiler implicitly links with -lc since on some
                   9789:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   9790:       # to ld, don't add -lc before -lgcc.
                   9791:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   9792: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
1.1.1.2 ! misho    9793: if ${lt_cv_archive_cmds_need_lc+:} false; then :
        !          9794:   $as_echo_n "(cached) " >&6
        !          9795: else
        !          9796:   $RM conftest*
        !          9797:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1.1       misho    9798: 
1.1.1.2 ! misho    9799:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.1       misho    9800:   (eval $ac_compile) 2>&5
                   9801:   ac_status=$?
                   9802:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   9803:   test $ac_status = 0; } 2>conftest.err; then
1.1.1.2 ! misho    9804:          soname=conftest
        !          9805:          lib=conftest
        !          9806:          libobjs=conftest.$ac_objext
        !          9807:          deplibs=
        !          9808:          wl=$lt_prog_compiler_wl
        !          9809:          pic_flag=$lt_prog_compiler_pic
        !          9810:          compiler_flags=-v
        !          9811:          linker_flags=-v
        !          9812:          verstring=
        !          9813:          output_objdir=.
        !          9814:          libname=conftest
        !          9815:          lt_save_allow_undefined_flag=$allow_undefined_flag
        !          9816:          allow_undefined_flag=
        !          9817:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1.1       misho    9818:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   9819:   ac_status=$?
                   9820:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   9821:   test $ac_status = 0; }
1.1.1.2 ! misho    9822:          then
        !          9823:            lt_cv_archive_cmds_need_lc=no
        !          9824:          else
        !          9825:            lt_cv_archive_cmds_need_lc=yes
        !          9826:          fi
        !          9827:          allow_undefined_flag=$lt_save_allow_undefined_flag
        !          9828:        else
        !          9829:          cat conftest.err 1>&5
        !          9830:        fi
        !          9831:        $RM conftest*
        !          9832: 
        !          9833: fi
        !          9834: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
        !          9835: $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
        !          9836:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
1.1       misho    9837:       ;;
                   9838:     esac
                   9839:   fi
                   9840:   ;;
                   9841: esac
                   9842: 
                   9843: 
                   9844: 
                   9845: 
                   9846: 
                   9847: 
                   9848: 
                   9849: 
                   9850: 
                   9851: 
                   9852: 
                   9853: 
                   9854: 
                   9855: 
                   9856: 
                   9857: 
                   9858: 
                   9859: 
                   9860: 
                   9861: 
                   9862: 
                   9863: 
                   9864: 
                   9865: 
                   9866: 
                   9867: 
                   9868: 
                   9869: 
                   9870: 
                   9871: 
                   9872: 
                   9873: 
                   9874: 
                   9875: 
                   9876: 
                   9877: 
                   9878: 
                   9879: 
                   9880: 
                   9881: 
                   9882: 
                   9883: 
                   9884: 
                   9885: 
                   9886: 
                   9887: 
                   9888: 
                   9889: 
                   9890: 
                   9891: 
                   9892: 
                   9893: 
                   9894: 
                   9895: 
                   9896: 
                   9897: 
                   9898: 
                   9899: 
                   9900: 
                   9901: 
                   9902: 
                   9903: 
                   9904: 
                   9905: 
                   9906: 
                   9907: 
                   9908: 
                   9909: 
                   9910: 
                   9911: 
                   9912: 
                   9913: 
                   9914: 
                   9915: 
                   9916: 
                   9917: 
                   9918: 
                   9919: 
                   9920: 
                   9921: 
                   9922: 
                   9923: 
                   9924: 
                   9925: 
                   9926: 
                   9927: 
                   9928: 
                   9929: 
                   9930: 
                   9931: 
                   9932: 
                   9933: 
                   9934: 
                   9935: 
                   9936: 
                   9937: 
                   9938: 
                   9939: 
                   9940: 
                   9941: 
                   9942: 
                   9943: 
                   9944: 
                   9945: 
                   9946: 
                   9947: 
                   9948: 
                   9949: 
                   9950: 
                   9951: 
                   9952: 
                   9953: 
                   9954: 
                   9955: 
                   9956: 
                   9957: 
                   9958: 
                   9959: 
                   9960: 
                   9961: 
                   9962: 
                   9963: 
                   9964: 
                   9965: 
                   9966: 
                   9967: 
                   9968: 
                   9969: 
                   9970: 
                   9971: 
                   9972: 
                   9973: 
                   9974: 
                   9975: 
                   9976: 
                   9977: 
                   9978: 
                   9979: 
                   9980: 
                   9981: 
                   9982: 
                   9983: 
                   9984: 
                   9985: 
                   9986: 
                   9987: 
                   9988: 
                   9989: 
                   9990: 
                   9991: 
                   9992: 
                   9993: 
                   9994:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   9995: $as_echo_n "checking dynamic linker characteristics... " >&6; }
                   9996: 
                   9997: if test "$GCC" = yes; then
                   9998:   case $host_os in
                   9999:     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
                   10000:     *) lt_awk_arg="/^libraries:/" ;;
                   10001:   esac
1.1.1.2 ! misho    10002:   case $host_os in
        !          10003:     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
        !          10004:     *) lt_sed_strip_eq="s,=/,/,g" ;;
        !          10005:   esac
        !          10006:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
        !          10007:   case $lt_search_path_spec in
        !          10008:   *\;*)
1.1       misho    10009:     # if the path contains ";" then we assume it to be the separator
                   10010:     # otherwise default to the standard path separator (i.e. ":") - it is
                   10011:     # assumed that no part of a normal pathname contains ";" but that should
                   10012:     # okay in the real world where ";" in dirpaths is itself problematic.
1.1.1.2 ! misho    10013:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
        !          10014:     ;;
        !          10015:   *)
        !          10016:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
        !          10017:     ;;
        !          10018:   esac
1.1       misho    10019:   # Ok, now we have the path, separated by spaces, we can step through it
                   10020:   # and add multilib dir if necessary.
                   10021:   lt_tmp_lt_search_path_spec=
                   10022:   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
                   10023:   for lt_sys_path in $lt_search_path_spec; do
                   10024:     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
                   10025:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
                   10026:     else
                   10027:       test -d "$lt_sys_path" && \
                   10028:        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
                   10029:     fi
                   10030:   done
1.1.1.2 ! misho    10031:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
1.1       misho    10032: BEGIN {RS=" "; FS="/|\n";} {
                   10033:   lt_foo="";
                   10034:   lt_count=0;
                   10035:   for (lt_i = NF; lt_i > 0; lt_i--) {
                   10036:     if ($lt_i != "" && $lt_i != ".") {
                   10037:       if ($lt_i == "..") {
                   10038:         lt_count++;
                   10039:       } else {
                   10040:         if (lt_count == 0) {
                   10041:           lt_foo="/" $lt_i lt_foo;
                   10042:         } else {
                   10043:           lt_count--;
                   10044:         }
                   10045:       }
                   10046:     }
                   10047:   }
                   10048:   if (lt_foo != "") { lt_freq[lt_foo]++; }
                   10049:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
                   10050: }'`
1.1.1.2 ! misho    10051:   # AWK program above erroneously prepends '/' to C:/dos/paths
        !          10052:   # for these hosts.
        !          10053:   case $host_os in
        !          10054:     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
        !          10055:       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
        !          10056:   esac
        !          10057:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
1.1       misho    10058: else
                   10059:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   10060: fi
                   10061: library_names_spec=
                   10062: libname_spec='lib$name'
                   10063: soname_spec=
                   10064: shrext_cmds=".so"
                   10065: postinstall_cmds=
                   10066: postuninstall_cmds=
                   10067: finish_cmds=
                   10068: finish_eval=
                   10069: shlibpath_var=
                   10070: shlibpath_overrides_runpath=unknown
                   10071: version_type=none
                   10072: dynamic_linker="$host_os ld.so"
                   10073: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   10074: need_lib_prefix=unknown
                   10075: hardcode_into_libs=no
                   10076: 
                   10077: # when you set need_version to no, make sure it does not cause -set_version
                   10078: # flags to be left without arguments
                   10079: need_version=unknown
                   10080: 
                   10081: case $host_os in
                   10082: aix3*)
1.1.1.2 ! misho    10083:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    10084:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   10085:   shlibpath_var=LIBPATH
                   10086: 
                   10087:   # AIX 3 has no versioning support, so we append a major version to the name.
                   10088:   soname_spec='${libname}${release}${shared_ext}$major'
                   10089:   ;;
                   10090: 
                   10091: aix[4-9]*)
1.1.1.2 ! misho    10092:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    10093:   need_lib_prefix=no
                   10094:   need_version=no
                   10095:   hardcode_into_libs=yes
                   10096:   if test "$host_cpu" = ia64; then
                   10097:     # AIX 5 supports IA64
                   10098:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   10099:     shlibpath_var=LD_LIBRARY_PATH
                   10100:   else
                   10101:     # With GCC up to 2.95.x, collect2 would create an import file
                   10102:     # for dependence libraries.  The import file would start with
                   10103:     # the line `#! .'.  This would cause the generated library to
                   10104:     # depend on `.', always an invalid library.  This was fixed in
                   10105:     # development snapshots of GCC prior to 3.0.
                   10106:     case $host_os in
                   10107:       aix4 | aix4.[01] | aix4.[01].*)
                   10108:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   10109:           echo ' yes '
                   10110:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   10111:        :
                   10112:       else
                   10113:        can_build_shared=no
                   10114:       fi
                   10115:       ;;
                   10116:     esac
                   10117:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   10118:     # soname into executable. Probably we can add versioning support to
                   10119:     # collect2, so additional links can be useful in future.
                   10120:     if test "$aix_use_runtimelinking" = yes; then
                   10121:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   10122:       # instead of lib<name>.a to let people know that these are not
                   10123:       # typical AIX shared libraries.
                   10124:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10125:     else
                   10126:       # We preserve .a as extension for shared libraries through AIX4.2
                   10127:       # and later when we are not doing run time linking.
                   10128:       library_names_spec='${libname}${release}.a $libname.a'
                   10129:       soname_spec='${libname}${release}${shared_ext}$major'
                   10130:     fi
                   10131:     shlibpath_var=LIBPATH
                   10132:   fi
                   10133:   ;;
                   10134: 
                   10135: amigaos*)
                   10136:   case $host_cpu in
                   10137:   powerpc)
                   10138:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   10139:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   10140:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10141:     ;;
                   10142:   m68k)
                   10143:     library_names_spec='$libname.ixlibrary $libname.a'
                   10144:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
1.1.1.2 ! misho    10145:     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
1.1       misho    10146:     ;;
                   10147:   esac
                   10148:   ;;
                   10149: 
                   10150: beos*)
                   10151:   library_names_spec='${libname}${shared_ext}'
                   10152:   dynamic_linker="$host_os ld.so"
                   10153:   shlibpath_var=LIBRARY_PATH
                   10154:   ;;
                   10155: 
                   10156: bsdi[45]*)
1.1.1.2 ! misho    10157:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    10158:   need_version=no
                   10159:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10160:   soname_spec='${libname}${release}${shared_ext}$major'
                   10161:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   10162:   shlibpath_var=LD_LIBRARY_PATH
                   10163:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   10164:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   10165:   # the default ld.so.conf also contains /usr/contrib/lib and
                   10166:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   10167:   # libtool to hard-code these into programs
                   10168:   ;;
                   10169: 
                   10170: cygwin* | mingw* | pw32* | cegcc*)
                   10171:   version_type=windows
                   10172:   shrext_cmds=".dll"
                   10173:   need_version=no
                   10174:   need_lib_prefix=no
                   10175: 
1.1.1.2 ! misho    10176:   case $GCC,$cc_basename in
        !          10177:   yes,*)
        !          10178:     # gcc
1.1       misho    10179:     library_names_spec='$libname.dll.a'
                   10180:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   10181:     postinstall_cmds='base_file=`basename \${file}`~
                   10182:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   10183:       dldir=$destdir/`dirname \$dlpath`~
                   10184:       test -d \$dldir || mkdir -p \$dldir~
                   10185:       $install_prog $dir/$dlname \$dldir/$dlname~
                   10186:       chmod a+x \$dldir/$dlname~
                   10187:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   10188:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   10189:       fi'
                   10190:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   10191:       dlpath=$dir/\$dldll~
                   10192:        $RM \$dlpath'
                   10193:     shlibpath_overrides_runpath=yes
                   10194: 
                   10195:     case $host_os in
                   10196:     cygwin*)
                   10197:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   10198:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
1.1.1.2 ! misho    10199: 
        !          10200:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
1.1       misho    10201:       ;;
                   10202:     mingw* | cegcc*)
                   10203:       # MinGW DLLs use traditional 'lib' prefix
                   10204:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10205:       ;;
                   10206:     pw32*)
                   10207:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   10208:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10209:       ;;
                   10210:     esac
1.1.1.2 ! misho    10211:     dynamic_linker='Win32 ld.exe'
        !          10212:     ;;
        !          10213: 
        !          10214:   *,cl*)
        !          10215:     # Native MSVC
        !          10216:     libname_spec='$name'
        !          10217:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
        !          10218:     library_names_spec='${libname}.dll.lib'
        !          10219: 
        !          10220:     case $build_os in
        !          10221:     mingw*)
        !          10222:       sys_lib_search_path_spec=
        !          10223:       lt_save_ifs=$IFS
        !          10224:       IFS=';'
        !          10225:       for lt_path in $LIB
        !          10226:       do
        !          10227:         IFS=$lt_save_ifs
        !          10228:         # Let DOS variable expansion print the short 8.3 style file name.
        !          10229:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
        !          10230:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
        !          10231:       done
        !          10232:       IFS=$lt_save_ifs
        !          10233:       # Convert to MSYS style.
        !          10234:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
        !          10235:       ;;
        !          10236:     cygwin*)
        !          10237:       # Convert to unix form, then to dos form, then back to unix form
        !          10238:       # but this time dos style (no spaces!) so that the unix form looks
        !          10239:       # like /cygdrive/c/PROGRA~1:/cygdr...
        !          10240:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
        !          10241:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
        !          10242:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
        !          10243:       ;;
        !          10244:     *)
        !          10245:       sys_lib_search_path_spec="$LIB"
        !          10246:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
        !          10247:         # It is most probably a Windows format PATH.
        !          10248:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
        !          10249:       else
        !          10250:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
        !          10251:       fi
        !          10252:       # FIXME: find the short name or the path components, as spaces are
        !          10253:       # common. (e.g. "Program Files" -> "PROGRA~1")
        !          10254:       ;;
        !          10255:     esac
        !          10256: 
        !          10257:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
        !          10258:     postinstall_cmds='base_file=`basename \${file}`~
        !          10259:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
        !          10260:       dldir=$destdir/`dirname \$dlpath`~
        !          10261:       test -d \$dldir || mkdir -p \$dldir~
        !          10262:       $install_prog $dir/$dlname \$dldir/$dlname'
        !          10263:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
        !          10264:       dlpath=$dir/\$dldll~
        !          10265:        $RM \$dlpath'
        !          10266:     shlibpath_overrides_runpath=yes
        !          10267:     dynamic_linker='Win32 link.exe'
1.1       misho    10268:     ;;
                   10269: 
                   10270:   *)
1.1.1.2 ! misho    10271:     # Assume MSVC wrapper
1.1       misho    10272:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
1.1.1.2 ! misho    10273:     dynamic_linker='Win32 ld.exe'
1.1       misho    10274:     ;;
                   10275:   esac
                   10276:   # FIXME: first we should search . and the directory the executable is in
                   10277:   shlibpath_var=PATH
                   10278:   ;;
                   10279: 
                   10280: darwin* | rhapsody*)
                   10281:   dynamic_linker="$host_os dyld"
                   10282:   version_type=darwin
                   10283:   need_lib_prefix=no
                   10284:   need_version=no
                   10285:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   10286:   soname_spec='${libname}${release}${major}$shared_ext'
                   10287:   shlibpath_overrides_runpath=yes
                   10288:   shlibpath_var=DYLD_LIBRARY_PATH
                   10289:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   10290: 
                   10291:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
                   10292:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   10293:   ;;
                   10294: 
                   10295: dgux*)
1.1.1.2 ! misho    10296:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    10297:   need_lib_prefix=no
                   10298:   need_version=no
                   10299:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   10300:   soname_spec='${libname}${release}${shared_ext}$major'
                   10301:   shlibpath_var=LD_LIBRARY_PATH
                   10302:   ;;
                   10303: 
                   10304: freebsd* | dragonfly*)
                   10305:   # DragonFly does not have aout.  When/if they implement a new
                   10306:   # versioning mechanism, adjust this.
                   10307:   if test -x /usr/bin/objformat; then
                   10308:     objformat=`/usr/bin/objformat`
                   10309:   else
                   10310:     case $host_os in
1.1.1.2 ! misho    10311:     freebsd[23].*) objformat=aout ;;
1.1       misho    10312:     *) objformat=elf ;;
                   10313:     esac
                   10314:   fi
                   10315:   version_type=freebsd-$objformat
                   10316:   case $version_type in
                   10317:     freebsd-elf*)
                   10318:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   10319:       need_version=no
                   10320:       need_lib_prefix=no
                   10321:       ;;
                   10322:     freebsd-*)
                   10323:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   10324:       need_version=yes
                   10325:       ;;
                   10326:   esac
                   10327:   shlibpath_var=LD_LIBRARY_PATH
                   10328:   case $host_os in
1.1.1.2 ! misho    10329:   freebsd2.*)
1.1       misho    10330:     shlibpath_overrides_runpath=yes
                   10331:     ;;
                   10332:   freebsd3.[01]* | freebsdelf3.[01]*)
                   10333:     shlibpath_overrides_runpath=yes
                   10334:     hardcode_into_libs=yes
                   10335:     ;;
                   10336:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   10337:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   10338:     shlibpath_overrides_runpath=no
                   10339:     hardcode_into_libs=yes
                   10340:     ;;
                   10341:   *) # from 4.6 on, and DragonFly
                   10342:     shlibpath_overrides_runpath=yes
                   10343:     hardcode_into_libs=yes
                   10344:     ;;
                   10345:   esac
                   10346:   ;;
                   10347: 
                   10348: gnu*)
1.1.1.2 ! misho    10349:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    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
1.1.1.2 ! misho    10355:   shlibpath_overrides_runpath=no
        !          10356:   hardcode_into_libs=yes
        !          10357:   ;;
        !          10358: 
        !          10359: haiku*)
        !          10360:   version_type=linux # correct to gnu/linux during the next big refactor
        !          10361:   need_lib_prefix=no
        !          10362:   need_version=no
        !          10363:   dynamic_linker="$host_os runtime_loader"
        !          10364:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
        !          10365:   soname_spec='${libname}${release}${shared_ext}$major'
        !          10366:   shlibpath_var=LIBRARY_PATH
        !          10367:   shlibpath_overrides_runpath=yes
        !          10368:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
1.1       misho    10369:   hardcode_into_libs=yes
                   10370:   ;;
                   10371: 
                   10372: hpux9* | hpux10* | hpux11*)
                   10373:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   10374:   # link against other versions.
                   10375:   version_type=sunos
                   10376:   need_lib_prefix=no
                   10377:   need_version=no
                   10378:   case $host_cpu in
                   10379:   ia64*)
                   10380:     shrext_cmds='.so'
                   10381:     hardcode_into_libs=yes
                   10382:     dynamic_linker="$host_os dld.so"
                   10383:     shlibpath_var=LD_LIBRARY_PATH
                   10384:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   10385:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10386:     soname_spec='${libname}${release}${shared_ext}$major'
                   10387:     if test "X$HPUX_IA64_MODE" = X32; then
                   10388:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   10389:     else
                   10390:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   10391:     fi
                   10392:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   10393:     ;;
                   10394:   hppa*64*)
                   10395:     shrext_cmds='.sl'
                   10396:     hardcode_into_libs=yes
                   10397:     dynamic_linker="$host_os dld.sl"
                   10398:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   10399:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   10400:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10401:     soname_spec='${libname}${release}${shared_ext}$major'
                   10402:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   10403:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   10404:     ;;
                   10405:   *)
                   10406:     shrext_cmds='.sl'
                   10407:     dynamic_linker="$host_os dld.sl"
                   10408:     shlibpath_var=SHLIB_PATH
                   10409:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   10410:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10411:     soname_spec='${libname}${release}${shared_ext}$major'
                   10412:     ;;
                   10413:   esac
1.1.1.2 ! misho    10414:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
1.1       misho    10415:   postinstall_cmds='chmod 555 $lib'
1.1.1.2 ! misho    10416:   # or fails outright, so override atomically:
        !          10417:   install_override_mode=555
1.1       misho    10418:   ;;
                   10419: 
                   10420: interix[3-9]*)
1.1.1.2 ! misho    10421:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    10422:   need_lib_prefix=no
                   10423:   need_version=no
                   10424:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   10425:   soname_spec='${libname}${release}${shared_ext}$major'
                   10426:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   10427:   shlibpath_var=LD_LIBRARY_PATH
                   10428:   shlibpath_overrides_runpath=no
                   10429:   hardcode_into_libs=yes
                   10430:   ;;
                   10431: 
                   10432: irix5* | irix6* | nonstopux*)
                   10433:   case $host_os in
                   10434:     nonstopux*) version_type=nonstopux ;;
                   10435:     *)
                   10436:        if test "$lt_cv_prog_gnu_ld" = yes; then
1.1.1.2 ! misho    10437:                version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    10438:        else
                   10439:                version_type=irix
                   10440:        fi ;;
                   10441:   esac
                   10442:   need_lib_prefix=no
                   10443:   need_version=no
                   10444:   soname_spec='${libname}${release}${shared_ext}$major'
                   10445:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   10446:   case $host_os in
                   10447:   irix5* | nonstopux*)
                   10448:     libsuff= shlibsuff=
                   10449:     ;;
                   10450:   *)
                   10451:     case $LD in # libtool.m4 will add one of these switches to LD
                   10452:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   10453:       libsuff= shlibsuff= libmagic=32-bit;;
                   10454:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   10455:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   10456:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   10457:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   10458:     *) libsuff= shlibsuff= libmagic=never-match;;
                   10459:     esac
                   10460:     ;;
                   10461:   esac
                   10462:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   10463:   shlibpath_overrides_runpath=no
                   10464:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   10465:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   10466:   hardcode_into_libs=yes
                   10467:   ;;
                   10468: 
                   10469: # No shared lib support for Linux oldld, aout, or coff.
                   10470: linux*oldld* | linux*aout* | linux*coff*)
                   10471:   dynamic_linker=no
                   10472:   ;;
                   10473: 
1.1.1.2 ! misho    10474: # This must be glibc/ELF.
1.1       misho    10475: linux* | k*bsd*-gnu | kopensolaris*-gnu)
1.1.1.2 ! misho    10476:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    10477:   need_lib_prefix=no
                   10478:   need_version=no
                   10479:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10480:   soname_spec='${libname}${release}${shared_ext}$major'
                   10481:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   10482:   shlibpath_var=LD_LIBRARY_PATH
                   10483:   shlibpath_overrides_runpath=no
1.1.1.2 ! misho    10484: 
1.1       misho    10485:   # Some binutils ld are patched to set DT_RUNPATH
1.1.1.2 ! misho    10486:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
        !          10487:   $as_echo_n "(cached) " >&6
        !          10488: else
        !          10489:   lt_cv_shlibpath_overrides_runpath=no
        !          10490:     save_LDFLAGS=$LDFLAGS
        !          10491:     save_libdir=$libdir
        !          10492:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
        !          10493:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
        !          10494:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    10495: /* end confdefs.h.  */
                   10496: 
                   10497: int
                   10498: main ()
                   10499: {
                   10500: 
                   10501:   ;
                   10502:   return 0;
                   10503: }
                   10504: _ACEOF
                   10505: if ac_fn_c_try_link "$LINENO"; then :
                   10506:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
1.1.1.2 ! misho    10507:   lt_cv_shlibpath_overrides_runpath=yes
1.1       misho    10508: fi
                   10509: fi
                   10510: rm -f core conftest.err conftest.$ac_objext \
                   10511:     conftest$ac_exeext conftest.$ac_ext
1.1.1.2 ! misho    10512:     LDFLAGS=$save_LDFLAGS
        !          10513:     libdir=$save_libdir
        !          10514: 
        !          10515: fi
        !          10516: 
        !          10517:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
1.1       misho    10518: 
                   10519:   # This implies no fast_install, which is unacceptable.
                   10520:   # Some rework will be needed to allow for fast_install
                   10521:   # before this can be enabled.
                   10522:   hardcode_into_libs=yes
                   10523: 
                   10524:   # Append ld.so.conf contents to the search path
                   10525:   if test -f /etc/ld.so.conf; then
1.1.1.2 ! misho    10526:     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,      ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
1.1       misho    10527:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   10528:   fi
                   10529: 
                   10530:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   10531:   # powerpc, because MkLinux only supported shared libraries with the
                   10532:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   10533:   # most powerpc-linux boxes support dynamic linking these days and
                   10534:   # people can always --disable-shared, the test was removed, and we
                   10535:   # assume the GNU/Linux dynamic linker is in use.
                   10536:   dynamic_linker='GNU/Linux ld.so'
                   10537:   ;;
                   10538: 
                   10539: netbsd*)
                   10540:   version_type=sunos
                   10541:   need_lib_prefix=no
                   10542:   need_version=no
                   10543:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   10544:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   10545:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   10546:     dynamic_linker='NetBSD (a.out) ld.so'
                   10547:   else
                   10548:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   10549:     soname_spec='${libname}${release}${shared_ext}$major'
                   10550:     dynamic_linker='NetBSD ld.elf_so'
                   10551:   fi
                   10552:   shlibpath_var=LD_LIBRARY_PATH
                   10553:   shlibpath_overrides_runpath=yes
                   10554:   hardcode_into_libs=yes
                   10555:   ;;
                   10556: 
                   10557: newsos6)
1.1.1.2 ! misho    10558:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    10559:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10560:   shlibpath_var=LD_LIBRARY_PATH
                   10561:   shlibpath_overrides_runpath=yes
                   10562:   ;;
                   10563: 
                   10564: *nto* | *qnx*)
                   10565:   version_type=qnx
                   10566:   need_lib_prefix=no
                   10567:   need_version=no
                   10568:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10569:   soname_spec='${libname}${release}${shared_ext}$major'
                   10570:   shlibpath_var=LD_LIBRARY_PATH
                   10571:   shlibpath_overrides_runpath=no
                   10572:   hardcode_into_libs=yes
                   10573:   dynamic_linker='ldqnx.so'
                   10574:   ;;
                   10575: 
                   10576: openbsd*)
                   10577:   version_type=sunos
                   10578:   sys_lib_dlsearch_path_spec="/usr/lib"
                   10579:   need_lib_prefix=no
                   10580:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   10581:   case $host_os in
                   10582:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   10583:     *)                         need_version=no  ;;
                   10584:   esac
                   10585:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   10586:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   10587:   shlibpath_var=LD_LIBRARY_PATH
                   10588:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   10589:     case $host_os in
                   10590:       openbsd2.[89] | openbsd2.[89].*)
                   10591:        shlibpath_overrides_runpath=no
                   10592:        ;;
                   10593:       *)
                   10594:        shlibpath_overrides_runpath=yes
                   10595:        ;;
                   10596:       esac
                   10597:   else
                   10598:     shlibpath_overrides_runpath=yes
                   10599:   fi
                   10600:   ;;
                   10601: 
                   10602: os2*)
                   10603:   libname_spec='$name'
                   10604:   shrext_cmds=".dll"
                   10605:   need_lib_prefix=no
                   10606:   library_names_spec='$libname${shared_ext} $libname.a'
                   10607:   dynamic_linker='OS/2 ld.exe'
                   10608:   shlibpath_var=LIBPATH
                   10609:   ;;
                   10610: 
                   10611: osf3* | osf4* | osf5*)
                   10612:   version_type=osf
                   10613:   need_lib_prefix=no
                   10614:   need_version=no
                   10615:   soname_spec='${libname}${release}${shared_ext}$major'
                   10616:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10617:   shlibpath_var=LD_LIBRARY_PATH
                   10618:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   10619:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   10620:   ;;
                   10621: 
                   10622: rdos*)
                   10623:   dynamic_linker=no
                   10624:   ;;
                   10625: 
                   10626: solaris*)
1.1.1.2 ! misho    10627:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    10628:   need_lib_prefix=no
                   10629:   need_version=no
                   10630:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10631:   soname_spec='${libname}${release}${shared_ext}$major'
                   10632:   shlibpath_var=LD_LIBRARY_PATH
                   10633:   shlibpath_overrides_runpath=yes
                   10634:   hardcode_into_libs=yes
                   10635:   # ldd complains unless libraries are executable
                   10636:   postinstall_cmds='chmod +x $lib'
                   10637:   ;;
                   10638: 
                   10639: sunos4*)
                   10640:   version_type=sunos
                   10641:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   10642:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   10643:   shlibpath_var=LD_LIBRARY_PATH
                   10644:   shlibpath_overrides_runpath=yes
                   10645:   if test "$with_gnu_ld" = yes; then
                   10646:     need_lib_prefix=no
                   10647:   fi
                   10648:   need_version=yes
                   10649:   ;;
                   10650: 
                   10651: sysv4 | sysv4.3*)
1.1.1.2 ! misho    10652:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    10653:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10654:   soname_spec='${libname}${release}${shared_ext}$major'
                   10655:   shlibpath_var=LD_LIBRARY_PATH
                   10656:   case $host_vendor in
                   10657:     sni)
                   10658:       shlibpath_overrides_runpath=no
                   10659:       need_lib_prefix=no
                   10660:       runpath_var=LD_RUN_PATH
                   10661:       ;;
                   10662:     siemens)
                   10663:       need_lib_prefix=no
                   10664:       ;;
                   10665:     motorola)
                   10666:       need_lib_prefix=no
                   10667:       need_version=no
                   10668:       shlibpath_overrides_runpath=no
                   10669:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   10670:       ;;
                   10671:   esac
                   10672:   ;;
                   10673: 
                   10674: sysv4*MP*)
                   10675:   if test -d /usr/nec ;then
1.1.1.2 ! misho    10676:     version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    10677:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   10678:     soname_spec='$libname${shared_ext}.$major'
                   10679:     shlibpath_var=LD_LIBRARY_PATH
                   10680:   fi
                   10681:   ;;
                   10682: 
                   10683: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   10684:   version_type=freebsd-elf
                   10685:   need_lib_prefix=no
                   10686:   need_version=no
                   10687:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   10688:   soname_spec='${libname}${release}${shared_ext}$major'
                   10689:   shlibpath_var=LD_LIBRARY_PATH
                   10690:   shlibpath_overrides_runpath=yes
                   10691:   hardcode_into_libs=yes
                   10692:   if test "$with_gnu_ld" = yes; then
                   10693:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   10694:   else
                   10695:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   10696:     case $host_os in
                   10697:       sco3.2v5*)
                   10698:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   10699:        ;;
                   10700:     esac
                   10701:   fi
                   10702:   sys_lib_dlsearch_path_spec='/usr/lib'
                   10703:   ;;
                   10704: 
                   10705: tpf*)
                   10706:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
1.1.1.2 ! misho    10707:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    10708:   need_lib_prefix=no
                   10709:   need_version=no
                   10710:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10711:   shlibpath_var=LD_LIBRARY_PATH
                   10712:   shlibpath_overrides_runpath=no
                   10713:   hardcode_into_libs=yes
                   10714:   ;;
                   10715: 
                   10716: uts4*)
1.1.1.2 ! misho    10717:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misho    10718:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10719:   soname_spec='${libname}${release}${shared_ext}$major'
                   10720:   shlibpath_var=LD_LIBRARY_PATH
                   10721:   ;;
                   10722: 
                   10723: *)
                   10724:   dynamic_linker=no
                   10725:   ;;
                   10726: esac
                   10727: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   10728: $as_echo "$dynamic_linker" >&6; }
                   10729: test "$dynamic_linker" = no && can_build_shared=no
                   10730: 
                   10731: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   10732: if test "$GCC" = yes; then
                   10733:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   10734: fi
                   10735: 
                   10736: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   10737:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   10738: fi
                   10739: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   10740:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   10741: fi
                   10742: 
                   10743: 
                   10744: 
                   10745: 
                   10746: 
                   10747: 
                   10748: 
                   10749: 
                   10750: 
                   10751: 
                   10752: 
                   10753: 
                   10754: 
                   10755: 
                   10756: 
                   10757: 
                   10758: 
                   10759: 
                   10760: 
                   10761: 
                   10762: 
                   10763: 
                   10764: 
                   10765: 
                   10766: 
                   10767: 
                   10768: 
                   10769: 
                   10770: 
                   10771: 
                   10772: 
                   10773: 
                   10774: 
                   10775: 
                   10776: 
                   10777: 
                   10778: 
                   10779: 
                   10780: 
                   10781: 
                   10782: 
                   10783: 
                   10784: 
                   10785: 
                   10786: 
                   10787: 
                   10788: 
                   10789: 
                   10790: 
                   10791: 
                   10792: 
                   10793: 
                   10794: 
                   10795: 
                   10796: 
                   10797: 
                   10798: 
                   10799: 
                   10800: 
                   10801: 
                   10802: 
                   10803: 
                   10804: 
                   10805: 
                   10806: 
                   10807: 
                   10808: 
                   10809: 
                   10810: 
                   10811: 
                   10812: 
                   10813: 
                   10814: 
                   10815: 
                   10816: 
                   10817: 
                   10818: 
                   10819: 
                   10820: 
                   10821: 
                   10822: 
                   10823: 
                   10824: 
                   10825: 
                   10826: 
                   10827: 
                   10828: 
1.1.1.2 ! misho    10829: 
        !          10830: 
        !          10831: 
        !          10832: 
        !          10833: 
1.1       misho    10834:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   10835: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
                   10836: hardcode_action=
                   10837: if test -n "$hardcode_libdir_flag_spec" ||
                   10838:    test -n "$runpath_var" ||
                   10839:    test "X$hardcode_automatic" = "Xyes" ; then
                   10840: 
                   10841:   # We can hardcode non-existent directories.
                   10842:   if test "$hardcode_direct" != no &&
                   10843:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   10844:      # have to relink, otherwise we might link with an installed library
                   10845:      # when we should be linking with a yet-to-be-installed one
                   10846:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
                   10847:      test "$hardcode_minus_L" != no; then
                   10848:     # Linking always hardcodes the temporary library directory.
                   10849:     hardcode_action=relink
                   10850:   else
                   10851:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   10852:     hardcode_action=immediate
                   10853:   fi
                   10854: else
                   10855:   # We cannot hardcode anything, or else we can only hardcode existing
                   10856:   # directories.
                   10857:   hardcode_action=unsupported
                   10858: fi
                   10859: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
                   10860: $as_echo "$hardcode_action" >&6; }
                   10861: 
                   10862: if test "$hardcode_action" = relink ||
                   10863:    test "$inherit_rpath" = yes; then
                   10864:   # Fast installation is not supported
                   10865:   enable_fast_install=no
                   10866: elif test "$shlibpath_overrides_runpath" = yes ||
                   10867:      test "$enable_shared" = no; then
                   10868:   # Fast installation is not necessary
                   10869:   enable_fast_install=needless
                   10870: fi
                   10871: 
                   10872: 
                   10873: 
                   10874: 
                   10875: 
                   10876: 
                   10877:   if test "x$enable_dlopen" != xyes; then
                   10878:   enable_dlopen=unknown
                   10879:   enable_dlopen_self=unknown
                   10880:   enable_dlopen_self_static=unknown
                   10881: else
                   10882:   lt_cv_dlopen=no
                   10883:   lt_cv_dlopen_libs=
                   10884: 
                   10885:   case $host_os in
                   10886:   beos*)
                   10887:     lt_cv_dlopen="load_add_on"
                   10888:     lt_cv_dlopen_libs=
                   10889:     lt_cv_dlopen_self=yes
                   10890:     ;;
                   10891: 
                   10892:   mingw* | pw32* | cegcc*)
                   10893:     lt_cv_dlopen="LoadLibrary"
                   10894:     lt_cv_dlopen_libs=
                   10895:     ;;
                   10896: 
                   10897:   cygwin*)
                   10898:     lt_cv_dlopen="dlopen"
                   10899:     lt_cv_dlopen_libs=
                   10900:     ;;
                   10901: 
                   10902:   darwin*)
                   10903:   # if libdl is installed we need to link against it
                   10904:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   10905: $as_echo_n "checking for dlopen in -ldl... " >&6; }
1.1.1.2 ! misho    10906: if ${ac_cv_lib_dl_dlopen+:} false; then :
1.1       misho    10907:   $as_echo_n "(cached) " >&6
                   10908: else
                   10909:   ac_check_lib_save_LIBS=$LIBS
                   10910: LIBS="-ldl  $LIBS"
                   10911: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   10912: /* end confdefs.h.  */
                   10913: 
                   10914: /* Override any GCC internal prototype to avoid an error.
                   10915:    Use char because int might match the return type of a GCC
                   10916:    builtin and then its argument prototype would still apply.  */
                   10917: #ifdef __cplusplus
                   10918: extern "C"
                   10919: #endif
                   10920: char dlopen ();
                   10921: int
                   10922: main ()
                   10923: {
                   10924: return dlopen ();
                   10925:   ;
                   10926:   return 0;
                   10927: }
                   10928: _ACEOF
                   10929: if ac_fn_c_try_link "$LINENO"; then :
                   10930:   ac_cv_lib_dl_dlopen=yes
                   10931: else
                   10932:   ac_cv_lib_dl_dlopen=no
                   10933: fi
                   10934: rm -f core conftest.err conftest.$ac_objext \
                   10935:     conftest$ac_exeext conftest.$ac_ext
                   10936: LIBS=$ac_check_lib_save_LIBS
                   10937: fi
                   10938: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   10939: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
1.1.1.2 ! misho    10940: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1.1       misho    10941:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   10942: else
                   10943: 
                   10944:     lt_cv_dlopen="dyld"
                   10945:     lt_cv_dlopen_libs=
                   10946:     lt_cv_dlopen_self=yes
                   10947: 
                   10948: fi
                   10949: 
                   10950:     ;;
                   10951: 
                   10952:   *)
                   10953:     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
1.1.1.2 ! misho    10954: if test "x$ac_cv_func_shl_load" = xyes; then :
1.1       misho    10955:   lt_cv_dlopen="shl_load"
                   10956: else
                   10957:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   10958: $as_echo_n "checking for shl_load in -ldld... " >&6; }
1.1.1.2 ! misho    10959: if ${ac_cv_lib_dld_shl_load+:} false; then :
1.1       misho    10960:   $as_echo_n "(cached) " >&6
                   10961: else
                   10962:   ac_check_lib_save_LIBS=$LIBS
                   10963: LIBS="-ldld  $LIBS"
                   10964: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   10965: /* end confdefs.h.  */
                   10966: 
                   10967: /* Override any GCC internal prototype to avoid an error.
                   10968:    Use char because int might match the return type of a GCC
                   10969:    builtin and then its argument prototype would still apply.  */
                   10970: #ifdef __cplusplus
                   10971: extern "C"
                   10972: #endif
                   10973: char shl_load ();
                   10974: int
                   10975: main ()
                   10976: {
                   10977: return shl_load ();
                   10978:   ;
                   10979:   return 0;
                   10980: }
                   10981: _ACEOF
                   10982: if ac_fn_c_try_link "$LINENO"; then :
                   10983:   ac_cv_lib_dld_shl_load=yes
                   10984: else
                   10985:   ac_cv_lib_dld_shl_load=no
                   10986: fi
                   10987: rm -f core conftest.err conftest.$ac_objext \
                   10988:     conftest$ac_exeext conftest.$ac_ext
                   10989: LIBS=$ac_check_lib_save_LIBS
                   10990: fi
                   10991: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   10992: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
1.1.1.2 ! misho    10993: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
1.1       misho    10994:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
                   10995: else
                   10996:   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
1.1.1.2 ! misho    10997: if test "x$ac_cv_func_dlopen" = xyes; then :
1.1       misho    10998:   lt_cv_dlopen="dlopen"
                   10999: else
                   11000:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   11001: $as_echo_n "checking for dlopen in -ldl... " >&6; }
1.1.1.2 ! misho    11002: if ${ac_cv_lib_dl_dlopen+:} false; then :
1.1       misho    11003:   $as_echo_n "(cached) " >&6
                   11004: else
                   11005:   ac_check_lib_save_LIBS=$LIBS
                   11006: LIBS="-ldl  $LIBS"
                   11007: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11008: /* end confdefs.h.  */
                   11009: 
                   11010: /* Override any GCC internal prototype to avoid an error.
                   11011:    Use char because int might match the return type of a GCC
                   11012:    builtin and then its argument prototype would still apply.  */
                   11013: #ifdef __cplusplus
                   11014: extern "C"
                   11015: #endif
                   11016: char dlopen ();
                   11017: int
                   11018: main ()
                   11019: {
                   11020: return dlopen ();
                   11021:   ;
                   11022:   return 0;
                   11023: }
                   11024: _ACEOF
                   11025: if ac_fn_c_try_link "$LINENO"; then :
                   11026:   ac_cv_lib_dl_dlopen=yes
                   11027: else
                   11028:   ac_cv_lib_dl_dlopen=no
                   11029: fi
                   11030: rm -f core conftest.err conftest.$ac_objext \
                   11031:     conftest$ac_exeext conftest.$ac_ext
                   11032: LIBS=$ac_check_lib_save_LIBS
                   11033: fi
                   11034: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   11035: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
1.1.1.2 ! misho    11036: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1.1       misho    11037:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   11038: else
                   11039:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   11040: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
1.1.1.2 ! misho    11041: if ${ac_cv_lib_svld_dlopen+:} false; then :
1.1       misho    11042:   $as_echo_n "(cached) " >&6
                   11043: else
                   11044:   ac_check_lib_save_LIBS=$LIBS
                   11045: LIBS="-lsvld  $LIBS"
                   11046: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11047: /* end confdefs.h.  */
                   11048: 
                   11049: /* Override any GCC internal prototype to avoid an error.
                   11050:    Use char because int might match the return type of a GCC
                   11051:    builtin and then its argument prototype would still apply.  */
                   11052: #ifdef __cplusplus
                   11053: extern "C"
                   11054: #endif
                   11055: char dlopen ();
                   11056: int
                   11057: main ()
                   11058: {
                   11059: return dlopen ();
                   11060:   ;
                   11061:   return 0;
                   11062: }
                   11063: _ACEOF
                   11064: if ac_fn_c_try_link "$LINENO"; then :
                   11065:   ac_cv_lib_svld_dlopen=yes
                   11066: else
                   11067:   ac_cv_lib_svld_dlopen=no
                   11068: fi
                   11069: rm -f core conftest.err conftest.$ac_objext \
                   11070:     conftest$ac_exeext conftest.$ac_ext
                   11071: LIBS=$ac_check_lib_save_LIBS
                   11072: fi
                   11073: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   11074: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
1.1.1.2 ! misho    11075: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
1.1       misho    11076:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
                   11077: else
                   11078:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   11079: $as_echo_n "checking for dld_link in -ldld... " >&6; }
1.1.1.2 ! misho    11080: if ${ac_cv_lib_dld_dld_link+:} false; then :
1.1       misho    11081:   $as_echo_n "(cached) " >&6
                   11082: else
                   11083:   ac_check_lib_save_LIBS=$LIBS
                   11084: LIBS="-ldld  $LIBS"
                   11085: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11086: /* end confdefs.h.  */
                   11087: 
                   11088: /* Override any GCC internal prototype to avoid an error.
                   11089:    Use char because int might match the return type of a GCC
                   11090:    builtin and then its argument prototype would still apply.  */
                   11091: #ifdef __cplusplus
                   11092: extern "C"
                   11093: #endif
                   11094: char dld_link ();
                   11095: int
                   11096: main ()
                   11097: {
                   11098: return dld_link ();
                   11099:   ;
                   11100:   return 0;
                   11101: }
                   11102: _ACEOF
                   11103: if ac_fn_c_try_link "$LINENO"; then :
                   11104:   ac_cv_lib_dld_dld_link=yes
                   11105: else
                   11106:   ac_cv_lib_dld_dld_link=no
                   11107: fi
                   11108: rm -f core conftest.err conftest.$ac_objext \
                   11109:     conftest$ac_exeext conftest.$ac_ext
                   11110: LIBS=$ac_check_lib_save_LIBS
                   11111: fi
                   11112: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   11113: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
1.1.1.2 ! misho    11114: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
1.1       misho    11115:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
                   11116: fi
                   11117: 
                   11118: 
                   11119: fi
                   11120: 
                   11121: 
                   11122: fi
                   11123: 
                   11124: 
                   11125: fi
                   11126: 
                   11127: 
                   11128: fi
                   11129: 
                   11130: 
                   11131: fi
                   11132: 
                   11133:     ;;
                   11134:   esac
                   11135: 
                   11136:   if test "x$lt_cv_dlopen" != xno; then
                   11137:     enable_dlopen=yes
                   11138:   else
                   11139:     enable_dlopen=no
                   11140:   fi
                   11141: 
                   11142:   case $lt_cv_dlopen in
                   11143:   dlopen)
                   11144:     save_CPPFLAGS="$CPPFLAGS"
                   11145:     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
                   11146: 
                   11147:     save_LDFLAGS="$LDFLAGS"
                   11148:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
                   11149: 
                   11150:     save_LIBS="$LIBS"
                   11151:     LIBS="$lt_cv_dlopen_libs $LIBS"
                   11152: 
                   11153:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
                   11154: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
1.1.1.2 ! misho    11155: if ${lt_cv_dlopen_self+:} false; then :
1.1       misho    11156:   $as_echo_n "(cached) " >&6
                   11157: else
                   11158:          if test "$cross_compiling" = yes; then :
                   11159:   lt_cv_dlopen_self=cross
                   11160: else
                   11161:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   11162:   lt_status=$lt_dlunknown
                   11163:   cat > conftest.$ac_ext <<_LT_EOF
1.1.1.2 ! misho    11164: #line $LINENO "configure"
1.1       misho    11165: #include "confdefs.h"
                   11166: 
                   11167: #if HAVE_DLFCN_H
                   11168: #include <dlfcn.h>
                   11169: #endif
                   11170: 
                   11171: #include <stdio.h>
                   11172: 
                   11173: #ifdef RTLD_GLOBAL
                   11174: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   11175: #else
                   11176: #  ifdef DL_GLOBAL
                   11177: #    define LT_DLGLOBAL                DL_GLOBAL
                   11178: #  else
                   11179: #    define LT_DLGLOBAL                0
                   11180: #  endif
                   11181: #endif
                   11182: 
                   11183: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   11184:    find out it does not work in some platform. */
                   11185: #ifndef LT_DLLAZY_OR_NOW
                   11186: #  ifdef RTLD_LAZY
                   11187: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   11188: #  else
                   11189: #    ifdef DL_LAZY
                   11190: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   11191: #    else
                   11192: #      ifdef RTLD_NOW
                   11193: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   11194: #      else
                   11195: #        ifdef DL_NOW
                   11196: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   11197: #        else
                   11198: #          define LT_DLLAZY_OR_NOW     0
                   11199: #        endif
                   11200: #      endif
                   11201: #    endif
                   11202: #  endif
                   11203: #endif
                   11204: 
1.1.1.2 ! misho    11205: /* When -fvisbility=hidden is used, assume the code has been annotated
        !          11206:    correspondingly for the symbols needed.  */
        !          11207: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
        !          11208: int fnord () __attribute__((visibility("default")));
        !          11209: #endif
        !          11210: 
        !          11211: int fnord () { return 42; }
1.1       misho    11212: int main ()
                   11213: {
                   11214:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   11215:   int status = $lt_dlunknown;
                   11216: 
                   11217:   if (self)
                   11218:     {
                   11219:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
1.1.1.2 ! misho    11220:       else
        !          11221:         {
        !          11222:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
        !          11223:           else puts (dlerror ());
        !          11224:        }
1.1       misho    11225:       /* dlclose (self); */
                   11226:     }
                   11227:   else
                   11228:     puts (dlerror ());
                   11229: 
                   11230:   return status;
                   11231: }
                   11232: _LT_EOF
                   11233:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
                   11234:   (eval $ac_link) 2>&5
                   11235:   ac_status=$?
                   11236:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   11237:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
                   11238:     (./conftest; exit; ) >&5 2>/dev/null
                   11239:     lt_status=$?
                   11240:     case x$lt_status in
                   11241:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   11242:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
                   11243:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
                   11244:     esac
                   11245:   else :
                   11246:     # compilation failed
                   11247:     lt_cv_dlopen_self=no
                   11248:   fi
                   11249: fi
                   11250: rm -fr conftest*
                   11251: 
                   11252: 
                   11253: fi
                   11254: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
                   11255: $as_echo "$lt_cv_dlopen_self" >&6; }
                   11256: 
                   11257:     if test "x$lt_cv_dlopen_self" = xyes; then
                   11258:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
                   11259:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
                   11260: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
1.1.1.2 ! misho    11261: if ${lt_cv_dlopen_self_static+:} false; then :
1.1       misho    11262:   $as_echo_n "(cached) " >&6
                   11263: else
                   11264:          if test "$cross_compiling" = yes; then :
                   11265:   lt_cv_dlopen_self_static=cross
                   11266: else
                   11267:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   11268:   lt_status=$lt_dlunknown
                   11269:   cat > conftest.$ac_ext <<_LT_EOF
1.1.1.2 ! misho    11270: #line $LINENO "configure"
1.1       misho    11271: #include "confdefs.h"
                   11272: 
                   11273: #if HAVE_DLFCN_H
                   11274: #include <dlfcn.h>
                   11275: #endif
                   11276: 
                   11277: #include <stdio.h>
                   11278: 
                   11279: #ifdef RTLD_GLOBAL
                   11280: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   11281: #else
                   11282: #  ifdef DL_GLOBAL
                   11283: #    define LT_DLGLOBAL                DL_GLOBAL
                   11284: #  else
                   11285: #    define LT_DLGLOBAL                0
                   11286: #  endif
                   11287: #endif
                   11288: 
                   11289: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   11290:    find out it does not work in some platform. */
                   11291: #ifndef LT_DLLAZY_OR_NOW
                   11292: #  ifdef RTLD_LAZY
                   11293: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   11294: #  else
                   11295: #    ifdef DL_LAZY
                   11296: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   11297: #    else
                   11298: #      ifdef RTLD_NOW
                   11299: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   11300: #      else
                   11301: #        ifdef DL_NOW
                   11302: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   11303: #        else
                   11304: #          define LT_DLLAZY_OR_NOW     0
                   11305: #        endif
                   11306: #      endif
                   11307: #    endif
                   11308: #  endif
                   11309: #endif
                   11310: 
1.1.1.2 ! misho    11311: /* When -fvisbility=hidden is used, assume the code has been annotated
        !          11312:    correspondingly for the symbols needed.  */
        !          11313: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
        !          11314: int fnord () __attribute__((visibility("default")));
        !          11315: #endif
        !          11316: 
        !          11317: int fnord () { return 42; }
1.1       misho    11318: int main ()
                   11319: {
                   11320:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   11321:   int status = $lt_dlunknown;
                   11322: 
                   11323:   if (self)
                   11324:     {
                   11325:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
1.1.1.2 ! misho    11326:       else
        !          11327:         {
        !          11328:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
        !          11329:           else puts (dlerror ());
        !          11330:        }
1.1       misho    11331:       /* dlclose (self); */
                   11332:     }
                   11333:   else
                   11334:     puts (dlerror ());
                   11335: 
                   11336:   return status;
                   11337: }
                   11338: _LT_EOF
                   11339:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
                   11340:   (eval $ac_link) 2>&5
                   11341:   ac_status=$?
                   11342:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   11343:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
                   11344:     (./conftest; exit; ) >&5 2>/dev/null
                   11345:     lt_status=$?
                   11346:     case x$lt_status in
                   11347:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   11348:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
                   11349:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
                   11350:     esac
                   11351:   else :
                   11352:     # compilation failed
                   11353:     lt_cv_dlopen_self_static=no
                   11354:   fi
                   11355: fi
                   11356: rm -fr conftest*
                   11357: 
                   11358: 
                   11359: fi
                   11360: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
                   11361: $as_echo "$lt_cv_dlopen_self_static" >&6; }
                   11362:     fi
                   11363: 
                   11364:     CPPFLAGS="$save_CPPFLAGS"
                   11365:     LDFLAGS="$save_LDFLAGS"
                   11366:     LIBS="$save_LIBS"
                   11367:     ;;
                   11368:   esac
                   11369: 
                   11370:   case $lt_cv_dlopen_self in
                   11371:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   11372:   *) enable_dlopen_self=unknown ;;
                   11373:   esac
                   11374: 
                   11375:   case $lt_cv_dlopen_self_static in
                   11376:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   11377:   *) enable_dlopen_self_static=unknown ;;
                   11378:   esac
                   11379: fi
                   11380: 
                   11381: 
                   11382: 
                   11383: 
                   11384: 
                   11385: 
                   11386: 
                   11387: 
                   11388: 
                   11389: 
                   11390: 
                   11391: 
                   11392: 
                   11393: 
                   11394: 
                   11395: 
                   11396: 
                   11397: striplib=
                   11398: old_striplib=
                   11399: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
                   11400: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
                   11401: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
                   11402:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
                   11403:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
                   11404:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   11405: $as_echo "yes" >&6; }
                   11406: else
                   11407: # FIXME - insert some real tests, host_os isn't really good enough
                   11408:   case $host_os in
                   11409:   darwin*)
                   11410:     if test -n "$STRIP" ; then
                   11411:       striplib="$STRIP -x"
                   11412:       old_striplib="$STRIP -S"
                   11413:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   11414: $as_echo "yes" >&6; }
                   11415:     else
                   11416:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   11417: $as_echo "no" >&6; }
                   11418:     fi
                   11419:     ;;
                   11420:   *)
                   11421:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   11422: $as_echo "no" >&6; }
                   11423:     ;;
                   11424:   esac
                   11425: fi
                   11426: 
                   11427: 
                   11428: 
                   11429: 
                   11430: 
                   11431: 
                   11432: 
                   11433: 
                   11434: 
                   11435: 
                   11436: 
                   11437: 
                   11438:   # Report which library types will actually be built
                   11439:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
                   11440: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
                   11441:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
                   11442: $as_echo "$can_build_shared" >&6; }
                   11443: 
                   11444:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
                   11445: $as_echo_n "checking whether to build shared libraries... " >&6; }
                   11446:   test "$can_build_shared" = "no" && enable_shared=no
                   11447: 
                   11448:   # On AIX, shared libraries and static libraries use the same namespace, and
                   11449:   # are all built from PIC.
                   11450:   case $host_os in
                   11451:   aix3*)
                   11452:     test "$enable_shared" = yes && enable_static=no
                   11453:     if test -n "$RANLIB"; then
                   11454:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   11455:       postinstall_cmds='$RANLIB $lib'
                   11456:     fi
                   11457:     ;;
                   11458: 
                   11459:   aix[4-9]*)
                   11460:     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
                   11461:       test "$enable_shared" = yes && enable_static=no
                   11462:     fi
                   11463:     ;;
                   11464:   esac
                   11465:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
                   11466: $as_echo "$enable_shared" >&6; }
                   11467: 
                   11468:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
                   11469: $as_echo_n "checking whether to build static libraries... " >&6; }
                   11470:   # Make sure either enable_shared or enable_static is yes.
                   11471:   test "$enable_shared" = yes || enable_static=yes
                   11472:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
                   11473: $as_echo "$enable_static" >&6; }
                   11474: 
                   11475: 
                   11476: 
                   11477: 
                   11478: fi
                   11479: ac_ext=c
                   11480: ac_cpp='$CPP $CPPFLAGS'
                   11481: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   11482: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   11483: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   11484: 
                   11485: CC="$lt_save_CC"
                   11486: 
                   11487: 
                   11488: 
                   11489: 
                   11490: 
                   11491: 
                   11492: 
                   11493: 
                   11494: 
                   11495: 
                   11496: 
                   11497: 
                   11498: 
1.1.1.2 ! misho    11499: 
        !          11500: 
1.1       misho    11501:         ac_config_commands="$ac_config_commands libtool"
                   11502: 
                   11503: 
                   11504: 
                   11505: 
                   11506: # Only expand once:
                   11507: 
                   11508: 
                   11509: for ac_prog in 'bison -y' byacc
                   11510: do
                   11511:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   11512: set dummy $ac_prog; ac_word=$2
                   11513: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   11514: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    11515: if ${ac_cv_prog_YACC+:} false; then :
1.1       misho    11516:   $as_echo_n "(cached) " >&6
                   11517: else
                   11518:   if test -n "$YACC"; then
                   11519:   ac_cv_prog_YACC="$YACC" # Let the user override the test.
                   11520: else
                   11521: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   11522: for as_dir in $PATH
                   11523: do
                   11524:   IFS=$as_save_IFS
                   11525:   test -z "$as_dir" && as_dir=.
                   11526:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    11527:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    11528:     ac_cv_prog_YACC="$ac_prog"
                   11529:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   11530:     break 2
                   11531:   fi
                   11532: done
                   11533:   done
                   11534: IFS=$as_save_IFS
                   11535: 
                   11536: fi
                   11537: fi
                   11538: YACC=$ac_cv_prog_YACC
                   11539: if test -n "$YACC"; then
                   11540:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
                   11541: $as_echo "$YACC" >&6; }
                   11542: else
                   11543:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   11544: $as_echo "no" >&6; }
                   11545: fi
                   11546: 
                   11547: 
                   11548:   test -n "$YACC" && break
                   11549: done
                   11550: test -n "$YACC" || YACC="yacc"
                   11551: 
                   11552: for ac_prog in flex lex
                   11553: do
                   11554:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   11555: set dummy $ac_prog; ac_word=$2
                   11556: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   11557: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    11558: if ${ac_cv_prog_LEX+:} false; then :
1.1       misho    11559:   $as_echo_n "(cached) " >&6
                   11560: else
                   11561:   if test -n "$LEX"; then
                   11562:   ac_cv_prog_LEX="$LEX" # Let the user override the test.
                   11563: else
                   11564: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   11565: for as_dir in $PATH
                   11566: do
                   11567:   IFS=$as_save_IFS
                   11568:   test -z "$as_dir" && as_dir=.
                   11569:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    11570:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    11571:     ac_cv_prog_LEX="$ac_prog"
                   11572:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   11573:     break 2
                   11574:   fi
                   11575: done
                   11576:   done
                   11577: IFS=$as_save_IFS
                   11578: 
                   11579: fi
                   11580: fi
                   11581: LEX=$ac_cv_prog_LEX
                   11582: if test -n "$LEX"; then
                   11583:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
                   11584: $as_echo "$LEX" >&6; }
                   11585: else
                   11586:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   11587: $as_echo "no" >&6; }
                   11588: fi
                   11589: 
                   11590: 
                   11591:   test -n "$LEX" && break
                   11592: done
                   11593: test -n "$LEX" || LEX=":"
                   11594: 
                   11595: if test "x$LEX" != "x:"; then
                   11596:   cat >conftest.l <<_ACEOF
                   11597: %%
                   11598: a { ECHO; }
                   11599: b { REJECT; }
                   11600: c { yymore (); }
                   11601: d { yyless (1); }
1.1.1.2 ! misho    11602: e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
        !          11603:     yyless ((input () != 0)); }
1.1       misho    11604: f { unput (yytext[0]); }
                   11605: . { BEGIN INITIAL; }
                   11606: %%
                   11607: #ifdef YYTEXT_POINTER
                   11608: extern char *yytext;
                   11609: #endif
                   11610: int
                   11611: main (void)
                   11612: {
                   11613:   return ! yylex () + ! yywrap ();
                   11614: }
                   11615: _ACEOF
                   11616: { { ac_try="$LEX conftest.l"
                   11617: case "(($ac_try" in
                   11618:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   11619:   *) ac_try_echo=$ac_try;;
                   11620: esac
                   11621: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   11622: $as_echo "$ac_try_echo"; } >&5
                   11623:   (eval "$LEX conftest.l") 2>&5
                   11624:   ac_status=$?
                   11625:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   11626:   test $ac_status = 0; }
                   11627: { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
                   11628: $as_echo_n "checking lex output file root... " >&6; }
1.1.1.2 ! misho    11629: if ${ac_cv_prog_lex_root+:} false; then :
1.1       misho    11630:   $as_echo_n "(cached) " >&6
                   11631: else
                   11632: 
                   11633: if test -f lex.yy.c; then
                   11634:   ac_cv_prog_lex_root=lex.yy
                   11635: elif test -f lexyy.c; then
                   11636:   ac_cv_prog_lex_root=lexyy
                   11637: else
                   11638:   as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
                   11639: fi
                   11640: fi
                   11641: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
                   11642: $as_echo "$ac_cv_prog_lex_root" >&6; }
                   11643: LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
                   11644: 
                   11645: if test -z "${LEXLIB+set}"; then
                   11646:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
                   11647: $as_echo_n "checking lex library... " >&6; }
1.1.1.2 ! misho    11648: if ${ac_cv_lib_lex+:} false; then :
1.1       misho    11649:   $as_echo_n "(cached) " >&6
                   11650: else
                   11651: 
                   11652:     ac_save_LIBS=$LIBS
                   11653:     ac_cv_lib_lex='none needed'
                   11654:     for ac_lib in '' -lfl -ll; do
                   11655:       LIBS="$ac_lib $ac_save_LIBS"
                   11656:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11657: /* end confdefs.h.  */
                   11658: `cat $LEX_OUTPUT_ROOT.c`
                   11659: _ACEOF
                   11660: if ac_fn_c_try_link "$LINENO"; then :
                   11661:   ac_cv_lib_lex=$ac_lib
                   11662: fi
                   11663: rm -f core conftest.err conftest.$ac_objext \
                   11664:     conftest$ac_exeext conftest.$ac_ext
                   11665:       test "$ac_cv_lib_lex" != 'none needed' && break
                   11666:     done
                   11667:     LIBS=$ac_save_LIBS
                   11668: 
                   11669: fi
                   11670: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
                   11671: $as_echo "$ac_cv_lib_lex" >&6; }
                   11672:   test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
                   11673: fi
                   11674: 
                   11675: 
                   11676: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
                   11677: $as_echo_n "checking whether yytext is a pointer... " >&6; }
1.1.1.2 ! misho    11678: if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
1.1       misho    11679:   $as_echo_n "(cached) " >&6
                   11680: else
                   11681:   # POSIX says lex can declare yytext either as a pointer or an array; the
                   11682: # default is implementation-dependent.  Figure out which it is, since
                   11683: # not all implementations provide the %pointer and %array declarations.
                   11684: ac_cv_prog_lex_yytext_pointer=no
                   11685: ac_save_LIBS=$LIBS
                   11686: LIBS="$LEXLIB $ac_save_LIBS"
                   11687: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11688: /* end confdefs.h.  */
1.1.1.2 ! misho    11689: 
        !          11690:   #define YYTEXT_POINTER 1
1.1       misho    11691: `cat $LEX_OUTPUT_ROOT.c`
                   11692: _ACEOF
                   11693: if ac_fn_c_try_link "$LINENO"; then :
                   11694:   ac_cv_prog_lex_yytext_pointer=yes
                   11695: fi
                   11696: rm -f core conftest.err conftest.$ac_objext \
                   11697:     conftest$ac_exeext conftest.$ac_ext
                   11698: LIBS=$ac_save_LIBS
                   11699: 
                   11700: fi
                   11701: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
                   11702: $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
                   11703: if test $ac_cv_prog_lex_yytext_pointer = yes; then
                   11704: 
                   11705: $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
                   11706: 
                   11707: fi
                   11708: rm -f conftest.l $LEX_OUTPUT_ROOT.c
                   11709: 
                   11710: fi
                   11711: if test "$LEX" = :; then
                   11712:   LEX=${am_missing_run}flex
                   11713: fi
                   11714: 
                   11715: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
                   11716: $as_echo_n "checking for egrep... " >&6; }
1.1.1.2 ! misho    11717: if ${ac_cv_path_EGREP+:} false; then :
1.1       misho    11718:   $as_echo_n "(cached) " >&6
                   11719: else
                   11720:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
                   11721:    then ac_cv_path_EGREP="$GREP -E"
                   11722:    else
                   11723:      if test -z "$EGREP"; then
                   11724:   ac_path_EGREP_found=false
                   11725:   # Loop through the user's path and test for each of PROGNAME-LIST
                   11726:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   11727: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   11728: do
                   11729:   IFS=$as_save_IFS
                   11730:   test -z "$as_dir" && as_dir=.
                   11731:     for ac_prog in egrep; do
                   11732:     for ac_exec_ext in '' $ac_executable_extensions; do
                   11733:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
1.1.1.2 ! misho    11734:       as_fn_executable_p "$ac_path_EGREP" || continue
1.1       misho    11735: # Check for GNU ac_path_EGREP and select it if it is found.
                   11736:   # Check for GNU $ac_path_EGREP
                   11737: case `"$ac_path_EGREP" --version 2>&1` in
                   11738: *GNU*)
                   11739:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
                   11740: *)
                   11741:   ac_count=0
                   11742:   $as_echo_n 0123456789 >"conftest.in"
                   11743:   while :
                   11744:   do
                   11745:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   11746:     mv "conftest.tmp" "conftest.in"
                   11747:     cp "conftest.in" "conftest.nl"
                   11748:     $as_echo 'EGREP' >> "conftest.nl"
                   11749:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   11750:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   11751:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   11752:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
                   11753:       # Best one so far, save it but keep looking for a better one
                   11754:       ac_cv_path_EGREP="$ac_path_EGREP"
                   11755:       ac_path_EGREP_max=$ac_count
                   11756:     fi
                   11757:     # 10*(2^10) chars as input seems more than enough
                   11758:     test $ac_count -gt 10 && break
                   11759:   done
                   11760:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   11761: esac
                   11762: 
                   11763:       $ac_path_EGREP_found && break 3
                   11764:     done
                   11765:   done
                   11766:   done
                   11767: IFS=$as_save_IFS
                   11768:   if test -z "$ac_cv_path_EGREP"; then
                   11769:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   11770:   fi
                   11771: else
                   11772:   ac_cv_path_EGREP=$EGREP
                   11773: fi
                   11774: 
                   11775:    fi
                   11776: fi
                   11777: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
                   11778: $as_echo "$ac_cv_path_EGREP" >&6; }
                   11779:  EGREP="$ac_cv_path_EGREP"
                   11780: 
                   11781: 
                   11782: 
                   11783: CFLAGS_ADD="$CFLAGS_ADD -Wall -Werror -Wno-unused"
                   11784: 
                   11785: case $host in
                   11786: *netbsd*)
                   11787:        LDFLAGS="-Wl,-R/usr/pkg/lib $LDFLAGS"
                   11788:        ;;
                   11789: *linux*)
                   11790:        LIBS="$LIBS -lresolv"
                   11791:        INSTALL_OPTS="-o bin -g bin"
                   11792:        INCLUDE_GLIBC="include-glibc"
                   11793:        RPM="rpm"
                   11794: 
                   11795: 
                   11796: 
                   11797:        ;;
                   11798: *darwin*)
                   11799:        LIBS="$LIBS -lresolv"
                   11800:        ;;
                   11801: esac
                   11802: 
                   11803: # Look up some IPsec-related headers
                   11804: ac_fn_c_check_header_mongrel "$LINENO" "net/pfkeyv2.h" "ac_cv_header_net_pfkeyv2_h" "$ac_includes_default"
1.1.1.2 ! misho    11805: if test "x$ac_cv_header_net_pfkeyv2_h" = xyes; then :
1.1       misho    11806:   have_net_pfkey=yes
                   11807: else
                   11808:   have_net_pfkey=no
                   11809: fi
                   11810: 
                   11811: 
                   11812: ac_fn_c_check_header_mongrel "$LINENO" "netinet/ipsec.h" "ac_cv_header_netinet_ipsec_h" "$ac_includes_default"
1.1.1.2 ! misho    11813: if test "x$ac_cv_header_netinet_ipsec_h" = xyes; then :
1.1       misho    11814:   have_netinet_ipsec=yes
                   11815: else
                   11816:   have_netinet_ipsec=no
                   11817: fi
                   11818: 
                   11819: 
                   11820: ac_fn_c_check_header_mongrel "$LINENO" "netinet6/ipsec.h" "ac_cv_header_netinet6_ipsec_h" "$ac_includes_default"
1.1.1.2 ! misho    11821: if test "x$ac_cv_header_netinet6_ipsec_h" = xyes; then :
1.1       misho    11822:   have_netinet6_ipsec=yes
                   11823: else
                   11824:   have_netinet6_ipsec=no
                   11825: fi
                   11826: 
                   11827: 
                   11828: ac_fn_c_check_header_mongrel "$LINENO" "netipsec/ipsec.h" "ac_cv_header_netipsec_ipsec_h" "$ac_includes_default"
1.1.1.2 ! misho    11829: if test "x$ac_cv_header_netipsec_ipsec_h" = xyes; then :
1.1       misho    11830:   have_netipsec_ipsec=yes
                   11831: else
                   11832:   have_netipsec_ipsec=no
                   11833: fi
                   11834: 
                   11835: 
                   11836: 
                   11837: # FreeBSD >=7 has only <netipsec/ipsec.h>
                   11838: # NetBSD has <netinet6/ipsec.h> but not <netinet/ipsec.h>
                   11839: # XXX some *BSD still have both <netinet6/ipsec.h> and <netipsec/ipsec.h>,
                   11840: # we can't decide which one to use (actually <netinet6/ipsec.h>)
                   11841: 
                   11842: 
                   11843: if test "$have_netinet_ipsec$have_netinet6_ipsec$have_netipsec_ipsec" = nonoyes; then
                   11844:     have_netinet_ipsec=yes
                   11845: 
                   11846: $as_echo "#define PATH_IPSEC_H <netipsec/ipsec.h>" >>confdefs.h
                   11847: 
                   11848: else
                   11849:        if test "$have_netinet_ipsec$have_netinet6_ipsec" = noyes; then
                   11850:        have_netinet_ipsec=yes
                   11851: 
                   11852: $as_echo "#define PATH_IPSEC_H <netinet6/ipsec.h>" >>confdefs.h
                   11853: 
                   11854:        else
                   11855:                # have_netinet_ipsec will be checked a few lines below
                   11856: 
                   11857: $as_echo "#define PATH_IPSEC_H <netinet/ipsec.h>" >>confdefs.h
                   11858: 
                   11859:        fi
                   11860: fi
                   11861: 
                   11862: case "$host_os" in
                   11863:  *linux*)
                   11864: 
                   11865: # Check whether --with-kernel-headers was given.
                   11866: if test "${with_kernel_headers+set}" = set; then :
                   11867:   withval=$with_kernel_headers;  KERNEL_INCLUDE="$with_kernel_headers"
                   11868:              CONFIGURE_AMFLAGS="--with-kernel-headers=$with_kernel_headers"
                   11869: 
                   11870: else
                   11871:    KERNEL_INCLUDE="/lib/modules/`uname -r`/build/include"
                   11872: fi
                   11873: 
                   11874: 
                   11875:     as_ac_Header=`$as_echo "ac_cv_header_$KERNEL_INCLUDE/linux/pfkeyv2.h" | $as_tr_sh`
                   11876: ac_fn_c_check_header_mongrel "$LINENO" "$KERNEL_INCLUDE/linux/pfkeyv2.h" "$as_ac_Header" "$ac_includes_default"
                   11877: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   11878: 
                   11879: else
                   11880:    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"
1.1.1.2 ! misho    11881: if test "x$ac_cv_header__usr_src_linux_include_linux_pfkeyv2_h" = xyes; then :
1.1       misho    11882:   KERNEL_INCLUDE=/usr/src/linux/include
                   11883: else
                   11884:    as_fn_error $? "Unable to find linux-2.6 kernel headers. Aborting." "$LINENO" 5
                   11885: fi
                   11886: 
                   11887: 
                   11888: fi
                   11889: 
                   11890: 
                   11891: 
                   11892:     # We need the configure script to run with correct kernel headers.
                   11893:     # However we don't want to point to kernel source tree in compile time,
                   11894:     # i.e. this will be removed from CPPFLAGS at the end of configure.
                   11895:     CPPFLAGS="-I$KERNEL_INCLUDE $CPPFLAGS"
                   11896: 
                   11897:     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\"
                   11898: "
1.1.1.2 ! misho    11899: if test "x$ac_cv_member_struct_sadb_x_policy_sadb_x_policy_priority" = xyes; then :
1.1       misho    11900: 
                   11901: $as_echo "#define HAVE_PFKEY_POLICY_PRIORITY /**/" >>confdefs.h
                   11902: 
                   11903: fi
                   11904: 
                   11905: 
                   11906:     GLIBC_BUGS='-include ${top_srcdir}/src/include-glibc/glibc-bugs.h -I${top_srcdir}/src/include-glibc -I${top_builddir}/src/include-glibc'
                   11907:     GLIBC_BUGS_LOCAL="-include ${srcdir-.}/src/include-glibc/glibc-bugs.h -I${srcdir-.}/src/include-glibc -I./src/include-glibc"
                   11908:     CPPFLAGS="$GLIBC_BUGS_LOCAL $CPPFLAGS"
                   11909:     CPPFLAGS="-D_GNU_SOURCE $CPPFLAGS"
                   11910: 
                   11911:     ;;
                   11912:  *)
                   11913:     if test "$have_net_pfkey$have_netinet_ipsec" != yesyes; then
                   11914:       if test "$have_net_pfkey" = yes; then
                   11915:        as_fn_error $? "Found net/pfkeyv2.h but not netinet/ipsec.h. Aborting." "$LINENO" 5
                   11916:       else
                   11917:        as_fn_error $? "Found netinet/ipsec.h but not net/pfkeyv2.h. Aborting." "$LINENO" 5
                   11918:       fi
                   11919:     fi
                   11920:     ;;
                   11921: esac
                   11922: 
                   11923: ### Some basic toolchain checks
                   11924: 
                   11925: # Checks for header files.
                   11926: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   11927: $as_echo_n "checking for ANSI C header files... " >&6; }
1.1.1.2 ! misho    11928: if ${ac_cv_header_stdc+:} false; then :
1.1       misho    11929:   $as_echo_n "(cached) " >&6
                   11930: else
                   11931:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11932: /* end confdefs.h.  */
                   11933: #include <stdlib.h>
                   11934: #include <stdarg.h>
                   11935: #include <string.h>
                   11936: #include <float.h>
                   11937: 
                   11938: int
                   11939: main ()
                   11940: {
                   11941: 
                   11942:   ;
                   11943:   return 0;
                   11944: }
                   11945: _ACEOF
                   11946: if ac_fn_c_try_compile "$LINENO"; then :
                   11947:   ac_cv_header_stdc=yes
                   11948: else
                   11949:   ac_cv_header_stdc=no
                   11950: fi
                   11951: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   11952: 
                   11953: if test $ac_cv_header_stdc = yes; then
                   11954:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   11955:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11956: /* end confdefs.h.  */
                   11957: #include <string.h>
                   11958: 
                   11959: _ACEOF
                   11960: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   11961:   $EGREP "memchr" >/dev/null 2>&1; then :
                   11962: 
                   11963: else
                   11964:   ac_cv_header_stdc=no
                   11965: fi
                   11966: rm -f conftest*
                   11967: 
                   11968: fi
                   11969: 
                   11970: if test $ac_cv_header_stdc = yes; then
                   11971:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   11972:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11973: /* end confdefs.h.  */
                   11974: #include <stdlib.h>
                   11975: 
                   11976: _ACEOF
                   11977: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   11978:   $EGREP "free" >/dev/null 2>&1; then :
                   11979: 
                   11980: else
                   11981:   ac_cv_header_stdc=no
                   11982: fi
                   11983: rm -f conftest*
                   11984: 
                   11985: fi
                   11986: 
                   11987: if test $ac_cv_header_stdc = yes; then
                   11988:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   11989:   if test "$cross_compiling" = yes; then :
                   11990:   :
                   11991: else
                   11992:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11993: /* end confdefs.h.  */
                   11994: #include <ctype.h>
                   11995: #include <stdlib.h>
                   11996: #if ((' ' & 0x0FF) == 0x020)
                   11997: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   11998: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   11999: #else
                   12000: # define ISLOWER(c) \
                   12001:                   (('a' <= (c) && (c) <= 'i') \
                   12002:                     || ('j' <= (c) && (c) <= 'r') \
                   12003:                     || ('s' <= (c) && (c) <= 'z'))
                   12004: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   12005: #endif
                   12006: 
                   12007: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   12008: int
                   12009: main ()
                   12010: {
                   12011:   int i;
                   12012:   for (i = 0; i < 256; i++)
                   12013:     if (XOR (islower (i), ISLOWER (i))
                   12014:        || toupper (i) != TOUPPER (i))
                   12015:       return 2;
                   12016:   return 0;
                   12017: }
                   12018: _ACEOF
                   12019: if ac_fn_c_try_run "$LINENO"; then :
                   12020: 
                   12021: else
                   12022:   ac_cv_header_stdc=no
                   12023: fi
                   12024: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   12025:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   12026: fi
                   12027: 
                   12028: fi
                   12029: fi
                   12030: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   12031: $as_echo "$ac_cv_header_stdc" >&6; }
                   12032: if test $ac_cv_header_stdc = yes; then
                   12033: 
                   12034: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
                   12035: 
                   12036: fi
                   12037: 
                   12038: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
                   12039: $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
1.1.1.2 ! misho    12040: if ${ac_cv_header_sys_wait_h+:} false; then :
1.1       misho    12041:   $as_echo_n "(cached) " >&6
                   12042: else
                   12043:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12044: /* end confdefs.h.  */
                   12045: #include <sys/types.h>
                   12046: #include <sys/wait.h>
                   12047: #ifndef WEXITSTATUS
                   12048: # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
                   12049: #endif
                   12050: #ifndef WIFEXITED
                   12051: # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
                   12052: #endif
                   12053: 
                   12054: int
                   12055: main ()
                   12056: {
                   12057:   int s;
                   12058:   wait (&s);
                   12059:   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
                   12060:   ;
                   12061:   return 0;
                   12062: }
                   12063: _ACEOF
                   12064: if ac_fn_c_try_compile "$LINENO"; then :
                   12065:   ac_cv_header_sys_wait_h=yes
                   12066: else
                   12067:   ac_cv_header_sys_wait_h=no
                   12068: fi
                   12069: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   12070: fi
                   12071: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
                   12072: $as_echo "$ac_cv_header_sys_wait_h" >&6; }
                   12073: if test $ac_cv_header_sys_wait_h = yes; then
                   12074: 
                   12075: $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
                   12076: 
                   12077: fi
                   12078: 
                   12079: for ac_header in limits.h sys/time.h unistd.h stdarg.h varargs.h
                   12080: do :
                   12081:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   12082: ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
                   12083: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   12084:   cat >>confdefs.h <<_ACEOF
                   12085: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   12086: _ACEOF
                   12087: 
                   12088: fi
                   12089: 
                   12090: done
                   12091: 
                   12092: for ac_header in shadow.h
                   12093: do :
                   12094:   ac_fn_c_check_header_mongrel "$LINENO" "shadow.h" "ac_cv_header_shadow_h" "$ac_includes_default"
1.1.1.2 ! misho    12095: if test "x$ac_cv_header_shadow_h" = xyes; then :
1.1       misho    12096:   cat >>confdefs.h <<_ACEOF
                   12097: #define HAVE_SHADOW_H 1
                   12098: _ACEOF
                   12099: 
                   12100: fi
                   12101: 
                   12102: done
                   12103: 
                   12104: 
                   12105: # Checks for typedefs, structures, and compiler characteristics.
                   12106: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
                   12107: $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
1.1.1.2 ! misho    12108: if ${ac_cv_c_const+:} false; then :
1.1       misho    12109:   $as_echo_n "(cached) " >&6
                   12110: else
                   12111:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12112: /* end confdefs.h.  */
                   12113: 
                   12114: int
                   12115: main ()
                   12116: {
1.1.1.2 ! misho    12117: 
1.1       misho    12118: #ifndef __cplusplus
1.1.1.2 ! misho    12119:   /* Ultrix mips cc rejects this sort of thing.  */
1.1       misho    12120:   typedef int charset[2];
1.1.1.2 ! misho    12121:   const charset cs = { 0, 0 };
1.1       misho    12122:   /* SunOS 4.1.1 cc rejects this.  */
                   12123:   char const *const *pcpcc;
                   12124:   char **ppc;
                   12125:   /* NEC SVR4.0.2 mips cc rejects this.  */
                   12126:   struct point {int x, y;};
                   12127:   static struct point const zero = {0,0};
                   12128:   /* AIX XL C 1.02.0.0 rejects this.
                   12129:      It does not let you subtract one const X* pointer from another in
                   12130:      an arm of an if-expression whose if-part is not a constant
                   12131:      expression */
                   12132:   const char *g = "string";
                   12133:   pcpcc = &g + (g ? g-g : 0);
                   12134:   /* HPUX 7.0 cc rejects these. */
                   12135:   ++pcpcc;
                   12136:   ppc = (char**) pcpcc;
                   12137:   pcpcc = (char const *const *) ppc;
1.1.1.2 ! misho    12138:   { /* SCO 3.2v4 cc rejects this sort of thing.  */
        !          12139:     char tx;
        !          12140:     char *t = &tx;
1.1       misho    12141:     char const *s = 0 ? (char *) 0 : (char const *) 0;
                   12142: 
                   12143:     *t++ = 0;
                   12144:     if (s) return 0;
                   12145:   }
                   12146:   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
                   12147:     int x[] = {25, 17};
                   12148:     const int *foo = &x[0];
                   12149:     ++foo;
                   12150:   }
                   12151:   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
                   12152:     typedef const int *iptr;
                   12153:     iptr p = 0;
                   12154:     ++p;
                   12155:   }
1.1.1.2 ! misho    12156:   { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
1.1       misho    12157:        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
1.1.1.2 ! misho    12158:     struct s { int j; const int *ap[3]; } bx;
        !          12159:     struct s *b = &bx; b->j = 5;
1.1       misho    12160:   }
                   12161:   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
                   12162:     const int foo = 10;
                   12163:     if (!foo) return 0;
                   12164:   }
                   12165:   return !cs[0] && !zero.x;
                   12166: #endif
                   12167: 
                   12168:   ;
                   12169:   return 0;
                   12170: }
                   12171: _ACEOF
                   12172: if ac_fn_c_try_compile "$LINENO"; then :
                   12173:   ac_cv_c_const=yes
                   12174: else
                   12175:   ac_cv_c_const=no
                   12176: fi
                   12177: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   12178: fi
                   12179: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
                   12180: $as_echo "$ac_cv_c_const" >&6; }
                   12181: if test $ac_cv_c_const = no; then
                   12182: 
                   12183: $as_echo "#define const /**/" >>confdefs.h
                   12184: 
                   12185: fi
                   12186: 
                   12187: ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
1.1.1.2 ! misho    12188: if test "x$ac_cv_type_pid_t" = xyes; then :
1.1       misho    12189: 
                   12190: else
                   12191: 
                   12192: cat >>confdefs.h <<_ACEOF
                   12193: #define pid_t int
                   12194: _ACEOF
                   12195: 
                   12196: fi
                   12197: 
                   12198: ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
1.1.1.2 ! misho    12199: if test "x$ac_cv_type_size_t" = xyes; then :
1.1       misho    12200: 
                   12201: else
                   12202: 
                   12203: cat >>confdefs.h <<_ACEOF
                   12204: #define size_t unsigned int
                   12205: _ACEOF
                   12206: 
                   12207: fi
                   12208: 
                   12209: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
                   12210: $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
1.1.1.2 ! misho    12211: if ${ac_cv_header_time+:} false; then :
1.1       misho    12212:   $as_echo_n "(cached) " >&6
                   12213: else
                   12214:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12215: /* end confdefs.h.  */
                   12216: #include <sys/types.h>
                   12217: #include <sys/time.h>
                   12218: #include <time.h>
                   12219: 
                   12220: int
                   12221: main ()
                   12222: {
                   12223: if ((struct tm *) 0)
                   12224: return 0;
                   12225:   ;
                   12226:   return 0;
                   12227: }
                   12228: _ACEOF
                   12229: if ac_fn_c_try_compile "$LINENO"; then :
                   12230:   ac_cv_header_time=yes
                   12231: else
                   12232:   ac_cv_header_time=no
                   12233: fi
                   12234: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   12235: fi
                   12236: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
                   12237: $as_echo "$ac_cv_header_time" >&6; }
                   12238: if test $ac_cv_header_time = yes; then
                   12239: 
                   12240: $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
                   12241: 
                   12242: fi
                   12243: 
                   12244: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
                   12245: $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
1.1.1.2 ! misho    12246: if ${ac_cv_struct_tm+:} false; then :
1.1       misho    12247:   $as_echo_n "(cached) " >&6
                   12248: else
                   12249:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12250: /* end confdefs.h.  */
                   12251: #include <sys/types.h>
                   12252: #include <time.h>
                   12253: 
                   12254: int
                   12255: main ()
                   12256: {
                   12257: struct tm tm;
                   12258:                                     int *p = &tm.tm_sec;
                   12259:                                     return !p;
                   12260:   ;
                   12261:   return 0;
                   12262: }
                   12263: _ACEOF
                   12264: if ac_fn_c_try_compile "$LINENO"; then :
                   12265:   ac_cv_struct_tm=time.h
                   12266: else
                   12267:   ac_cv_struct_tm=sys/time.h
                   12268: fi
                   12269: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   12270: fi
                   12271: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
                   12272: $as_echo "$ac_cv_struct_tm" >&6; }
                   12273: if test $ac_cv_struct_tm = sys/time.h; then
                   12274: 
                   12275: $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
                   12276: 
                   12277: fi
                   12278: 
                   12279: 
                   12280: # Checks for library functions.
                   12281: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
                   12282: $as_echo_n "checking for working memcmp... " >&6; }
1.1.1.2 ! misho    12283: if ${ac_cv_func_memcmp_working+:} false; then :
1.1       misho    12284:   $as_echo_n "(cached) " >&6
                   12285: else
                   12286:   if test "$cross_compiling" = yes; then :
                   12287:   ac_cv_func_memcmp_working=no
                   12288: else
                   12289:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12290: /* end confdefs.h.  */
                   12291: $ac_includes_default
                   12292: int
                   12293: main ()
                   12294: {
                   12295: 
                   12296:   /* Some versions of memcmp are not 8-bit clean.  */
                   12297:   char c0 = '\100', c1 = '\200', c2 = '\201';
                   12298:   if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
                   12299:     return 1;
                   12300: 
                   12301:   /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
                   12302:      or more and with at least one buffer not starting on a 4-byte boundary.
                   12303:      William Lewis provided this test program.   */
                   12304:   {
                   12305:     char foo[21];
                   12306:     char bar[21];
                   12307:     int i;
                   12308:     for (i = 0; i < 4; i++)
                   12309:       {
                   12310:        char *a = foo + i;
                   12311:        char *b = bar + i;
                   12312:        strcpy (a, "--------01111111");
                   12313:        strcpy (b, "--------10000000");
                   12314:        if (memcmp (a, b, 16) >= 0)
                   12315:          return 1;
                   12316:       }
                   12317:     return 0;
                   12318:   }
                   12319: 
                   12320:   ;
                   12321:   return 0;
                   12322: }
                   12323: _ACEOF
                   12324: if ac_fn_c_try_run "$LINENO"; then :
                   12325:   ac_cv_func_memcmp_working=yes
                   12326: else
                   12327:   ac_cv_func_memcmp_working=no
                   12328: fi
                   12329: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   12330:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   12331: fi
                   12332: 
                   12333: fi
                   12334: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
                   12335: $as_echo "$ac_cv_func_memcmp_working" >&6; }
                   12336: test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
                   12337:   *" memcmp.$ac_objext "* ) ;;
                   12338:   *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
                   12339:  ;;
                   12340: esac
                   12341: 
                   12342: 
                   12343: { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
                   12344: $as_echo_n "checking return type of signal handlers... " >&6; }
1.1.1.2 ! misho    12345: if ${ac_cv_type_signal+:} false; then :
1.1       misho    12346:   $as_echo_n "(cached) " >&6
                   12347: else
                   12348:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12349: /* end confdefs.h.  */
                   12350: #include <sys/types.h>
                   12351: #include <signal.h>
                   12352: 
                   12353: int
                   12354: main ()
                   12355: {
                   12356: return *(signal (0, 0)) (0) == 1;
                   12357:   ;
                   12358:   return 0;
                   12359: }
                   12360: _ACEOF
                   12361: if ac_fn_c_try_compile "$LINENO"; then :
                   12362:   ac_cv_type_signal=int
                   12363: else
                   12364:   ac_cv_type_signal=void
                   12365: fi
                   12366: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   12367: fi
                   12368: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
                   12369: $as_echo "$ac_cv_type_signal" >&6; }
                   12370: 
                   12371: cat >>confdefs.h <<_ACEOF
                   12372: #define RETSIGTYPE $ac_cv_type_signal
                   12373: _ACEOF
                   12374: 
                   12375: 
                   12376: for ac_func in vprintf
                   12377: do :
                   12378:   ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
1.1.1.2 ! misho    12379: if test "x$ac_cv_func_vprintf" = xyes; then :
1.1       misho    12380:   cat >>confdefs.h <<_ACEOF
                   12381: #define HAVE_VPRINTF 1
                   12382: _ACEOF
                   12383: 
                   12384: ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
1.1.1.2 ! misho    12385: if test "x$ac_cv_func__doprnt" = xyes; then :
1.1       misho    12386: 
                   12387: $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
                   12388: 
                   12389: fi
                   12390: 
                   12391: fi
                   12392: done
                   12393: 
                   12394: 
                   12395: for ac_func in gettimeofday select socket strerror strtol strtoul strlcpy strlcat
                   12396: do :
                   12397:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   12398: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   12399: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   12400:   cat >>confdefs.h <<_ACEOF
                   12401: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   12402: _ACEOF
                   12403: 
                   12404: fi
                   12405: done
                   12406: 
                   12407: ac_fn_c_check_func "$LINENO" "strdup" "ac_cv_func_strdup"
1.1.1.2 ! misho    12408: if test "x$ac_cv_func_strdup" = xyes; then :
1.1       misho    12409:   $as_echo "#define HAVE_STRDUP 1" >>confdefs.h
                   12410: 
                   12411: else
                   12412:   case " $LIBOBJS " in
                   12413:   *" strdup.$ac_objext "* ) ;;
                   12414:   *) LIBOBJS="$LIBOBJS strdup.$ac_objext"
                   12415:  ;;
                   12416: esac
                   12417: 
                   12418: fi
                   12419: 
                   12420: 
                   12421: 
                   12422:        saved_CFLAGS=$CFLAGS
                   12423:        CFLAGS="-Wall -O2"
                   12424:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an implementation of va_copy()" >&5
                   12425: $as_echo_n "checking for an implementation of va_copy()... " >&6; }
1.1.1.2 ! misho    12426: if ${ac_cv_va_copy+:} false; then :
1.1       misho    12427:   $as_echo_n "(cached) " >&6
                   12428: else
                   12429: 
                   12430:                if test "$cross_compiling" = yes; then :
                   12431:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cross compiling... Unable to test va_copy" >&5
                   12432: $as_echo "$as_me: WARNING: Cross compiling... Unable to test va_copy" >&2;}
                   12433:                ac_cv_va_copy=no
                   12434: else
                   12435:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12436: /* end confdefs.h.  */
                   12437: #include <stdarg.h>
                   12438:                void func (int i, ...) {
                   12439:                        va_list args1, args2;
                   12440:                        va_start (args1, i);
                   12441:                        va_copy (args2, args1);
                   12442:                        if (va_arg (args1, int) != 1 || va_arg (args2, int) != 1)
                   12443:                                exit (1);
                   12444:                        va_end (args1);
                   12445:                        va_end (args2);
                   12446:                }
                   12447:                int main() {
                   12448:                        func (0, 1);
                   12449:                        return 0;
                   12450:                }
                   12451: _ACEOF
                   12452: if ac_fn_c_try_run "$LINENO"; then :
                   12453:   ac_cv_va_copy=yes
                   12454: else
                   12455:   ac_cv_va_copy=no
                   12456: fi
                   12457: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   12458:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   12459: fi
                   12460: 
                   12461: 
                   12462: fi
                   12463: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_va_copy" >&5
                   12464: $as_echo "$ac_cv_va_copy" >&6; }
                   12465:        if test x$ac_cv_va_copy != xyes; then
                   12466:                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an implementation of __va_copy()" >&5
                   12467: $as_echo_n "checking for an implementation of __va_copy()... " >&6; }
1.1.1.2 ! misho    12468: if ${ac_cv___va_copy+:} false; then :
1.1       misho    12469:   $as_echo_n "(cached) " >&6
                   12470: else
                   12471: 
                   12472:                        if test "$cross_compiling" = yes; then :
                   12473:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cross compiling... Unable to test __va_copy" >&5
                   12474: $as_echo "$as_me: WARNING: Cross compiling... Unable to test __va_copy" >&2;}
                   12475:                        ac_cv___va_copy=no
                   12476: else
                   12477:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12478: /* end confdefs.h.  */
                   12479: #include <stdarg.h>
                   12480:                        void func (int i, ...) {
                   12481:                                va_list args1, args2;
                   12482:                                va_start (args1, i);
                   12483:                                __va_copy (args2, args1);
                   12484:                                if (va_arg (args1, int) != 1 || va_arg (args2, int) != 1)
                   12485:                                        exit (1);
                   12486:                                va_end (args1);
                   12487:                                va_end (args2);
                   12488:                        }
                   12489:                        int main() {
                   12490:                                func (0, 1);
                   12491:                                return 0;
                   12492:                        }
                   12493: _ACEOF
                   12494: if ac_fn_c_try_run "$LINENO"; then :
                   12495:   ac_cv___va_copy=yes
                   12496: else
                   12497:   ac_cv___va_copy=no
                   12498: fi
                   12499: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   12500:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   12501: fi
                   12502: 
                   12503: 
                   12504: fi
                   12505: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv___va_copy" >&5
                   12506: $as_echo "$ac_cv___va_copy" >&6; }
                   12507:        fi
                   12508: 
                   12509:        if test "x$ac_cv_va_copy" = "xyes"; then
                   12510:                va_copy_func=va_copy
                   12511:        elif test "x$ac_cv___va_copy" = "xyes"; then
                   12512:                va_copy_func=__va_copy
                   12513:        fi
                   12514: 
                   12515:        if test -n "$va_copy_func"; then
                   12516: 
                   12517: cat >>confdefs.h <<_ACEOF
                   12518: #define VA_COPY $va_copy_func
                   12519: _ACEOF
                   12520: 
                   12521:        else
                   12522:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Hmm, neither va_copy() nor __va_copy() found." >&5
                   12523: $as_echo "$as_me: WARNING: Hmm, neither va_copy() nor __va_copy() found." >&2;}
                   12524:                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Using a generic fallback." >&5
                   12525: $as_echo "$as_me: WARNING: Using a generic fallback." >&2;}
                   12526:        fi
                   12527:        CFLAGS=$saved_CFLAGS
                   12528:        unset saved_CFLAGS
                   12529: 
                   12530: 
                   12531: # Check if printf accepts "%z" type modifier for size_t argument
                   12532: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if printf accepts %z" >&5
                   12533: $as_echo_n "checking if printf accepts %z... " >&6; }
                   12534: saved_CFLAGS=$CFLAGS
                   12535: CFLAGS="$CFLAGS -Wall -Werror"
                   12536: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12537: /* end confdefs.h.  */
                   12538: 
                   12539: #include <stdio.h>
                   12540: 
                   12541: int
                   12542: main ()
                   12543: {
                   12544: 
                   12545: printf("%zu\n", (size_t)-1);
                   12546: 
                   12547:   ;
                   12548:   return 0;
                   12549: }
                   12550: _ACEOF
                   12551: if ac_fn_c_try_compile "$LINENO"; then :
                   12552:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   12553: $as_echo "yes" >&6; }
                   12554: else
                   12555:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12556: $as_echo "no" >&6; };
                   12557:         CFLAGS_ADD="$CFLAGS_ADD -Wno-format";
                   12558: 
                   12559: $as_echo "#define BROKEN_PRINTF /**/" >>confdefs.h
                   12560: 
                   12561: 
                   12562: fi
                   12563: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   12564: CFLAGS=$saved_CFLAGS
                   12565: 
                   12566: # Can we use __func__ macro?
                   12567: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __func__ is available" >&5
                   12568: $as_echo_n "checking if __func__ is available... " >&6; }
                   12569: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12570: /* end confdefs.h.  */
                   12571: #include <stdio.h>
                   12572: 
                   12573: int
                   12574: main ()
                   12575: {
                   12576: char *x = __func__;
                   12577:   ;
                   12578:   return 0;
                   12579: }
                   12580: _ACEOF
                   12581: if ac_fn_c_try_compile "$LINENO"; then :
                   12582: 
                   12583: $as_echo "#define HAVE_FUNC_MACRO /**/" >>confdefs.h
                   12584: 
                   12585:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   12586: $as_echo "yes" >&6; }
                   12587: else
                   12588:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12589: $as_echo "no" >&6; }
                   12590: fi
                   12591: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   12592: 
                   12593: # Check if readline support is requested
                   12594: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if readline support is requested" >&5
                   12595: $as_echo_n "checking if readline support is requested... " >&6; }
                   12596: 
                   12597: # Check whether --with-readline was given.
                   12598: if test "${with_readline+set}" = set; then :
                   12599:   withval=$with_readline; with_readline="$withval"
                   12600: else
                   12601:   with_readline="yes"
                   12602: fi
                   12603: 
                   12604: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_readline" >&5
                   12605: $as_echo "$with_readline" >&6; }
                   12606: 
                   12607: # Is readline available?
                   12608: if test $with_readline != "no"; then
                   12609:        ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
1.1.1.2 ! misho    12610: if test "x$ac_cv_header_readline_readline_h" = xyes; then :
1.1       misho    12611:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
                   12612: $as_echo_n "checking for readline in -lreadline... " >&6; }
1.1.1.2 ! misho    12613: if ${ac_cv_lib_readline_readline+:} false; then :
1.1       misho    12614:   $as_echo_n "(cached) " >&6
                   12615: else
                   12616:   ac_check_lib_save_LIBS=$LIBS
                   12617: LIBS="-lreadline  $LIBS"
                   12618: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12619: /* end confdefs.h.  */
                   12620: 
                   12621: /* Override any GCC internal prototype to avoid an error.
                   12622:    Use char because int might match the return type of a GCC
                   12623:    builtin and then its argument prototype would still apply.  */
                   12624: #ifdef __cplusplus
                   12625: extern "C"
                   12626: #endif
                   12627: char readline ();
                   12628: int
                   12629: main ()
                   12630: {
                   12631: return readline ();
                   12632:   ;
                   12633:   return 0;
                   12634: }
                   12635: _ACEOF
                   12636: if ac_fn_c_try_link "$LINENO"; then :
                   12637:   ac_cv_lib_readline_readline=yes
                   12638: else
                   12639:   ac_cv_lib_readline_readline=no
                   12640: fi
                   12641: rm -f core conftest.err conftest.$ac_objext \
                   12642:     conftest$ac_exeext conftest.$ac_ext
                   12643: LIBS=$ac_check_lib_save_LIBS
                   12644: fi
                   12645: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
                   12646: $as_echo "$ac_cv_lib_readline_readline" >&6; }
1.1.1.2 ! misho    12647: if test "x$ac_cv_lib_readline_readline" = xyes; then :
1.1       misho    12648: 
                   12649: 
                   12650: $as_echo "#define HAVE_READLINE /**/" >>confdefs.h
                   12651: 
                   12652:                                LIBS="$LIBS -lreadline"
                   12653: 
                   12654: fi
                   12655: 
                   12656: fi
                   12657: 
                   12658: 
                   12659: fi
                   12660: 
                   12661: 
                   12662: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if --with-flex option is specified" >&5
                   12663: $as_echo_n "checking if --with-flex option is specified... " >&6; }
                   12664: 
                   12665: # Check whether --with-flexdir was given.
                   12666: if test "${with_flexdir+set}" = set; then :
                   12667:   withval=$with_flexdir; flexdir="$withval"
                   12668: fi
                   12669: 
                   12670: { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flexdir-dirdefault}" >&5
                   12671: $as_echo "${flexdir-dirdefault}" >&6; }
                   12672: 
                   12673: if test "x$flexdir" != "x"; then
                   12674:        LIBS="$LIBS $flexdir/libfl.a"
                   12675: fi
                   12676: 
                   12677: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if --with-flexlib option is specified" >&5
                   12678: $as_echo_n "checking if --with-flexlib option is specified... " >&6; }
                   12679: 
                   12680: # Check whether --with-flexlib was given.
                   12681: if test "${with_flexlib+set}" = set; then :
                   12682:   withval=$with_flexlib; flexlib="$withval"
                   12683: fi
                   12684: 
                   12685: { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flexlib-default}" >&5
                   12686: $as_echo "${flexlib-default}" >&6; }
                   12687: 
                   12688: if test "x$flexlib" != "x"; then
                   12689:        LIBS="$LIBS $flexlib"
                   12690: fi
                   12691: 
                   12692: # Check if a different OpenSSL directory was specified
                   12693: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if --with-openssl option is specified" >&5
                   12694: $as_echo_n "checking if --with-openssl option is specified... " >&6; }
                   12695: 
                   12696: # Check whether --with-openssl was given.
                   12697: if test "${with_openssl+set}" = set; then :
                   12698:   withval=$with_openssl; crypto_dir=$withval
                   12699: fi
                   12700: 
                   12701: { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${crypto_dir-default}" >&5
                   12702: $as_echo "${crypto_dir-default}" >&6; }
                   12703: 
                   12704: if test "x$crypto_dir" != "x"; then
                   12705:        LIBS="$LIBS -L${crypto_dir}/lib"
                   12706:        CPPFLAGS="-I${crypto_dir}/include $CPPFLAGS"
                   12707: fi
                   12708: { $as_echo "$as_me:${as_lineno-$LINENO}: checking openssl version" >&5
                   12709: $as_echo_n "checking openssl version... " >&6; }
                   12710: 
                   12711: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12712: /* end confdefs.h.  */
                   12713: #include <openssl/opensslv.h>
                   12714: 
                   12715: int
                   12716: main ()
                   12717: {
1.1.1.2 ! misho    12718: #if OPENSSL_VERSION_NUMBER < 0x0090813fL
1.1       misho    12719: #error OpenSSL version is too old ...
                   12720: #endif
                   12721:   ;
                   12722:   return 0;
                   12723: }
                   12724: _ACEOF
                   12725: if ac_fn_c_try_compile "$LINENO"; then :
                   12726:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
                   12727: $as_echo "ok" >&6; }
                   12728: else
                   12729:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: too old" >&5
                   12730: $as_echo "too old" >&6; }
1.1.1.2 ! misho    12731: as_fn_error $? "OpenSSL version must be 0.9.8s or higher. Aborting." "$LINENO" 5
1.1       misho    12732: 
                   12733: fi
                   12734: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   12735: 
                   12736: for ac_header in openssl/engine.h
                   12737: do :
                   12738:   ac_fn_c_check_header_mongrel "$LINENO" "openssl/engine.h" "ac_cv_header_openssl_engine_h" "$ac_includes_default"
1.1.1.2 ! misho    12739: if test "x$ac_cv_header_openssl_engine_h" = xyes; then :
1.1       misho    12740:   cat >>confdefs.h <<_ACEOF
                   12741: #define HAVE_OPENSSL_ENGINE_H 1
                   12742: _ACEOF
                   12743: 
                   12744: fi
                   12745: 
                   12746: done
                   12747: 
                   12748: 
                   12749: # checking rijndael
                   12750: for ac_header in openssl/aes.h
                   12751: do :
                   12752:   ac_fn_c_check_header_mongrel "$LINENO" "openssl/aes.h" "ac_cv_header_openssl_aes_h" "$ac_includes_default"
1.1.1.2 ! misho    12753: if test "x$ac_cv_header_openssl_aes_h" = xyes; then :
1.1       misho    12754:   cat >>confdefs.h <<_ACEOF
                   12755: #define HAVE_OPENSSL_AES_H 1
                   12756: _ACEOF
                   12757: 
                   12758: else
                   12759:   CRYPTOBJS="$CRYPTOBJS rijndael-api-fst.o rijndael-alg-fst.o"
                   12760: fi
                   12761: 
                   12762: done
                   12763: 
                   12764: 
                   12765: # checking sha2
                   12766: { $as_echo "$as_me:${as_lineno-$LINENO}: checking sha2 support" >&5
                   12767: $as_echo_n "checking sha2 support... " >&6; }
                   12768: 
                   12769: $as_echo "#define WITH_SHA2 /**/" >>confdefs.h
                   12770: 
                   12771: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   12772: $as_echo "yes" >&6; }
                   12773: ac_fn_c_check_header_mongrel "$LINENO" "openssl/sha2.h" "ac_cv_header_openssl_sha2_h" "$ac_includes_default"
1.1.1.2 ! misho    12774: if test "x$ac_cv_header_openssl_sha2_h" = xyes; then :
1.1       misho    12775: 
                   12776: else
                   12777: 
                   12778:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if sha2 is defined in openssl/sha.h" >&5
                   12779: $as_echo_n "checking if sha2 is defined in openssl/sha.h... " >&6; }
                   12780:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12781: /* end confdefs.h.  */
                   12782: 
                   12783:                #ifdef HAVE_SYS_TYPES_H
                   12784:                #include <sys/types.h>
                   12785:                #endif
                   12786:                #include <openssl/sha.h>
                   12787: 
                   12788: int
                   12789: main ()
                   12790: {
                   12791: 
                   12792:                SHA256_CTX ctx;
                   12793: 
                   12794:   ;
                   12795:   return 0;
                   12796: }
                   12797: _ACEOF
                   12798: if ac_fn_c_try_compile "$LINENO"; then :
                   12799: 
                   12800:            { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   12801: $as_echo "yes" >&6; }
                   12802: 
                   12803: $as_echo "#define HAVE_SHA2_IN_SHA_H /**/" >>confdefs.h
                   12804: 
                   12805: 
                   12806: else
                   12807:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   12808: $as_echo "no" >&6; }
                   12809:            case " $LIBOBJS " in
                   12810:   *" sha2.$ac_objext "* ) ;;
                   12811:   *) LIBOBJS="$LIBOBJS sha2.$ac_objext"
                   12812:  ;;
                   12813: esac
                   12814: 
                   12815:            CRYPTOBJS="$CRYPTOBJS sha2.o"
                   12816: 
                   12817: fi
                   12818: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   12819: 
                   12820:        CPPFLAGS_ADD="$CPPFLAGS_ADD -I\${top_srcdir}/src/racoon/missing"
                   12821: 
                   12822: fi
                   12823: 
                   12824: 
                   12825: 
                   12826: 
                   12827: # checking camellia
                   12828: for ac_header in openssl/camellia.h
                   12829: do :
                   12830:   ac_fn_c_check_header_mongrel "$LINENO" "openssl/camellia.h" "ac_cv_header_openssl_camellia_h" "$ac_includes_default"
1.1.1.2 ! misho    12831: if test "x$ac_cv_header_openssl_camellia_h" = xyes; then :
1.1       misho    12832:   cat >>confdefs.h <<_ACEOF
                   12833: #define HAVE_OPENSSL_CAMELLIA_H 1
                   12834: _ACEOF
                   12835: 
                   12836: fi
                   12837: 
                   12838: done
                   12839: 
                   12840: 
                   12841: 
                   12842: # Option --enable-adminport
                   12843: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if --enable-adminport option is specified" >&5
                   12844: $as_echo_n "checking if --enable-adminport option is specified... " >&6; }
                   12845: # Check whether --enable-adminport was given.
                   12846: if test "${enable_adminport+set}" = set; then :
                   12847:   enableval=$enable_adminport;
                   12848: else
                   12849:   enable_adminport=no
                   12850: fi
                   12851: 
                   12852: if test $enable_adminport = "yes"; then
                   12853: 
                   12854: $as_echo "#define ENABLE_ADMINPORT /**/" >>confdefs.h
                   12855: 
                   12856: fi
                   12857: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_adminport" >&5
                   12858: $as_echo "$enable_adminport" >&6; }
                   12859: 
                   12860: # Option RC5
                   12861: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if --enable-rc5 option is specified" >&5
                   12862: $as_echo_n "checking if --enable-rc5 option is specified... " >&6; }
                   12863: # Check whether --enable-rc5 was given.
                   12864: if test "${enable_rc5+set}" = set; then :
                   12865:   enableval=$enable_rc5;
                   12866: else
                   12867:   enable_rc5=no
                   12868: fi
                   12869: 
                   12870: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_rc5" >&5
                   12871: $as_echo "$enable_rc5" >&6; }
                   12872: 
                   12873: if test $enable_rc5 = "yes"; then
                   12874:        for ac_header in openssl/rc5.h
                   12875: do :
                   12876:   ac_fn_c_check_header_mongrel "$LINENO" "openssl/rc5.h" "ac_cv_header_openssl_rc5_h" "$ac_includes_default"
1.1.1.2 ! misho    12877: if test "x$ac_cv_header_openssl_rc5_h" = xyes; then :
1.1       misho    12878:   cat >>confdefs.h <<_ACEOF
                   12879: #define HAVE_OPENSSL_RC5_H 1
                   12880: _ACEOF
                   12881: 
                   12882: fi
                   12883: 
                   12884: done
                   12885: 
                   12886:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RC5_32_encrypt in -lcrypto_rc5" >&5
                   12887: $as_echo_n "checking for RC5_32_encrypt in -lcrypto_rc5... " >&6; }
1.1.1.2 ! misho    12888: if ${ac_cv_lib_crypto_rc5_RC5_32_encrypt+:} false; then :
1.1       misho    12889:   $as_echo_n "(cached) " >&6
                   12890: else
                   12891:   ac_check_lib_save_LIBS=$LIBS
                   12892: LIBS="-lcrypto_rc5  $LIBS"
                   12893: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12894: /* end confdefs.h.  */
                   12895: 
                   12896: /* Override any GCC internal prototype to avoid an error.
                   12897:    Use char because int might match the return type of a GCC
                   12898:    builtin and then its argument prototype would still apply.  */
                   12899: #ifdef __cplusplus
                   12900: extern "C"
                   12901: #endif
                   12902: char RC5_32_encrypt ();
                   12903: int
                   12904: main ()
                   12905: {
                   12906: return RC5_32_encrypt ();
                   12907:   ;
                   12908:   return 0;
                   12909: }
                   12910: _ACEOF
                   12911: if ac_fn_c_try_link "$LINENO"; then :
                   12912:   ac_cv_lib_crypto_rc5_RC5_32_encrypt=yes
                   12913: else
                   12914:   ac_cv_lib_crypto_rc5_RC5_32_encrypt=no
                   12915: fi
                   12916: rm -f core conftest.err conftest.$ac_objext \
                   12917:     conftest$ac_exeext conftest.$ac_ext
                   12918: LIBS=$ac_check_lib_save_LIBS
                   12919: fi
                   12920: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_rc5_RC5_32_encrypt" >&5
                   12921: $as_echo "$ac_cv_lib_crypto_rc5_RC5_32_encrypt" >&6; }
1.1.1.2 ! misho    12922: if test "x$ac_cv_lib_crypto_rc5_RC5_32_encrypt" = xyes; then :
1.1       misho    12923:   EXTRA_CRYPTO="$EXTRA_CRYPTO -lcrypto_rc5"
                   12924: fi
                   12925: 
                   12926: fi
                   12927: 
                   12928: # Option IDEA
                   12929: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if --enable-idea option is specified" >&5
                   12930: $as_echo_n "checking if --enable-idea option is specified... " >&6; }
                   12931: # Check whether --enable-idea was given.
                   12932: if test "${enable_idea+set}" = set; then :
                   12933:   enableval=$enable_idea;
                   12934: else
                   12935:   enable_idea=no
                   12936: fi
                   12937: 
                   12938: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_idea" >&5
                   12939: $as_echo "$enable_idea" >&6; }
                   12940: 
                   12941: if test $enable_idea = "yes"; then
                   12942:        for ac_header in openssl/idea.h
                   12943: do :
                   12944:   ac_fn_c_check_header_mongrel "$LINENO" "openssl/idea.h" "ac_cv_header_openssl_idea_h" "$ac_includes_default"
1.1.1.2 ! misho    12945: if test "x$ac_cv_header_openssl_idea_h" = xyes; then :
1.1       misho    12946:   cat >>confdefs.h <<_ACEOF
                   12947: #define HAVE_OPENSSL_IDEA_H 1
                   12948: _ACEOF
                   12949: 
                   12950: fi
                   12951: 
                   12952: done
                   12953: 
                   12954:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for idea_encrypt in -lcrypto_idea" >&5
                   12955: $as_echo_n "checking for idea_encrypt in -lcrypto_idea... " >&6; }
1.1.1.2 ! misho    12956: if ${ac_cv_lib_crypto_idea_idea_encrypt+:} false; then :
1.1       misho    12957:   $as_echo_n "(cached) " >&6
                   12958: else
                   12959:   ac_check_lib_save_LIBS=$LIBS
                   12960: LIBS="-lcrypto_idea  $LIBS"
                   12961: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   12962: /* end confdefs.h.  */
                   12963: 
                   12964: /* Override any GCC internal prototype to avoid an error.
                   12965:    Use char because int might match the return type of a GCC
                   12966:    builtin and then its argument prototype would still apply.  */
                   12967: #ifdef __cplusplus
                   12968: extern "C"
                   12969: #endif
                   12970: char idea_encrypt ();
                   12971: int
                   12972: main ()
                   12973: {
                   12974: return idea_encrypt ();
                   12975:   ;
                   12976:   return 0;
                   12977: }
                   12978: _ACEOF
                   12979: if ac_fn_c_try_link "$LINENO"; then :
                   12980:   ac_cv_lib_crypto_idea_idea_encrypt=yes
                   12981: else
                   12982:   ac_cv_lib_crypto_idea_idea_encrypt=no
                   12983: fi
                   12984: rm -f core conftest.err conftest.$ac_objext \
                   12985:     conftest$ac_exeext conftest.$ac_ext
                   12986: LIBS=$ac_check_lib_save_LIBS
                   12987: fi
                   12988: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_idea_idea_encrypt" >&5
                   12989: $as_echo "$ac_cv_lib_crypto_idea_idea_encrypt" >&6; }
1.1.1.2 ! misho    12990: if test "x$ac_cv_lib_crypto_idea_idea_encrypt" = xyes; then :
1.1       misho    12991:   EXTRA_CRYPTO="$EXTRA_CRYPTO -lcrypto_idea"
                   12992: fi
                   12993: 
                   12994: fi
                   12995: 
                   12996: 
                   12997: # For dynamic libradius
                   12998: 
                   12999: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for crypto containing MD5_Init" >&5
                   13000: $as_echo_n "checking for crypto containing MD5_Init... " >&6; }
1.1.1.2 ! misho    13001: if ${ac_cv_search_MD5_Init+:} false; then :
1.1       misho    13002:   $as_echo_n "(cached) " >&6
                   13003: else
                   13004:   ac_func_search_save_LIBS="$LIBS"
                   13005: ac_cv_search_MD5_Init="no"
                   13006: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13007: /* end confdefs.h.  */
                   13008: 
                   13009: /* Override any GCC internal prototype to avoid an error.
                   13010:    Use char because int might match the return type of a GCC
                   13011:    builtin and then its argument prototype would still apply.  */
                   13012: #ifdef __cplusplus
                   13013: extern "C"
                   13014: #endif
                   13015: char MD5_Init ();
                   13016: int
                   13017: main ()
                   13018: {
                   13019: return MD5_Init ();
                   13020:   ;
                   13021:   return 0;
                   13022: }
                   13023: _ACEOF
                   13024: if ac_fn_c_try_link "$LINENO"; then :
                   13025:   ac_cv_search_MD5_Init="none required"
                   13026: else
                   13027:   LIBS="-lcrypto $LIBS"
                   13028:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13029: /* end confdefs.h.  */
                   13030: 
                   13031: /* Override any GCC internal prototype to avoid an error.
                   13032:    Use char because int might match the return type of a GCC
                   13033:    builtin and then its argument prototype would still apply.  */
                   13034: #ifdef __cplusplus
                   13035: extern "C"
                   13036: #endif
                   13037: char MD5_Init ();
                   13038: int
                   13039: main ()
                   13040: {
                   13041: return MD5_Init ();
                   13042:   ;
                   13043:   return 0;
                   13044: }
                   13045: _ACEOF
                   13046: if ac_fn_c_try_link "$LINENO"; then :
                   13047:   ac_cv_search_MD5_Init="-lcrypto"
                   13048: fi
                   13049: rm -f core conftest.err conftest.$ac_objext \
                   13050:     conftest$ac_exeext conftest.$ac_ext
                   13051: fi
                   13052: rm -f core conftest.err conftest.$ac_objext \
                   13053:     conftest$ac_exeext conftest.$ac_ext
                   13054: LIBS="$ac_func_search_save_LIBS"
                   13055: 
                   13056: fi
                   13057: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_MD5_Init" >&5
                   13058: $as_echo "$ac_cv_search_MD5_Init" >&6; }
                   13059: if test "$ac_cv_search_MD5_Init" != "no"; then
                   13060:   test "$ac_cv_search_MD5_Init" = "none required" || LIBS="$ac_cv_search_MD5_Init $LIBS"
                   13061: 
                   13062: else :
                   13063: 
                   13064: fi
                   13065: 
                   13066: # Check if we need -lutil for login(3)
                   13067: 
                   13068: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for util containing login" >&5
                   13069: $as_echo_n "checking for util containing login... " >&6; }
1.1.1.2 ! misho    13070: if ${ac_cv_search_login+:} false; then :
1.1       misho    13071:   $as_echo_n "(cached) " >&6
                   13072: else
                   13073:   ac_func_search_save_LIBS="$LIBS"
                   13074: ac_cv_search_login="no"
                   13075: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13076: /* end confdefs.h.  */
                   13077: 
                   13078: /* Override any GCC internal prototype to avoid an error.
                   13079:    Use char because int might match the return type of a GCC
                   13080:    builtin and then its argument prototype would still apply.  */
                   13081: #ifdef __cplusplus
                   13082: extern "C"
                   13083: #endif
                   13084: char login ();
                   13085: int
                   13086: main ()
                   13087: {
                   13088: return login ();
                   13089:   ;
                   13090:   return 0;
                   13091: }
                   13092: _ACEOF
                   13093: if ac_fn_c_try_link "$LINENO"; then :
                   13094:   ac_cv_search_login="none required"
                   13095: else
                   13096:   LIBS="-lutil $LIBS"
                   13097:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13098: /* end confdefs.h.  */
                   13099: 
                   13100: /* Override any GCC internal prototype to avoid an error.
                   13101:    Use char because int might match the return type of a GCC
                   13102:    builtin and then its argument prototype would still apply.  */
                   13103: #ifdef __cplusplus
                   13104: extern "C"
                   13105: #endif
                   13106: char login ();
                   13107: int
                   13108: main ()
                   13109: {
                   13110: return login ();
                   13111:   ;
                   13112:   return 0;
                   13113: }
                   13114: _ACEOF
                   13115: if ac_fn_c_try_link "$LINENO"; then :
                   13116:   ac_cv_search_login="-lutil"
                   13117: fi
                   13118: rm -f core conftest.err conftest.$ac_objext \
                   13119:     conftest$ac_exeext conftest.$ac_ext
                   13120: fi
                   13121: rm -f core conftest.err conftest.$ac_objext \
                   13122:     conftest$ac_exeext conftest.$ac_ext
                   13123: LIBS="$ac_func_search_save_LIBS"
                   13124: 
                   13125: fi
                   13126: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_login" >&5
                   13127: $as_echo "$ac_cv_search_login" >&6; }
                   13128: if test "$ac_cv_search_login" != "no"; then
                   13129:   test "$ac_cv_search_login" = "none required" || LIBS="$ac_cv_search_login $LIBS"
                   13130: 
                   13131: else :
                   13132: 
                   13133: fi
                   13134: 
                   13135: # Specify libiconv prefix
                   13136: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if --with-libiconv option is specified" >&5
                   13137: $as_echo_n "checking if --with-libiconv option is specified... " >&6; }
                   13138: 
                   13139: # Check whether --with-libiconv was given.
                   13140: if test "${with_libiconv+set}" = set; then :
                   13141:   withval=$with_libiconv; libiconv_dir=$withval
                   13142: else
                   13143:   libiconv_dir=no
                   13144: fi
                   13145: 
                   13146: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libiconv_dir" >&5
                   13147: $as_echo "$libiconv_dir" >&6; }
                   13148: if test "$libiconv_dir" != "no"; then
                   13149:        if test "$libiconv_dir" = "yes" ; then
                   13150:                  libiconv_dir="";
                   13151:        fi;
                   13152:        if test "x$libiconv_dir" = "x"; then
                   13153: 
                   13154: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv containing iconv_open" >&5
                   13155: $as_echo_n "checking for iconv containing iconv_open... " >&6; }
1.1.1.2 ! misho    13156: if ${ac_cv_search_iconv_open+:} false; then :
1.1       misho    13157:   $as_echo_n "(cached) " >&6
                   13158: else
                   13159:   ac_func_search_save_LIBS="$LIBS"
                   13160: ac_cv_search_iconv_open="no"
                   13161: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13162: /* end confdefs.h.  */
                   13163: 
                   13164: /* Override any GCC internal prototype to avoid an error.
                   13165:    Use char because int might match the return type of a GCC
                   13166:    builtin and then its argument prototype would still apply.  */
                   13167: #ifdef __cplusplus
                   13168: extern "C"
                   13169: #endif
                   13170: char iconv_open ();
                   13171: int
                   13172: main ()
                   13173: {
                   13174: return iconv_open ();
                   13175:   ;
                   13176:   return 0;
                   13177: }
                   13178: _ACEOF
                   13179: if ac_fn_c_try_link "$LINENO"; then :
                   13180:   ac_cv_search_iconv_open="none required"
                   13181: else
                   13182:   LIBS="-liconv $LIBS"
                   13183:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13184: /* end confdefs.h.  */
                   13185: 
                   13186: /* Override any GCC internal prototype to avoid an error.
                   13187:    Use char because int might match the return type of a GCC
                   13188:    builtin and then its argument prototype would still apply.  */
                   13189: #ifdef __cplusplus
                   13190: extern "C"
                   13191: #endif
                   13192: char iconv_open ();
                   13193: int
                   13194: main ()
                   13195: {
                   13196: return iconv_open ();
                   13197:   ;
                   13198:   return 0;
                   13199: }
                   13200: _ACEOF
                   13201: if ac_fn_c_try_link "$LINENO"; then :
                   13202:   ac_cv_search_iconv_open="-liconv"
                   13203: fi
                   13204: rm -f core conftest.err conftest.$ac_objext \
                   13205:     conftest$ac_exeext conftest.$ac_ext
                   13206: fi
                   13207: rm -f core conftest.err conftest.$ac_objext \
                   13208:     conftest$ac_exeext conftest.$ac_ext
                   13209: LIBS="$ac_func_search_save_LIBS"
                   13210: 
                   13211: fi
                   13212: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_iconv_open" >&5
                   13213: $as_echo "$ac_cv_search_iconv_open" >&6; }
                   13214: if test "$ac_cv_search_iconv_open" != "no"; then
                   13215:   test "$ac_cv_search_iconv_open" = "none required" || LIBS="$ac_cv_search_iconv_open $LIBS"
                   13216: 
                   13217: else :
                   13218: 
                   13219: fi
                   13220:        else
                   13221:                if test -d "$libiconv_dir/lib" -a \
                   13222:                    -d "$libiconv_dir/include" ; then
                   13223: 
                   13224: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv containing iconv_open" >&5
                   13225: $as_echo_n "checking for iconv containing iconv_open... " >&6; }
1.1.1.2 ! misho    13226: if ${ac_cv_search_iconv_open+:} false; then :
1.1       misho    13227:   $as_echo_n "(cached) " >&6
                   13228: else
                   13229:   ac_func_search_save_LIBS="$LIBS"
                   13230: ac_cv_search_iconv_open="no"
                   13231: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13232: /* end confdefs.h.  */
                   13233: 
                   13234: /* Override any GCC internal prototype to avoid an error.
                   13235:    Use char because int might match the return type of a GCC
                   13236:    builtin and then its argument prototype would still apply.  */
                   13237: #ifdef __cplusplus
                   13238: extern "C"
                   13239: #endif
                   13240: char iconv_open ();
                   13241: int
                   13242: main ()
                   13243: {
                   13244: return iconv_open ();
                   13245:   ;
                   13246:   return 0;
                   13247: }
                   13248: _ACEOF
                   13249: if ac_fn_c_try_link "$LINENO"; then :
                   13250:   ac_cv_search_iconv_open="none required"
                   13251: else
                   13252:   LIBS="-liconv $LIBS"
                   13253:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13254: /* end confdefs.h.  */
                   13255: 
                   13256: /* Override any GCC internal prototype to avoid an error.
                   13257:    Use char because int might match the return type of a GCC
                   13258:    builtin and then its argument prototype would still apply.  */
                   13259: #ifdef __cplusplus
                   13260: extern "C"
                   13261: #endif
                   13262: char iconv_open ();
                   13263: int
                   13264: main ()
                   13265: {
                   13266: return iconv_open ();
                   13267:   ;
                   13268:   return 0;
                   13269: }
                   13270: _ACEOF
                   13271: if ac_fn_c_try_link "$LINENO"; then :
                   13272:   ac_cv_search_iconv_open="-liconv"
                   13273: fi
                   13274: rm -f core conftest.err conftest.$ac_objext \
                   13275:     conftest$ac_exeext conftest.$ac_ext
                   13276: fi
                   13277: rm -f core conftest.err conftest.$ac_objext \
                   13278:     conftest$ac_exeext conftest.$ac_ext
                   13279: LIBS="$ac_func_search_save_LIBS"
                   13280:  test "$ac_cv_search_iconv_open" = "no" && for i in "$libiconv_dir/lib"; do
                   13281:   LIBS="-L$i -liconv $ac_func_search_save_LIBS"
                   13282:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13283: /* end confdefs.h.  */
                   13284: 
                   13285: /* Override any GCC internal prototype to avoid an error.
                   13286:    Use char because int might match the return type of a GCC
                   13287:    builtin and then its argument prototype would still apply.  */
                   13288: #ifdef __cplusplus
                   13289: extern "C"
                   13290: #endif
                   13291: char iconv_open ();
                   13292: int
                   13293: main ()
                   13294: {
                   13295: return iconv_open ();
                   13296:   ;
                   13297:   return 0;
                   13298: }
                   13299: _ACEOF
                   13300: if ac_fn_c_try_link "$LINENO"; then :
                   13301:   ac_cv_search_iconv_open="-L$i -liconv"
                   13302:   break
                   13303: fi
                   13304: rm -f core conftest.err conftest.$ac_objext \
                   13305:     conftest$ac_exeext conftest.$ac_ext
                   13306:   done
                   13307: LIBS="$ac_func_search_save_LIBS"
                   13308: fi
                   13309: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_iconv_open" >&5
                   13310: $as_echo "$ac_cv_search_iconv_open" >&6; }
                   13311: if test "$ac_cv_search_iconv_open" != "no"; then
                   13312:   test "$ac_cv_search_iconv_open" = "none required" || LIBS="$ac_cv_search_iconv_open $LIBS"
                   13313: 
                   13314: else :
                   13315: 
                   13316: fi
                   13317:                        CPPFLAGS_ADD="$CPPFLAGS_ADD -I$libiconv_dir/include"
                   13318:                else
                   13319:                        as_fn_error $? "ICONV libs or includes not found. Aborting." "$LINENO" 5
                   13320:                fi
                   13321:        fi
                   13322:        LIBS="$LIBS -L$libiconv_dir/lib -R$libiconv_dir/lib -liconv"
                   13323:        for ac_func in iconv_open
                   13324: do :
                   13325:   ac_fn_c_check_func "$LINENO" "iconv_open" "ac_cv_func_iconv_open"
1.1.1.2 ! misho    13326: if test "x$ac_cv_func_iconv_open" = xyes; then :
1.1       misho    13327:   cat >>confdefs.h <<_ACEOF
                   13328: #define HAVE_ICONV_OPEN 1
                   13329: _ACEOF
                   13330: 
                   13331: fi
                   13332: done
                   13333: 
                   13334: fi
                   13335: 
                   13336: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if --enable-hybrid option is specified" >&5
                   13337: $as_echo_n "checking if --enable-hybrid option is specified... " >&6; }
                   13338: # Check whether --enable-hybrid was given.
                   13339: if test "${enable_hybrid+set}" = set; then :
                   13340:   enableval=$enable_hybrid;
                   13341: else
                   13342:   enable_hybrid=no
                   13343: fi
                   13344: 
                   13345: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_hybrid" >&5
                   13346: $as_echo "$enable_hybrid" >&6; }
                   13347: 
                   13348: if test "x$enable_hybrid" = "xyes"; then
                   13349:        case $host in
                   13350:                *darwin*)
                   13351:                ;;
                   13352:        *)
                   13353:                LIBS="$LIBS -lcrypt";
                   13354:                ;;
                   13355:        esac
                   13356:        HYBRID_OBJS="isakmp_xauth.o isakmp_cfg.o isakmp_unity.o throttle.o"
                   13357: 
                   13358: 
                   13359: $as_echo "#define ENABLE_HYBRID /**/" >>confdefs.h
                   13360: 
                   13361: fi
                   13362: 
                   13363: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if --enable-frag option is specified" >&5
                   13364: $as_echo_n "checking if --enable-frag option is specified... " >&6; }
                   13365: # Check whether --enable-frag was given.
                   13366: if test "${enable_frag+set}" = set; then :
                   13367:   enableval=$enable_frag;
                   13368: else
                   13369:   enable_frag=no
                   13370: fi
                   13371: 
                   13372: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_frag" >&5
                   13373: $as_echo "$enable_frag" >&6; }
                   13374: 
                   13375: if test "x$enable_frag" = "xyes"; then
                   13376:        case $host in
                   13377:        *darwin*)
                   13378:                ;;
                   13379:        *)
                   13380:                LIBS="$LIBS -lcrypt";
                   13381:                ;;
                   13382:        esac
                   13383:        FRAG_OBJS="isakmp_frag.o"
                   13384: 
                   13385: 
                   13386: $as_echo "#define ENABLE_FRAG /**/" >>confdefs.h
                   13387: 
                   13388: fi
                   13389: 
                   13390: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if --with-libradius option is specified" >&5
                   13391: $as_echo_n "checking if --with-libradius option is specified... " >&6; }
                   13392: 
                   13393: # Check whether --with-libradius was given.
                   13394: if test "${with_libradius+set}" = set; then :
                   13395:   withval=$with_libradius; libradius_dir=$withval
                   13396: else
                   13397:   libradius_dir=no
                   13398: fi
                   13399: 
                   13400: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libradius_dir" >&5
                   13401: $as_echo "$libradius_dir" >&6; }
                   13402: if test "$libradius_dir" != "no"; then
                   13403:        if test "$libradius_dir" = "yes" ; then
                   13404:                  libradius_dir="";
                   13405:        fi;
                   13406:        if test "x$libradius_dir" = "x"; then
                   13407: 
                   13408: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for radius containing rad_create_request" >&5
                   13409: $as_echo_n "checking for radius containing rad_create_request... " >&6; }
1.1.1.2 ! misho    13410: if ${ac_cv_search_rad_create_request+:} false; then :
1.1       misho    13411:   $as_echo_n "(cached) " >&6
                   13412: else
                   13413:   ac_func_search_save_LIBS="$LIBS"
                   13414: ac_cv_search_rad_create_request="no"
                   13415: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13416: /* end confdefs.h.  */
                   13417: 
                   13418: /* Override any GCC internal prototype to avoid an error.
                   13419:    Use char because int might match the return type of a GCC
                   13420:    builtin and then its argument prototype would still apply.  */
                   13421: #ifdef __cplusplus
                   13422: extern "C"
                   13423: #endif
                   13424: char rad_create_request ();
                   13425: int
                   13426: main ()
                   13427: {
                   13428: return rad_create_request ();
                   13429:   ;
                   13430:   return 0;
                   13431: }
                   13432: _ACEOF
                   13433: if ac_fn_c_try_link "$LINENO"; then :
                   13434:   ac_cv_search_rad_create_request="none required"
                   13435: else
                   13436:   LIBS="-lradius $LIBS"
                   13437:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13438: /* end confdefs.h.  */
                   13439: 
                   13440: /* Override any GCC internal prototype to avoid an error.
                   13441:    Use char because int might match the return type of a GCC
                   13442:    builtin and then its argument prototype would still apply.  */
                   13443: #ifdef __cplusplus
                   13444: extern "C"
                   13445: #endif
                   13446: char rad_create_request ();
                   13447: int
                   13448: main ()
                   13449: {
                   13450: return rad_create_request ();
                   13451:   ;
                   13452:   return 0;
                   13453: }
                   13454: _ACEOF
                   13455: if ac_fn_c_try_link "$LINENO"; then :
                   13456:   ac_cv_search_rad_create_request="-lradius"
                   13457: fi
                   13458: rm -f core conftest.err conftest.$ac_objext \
                   13459:     conftest$ac_exeext conftest.$ac_ext
                   13460: fi
                   13461: rm -f core conftest.err conftest.$ac_objext \
                   13462:     conftest$ac_exeext conftest.$ac_ext
                   13463: LIBS="$ac_func_search_save_LIBS"
                   13464: 
                   13465: fi
                   13466: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_rad_create_request" >&5
                   13467: $as_echo "$ac_cv_search_rad_create_request" >&6; }
                   13468: if test "$ac_cv_search_rad_create_request" != "no"; then
                   13469:   test "$ac_cv_search_rad_create_request" = "none required" || LIBS="$ac_cv_search_rad_create_request $LIBS"
                   13470: 
                   13471: else :
                   13472: 
                   13473: fi
                   13474:        else
                   13475:                if test -d "$libradius_dir/lib" -a \
                   13476:                    -d "$libradius_dir/include" ; then
                   13477: 
                   13478: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for radius containing rad_create_request" >&5
                   13479: $as_echo_n "checking for radius containing rad_create_request... " >&6; }
1.1.1.2 ! misho    13480: if ${ac_cv_search_rad_create_request+:} false; then :
1.1       misho    13481:   $as_echo_n "(cached) " >&6
                   13482: else
                   13483:   ac_func_search_save_LIBS="$LIBS"
                   13484: ac_cv_search_rad_create_request="no"
                   13485: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13486: /* end confdefs.h.  */
                   13487: 
                   13488: /* Override any GCC internal prototype to avoid an error.
                   13489:    Use char because int might match the return type of a GCC
                   13490:    builtin and then its argument prototype would still apply.  */
                   13491: #ifdef __cplusplus
                   13492: extern "C"
                   13493: #endif
                   13494: char rad_create_request ();
                   13495: int
                   13496: main ()
                   13497: {
                   13498: return rad_create_request ();
                   13499:   ;
                   13500:   return 0;
                   13501: }
                   13502: _ACEOF
                   13503: if ac_fn_c_try_link "$LINENO"; then :
                   13504:   ac_cv_search_rad_create_request="none required"
                   13505: else
                   13506:   LIBS="-lradius $LIBS"
                   13507:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13508: /* end confdefs.h.  */
                   13509: 
                   13510: /* Override any GCC internal prototype to avoid an error.
                   13511:    Use char because int might match the return type of a GCC
                   13512:    builtin and then its argument prototype would still apply.  */
                   13513: #ifdef __cplusplus
                   13514: extern "C"
                   13515: #endif
                   13516: char rad_create_request ();
                   13517: int
                   13518: main ()
                   13519: {
                   13520: return rad_create_request ();
                   13521:   ;
                   13522:   return 0;
                   13523: }
                   13524: _ACEOF
                   13525: if ac_fn_c_try_link "$LINENO"; then :
                   13526:   ac_cv_search_rad_create_request="-lradius"
                   13527: fi
                   13528: rm -f core conftest.err conftest.$ac_objext \
                   13529:     conftest$ac_exeext conftest.$ac_ext
                   13530: fi
                   13531: rm -f core conftest.err conftest.$ac_objext \
                   13532:     conftest$ac_exeext conftest.$ac_ext
                   13533: LIBS="$ac_func_search_save_LIBS"
                   13534:  test "$ac_cv_search_rad_create_request" = "no" && for i in "$libradius_dir/lib"; do
                   13535:   LIBS="-L$i -lradius $ac_func_search_save_LIBS"
                   13536:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13537: /* end confdefs.h.  */
                   13538: 
                   13539: /* Override any GCC internal prototype to avoid an error.
                   13540:    Use char because int might match the return type of a GCC
                   13541:    builtin and then its argument prototype would still apply.  */
                   13542: #ifdef __cplusplus
                   13543: extern "C"
                   13544: #endif
                   13545: char rad_create_request ();
                   13546: int
                   13547: main ()
                   13548: {
                   13549: return rad_create_request ();
                   13550:   ;
                   13551:   return 0;
                   13552: }
                   13553: _ACEOF
                   13554: if ac_fn_c_try_link "$LINENO"; then :
                   13555:   ac_cv_search_rad_create_request="-L$i -lradius"
                   13556:   break
                   13557: fi
                   13558: rm -f core conftest.err conftest.$ac_objext \
                   13559:     conftest$ac_exeext conftest.$ac_ext
                   13560:   done
                   13561: LIBS="$ac_func_search_save_LIBS"
                   13562: fi
                   13563: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_rad_create_request" >&5
                   13564: $as_echo "$ac_cv_search_rad_create_request" >&6; }
                   13565: if test "$ac_cv_search_rad_create_request" != "no"; then
                   13566:   test "$ac_cv_search_rad_create_request" = "none required" || LIBS="$ac_cv_search_rad_create_request $LIBS"
                   13567: 
                   13568: else :
                   13569: 
                   13570: fi
                   13571:                        CPPFLAGS_ADD="$CPPFLAGS_ADD -I$libradius_dir/include"
                   13572:                else
                   13573:                        as_fn_error $? "RADIUS libs or includes not found. Aborting." "$LINENO" 5
                   13574:                fi
                   13575:        fi
                   13576: 
                   13577: $as_echo "#define HAVE_LIBRADIUS /**/" >>confdefs.h
                   13578: 
                   13579:        LIBS="$LIBS -L$libradius_dir/lib -R$libradius_dir/lib -lradius"
                   13580:        for ac_func in rad_create_request
                   13581: do :
                   13582:   ac_fn_c_check_func "$LINENO" "rad_create_request" "ac_cv_func_rad_create_request"
1.1.1.2 ! misho    13583: if test "x$ac_cv_func_rad_create_request" = xyes; then :
1.1       misho    13584:   cat >>confdefs.h <<_ACEOF
                   13585: #define HAVE_RAD_CREATE_REQUEST 1
                   13586: _ACEOF
                   13587: 
                   13588: fi
                   13589: done
                   13590: 
                   13591: fi
                   13592: 
                   13593: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if --with-libpam option is specified" >&5
                   13594: $as_echo_n "checking if --with-libpam option is specified... " >&6; }
                   13595: 
                   13596: # Check whether --with-libpam was given.
                   13597: if test "${with_libpam+set}" = set; then :
                   13598:   withval=$with_libpam; libpam_dir=$withval
                   13599: else
                   13600:   libpam_dir=no
                   13601: fi
                   13602: 
                   13603: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libpam_dir" >&5
                   13604: $as_echo "$libpam_dir" >&6; }
                   13605: if test "$libpam_dir" != "no"; then
                   13606:        if test "$libpam_dir" = "yes" ; then
                   13607:                  libpam_dir="";
                   13608:        fi;
                   13609:        if test "x$libpam_dir" = "x"; then
                   13610: 
                   13611: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam containing pam_start" >&5
                   13612: $as_echo_n "checking for pam containing pam_start... " >&6; }
1.1.1.2 ! misho    13613: if ${ac_cv_search_pam_start+:} false; then :
1.1       misho    13614:   $as_echo_n "(cached) " >&6
                   13615: else
                   13616:   ac_func_search_save_LIBS="$LIBS"
                   13617: ac_cv_search_pam_start="no"
                   13618: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13619: /* end confdefs.h.  */
                   13620: 
                   13621: /* Override any GCC internal prototype to avoid an error.
                   13622:    Use char because int might match the return type of a GCC
                   13623:    builtin and then its argument prototype would still apply.  */
                   13624: #ifdef __cplusplus
                   13625: extern "C"
                   13626: #endif
                   13627: char pam_start ();
                   13628: int
                   13629: main ()
                   13630: {
                   13631: return pam_start ();
                   13632:   ;
                   13633:   return 0;
                   13634: }
                   13635: _ACEOF
                   13636: if ac_fn_c_try_link "$LINENO"; then :
                   13637:   ac_cv_search_pam_start="none required"
                   13638: else
                   13639:   LIBS="-lpam $LIBS"
                   13640:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13641: /* end confdefs.h.  */
                   13642: 
                   13643: /* Override any GCC internal prototype to avoid an error.
                   13644:    Use char because int might match the return type of a GCC
                   13645:    builtin and then its argument prototype would still apply.  */
                   13646: #ifdef __cplusplus
                   13647: extern "C"
                   13648: #endif
                   13649: char pam_start ();
                   13650: int
                   13651: main ()
                   13652: {
                   13653: return pam_start ();
                   13654:   ;
                   13655:   return 0;
                   13656: }
                   13657: _ACEOF
                   13658: if ac_fn_c_try_link "$LINENO"; then :
                   13659:   ac_cv_search_pam_start="-lpam"
                   13660: fi
                   13661: rm -f core conftest.err conftest.$ac_objext \
                   13662:     conftest$ac_exeext conftest.$ac_ext
                   13663: fi
                   13664: rm -f core conftest.err conftest.$ac_objext \
                   13665:     conftest$ac_exeext conftest.$ac_ext
                   13666: LIBS="$ac_func_search_save_LIBS"
                   13667: 
                   13668: fi
                   13669: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pam_start" >&5
                   13670: $as_echo "$ac_cv_search_pam_start" >&6; }
                   13671: if test "$ac_cv_search_pam_start" != "no"; then
                   13672:   test "$ac_cv_search_pam_start" = "none required" || LIBS="$ac_cv_search_pam_start $LIBS"
                   13673: 
                   13674: else :
                   13675: 
                   13676: fi
                   13677:        else
                   13678:                if test -d "$libpam_dir/lib" -a \
                   13679:                    -d "$libpam_dir/include" ; then
                   13680: 
                   13681: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam containing pam_start" >&5
                   13682: $as_echo_n "checking for pam containing pam_start... " >&6; }
1.1.1.2 ! misho    13683: if ${ac_cv_search_pam_start+:} false; then :
1.1       misho    13684:   $as_echo_n "(cached) " >&6
                   13685: else
                   13686:   ac_func_search_save_LIBS="$LIBS"
                   13687: ac_cv_search_pam_start="no"
                   13688: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13689: /* end confdefs.h.  */
                   13690: 
                   13691: /* Override any GCC internal prototype to avoid an error.
                   13692:    Use char because int might match the return type of a GCC
                   13693:    builtin and then its argument prototype would still apply.  */
                   13694: #ifdef __cplusplus
                   13695: extern "C"
                   13696: #endif
                   13697: char pam_start ();
                   13698: int
                   13699: main ()
                   13700: {
                   13701: return pam_start ();
                   13702:   ;
                   13703:   return 0;
                   13704: }
                   13705: _ACEOF
                   13706: if ac_fn_c_try_link "$LINENO"; then :
                   13707:   ac_cv_search_pam_start="none required"
                   13708: else
                   13709:   LIBS="-lpam $LIBS"
                   13710:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13711: /* end confdefs.h.  */
                   13712: 
                   13713: /* Override any GCC internal prototype to avoid an error.
                   13714:    Use char because int might match the return type of a GCC
                   13715:    builtin and then its argument prototype would still apply.  */
                   13716: #ifdef __cplusplus
                   13717: extern "C"
                   13718: #endif
                   13719: char pam_start ();
                   13720: int
                   13721: main ()
                   13722: {
                   13723: return pam_start ();
                   13724:   ;
                   13725:   return 0;
                   13726: }
                   13727: _ACEOF
                   13728: if ac_fn_c_try_link "$LINENO"; then :
                   13729:   ac_cv_search_pam_start="-lpam"
                   13730: fi
                   13731: rm -f core conftest.err conftest.$ac_objext \
                   13732:     conftest$ac_exeext conftest.$ac_ext
                   13733: fi
                   13734: rm -f core conftest.err conftest.$ac_objext \
                   13735:     conftest$ac_exeext conftest.$ac_ext
                   13736: LIBS="$ac_func_search_save_LIBS"
                   13737:  test "$ac_cv_search_pam_start" = "no" && for i in "$libpam_dir/lib"; do
                   13738:   LIBS="-L$i -lpam $ac_func_search_save_LIBS"
                   13739:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13740: /* end confdefs.h.  */
                   13741: 
                   13742: /* Override any GCC internal prototype to avoid an error.
                   13743:    Use char because int might match the return type of a GCC
                   13744:    builtin and then its argument prototype would still apply.  */
                   13745: #ifdef __cplusplus
                   13746: extern "C"
                   13747: #endif
                   13748: char pam_start ();
                   13749: int
                   13750: main ()
                   13751: {
                   13752: return pam_start ();
                   13753:   ;
                   13754:   return 0;
                   13755: }
                   13756: _ACEOF
                   13757: if ac_fn_c_try_link "$LINENO"; then :
                   13758:   ac_cv_search_pam_start="-L$i -lpam"
                   13759:   break
                   13760: fi
                   13761: rm -f core conftest.err conftest.$ac_objext \
                   13762:     conftest$ac_exeext conftest.$ac_ext
                   13763:   done
                   13764: LIBS="$ac_func_search_save_LIBS"
                   13765: fi
                   13766: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pam_start" >&5
                   13767: $as_echo "$ac_cv_search_pam_start" >&6; }
                   13768: if test "$ac_cv_search_pam_start" != "no"; then
                   13769:   test "$ac_cv_search_pam_start" = "none required" || LIBS="$ac_cv_search_pam_start $LIBS"
                   13770: 
                   13771: else :
                   13772: 
                   13773: fi
                   13774:                        CPPFLAGS_ADD="$CPPFLAGS_ADD -I$libpam_dir/include"
                   13775:                else
                   13776:                        as_fn_error $? "PAM libs or includes not found. Aborting." "$LINENO" 5
                   13777:                fi
                   13778:        fi
                   13779: 
                   13780: $as_echo "#define HAVE_LIBPAM /**/" >>confdefs.h
                   13781: 
                   13782:        LIBS="$LIBS -L$libpam_dir/lib -R$libpam_dir/lib -lpam"
                   13783:        for ac_func in pam_start
                   13784: do :
                   13785:   ac_fn_c_check_func "$LINENO" "pam_start" "ac_cv_func_pam_start"
1.1.1.2 ! misho    13786: if test "x$ac_cv_func_pam_start" = xyes; then :
1.1       misho    13787:   cat >>confdefs.h <<_ACEOF
                   13788: #define HAVE_PAM_START 1
                   13789: _ACEOF
                   13790: 
                   13791: fi
                   13792: done
                   13793: 
                   13794: fi
                   13795: 
                   13796: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if --with-libldap option is specified" >&5
                   13797: $as_echo_n "checking if --with-libldap option is specified... " >&6; }
                   13798: 
                   13799: # Check whether --with-libldap was given.
                   13800: if test "${with_libldap+set}" = set; then :
                   13801:   withval=$with_libldap; libldap_dir=$withval
                   13802: else
                   13803:   libldap_dir=no
                   13804: fi
                   13805: 
                   13806: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libldap_dir" >&5
                   13807: $as_echo "$libldap_dir" >&6; }
                   13808: if test "$libldap_dir" != "no"; then
                   13809:        if test "$libldap_dir" = "yes" ; then
                   13810:                  libldap_dir="";
                   13811:        fi;
                   13812:        if test "x$libldap_dir" = "x"; then
                   13813: 
                   13814: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap containing ldap_init" >&5
                   13815: $as_echo_n "checking for ldap containing ldap_init... " >&6; }
1.1.1.2 ! misho    13816: if ${ac_cv_search_ldap_init+:} false; then :
1.1       misho    13817:   $as_echo_n "(cached) " >&6
                   13818: else
                   13819:   ac_func_search_save_LIBS="$LIBS"
                   13820: ac_cv_search_ldap_init="no"
                   13821: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13822: /* end confdefs.h.  */
                   13823: 
                   13824: /* Override any GCC internal prototype to avoid an error.
                   13825:    Use char because int might match the return type of a GCC
                   13826:    builtin and then its argument prototype would still apply.  */
                   13827: #ifdef __cplusplus
                   13828: extern "C"
                   13829: #endif
                   13830: char ldap_init ();
                   13831: int
                   13832: main ()
                   13833: {
                   13834: return ldap_init ();
                   13835:   ;
                   13836:   return 0;
                   13837: }
                   13838: _ACEOF
                   13839: if ac_fn_c_try_link "$LINENO"; then :
                   13840:   ac_cv_search_ldap_init="none required"
                   13841: else
                   13842:   LIBS="-lldap $LIBS"
                   13843:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13844: /* end confdefs.h.  */
                   13845: 
                   13846: /* Override any GCC internal prototype to avoid an error.
                   13847:    Use char because int might match the return type of a GCC
                   13848:    builtin and then its argument prototype would still apply.  */
                   13849: #ifdef __cplusplus
                   13850: extern "C"
                   13851: #endif
                   13852: char ldap_init ();
                   13853: int
                   13854: main ()
                   13855: {
                   13856: return ldap_init ();
                   13857:   ;
                   13858:   return 0;
                   13859: }
                   13860: _ACEOF
                   13861: if ac_fn_c_try_link "$LINENO"; then :
                   13862:   ac_cv_search_ldap_init="-lldap"
                   13863: fi
                   13864: rm -f core conftest.err conftest.$ac_objext \
                   13865:     conftest$ac_exeext conftest.$ac_ext
                   13866: fi
                   13867: rm -f core conftest.err conftest.$ac_objext \
                   13868:     conftest$ac_exeext conftest.$ac_ext
                   13869: LIBS="$ac_func_search_save_LIBS"
                   13870: 
                   13871: fi
                   13872: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_init" >&5
                   13873: $as_echo "$ac_cv_search_ldap_init" >&6; }
                   13874: if test "$ac_cv_search_ldap_init" != "no"; then
                   13875:   test "$ac_cv_search_ldap_init" = "none required" || LIBS="$ac_cv_search_ldap_init $LIBS"
                   13876: 
                   13877: else :
                   13878: 
                   13879: fi
                   13880:        else
                   13881:                if test -d "$libldap_dir/lib" -a \
                   13882:                    -d "$libldap_dir/include" ; then
                   13883: 
                   13884: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap containing ldap_init" >&5
                   13885: $as_echo_n "checking for ldap containing ldap_init... " >&6; }
1.1.1.2 ! misho    13886: if ${ac_cv_search_ldap_init+:} false; then :
1.1       misho    13887:   $as_echo_n "(cached) " >&6
                   13888: else
                   13889:   ac_func_search_save_LIBS="$LIBS"
                   13890: ac_cv_search_ldap_init="no"
                   13891: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13892: /* end confdefs.h.  */
                   13893: 
                   13894: /* Override any GCC internal prototype to avoid an error.
                   13895:    Use char because int might match the return type of a GCC
                   13896:    builtin and then its argument prototype would still apply.  */
                   13897: #ifdef __cplusplus
                   13898: extern "C"
                   13899: #endif
                   13900: char ldap_init ();
                   13901: int
                   13902: main ()
                   13903: {
                   13904: return ldap_init ();
                   13905:   ;
                   13906:   return 0;
                   13907: }
                   13908: _ACEOF
                   13909: if ac_fn_c_try_link "$LINENO"; then :
                   13910:   ac_cv_search_ldap_init="none required"
                   13911: else
                   13912:   LIBS="-lldap $LIBS"
                   13913:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13914: /* end confdefs.h.  */
                   13915: 
                   13916: /* Override any GCC internal prototype to avoid an error.
                   13917:    Use char because int might match the return type of a GCC
                   13918:    builtin and then its argument prototype would still apply.  */
                   13919: #ifdef __cplusplus
                   13920: extern "C"
                   13921: #endif
                   13922: char ldap_init ();
                   13923: int
                   13924: main ()
                   13925: {
                   13926: return ldap_init ();
                   13927:   ;
                   13928:   return 0;
                   13929: }
                   13930: _ACEOF
                   13931: if ac_fn_c_try_link "$LINENO"; then :
                   13932:   ac_cv_search_ldap_init="-lldap"
                   13933: fi
                   13934: rm -f core conftest.err conftest.$ac_objext \
                   13935:     conftest$ac_exeext conftest.$ac_ext
                   13936: fi
                   13937: rm -f core conftest.err conftest.$ac_objext \
                   13938:     conftest$ac_exeext conftest.$ac_ext
                   13939: LIBS="$ac_func_search_save_LIBS"
                   13940:  test "$ac_cv_search_ldap_init" = "no" && for i in "$libldap_dir/lib"; do
                   13941:   LIBS="-L$i -lldap $ac_func_search_save_LIBS"
                   13942:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13943: /* end confdefs.h.  */
                   13944: 
                   13945: /* Override any GCC internal prototype to avoid an error.
                   13946:    Use char because int might match the return type of a GCC
                   13947:    builtin and then its argument prototype would still apply.  */
                   13948: #ifdef __cplusplus
                   13949: extern "C"
                   13950: #endif
                   13951: char ldap_init ();
                   13952: int
                   13953: main ()
                   13954: {
                   13955: return ldap_init ();
                   13956:   ;
                   13957:   return 0;
                   13958: }
                   13959: _ACEOF
                   13960: if ac_fn_c_try_link "$LINENO"; then :
                   13961:   ac_cv_search_ldap_init="-L$i -lldap"
                   13962:   break
                   13963: fi
                   13964: rm -f core conftest.err conftest.$ac_objext \
                   13965:     conftest$ac_exeext conftest.$ac_ext
                   13966:   done
                   13967: LIBS="$ac_func_search_save_LIBS"
                   13968: fi
                   13969: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_ldap_init" >&5
                   13970: $as_echo "$ac_cv_search_ldap_init" >&6; }
                   13971: if test "$ac_cv_search_ldap_init" != "no"; then
                   13972:   test "$ac_cv_search_ldap_init" = "none required" || LIBS="$ac_cv_search_ldap_init $LIBS"
                   13973: 
                   13974: else :
                   13975: 
                   13976: fi
                   13977:                        CPPFLAGS_ADD="$CPPFLAGS_ADD -I$libldap_dir/include"
                   13978:                else
                   13979:                        as_fn_error $? "LDAP libs or includes not found. Aborting." "$LINENO" 5
                   13980:                fi
                   13981:        fi
                   13982: 
                   13983: $as_echo "#define HAVE_LIBLDAP /**/" >>confdefs.h
                   13984: 
                   13985:        LIBS="$LIBS -L$libldap_dir/lib -R$libldap_dir/lib -lldap"
                   13986: 
                   13987:        saved_CFLAGS=$CFLAGS
                   13988:        CFLAGS="$CFLAGS -Wall -Werror"
                   13989:        saved_CPPFLAGS=$CPPFLAGS
                   13990:         CPPFLAGS="$CPPFLAGS $CPPFLAGS_ADD"
                   13991:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   13992: /* end confdefs.h.  */
                   13993: #include <ldap.h>
                   13994: int
                   13995: main ()
                   13996: {
                   13997: 
                   13998:                        #if LDAP_API_VERSION < 2004
                   13999:                        #error OpenLDAP version is too old ...
                   14000:                        #endif
                   14001: 
                   14002:   ;
                   14003:   return 0;
                   14004: }
                   14005: _ACEOF
                   14006: if ac_fn_c_try_compile "$LINENO"; then :
                   14007:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
                   14008: $as_echo "ok" >&6; }
                   14009: else
                   14010: 
                   14011:                        { $as_echo "$as_me:${as_lineno-$LINENO}: result: too old" >&5
                   14012: $as_echo "too old" >&6; }
                   14013:                        as_fn_error $? "OpenLDAP version must be 2.0 or higher. Aborting." "$LINENO" 5
                   14014: 
                   14015: fi
                   14016: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   14017:        CFLAGS=$saved_CFLAGS
                   14018:        CPPFLAGS=$saved_CPPFLAGS
                   14019: fi
                   14020: 
                   14021: # Check for Kerberos5 support
                   14022: # XXX This must come after all --with-* tests, else the
                   14023: # -liconv checks will not work
                   14024: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if --enable-gssapi option is specified" >&5
                   14025: $as_echo_n "checking if --enable-gssapi option is specified... " >&6; }
                   14026: # Check whether --enable-gssapi was given.
                   14027: if test "${enable_gssapi+set}" = set; then :
                   14028:   enableval=$enable_gssapi;
                   14029: else
                   14030:   enable_gssapi=no
                   14031: fi
                   14032: 
                   14033: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gssapi" >&5
                   14034: $as_echo "$enable_gssapi" >&6; }
                   14035: # Extract the first word of "krb5-config", so it can be a program name with args.
                   14036: set dummy krb5-config; ac_word=$2
                   14037: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   14038: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    14039: if ${ac_cv_path_KRB5_CONFIG+:} false; then :
1.1       misho    14040:   $as_echo_n "(cached) " >&6
                   14041: else
                   14042:   case $KRB5_CONFIG in
                   14043:   [\\/]* | ?:[\\/]*)
                   14044:   ac_cv_path_KRB5_CONFIG="$KRB5_CONFIG" # Let the user override the test with a path.
                   14045:   ;;
                   14046:   *)
                   14047:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   14048: for as_dir in $PATH
                   14049: do
                   14050:   IFS=$as_save_IFS
                   14051:   test -z "$as_dir" && as_dir=.
                   14052:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1.1.2 ! misho    14053:   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1.1       misho    14054:     ac_cv_path_KRB5_CONFIG="$as_dir/$ac_word$ac_exec_ext"
                   14055:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   14056:     break 2
                   14057:   fi
                   14058: done
                   14059:   done
                   14060: IFS=$as_save_IFS
                   14061: 
                   14062:   test -z "$ac_cv_path_KRB5_CONFIG" && ac_cv_path_KRB5_CONFIG="no"
                   14063:   ;;
                   14064: esac
                   14065: fi
                   14066: KRB5_CONFIG=$ac_cv_path_KRB5_CONFIG
                   14067: if test -n "$KRB5_CONFIG"; then
                   14068:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KRB5_CONFIG" >&5
                   14069: $as_echo "$KRB5_CONFIG" >&6; }
                   14070: else
                   14071:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   14072: $as_echo "no" >&6; }
                   14073: fi
                   14074: 
                   14075: 
                   14076: if test "x$enable_gssapi" = "xyes"; then
                   14077:        if test "$KRB5_CONFIG" != "no"; then
                   14078:                krb5_incdir="`$KRB5_CONFIG --cflags gssapi`"
                   14079:                krb5_libs="`$KRB5_CONFIG --libs gssapi`"
                   14080:        else
                   14081:                # No krb5-config; let's make some assumptions based on
                   14082:                # the OS.
                   14083:                case $host_os in
                   14084:                netbsd*)
                   14085:                        krb5_incdir="-I/usr/include/krb5"
                   14086:                        krb5_libs="-lgssapi -lkrb5 -lcom_err -lroken -lasn1"
                   14087:                        ;;
                   14088:                *)
                   14089:                        as_fn_error $? "krb5-config not found, but needed for GSSAPI support. Aborting." "$LINENO" 5
                   14090:                        ;;
                   14091:                esac
                   14092:        fi
                   14093:        LIBS="$LIBS $krb5_libs"
                   14094:        CPPFLAGS_ADD="$krb5_incdir $CPPFLAGS_ADD"
                   14095: 
                   14096: $as_echo "#define HAVE_GSSAPI /**/" >>confdefs.h
                   14097: 
                   14098: 
                   14099:        # Check if iconv 2nd argument needs const
                   14100:        saved_CFLAGS=$CFLAGS
                   14101:        CFLAGS="$CFLAGS -Wall -Werror"
                   14102:        saved_CPPFLAGS=$CPPFLAGS
                   14103:         CPPFLAGS="$CPPFLAGS $CPPFLAGS_ADD"
                   14104:        ac_fn_c_check_header_mongrel "$LINENO" "iconv.h" "ac_cv_header_iconv_h" "$ac_includes_default"
1.1.1.2 ! misho    14105: if test "x$ac_cv_header_iconv_h" = xyes; then :
1.1       misho    14106: 
                   14107: else
                   14108:   as_fn_error $? "iconv.h not found, but needed for GSSAPI support. Aborting." "$LINENO" 5
                   14109: fi
                   14110: 
                   14111: 
                   14112:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iconv second argument needs const" >&5
                   14113: $as_echo_n "checking if iconv second argument needs const... " >&6; }
                   14114:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14115: /* end confdefs.h.  */
                   14116: 
                   14117:                #include <iconv.h>
                   14118:                #include <stdio.h>
                   14119: 
                   14120: int
                   14121: main ()
                   14122: {
                   14123: 
                   14124:                iconv_t cd = NULL;
                   14125:                const char **src = NULL;
                   14126:                size_t *srcleft = NULL;
                   14127:                char **dst = NULL;
                   14128:                size_t *dstleft = NULL;
                   14129: 
                   14130:                (void)iconv(cd, src, srcleft, dst, dstleft);
                   14131: 
                   14132:   ;
                   14133:   return 0;
                   14134: }
                   14135: _ACEOF
                   14136: if ac_fn_c_try_compile "$LINENO"; then :
                   14137:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   14138: $as_echo "yes" >&6; }
                   14139: 
                   14140: $as_echo "#define HAVE_ICONV_2ND_CONST /**/" >>confdefs.h
                   14141: 
                   14142: 
                   14143: else
                   14144:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   14145: $as_echo "no" >&6; }
                   14146: fi
                   14147: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   14148:        CFLAGS=$saved_CFLAGS
                   14149:        CPPFLAGS=$saved_CPPFLAGS
                   14150: 
                   14151:        # libiconv is often integrated into libc. If a with-* option
                   14152:        # caused a non libc-based iconv.h to be catched instead of
                   14153:        # the libc-based iconv.h, then we need to link with -liconv
                   14154:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is required" >&5
                   14155: $as_echo_n "checking if -liconv is required... " >&6; }
                   14156:        saved_CPPFLAGS=$CPPFLAGS
                   14157:        saved_LIBS=$LIBS
                   14158:        CPPFLAGS="$CPPFLAGS $CPPFLAGS_ADD"
                   14159:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14160: /* end confdefs.h.  */
                   14161: 
                   14162:                #include <iconv.h>
                   14163: 
                   14164: int
                   14165: main ()
                   14166: {
                   14167: 
                   14168:                (void)iconv_open("ascii", "ascii");
                   14169: 
                   14170:   ;
                   14171:   return 0;
                   14172: }
                   14173: _ACEOF
                   14174: if ac_fn_c_try_link "$LINENO"; then :
                   14175:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   14176: $as_echo "no" >&6; }
                   14177: else
                   14178: 
                   14179:                        LIBS="$LIBS -liconv"
                   14180:                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14181: /* end confdefs.h.  */
                   14182: 
                   14183:                                #include <iconv.h>
                   14184: 
                   14185: int
                   14186: main ()
                   14187: {
                   14188: 
                   14189:                                (void)iconv_open("ascii", "ascii");
                   14190: 
                   14191:   ;
                   14192:   return 0;
                   14193: }
                   14194: _ACEOF
                   14195: if ac_fn_c_try_link "$LINENO"; then :
                   14196: 
                   14197:                                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   14198: $as_echo "yes" >&6; }
                   14199:                                saved_LIBS=$LIBS
                   14200: 
                   14201: else
                   14202: 
                   14203:                                as_fn_error $? "cannot use iconv" "$LINENO" 5
                   14204: 
                   14205: fi
                   14206: rm -f core conftest.err conftest.$ac_objext \
                   14207:     conftest$ac_exeext conftest.$ac_ext
                   14208: 
                   14209: fi
                   14210: rm -f core conftest.err conftest.$ac_objext \
                   14211:     conftest$ac_exeext conftest.$ac_ext
                   14212:        CPPFLAGS=$saved_CPPFLAGS
                   14213:        LIBS=$saved_LIBS
                   14214: fi
                   14215: 
                   14216: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if --enable-stats option is specified" >&5
                   14217: $as_echo_n "checking if --enable-stats option is specified... " >&6; }
                   14218: # Check whether --enable-stats was given.
                   14219: if test "${enable_stats+set}" = set; then :
                   14220:   enableval=$enable_stats;
                   14221: else
                   14222:   enable_stats=no
                   14223: fi
                   14224: 
                   14225: if test "x$enable_stats" = "xyes"; then
                   14226: 
                   14227: $as_echo "#define ENABLE_STATS /**/" >>confdefs.h
                   14228: 
                   14229: fi
                   14230: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_stats" >&5
                   14231: $as_echo "$enable_stats" >&6; }
                   14232: 
                   14233: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if --enable-dpd option is specified" >&5
                   14234: $as_echo_n "checking if --enable-dpd option is specified... " >&6; }
                   14235: # Check whether --enable-dpd was given.
                   14236: if test "${enable_dpd+set}" = set; then :
                   14237:   enableval=$enable_dpd;
                   14238: else
                   14239:   enable_dpd=no
                   14240: fi
                   14241: 
                   14242: if test "x$enable_dpd" = "xyes"; then
                   14243: 
                   14244: $as_echo "#define ENABLE_DPD /**/" >>confdefs.h
                   14245: 
                   14246: fi
                   14247: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dpd" >&5
                   14248: $as_echo "$enable_dpd" >&6; }
                   14249: 
                   14250: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if --enable-samode-unspec option is specified" >&5
                   14251: $as_echo_n "checking if --enable-samode-unspec option is specified... " >&6; }
                   14252: # Check whether --enable-samode-unspec was given.
                   14253: if test "${enable_samode_unspec+set}" = set; then :
                   14254:   enableval=$enable_samode_unspec;
                   14255: else
                   14256:   enable_samode_unspec=no
                   14257: fi
                   14258: 
                   14259: if test "x$enable_samode_unspec" = "xyes"; then
                   14260:        case $host_os in
                   14261:        *linux*)
                   14262:                cat << EOC
                   14263: 
                   14264: ERROR: --enable-samode-unspec is not supported under linux
                   14265: because linux kernel do not support it. This option is disabled
                   14266: to prevent mysterious problems.
                   14267: 
                   14268: If you REALLY know what your are doing, remove this check.
                   14269: EOC
                   14270:                exit 1;
                   14271:                ;;
                   14272:        esac
                   14273: 
                   14274: $as_echo "#define ENABLE_SAMODE_UNSPECIFIED /**/" >>confdefs.h
                   14275: 
                   14276: fi
                   14277: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_samode_unspec" >&5
                   14278: $as_echo "$enable_samode_unspec" >&6; }
                   14279: 
                   14280: # Checks if IPv6 is requested
                   14281: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ipv6" >&5
                   14282: $as_echo_n "checking whether to enable ipv6... " >&6; }
                   14283: # Check whether --enable-ipv6 was given.
                   14284: if test "${enable_ipv6+set}" = set; then :
                   14285:   enableval=$enable_ipv6;  case "$enableval" in
                   14286:   no)
                   14287:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   14288: $as_echo "no" >&6; }
                   14289:        ipv6=no
                   14290:        ;;
                   14291:   *)   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   14292: $as_echo "yes" >&6; }
                   14293:        ipv6=yes
                   14294:        ;;
                   14295:   esac
                   14296: else
                   14297:   if test "$cross_compiling" = yes; then :
                   14298:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   14299: $as_echo "no" >&6; }
                   14300:   ipv6=no
                   14301: 
                   14302: else
                   14303:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14304: /* end confdefs.h.  */
                   14305:  /* AF_INET6 avalable check */
                   14306: #include <sys/types.h>
                   14307: #include <sys/socket.h>
                   14308: main()
                   14309: {
                   14310:   exit(0);
                   14311:  if (socket(AF_INET6, SOCK_STREAM, 0) < 0)
                   14312:    exit(1);
                   14313:  else
                   14314:    exit(0);
                   14315: }
                   14316: 
                   14317: _ACEOF
                   14318: if ac_fn_c_try_run "$LINENO"; then :
                   14319:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   14320: $as_echo "yes" >&6; }
                   14321: 
                   14322: $as_echo "#define INET6 /**/" >>confdefs.h
                   14323: 
                   14324:   ipv6=yes
                   14325: else
                   14326:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   14327: $as_echo "no" >&6; }
                   14328:   ipv6=no
                   14329: fi
                   14330: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   14331:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   14332: fi
                   14333: 
                   14334: fi
                   14335: 
                   14336: 
                   14337: if test "$ipv6" = "yes"; then
                   14338: 
                   14339: $as_echo "#define INET6 /**/" >>confdefs.h
                   14340: 
                   14341:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for advanced API support" >&5
                   14342: $as_echo_n "checking for advanced API support... " >&6; }
                   14343:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14344: /* end confdefs.h.  */
                   14345: #ifndef INET6
                   14346: #define INET6
                   14347: #endif
                   14348: #include <sys/types.h>
                   14349: #include <netinet/in.h>
                   14350: int
                   14351: main ()
                   14352: {
                   14353: struct in6_pktinfo a;
                   14354:   ;
                   14355:   return 0;
                   14356: }
                   14357: _ACEOF
                   14358: if ac_fn_c_try_compile "$LINENO"; then :
                   14359:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   14360: $as_echo "yes" >&6; }
                   14361: 
                   14362: $as_echo "#define INET6_ADVAPI /**/" >>confdefs.h
                   14363: 
                   14364: else
                   14365:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   14366: $as_echo "no" >&6; }
                   14367: fi
                   14368: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   14369: fi
                   14370: 
                   14371: 
                   14372:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking getaddrinfo bug" >&5
                   14373: $as_echo_n "checking getaddrinfo bug... " >&6; }
                   14374:        saved_CFLAGS=$CFLAGS
                   14375:        CFLAGS="-Wall -O2"
                   14376:        if test "$cross_compiling" = yes; then :
                   14377:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: Cross compiling ... Assuming getaddrinfo is not buggy." >&5
                   14378: $as_echo "Cross compiling ... Assuming getaddrinfo is not buggy." >&6; }
                   14379:        buggygetaddrinfo=no
                   14380: else
                   14381:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14382: /* end confdefs.h.  */
                   14383: 
                   14384:        #include <sys/types.h>
                   14385:        #include <sys/socket.h>
                   14386:        #include <netdb.h>
                   14387:        #include <stdlib.h>
                   14388:        #include <string.h>
                   14389:        #include <netinet/in.h>
                   14390: 
                   14391:        int main()
                   14392:        {
                   14393:          int passive, gaierr, inet4 = 0, inet6 = 0;
                   14394:          struct addrinfo hints, *ai, *aitop;
                   14395:          char straddr[INET6_ADDRSTRLEN], strport[16];
                   14396: 
                   14397:          for (passive = 0; passive <= 1; passive++) {
                   14398:            memset(&hints, 0, sizeof(hints));
                   14399:            hints.ai_family = AF_UNSPEC;
                   14400:            hints.ai_flags = passive ? AI_PASSIVE : 0;
                   14401:            hints.ai_protocol = IPPROTO_TCP;
                   14402:            hints.ai_socktype = SOCK_STREAM;
                   14403:            if ((gaierr = getaddrinfo(NULL, "54321", &hints, &aitop)) != 0) {
                   14404:              (void)gai_strerror(gaierr);
                   14405:              goto bad;
                   14406:            }
                   14407:            for (ai = aitop; ai; ai = ai->ai_next) {
                   14408:              if (ai->ai_addr == NULL ||
                   14409:                  ai->ai_addrlen == 0 ||
                   14410:                  getnameinfo(ai->ai_addr, ai->ai_addrlen,
                   14411:                              straddr, sizeof(straddr), strport, sizeof(strport),
                   14412:                              NI_NUMERICHOST|NI_NUMERICSERV) != 0) {
                   14413:                goto bad;
                   14414:              }
                   14415:              switch (ai->ai_family) {
                   14416:              case AF_INET:
                   14417:                if (strcmp(strport, "54321") != 0) {
                   14418:                  goto bad;
                   14419:                }
                   14420:                if (passive) {
                   14421:                  if (strcmp(straddr, "0.0.0.0") != 0) {
                   14422:                    goto bad;
                   14423:                  }
                   14424:                } else {
                   14425:                  if (strcmp(straddr, "127.0.0.1") != 0) {
                   14426:                    goto bad;
                   14427:                  }
                   14428:                }
                   14429:                inet4++;
                   14430:                break;
                   14431:              case AF_INET6:
                   14432:                if (strcmp(strport, "54321") != 0) {
                   14433:                  goto bad;
                   14434:                }
                   14435:                if (passive) {
                   14436:                  if (strcmp(straddr, "::") != 0) {
                   14437:                    goto bad;
                   14438:                  }
                   14439:                } else {
                   14440:                  if (strcmp(straddr, "::1") != 0) {
                   14441:                    goto bad;
                   14442:                  }
                   14443:                }
                   14444:                inet6++;
                   14445:                break;
                   14446:              case AF_UNSPEC:
                   14447:                goto bad;
                   14448:                break;
                   14449:              default:
                   14450:                /* another family support? */
                   14451:                break;
                   14452:              }
                   14453:            }
                   14454:          }
                   14455: 
                   14456:          if (!(inet4 == 0 || inet4 == 2))
                   14457:            goto bad;
                   14458:          if (!(inet6 == 0 || inet6 == 2))
                   14459:            goto bad;
                   14460: 
                   14461:          if (aitop)
                   14462:            freeaddrinfo(aitop);
                   14463:          exit(0);
                   14464: 
                   14465:         bad:
                   14466:          if (aitop)
                   14467:            freeaddrinfo(aitop);
                   14468:          exit(1);
                   14469:        }
                   14470: 
                   14471: _ACEOF
                   14472: if ac_fn_c_try_run "$LINENO"; then :
                   14473:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: good" >&5
                   14474: $as_echo "good" >&6; }
                   14475:        buggygetaddrinfo=no
                   14476: else
                   14477:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: buggy" >&5
                   14478: $as_echo "buggy" >&6; }
                   14479:        buggygetaddrinfo=yes
                   14480: fi
                   14481: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   14482:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   14483: fi
                   14484: 
                   14485:        CFLAGS=$saved_CFLAGS
                   14486:        unset saved_CFLAGS
                   14487: 
                   14488: if test "$buggygetaddrinfo" = "yes"; then
                   14489:        as_fn_error $? "Broken getaddrinfo() is no longer supported. Aborting." "$LINENO" 5
                   14490: fi
                   14491: 
                   14492: # Check if kernel support is available for NAT-T, defaults to no.
                   14493: kernel_natt="no"
                   14494: 
                   14495: { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel NAT-Traversal support" >&5
                   14496: $as_echo_n "checking kernel NAT-Traversal support... " >&6; }
                   14497: case $host_os in
                   14498: linux*)
                   14499: # Linux kernel NAT-T check
                   14500: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14501: /* end confdefs.h.  */
                   14502: #include <linux/pfkeyv2.h>
                   14503: #ifdef SADB_X_EXT_NAT_T_TYPE
                   14504: yes
                   14505: #endif
                   14506: 
                   14507: _ACEOF
                   14508: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   14509:   $EGREP "yes" >/dev/null 2>&1; then :
                   14510:   kernel_natt="yes"
                   14511: fi
                   14512: rm -f conftest*
                   14513: 
                   14514:        ;;
                   14515: freebsd*|netbsd*)
                   14516: # NetBSD case
                   14517: # Same check for FreeBSD
                   14518: 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" "
                   14519: #define _KERNEL
                   14520: #include <sys/types.h>
                   14521: #include <net/pfkeyv2.h>
                   14522: 
                   14523: "
1.1.1.2 ! misho    14524: if test "x$ac_cv_member_struct_sadb_x_nat_t_type_sadb_x_nat_t_type_len" = xyes; then :
1.1       misho    14525:   kernel_natt="yes"
                   14526: fi
                   14527: 
                   14528:        ;;
                   14529: esac
                   14530: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_natt" >&5
                   14531: $as_echo "$kernel_natt" >&6; }
                   14532: 
                   14533: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support NAT-T" >&5
                   14534: $as_echo_n "checking whether to support NAT-T... " >&6; }
                   14535: # Check whether --enable-natt was given.
                   14536: if test "${enable_natt+set}" = set; then :
                   14537:   enableval=$enable_natt;  if test "$enable_natt" = "kernel"; then enable_natt=$kernel_natt; fi
                   14538: else
                   14539:    enable_natt=no
                   14540: fi
                   14541: 
                   14542: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_natt" >&5
                   14543: $as_echo "$enable_natt" >&6; }
                   14544: 
                   14545: if test "$enable_natt" = "yes"; then
                   14546:        if test "$kernel_natt" = "no" ; then
                   14547:                as_fn_error $? "NAT-T requested, but no kernel support! Aborting." "$LINENO" 5
                   14548:        else
                   14549: 
                   14550: $as_echo "#define ENABLE_NATT /**/" >>confdefs.h
                   14551: 
                   14552:                NATT_OBJS="nattraversal.o"
                   14553: 
                   14554:        fi
                   14555: fi
                   14556: 
                   14557: # Set up defines for supported NAT-T versions.
                   14558: natt_versions_default="00,02,rfc"
                   14559: { $as_echo "$as_me:${as_lineno-$LINENO}: checking which NAT-T versions to support" >&5
                   14560: $as_echo_n "checking which NAT-T versions to support... " >&6; }
                   14561: # Check whether --enable-natt_versions was given.
                   14562: if test "${enable_natt_versions+set}" = set; then :
                   14563:   enableval=$enable_natt_versions;  test "$enable_natt_versions" = "yes" && enable_natt_versions=$natt_versions_default
                   14564: else
                   14565:    enable_natt_versions=$natt_versions_default
                   14566: fi
                   14567: 
                   14568: if test "$enable_natt" = "yes"; then
                   14569:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_natt_versions" >&5
                   14570: $as_echo "$enable_natt_versions" >&6; }
                   14571:        for i in `echo $enable_natt_versions | tr ',cfr' ' CFR'`; do
                   14572:                case $i in
                   14573:                        0|00)
                   14574: $as_echo "#define ENABLE_NATT_00 /**/" >>confdefs.h
                   14575:  ;;
                   14576:                        1|01)
                   14577: $as_echo "#define ENABLE_NATT_01 /**/" >>confdefs.h
                   14578:  ;;
                   14579:                        2|02)
                   14580: $as_echo "#define ENABLE_NATT_02 /**/" >>confdefs.h
                   14581:  ;;
                   14582:                        3|03)
                   14583: $as_echo "#define ENABLE_NATT_03 /**/" >>confdefs.h
                   14584:  ;;
                   14585:                        4|04)
                   14586: $as_echo "#define ENABLE_NATT_04 /**/" >>confdefs.h
                   14587:  ;;
                   14588:                        5|05)
                   14589: $as_echo "#define ENABLE_NATT_05 /**/" >>confdefs.h
                   14590:  ;;
                   14591:                        6|06)
                   14592: $as_echo "#define ENABLE_NATT_06 /**/" >>confdefs.h
                   14593:  ;;
                   14594:                        7|07)
                   14595: $as_echo "#define ENABLE_NATT_07 /**/" >>confdefs.h
                   14596:  ;;
                   14597:                        8|08)
                   14598: $as_echo "#define ENABLE_NATT_08 /**/" >>confdefs.h
                   14599:  ;;
                   14600:                        RFC)
                   14601: $as_echo "#define ENABLE_NATT_RFC /**/" >>confdefs.h
                   14602:  ;;
1.1.1.2 ! misho    14603:                        *) as_fn_error $? "Unknown NAT-T version. Aborting." "$LINENO" 5 ;;
1.1       misho    14604:                esac
                   14605:        done
                   14606:        unset i
                   14607: else
                   14608:        { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
                   14609: $as_echo "none" >&6; }
                   14610: fi
                   14611: 
                   14612: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if --enable-broken-natt option is specified" >&5
                   14613: $as_echo_n "checking if --enable-broken-natt option is specified... " >&6; }
                   14614: # Check whether --enable-broken-natt was given.
                   14615: if test "${enable_broken_natt+set}" = set; then :
                   14616:   enableval=$enable_broken_natt;
                   14617: else
                   14618:   enable_broken_natt=no
                   14619: fi
                   14620: 
                   14621: if test "x$enable_broken_natt" = "xyes"; then
                   14622: 
                   14623: $as_echo "#define BROKEN_NATT /**/" >>confdefs.h
                   14624: 
                   14625: fi
                   14626: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_broken_natt" >&5
                   14627: $as_echo "$enable_broken_natt" >&6; }
                   14628: 
                   14629: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we support FWD policy" >&5
                   14630: $as_echo_n "checking whether we support FWD policy... " >&6; }
                   14631: case $host in
                   14632:        *linux*)
                   14633:                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14634: /* end confdefs.h.  */
                   14635: 
                   14636:                #include <inttypes.h>
                   14637:                #include <linux/ipsec.h>
                   14638: 
                   14639: int
                   14640: main ()
                   14641: {
                   14642: 
                   14643:                        int fwd = IPSEC_DIR_FWD;
                   14644: 
                   14645:   ;
                   14646:   return 0;
                   14647: }
                   14648: _ACEOF
                   14649: if ac_fn_c_try_compile "$LINENO"; then :
                   14650:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   14651: $as_echo "yes" >&6; }
                   14652: 
                   14653: $as_echo "#define HAVE_POLICY_FWD /**/" >>confdefs.h
                   14654: 
                   14655: else
                   14656:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   14657: $as_echo "no" >&6; }
                   14658: fi
                   14659: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   14660:                ;;
                   14661:        *)
                   14662:                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   14663: $as_echo "no" >&6; }
                   14664:                ;;
                   14665: esac
                   14666: 
                   14667: ac_fn_c_check_type "$LINENO" "ipsec_policy_t" "ac_cv_type_ipsec_policy_t" "
                   14668:                #include <sys/types.h>
                   14669:                #include <netinet6/ipsec.h>
                   14670: 
                   14671: "
1.1.1.2 ! misho    14672: if test "x$ac_cv_type_ipsec_policy_t" = xyes; then :
1.1       misho    14673: 
                   14674: $as_echo "#define HAVE_IPSEC_POLICY_T /**/" >>confdefs.h
                   14675: 
                   14676: fi
                   14677: 
                   14678: 
                   14679: # Check if kernel support is available for Security Context, defaults to no.
                   14680: kernel_secctx="no"
                   14681: 
                   14682: { $as_echo "$as_me:${as_lineno-$LINENO}: checking kernel Security Context support" >&5
                   14683: $as_echo_n "checking kernel Security Context support... " >&6; }
                   14684: case $host_os in
                   14685: linux*)
                   14686: # Linux kernel Security Context check
                   14687: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14688: /* end confdefs.h.  */
                   14689: #include <linux/pfkeyv2.h>
                   14690: #ifdef SADB_X_EXT_SEC_CTX
                   14691: yes
                   14692: #endif
                   14693: 
                   14694: _ACEOF
                   14695: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   14696:   $EGREP "yes" >/dev/null 2>&1; then :
                   14697:   kernel_secctx="yes"
                   14698: fi
                   14699: rm -f conftest*
                   14700: 
                   14701:        ;;
                   14702: esac
                   14703: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $kernel_secctx" >&5
                   14704: $as_echo "$kernel_secctx" >&6; }
                   14705: 
                   14706: ac_fn_c_check_header_mongrel "$LINENO" "selinux/selinux.h" "ac_cv_header_selinux_selinux_h" "$ac_includes_default"
1.1.1.2 ! misho    14707: if test "x$ac_cv_header_selinux_selinux_h" = xyes; then :
1.1       misho    14708:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avc_init in -lselinux" >&5
                   14709: $as_echo_n "checking for avc_init in -lselinux... " >&6; }
1.1.1.2 ! misho    14710: if ${ac_cv_lib_selinux_avc_init+:} false; then :
1.1       misho    14711:   $as_echo_n "(cached) " >&6
                   14712: else
                   14713:   ac_check_lib_save_LIBS=$LIBS
                   14714: LIBS="-lselinux  $LIBS"
                   14715: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14716: /* end confdefs.h.  */
                   14717: 
                   14718: /* Override any GCC internal prototype to avoid an error.
                   14719:    Use char because int might match the return type of a GCC
                   14720:    builtin and then its argument prototype would still apply.  */
                   14721: #ifdef __cplusplus
                   14722: extern "C"
                   14723: #endif
                   14724: char avc_init ();
                   14725: int
                   14726: main ()
                   14727: {
                   14728: return avc_init ();
                   14729:   ;
                   14730:   return 0;
                   14731: }
                   14732: _ACEOF
                   14733: if ac_fn_c_try_link "$LINENO"; then :
                   14734:   ac_cv_lib_selinux_avc_init=yes
                   14735: else
                   14736:   ac_cv_lib_selinux_avc_init=no
                   14737: fi
                   14738: rm -f core conftest.err conftest.$ac_objext \
                   14739:     conftest$ac_exeext conftest.$ac_ext
                   14740: LIBS=$ac_check_lib_save_LIBS
                   14741: fi
                   14742: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_avc_init" >&5
                   14743: $as_echo "$ac_cv_lib_selinux_avc_init" >&6; }
1.1.1.2 ! misho    14744: if test "x$ac_cv_lib_selinux_avc_init" = xyes; then :
1.1       misho    14745:   selinux_support=yes
                   14746: else
                   14747:   selinux_support=no
                   14748: fi
                   14749: 
                   14750: else
                   14751:   selinux_support=no
                   14752: fi
                   14753: 
                   14754: 
                   14755: 
                   14756: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support Security Context" >&5
                   14757: $as_echo_n "checking whether to support Security Context... " >&6; }
                   14758: # Check whether --enable-security-context was given.
                   14759: if test "${enable_security_context+set}" = set; then :
                   14760:   enableval=$enable_security_context; if test "$enable_security_context" = "kernel"; then
                   14761:                enable_security_context=$kernel_secctx; fi
                   14762: else
                   14763:   enable_security_context=$kernel_secctx
                   14764: fi
                   14765: 
                   14766: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_security_context" >&5
                   14767: $as_echo "$enable_security_context" >&6; }
                   14768: 
                   14769: if test "$enable_security_context" = "yes"; then
                   14770:        if test "$kernel_secctx" = "no" ; then
                   14771:                as_fn_error $? "Security Context requested, but no kernel support! Aborting." "$LINENO" 5
                   14772:        else
                   14773:                if test "$selinux_support" = "no"; then
                   14774:                        as_fn_error $? "Security Context requested, but no selinux support! Aborting." "$LINENO" 5
                   14775:                else
                   14776: 
                   14777: $as_echo "#define HAVE_SECCTX /**/" >>confdefs.h
                   14778: 
                   14779:                        SECCTX_OBJS="security.o"
                   14780: 
                   14781:                        LIBS="$LIBS -lselinux"
                   14782:                fi
                   14783:        fi
                   14784: fi
                   14785: 
                   14786: 
                   14787: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rt containing clock_gettime" >&5
                   14788: $as_echo_n "checking for rt containing clock_gettime... " >&6; }
1.1.1.2 ! misho    14789: if ${ac_cv_search_clock_gettime+:} false; then :
1.1       misho    14790:   $as_echo_n "(cached) " >&6
                   14791: else
                   14792:   ac_func_search_save_LIBS="$LIBS"
                   14793: ac_cv_search_clock_gettime="no"
                   14794: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14795: /* end confdefs.h.  */
                   14796: 
                   14797: /* Override any GCC internal prototype to avoid an error.
                   14798:    Use char because int might match the return type of a GCC
                   14799:    builtin and then its argument prototype would still apply.  */
                   14800: #ifdef __cplusplus
                   14801: extern "C"
                   14802: #endif
                   14803: char clock_gettime ();
                   14804: int
                   14805: main ()
                   14806: {
                   14807: return clock_gettime ();
                   14808:   ;
                   14809:   return 0;
                   14810: }
                   14811: _ACEOF
                   14812: if ac_fn_c_try_link "$LINENO"; then :
                   14813:   ac_cv_search_clock_gettime="none required"
                   14814: else
                   14815:   LIBS="-lrt $LIBS"
                   14816:        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14817: /* end confdefs.h.  */
                   14818: 
                   14819: /* Override any GCC internal prototype to avoid an error.
                   14820:    Use char because int might match the return type of a GCC
                   14821:    builtin and then its argument prototype would still apply.  */
                   14822: #ifdef __cplusplus
                   14823: extern "C"
                   14824: #endif
                   14825: char clock_gettime ();
                   14826: int
                   14827: main ()
                   14828: {
                   14829: return clock_gettime ();
                   14830:   ;
                   14831:   return 0;
                   14832: }
                   14833: _ACEOF
                   14834: if ac_fn_c_try_link "$LINENO"; then :
                   14835:   ac_cv_search_clock_gettime="-lrt"
                   14836: fi
                   14837: rm -f core conftest.err conftest.$ac_objext \
                   14838:     conftest$ac_exeext conftest.$ac_ext
                   14839: fi
                   14840: rm -f core conftest.err conftest.$ac_objext \
                   14841:     conftest$ac_exeext conftest.$ac_ext
                   14842: LIBS="$ac_func_search_save_LIBS"
                   14843: 
                   14844: fi
                   14845: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
                   14846: $as_echo "$ac_cv_search_clock_gettime" >&6; }
                   14847: if test "$ac_cv_search_clock_gettime" != "no"; then
                   14848:   test "$ac_cv_search_clock_gettime" = "none required" || LIBS="$ac_cv_search_clock_gettime $LIBS"
                   14849: 
                   14850: else :
                   14851: 
                   14852: fi
                   14853: 
                   14854: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic system clock" >&5
                   14855: $as_echo_n "checking for monotonic system clock... " >&6; }
                   14856: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   14857: /* end confdefs.h.  */
                   14858: #include <time.h>
                   14859: int
                   14860: main ()
                   14861: {
                   14862: clock_gettime(CLOCK_MONOTONIC, NULL);
                   14863:   ;
                   14864:   return 0;
                   14865: }
                   14866: _ACEOF
                   14867: if ac_fn_c_try_compile "$LINENO"; then :
                   14868: 
                   14869: $as_echo "#define HAVE_CLOCK_MONOTONIC /**/" >>confdefs.h
                   14870: 
                   14871:         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   14872: $as_echo "yes" >&6; }
                   14873: else
                   14874:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   14875: $as_echo "no" >&6; }
                   14876: fi
                   14877: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   14878: 
                   14879: CFLAGS="$CFLAGS $CFLAGS_ADD"
                   14880: CPPFLAGS="$CPPFLAGS $CPPFLAGS_ADD"
                   14881: 
                   14882: case $host in
                   14883:        *linux*)
                   14884:                # Remove KERNEL_INCLUDE from CPPFLAGS. It will
                   14885:                # be symlinked to src/include-glibc/linux in
                   14886:                # compile time.
                   14887:                CPPFLAGS=`echo $CPPFLAGS | sed "s,-I$KERNEL_INCLUDE,,"`
                   14888:                ;;
                   14889: esac
                   14890: 
                   14891: include_racoondir=${includedir}/racoon
                   14892: 
                   14893: 
                   14894: 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"
                   14895: 
                   14896: cat >confcache <<\_ACEOF
                   14897: # This file is a shell script that caches the results of configure
                   14898: # tests run on this system so they can be shared between configure
                   14899: # scripts and configure runs, see configure's option --config-cache.
                   14900: # It is not useful on other systems.  If it contains results you don't
                   14901: # want to keep, you may remove or edit it.
                   14902: #
                   14903: # config.status only pays attention to the cache file if you give it
                   14904: # the --recheck option to rerun configure.
                   14905: #
                   14906: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   14907: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   14908: # following values.
                   14909: 
                   14910: _ACEOF
                   14911: 
                   14912: # The following way of writing the cache mishandles newlines in values,
                   14913: # but we know of no workaround that is simple, portable, and efficient.
                   14914: # So, we kill variables containing newlines.
                   14915: # Ultrix sh set writes to stderr and can't be redirected directly,
                   14916: # and sets the high bit in the cache file unless we assign to the vars.
                   14917: (
                   14918:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   14919:     eval ac_val=\$$ac_var
                   14920:     case $ac_val in #(
                   14921:     *${as_nl}*)
                   14922:       case $ac_var in #(
                   14923:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   14924: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   14925:       esac
                   14926:       case $ac_var in #(
                   14927:       _ | IFS | as_nl) ;; #(
                   14928:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   14929:       *) { eval $ac_var=; unset $ac_var;} ;;
                   14930:       esac ;;
                   14931:     esac
                   14932:   done
                   14933: 
                   14934:   (set) 2>&1 |
                   14935:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   14936:     *${as_nl}ac_space=\ *)
                   14937:       # `set' does not quote correctly, so add quotes: double-quote
                   14938:       # substitution turns \\\\ into \\, and sed turns \\ into \.
                   14939:       sed -n \
                   14940:        "s/'/'\\\\''/g;
                   14941:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
                   14942:       ;; #(
                   14943:     *)
                   14944:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   14945:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   14946:       ;;
                   14947:     esac |
                   14948:     sort
                   14949: ) |
                   14950:   sed '
                   14951:      /^ac_cv_env_/b end
                   14952:      t clear
                   14953:      :clear
                   14954:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   14955:      t end
                   14956:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   14957:      :end' >>confcache
                   14958: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   14959:   if test -w "$cache_file"; then
1.1.1.2 ! misho    14960:     if test "x$cache_file" != "x/dev/null"; then
1.1       misho    14961:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
                   14962: $as_echo "$as_me: updating cache $cache_file" >&6;}
1.1.1.2 ! misho    14963:       if test ! -f "$cache_file" || test -h "$cache_file"; then
        !          14964:        cat confcache >"$cache_file"
        !          14965:       else
        !          14966:         case $cache_file in #(
        !          14967:         */* | ?:*)
        !          14968:          mv -f confcache "$cache_file"$$ &&
        !          14969:          mv -f "$cache_file"$$ "$cache_file" ;; #(
        !          14970:         *)
        !          14971:          mv -f confcache "$cache_file" ;;
        !          14972:        esac
        !          14973:       fi
        !          14974:     fi
1.1       misho    14975:   else
                   14976:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
                   14977: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
                   14978:   fi
                   14979: fi
                   14980: rm -f confcache
                   14981: 
                   14982: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   14983: # Let make expand exec_prefix.
                   14984: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   14985: 
                   14986: DEFS=-DHAVE_CONFIG_H
                   14987: 
                   14988: ac_libobjs=
                   14989: ac_ltlibobjs=
                   14990: U=
                   14991: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   14992:   # 1. Remove the extension, and $U if already installed.
                   14993:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
                   14994:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
                   14995:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   14996:   #    will be set to the directory where LIBOBJS objects are built.
                   14997:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   14998:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
                   14999: done
                   15000: LIBOBJS=$ac_libobjs
                   15001: 
                   15002: LTLIBOBJS=$ac_ltlibobjs
                   15003: 
                   15004: 
1.1.1.2 ! misho    15005: { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
        !          15006: $as_echo_n "checking that generated files are newer than configure... " >&6; }
        !          15007:    if test -n "$am_sleep_pid"; then
        !          15008:      # Hide warnings about reused PIDs.
        !          15009:      wait $am_sleep_pid 2>/dev/null
        !          15010:    fi
        !          15011:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
        !          15012: $as_echo "done" >&6; }
1.1       misho    15013:  if test -n "$EXEEXT"; then
                   15014:   am__EXEEXT_TRUE=
                   15015:   am__EXEEXT_FALSE='#'
                   15016: else
                   15017:   am__EXEEXT_TRUE='#'
                   15018:   am__EXEEXT_FALSE=
                   15019: fi
                   15020: 
                   15021: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
                   15022:   as_fn_error $? "conditional \"AMDEP\" was never defined.
                   15023: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   15024: fi
                   15025: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
                   15026:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
                   15027: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   15028: fi
                   15029: 
1.1.1.2 ! misho    15030: : "${CONFIG_STATUS=./config.status}"
1.1       misho    15031: ac_write_fail=0
                   15032: ac_clean_files_save=$ac_clean_files
                   15033: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
                   15034: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
                   15035: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   15036: as_write_fail=0
                   15037: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
                   15038: #! $SHELL
                   15039: # Generated by $as_me.
                   15040: # Run this file to recreate the current configuration.
                   15041: # Compiler output produced by configure, useful for debugging
                   15042: # configure, is in config.log if it exists.
                   15043: 
                   15044: debug=false
                   15045: ac_cs_recheck=false
                   15046: ac_cs_silent=false
                   15047: 
                   15048: SHELL=\${CONFIG_SHELL-$SHELL}
                   15049: export SHELL
                   15050: _ASEOF
                   15051: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
                   15052: ## -------------------- ##
                   15053: ## M4sh Initialization. ##
                   15054: ## -------------------- ##
                   15055: 
                   15056: # Be more Bourne compatible
                   15057: DUALCASE=1; export DUALCASE # for MKS sh
                   15058: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
                   15059:   emulate sh
                   15060:   NULLCMD=:
                   15061:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
                   15062:   # is contrary to our usage.  Disable this feature.
                   15063:   alias -g '${1+"$@"}'='"$@"'
                   15064:   setopt NO_GLOB_SUBST
                   15065: else
                   15066:   case `(set -o) 2>/dev/null` in #(
                   15067:   *posix*) :
                   15068:     set -o posix ;; #(
                   15069:   *) :
                   15070:      ;;
                   15071: esac
                   15072: fi
                   15073: 
                   15074: 
                   15075: as_nl='
                   15076: '
                   15077: export as_nl
                   15078: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                   15079: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   15080: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                   15081: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                   15082: # Prefer a ksh shell builtin over an external printf program on Solaris,
                   15083: # but without wasting forks for bash or zsh.
                   15084: if test -z "$BASH_VERSION$ZSH_VERSION" \
                   15085:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                   15086:   as_echo='print -r --'
                   15087:   as_echo_n='print -rn --'
                   15088: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                   15089:   as_echo='printf %s\n'
                   15090:   as_echo_n='printf %s'
                   15091: else
                   15092:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                   15093:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                   15094:     as_echo_n='/usr/ucb/echo -n'
                   15095:   else
                   15096:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                   15097:     as_echo_n_body='eval
                   15098:       arg=$1;
                   15099:       case $arg in #(
                   15100:       *"$as_nl"*)
                   15101:        expr "X$arg" : "X\\(.*\\)$as_nl";
                   15102:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                   15103:       esac;
                   15104:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                   15105:     '
                   15106:     export as_echo_n_body
                   15107:     as_echo_n='sh -c $as_echo_n_body as_echo'
                   15108:   fi
                   15109:   export as_echo_body
                   15110:   as_echo='sh -c $as_echo_body as_echo'
                   15111: fi
                   15112: 
                   15113: # The user is always right.
                   15114: if test "${PATH_SEPARATOR+set}" != set; then
                   15115:   PATH_SEPARATOR=:
                   15116:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   15117:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   15118:       PATH_SEPARATOR=';'
                   15119:   }
                   15120: fi
                   15121: 
                   15122: 
                   15123: # IFS
                   15124: # We need space, tab and new line, in precisely that order.  Quoting is
                   15125: # there to prevent editors from complaining about space-tab.
                   15126: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                   15127: # splitting by setting IFS to empty value.)
                   15128: IFS=" ""       $as_nl"
                   15129: 
                   15130: # Find who we are.  Look in the path if we contain no directory separator.
1.1.1.2 ! misho    15131: as_myself=
1.1       misho    15132: case $0 in #((
                   15133:   *[\\/]* ) as_myself=$0 ;;
                   15134:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   15135: for as_dir in $PATH
                   15136: do
                   15137:   IFS=$as_save_IFS
                   15138:   test -z "$as_dir" && as_dir=.
                   15139:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   15140:   done
                   15141: IFS=$as_save_IFS
                   15142: 
                   15143:      ;;
                   15144: esac
                   15145: # We did not find ourselves, most probably we were run as `sh COMMAND'
                   15146: # in which case we are not to be found in the path.
                   15147: if test "x$as_myself" = x; then
                   15148:   as_myself=$0
                   15149: fi
                   15150: if test ! -f "$as_myself"; then
                   15151:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                   15152:   exit 1
                   15153: fi
                   15154: 
                   15155: # Unset variables that we do not need and which cause bugs (e.g. in
                   15156: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                   15157: # suppresses any "Segmentation fault" message there.  '((' could
                   15158: # trigger a bug in pdksh 5.2.14.
                   15159: for as_var in BASH_ENV ENV MAIL MAILPATH
                   15160: do eval test x\${$as_var+set} = xset \
                   15161:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                   15162: done
                   15163: PS1='$ '
                   15164: PS2='> '
                   15165: PS4='+ '
                   15166: 
                   15167: # NLS nuisances.
                   15168: LC_ALL=C
                   15169: export LC_ALL
                   15170: LANGUAGE=C
                   15171: export LANGUAGE
                   15172: 
                   15173: # CDPATH.
                   15174: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   15175: 
                   15176: 
                   15177: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                   15178: # ----------------------------------------
                   15179: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                   15180: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                   15181: # script with STATUS, using 1 if that was 0.
                   15182: as_fn_error ()
                   15183: {
                   15184:   as_status=$1; test $as_status -eq 0 && as_status=1
                   15185:   if test "$4"; then
                   15186:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   15187:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                   15188:   fi
                   15189:   $as_echo "$as_me: error: $2" >&2
                   15190:   as_fn_exit $as_status
                   15191: } # as_fn_error
                   15192: 
                   15193: 
                   15194: # as_fn_set_status STATUS
                   15195: # -----------------------
                   15196: # Set $? to STATUS, without forking.
                   15197: as_fn_set_status ()
                   15198: {
                   15199:   return $1
                   15200: } # as_fn_set_status
                   15201: 
                   15202: # as_fn_exit STATUS
                   15203: # -----------------
                   15204: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                   15205: as_fn_exit ()
                   15206: {
                   15207:   set +e
                   15208:   as_fn_set_status $1
                   15209:   exit $1
                   15210: } # as_fn_exit
                   15211: 
                   15212: # as_fn_unset VAR
                   15213: # ---------------
                   15214: # Portably unset VAR.
                   15215: as_fn_unset ()
                   15216: {
                   15217:   { eval $1=; unset $1;}
                   15218: }
                   15219: as_unset=as_fn_unset
                   15220: # as_fn_append VAR VALUE
                   15221: # ----------------------
                   15222: # Append the text in VALUE to the end of the definition contained in VAR. Take
                   15223: # advantage of any shell optimizations that allow amortized linear growth over
                   15224: # repeated appends, instead of the typical quadratic growth present in naive
                   15225: # implementations.
                   15226: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                   15227:   eval 'as_fn_append ()
                   15228:   {
                   15229:     eval $1+=\$2
                   15230:   }'
                   15231: else
                   15232:   as_fn_append ()
                   15233:   {
                   15234:     eval $1=\$$1\$2
                   15235:   }
                   15236: fi # as_fn_append
                   15237: 
                   15238: # as_fn_arith ARG...
                   15239: # ------------------
                   15240: # Perform arithmetic evaluation on the ARGs, and store the result in the
                   15241: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                   15242: # must be portable across $(()) and expr.
                   15243: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                   15244:   eval 'as_fn_arith ()
                   15245:   {
                   15246:     as_val=$(( $* ))
                   15247:   }'
                   15248: else
                   15249:   as_fn_arith ()
                   15250:   {
                   15251:     as_val=`expr "$@" || test $? -eq 1`
                   15252:   }
                   15253: fi # as_fn_arith
                   15254: 
                   15255: 
                   15256: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   15257:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                   15258:   as_expr=expr
                   15259: else
                   15260:   as_expr=false
                   15261: fi
                   15262: 
                   15263: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                   15264:   as_basename=basename
                   15265: else
                   15266:   as_basename=false
                   15267: fi
                   15268: 
                   15269: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   15270:   as_dirname=dirname
                   15271: else
                   15272:   as_dirname=false
                   15273: fi
                   15274: 
                   15275: as_me=`$as_basename -- "$0" ||
                   15276: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   15277:         X"$0" : 'X\(//\)$' \| \
                   15278:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                   15279: $as_echo X/"$0" |
                   15280:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   15281:            s//\1/
                   15282:            q
                   15283:          }
                   15284:          /^X\/\(\/\/\)$/{
                   15285:            s//\1/
                   15286:            q
                   15287:          }
                   15288:          /^X\/\(\/\).*/{
                   15289:            s//\1/
                   15290:            q
                   15291:          }
                   15292:          s/.*/./; q'`
                   15293: 
                   15294: # Avoid depending upon Character Ranges.
                   15295: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   15296: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   15297: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   15298: as_cr_digits='0123456789'
                   15299: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   15300: 
                   15301: ECHO_C= ECHO_N= ECHO_T=
                   15302: case `echo -n x` in #(((((
                   15303: -n*)
                   15304:   case `echo 'xy\c'` in
                   15305:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                   15306:   xy)  ECHO_C='\c';;
                   15307:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                   15308:        ECHO_T='        ';;
                   15309:   esac;;
                   15310: *)
                   15311:   ECHO_N='-n';;
                   15312: esac
                   15313: 
                   15314: rm -f conf$$ conf$$.exe conf$$.file
                   15315: if test -d conf$$.dir; then
                   15316:   rm -f conf$$.dir/conf$$.file
                   15317: else
                   15318:   rm -f conf$$.dir
                   15319:   mkdir conf$$.dir 2>/dev/null
                   15320: fi
                   15321: if (echo >conf$$.file) 2>/dev/null; then
                   15322:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   15323:     as_ln_s='ln -s'
                   15324:     # ... but there are two gotchas:
                   15325:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                   15326:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
1.1.1.2 ! misho    15327:     # In both cases, we have to default to `cp -pR'.
1.1       misho    15328:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1.1.1.2 ! misho    15329:       as_ln_s='cp -pR'
1.1       misho    15330:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   15331:     as_ln_s=ln
                   15332:   else
1.1.1.2 ! misho    15333:     as_ln_s='cp -pR'
1.1       misho    15334:   fi
                   15335: else
1.1.1.2 ! misho    15336:   as_ln_s='cp -pR'
1.1       misho    15337: fi
                   15338: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   15339: rmdir conf$$.dir 2>/dev/null
                   15340: 
                   15341: 
                   15342: # as_fn_mkdir_p
                   15343: # -------------
                   15344: # Create "$as_dir" as a directory, including parents if necessary.
                   15345: as_fn_mkdir_p ()
                   15346: {
                   15347: 
                   15348:   case $as_dir in #(
                   15349:   -*) as_dir=./$as_dir;;
                   15350:   esac
                   15351:   test -d "$as_dir" || eval $as_mkdir_p || {
                   15352:     as_dirs=
                   15353:     while :; do
                   15354:       case $as_dir in #(
                   15355:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                   15356:       *) as_qdir=$as_dir;;
                   15357:       esac
                   15358:       as_dirs="'$as_qdir' $as_dirs"
                   15359:       as_dir=`$as_dirname -- "$as_dir" ||
                   15360: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   15361:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   15362:         X"$as_dir" : 'X\(//\)$' \| \
                   15363:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                   15364: $as_echo X"$as_dir" |
                   15365:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   15366:            s//\1/
                   15367:            q
                   15368:          }
                   15369:          /^X\(\/\/\)[^/].*/{
                   15370:            s//\1/
                   15371:            q
                   15372:          }
                   15373:          /^X\(\/\/\)$/{
                   15374:            s//\1/
                   15375:            q
                   15376:          }
                   15377:          /^X\(\/\).*/{
                   15378:            s//\1/
                   15379:            q
                   15380:          }
                   15381:          s/.*/./; q'`
                   15382:       test -d "$as_dir" && break
                   15383:     done
                   15384:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                   15385:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                   15386: 
                   15387: 
                   15388: } # as_fn_mkdir_p
                   15389: if mkdir -p . 2>/dev/null; then
                   15390:   as_mkdir_p='mkdir -p "$as_dir"'
                   15391: else
                   15392:   test -d ./-p && rmdir ./-p
                   15393:   as_mkdir_p=false
                   15394: fi
                   15395: 
1.1.1.2 ! misho    15396: 
        !          15397: # as_fn_executable_p FILE
        !          15398: # -----------------------
        !          15399: # Test if FILE is an executable regular file.
        !          15400: as_fn_executable_p ()
        !          15401: {
        !          15402:   test -f "$1" && test -x "$1"
        !          15403: } # as_fn_executable_p
        !          15404: as_test_x='test -x'
        !          15405: as_executable_p=as_fn_executable_p
1.1       misho    15406: 
                   15407: # Sed expression to map a string onto a valid CPP name.
                   15408: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                   15409: 
                   15410: # Sed expression to map a string onto a valid variable name.
                   15411: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                   15412: 
                   15413: 
                   15414: exec 6>&1
                   15415: ## ----------------------------------- ##
                   15416: ## Main body of $CONFIG_STATUS script. ##
                   15417: ## ----------------------------------- ##
                   15418: _ASEOF
                   15419: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
                   15420: 
                   15421: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   15422: # Save the log message, to keep $0 and so on meaningful, and to
                   15423: # report actual input values of CONFIG_FILES etc. instead of their
                   15424: # values after options handling.
                   15425: ac_log="
1.1.1.2 ! misho    15426: This file was extended by ipsec-tools $as_me 0.8.1, which was
        !          15427: generated by GNU Autoconf 2.69.  Invocation command line was
1.1       misho    15428: 
                   15429:   CONFIG_FILES    = $CONFIG_FILES
                   15430:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   15431:   CONFIG_LINKS    = $CONFIG_LINKS
                   15432:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   15433:   $ $0 $@
                   15434: 
                   15435: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   15436: "
                   15437: 
                   15438: _ACEOF
                   15439: 
                   15440: case $ac_config_files in *"
                   15441: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   15442: esac
                   15443: 
                   15444: case $ac_config_headers in *"
                   15445: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
                   15446: esac
                   15447: 
                   15448: 
                   15449: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   15450: # Files that config.status was made for.
                   15451: config_files="$ac_config_files"
                   15452: config_headers="$ac_config_headers"
                   15453: config_commands="$ac_config_commands"
                   15454: 
                   15455: _ACEOF
                   15456: 
                   15457: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   15458: ac_cs_usage="\
                   15459: \`$as_me' instantiates files and other configuration actions
                   15460: from templates according to the current configuration.  Unless the files
                   15461: and actions are specified as TAGs, all are instantiated by default.
                   15462: 
                   15463: Usage: $0 [OPTION]... [TAG]...
                   15464: 
                   15465:   -h, --help       print this help, then exit
                   15466:   -V, --version    print version number and configuration settings, then exit
                   15467:       --config     print configuration, then exit
                   15468:   -q, --quiet, --silent
                   15469:                    do not print progress messages
                   15470:   -d, --debug      don't remove temporary files
                   15471:       --recheck    update $as_me by reconfiguring in the same conditions
                   15472:       --file=FILE[:TEMPLATE]
                   15473:                    instantiate the configuration file FILE
                   15474:       --header=FILE[:TEMPLATE]
                   15475:                    instantiate the configuration header FILE
                   15476: 
                   15477: Configuration files:
                   15478: $config_files
                   15479: 
                   15480: Configuration headers:
                   15481: $config_headers
                   15482: 
                   15483: Configuration commands:
                   15484: $config_commands
                   15485: 
                   15486: Report bugs to the package provider."
                   15487: 
                   15488: _ACEOF
                   15489: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   15490: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
                   15491: ac_cs_version="\\
1.1.1.2 ! misho    15492: ipsec-tools config.status 0.8.1
        !          15493: configured by $0, generated by GNU Autoconf 2.69,
1.1       misho    15494:   with options \\"\$ac_cs_config\\"
                   15495: 
1.1.1.2 ! misho    15496: Copyright (C) 2012 Free Software Foundation, Inc.
1.1       misho    15497: This config.status script is free software; the Free Software Foundation
                   15498: gives unlimited permission to copy, distribute and modify it."
                   15499: 
                   15500: ac_pwd='$ac_pwd'
                   15501: srcdir='$srcdir'
                   15502: INSTALL='$INSTALL'
                   15503: MKDIR_P='$MKDIR_P'
                   15504: AWK='$AWK'
                   15505: test -n "\$AWK" || AWK=awk
                   15506: _ACEOF
                   15507: 
                   15508: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   15509: # The default lists apply if the user does not specify any file.
                   15510: ac_need_defaults=:
                   15511: while test $# != 0
                   15512: do
                   15513:   case $1 in
                   15514:   --*=?*)
                   15515:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   15516:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
                   15517:     ac_shift=:
                   15518:     ;;
                   15519:   --*=)
                   15520:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   15521:     ac_optarg=
                   15522:     ac_shift=:
                   15523:     ;;
                   15524:   *)
                   15525:     ac_option=$1
                   15526:     ac_optarg=$2
                   15527:     ac_shift=shift
                   15528:     ;;
                   15529:   esac
                   15530: 
                   15531:   case $ac_option in
                   15532:   # Handling of the options.
                   15533:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   15534:     ac_cs_recheck=: ;;
                   15535:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
                   15536:     $as_echo "$ac_cs_version"; exit ;;
                   15537:   --config | --confi | --conf | --con | --co | --c )
                   15538:     $as_echo "$ac_cs_config"; exit ;;
                   15539:   --debug | --debu | --deb | --de | --d | -d )
                   15540:     debug=: ;;
                   15541:   --file | --fil | --fi | --f )
                   15542:     $ac_shift
                   15543:     case $ac_optarg in
                   15544:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   15545:     '') as_fn_error $? "missing file argument" ;;
                   15546:     esac
                   15547:     as_fn_append CONFIG_FILES " '$ac_optarg'"
                   15548:     ac_need_defaults=false;;
                   15549:   --header | --heade | --head | --hea )
                   15550:     $ac_shift
                   15551:     case $ac_optarg in
                   15552:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   15553:     esac
                   15554:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
                   15555:     ac_need_defaults=false;;
                   15556:   --he | --h)
                   15557:     # Conflict between --help and --header
                   15558:     as_fn_error $? "ambiguous option: \`$1'
                   15559: Try \`$0 --help' for more information.";;
                   15560:   --help | --hel | -h )
                   15561:     $as_echo "$ac_cs_usage"; exit ;;
                   15562:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   15563:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   15564:     ac_cs_silent=: ;;
                   15565: 
                   15566:   # This is an error.
                   15567:   -*) as_fn_error $? "unrecognized option: \`$1'
                   15568: Try \`$0 --help' for more information." ;;
                   15569: 
                   15570:   *) as_fn_append ac_config_targets " $1"
                   15571:      ac_need_defaults=false ;;
                   15572: 
                   15573:   esac
                   15574:   shift
                   15575: done
                   15576: 
                   15577: ac_configure_extra_args=
                   15578: 
                   15579: if $ac_cs_silent; then
                   15580:   exec 6>/dev/null
                   15581:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   15582: fi
                   15583: 
                   15584: _ACEOF
                   15585: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   15586: if \$ac_cs_recheck; then
1.1.1.2 ! misho    15587:   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
1.1       misho    15588:   shift
                   15589:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
                   15590:   CONFIG_SHELL='$SHELL'
                   15591:   export CONFIG_SHELL
                   15592:   exec "\$@"
                   15593: fi
                   15594: 
                   15595: _ACEOF
                   15596: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   15597: exec 5>>config.log
                   15598: {
                   15599:   echo
                   15600:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   15601: ## Running $as_me. ##
                   15602: _ASBOX
                   15603:   $as_echo "$ac_log"
                   15604: } >&5
                   15605: 
                   15606: _ACEOF
                   15607: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   15608: #
                   15609: # INIT-COMMANDS
                   15610: #
                   15611: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
                   15612: 
                   15613: 
                   15614: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   15615: # if CDPATH is set.
                   15616: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   15617: 
                   15618: sed_quote_subst='$sed_quote_subst'
                   15619: double_quote_subst='$double_quote_subst'
                   15620: delay_variable_subst='$delay_variable_subst'
1.1.1.2 ! misho    15621: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
        !          15622: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
        !          15623: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
        !          15624: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
        !          15625: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
        !          15626: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
        !          15627: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
        !          15628: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
        !          15629: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
        !          15630: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
        !          15631: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
        !          15632: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
        !          15633: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
        !          15634: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
        !          15635: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
        !          15636: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
        !          15637: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
        !          15638: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
        !          15639: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
        !          15640: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
        !          15641: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
        !          15642: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
        !          15643: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
        !          15644: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
        !          15645: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
        !          15646: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
        !          15647: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
        !          15648: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
        !          15649: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
        !          15650: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
        !          15651: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
        !          15652: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
        !          15653: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
        !          15654: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
        !          15655: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
        !          15656: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
        !          15657: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
        !          15658: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
        !          15659: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
        !          15660: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
        !          15661: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
        !          15662: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
        !          15663: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
        !          15664: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
        !          15665: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
        !          15666: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
        !          15667: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
        !          15668: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
        !          15669: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
        !          15670: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
        !          15671: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
        !          15672: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
        !          15673: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
        !          15674: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
        !          15675: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
        !          15676: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
        !          15677: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
        !          15678: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
        !          15679: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
        !          15680: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
        !          15681: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
        !          15682: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
        !          15683: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
        !          15684: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
        !          15685: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
        !          15686: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
        !          15687: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
        !          15688: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
        !          15689: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
        !          15690: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
        !          15691: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
        !          15692: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
        !          15693: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
        !          15694: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
        !          15695: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
        !          15696: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
        !          15697: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
        !          15698: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
        !          15699: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
        !          15700: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
        !          15701: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
        !          15702: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
        !          15703: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
        !          15704: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
        !          15705: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
        !          15706: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
        !          15707: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
        !          15708: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
        !          15709: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
        !          15710: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
        !          15711: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
        !          15712: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
        !          15713: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
        !          15714: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
        !          15715: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
        !          15716: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
        !          15717: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
        !          15718: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
        !          15719: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
        !          15720: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
        !          15721: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
        !          15722: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
        !          15723: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
        !          15724: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
        !          15725: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
        !          15726: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
        !          15727: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
        !          15728: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
        !          15729: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
        !          15730: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
        !          15731: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
        !          15732: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
        !          15733: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
        !          15734: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
        !          15735: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
        !          15736: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
        !          15737: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
        !          15738: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
        !          15739: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
        !          15740: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
        !          15741: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
        !          15742: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
        !          15743: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
        !          15744: sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
        !          15745: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
        !          15746: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
        !          15747: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
        !          15748: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
        !          15749: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
        !          15750: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
1.1       misho    15751: 
                   15752: LTCC='$LTCC'
                   15753: LTCFLAGS='$LTCFLAGS'
                   15754: compiler='$compiler_DEFAULT'
                   15755: 
1.1.1.2 ! misho    15756: # A function that is used when there is no print builtin or printf.
        !          15757: func_fallback_echo ()
        !          15758: {
        !          15759:   eval 'cat <<_LTECHO_EOF
        !          15760: \$1
        !          15761: _LTECHO_EOF'
        !          15762: }
        !          15763: 
1.1       misho    15764: # Quote evaled strings.
1.1.1.2 ! misho    15765: for var in SHELL \
        !          15766: ECHO \
        !          15767: PATH_SEPARATOR \
        !          15768: SED \
1.1       misho    15769: GREP \
                   15770: EGREP \
                   15771: FGREP \
                   15772: LD \
                   15773: NM \
                   15774: LN_S \
                   15775: lt_SP2NL \
                   15776: lt_NL2SP \
                   15777: reload_flag \
                   15778: OBJDUMP \
                   15779: deplibs_check_method \
                   15780: file_magic_cmd \
1.1.1.2 ! misho    15781: file_magic_glob \
        !          15782: want_nocaseglob \
        !          15783: DLLTOOL \
        !          15784: sharedlib_from_linklib_cmd \
1.1       misho    15785: AR \
                   15786: AR_FLAGS \
1.1.1.2 ! misho    15787: archiver_list_spec \
1.1       misho    15788: STRIP \
                   15789: RANLIB \
                   15790: CC \
                   15791: CFLAGS \
                   15792: compiler \
                   15793: lt_cv_sys_global_symbol_pipe \
                   15794: lt_cv_sys_global_symbol_to_cdecl \
                   15795: lt_cv_sys_global_symbol_to_c_name_address \
                   15796: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
1.1.1.2 ! misho    15797: nm_file_list_spec \
1.1       misho    15798: lt_prog_compiler_no_builtin_flag \
                   15799: lt_prog_compiler_pic \
1.1.1.2 ! misho    15800: lt_prog_compiler_wl \
1.1       misho    15801: lt_prog_compiler_static \
                   15802: lt_cv_prog_compiler_c_o \
                   15803: need_locks \
1.1.1.2 ! misho    15804: MANIFEST_TOOL \
1.1       misho    15805: DSYMUTIL \
                   15806: NMEDIT \
                   15807: LIPO \
                   15808: OTOOL \
                   15809: OTOOL64 \
                   15810: shrext_cmds \
                   15811: export_dynamic_flag_spec \
                   15812: whole_archive_flag_spec \
                   15813: compiler_needs_object \
                   15814: with_gnu_ld \
                   15815: allow_undefined_flag \
                   15816: no_undefined_flag \
                   15817: hardcode_libdir_flag_spec \
                   15818: hardcode_libdir_separator \
                   15819: exclude_expsyms \
                   15820: include_expsyms \
                   15821: file_list_spec \
                   15822: variables_saved_for_relink \
                   15823: libname_spec \
                   15824: library_names_spec \
                   15825: soname_spec \
1.1.1.2 ! misho    15826: install_override_mode \
1.1       misho    15827: finish_eval \
                   15828: old_striplib \
                   15829: striplib; do
1.1.1.2 ! misho    15830:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
1.1       misho    15831:     *[\\\\\\\`\\"\\\$]*)
1.1.1.2 ! misho    15832:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
1.1       misho    15833:       ;;
                   15834:     *)
                   15835:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   15836:       ;;
                   15837:     esac
                   15838: done
                   15839: 
                   15840: # Double-quote double-evaled strings.
                   15841: for var in reload_cmds \
                   15842: old_postinstall_cmds \
                   15843: old_postuninstall_cmds \
                   15844: old_archive_cmds \
                   15845: extract_expsyms_cmds \
                   15846: old_archive_from_new_cmds \
                   15847: old_archive_from_expsyms_cmds \
                   15848: archive_cmds \
                   15849: archive_expsym_cmds \
                   15850: module_cmds \
                   15851: module_expsym_cmds \
                   15852: export_symbols_cmds \
                   15853: prelink_cmds \
1.1.1.2 ! misho    15854: postlink_cmds \
1.1       misho    15855: postinstall_cmds \
                   15856: postuninstall_cmds \
                   15857: finish_cmds \
                   15858: sys_lib_search_path_spec \
                   15859: sys_lib_dlsearch_path_spec; do
1.1.1.2 ! misho    15860:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
1.1       misho    15861:     *[\\\\\\\`\\"\\\$]*)
1.1.1.2 ! misho    15862:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
1.1       misho    15863:       ;;
                   15864:     *)
                   15865:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   15866:       ;;
                   15867:     esac
                   15868: done
                   15869: 
                   15870: ac_aux_dir='$ac_aux_dir'
                   15871: xsi_shell='$xsi_shell'
                   15872: lt_shell_append='$lt_shell_append'
                   15873: 
                   15874: # See if we are running on zsh, and set the options which allow our
                   15875: # commands through without removal of \ escapes INIT.
                   15876: if test -n "\${ZSH_VERSION+set}" ; then
                   15877:    setopt NO_GLOB_SUBST
                   15878: fi
                   15879: 
                   15880: 
                   15881:     PACKAGE='$PACKAGE'
                   15882:     VERSION='$VERSION'
                   15883:     TIMESTAMP='$TIMESTAMP'
                   15884:     RM='$RM'
                   15885:     ofile='$ofile'
                   15886: 
                   15887: 
                   15888: 
                   15889: 
                   15890: _ACEOF
                   15891: 
                   15892: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   15893: 
                   15894: # Handling of arguments.
                   15895: for ac_config_target in $ac_config_targets
                   15896: do
                   15897:   case $ac_config_target in
                   15898:     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
                   15899:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   15900:     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
                   15901:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   15902:     "package_version.h") CONFIG_FILES="$CONFIG_FILES package_version.h" ;;
                   15903:     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
                   15904:     "src/include-glibc/Makefile") CONFIG_FILES="$CONFIG_FILES src/include-glibc/Makefile" ;;
                   15905:     "src/libipsec/Makefile") CONFIG_FILES="$CONFIG_FILES src/libipsec/Makefile" ;;
                   15906:     "src/setkey/Makefile") CONFIG_FILES="$CONFIG_FILES src/setkey/Makefile" ;;
                   15907:     "src/racoon/Makefile") CONFIG_FILES="$CONFIG_FILES src/racoon/Makefile" ;;
                   15908:     "src/racoon/samples/psk.txt") CONFIG_FILES="$CONFIG_FILES src/racoon/samples/psk.txt" ;;
                   15909:     "src/racoon/samples/racoon.conf") CONFIG_FILES="$CONFIG_FILES src/racoon/samples/racoon.conf" ;;
                   15910:     "rpm/Makefile") CONFIG_FILES="$CONFIG_FILES rpm/Makefile" ;;
                   15911:     "rpm/suse/Makefile") CONFIG_FILES="$CONFIG_FILES rpm/suse/Makefile" ;;
                   15912:     "rpm/suse/ipsec-tools.spec") CONFIG_FILES="$CONFIG_FILES rpm/suse/ipsec-tools.spec" ;;
                   15913: 
1.1.1.2 ! misho    15914:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
1.1       misho    15915:   esac
                   15916: done
                   15917: 
                   15918: 
                   15919: # If the user did not use the arguments to specify the items to instantiate,
                   15920: # then the envvar interface is used.  Set only those that are not.
                   15921: # We use the long form for the default assignment because of an extremely
                   15922: # bizarre bug on SunOS 4.1.3.
                   15923: if $ac_need_defaults; then
                   15924:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   15925:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   15926:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   15927: fi
                   15928: 
                   15929: # Have a temporary directory for convenience.  Make it in the build tree
                   15930: # simply because there is no reason against having it here, and in addition,
                   15931: # creating and moving files from /tmp can sometimes cause problems.
                   15932: # Hook for its removal unless debugging.
                   15933: # Note that there is a small window in which the directory will not be cleaned:
                   15934: # after its creation but before its name has been assigned to `$tmp'.
                   15935: $debug ||
                   15936: {
1.1.1.2 ! misho    15937:   tmp= ac_tmp=
1.1       misho    15938:   trap 'exit_status=$?
1.1.1.2 ! misho    15939:   : "${ac_tmp:=$tmp}"
        !          15940:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
1.1       misho    15941: ' 0
                   15942:   trap 'as_fn_exit 1' 1 2 13 15
                   15943: }
                   15944: # Create a (secure) tmp directory for tmp files.
                   15945: 
                   15946: {
                   15947:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
1.1.1.2 ! misho    15948:   test -d "$tmp"
1.1       misho    15949: }  ||
                   15950: {
                   15951:   tmp=./conf$$-$RANDOM
                   15952:   (umask 077 && mkdir "$tmp")
                   15953: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
1.1.1.2 ! misho    15954: ac_tmp=$tmp
1.1       misho    15955: 
                   15956: # Set up the scripts for CONFIG_FILES section.
                   15957: # No need to generate them if there are no CONFIG_FILES.
                   15958: # This happens for instance with `./config.status config.h'.
                   15959: if test -n "$CONFIG_FILES"; then
                   15960: 
                   15961: 
                   15962: ac_cr=`echo X | tr X '\015'`
                   15963: # On cygwin, bash can eat \r inside `` if the user requested igncr.
                   15964: # But we know of no other shell where ac_cr would be empty at this
                   15965: # point, so we can use a bashism as a fallback.
                   15966: if test "x$ac_cr" = x; then
                   15967:   eval ac_cr=\$\'\\r\'
                   15968: fi
                   15969: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   15970: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
                   15971:   ac_cs_awk_cr='\\r'
                   15972: else
                   15973:   ac_cs_awk_cr=$ac_cr
                   15974: fi
                   15975: 
1.1.1.2 ! misho    15976: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
1.1       misho    15977: _ACEOF
                   15978: 
                   15979: 
                   15980: {
                   15981:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   15982:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   15983:   echo "_ACEOF"
                   15984: } >conf$$subs.sh ||
                   15985:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   15986: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
                   15987: ac_delim='%!_!# '
                   15988: for ac_last_try in false false false false false :; do
                   15989:   . ./conf$$subs.sh ||
                   15990:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   15991: 
                   15992:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   15993:   if test $ac_delim_n = $ac_delim_num; then
                   15994:     break
                   15995:   elif $ac_last_try; then
                   15996:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   15997:   else
                   15998:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   15999:   fi
                   16000: done
                   16001: rm -f conf$$subs.sh
                   16002: 
                   16003: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1.1.2 ! misho    16004: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
1.1       misho    16005: _ACEOF
                   16006: sed -n '
                   16007: h
                   16008: s/^/S["/; s/!.*/"]=/
                   16009: p
                   16010: g
                   16011: s/^[^!]*!//
                   16012: :repl
                   16013: t repl
                   16014: s/'"$ac_delim"'$//
                   16015: t delim
                   16016: :nl
                   16017: h
                   16018: s/\(.\{148\}\)..*/\1/
                   16019: t more1
                   16020: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   16021: p
                   16022: n
                   16023: b repl
                   16024: :more1
                   16025: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   16026: p
                   16027: g
                   16028: s/.\{148\}//
                   16029: t nl
                   16030: :delim
                   16031: h
                   16032: s/\(.\{148\}\)..*/\1/
                   16033: t more2
                   16034: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   16035: p
                   16036: b
                   16037: :more2
                   16038: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   16039: p
                   16040: g
                   16041: s/.\{148\}//
                   16042: t delim
                   16043: ' <conf$$subs.awk | sed '
                   16044: /^[^""]/{
                   16045:   N
                   16046:   s/\n//
                   16047: }
                   16048: ' >>$CONFIG_STATUS || ac_write_fail=1
                   16049: rm -f conf$$subs.awk
                   16050: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   16051: _ACAWK
1.1.1.2 ! misho    16052: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
1.1       misho    16053:   for (key in S) S_is_set[key] = 1
                   16054:   FS = ""
                   16055: 
                   16056: }
                   16057: {
                   16058:   line = $ 0
                   16059:   nfields = split(line, field, "@")
                   16060:   substed = 0
                   16061:   len = length(field[1])
                   16062:   for (i = 2; i < nfields; i++) {
                   16063:     key = field[i]
                   16064:     keylen = length(key)
                   16065:     if (S_is_set[key]) {
                   16066:       value = S[key]
                   16067:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   16068:       len += length(value) + length(field[++i])
                   16069:       substed = 1
                   16070:     } else
                   16071:       len += 1 + keylen
                   16072:   }
                   16073: 
                   16074:   print line
                   16075: }
                   16076: 
                   16077: _ACAWK
                   16078: _ACEOF
                   16079: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   16080: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   16081:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
                   16082: else
                   16083:   cat
1.1.1.2 ! misho    16084: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
1.1       misho    16085:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
                   16086: _ACEOF
                   16087: 
                   16088: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
                   16089: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
                   16090: # trailing colons and then remove the whole line if VPATH becomes empty
                   16091: # (actually we leave an empty line to preserve line numbers).
                   16092: if test "x$srcdir" = x.; then
                   16093:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
                   16094: h
                   16095: s///
                   16096: s/^/:/
                   16097: s/[     ]*$/:/
                   16098: s/:\$(srcdir):/:/g
                   16099: s/:\${srcdir}:/:/g
                   16100: s/:@srcdir@:/:/g
                   16101: s/^:*//
                   16102: s/:*$//
                   16103: x
                   16104: s/\(=[  ]*\).*/\1/
                   16105: G
                   16106: s/\n//
                   16107: s/^[^=]*=[      ]*$//
                   16108: }'
                   16109: fi
                   16110: 
                   16111: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   16112: fi # test -n "$CONFIG_FILES"
                   16113: 
                   16114: # Set up the scripts for CONFIG_HEADERS section.
                   16115: # No need to generate them if there are no CONFIG_HEADERS.
                   16116: # This happens for instance with `./config.status Makefile'.
                   16117: if test -n "$CONFIG_HEADERS"; then
1.1.1.2 ! misho    16118: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
1.1       misho    16119: BEGIN {
                   16120: _ACEOF
                   16121: 
                   16122: # Transform confdefs.h into an awk script `defines.awk', embedded as
                   16123: # here-document in config.status, that substitutes the proper values into
                   16124: # config.h.in to produce config.h.
                   16125: 
                   16126: # Create a delimiter string that does not exist in confdefs.h, to ease
                   16127: # handling of long lines.
                   16128: ac_delim='%!_!# '
                   16129: for ac_last_try in false false :; do
1.1.1.2 ! misho    16130:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
        !          16131:   if test -z "$ac_tt"; then
1.1       misho    16132:     break
                   16133:   elif $ac_last_try; then
                   16134:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
                   16135:   else
                   16136:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   16137:   fi
                   16138: done
                   16139: 
                   16140: # For the awk script, D is an array of macro values keyed by name,
                   16141: # likewise P contains macro parameters if any.  Preserve backslash
                   16142: # newline sequences.
                   16143: 
                   16144: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
                   16145: sed -n '
                   16146: s/.\{148\}/&'"$ac_delim"'/g
                   16147: t rset
                   16148: :rset
                   16149: s/^[    ]*#[    ]*define[       ][      ]*/ /
                   16150: t def
                   16151: d
                   16152: :def
                   16153: s/\\$//
                   16154: t bsnl
                   16155: s/["\\]/\\&/g
                   16156: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   16157: D["\1"]=" \3"/p
                   16158: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
                   16159: d
                   16160: :bsnl
                   16161: s/["\\]/\\&/g
                   16162: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   16163: D["\1"]=" \3\\\\\\n"\\/p
                   16164: t cont
                   16165: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
                   16166: t cont
                   16167: d
                   16168: :cont
                   16169: n
                   16170: s/.\{148\}/&'"$ac_delim"'/g
                   16171: t clear
                   16172: :clear
                   16173: s/\\$//
                   16174: t bsnlc
                   16175: s/["\\]/\\&/g; s/^/"/; s/$/"/p
                   16176: d
                   16177: :bsnlc
                   16178: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
                   16179: b cont
                   16180: ' <confdefs.h | sed '
                   16181: s/'"$ac_delim"'/"\\\
                   16182: "/g' >>$CONFIG_STATUS || ac_write_fail=1
                   16183: 
                   16184: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   16185:   for (key in D) D_is_set[key] = 1
                   16186:   FS = ""
                   16187: }
                   16188: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
                   16189:   line = \$ 0
                   16190:   split(line, arg, " ")
                   16191:   if (arg[1] == "#") {
                   16192:     defundef = arg[2]
                   16193:     mac1 = arg[3]
                   16194:   } else {
                   16195:     defundef = substr(arg[1], 2)
                   16196:     mac1 = arg[2]
                   16197:   }
                   16198:   split(mac1, mac2, "(") #)
                   16199:   macro = mac2[1]
                   16200:   prefix = substr(line, 1, index(line, defundef) - 1)
                   16201:   if (D_is_set[macro]) {
                   16202:     # Preserve the white space surrounding the "#".
                   16203:     print prefix "define", macro P[macro] D[macro]
                   16204:     next
                   16205:   } else {
                   16206:     # Replace #undef with comments.  This is necessary, for example,
                   16207:     # in the case of _POSIX_SOURCE, which is predefined and required
                   16208:     # on some systems where configure will not decide to define it.
                   16209:     if (defundef == "undef") {
                   16210:       print "/*", prefix defundef, macro, "*/"
                   16211:       next
                   16212:     }
                   16213:   }
                   16214: }
                   16215: { print }
                   16216: _ACAWK
                   16217: _ACEOF
                   16218: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   16219:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
                   16220: fi # test -n "$CONFIG_HEADERS"
                   16221: 
                   16222: 
                   16223: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
                   16224: shift
                   16225: for ac_tag
                   16226: do
                   16227:   case $ac_tag in
                   16228:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   16229:   esac
                   16230:   case $ac_mode$ac_tag in
                   16231:   :[FHL]*:*);;
1.1.1.2 ! misho    16232:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
1.1       misho    16233:   :[FH]-) ac_tag=-:-;;
                   16234:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   16235:   esac
                   16236:   ac_save_IFS=$IFS
                   16237:   IFS=:
                   16238:   set x $ac_tag
                   16239:   IFS=$ac_save_IFS
                   16240:   shift
                   16241:   ac_file=$1
                   16242:   shift
                   16243: 
                   16244:   case $ac_mode in
                   16245:   :L) ac_source=$1;;
                   16246:   :[FH])
                   16247:     ac_file_inputs=
                   16248:     for ac_f
                   16249:     do
                   16250:       case $ac_f in
1.1.1.2 ! misho    16251:       -) ac_f="$ac_tmp/stdin";;
1.1       misho    16252:       *) # Look for the file first in the build tree, then in the source tree
                   16253:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
                   16254:         # because $ac_f cannot contain `:'.
                   16255:         test -f "$ac_f" ||
                   16256:           case $ac_f in
                   16257:           [\\/$]*) false;;
                   16258:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   16259:           esac ||
1.1.1.2 ! misho    16260:           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
1.1       misho    16261:       esac
                   16262:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
                   16263:       as_fn_append ac_file_inputs " '$ac_f'"
                   16264:     done
                   16265: 
                   16266:     # Let's still pretend it is `configure' which instantiates (i.e., don't
                   16267:     # use $as_me), people would be surprised to read:
                   16268:     #    /* config.h.  Generated by config.status.  */
                   16269:     configure_input='Generated from '`
                   16270:          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
                   16271:        `' by configure.'
                   16272:     if test x"$ac_file" != x-; then
                   16273:       configure_input="$ac_file.  $configure_input"
                   16274:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
                   16275: $as_echo "$as_me: creating $ac_file" >&6;}
                   16276:     fi
                   16277:     # Neutralize special characters interpreted by sed in replacement strings.
                   16278:     case $configure_input in #(
                   16279:     *\&* | *\|* | *\\* )
                   16280:        ac_sed_conf_input=`$as_echo "$configure_input" |
                   16281:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   16282:     *) ac_sed_conf_input=$configure_input;;
                   16283:     esac
                   16284: 
                   16285:     case $ac_tag in
1.1.1.2 ! misho    16286:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
        !          16287:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
1.1       misho    16288:     esac
                   16289:     ;;
                   16290:   esac
                   16291: 
                   16292:   ac_dir=`$as_dirname -- "$ac_file" ||
                   16293: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   16294:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   16295:         X"$ac_file" : 'X\(//\)$' \| \
                   16296:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
                   16297: $as_echo X"$ac_file" |
                   16298:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   16299:            s//\1/
                   16300:            q
                   16301:          }
                   16302:          /^X\(\/\/\)[^/].*/{
                   16303:            s//\1/
                   16304:            q
                   16305:          }
                   16306:          /^X\(\/\/\)$/{
                   16307:            s//\1/
                   16308:            q
                   16309:          }
                   16310:          /^X\(\/\).*/{
                   16311:            s//\1/
                   16312:            q
                   16313:          }
                   16314:          s/.*/./; q'`
                   16315:   as_dir="$ac_dir"; as_fn_mkdir_p
                   16316:   ac_builddir=.
                   16317: 
                   16318: case "$ac_dir" in
                   16319: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   16320: *)
                   16321:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   16322:   # A ".." for each directory in $ac_dir_suffix.
                   16323:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   16324:   case $ac_top_builddir_sub in
                   16325:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   16326:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   16327:   esac ;;
                   16328: esac
                   16329: ac_abs_top_builddir=$ac_pwd
                   16330: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   16331: # for backward compatibility:
                   16332: ac_top_builddir=$ac_top_build_prefix
                   16333: 
                   16334: case $srcdir in
                   16335:   .)  # We are building in place.
                   16336:     ac_srcdir=.
                   16337:     ac_top_srcdir=$ac_top_builddir_sub
                   16338:     ac_abs_top_srcdir=$ac_pwd ;;
                   16339:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   16340:     ac_srcdir=$srcdir$ac_dir_suffix;
                   16341:     ac_top_srcdir=$srcdir
                   16342:     ac_abs_top_srcdir=$srcdir ;;
                   16343:   *) # Relative name.
                   16344:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   16345:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   16346:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   16347: esac
                   16348: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   16349: 
                   16350: 
                   16351:   case $ac_mode in
                   16352:   :F)
                   16353:   #
                   16354:   # CONFIG_FILE
                   16355:   #
                   16356: 
                   16357:   case $INSTALL in
                   16358:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   16359:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
                   16360:   esac
                   16361:   ac_MKDIR_P=$MKDIR_P
                   16362:   case $MKDIR_P in
                   16363:   [\\/$]* | ?:[\\/]* ) ;;
                   16364:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
                   16365:   esac
                   16366: _ACEOF
                   16367: 
                   16368: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   16369: # If the template does not know about datarootdir, expand it.
                   16370: # FIXME: This hack should be removed a few years after 2.60.
                   16371: ac_datarootdir_hack=; ac_datarootdir_seen=
                   16372: ac_sed_dataroot='
                   16373: /datarootdir/ {
                   16374:   p
                   16375:   q
                   16376: }
                   16377: /@datadir@/p
                   16378: /@docdir@/p
                   16379: /@infodir@/p
                   16380: /@localedir@/p
                   16381: /@mandir@/p'
                   16382: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
                   16383: *datarootdir*) ac_datarootdir_seen=yes;;
                   16384: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
                   16385:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
                   16386: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
                   16387: _ACEOF
                   16388: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   16389:   ac_datarootdir_hack='
                   16390:   s&@datadir@&$datadir&g
                   16391:   s&@docdir@&$docdir&g
                   16392:   s&@infodir@&$infodir&g
                   16393:   s&@localedir@&$localedir&g
                   16394:   s&@mandir@&$mandir&g
                   16395:   s&\\\${datarootdir}&$datarootdir&g' ;;
                   16396: esac
                   16397: _ACEOF
                   16398: 
                   16399: # Neutralize VPATH when `$srcdir' = `.'.
                   16400: # Shell code in configure.ac might set extrasub.
                   16401: # FIXME: do we really want to maintain this feature?
                   16402: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   16403: ac_sed_extra="$ac_vpsub
                   16404: $extrasub
                   16405: _ACEOF
                   16406: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   16407: :t
                   16408: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   16409: s|@configure_input@|$ac_sed_conf_input|;t t
                   16410: s&@top_builddir@&$ac_top_builddir_sub&;t t
                   16411: s&@top_build_prefix@&$ac_top_build_prefix&;t t
                   16412: s&@srcdir@&$ac_srcdir&;t t
                   16413: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   16414: s&@top_srcdir@&$ac_top_srcdir&;t t
                   16415: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   16416: s&@builddir@&$ac_builddir&;t t
                   16417: s&@abs_builddir@&$ac_abs_builddir&;t t
                   16418: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
                   16419: s&@INSTALL@&$ac_INSTALL&;t t
                   16420: s&@MKDIR_P@&$ac_MKDIR_P&;t t
                   16421: $ac_datarootdir_hack
                   16422: "
1.1.1.2 ! misho    16423: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
        !          16424:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.1       misho    16425: 
                   16426: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1.1.1.2 ! misho    16427:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
        !          16428:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
        !          16429:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
1.1       misho    16430:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   16431: which seems to be undefined.  Please make sure it is defined" >&5
                   16432: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   16433: which seems to be undefined.  Please make sure it is defined" >&2;}
                   16434: 
1.1.1.2 ! misho    16435:   rm -f "$ac_tmp/stdin"
1.1       misho    16436:   case $ac_file in
1.1.1.2 ! misho    16437:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
        !          16438:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
1.1       misho    16439:   esac \
                   16440:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   16441:  ;;
                   16442:   :H)
                   16443:   #
                   16444:   # CONFIG_HEADER
                   16445:   #
                   16446:   if test x"$ac_file" != x-; then
                   16447:     {
                   16448:       $as_echo "/* $configure_input  */" \
1.1.1.2 ! misho    16449:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
        !          16450:     } >"$ac_tmp/config.h" \
1.1       misho    16451:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.1.1.2 ! misho    16452:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
1.1       misho    16453:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
                   16454: $as_echo "$as_me: $ac_file is unchanged" >&6;}
                   16455:     else
                   16456:       rm -f "$ac_file"
1.1.1.2 ! misho    16457:       mv "$ac_tmp/config.h" "$ac_file" \
1.1       misho    16458:        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   16459:     fi
                   16460:   else
                   16461:     $as_echo "/* $configure_input  */" \
1.1.1.2 ! misho    16462:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
1.1       misho    16463:       || as_fn_error $? "could not create -" "$LINENO" 5
                   16464:   fi
                   16465: # Compute "$ac_file"'s index in $config_headers.
                   16466: _am_arg="$ac_file"
                   16467: _am_stamp_count=1
                   16468: for _am_header in $config_headers :; do
                   16469:   case $_am_header in
                   16470:     $_am_arg | $_am_arg:* )
                   16471:       break ;;
                   16472:     * )
                   16473:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   16474:   esac
                   16475: done
                   16476: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
                   16477: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   16478:         X"$_am_arg" : 'X\(//\)[^/]' \| \
                   16479:         X"$_am_arg" : 'X\(//\)$' \| \
                   16480:         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
                   16481: $as_echo X"$_am_arg" |
                   16482:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   16483:            s//\1/
                   16484:            q
                   16485:          }
                   16486:          /^X\(\/\/\)[^/].*/{
                   16487:            s//\1/
                   16488:            q
                   16489:          }
                   16490:          /^X\(\/\/\)$/{
                   16491:            s//\1/
                   16492:            q
                   16493:          }
                   16494:          /^X\(\/\).*/{
                   16495:            s//\1/
                   16496:            q
                   16497:          }
                   16498:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   16499:  ;;
                   16500: 
                   16501:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
                   16502: $as_echo "$as_me: executing $ac_file commands" >&6;}
                   16503:  ;;
                   16504:   esac
                   16505: 
                   16506: 
                   16507:   case $ac_file$ac_mode in
                   16508:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
1.1.1.2 ! misho    16509:   # Older Autoconf quotes --file arguments for eval, but not when files
1.1       misho    16510:   # are listed without --file.  Let's play safe and only enable the eval
                   16511:   # if we detect the quoting.
                   16512:   case $CONFIG_FILES in
                   16513:   *\'*) eval set x "$CONFIG_FILES" ;;
                   16514:   *)   set x $CONFIG_FILES ;;
                   16515:   esac
                   16516:   shift
                   16517:   for mf
                   16518:   do
                   16519:     # Strip MF so we end up with the name of the file.
                   16520:     mf=`echo "$mf" | sed -e 's/:.*$//'`
                   16521:     # Check whether this is an Automake generated Makefile or not.
1.1.1.2 ! misho    16522:     # We used to match only the files named 'Makefile.in', but
1.1       misho    16523:     # some people rename them; so instead we look at the file content.
                   16524:     # Grep'ing the first line is not enough: some people post-process
                   16525:     # each Makefile.in and add a new line on top of each file to say so.
                   16526:     # Grep'ing the whole file is not good either: AIX grep has a line
                   16527:     # limit of 2048, but all sed's we know have understand at least 4000.
                   16528:     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
                   16529:       dirpart=`$as_dirname -- "$mf" ||
                   16530: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   16531:         X"$mf" : 'X\(//\)[^/]' \| \
                   16532:         X"$mf" : 'X\(//\)$' \| \
                   16533:         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
                   16534: $as_echo X"$mf" |
                   16535:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   16536:            s//\1/
                   16537:            q
                   16538:          }
                   16539:          /^X\(\/\/\)[^/].*/{
                   16540:            s//\1/
                   16541:            q
                   16542:          }
                   16543:          /^X\(\/\/\)$/{
                   16544:            s//\1/
                   16545:            q
                   16546:          }
                   16547:          /^X\(\/\).*/{
                   16548:            s//\1/
                   16549:            q
                   16550:          }
                   16551:          s/.*/./; q'`
                   16552:     else
                   16553:       continue
                   16554:     fi
                   16555:     # Extract the definition of DEPDIR, am__include, and am__quote
1.1.1.2 ! misho    16556:     # from the Makefile without running 'make'.
1.1       misho    16557:     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
                   16558:     test -z "$DEPDIR" && continue
                   16559:     am__include=`sed -n 's/^am__include = //p' < "$mf"`
                   16560:     test -z "am__include" && continue
                   16561:     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
                   16562:     # Find all dependency output files, they are included files with
                   16563:     # $(DEPDIR) in their names.  We invoke sed twice because it is the
                   16564:     # simplest approach to changing $(DEPDIR) to its actual value in the
                   16565:     # expansion.
                   16566:     for file in `sed -n "
                   16567:       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
1.1.1.2 ! misho    16568:         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
1.1       misho    16569:       # Make sure the directory exists.
                   16570:       test -f "$dirpart/$file" && continue
                   16571:       fdir=`$as_dirname -- "$file" ||
                   16572: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   16573:         X"$file" : 'X\(//\)[^/]' \| \
                   16574:         X"$file" : 'X\(//\)$' \| \
                   16575:         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
                   16576: $as_echo X"$file" |
                   16577:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   16578:            s//\1/
                   16579:            q
                   16580:          }
                   16581:          /^X\(\/\/\)[^/].*/{
                   16582:            s//\1/
                   16583:            q
                   16584:          }
                   16585:          /^X\(\/\/\)$/{
                   16586:            s//\1/
                   16587:            q
                   16588:          }
                   16589:          /^X\(\/\).*/{
                   16590:            s//\1/
                   16591:            q
                   16592:          }
                   16593:          s/.*/./; q'`
                   16594:       as_dir=$dirpart/$fdir; as_fn_mkdir_p
                   16595:       # echo "creating $dirpart/$file"
                   16596:       echo '# dummy' > "$dirpart/$file"
                   16597:     done
                   16598:   done
                   16599: }
                   16600:  ;;
                   16601:     "libtool":C)
                   16602: 
                   16603:     # See if we are running on zsh, and set the options which allow our
                   16604:     # commands through without removal of \ escapes.
                   16605:     if test -n "${ZSH_VERSION+set}" ; then
                   16606:       setopt NO_GLOB_SUBST
                   16607:     fi
                   16608: 
                   16609:     cfgfile="${ofile}T"
                   16610:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
                   16611:     $RM "$cfgfile"
                   16612: 
                   16613:     cat <<_LT_EOF >> "$cfgfile"
                   16614: #! $SHELL
                   16615: 
                   16616: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
                   16617: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
                   16618: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
                   16619: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
                   16620: #
                   16621: #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
1.1.1.2 ! misho    16622: #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
        !          16623: #                 Foundation, Inc.
1.1       misho    16624: #   Written by Gordon Matzigkeit, 1996
                   16625: #
                   16626: #   This file is part of GNU Libtool.
                   16627: #
                   16628: # GNU Libtool is free software; you can redistribute it and/or
                   16629: # modify it under the terms of the GNU General Public License as
                   16630: # published by the Free Software Foundation; either version 2 of
                   16631: # the License, or (at your option) any later version.
                   16632: #
                   16633: # As a special exception to the GNU General Public License,
                   16634: # if you distribute this file as part of a program or library that
                   16635: # is built using GNU Libtool, you may include this file under the
                   16636: # same distribution terms that you use for the rest of that program.
                   16637: #
                   16638: # GNU Libtool is distributed in the hope that it will be useful,
                   16639: # but WITHOUT ANY WARRANTY; without even the implied warranty of
                   16640: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   16641: # GNU General Public License for more details.
                   16642: #
                   16643: # You should have received a copy of the GNU General Public License
                   16644: # along with GNU Libtool; see the file COPYING.  If not, a copy
                   16645: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
                   16646: # obtained by writing to the Free Software Foundation, Inc.,
                   16647: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
                   16648: 
                   16649: 
                   16650: # The names of the tagged configurations supported by this script.
                   16651: available_tags=""
                   16652: 
                   16653: # ### BEGIN LIBTOOL CONFIG
                   16654: 
                   16655: # Whether or not to build shared libraries.
                   16656: build_libtool_libs=$enable_shared
                   16657: 
                   16658: # Which release of libtool.m4 was used?
                   16659: macro_version=$macro_version
                   16660: macro_revision=$macro_revision
                   16661: 
                   16662: # Whether or not to build static libraries.
                   16663: build_old_libs=$enable_static
                   16664: 
                   16665: # What type of objects to build.
                   16666: pic_mode=$pic_mode
                   16667: 
                   16668: # Whether or not to optimize for fast installation.
                   16669: fast_install=$enable_fast_install
                   16670: 
1.1.1.2 ! misho    16671: # Shell to use when invoking shell scripts.
        !          16672: SHELL=$lt_SHELL
        !          16673: 
        !          16674: # An echo program that protects backslashes.
        !          16675: ECHO=$lt_ECHO
        !          16676: 
        !          16677: # The PATH separator for the build system.
        !          16678: PATH_SEPARATOR=$lt_PATH_SEPARATOR
        !          16679: 
1.1       misho    16680: # The host system.
                   16681: host_alias=$host_alias
                   16682: host=$host
                   16683: host_os=$host_os
                   16684: 
                   16685: # The build system.
                   16686: build_alias=$build_alias
                   16687: build=$build
                   16688: build_os=$build_os
                   16689: 
                   16690: # A sed program that does not truncate output.
                   16691: SED=$lt_SED
                   16692: 
                   16693: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   16694: Xsed="\$SED -e 1s/^X//"
                   16695: 
                   16696: # A grep program that handles long lines.
                   16697: GREP=$lt_GREP
                   16698: 
                   16699: # An ERE matcher.
                   16700: EGREP=$lt_EGREP
                   16701: 
                   16702: # A literal string matcher.
                   16703: FGREP=$lt_FGREP
                   16704: 
                   16705: # A BSD- or MS-compatible name lister.
                   16706: NM=$lt_NM
                   16707: 
                   16708: # Whether we need soft or hard links.
                   16709: LN_S=$lt_LN_S
                   16710: 
                   16711: # What is the maximum length of a command?
                   16712: max_cmd_len=$max_cmd_len
                   16713: 
                   16714: # Object file suffix (normally "o").
                   16715: objext=$ac_objext
                   16716: 
                   16717: # Executable file suffix (normally "").
                   16718: exeext=$exeext
                   16719: 
                   16720: # whether the shell understands "unset".
                   16721: lt_unset=$lt_unset
                   16722: 
                   16723: # turn spaces into newlines.
                   16724: SP2NL=$lt_lt_SP2NL
                   16725: 
                   16726: # turn newlines into spaces.
                   16727: NL2SP=$lt_lt_NL2SP
                   16728: 
1.1.1.2 ! misho    16729: # convert \$build file names to \$host format.
        !          16730: to_host_file_cmd=$lt_cv_to_host_file_cmd
        !          16731: 
        !          16732: # convert \$build files to toolchain format.
        !          16733: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
1.1       misho    16734: 
                   16735: # An object symbol dumper.
                   16736: OBJDUMP=$lt_OBJDUMP
                   16737: 
                   16738: # Method to check whether dependent libraries are shared objects.
                   16739: deplibs_check_method=$lt_deplibs_check_method
                   16740: 
1.1.1.2 ! misho    16741: # Command to use when deplibs_check_method = "file_magic".
1.1       misho    16742: file_magic_cmd=$lt_file_magic_cmd
                   16743: 
1.1.1.2 ! misho    16744: # How to find potential files when deplibs_check_method = "file_magic".
        !          16745: file_magic_glob=$lt_file_magic_glob
        !          16746: 
        !          16747: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
        !          16748: want_nocaseglob=$lt_want_nocaseglob
        !          16749: 
        !          16750: # DLL creation program.
        !          16751: DLLTOOL=$lt_DLLTOOL
        !          16752: 
        !          16753: # Command to associate shared and link libraries.
        !          16754: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
        !          16755: 
1.1       misho    16756: # The archiver.
                   16757: AR=$lt_AR
1.1.1.2 ! misho    16758: 
        !          16759: # Flags to create an archive.
1.1       misho    16760: AR_FLAGS=$lt_AR_FLAGS
                   16761: 
1.1.1.2 ! misho    16762: # How to feed a file listing to the archiver.
        !          16763: archiver_list_spec=$lt_archiver_list_spec
        !          16764: 
1.1       misho    16765: # A symbol stripping program.
                   16766: STRIP=$lt_STRIP
                   16767: 
                   16768: # Commands used to install an old-style archive.
                   16769: RANLIB=$lt_RANLIB
                   16770: old_postinstall_cmds=$lt_old_postinstall_cmds
                   16771: old_postuninstall_cmds=$lt_old_postuninstall_cmds
                   16772: 
1.1.1.2 ! misho    16773: # Whether to use a lock for old archive extraction.
        !          16774: lock_old_archive_extraction=$lock_old_archive_extraction
        !          16775: 
1.1       misho    16776: # A C compiler.
                   16777: LTCC=$lt_CC
                   16778: 
                   16779: # LTCC compiler flags.
                   16780: LTCFLAGS=$lt_CFLAGS
                   16781: 
                   16782: # Take the output of nm and produce a listing of raw symbols and C names.
                   16783: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
                   16784: 
                   16785: # Transform the output of nm in a proper C declaration.
                   16786: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
                   16787: 
                   16788: # Transform the output of nm in a C name address pair.
                   16789: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
                   16790: 
                   16791: # Transform the output of nm in a C name address pair when lib prefix is needed.
                   16792: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
                   16793: 
1.1.1.2 ! misho    16794: # Specify filename containing input files for \$NM.
        !          16795: nm_file_list_spec=$lt_nm_file_list_spec
1.1       misho    16796: 
1.1.1.2 ! misho    16797: # The root where to search for dependent libraries,and in which our libraries should be installed.
        !          16798: lt_sysroot=$lt_sysroot
1.1       misho    16799: 
1.1.1.2 ! misho    16800: # The name of the directory that contains temporary libtool files.
        !          16801: objdir=$objdir
1.1       misho    16802: 
                   16803: # Used to examine libraries when file_magic_cmd begins with "file".
                   16804: MAGIC_CMD=$MAGIC_CMD
                   16805: 
                   16806: # Must we lock files when doing compilation?
                   16807: need_locks=$lt_need_locks
                   16808: 
1.1.1.2 ! misho    16809: # Manifest tool.
        !          16810: MANIFEST_TOOL=$lt_MANIFEST_TOOL
        !          16811: 
1.1       misho    16812: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
                   16813: DSYMUTIL=$lt_DSYMUTIL
                   16814: 
                   16815: # Tool to change global to local symbols on Mac OS X.
                   16816: NMEDIT=$lt_NMEDIT
                   16817: 
                   16818: # Tool to manipulate fat objects and archives on Mac OS X.
                   16819: LIPO=$lt_LIPO
                   16820: 
                   16821: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
                   16822: OTOOL=$lt_OTOOL
                   16823: 
                   16824: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
                   16825: OTOOL64=$lt_OTOOL64
                   16826: 
                   16827: # Old archive suffix (normally "a").
                   16828: libext=$libext
                   16829: 
                   16830: # Shared library suffix (normally ".so").
                   16831: shrext_cmds=$lt_shrext_cmds
                   16832: 
                   16833: # The commands to extract the exported symbol list from a shared archive.
                   16834: extract_expsyms_cmds=$lt_extract_expsyms_cmds
                   16835: 
                   16836: # Variables whose values should be saved in libtool wrapper scripts and
                   16837: # restored at link time.
                   16838: variables_saved_for_relink=$lt_variables_saved_for_relink
                   16839: 
                   16840: # Do we need the "lib" prefix for modules?
                   16841: need_lib_prefix=$need_lib_prefix
                   16842: 
                   16843: # Do we need a version for libraries?
                   16844: need_version=$need_version
                   16845: 
                   16846: # Library versioning type.
                   16847: version_type=$version_type
                   16848: 
                   16849: # Shared library runtime path variable.
                   16850: runpath_var=$runpath_var
                   16851: 
                   16852: # Shared library path variable.
                   16853: shlibpath_var=$shlibpath_var
                   16854: 
                   16855: # Is shlibpath searched before the hard-coded library search path?
                   16856: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
                   16857: 
                   16858: # Format of library name prefix.
                   16859: libname_spec=$lt_libname_spec
                   16860: 
                   16861: # List of archive names.  First name is the real one, the rest are links.
                   16862: # The last name is the one that the linker finds with -lNAME
                   16863: library_names_spec=$lt_library_names_spec
                   16864: 
                   16865: # The coded name of the library, if different from the real name.
                   16866: soname_spec=$lt_soname_spec
                   16867: 
1.1.1.2 ! misho    16868: # Permission mode override for installation of shared libraries.
        !          16869: install_override_mode=$lt_install_override_mode
        !          16870: 
1.1       misho    16871: # Command to use after installation of a shared archive.
                   16872: postinstall_cmds=$lt_postinstall_cmds
                   16873: 
                   16874: # Command to use after uninstallation of a shared archive.
                   16875: postuninstall_cmds=$lt_postuninstall_cmds
                   16876: 
                   16877: # Commands used to finish a libtool library installation in a directory.
                   16878: finish_cmds=$lt_finish_cmds
                   16879: 
                   16880: # As "finish_cmds", except a single script fragment to be evaled but
                   16881: # not shown.
                   16882: finish_eval=$lt_finish_eval
                   16883: 
                   16884: # Whether we should hardcode library paths into libraries.
                   16885: hardcode_into_libs=$hardcode_into_libs
                   16886: 
                   16887: # Compile-time system search path for libraries.
                   16888: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
                   16889: 
                   16890: # Run-time system search path for libraries.
                   16891: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
                   16892: 
                   16893: # Whether dlopen is supported.
                   16894: dlopen_support=$enable_dlopen
                   16895: 
                   16896: # Whether dlopen of programs is supported.
                   16897: dlopen_self=$enable_dlopen_self
                   16898: 
                   16899: # Whether dlopen of statically linked programs is supported.
                   16900: dlopen_self_static=$enable_dlopen_self_static
                   16901: 
                   16902: # Commands to strip libraries.
                   16903: old_striplib=$lt_old_striplib
                   16904: striplib=$lt_striplib
                   16905: 
                   16906: 
                   16907: # The linker used to build libraries.
                   16908: LD=$lt_LD
                   16909: 
1.1.1.2 ! misho    16910: # How to create reloadable object files.
        !          16911: reload_flag=$lt_reload_flag
        !          16912: reload_cmds=$lt_reload_cmds
        !          16913: 
1.1       misho    16914: # Commands used to build an old-style archive.
                   16915: old_archive_cmds=$lt_old_archive_cmds
                   16916: 
                   16917: # A language specific compiler.
                   16918: CC=$lt_compiler
                   16919: 
                   16920: # Is the compiler the GNU compiler?
                   16921: with_gcc=$GCC
                   16922: 
                   16923: # Compiler flag to turn off builtin functions.
                   16924: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
                   16925: 
                   16926: # Additional compiler flags for building library objects.
                   16927: pic_flag=$lt_lt_prog_compiler_pic
                   16928: 
1.1.1.2 ! misho    16929: # How to pass a linker flag through the compiler.
        !          16930: wl=$lt_lt_prog_compiler_wl
        !          16931: 
1.1       misho    16932: # Compiler flag to prevent dynamic linking.
                   16933: link_static_flag=$lt_lt_prog_compiler_static
                   16934: 
                   16935: # Does compiler simultaneously support -c and -o options?
                   16936: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
                   16937: 
                   16938: # Whether or not to add -lc for building shared libraries.
                   16939: build_libtool_need_lc=$archive_cmds_need_lc
                   16940: 
                   16941: # Whether or not to disallow shared libs when runtime libs are static.
                   16942: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
                   16943: 
                   16944: # Compiler flag to allow reflexive dlopens.
                   16945: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
                   16946: 
                   16947: # Compiler flag to generate shared objects directly from archives.
                   16948: whole_archive_flag_spec=$lt_whole_archive_flag_spec
                   16949: 
                   16950: # Whether the compiler copes with passing no objects directly.
                   16951: compiler_needs_object=$lt_compiler_needs_object
                   16952: 
                   16953: # Create an old-style archive from a shared archive.
                   16954: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
                   16955: 
                   16956: # Create a temporary old-style archive to link instead of a shared archive.
                   16957: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
                   16958: 
                   16959: # Commands used to build a shared archive.
                   16960: archive_cmds=$lt_archive_cmds
                   16961: archive_expsym_cmds=$lt_archive_expsym_cmds
                   16962: 
                   16963: # Commands used to build a loadable module if different from building
                   16964: # a shared archive.
                   16965: module_cmds=$lt_module_cmds
                   16966: module_expsym_cmds=$lt_module_expsym_cmds
                   16967: 
                   16968: # Whether we are building with GNU ld or not.
                   16969: with_gnu_ld=$lt_with_gnu_ld
                   16970: 
                   16971: # Flag that allows shared libraries with undefined symbols to be built.
                   16972: allow_undefined_flag=$lt_allow_undefined_flag
                   16973: 
                   16974: # Flag that enforces no undefined symbols.
                   16975: no_undefined_flag=$lt_no_undefined_flag
                   16976: 
                   16977: # Flag to hardcode \$libdir into a binary during linking.
                   16978: # This must work even if \$libdir does not exist
                   16979: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
                   16980: 
                   16981: # Whether we need a single "-rpath" flag with a separated argument.
                   16982: hardcode_libdir_separator=$lt_hardcode_libdir_separator
                   16983: 
                   16984: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   16985: # DIR into the resulting binary.
                   16986: hardcode_direct=$hardcode_direct
                   16987: 
                   16988: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   16989: # DIR into the resulting binary and the resulting library dependency is
                   16990: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   16991: # library is relocated.
                   16992: hardcode_direct_absolute=$hardcode_direct_absolute
                   16993: 
                   16994: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   16995: # into the resulting binary.
                   16996: hardcode_minus_L=$hardcode_minus_L
                   16997: 
                   16998: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   16999: # into the resulting binary.
                   17000: hardcode_shlibpath_var=$hardcode_shlibpath_var
                   17001: 
                   17002: # Set to "yes" if building a shared library automatically hardcodes DIR
                   17003: # into the library and all subsequent libraries and executables linked
                   17004: # against it.
                   17005: hardcode_automatic=$hardcode_automatic
                   17006: 
                   17007: # Set to yes if linker adds runtime paths of dependent libraries
                   17008: # to runtime path list.
                   17009: inherit_rpath=$inherit_rpath
                   17010: 
                   17011: # Whether libtool must link a program against all its dependency libraries.
                   17012: link_all_deplibs=$link_all_deplibs
                   17013: 
                   17014: # Set to "yes" if exported symbols are required.
                   17015: always_export_symbols=$always_export_symbols
                   17016: 
                   17017: # The commands to list exported symbols.
                   17018: export_symbols_cmds=$lt_export_symbols_cmds
                   17019: 
                   17020: # Symbols that should not be listed in the preloaded symbols.
                   17021: exclude_expsyms=$lt_exclude_expsyms
                   17022: 
                   17023: # Symbols that must always be exported.
                   17024: include_expsyms=$lt_include_expsyms
                   17025: 
                   17026: # Commands necessary for linking programs (against libraries) with templates.
                   17027: prelink_cmds=$lt_prelink_cmds
                   17028: 
1.1.1.2 ! misho    17029: # Commands necessary for finishing linking programs.
        !          17030: postlink_cmds=$lt_postlink_cmds
        !          17031: 
1.1       misho    17032: # Specify filename containing input files.
                   17033: file_list_spec=$lt_file_list_spec
                   17034: 
                   17035: # How to hardcode a shared library path into an executable.
                   17036: hardcode_action=$hardcode_action
                   17037: 
                   17038: # ### END LIBTOOL CONFIG
                   17039: 
                   17040: _LT_EOF
                   17041: 
                   17042:   case $host_os in
                   17043:   aix3*)
                   17044:     cat <<\_LT_EOF >> "$cfgfile"
                   17045: # AIX sometimes has problems with the GCC collect2 program.  For some
                   17046: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   17047: # vanish in a puff of smoke.
                   17048: if test "X${COLLECT_NAMES+set}" != Xset; then
                   17049:   COLLECT_NAMES=
                   17050:   export COLLECT_NAMES
                   17051: fi
                   17052: _LT_EOF
                   17053:     ;;
                   17054:   esac
                   17055: 
                   17056: 
                   17057: ltmain="$ac_aux_dir/ltmain.sh"
                   17058: 
                   17059: 
                   17060:   # We use sed instead of cat because bash on DJGPP gets confused if
                   17061:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   17062:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   17063:   # is reportedly fixed, but why not run on old versions too?
1.1.1.2 ! misho    17064:   sed '$q' "$ltmain" >> "$cfgfile" \
        !          17065:      || (rm -f "$cfgfile"; exit 1)
1.1       misho    17066: 
1.1.1.2 ! misho    17067:   if test x"$xsi_shell" = xyes; then
        !          17068:   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
        !          17069: func_dirname ()\
        !          17070: {\
        !          17071: \    case ${1} in\
        !          17072: \      */*) func_dirname_result="${1%/*}${2}" ;;\
        !          17073: \      *  ) func_dirname_result="${3}" ;;\
        !          17074: \    esac\
        !          17075: } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
        !          17076:   && mv -f "$cfgfile.tmp" "$cfgfile" \
        !          17077:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
        !          17078: test 0 -eq $? || _lt_function_replace_fail=:
        !          17079: 
        !          17080: 
        !          17081:   sed -e '/^func_basename ()$/,/^} # func_basename /c\
        !          17082: func_basename ()\
        !          17083: {\
        !          17084: \    func_basename_result="${1##*/}"\
        !          17085: } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
        !          17086:   && mv -f "$cfgfile.tmp" "$cfgfile" \
        !          17087:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
        !          17088: test 0 -eq $? || _lt_function_replace_fail=:
        !          17089: 
        !          17090: 
        !          17091:   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
        !          17092: func_dirname_and_basename ()\
        !          17093: {\
        !          17094: \    case ${1} in\
        !          17095: \      */*) func_dirname_result="${1%/*}${2}" ;;\
        !          17096: \      *  ) func_dirname_result="${3}" ;;\
        !          17097: \    esac\
        !          17098: \    func_basename_result="${1##*/}"\
        !          17099: } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
        !          17100:   && mv -f "$cfgfile.tmp" "$cfgfile" \
        !          17101:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
        !          17102: test 0 -eq $? || _lt_function_replace_fail=:
        !          17103: 
        !          17104: 
        !          17105:   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
        !          17106: func_stripname ()\
        !          17107: {\
        !          17108: \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
        !          17109: \    # positional parameters, so assign one to ordinary parameter first.\
        !          17110: \    func_stripname_result=${3}\
        !          17111: \    func_stripname_result=${func_stripname_result#"${1}"}\
        !          17112: \    func_stripname_result=${func_stripname_result%"${2}"}\
        !          17113: } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
        !          17114:   && mv -f "$cfgfile.tmp" "$cfgfile" \
        !          17115:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
        !          17116: test 0 -eq $? || _lt_function_replace_fail=:
        !          17117: 
        !          17118: 
        !          17119:   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
        !          17120: func_split_long_opt ()\
        !          17121: {\
        !          17122: \    func_split_long_opt_name=${1%%=*}\
        !          17123: \    func_split_long_opt_arg=${1#*=}\
        !          17124: } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
        !          17125:   && mv -f "$cfgfile.tmp" "$cfgfile" \
        !          17126:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
        !          17127: test 0 -eq $? || _lt_function_replace_fail=:
        !          17128: 
        !          17129: 
        !          17130:   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
        !          17131: func_split_short_opt ()\
        !          17132: {\
        !          17133: \    func_split_short_opt_arg=${1#??}\
        !          17134: \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
        !          17135: } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
        !          17136:   && mv -f "$cfgfile.tmp" "$cfgfile" \
        !          17137:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
        !          17138: test 0 -eq $? || _lt_function_replace_fail=:
        !          17139: 
        !          17140: 
        !          17141:   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
        !          17142: func_lo2o ()\
        !          17143: {\
        !          17144: \    case ${1} in\
        !          17145: \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
        !          17146: \      *)    func_lo2o_result=${1} ;;\
        !          17147: \    esac\
        !          17148: } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
        !          17149:   && mv -f "$cfgfile.tmp" "$cfgfile" \
        !          17150:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
        !          17151: test 0 -eq $? || _lt_function_replace_fail=:
        !          17152: 
        !          17153: 
        !          17154:   sed -e '/^func_xform ()$/,/^} # func_xform /c\
        !          17155: func_xform ()\
        !          17156: {\
        !          17157:     func_xform_result=${1%.*}.lo\
        !          17158: } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
        !          17159:   && mv -f "$cfgfile.tmp" "$cfgfile" \
        !          17160:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
        !          17161: test 0 -eq $? || _lt_function_replace_fail=:
        !          17162: 
        !          17163: 
        !          17164:   sed -e '/^func_arith ()$/,/^} # func_arith /c\
        !          17165: func_arith ()\
        !          17166: {\
        !          17167:     func_arith_result=$(( $* ))\
        !          17168: } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
        !          17169:   && mv -f "$cfgfile.tmp" "$cfgfile" \
        !          17170:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
        !          17171: test 0 -eq $? || _lt_function_replace_fail=:
        !          17172: 
        !          17173: 
        !          17174:   sed -e '/^func_len ()$/,/^} # func_len /c\
        !          17175: func_len ()\
        !          17176: {\
        !          17177:     func_len_result=${#1}\
        !          17178: } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
        !          17179:   && mv -f "$cfgfile.tmp" "$cfgfile" \
        !          17180:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
        !          17181: test 0 -eq $? || _lt_function_replace_fail=:
        !          17182: 
        !          17183: fi
        !          17184: 
        !          17185: if test x"$lt_shell_append" = xyes; then
        !          17186:   sed -e '/^func_append ()$/,/^} # func_append /c\
        !          17187: func_append ()\
        !          17188: {\
        !          17189:     eval "${1}+=\\${2}"\
        !          17190: } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
        !          17191:   && mv -f "$cfgfile.tmp" "$cfgfile" \
        !          17192:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
        !          17193: test 0 -eq $? || _lt_function_replace_fail=:
        !          17194: 
        !          17195: 
        !          17196:   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
        !          17197: func_append_quoted ()\
        !          17198: {\
        !          17199: \    func_quote_for_eval "${2}"\
        !          17200: \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
        !          17201: } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
        !          17202:   && mv -f "$cfgfile.tmp" "$cfgfile" \
        !          17203:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
        !          17204: test 0 -eq $? || _lt_function_replace_fail=:
        !          17205: 
        !          17206: 
        !          17207:   # Save a `func_append' function call where possible by direct use of '+='
        !          17208:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
        !          17209:     && mv -f "$cfgfile.tmp" "$cfgfile" \
        !          17210:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
        !          17211:   test 0 -eq $? || _lt_function_replace_fail=:
        !          17212: else
        !          17213:   # Save a `func_append' function call even when '+=' is not available
        !          17214:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
        !          17215:     && mv -f "$cfgfile.tmp" "$cfgfile" \
        !          17216:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
        !          17217:   test 0 -eq $? || _lt_function_replace_fail=:
        !          17218: fi
        !          17219: 
        !          17220: if test x"$_lt_function_replace_fail" = x":"; then
        !          17221:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
        !          17222: $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
        !          17223: fi
1.1       misho    17224: 
                   17225: 
1.1.1.2 ! misho    17226:    mv -f "$cfgfile" "$ofile" ||
1.1       misho    17227:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
                   17228:   chmod +x "$ofile"
                   17229: 
                   17230:  ;;
                   17231: 
                   17232:   esac
                   17233: done # for ac_tag
                   17234: 
                   17235: 
                   17236: as_fn_exit 0
                   17237: _ACEOF
                   17238: ac_clean_files=$ac_clean_files_save
                   17239: 
                   17240: test $ac_write_fail = 0 ||
                   17241:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
                   17242: 
                   17243: 
                   17244: # configure is writing to config.log, and then calls config.status.
                   17245: # config.status does its own redirection, appending to config.log.
                   17246: # Unfortunately, on DOS this fails, as config.log is still kept open
                   17247: # by configure, so config.status won't be able to write to it; its
                   17248: # output is simply discarded.  So we exec the FD to /dev/null,
                   17249: # effectively closing config.log, so it can be properly (re)opened and
                   17250: # appended to by config.status.  When coming back to configure, we
                   17251: # need to make the FD available again.
                   17252: if test "$no_create" != yes; then
                   17253:   ac_cs_success=:
                   17254:   ac_config_status_args=
                   17255:   test "$silent" = yes &&
                   17256:     ac_config_status_args="$ac_config_status_args --quiet"
                   17257:   exec 5>/dev/null
                   17258:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   17259:   exec 5>>config.log
                   17260:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   17261:   # would make configure fail if this is the last instruction.
                   17262:   $ac_cs_success || as_fn_exit 1
                   17263: fi
                   17264: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
                   17265:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
                   17266: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
                   17267: fi
                   17268: 

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