Annotation of embedaddon/libiconv/libcharset/configure, revision 1.1.1.2

1.1       misho       1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.1.1.2 ! misho       3: # Generated by GNU Autoconf 2.68.
        !             4: #
1.1       misho       5: #
                      6: # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1.1.1.2 ! misho       7: # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
        !             8: # Foundation, Inc.
        !             9: #
        !            10: #
1.1       misho      11: # This configure script is free software; the Free Software Foundation
                     12: # gives unlimited permission to copy, distribute and modify it.
1.1.1.2 ! misho      13: ## -------------------- ##
        !            14: ## M4sh Initialization. ##
        !            15: ## -------------------- ##
1.1       misho      16: 
                     17: # Be more Bourne compatible
                     18: DUALCASE=1; export DUALCASE # for MKS sh
1.1.1.2 ! misho      19: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.1       misho      20:   emulate sh
                     21:   NULLCMD=:
                     22:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
                     23:   # is contrary to our usage.  Disable this feature.
                     24:   alias -g '${1+"$@"}'='"$@"'
                     25:   setopt NO_GLOB_SUBST
                     26: else
1.1.1.2 ! misho      27:   case `(set -o) 2>/dev/null` in #(
        !            28:   *posix*) :
        !            29:     set -o posix ;; #(
        !            30:   *) :
        !            31:      ;;
1.1       misho      32: esac
                     33: fi
                     34: 
                     35: 
                     36: as_nl='
                     37: '
                     38: export as_nl
                     39: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                     40: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                     41: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                     42: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
1.1.1.2 ! misho      43: # Prefer a ksh shell builtin over an external printf program on Solaris,
        !            44: # but without wasting forks for bash or zsh.
        !            45: if test -z "$BASH_VERSION$ZSH_VERSION" \
        !            46:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
        !            47:   as_echo='print -r --'
        !            48:   as_echo_n='print -rn --'
        !            49: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
1.1       misho      50:   as_echo='printf %s\n'
                     51:   as_echo_n='printf %s'
                     52: else
                     53:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                     54:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                     55:     as_echo_n='/usr/ucb/echo -n'
                     56:   else
                     57:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                     58:     as_echo_n_body='eval
                     59:       arg=$1;
1.1.1.2 ! misho      60:       case $arg in #(
1.1       misho      61:       *"$as_nl"*)
                     62:        expr "X$arg" : "X\\(.*\\)$as_nl";
                     63:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                     64:       esac;
                     65:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                     66:     '
                     67:     export as_echo_n_body
                     68:     as_echo_n='sh -c $as_echo_n_body as_echo'
                     69:   fi
                     70:   export as_echo_body
                     71:   as_echo='sh -c $as_echo_body as_echo'
                     72: fi
                     73: 
                     74: # The user is always right.
                     75: if test "${PATH_SEPARATOR+set}" != set; then
                     76:   PATH_SEPARATOR=:
                     77:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                     78:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                     79:       PATH_SEPARATOR=';'
                     80:   }
                     81: fi
                     82: 
                     83: 
                     84: # IFS
                     85: # We need space, tab and new line, in precisely that order.  Quoting is
                     86: # there to prevent editors from complaining about space-tab.
                     87: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                     88: # splitting by setting IFS to empty value.)
                     89: IFS=" ""       $as_nl"
                     90: 
                     91: # Find who we are.  Look in the path if we contain no directory separator.
1.1.1.2 ! misho      92: as_myself=
        !            93: case $0 in #((
1.1       misho      94:   *[\\/]* ) as_myself=$0 ;;
                     95:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                     96: for as_dir in $PATH
                     97: do
                     98:   IFS=$as_save_IFS
                     99:   test -z "$as_dir" && as_dir=.
1.1.1.2 ! misho     100:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
        !           101:   done
1.1       misho     102: IFS=$as_save_IFS
                    103: 
                    104:      ;;
                    105: esac
                    106: # We did not find ourselves, most probably we were run as `sh COMMAND'
                    107: # in which case we are not to be found in the path.
                    108: if test "x$as_myself" = x; then
                    109:   as_myself=$0
                    110: fi
                    111: if test ! -f "$as_myself"; then
                    112:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1.1.1.2 ! misho     113:   exit 1
1.1       misho     114: fi
                    115: 
1.1.1.2 ! misho     116: # Unset variables that we do not need and which cause bugs (e.g. in
        !           117: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
        !           118: # suppresses any "Segmentation fault" message there.  '((' could
        !           119: # trigger a bug in pdksh 5.2.14.
        !           120: for as_var in BASH_ENV ENV MAIL MAILPATH
        !           121: do eval test x\${$as_var+set} = xset \
        !           122:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
1.1       misho     123: done
                    124: PS1='$ '
                    125: PS2='> '
                    126: PS4='+ '
                    127: 
                    128: # NLS nuisances.
                    129: LC_ALL=C
                    130: export LC_ALL
                    131: LANGUAGE=C
                    132: export LANGUAGE
                    133: 
                    134: # CDPATH.
1.1.1.2 ! misho     135: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1.1       misho     136: 
                    137: if test "x$CONFIG_SHELL" = x; then
1.1.1.2 ! misho     138:   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
        !           139:   emulate sh
        !           140:   NULLCMD=:
        !           141:   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
        !           142:   # is contrary to our usage.  Disable this feature.
        !           143:   alias -g '\${1+\"\$@\"}'='\"\$@\"'
        !           144:   setopt NO_GLOB_SUBST
1.1       misho     145: else
1.1.1.2 ! misho     146:   case \`(set -o) 2>/dev/null\` in #(
        !           147:   *posix*) :
        !           148:     set -o posix ;; #(
        !           149:   *) :
        !           150:      ;;
        !           151: esac
1.1       misho     152: fi
1.1.1.2 ! misho     153: "
        !           154:   as_required="as_fn_return () { (exit \$1); }
        !           155: as_fn_success () { as_fn_return 0; }
        !           156: as_fn_failure () { as_fn_return 1; }
        !           157: as_fn_ret_success () { return 0; }
        !           158: as_fn_ret_failure () { return 1; }
1.1       misho     159: 
                    160: exitcode=0
1.1.1.2 ! misho     161: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
        !           162: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
        !           163: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
        !           164: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
        !           165: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
        !           166: 
        !           167: else
        !           168:   exitcode=1; echo positional parameters were not saved.
        !           169: fi
        !           170: test x\$exitcode = x0 || exit 1"
        !           171:   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
        !           172:   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
        !           173:   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
        !           174:   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
        !           175: test \$(( 1 + 1 )) = 2 || exit 1
        !           176: 
        !           177:   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
        !           178:     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
        !           179:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
        !           180:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
        !           181:     PATH=/empty FPATH=/empty; export PATH FPATH
        !           182:     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
        !           183:       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
        !           184:   if (eval "$as_required") 2>/dev/null; then :
        !           185:   as_have_required=yes
1.1       misho     186: else
1.1.1.2 ! misho     187:   as_have_required=no
1.1       misho     188: fi
1.1.1.2 ! misho     189:   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
1.1       misho     190: 
                    191: else
1.1.1.2 ! misho     192:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !           193: as_found=false
1.1       misho     194: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                    195: do
                    196:   IFS=$as_save_IFS
                    197:   test -z "$as_dir" && as_dir=.
1.1.1.2 ! misho     198:   as_found=:
        !           199:   case $as_dir in #(
1.1       misho     200:         /*)
                    201:           for as_base in sh bash ksh sh5; do
1.1.1.2 ! misho     202:             # Try only shells that exist, to save several forks.
        !           203:             as_shell=$as_dir/$as_base
        !           204:             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
        !           205:                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
        !           206:   CONFIG_SHELL=$as_shell as_have_required=yes
        !           207:                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
        !           208:   break 2
        !           209: fi
        !           210: fi
1.1       misho     211:           done;;
                    212:        esac
1.1.1.2 ! misho     213:   as_found=false
1.1       misho     214: done
1.1.1.2 ! misho     215: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
        !           216:              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
        !           217:   CONFIG_SHELL=$SHELL as_have_required=yes
        !           218: fi; }
1.1       misho     219: IFS=$as_save_IFS
                    220: 
                    221: 
1.1.1.2 ! misho     222:       if test "x$CONFIG_SHELL" != x; then :
        !           223:   # We cannot yet assume a decent shell, so we have to provide a
        !           224:        # neutralization value for shells without unset; and this also
        !           225:        # works around shells that cannot unset nonexistent variables.
        !           226:        # Preserve -v and -x to the replacement shell.
        !           227:        BASH_ENV=/dev/null
        !           228:        ENV=/dev/null
        !           229:        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
        !           230:        export CONFIG_SHELL
        !           231:        case $- in # ((((
        !           232:          *v*x* | *x*v* ) as_opts=-vx ;;
        !           233:          *v* ) as_opts=-v ;;
        !           234:          *x* ) as_opts=-x ;;
        !           235:          * ) as_opts= ;;
        !           236:        esac
        !           237:        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
1.1       misho     238: fi
                    239: 
1.1.1.2 ! misho     240:     if test x$as_have_required = xno; then :
        !           241:   $as_echo "$0: This script requires a shell more modern than all"
        !           242:   $as_echo "$0: the shells that I found on your system."
        !           243:   if test x${ZSH_VERSION+set} = xset ; then
        !           244:     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
        !           245:     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
        !           246:   else
        !           247:     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
        !           248: $0: including any error possibly output before this
        !           249: $0: message. Then install a modern shell, or manually run
        !           250: $0: the script under such a shell if you do have one."
        !           251:   fi
        !           252:   exit 1
1.1       misho     253: fi
                    254: fi
                    255: fi
1.1.1.2 ! misho     256: SHELL=${CONFIG_SHELL-/bin/sh}
        !           257: export SHELL
        !           258: # Unset more variables known to interfere with behavior of common tools.
        !           259: CLICOLOR_FORCE= GREP_OPTIONS=
        !           260: unset CLICOLOR_FORCE GREP_OPTIONS
1.1       misho     261: 
1.1.1.2 ! misho     262: ## --------------------- ##
        !           263: ## M4sh Shell Functions. ##
        !           264: ## --------------------- ##
        !           265: # as_fn_unset VAR
        !           266: # ---------------
        !           267: # Portably unset VAR.
        !           268: as_fn_unset ()
        !           269: {
        !           270:   { eval $1=; unset $1;}
        !           271: }
        !           272: as_unset=as_fn_unset
        !           273: 
        !           274: # as_fn_set_status STATUS
        !           275: # -----------------------
        !           276: # Set $? to STATUS, without forking.
        !           277: as_fn_set_status ()
        !           278: {
        !           279:   return $1
        !           280: } # as_fn_set_status
        !           281: 
        !           282: # as_fn_exit STATUS
        !           283: # -----------------
        !           284: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
        !           285: as_fn_exit ()
        !           286: {
        !           287:   set +e
        !           288:   as_fn_set_status $1
        !           289:   exit $1
        !           290: } # as_fn_exit
        !           291: 
        !           292: # as_fn_mkdir_p
        !           293: # -------------
        !           294: # Create "$as_dir" as a directory, including parents if necessary.
        !           295: as_fn_mkdir_p ()
        !           296: {
1.1       misho     297: 
1.1.1.2 ! misho     298:   case $as_dir in #(
        !           299:   -*) as_dir=./$as_dir;;
        !           300:   esac
        !           301:   test -d "$as_dir" || eval $as_mkdir_p || {
        !           302:     as_dirs=
        !           303:     while :; do
        !           304:       case $as_dir in #(
        !           305:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
        !           306:       *) as_qdir=$as_dir;;
        !           307:       esac
        !           308:       as_dirs="'$as_qdir' $as_dirs"
        !           309:       as_dir=`$as_dirname -- "$as_dir" ||
        !           310: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
        !           311:         X"$as_dir" : 'X\(//\)[^/]' \| \
        !           312:         X"$as_dir" : 'X\(//\)$' \| \
        !           313:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
        !           314: $as_echo X"$as_dir" |
        !           315:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
        !           316:            s//\1/
        !           317:            q
        !           318:          }
        !           319:          /^X\(\/\/\)[^/].*/{
        !           320:            s//\1/
        !           321:            q
        !           322:          }
        !           323:          /^X\(\/\/\)$/{
        !           324:            s//\1/
        !           325:            q
        !           326:          }
        !           327:          /^X\(\/\).*/{
        !           328:            s//\1/
        !           329:            q
        !           330:          }
        !           331:          s/.*/./; q'`
        !           332:       test -d "$as_dir" && break
        !           333:     done
        !           334:     test -z "$as_dirs" || eval "mkdir $as_dirs"
        !           335:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
1.1       misho     336: 
                    337: 
1.1.1.2 ! misho     338: } # as_fn_mkdir_p
        !           339: # as_fn_append VAR VALUE
        !           340: # ----------------------
        !           341: # Append the text in VALUE to the end of the definition contained in VAR. Take
        !           342: # advantage of any shell optimizations that allow amortized linear growth over
        !           343: # repeated appends, instead of the typical quadratic growth present in naive
        !           344: # implementations.
        !           345: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
        !           346:   eval 'as_fn_append ()
        !           347:   {
        !           348:     eval $1+=\$2
        !           349:   }'
        !           350: else
        !           351:   as_fn_append ()
        !           352:   {
        !           353:     eval $1=\$$1\$2
        !           354:   }
        !           355: fi # as_fn_append
1.1       misho     356: 
1.1.1.2 ! misho     357: # as_fn_arith ARG...
        !           358: # ------------------
        !           359: # Perform arithmetic evaluation on the ARGs, and store the result in the
        !           360: # global $as_val. Take advantage of shells that can avoid forks. The arguments
        !           361: # must be portable across $(()) and expr.
        !           362: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
        !           363:   eval 'as_fn_arith ()
        !           364:   {
        !           365:     as_val=$(( $* ))
        !           366:   }'
        !           367: else
        !           368:   as_fn_arith ()
        !           369:   {
        !           370:     as_val=`expr "$@" || test $? -eq 1`
        !           371:   }
        !           372: fi # as_fn_arith
1.1       misho     373: 
                    374: 
1.1.1.2 ! misho     375: # as_fn_error STATUS ERROR [LINENO LOG_FD]
        !           376: # ----------------------------------------
        !           377: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
        !           378: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
        !           379: # script with STATUS, using 1 if that was 0.
        !           380: as_fn_error ()
        !           381: {
        !           382:   as_status=$1; test $as_status -eq 0 && as_status=1
        !           383:   if test "$4"; then
        !           384:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !           385:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
        !           386:   fi
        !           387:   $as_echo "$as_me: error: $2" >&2
        !           388:   as_fn_exit $as_status
        !           389: } # as_fn_error
1.1       misho     390: 
1.1.1.2 ! misho     391: if expr a : '\(a\)' >/dev/null 2>&1 &&
        !           392:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
        !           393:   as_expr=expr
1.1       misho     394: else
1.1.1.2 ! misho     395:   as_expr=false
1.1       misho     396: fi
                    397: 
1.1.1.2 ! misho     398: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
        !           399:   as_basename=basename
1.1       misho     400: else
1.1.1.2 ! misho     401:   as_basename=false
1.1       misho     402: fi
                    403: 
1.1.1.2 ! misho     404: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
        !           405:   as_dirname=dirname
1.1       misho     406: else
1.1.1.2 ! misho     407:   as_dirname=false
1.1       misho     408: fi
                    409: 
1.1.1.2 ! misho     410: as_me=`$as_basename -- "$0" ||
        !           411: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
        !           412:         X"$0" : 'X\(//\)$' \| \
        !           413:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
        !           414: $as_echo X/"$0" |
        !           415:     sed '/^.*\/\([^/][^/]*\)\/*$/{
        !           416:            s//\1/
        !           417:            q
        !           418:          }
        !           419:          /^X\/\(\/\/\)$/{
        !           420:            s//\1/
        !           421:            q
        !           422:          }
        !           423:          /^X\/\(\/\).*/{
        !           424:            s//\1/
        !           425:            q
        !           426:          }
        !           427:          s/.*/./; q'`
1.1       misho     428: 
1.1.1.2 ! misho     429: # Avoid depending upon Character Ranges.
        !           430: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
        !           431: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
        !           432: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
        !           433: as_cr_digits='0123456789'
        !           434: as_cr_alnum=$as_cr_Letters$as_cr_digits
1.1       misho     435: 
                    436: 
1.1.1.2 ! misho     437:   as_lineno_1=$LINENO as_lineno_1a=$LINENO
        !           438:   as_lineno_2=$LINENO as_lineno_2a=$LINENO
        !           439:   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
        !           440:   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
        !           441:   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
1.1       misho     442:   sed -n '
                    443:     p
                    444:     /[$]LINENO/=
                    445:   ' <$as_myself |
                    446:     sed '
                    447:       s/[$]LINENO.*/&-/
                    448:       t lineno
                    449:       b
                    450:       :lineno
                    451:       N
                    452:       :loop
                    453:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
                    454:       t loop
                    455:       s/-\n.*//
                    456:     ' >$as_me.lineno &&
                    457:   chmod +x "$as_me.lineno" ||
1.1.1.2 ! misho     458:     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
1.1       misho     459: 
                    460:   # Don't try to exec as it changes $[0], causing all sort of problems
                    461:   # (the dirname of $[0] is not the place where we might find the
                    462:   # original and so on.  Autoconf is especially sensitive to this).
                    463:   . "./$as_me.lineno"
                    464:   # Exit status is that of the last command.
                    465:   exit
                    466: }
                    467: 
                    468: ECHO_C= ECHO_N= ECHO_T=
1.1.1.2 ! misho     469: case `echo -n x` in #(((((
1.1       misho     470: -n*)
1.1.1.2 ! misho     471:   case `echo 'xy\c'` in
1.1       misho     472:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
1.1.1.2 ! misho     473:   xy)  ECHO_C='\c';;
        !           474:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
        !           475:        ECHO_T='        ';;
1.1       misho     476:   esac;;
                    477: *)
                    478:   ECHO_N='-n';;
                    479: esac
                    480: 
                    481: rm -f conf$$ conf$$.exe conf$$.file
                    482: if test -d conf$$.dir; then
                    483:   rm -f conf$$.dir/conf$$.file
                    484: else
                    485:   rm -f conf$$.dir
                    486:   mkdir conf$$.dir 2>/dev/null
                    487: fi
                    488: if (echo >conf$$.file) 2>/dev/null; then
                    489:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                    490:     as_ln_s='ln -s'
                    491:     # ... but there are two gotchas:
                    492:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                    493:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
                    494:     # In both cases, we have to default to `cp -p'.
                    495:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
                    496:       as_ln_s='cp -p'
                    497:   elif ln conf$$.file conf$$ 2>/dev/null; then
                    498:     as_ln_s=ln
                    499:   else
                    500:     as_ln_s='cp -p'
                    501:   fi
                    502: else
                    503:   as_ln_s='cp -p'
                    504: fi
                    505: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                    506: rmdir conf$$.dir 2>/dev/null
                    507: 
                    508: if mkdir -p . 2>/dev/null; then
1.1.1.2 ! misho     509:   as_mkdir_p='mkdir -p "$as_dir"'
1.1       misho     510: else
                    511:   test -d ./-p && rmdir ./-p
                    512:   as_mkdir_p=false
                    513: fi
                    514: 
                    515: if test -x / >/dev/null 2>&1; then
                    516:   as_test_x='test -x'
                    517: else
                    518:   if ls -dL / >/dev/null 2>&1; then
                    519:     as_ls_L_option=L
                    520:   else
                    521:     as_ls_L_option=
                    522:   fi
                    523:   as_test_x='
                    524:     eval sh -c '\''
                    525:       if test -d "$1"; then
                    526:        test -d "$1/.";
                    527:       else
1.1.1.2 ! misho     528:        case $1 in #(
1.1       misho     529:        -*)set "./$1";;
                    530:        esac;
1.1.1.2 ! misho     531:        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
1.1       misho     532:        ???[sx]*):;;*)false;;esac;fi
                    533:     '\'' sh
                    534:   '
                    535: fi
                    536: as_executable_p=$as_test_x
                    537: 
                    538: # Sed expression to map a string onto a valid CPP name.
                    539: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                    540: 
                    541: # Sed expression to map a string onto a valid variable name.
                    542: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                    543: 
                    544: SHELL=${CONFIG_SHELL-/bin/sh}
                    545: 
                    546: 
1.1.1.2 ! misho     547: test -n "$DJDIR" || exec 7<&0 </dev/null
        !           548: exec 6>&1
1.1       misho     549: 
                    550: # Name of the host.
1.1.1.2 ! misho     551: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
1.1       misho     552: # so uname gets run too.
                    553: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
                    554: 
                    555: #
                    556: # Initializations.
                    557: #
                    558: ac_default_prefix=/usr/local
                    559: ac_clean_files=
                    560: ac_config_libobj_dir=.
                    561: LIBOBJS=
                    562: cross_compiling=no
                    563: subdirs=
                    564: MFLAGS=
                    565: MAKEFLAGS=
                    566: 
                    567: # Identity of this package.
                    568: PACKAGE_NAME=
                    569: PACKAGE_TARNAME=
                    570: PACKAGE_VERSION=
                    571: PACKAGE_STRING=
                    572: PACKAGE_BUGREPORT=
1.1.1.2 ! misho     573: PACKAGE_URL=
1.1       misho     574: 
                    575: ac_unique_file="lib/localcharset.c"
                    576: # Factoring default headers for most tests.
                    577: ac_includes_default="\
                    578: #include <stdio.h>
                    579: #ifdef HAVE_SYS_TYPES_H
                    580: # include <sys/types.h>
                    581: #endif
                    582: #ifdef HAVE_SYS_STAT_H
                    583: # include <sys/stat.h>
                    584: #endif
                    585: #ifdef STDC_HEADERS
                    586: # include <stdlib.h>
                    587: # include <stddef.h>
                    588: #else
                    589: # ifdef HAVE_STDLIB_H
                    590: #  include <stdlib.h>
                    591: # endif
                    592: #endif
                    593: #ifdef HAVE_STRING_H
                    594: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
                    595: #  include <memory.h>
                    596: # endif
                    597: # include <string.h>
                    598: #endif
                    599: #ifdef HAVE_STRINGS_H
                    600: # include <strings.h>
                    601: #endif
                    602: #ifdef HAVE_INTTYPES_H
                    603: # include <inttypes.h>
                    604: #endif
                    605: #ifdef HAVE_STDINT_H
                    606: # include <stdint.h>
                    607: #endif
                    608: #ifdef HAVE_UNISTD_H
                    609: # include <unistd.h>
                    610: #endif"
                    611: 
                    612: ac_subst_vars='LTLIBOBJS
                    613: GLIBC21
                    614: HAVE_VISIBILITY
                    615: CFLAG_VISIBILITY
                    616: OTOOL64
                    617: OTOOL
                    618: LIPO
                    619: NMEDIT
                    620: DSYMUTIL
1.1.1.2 ! misho     621: MANIFEST_TOOL
        !           622: AWK
1.1       misho     623: RANLIB
                    624: STRIP
1.1.1.2 ! misho     625: ac_ct_AR
1.1       misho     626: AR
                    627: LN_S
                    628: NM
                    629: ac_ct_DUMPBIN
                    630: DUMPBIN
                    631: LD
                    632: FGREP
                    633: SED
                    634: LIBTOOL
                    635: OBJDUMP
                    636: DLLTOOL
                    637: AS
                    638: EGREP
                    639: GREP
                    640: LIBOBJS
                    641: RELOCATABLE
                    642: host_os
                    643: host_vendor
                    644: host_cpu
                    645: host
                    646: build_os
                    647: build_vendor
                    648: build_cpu
                    649: build
                    650: INSTALL_DATA
                    651: INSTALL_SCRIPT
                    652: INSTALL_PROGRAM
                    653: CPP
                    654: OBJEXT
                    655: EXEEXT
                    656: ac_ct_CC
                    657: CPPFLAGS
                    658: LDFLAGS
                    659: CFLAGS
                    660: CC
                    661: VERSION
                    662: PACKAGE
                    663: SET_MAKE
                    664: target_alias
                    665: host_alias
                    666: build_alias
                    667: LIBS
                    668: ECHO_T
                    669: ECHO_N
                    670: ECHO_C
                    671: DEFS
                    672: mandir
                    673: localedir
                    674: libdir
                    675: psdir
                    676: pdfdir
                    677: dvidir
                    678: htmldir
                    679: infodir
                    680: docdir
                    681: oldincludedir
                    682: includedir
                    683: localstatedir
                    684: sharedstatedir
                    685: sysconfdir
                    686: datadir
                    687: datarootdir
                    688: libexecdir
                    689: sbindir
                    690: bindir
                    691: program_transform_name
                    692: prefix
                    693: exec_prefix
1.1.1.2 ! misho     694: PACKAGE_URL
1.1       misho     695: PACKAGE_BUGREPORT
                    696: PACKAGE_STRING
                    697: PACKAGE_VERSION
                    698: PACKAGE_TARNAME
                    699: PACKAGE_NAME
                    700: PATH_SEPARATOR
                    701: SHELL'
                    702: ac_subst_files=''
                    703: ac_user_opts='
                    704: enable_option_checking
                    705: enable_relocatable
                    706: enable_shared
                    707: enable_static
                    708: with_pic
                    709: enable_fast_install
                    710: with_gnu_ld
1.1.1.2 ! misho     711: with_sysroot
1.1       misho     712: enable_libtool_lock
                    713: '
                    714:       ac_precious_vars='build_alias
                    715: host_alias
                    716: target_alias
                    717: CC
                    718: CFLAGS
                    719: LDFLAGS
                    720: LIBS
                    721: CPPFLAGS
1.1.1.2 ! misho     722: CPP
        !           723: CPPFLAGS'
1.1       misho     724: 
                    725: 
                    726: # Initialize some variables set by options.
                    727: ac_init_help=
                    728: ac_init_version=false
                    729: ac_unrecognized_opts=
                    730: ac_unrecognized_sep=
                    731: # The variables have the same names as the options, with
                    732: # dashes changed to underlines.
                    733: cache_file=/dev/null
                    734: exec_prefix=NONE
                    735: no_create=
                    736: no_recursion=
                    737: prefix=NONE
                    738: program_prefix=NONE
                    739: program_suffix=NONE
                    740: program_transform_name=s,x,x,
                    741: silent=
                    742: site=
                    743: srcdir=
                    744: verbose=
                    745: x_includes=NONE
                    746: x_libraries=NONE
                    747: 
                    748: # Installation directory options.
                    749: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    750: # and all the variables that are supposed to be based on exec_prefix
                    751: # by default will actually change.
                    752: # Use braces instead of parens because sh, perl, etc. also accept them.
                    753: # (The list follows the same order as the GNU Coding Standards.)
                    754: bindir='${exec_prefix}/bin'
                    755: sbindir='${exec_prefix}/sbin'
                    756: libexecdir='${exec_prefix}/libexec'
                    757: datarootdir='${prefix}/share'
                    758: datadir='${datarootdir}'
                    759: sysconfdir='${prefix}/etc'
                    760: sharedstatedir='${prefix}/com'
                    761: localstatedir='${prefix}/var'
                    762: includedir='${prefix}/include'
                    763: oldincludedir='/usr/include'
                    764: docdir='${datarootdir}/doc/${PACKAGE}'
                    765: infodir='${datarootdir}/info'
                    766: htmldir='${docdir}'
                    767: dvidir='${docdir}'
                    768: pdfdir='${docdir}'
                    769: psdir='${docdir}'
                    770: libdir='${exec_prefix}/lib'
                    771: localedir='${datarootdir}/locale'
                    772: mandir='${datarootdir}/man'
                    773: 
                    774: ac_prev=
                    775: ac_dashdash=
                    776: for ac_option
                    777: do
                    778:   # If the previous option needs an argument, assign it.
                    779:   if test -n "$ac_prev"; then
                    780:     eval $ac_prev=\$ac_option
                    781:     ac_prev=
                    782:     continue
                    783:   fi
                    784: 
                    785:   case $ac_option in
1.1.1.2 ! misho     786:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
        !           787:   *=)   ac_optarg= ;;
        !           788:   *)    ac_optarg=yes ;;
1.1       misho     789:   esac
                    790: 
                    791:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    792: 
                    793:   case $ac_dashdash$ac_option in
                    794:   --)
                    795:     ac_dashdash=yes ;;
                    796: 
                    797:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    798:     ac_prev=bindir ;;
                    799:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
                    800:     bindir=$ac_optarg ;;
                    801: 
                    802:   -build | --build | --buil | --bui | --bu)
                    803:     ac_prev=build_alias ;;
                    804:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
                    805:     build_alias=$ac_optarg ;;
                    806: 
                    807:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    808:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    809:     ac_prev=cache_file ;;
                    810:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    811:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
                    812:     cache_file=$ac_optarg ;;
                    813: 
                    814:   --config-cache | -C)
                    815:     cache_file=config.cache ;;
                    816: 
                    817:   -datadir | --datadir | --datadi | --datad)
                    818:     ac_prev=datadir ;;
                    819:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
                    820:     datadir=$ac_optarg ;;
                    821: 
                    822:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
                    823:   | --dataroo | --dataro | --datar)
                    824:     ac_prev=datarootdir ;;
                    825:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
                    826:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
                    827:     datarootdir=$ac_optarg ;;
                    828: 
                    829:   -disable-* | --disable-*)
                    830:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
                    831:     # Reject names that are not valid shell variable names.
                    832:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.1.1.2 ! misho     833:       as_fn_error $? "invalid feature name: $ac_useropt"
1.1       misho     834:     ac_useropt_orig=$ac_useropt
                    835:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    836:     case $ac_user_opts in
                    837:       *"
                    838: "enable_$ac_useropt"
                    839: "*) ;;
                    840:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
                    841:         ac_unrecognized_sep=', ';;
                    842:     esac
                    843:     eval enable_$ac_useropt=no ;;
                    844: 
                    845:   -docdir | --docdir | --docdi | --doc | --do)
                    846:     ac_prev=docdir ;;
                    847:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
                    848:     docdir=$ac_optarg ;;
                    849: 
                    850:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
                    851:     ac_prev=dvidir ;;
                    852:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
                    853:     dvidir=$ac_optarg ;;
                    854: 
                    855:   -enable-* | --enable-*)
                    856:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
                    857:     # Reject names that are not valid shell variable names.
                    858:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.1.1.2 ! misho     859:       as_fn_error $? "invalid feature name: $ac_useropt"
1.1       misho     860:     ac_useropt_orig=$ac_useropt
                    861:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    862:     case $ac_user_opts in
                    863:       *"
                    864: "enable_$ac_useropt"
                    865: "*) ;;
                    866:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
                    867:         ac_unrecognized_sep=', ';;
                    868:     esac
                    869:     eval enable_$ac_useropt=\$ac_optarg ;;
                    870: 
                    871:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    872:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    873:   | --exec | --exe | --ex)
                    874:     ac_prev=exec_prefix ;;
                    875:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                    876:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                    877:   | --exec=* | --exe=* | --ex=*)
                    878:     exec_prefix=$ac_optarg ;;
                    879: 
                    880:   -gas | --gas | --ga | --g)
                    881:     # Obsolete; use --with-gas.
                    882:     with_gas=yes ;;
                    883: 
                    884:   -help | --help | --hel | --he | -h)
                    885:     ac_init_help=long ;;
                    886:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                    887:     ac_init_help=recursive ;;
                    888:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                    889:     ac_init_help=short ;;
                    890: 
                    891:   -host | --host | --hos | --ho)
                    892:     ac_prev=host_alias ;;
                    893:   -host=* | --host=* | --hos=* | --ho=*)
                    894:     host_alias=$ac_optarg ;;
                    895: 
                    896:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
                    897:     ac_prev=htmldir ;;
                    898:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
                    899:   | --ht=*)
                    900:     htmldir=$ac_optarg ;;
                    901: 
                    902:   -includedir | --includedir | --includedi | --included | --include \
                    903:   | --includ | --inclu | --incl | --inc)
                    904:     ac_prev=includedir ;;
                    905:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                    906:   | --includ=* | --inclu=* | --incl=* | --inc=*)
                    907:     includedir=$ac_optarg ;;
                    908: 
                    909:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                    910:     ac_prev=infodir ;;
                    911:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
                    912:     infodir=$ac_optarg ;;
                    913: 
                    914:   -libdir | --libdir | --libdi | --libd)
                    915:     ac_prev=libdir ;;
                    916:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
                    917:     libdir=$ac_optarg ;;
                    918: 
                    919:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                    920:   | --libexe | --libex | --libe)
                    921:     ac_prev=libexecdir ;;
                    922:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                    923:   | --libexe=* | --libex=* | --libe=*)
                    924:     libexecdir=$ac_optarg ;;
                    925: 
                    926:   -localedir | --localedir | --localedi | --localed | --locale)
                    927:     ac_prev=localedir ;;
                    928:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
                    929:     localedir=$ac_optarg ;;
                    930: 
                    931:   -localstatedir | --localstatedir | --localstatedi | --localstated \
                    932:   | --localstate | --localstat | --localsta | --localst | --locals)
                    933:     ac_prev=localstatedir ;;
                    934:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
                    935:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
                    936:     localstatedir=$ac_optarg ;;
                    937: 
                    938:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                    939:     ac_prev=mandir ;;
                    940:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
                    941:     mandir=$ac_optarg ;;
                    942: 
                    943:   -nfp | --nfp | --nf)
                    944:     # Obsolete; use --without-fp.
                    945:     with_fp=no ;;
                    946: 
                    947:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
                    948:   | --no-cr | --no-c | -n)
                    949:     no_create=yes ;;
                    950: 
                    951:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                    952:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                    953:     no_recursion=yes ;;
                    954: 
                    955:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                    956:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                    957:   | --oldin | --oldi | --old | --ol | --o)
                    958:     ac_prev=oldincludedir ;;
                    959:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                    960:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                    961:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
                    962:     oldincludedir=$ac_optarg ;;
                    963: 
                    964:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                    965:     ac_prev=prefix ;;
                    966:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                    967:     prefix=$ac_optarg ;;
                    968: 
                    969:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                    970:   | --program-pre | --program-pr | --program-p)
                    971:     ac_prev=program_prefix ;;
                    972:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                    973:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
                    974:     program_prefix=$ac_optarg ;;
                    975: 
                    976:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                    977:   | --program-suf | --program-su | --program-s)
                    978:     ac_prev=program_suffix ;;
                    979:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                    980:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
                    981:     program_suffix=$ac_optarg ;;
                    982: 
                    983:   -program-transform-name | --program-transform-name \
                    984:   | --program-transform-nam | --program-transform-na \
                    985:   | --program-transform-n | --program-transform- \
                    986:   | --program-transform | --program-transfor \
                    987:   | --program-transfo | --program-transf \
                    988:   | --program-trans | --program-tran \
                    989:   | --progr-tra | --program-tr | --program-t)
                    990:     ac_prev=program_transform_name ;;
                    991:   -program-transform-name=* | --program-transform-name=* \
                    992:   | --program-transform-nam=* | --program-transform-na=* \
                    993:   | --program-transform-n=* | --program-transform-=* \
                    994:   | --program-transform=* | --program-transfor=* \
                    995:   | --program-transfo=* | --program-transf=* \
                    996:   | --program-trans=* | --program-tran=* \
                    997:   | --progr-tra=* | --program-tr=* | --program-t=*)
                    998:     program_transform_name=$ac_optarg ;;
                    999: 
                   1000:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
                   1001:     ac_prev=pdfdir ;;
                   1002:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
                   1003:     pdfdir=$ac_optarg ;;
                   1004: 
                   1005:   -psdir | --psdir | --psdi | --psd | --ps)
                   1006:     ac_prev=psdir ;;
                   1007:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
                   1008:     psdir=$ac_optarg ;;
                   1009: 
                   1010:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1011:   | -silent | --silent | --silen | --sile | --sil)
                   1012:     silent=yes ;;
                   1013: 
                   1014:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                   1015:     ac_prev=sbindir ;;
                   1016:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                   1017:   | --sbi=* | --sb=*)
                   1018:     sbindir=$ac_optarg ;;
                   1019: 
                   1020:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                   1021:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                   1022:   | --sharedst | --shareds | --shared | --share | --shar \
                   1023:   | --sha | --sh)
                   1024:     ac_prev=sharedstatedir ;;
                   1025:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                   1026:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                   1027:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                   1028:   | --sha=* | --sh=*)
                   1029:     sharedstatedir=$ac_optarg ;;
                   1030: 
                   1031:   -site | --site | --sit)
                   1032:     ac_prev=site ;;
                   1033:   -site=* | --site=* | --sit=*)
                   1034:     site=$ac_optarg ;;
                   1035: 
                   1036:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   1037:     ac_prev=srcdir ;;
                   1038:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   1039:     srcdir=$ac_optarg ;;
                   1040: 
                   1041:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                   1042:   | --syscon | --sysco | --sysc | --sys | --sy)
                   1043:     ac_prev=sysconfdir ;;
                   1044:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                   1045:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
                   1046:     sysconfdir=$ac_optarg ;;
                   1047: 
                   1048:   -target | --target | --targe | --targ | --tar | --ta | --t)
                   1049:     ac_prev=target_alias ;;
                   1050:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
                   1051:     target_alias=$ac_optarg ;;
                   1052: 
                   1053:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                   1054:     verbose=yes ;;
                   1055: 
                   1056:   -version | --version | --versio | --versi | --vers | -V)
                   1057:     ac_init_version=: ;;
                   1058: 
                   1059:   -with-* | --with-*)
                   1060:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
                   1061:     # Reject names that are not valid shell variable names.
                   1062:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.1.1.2 ! misho    1063:       as_fn_error $? "invalid package name: $ac_useropt"
1.1       misho    1064:     ac_useropt_orig=$ac_useropt
                   1065:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1066:     case $ac_user_opts in
                   1067:       *"
                   1068: "with_$ac_useropt"
                   1069: "*) ;;
                   1070:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
                   1071:         ac_unrecognized_sep=', ';;
                   1072:     esac
                   1073:     eval with_$ac_useropt=\$ac_optarg ;;
                   1074: 
                   1075:   -without-* | --without-*)
                   1076:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
                   1077:     # Reject names that are not valid shell variable names.
                   1078:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1.1.1.2 ! misho    1079:       as_fn_error $? "invalid package name: $ac_useropt"
1.1       misho    1080:     ac_useropt_orig=$ac_useropt
                   1081:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1082:     case $ac_user_opts in
                   1083:       *"
                   1084: "with_$ac_useropt"
                   1085: "*) ;;
                   1086:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
                   1087:         ac_unrecognized_sep=', ';;
                   1088:     esac
                   1089:     eval with_$ac_useropt=no ;;
                   1090: 
                   1091:   --x)
                   1092:     # Obsolete; use --with-x.
                   1093:     with_x=yes ;;
                   1094: 
                   1095:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                   1096:   | --x-incl | --x-inc | --x-in | --x-i)
                   1097:     ac_prev=x_includes ;;
                   1098:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                   1099:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
                   1100:     x_includes=$ac_optarg ;;
                   1101: 
                   1102:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                   1103:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                   1104:     ac_prev=x_libraries ;;
                   1105:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                   1106:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
                   1107:     x_libraries=$ac_optarg ;;
                   1108: 
1.1.1.2 ! misho    1109:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
        !          1110: Try \`$0 --help' for more information"
1.1       misho    1111:     ;;
                   1112: 
                   1113:   *=*)
                   1114:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                   1115:     # Reject names that are not valid shell variable names.
1.1.1.2 ! misho    1116:     case $ac_envvar in #(
        !          1117:       '' | [0-9]* | *[!_$as_cr_alnum]* )
        !          1118:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
        !          1119:     esac
1.1       misho    1120:     eval $ac_envvar=\$ac_optarg
                   1121:     export $ac_envvar ;;
                   1122: 
                   1123:   *)
                   1124:     # FIXME: should be removed in autoconf 3.0.
                   1125:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
                   1126:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
                   1127:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1.1.1.2 ! misho    1128:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1.1       misho    1129:     ;;
                   1130: 
                   1131:   esac
                   1132: done
                   1133: 
                   1134: if test -n "$ac_prev"; then
                   1135:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1.1.1.2 ! misho    1136:   as_fn_error $? "missing argument to $ac_option"
1.1       misho    1137: fi
                   1138: 
                   1139: if test -n "$ac_unrecognized_opts"; then
                   1140:   case $enable_option_checking in
                   1141:     no) ;;
1.1.1.2 ! misho    1142:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1.1       misho    1143:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
                   1144:   esac
                   1145: fi
                   1146: 
                   1147: # Check all directory arguments for consistency.
                   1148: for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
                   1149:                datadir sysconfdir sharedstatedir localstatedir includedir \
                   1150:                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
                   1151:                libdir localedir mandir
                   1152: do
                   1153:   eval ac_val=\$$ac_var
                   1154:   # Remove trailing slashes.
                   1155:   case $ac_val in
                   1156:     */ )
                   1157:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
                   1158:       eval $ac_var=\$ac_val;;
                   1159:   esac
                   1160:   # Be sure to have absolute directory names.
                   1161:   case $ac_val in
                   1162:     [\\/$]* | ?:[\\/]* )  continue;;
                   1163:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
                   1164:   esac
1.1.1.2 ! misho    1165:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1.1       misho    1166: done
                   1167: 
                   1168: # There might be people who depend on the old broken behavior: `$host'
                   1169: # used to hold the argument of --host etc.
                   1170: # FIXME: To remove some day.
                   1171: build=$build_alias
                   1172: host=$host_alias
                   1173: target=$target_alias
                   1174: 
                   1175: # FIXME: To remove some day.
                   1176: if test "x$host_alias" != x; then
                   1177:   if test "x$build_alias" = x; then
                   1178:     cross_compiling=maybe
1.1.1.2 ! misho    1179:     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
        !          1180:     If a cross compiler is detected then cross compile mode will be used" >&2
1.1       misho    1181:   elif test "x$build_alias" != "x$host_alias"; then
                   1182:     cross_compiling=yes
                   1183:   fi
                   1184: fi
                   1185: 
                   1186: ac_tool_prefix=
                   1187: test -n "$host_alias" && ac_tool_prefix=$host_alias-
                   1188: 
                   1189: test "$silent" = yes && exec 6>/dev/null
                   1190: 
                   1191: 
                   1192: ac_pwd=`pwd` && test -n "$ac_pwd" &&
                   1193: ac_ls_di=`ls -di .` &&
                   1194: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1.1.1.2 ! misho    1195:   as_fn_error $? "working directory cannot be determined"
1.1       misho    1196: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1.1.1.2 ! misho    1197:   as_fn_error $? "pwd does not report name of working directory"
1.1       misho    1198: 
                   1199: 
                   1200: # Find the source files, if location was not specified.
                   1201: if test -z "$srcdir"; then
                   1202:   ac_srcdir_defaulted=yes
                   1203:   # Try the directory containing this script, then the parent directory.
                   1204:   ac_confdir=`$as_dirname -- "$as_myself" ||
                   1205: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   1206:         X"$as_myself" : 'X\(//\)[^/]' \| \
                   1207:         X"$as_myself" : 'X\(//\)$' \| \
                   1208:         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
                   1209: $as_echo X"$as_myself" |
                   1210:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   1211:            s//\1/
                   1212:            q
                   1213:          }
                   1214:          /^X\(\/\/\)[^/].*/{
                   1215:            s//\1/
                   1216:            q
                   1217:          }
                   1218:          /^X\(\/\/\)$/{
                   1219:            s//\1/
                   1220:            q
                   1221:          }
                   1222:          /^X\(\/\).*/{
                   1223:            s//\1/
                   1224:            q
                   1225:          }
                   1226:          s/.*/./; q'`
                   1227:   srcdir=$ac_confdir
                   1228:   if test ! -r "$srcdir/$ac_unique_file"; then
                   1229:     srcdir=..
                   1230:   fi
                   1231: else
                   1232:   ac_srcdir_defaulted=no
                   1233: fi
                   1234: if test ! -r "$srcdir/$ac_unique_file"; then
                   1235:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1.1.1.2 ! misho    1236:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1.1       misho    1237: fi
                   1238: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
                   1239: ac_abs_confdir=`(
1.1.1.2 ! misho    1240:        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1.1       misho    1241:        pwd)`
                   1242: # When building in place, set srcdir=.
                   1243: if test "$ac_abs_confdir" = "$ac_pwd"; then
                   1244:   srcdir=.
                   1245: fi
                   1246: # Remove unnecessary trailing slashes from srcdir.
                   1247: # Double slashes in file names in object file debugging info
                   1248: # mess up M-x gdb in Emacs.
                   1249: case $srcdir in
                   1250: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
                   1251: esac
                   1252: for ac_var in $ac_precious_vars; do
                   1253:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
                   1254:   eval ac_env_${ac_var}_value=\$${ac_var}
                   1255:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
                   1256:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
                   1257: done
                   1258: 
                   1259: #
                   1260: # Report the --help message.
                   1261: #
                   1262: if test "$ac_init_help" = "long"; then
                   1263:   # Omit some internal or obsolete options to make the list less imposing.
                   1264:   # This message is too long to be a string in the A/UX 3.1 sh.
                   1265:   cat <<_ACEOF
                   1266: \`configure' configures this package to adapt to many kinds of systems.
                   1267: 
                   1268: Usage: $0 [OPTION]... [VAR=VALUE]...
                   1269: 
                   1270: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                   1271: VAR=VALUE.  See below for descriptions of some of the useful variables.
                   1272: 
                   1273: Defaults for the options are specified in brackets.
                   1274: 
                   1275: Configuration:
                   1276:   -h, --help              display this help and exit
                   1277:       --help=short        display options specific to this package
                   1278:       --help=recursive    display the short help of all the included packages
                   1279:   -V, --version           display version information and exit
1.1.1.2 ! misho    1280:   -q, --quiet, --silent   do not print \`checking ...' messages
1.1       misho    1281:       --cache-file=FILE   cache test results in FILE [disabled]
                   1282:   -C, --config-cache      alias for \`--cache-file=config.cache'
                   1283:   -n, --no-create         do not create output files
                   1284:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                   1285: 
                   1286: Installation directories:
                   1287:   --prefix=PREFIX         install architecture-independent files in PREFIX
                   1288:                           [$ac_default_prefix]
                   1289:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                   1290:                           [PREFIX]
                   1291: 
                   1292: By default, \`make install' will install all the files in
                   1293: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                   1294: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                   1295: for instance \`--prefix=\$HOME'.
                   1296: 
                   1297: For better control, use the options below.
                   1298: 
                   1299: Fine tuning of the installation directories:
                   1300:   --bindir=DIR            user executables [EPREFIX/bin]
                   1301:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
                   1302:   --libexecdir=DIR        program executables [EPREFIX/libexec]
                   1303:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
                   1304:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
                   1305:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
                   1306:   --libdir=DIR            object code libraries [EPREFIX/lib]
                   1307:   --includedir=DIR        C header files [PREFIX/include]
                   1308:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
                   1309:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
                   1310:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
                   1311:   --infodir=DIR           info documentation [DATAROOTDIR/info]
                   1312:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
                   1313:   --mandir=DIR            man documentation [DATAROOTDIR/man]
                   1314:   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
                   1315:   --htmldir=DIR           html documentation [DOCDIR]
                   1316:   --dvidir=DIR            dvi documentation [DOCDIR]
                   1317:   --pdfdir=DIR            pdf documentation [DOCDIR]
                   1318:   --psdir=DIR             ps documentation [DOCDIR]
                   1319: _ACEOF
                   1320: 
                   1321:   cat <<\_ACEOF
                   1322: 
                   1323: System types:
                   1324:   --build=BUILD     configure for building on BUILD [guessed]
                   1325:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                   1326: _ACEOF
                   1327: fi
                   1328: 
                   1329: if test -n "$ac_init_help"; then
                   1330: 
                   1331:   cat <<\_ACEOF
                   1332: 
                   1333: Optional Features:
                   1334:   --disable-option-checking  ignore unrecognized --enable/--with options
                   1335:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                   1336:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
                   1337:   --enable-relocatable    install a package that can be moved in the filesystem
                   1338:   --enable-shared[=PKGS]  build shared libraries [default=yes]
                   1339:   --enable-static[=PKGS]  build static libraries [default=yes]
                   1340:   --enable-fast-install[=PKGS]
                   1341:                           optimize for fast installation [default=yes]
                   1342:   --disable-libtool-lock  avoid locking (might break parallel builds)
                   1343: 
                   1344: Optional Packages:
                   1345:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                   1346:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
                   1347:   --with-pic              try to use only PIC/non-PIC objects [default=use
                   1348:                           both]
                   1349:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1.1.1.2 ! misho    1350:   --with-sysroot=DIR Search for dependent libraries within DIR
        !          1351:                         (or the compiler's sysroot if not specified).
1.1       misho    1352: 
                   1353: Some influential environment variables:
                   1354:   CC          C compiler command
                   1355:   CFLAGS      C compiler flags
                   1356:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                   1357:               nonstandard directory <lib dir>
                   1358:   LIBS        libraries to pass to the linker, e.g. -l<library>
1.1.1.2 ! misho    1359:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1.1       misho    1360:               you have headers in a nonstandard directory <include dir>
                   1361:   CPP         C preprocessor
                   1362: 
                   1363: Use these variables to override the choices made by `configure' or to help
                   1364: it to find libraries and programs with nonstandard names/locations.
                   1365: 
1.1.1.2 ! misho    1366: Report bugs to the package provider.
1.1       misho    1367: _ACEOF
                   1368: ac_status=$?
                   1369: fi
                   1370: 
                   1371: if test "$ac_init_help" = "recursive"; then
                   1372:   # If there are subdirs, report their specific --help.
                   1373:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
                   1374:     test -d "$ac_dir" ||
                   1375:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
                   1376:       continue
                   1377:     ac_builddir=.
                   1378: 
                   1379: case "$ac_dir" in
                   1380: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1381: *)
                   1382:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   1383:   # A ".." for each directory in $ac_dir_suffix.
                   1384:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   1385:   case $ac_top_builddir_sub in
                   1386:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1387:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   1388:   esac ;;
                   1389: esac
                   1390: ac_abs_top_builddir=$ac_pwd
                   1391: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   1392: # for backward compatibility:
                   1393: ac_top_builddir=$ac_top_build_prefix
                   1394: 
                   1395: case $srcdir in
                   1396:   .)  # We are building in place.
                   1397:     ac_srcdir=.
                   1398:     ac_top_srcdir=$ac_top_builddir_sub
                   1399:     ac_abs_top_srcdir=$ac_pwd ;;
                   1400:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   1401:     ac_srcdir=$srcdir$ac_dir_suffix;
                   1402:     ac_top_srcdir=$srcdir
                   1403:     ac_abs_top_srcdir=$srcdir ;;
                   1404:   *) # Relative name.
                   1405:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   1406:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   1407:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   1408: esac
1.1.1.2 ! misho    1409: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
        !          1410: 
        !          1411:     cd "$ac_dir" || { ac_status=$?; continue; }
        !          1412:     # Check for guested configure.
        !          1413:     if test -f "$ac_srcdir/configure.gnu"; then
        !          1414:       echo &&
        !          1415:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
        !          1416:     elif test -f "$ac_srcdir/configure"; then
        !          1417:       echo &&
        !          1418:       $SHELL "$ac_srcdir/configure" --help=recursive
        !          1419:     else
        !          1420:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
        !          1421:     fi || ac_status=$?
        !          1422:     cd "$ac_pwd" || { ac_status=$?; break; }
        !          1423:   done
        !          1424: fi
        !          1425: 
        !          1426: test -n "$ac_init_help" && exit $ac_status
        !          1427: if $ac_init_version; then
        !          1428:   cat <<\_ACEOF
        !          1429: configure
        !          1430: generated by GNU Autoconf 2.68
        !          1431: 
        !          1432: Copyright (C) 2010 Free Software Foundation, Inc.
        !          1433: This configure script is free software; the Free Software Foundation
        !          1434: gives unlimited permission to copy, distribute and modify it.
        !          1435: _ACEOF
        !          1436:   exit
        !          1437: fi
        !          1438: 
        !          1439: ## ------------------------ ##
        !          1440: ## Autoconf initialization. ##
        !          1441: ## ------------------------ ##
        !          1442: 
        !          1443: # ac_fn_c_try_compile LINENO
        !          1444: # --------------------------
        !          1445: # Try to compile conftest.$ac_ext, and return whether this succeeded.
        !          1446: ac_fn_c_try_compile ()
        !          1447: {
        !          1448:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          1449:   rm -f conftest.$ac_objext
        !          1450:   if { { ac_try="$ac_compile"
        !          1451: case "(($ac_try" in
        !          1452:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          1453:   *) ac_try_echo=$ac_try;;
        !          1454: esac
        !          1455: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          1456: $as_echo "$ac_try_echo"; } >&5
        !          1457:   (eval "$ac_compile") 2>conftest.err
        !          1458:   ac_status=$?
        !          1459:   if test -s conftest.err; then
        !          1460:     grep -v '^ *+' conftest.err >conftest.er1
        !          1461:     cat conftest.er1 >&5
        !          1462:     mv -f conftest.er1 conftest.err
        !          1463:   fi
        !          1464:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          1465:   test $ac_status = 0; } && {
        !          1466:         test -z "$ac_c_werror_flag" ||
        !          1467:         test ! -s conftest.err
        !          1468:        } && test -s conftest.$ac_objext; then :
        !          1469:   ac_retval=0
        !          1470: else
        !          1471:   $as_echo "$as_me: failed program was:" >&5
        !          1472: sed 's/^/| /' conftest.$ac_ext >&5
        !          1473: 
        !          1474:        ac_retval=1
        !          1475: fi
        !          1476:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
        !          1477:   as_fn_set_status $ac_retval
        !          1478: 
        !          1479: } # ac_fn_c_try_compile
        !          1480: 
        !          1481: # ac_fn_c_try_cpp LINENO
        !          1482: # ----------------------
        !          1483: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
        !          1484: ac_fn_c_try_cpp ()
        !          1485: {
        !          1486:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          1487:   if { { ac_try="$ac_cpp conftest.$ac_ext"
        !          1488: case "(($ac_try" in
        !          1489:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          1490:   *) ac_try_echo=$ac_try;;
        !          1491: esac
        !          1492: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          1493: $as_echo "$ac_try_echo"; } >&5
        !          1494:   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
        !          1495:   ac_status=$?
        !          1496:   if test -s conftest.err; then
        !          1497:     grep -v '^ *+' conftest.err >conftest.er1
        !          1498:     cat conftest.er1 >&5
        !          1499:     mv -f conftest.er1 conftest.err
        !          1500:   fi
        !          1501:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          1502:   test $ac_status = 0; } > conftest.i && {
        !          1503:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
        !          1504:         test ! -s conftest.err
        !          1505:        }; then :
        !          1506:   ac_retval=0
        !          1507: else
        !          1508:   $as_echo "$as_me: failed program was:" >&5
        !          1509: sed 's/^/| /' conftest.$ac_ext >&5
        !          1510: 
        !          1511:     ac_retval=1
        !          1512: fi
        !          1513:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
        !          1514:   as_fn_set_status $ac_retval
        !          1515: 
        !          1516: } # ac_fn_c_try_cpp
        !          1517: 
        !          1518: # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
        !          1519: # -------------------------------------------------------
        !          1520: # Tests whether HEADER exists, giving a warning if it cannot be compiled using
        !          1521: # the include files in INCLUDES and setting the cache variable VAR
        !          1522: # accordingly.
        !          1523: ac_fn_c_check_header_mongrel ()
        !          1524: {
        !          1525:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          1526:   if eval \${$3+:} false; then :
        !          1527:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
        !          1528: $as_echo_n "checking for $2... " >&6; }
        !          1529: if eval \${$3+:} false; then :
        !          1530:   $as_echo_n "(cached) " >&6
        !          1531: fi
        !          1532: eval ac_res=\$$3
        !          1533:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
        !          1534: $as_echo "$ac_res" >&6; }
        !          1535: else
        !          1536:   # Is the header compilable?
        !          1537: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
        !          1538: $as_echo_n "checking $2 usability... " >&6; }
        !          1539: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          1540: /* end confdefs.h.  */
        !          1541: $4
        !          1542: #include <$2>
        !          1543: _ACEOF
        !          1544: if ac_fn_c_try_compile "$LINENO"; then :
        !          1545:   ac_header_compiler=yes
        !          1546: else
        !          1547:   ac_header_compiler=no
        !          1548: fi
        !          1549: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          1550: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
        !          1551: $as_echo "$ac_header_compiler" >&6; }
        !          1552: 
        !          1553: # Is the header present?
        !          1554: { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
        !          1555: $as_echo_n "checking $2 presence... " >&6; }
        !          1556: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          1557: /* end confdefs.h.  */
        !          1558: #include <$2>
        !          1559: _ACEOF
        !          1560: if ac_fn_c_try_cpp "$LINENO"; then :
        !          1561:   ac_header_preproc=yes
        !          1562: else
        !          1563:   ac_header_preproc=no
        !          1564: fi
        !          1565: rm -f conftest.err conftest.i conftest.$ac_ext
        !          1566: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
        !          1567: $as_echo "$ac_header_preproc" >&6; }
        !          1568: 
        !          1569: # So?  What about this header?
        !          1570: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
        !          1571:   yes:no: )
        !          1572:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
        !          1573: $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
        !          1574:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
        !          1575: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
        !          1576:     ;;
        !          1577:   no:yes:* )
        !          1578:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
        !          1579: $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
        !          1580:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
        !          1581: $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
        !          1582:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
        !          1583: $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
        !          1584:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
        !          1585: $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
        !          1586:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
        !          1587: $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
        !          1588:     ;;
        !          1589: esac
        !          1590:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
        !          1591: $as_echo_n "checking for $2... " >&6; }
        !          1592: if eval \${$3+:} false; then :
        !          1593:   $as_echo_n "(cached) " >&6
        !          1594: else
        !          1595:   eval "$3=\$ac_header_compiler"
        !          1596: fi
        !          1597: eval ac_res=\$$3
        !          1598:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
        !          1599: $as_echo "$ac_res" >&6; }
        !          1600: fi
        !          1601:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
        !          1602: 
        !          1603: } # ac_fn_c_check_header_mongrel
        !          1604: 
        !          1605: # ac_fn_c_try_run LINENO
        !          1606: # ----------------------
        !          1607: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
        !          1608: # that executables *can* be run.
        !          1609: ac_fn_c_try_run ()
        !          1610: {
        !          1611:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          1612:   if { { ac_try="$ac_link"
        !          1613: case "(($ac_try" in
        !          1614:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          1615:   *) ac_try_echo=$ac_try;;
        !          1616: esac
        !          1617: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          1618: $as_echo "$ac_try_echo"; } >&5
        !          1619:   (eval "$ac_link") 2>&5
        !          1620:   ac_status=$?
        !          1621:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          1622:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
        !          1623:   { { case "(($ac_try" in
        !          1624:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          1625:   *) ac_try_echo=$ac_try;;
        !          1626: esac
        !          1627: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          1628: $as_echo "$ac_try_echo"; } >&5
        !          1629:   (eval "$ac_try") 2>&5
        !          1630:   ac_status=$?
        !          1631:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          1632:   test $ac_status = 0; }; }; then :
        !          1633:   ac_retval=0
        !          1634: else
        !          1635:   $as_echo "$as_me: program exited with status $ac_status" >&5
        !          1636:        $as_echo "$as_me: failed program was:" >&5
        !          1637: sed 's/^/| /' conftest.$ac_ext >&5
        !          1638: 
        !          1639:        ac_retval=$ac_status
        !          1640: fi
        !          1641:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
        !          1642:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
        !          1643:   as_fn_set_status $ac_retval
        !          1644: 
        !          1645: } # ac_fn_c_try_run
        !          1646: 
        !          1647: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
        !          1648: # -------------------------------------------------------
        !          1649: # Tests whether HEADER exists and can be compiled using the include files in
        !          1650: # INCLUDES, setting the cache variable VAR accordingly.
        !          1651: ac_fn_c_check_header_compile ()
        !          1652: {
        !          1653:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          1654:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
        !          1655: $as_echo_n "checking for $2... " >&6; }
        !          1656: if eval \${$3+:} false; then :
        !          1657:   $as_echo_n "(cached) " >&6
        !          1658: else
        !          1659:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          1660: /* end confdefs.h.  */
        !          1661: $4
        !          1662: #include <$2>
        !          1663: _ACEOF
        !          1664: if ac_fn_c_try_compile "$LINENO"; then :
        !          1665:   eval "$3=yes"
        !          1666: else
        !          1667:   eval "$3=no"
        !          1668: fi
        !          1669: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          1670: fi
        !          1671: eval ac_res=\$$3
        !          1672:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
        !          1673: $as_echo "$ac_res" >&6; }
        !          1674:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
        !          1675: 
        !          1676: } # ac_fn_c_check_header_compile
        !          1677: 
        !          1678: # ac_fn_c_try_link LINENO
        !          1679: # -----------------------
        !          1680: # Try to link conftest.$ac_ext, and return whether this succeeded.
        !          1681: ac_fn_c_try_link ()
        !          1682: {
        !          1683:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          1684:   rm -f conftest.$ac_objext conftest$ac_exeext
        !          1685:   if { { ac_try="$ac_link"
        !          1686: case "(($ac_try" in
        !          1687:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          1688:   *) ac_try_echo=$ac_try;;
        !          1689: esac
        !          1690: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          1691: $as_echo "$ac_try_echo"; } >&5
        !          1692:   (eval "$ac_link") 2>conftest.err
        !          1693:   ac_status=$?
        !          1694:   if test -s conftest.err; then
        !          1695:     grep -v '^ *+' conftest.err >conftest.er1
        !          1696:     cat conftest.er1 >&5
        !          1697:     mv -f conftest.er1 conftest.err
        !          1698:   fi
        !          1699:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          1700:   test $ac_status = 0; } && {
        !          1701:         test -z "$ac_c_werror_flag" ||
        !          1702:         test ! -s conftest.err
        !          1703:        } && test -s conftest$ac_exeext && {
        !          1704:         test "$cross_compiling" = yes ||
        !          1705:         $as_test_x conftest$ac_exeext
        !          1706:        }; then :
        !          1707:   ac_retval=0
        !          1708: else
        !          1709:   $as_echo "$as_me: failed program was:" >&5
        !          1710: sed 's/^/| /' conftest.$ac_ext >&5
1.1       misho    1711: 
1.1.1.2 ! misho    1712:        ac_retval=1
1.1       misho    1713: fi
1.1.1.2 ! misho    1714:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
        !          1715:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
        !          1716:   # interfere with the next link command; also delete a directory that is
        !          1717:   # left behind by Apple's compiler.  We do this before executing the actions.
        !          1718:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
        !          1719:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
        !          1720:   as_fn_set_status $ac_retval
        !          1721: 
        !          1722: } # ac_fn_c_try_link
        !          1723: 
        !          1724: # ac_fn_c_check_func LINENO FUNC VAR
        !          1725: # ----------------------------------
        !          1726: # Tests whether FUNC exists, setting the cache variable VAR accordingly
        !          1727: ac_fn_c_check_func ()
        !          1728: {
        !          1729:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          1730:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
        !          1731: $as_echo_n "checking for $2... " >&6; }
        !          1732: if eval \${$3+:} false; then :
        !          1733:   $as_echo_n "(cached) " >&6
        !          1734: else
        !          1735:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          1736: /* end confdefs.h.  */
        !          1737: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
        !          1738:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
        !          1739: #define $2 innocuous_$2
1.1       misho    1740: 
1.1.1.2 ! misho    1741: /* System header to define __stub macros and hopefully few prototypes,
        !          1742:     which can conflict with char $2 (); below.
        !          1743:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
        !          1744:     <limits.h> exists even on freestanding compilers.  */
1.1       misho    1745: 
1.1.1.2 ! misho    1746: #ifdef __STDC__
        !          1747: # include <limits.h>
        !          1748: #else
        !          1749: # include <assert.h>
        !          1750: #endif
        !          1751: 
        !          1752: #undef $2
        !          1753: 
        !          1754: /* Override any GCC internal prototype to avoid an error.
        !          1755:    Use char because int might match the return type of a GCC
        !          1756:    builtin and then its argument prototype would still apply.  */
        !          1757: #ifdef __cplusplus
        !          1758: extern "C"
        !          1759: #endif
        !          1760: char $2 ();
        !          1761: /* The GNU C library defines this for functions which it implements
        !          1762:     to always fail with ENOSYS.  Some functions are actually named
        !          1763:     something starting with __ and the normal name is an alias.  */
        !          1764: #if defined __stub_$2 || defined __stub___$2
        !          1765: choke me
        !          1766: #endif
        !          1767: 
        !          1768: int
        !          1769: main ()
        !          1770: {
        !          1771: return $2 ();
        !          1772:   ;
        !          1773:   return 0;
        !          1774: }
1.1       misho    1775: _ACEOF
1.1.1.2 ! misho    1776: if ac_fn_c_try_link "$LINENO"; then :
        !          1777:   eval "$3=yes"
        !          1778: else
        !          1779:   eval "$3=no"
        !          1780: fi
        !          1781: rm -f core conftest.err conftest.$ac_objext \
        !          1782:     conftest$ac_exeext conftest.$ac_ext
1.1       misho    1783: fi
1.1.1.2 ! misho    1784: eval ac_res=\$$3
        !          1785:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
        !          1786: $as_echo "$ac_res" >&6; }
        !          1787:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
        !          1788: 
        !          1789: } # ac_fn_c_check_func
1.1       misho    1790: cat >config.log <<_ACEOF
                   1791: This file contains any messages produced by compilers while
                   1792: running configure, to aid debugging if configure makes a mistake.
                   1793: 
                   1794: It was created by $as_me, which was
1.1.1.2 ! misho    1795: generated by GNU Autoconf 2.68.  Invocation command line was
1.1       misho    1796: 
                   1797:   $ $0 $@
                   1798: 
                   1799: _ACEOF
                   1800: exec 5>>config.log
                   1801: {
                   1802: cat <<_ASUNAME
                   1803: ## --------- ##
                   1804: ## Platform. ##
                   1805: ## --------- ##
                   1806: 
                   1807: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   1808: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   1809: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   1810: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   1811: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                   1812: 
                   1813: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   1814: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
                   1815: 
                   1816: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   1817: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   1818: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
                   1819: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
                   1820: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   1821: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   1822: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   1823: 
                   1824: _ASUNAME
                   1825: 
                   1826: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1827: for as_dir in $PATH
                   1828: do
                   1829:   IFS=$as_save_IFS
                   1830:   test -z "$as_dir" && as_dir=.
1.1.1.2 ! misho    1831:     $as_echo "PATH: $as_dir"
        !          1832:   done
1.1       misho    1833: IFS=$as_save_IFS
                   1834: 
                   1835: } >&5
                   1836: 
                   1837: cat >&5 <<_ACEOF
                   1838: 
                   1839: 
                   1840: ## ----------- ##
                   1841: ## Core tests. ##
                   1842: ## ----------- ##
                   1843: 
                   1844: _ACEOF
                   1845: 
                   1846: 
                   1847: # Keep a trace of the command line.
                   1848: # Strip out --no-create and --no-recursion so they do not pile up.
                   1849: # Strip out --silent because we don't want to record it for future runs.
                   1850: # Also quote any args containing shell meta-characters.
                   1851: # Make two passes to allow for proper duplicate-argument suppression.
                   1852: ac_configure_args=
                   1853: ac_configure_args0=
                   1854: ac_configure_args1=
                   1855: ac_must_keep_next=false
                   1856: for ac_pass in 1 2
                   1857: do
                   1858:   for ac_arg
                   1859:   do
                   1860:     case $ac_arg in
                   1861:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   1862:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1863:     | -silent | --silent | --silen | --sile | --sil)
                   1864:       continue ;;
                   1865:     *\'*)
                   1866:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   1867:     esac
                   1868:     case $ac_pass in
1.1.1.2 ! misho    1869:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1.1       misho    1870:     2)
1.1.1.2 ! misho    1871:       as_fn_append ac_configure_args1 " '$ac_arg'"
1.1       misho    1872:       if test $ac_must_keep_next = true; then
                   1873:        ac_must_keep_next=false # Got value, back to normal.
                   1874:       else
                   1875:        case $ac_arg in
                   1876:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   1877:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   1878:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   1879:          | -with-* | --with-* | -without-* | --without-* | --x)
                   1880:            case "$ac_configure_args0 " in
                   1881:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   1882:            esac
                   1883:            ;;
                   1884:          -* ) ac_must_keep_next=true ;;
                   1885:        esac
                   1886:       fi
1.1.1.2 ! misho    1887:       as_fn_append ac_configure_args " '$ac_arg'"
1.1       misho    1888:       ;;
                   1889:     esac
                   1890:   done
                   1891: done
1.1.1.2 ! misho    1892: { ac_configure_args0=; unset ac_configure_args0;}
        !          1893: { ac_configure_args1=; unset ac_configure_args1;}
1.1       misho    1894: 
                   1895: # When interrupted or exit'd, cleanup temporary files, and complete
                   1896: # config.log.  We remove comments because anyway the quotes in there
                   1897: # would cause problems or look ugly.
                   1898: # WARNING: Use '\'' to represent an apostrophe within the trap.
                   1899: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
                   1900: trap 'exit_status=$?
                   1901:   # Save into config.log some information that might help in debugging.
                   1902:   {
                   1903:     echo
                   1904: 
1.1.1.2 ! misho    1905:     $as_echo "## ---------------- ##
1.1       misho    1906: ## Cache variables. ##
1.1.1.2 ! misho    1907: ## ---------------- ##"
1.1       misho    1908:     echo
                   1909:     # The following way of writing the cache mishandles newlines in values,
                   1910: (
                   1911:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
                   1912:     eval ac_val=\$$ac_var
                   1913:     case $ac_val in #(
                   1914:     *${as_nl}*)
                   1915:       case $ac_var in #(
1.1.1.2 ! misho    1916:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1.1       misho    1917: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   1918:       esac
                   1919:       case $ac_var in #(
                   1920:       _ | IFS | as_nl) ;; #(
                   1921:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1.1.1.2 ! misho    1922:       *) { eval $ac_var=; unset $ac_var;} ;;
1.1       misho    1923:       esac ;;
                   1924:     esac
                   1925:   done
                   1926:   (set) 2>&1 |
                   1927:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
                   1928:     *${as_nl}ac_space=\ *)
                   1929:       sed -n \
                   1930:        "s/'\''/'\''\\\\'\'''\''/g;
                   1931:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
                   1932:       ;; #(
                   1933:     *)
                   1934:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   1935:       ;;
                   1936:     esac |
                   1937:     sort
                   1938: )
                   1939:     echo
                   1940: 
1.1.1.2 ! misho    1941:     $as_echo "## ----------------- ##
1.1       misho    1942: ## Output variables. ##
1.1.1.2 ! misho    1943: ## ----------------- ##"
1.1       misho    1944:     echo
                   1945:     for ac_var in $ac_subst_vars
                   1946:     do
                   1947:       eval ac_val=\$$ac_var
                   1948:       case $ac_val in
                   1949:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   1950:       esac
                   1951:       $as_echo "$ac_var='\''$ac_val'\''"
                   1952:     done | sort
                   1953:     echo
                   1954: 
                   1955:     if test -n "$ac_subst_files"; then
1.1.1.2 ! misho    1956:       $as_echo "## ------------------- ##
1.1       misho    1957: ## File substitutions. ##
1.1.1.2 ! misho    1958: ## ------------------- ##"
1.1       misho    1959:       echo
                   1960:       for ac_var in $ac_subst_files
                   1961:       do
                   1962:        eval ac_val=\$$ac_var
                   1963:        case $ac_val in
                   1964:        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   1965:        esac
                   1966:        $as_echo "$ac_var='\''$ac_val'\''"
                   1967:       done | sort
                   1968:       echo
                   1969:     fi
                   1970: 
                   1971:     if test -s confdefs.h; then
1.1.1.2 ! misho    1972:       $as_echo "## ----------- ##
1.1       misho    1973: ## confdefs.h. ##
1.1.1.2 ! misho    1974: ## ----------- ##"
1.1       misho    1975:       echo
                   1976:       cat confdefs.h
                   1977:       echo
                   1978:     fi
                   1979:     test "$ac_signal" != 0 &&
                   1980:       $as_echo "$as_me: caught signal $ac_signal"
                   1981:     $as_echo "$as_me: exit $exit_status"
                   1982:   } >&5
                   1983:   rm -f core *.core core.conftest.* &&
                   1984:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
                   1985:     exit $exit_status
                   1986: ' 0
                   1987: for ac_signal in 1 2 13 15; do
1.1.1.2 ! misho    1988:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1.1       misho    1989: done
                   1990: ac_signal=0
                   1991: 
                   1992: # confdefs.h avoids OS command line length limits that DEFS can exceed.
                   1993: rm -f -r conftest* confdefs.h
                   1994: 
1.1.1.2 ! misho    1995: $as_echo "/* confdefs.h */" > confdefs.h
        !          1996: 
1.1       misho    1997: # Predefined preprocessor variables.
                   1998: 
                   1999: cat >>confdefs.h <<_ACEOF
                   2000: #define PACKAGE_NAME "$PACKAGE_NAME"
                   2001: _ACEOF
                   2002: 
                   2003: cat >>confdefs.h <<_ACEOF
                   2004: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   2005: _ACEOF
                   2006: 
                   2007: cat >>confdefs.h <<_ACEOF
                   2008: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   2009: _ACEOF
                   2010: 
                   2011: cat >>confdefs.h <<_ACEOF
                   2012: #define PACKAGE_STRING "$PACKAGE_STRING"
                   2013: _ACEOF
                   2014: 
                   2015: cat >>confdefs.h <<_ACEOF
                   2016: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   2017: _ACEOF
                   2018: 
1.1.1.2 ! misho    2019: cat >>confdefs.h <<_ACEOF
        !          2020: #define PACKAGE_URL "$PACKAGE_URL"
        !          2021: _ACEOF
        !          2022: 
1.1       misho    2023: 
                   2024: # Let the site file select an alternate cache file if it wants to.
                   2025: # Prefer an explicitly selected file to automatically selected ones.
                   2026: ac_site_file1=NONE
                   2027: ac_site_file2=NONE
                   2028: if test -n "$CONFIG_SITE"; then
1.1.1.2 ! misho    2029:   # We do not want a PATH search for config.site.
        !          2030:   case $CONFIG_SITE in #((
        !          2031:     -*)  ac_site_file1=./$CONFIG_SITE;;
        !          2032:     */*) ac_site_file1=$CONFIG_SITE;;
        !          2033:     *)   ac_site_file1=./$CONFIG_SITE;;
        !          2034:   esac
1.1       misho    2035: elif test "x$prefix" != xNONE; then
                   2036:   ac_site_file1=$prefix/share/config.site
                   2037:   ac_site_file2=$prefix/etc/config.site
                   2038: else
                   2039:   ac_site_file1=$ac_default_prefix/share/config.site
                   2040:   ac_site_file2=$ac_default_prefix/etc/config.site
                   2041: fi
                   2042: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
                   2043: do
                   2044:   test "x$ac_site_file" = xNONE && continue
1.1.1.2 ! misho    2045:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
        !          2046:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1.1       misho    2047: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
                   2048:     sed 's/^/| /' "$ac_site_file" >&5
1.1.1.2 ! misho    2049:     . "$ac_site_file" \
        !          2050:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          2051: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          2052: as_fn_error $? "failed to load site script $ac_site_file
        !          2053: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    2054:   fi
                   2055: done
                   2056: 
                   2057: if test -r "$cache_file"; then
1.1.1.2 ! misho    2058:   # Some versions of bash will fail to source /dev/null (special files
        !          2059:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
        !          2060:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
        !          2061:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1.1       misho    2062: $as_echo "$as_me: loading cache $cache_file" >&6;}
                   2063:     case $cache_file in
                   2064:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
                   2065:       *)                      . "./$cache_file";;
                   2066:     esac
                   2067:   fi
                   2068: else
1.1.1.2 ! misho    2069:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1.1       misho    2070: $as_echo "$as_me: creating cache $cache_file" >&6;}
                   2071:   >$cache_file
                   2072: fi
                   2073: 
                   2074: # Check that the precious variables saved in the cache have kept the same
                   2075: # value.
                   2076: ac_cache_corrupted=false
                   2077: for ac_var in $ac_precious_vars; do
                   2078:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   2079:   eval ac_new_set=\$ac_env_${ac_var}_set
                   2080:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
                   2081:   eval ac_new_val=\$ac_env_${ac_var}_value
                   2082:   case $ac_old_set,$ac_new_set in
                   2083:     set,)
1.1.1.2 ! misho    2084:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1.1       misho    2085: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
                   2086:       ac_cache_corrupted=: ;;
                   2087:     ,set)
1.1.1.2 ! misho    2088:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1.1       misho    2089: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
                   2090:       ac_cache_corrupted=: ;;
                   2091:     ,);;
                   2092:     *)
                   2093:       if test "x$ac_old_val" != "x$ac_new_val"; then
                   2094:        # differences in whitespace do not lead to failure.
                   2095:        ac_old_val_w=`echo x $ac_old_val`
                   2096:        ac_new_val_w=`echo x $ac_new_val`
                   2097:        if test "$ac_old_val_w" != "$ac_new_val_w"; then
1.1.1.2 ! misho    2098:          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1.1       misho    2099: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
                   2100:          ac_cache_corrupted=:
                   2101:        else
1.1.1.2 ! misho    2102:          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1.1       misho    2103: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
                   2104:          eval $ac_var=\$ac_old_val
                   2105:        fi
1.1.1.2 ! misho    2106:        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1.1       misho    2107: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1.1.1.2 ! misho    2108:        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1.1       misho    2109: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
                   2110:       fi;;
                   2111:   esac
                   2112:   # Pass precious variables to config.status.
                   2113:   if test "$ac_new_set" = set; then
                   2114:     case $ac_new_val in
                   2115:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
                   2116:     *) ac_arg=$ac_var=$ac_new_val ;;
                   2117:     esac
                   2118:     case " $ac_configure_args " in
                   2119:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1.1.1.2 ! misho    2120:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1.1       misho    2121:     esac
                   2122:   fi
                   2123: done
                   2124: if $ac_cache_corrupted; then
1.1.1.2 ! misho    2125:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1.1       misho    2126: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.1.1.2 ! misho    2127:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1.1       misho    2128: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1.1.1.2 ! misho    2129:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1.1       misho    2130: fi
1.1.1.2 ! misho    2131: ## -------------------- ##
        !          2132: ## Main body of script. ##
        !          2133: ## -------------------- ##
1.1       misho    2134: 
                   2135: ac_ext=c
                   2136: ac_cpp='$CPP $CPPFLAGS'
                   2137: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2138: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2139: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2140: 
                   2141: 
                   2142: ac_aux_dir=
                   2143: for ac_dir in build-aux "$srcdir"/build-aux; do
                   2144:   if test -f "$ac_dir/install-sh"; then
                   2145:     ac_aux_dir=$ac_dir
                   2146:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   2147:     break
                   2148:   elif test -f "$ac_dir/install.sh"; then
                   2149:     ac_aux_dir=$ac_dir
                   2150:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   2151:     break
                   2152:   elif test -f "$ac_dir/shtool"; then
                   2153:     ac_aux_dir=$ac_dir
                   2154:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   2155:     break
                   2156:   fi
                   2157: done
                   2158: if test -z "$ac_aux_dir"; then
1.1.1.2 ! misho    2159:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
1.1       misho    2160: fi
                   2161: 
                   2162: # These three variables are undocumented and unsupported,
                   2163: # and are intended to be withdrawn in a future Autoconf release.
                   2164: # They can cause serious problems if a builder's source tree is in a directory
                   2165: # whose full name contains unusual characters.
                   2166: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
                   2167: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
                   2168: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
                   2169: 
                   2170: 
                   2171: ac_config_headers="$ac_config_headers config.h"
                   2172: 
1.1.1.2 ! misho    2173: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1.1       misho    2174: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
                   2175: set x ${MAKE-make}
                   2176: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1.1.1.2 ! misho    2177: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
1.1       misho    2178:   $as_echo_n "(cached) " >&6
                   2179: else
                   2180:   cat >conftest.make <<\_ACEOF
                   2181: SHELL = /bin/sh
                   2182: all:
                   2183:        @echo '@@@%%%=$(MAKE)=@@@%%%'
                   2184: _ACEOF
1.1.1.2 ! misho    2185: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
1.1       misho    2186: case `${MAKE-make} -f conftest.make 2>/dev/null` in
                   2187:   *@@@%%%=?*=@@@%%%*)
                   2188:     eval ac_cv_prog_make_${ac_make}_set=yes;;
                   2189:   *)
                   2190:     eval ac_cv_prog_make_${ac_make}_set=no;;
                   2191: esac
                   2192: rm -f conftest.make
                   2193: fi
                   2194: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1.1.1.2 ! misho    2195:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1       misho    2196: $as_echo "yes" >&6; }
                   2197:   SET_MAKE=
                   2198: else
1.1.1.2 ! misho    2199:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    2200: $as_echo "no" >&6; }
                   2201:   SET_MAKE="MAKE=${MAKE-make}"
                   2202: fi
                   2203: 
                   2204: 
                   2205: 
                   2206: 
                   2207: 
                   2208: ac_ext=c
                   2209: ac_cpp='$CPP $CPPFLAGS'
                   2210: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2211: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2212: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2213: if test -n "$ac_tool_prefix"; then
                   2214:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   2215: set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.1.1.2 ! misho    2216: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1       misho    2217: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    2218: if ${ac_cv_prog_CC+:} false; then :
1.1       misho    2219:   $as_echo_n "(cached) " >&6
                   2220: else
                   2221:   if test -n "$CC"; then
                   2222:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2223: else
                   2224: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2225: for as_dir in $PATH
                   2226: do
                   2227:   IFS=$as_save_IFS
                   2228:   test -z "$as_dir" && as_dir=.
1.1.1.2 ! misho    2229:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1       misho    2230:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   2231:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.1.1.2 ! misho    2232:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    2233:     break 2
                   2234:   fi
                   2235: done
1.1.1.2 ! misho    2236:   done
1.1       misho    2237: IFS=$as_save_IFS
                   2238: 
                   2239: fi
                   2240: fi
                   2241: CC=$ac_cv_prog_CC
                   2242: if test -n "$CC"; then
1.1.1.2 ! misho    2243:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1.1       misho    2244: $as_echo "$CC" >&6; }
                   2245: else
1.1.1.2 ! misho    2246:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    2247: $as_echo "no" >&6; }
                   2248: fi
                   2249: 
                   2250: 
                   2251: fi
                   2252: if test -z "$ac_cv_prog_CC"; then
                   2253:   ac_ct_CC=$CC
                   2254:   # Extract the first word of "gcc", so it can be a program name with args.
                   2255: set dummy gcc; ac_word=$2
1.1.1.2 ! misho    2256: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1       misho    2257: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    2258: if ${ac_cv_prog_ac_ct_CC+:} false; then :
1.1       misho    2259:   $as_echo_n "(cached) " >&6
                   2260: else
                   2261:   if test -n "$ac_ct_CC"; then
                   2262:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   2263: else
                   2264: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2265: for as_dir in $PATH
                   2266: do
                   2267:   IFS=$as_save_IFS
                   2268:   test -z "$as_dir" && as_dir=.
1.1.1.2 ! misho    2269:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1       misho    2270:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   2271:     ac_cv_prog_ac_ct_CC="gcc"
1.1.1.2 ! misho    2272:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    2273:     break 2
                   2274:   fi
                   2275: done
1.1.1.2 ! misho    2276:   done
1.1       misho    2277: IFS=$as_save_IFS
                   2278: 
                   2279: fi
                   2280: fi
                   2281: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2282: if test -n "$ac_ct_CC"; then
1.1.1.2 ! misho    2283:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1.1       misho    2284: $as_echo "$ac_ct_CC" >&6; }
                   2285: else
1.1.1.2 ! misho    2286:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    2287: $as_echo "no" >&6; }
                   2288: fi
                   2289: 
                   2290:   if test "x$ac_ct_CC" = x; then
                   2291:     CC=""
                   2292:   else
                   2293:     case $cross_compiling:$ac_tool_warned in
                   2294: yes:)
1.1.1.2 ! misho    2295: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1       misho    2296: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   2297: ac_tool_warned=yes ;;
                   2298: esac
                   2299:     CC=$ac_ct_CC
                   2300:   fi
                   2301: else
                   2302:   CC="$ac_cv_prog_CC"
                   2303: fi
                   2304: 
                   2305: if test -z "$CC"; then
                   2306:           if test -n "$ac_tool_prefix"; then
                   2307:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
                   2308: set dummy ${ac_tool_prefix}cc; ac_word=$2
1.1.1.2 ! misho    2309: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1       misho    2310: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    2311: if ${ac_cv_prog_CC+:} false; then :
1.1       misho    2312:   $as_echo_n "(cached) " >&6
                   2313: else
                   2314:   if test -n "$CC"; then
                   2315:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2316: else
                   2317: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2318: for as_dir in $PATH
                   2319: do
                   2320:   IFS=$as_save_IFS
                   2321:   test -z "$as_dir" && as_dir=.
1.1.1.2 ! misho    2322:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1       misho    2323:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   2324:     ac_cv_prog_CC="${ac_tool_prefix}cc"
1.1.1.2 ! misho    2325:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    2326:     break 2
                   2327:   fi
                   2328: done
1.1.1.2 ! misho    2329:   done
1.1       misho    2330: IFS=$as_save_IFS
                   2331: 
                   2332: fi
                   2333: fi
                   2334: CC=$ac_cv_prog_CC
                   2335: if test -n "$CC"; then
1.1.1.2 ! misho    2336:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1.1       misho    2337: $as_echo "$CC" >&6; }
                   2338: else
1.1.1.2 ! misho    2339:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    2340: $as_echo "no" >&6; }
                   2341: fi
                   2342: 
                   2343: 
                   2344:   fi
                   2345: fi
                   2346: if test -z "$CC"; then
                   2347:   # Extract the first word of "cc", so it can be a program name with args.
                   2348: set dummy cc; ac_word=$2
1.1.1.2 ! misho    2349: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1       misho    2350: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    2351: if ${ac_cv_prog_CC+:} false; then :
1.1       misho    2352:   $as_echo_n "(cached) " >&6
                   2353: else
                   2354:   if test -n "$CC"; then
                   2355:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2356: else
                   2357:   ac_prog_rejected=no
                   2358: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2359: for as_dir in $PATH
                   2360: do
                   2361:   IFS=$as_save_IFS
                   2362:   test -z "$as_dir" && as_dir=.
1.1.1.2 ! misho    2363:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1       misho    2364:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   2365:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   2366:        ac_prog_rejected=yes
                   2367:        continue
                   2368:      fi
                   2369:     ac_cv_prog_CC="cc"
1.1.1.2 ! misho    2370:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    2371:     break 2
                   2372:   fi
                   2373: done
1.1.1.2 ! misho    2374:   done
1.1       misho    2375: IFS=$as_save_IFS
                   2376: 
                   2377: if test $ac_prog_rejected = yes; then
                   2378:   # We found a bogon in the path, so make sure we never use it.
                   2379:   set dummy $ac_cv_prog_CC
                   2380:   shift
                   2381:   if test $# != 0; then
                   2382:     # We chose a different compiler from the bogus one.
                   2383:     # However, it has the same basename, so the bogon will be chosen
                   2384:     # first if we set CC to just the basename; use the full file name.
                   2385:     shift
                   2386:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
                   2387:   fi
                   2388: fi
                   2389: fi
                   2390: fi
                   2391: CC=$ac_cv_prog_CC
                   2392: if test -n "$CC"; then
1.1.1.2 ! misho    2393:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1.1       misho    2394: $as_echo "$CC" >&6; }
                   2395: else
1.1.1.2 ! misho    2396:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    2397: $as_echo "no" >&6; }
                   2398: fi
                   2399: 
                   2400: 
                   2401: fi
                   2402: if test -z "$CC"; then
                   2403:   if test -n "$ac_tool_prefix"; then
                   2404:   for ac_prog in cl.exe
                   2405:   do
                   2406:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   2407: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.1.1.2 ! misho    2408: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1       misho    2409: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    2410: if ${ac_cv_prog_CC+:} false; then :
1.1       misho    2411:   $as_echo_n "(cached) " >&6
                   2412: else
                   2413:   if test -n "$CC"; then
                   2414:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2415: else
                   2416: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2417: for as_dir in $PATH
                   2418: do
                   2419:   IFS=$as_save_IFS
                   2420:   test -z "$as_dir" && as_dir=.
1.1.1.2 ! misho    2421:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1       misho    2422:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   2423:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.1.1.2 ! misho    2424:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    2425:     break 2
                   2426:   fi
                   2427: done
1.1.1.2 ! misho    2428:   done
1.1       misho    2429: IFS=$as_save_IFS
                   2430: 
                   2431: fi
                   2432: fi
                   2433: CC=$ac_cv_prog_CC
                   2434: if test -n "$CC"; then
1.1.1.2 ! misho    2435:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1.1       misho    2436: $as_echo "$CC" >&6; }
                   2437: else
1.1.1.2 ! misho    2438:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    2439: $as_echo "no" >&6; }
                   2440: fi
                   2441: 
                   2442: 
                   2443:     test -n "$CC" && break
                   2444:   done
                   2445: fi
                   2446: if test -z "$CC"; then
                   2447:   ac_ct_CC=$CC
                   2448:   for ac_prog in cl.exe
                   2449: do
                   2450:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2451: set dummy $ac_prog; ac_word=$2
1.1.1.2 ! misho    2452: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1       misho    2453: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    2454: if ${ac_cv_prog_ac_ct_CC+:} false; then :
1.1       misho    2455:   $as_echo_n "(cached) " >&6
                   2456: else
                   2457:   if test -n "$ac_ct_CC"; then
                   2458:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   2459: else
                   2460: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2461: for as_dir in $PATH
                   2462: do
                   2463:   IFS=$as_save_IFS
                   2464:   test -z "$as_dir" && as_dir=.
1.1.1.2 ! misho    2465:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1       misho    2466:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   2467:     ac_cv_prog_ac_ct_CC="$ac_prog"
1.1.1.2 ! misho    2468:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    2469:     break 2
                   2470:   fi
                   2471: done
1.1.1.2 ! misho    2472:   done
1.1       misho    2473: IFS=$as_save_IFS
                   2474: 
                   2475: fi
                   2476: fi
                   2477: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2478: if test -n "$ac_ct_CC"; then
1.1.1.2 ! misho    2479:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1.1       misho    2480: $as_echo "$ac_ct_CC" >&6; }
                   2481: else
1.1.1.2 ! misho    2482:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    2483: $as_echo "no" >&6; }
                   2484: fi
                   2485: 
                   2486: 
                   2487:   test -n "$ac_ct_CC" && break
                   2488: done
                   2489: 
                   2490:   if test "x$ac_ct_CC" = x; then
                   2491:     CC=""
                   2492:   else
                   2493:     case $cross_compiling:$ac_tool_warned in
                   2494: yes:)
1.1.1.2 ! misho    2495: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1       misho    2496: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   2497: ac_tool_warned=yes ;;
                   2498: esac
                   2499:     CC=$ac_ct_CC
                   2500:   fi
                   2501: fi
                   2502: 
                   2503: fi
                   2504: 
                   2505: 
1.1.1.2 ! misho    2506: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1.1       misho    2507: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.1.1.2 ! misho    2508: as_fn_error $? "no acceptable C compiler found in \$PATH
        !          2509: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    2510: 
                   2511: # Provide some information about the compiler.
1.1.1.2 ! misho    2512: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
1.1       misho    2513: set X $ac_compile
                   2514: ac_compiler=$2
1.1.1.2 ! misho    2515: for ac_option in --version -v -V -qversion; do
        !          2516:   { { ac_try="$ac_compiler $ac_option >&5"
1.1       misho    2517: case "(($ac_try" in
                   2518:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2519:   *) ac_try_echo=$ac_try;;
                   2520: esac
1.1.1.2 ! misho    2521: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          2522: $as_echo "$ac_try_echo"; } >&5
        !          2523:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
        !          2524:   ac_status=$?
        !          2525:   if test -s conftest.err; then
        !          2526:     sed '10a\
        !          2527: ... rest of stderr output deleted ...
        !          2528:          10q' conftest.err >conftest.er1
        !          2529:     cat conftest.er1 >&5
        !          2530:   fi
        !          2531:   rm -f conftest.er1 conftest.err
        !          2532:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          2533:   test $ac_status = 0; }
        !          2534: done
1.1       misho    2535: 
1.1.1.2 ! misho    2536: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    2537: /* end confdefs.h.  */
                   2538: 
                   2539: int
                   2540: main ()
                   2541: {
                   2542: 
                   2543:   ;
                   2544:   return 0;
                   2545: }
                   2546: _ACEOF
                   2547: ac_clean_files_save=$ac_clean_files
                   2548: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
                   2549: # Try to create an executable without -o first, disregard a.out.
                   2550: # It will help us diagnose broken compilers, and finding out an intuition
                   2551: # of exeext.
1.1.1.2 ! misho    2552: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
        !          2553: $as_echo_n "checking whether the C compiler works... " >&6; }
1.1       misho    2554: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   2555: 
                   2556: # The possible output files:
                   2557: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
                   2558: 
                   2559: ac_rmfiles=
                   2560: for ac_file in $ac_files
                   2561: do
                   2562:   case $ac_file in
                   2563:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   2564:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
                   2565:   esac
                   2566: done
                   2567: rm -f $ac_rmfiles
                   2568: 
1.1.1.2 ! misho    2569: if { { ac_try="$ac_link_default"
1.1       misho    2570: case "(($ac_try" in
                   2571:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2572:   *) ac_try_echo=$ac_try;;
                   2573: esac
1.1.1.2 ! misho    2574: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          2575: $as_echo "$ac_try_echo"; } >&5
1.1       misho    2576:   (eval "$ac_link_default") 2>&5
                   2577:   ac_status=$?
1.1.1.2 ! misho    2578:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          2579:   test $ac_status = 0; }; then :
1.1       misho    2580:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
                   2581: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
                   2582: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
                   2583: # so that the user can short-circuit this test for compilers unknown to
                   2584: # Autoconf.
                   2585: for ac_file in $ac_files ''
                   2586: do
                   2587:   test -f "$ac_file" || continue
                   2588:   case $ac_file in
                   2589:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
                   2590:        ;;
                   2591:     [ab].out )
                   2592:        # We found the default executable, but exeext='' is most
                   2593:        # certainly right.
                   2594:        break;;
                   2595:     *.* )
1.1.1.2 ! misho    2596:        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
1.1       misho    2597:        then :; else
                   2598:           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   2599:        fi
                   2600:        # We set ac_cv_exeext here because the later test for it is not
                   2601:        # safe: cross compilers may not add the suffix if given an `-o'
                   2602:        # argument, so we may need to know it at that point already.
                   2603:        # Even if this section looks crufty: it has the advantage of
                   2604:        # actually working.
                   2605:        break;;
                   2606:     * )
                   2607:        break;;
                   2608:   esac
                   2609: done
                   2610: test "$ac_cv_exeext" = no && ac_cv_exeext=
                   2611: 
                   2612: else
                   2613:   ac_file=''
                   2614: fi
1.1.1.2 ! misho    2615: if test -z "$ac_file"; then :
        !          2616:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          2617: $as_echo "no" >&6; }
        !          2618: $as_echo "$as_me: failed program was:" >&5
1.1       misho    2619: sed 's/^/| /' conftest.$ac_ext >&5
                   2620: 
1.1.1.2 ! misho    2621: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1.1       misho    2622: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.1.1.2 ! misho    2623: as_fn_error 77 "C compiler cannot create executables
        !          2624: See \`config.log' for more details" "$LINENO" 5; }
        !          2625: else
        !          2626:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
        !          2627: $as_echo "yes" >&6; }
1.1       misho    2628: fi
1.1.1.2 ! misho    2629: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
        !          2630: $as_echo_n "checking for C compiler default output file name... " >&6; }
        !          2631: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
        !          2632: $as_echo "$ac_file" >&6; }
1.1       misho    2633: ac_exeext=$ac_cv_exeext
                   2634: 
                   2635: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
                   2636: ac_clean_files=$ac_clean_files_save
1.1.1.2 ! misho    2637: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
1.1       misho    2638: $as_echo_n "checking for suffix of executables... " >&6; }
1.1.1.2 ! misho    2639: if { { ac_try="$ac_link"
1.1       misho    2640: case "(($ac_try" in
                   2641:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2642:   *) ac_try_echo=$ac_try;;
                   2643: esac
1.1.1.2 ! misho    2644: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          2645: $as_echo "$ac_try_echo"; } >&5
1.1       misho    2646:   (eval "$ac_link") 2>&5
                   2647:   ac_status=$?
1.1.1.2 ! misho    2648:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          2649:   test $ac_status = 0; }; then :
1.1       misho    2650:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   2651: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   2652: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   2653: # `rm'.
                   2654: for ac_file in conftest.exe conftest conftest.*; do
                   2655:   test -f "$ac_file" || continue
                   2656:   case $ac_file in
                   2657:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   2658:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   2659:          break;;
                   2660:     * ) break;;
                   2661:   esac
                   2662: done
                   2663: else
1.1.1.2 ! misho    2664:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1.1       misho    2665: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.1.1.2 ! misho    2666: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
        !          2667: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    2668: fi
1.1.1.2 ! misho    2669: rm -f conftest conftest$ac_cv_exeext
        !          2670: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
1.1       misho    2671: $as_echo "$ac_cv_exeext" >&6; }
                   2672: 
                   2673: rm -f conftest.$ac_ext
                   2674: EXEEXT=$ac_cv_exeext
                   2675: ac_exeext=$EXEEXT
1.1.1.2 ! misho    2676: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          2677: /* end confdefs.h.  */
        !          2678: #include <stdio.h>
        !          2679: int
        !          2680: main ()
        !          2681: {
        !          2682: FILE *f = fopen ("conftest.out", "w");
        !          2683:  return ferror (f) || fclose (f) != 0;
        !          2684: 
        !          2685:   ;
        !          2686:   return 0;
        !          2687: }
        !          2688: _ACEOF
        !          2689: ac_clean_files="$ac_clean_files conftest.out"
        !          2690: # Check that the compiler produces executables we can run.  If not, either
        !          2691: # the compiler is broken, or we cross compile.
        !          2692: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
        !          2693: $as_echo_n "checking whether we are cross compiling... " >&6; }
        !          2694: if test "$cross_compiling" != yes; then
        !          2695:   { { ac_try="$ac_link"
        !          2696: case "(($ac_try" in
        !          2697:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          2698:   *) ac_try_echo=$ac_try;;
        !          2699: esac
        !          2700: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          2701: $as_echo "$ac_try_echo"; } >&5
        !          2702:   (eval "$ac_link") 2>&5
        !          2703:   ac_status=$?
        !          2704:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          2705:   test $ac_status = 0; }
        !          2706:   if { ac_try='./conftest$ac_cv_exeext'
        !          2707:   { { case "(($ac_try" in
        !          2708:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
        !          2709:   *) ac_try_echo=$ac_try;;
        !          2710: esac
        !          2711: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          2712: $as_echo "$ac_try_echo"; } >&5
        !          2713:   (eval "$ac_try") 2>&5
        !          2714:   ac_status=$?
        !          2715:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          2716:   test $ac_status = 0; }; }; then
        !          2717:     cross_compiling=no
        !          2718:   else
        !          2719:     if test "$cross_compiling" = maybe; then
        !          2720:        cross_compiling=yes
        !          2721:     else
        !          2722:        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
        !          2723: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
        !          2724: as_fn_error $? "cannot run C compiled programs.
        !          2725: If you meant to cross compile, use \`--host'.
        !          2726: See \`config.log' for more details" "$LINENO" 5; }
        !          2727:     fi
        !          2728:   fi
        !          2729: fi
        !          2730: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
        !          2731: $as_echo "$cross_compiling" >&6; }
        !          2732: 
        !          2733: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
        !          2734: ac_clean_files=$ac_clean_files_save
        !          2735: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
1.1       misho    2736: $as_echo_n "checking for suffix of object files... " >&6; }
1.1.1.2 ! misho    2737: if ${ac_cv_objext+:} false; then :
1.1       misho    2738:   $as_echo_n "(cached) " >&6
                   2739: else
1.1.1.2 ! misho    2740:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    2741: /* end confdefs.h.  */
                   2742: 
                   2743: int
                   2744: main ()
                   2745: {
                   2746: 
                   2747:   ;
                   2748:   return 0;
                   2749: }
                   2750: _ACEOF
                   2751: rm -f conftest.o conftest.obj
1.1.1.2 ! misho    2752: if { { ac_try="$ac_compile"
1.1       misho    2753: case "(($ac_try" in
                   2754:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   2755:   *) ac_try_echo=$ac_try;;
                   2756: esac
1.1.1.2 ! misho    2757: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
        !          2758: $as_echo "$ac_try_echo"; } >&5
1.1       misho    2759:   (eval "$ac_compile") 2>&5
                   2760:   ac_status=$?
1.1.1.2 ! misho    2761:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          2762:   test $ac_status = 0; }; then :
1.1       misho    2763:   for ac_file in conftest.o conftest.obj conftest.*; do
                   2764:   test -f "$ac_file" || continue;
                   2765:   case $ac_file in
                   2766:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
                   2767:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   2768:        break;;
                   2769:   esac
                   2770: done
                   2771: else
                   2772:   $as_echo "$as_me: failed program was:" >&5
                   2773: sed 's/^/| /' conftest.$ac_ext >&5
                   2774: 
1.1.1.2 ! misho    2775: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1.1       misho    2776: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.1.1.2 ! misho    2777: as_fn_error $? "cannot compute suffix of object files: cannot compile
        !          2778: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    2779: fi
                   2780: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   2781: fi
1.1.1.2 ! misho    2782: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
1.1       misho    2783: $as_echo "$ac_cv_objext" >&6; }
                   2784: OBJEXT=$ac_cv_objext
                   2785: ac_objext=$OBJEXT
1.1.1.2 ! misho    2786: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
1.1       misho    2787: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
1.1.1.2 ! misho    2788: if ${ac_cv_c_compiler_gnu+:} false; then :
1.1       misho    2789:   $as_echo_n "(cached) " >&6
                   2790: else
1.1.1.2 ! misho    2791:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    2792: /* end confdefs.h.  */
                   2793: 
                   2794: int
                   2795: main ()
                   2796: {
                   2797: #ifndef __GNUC__
                   2798:        choke me
                   2799: #endif
                   2800: 
                   2801:   ;
                   2802:   return 0;
                   2803: }
                   2804: _ACEOF
1.1.1.2 ! misho    2805: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    2806:   ac_compiler_gnu=yes
                   2807: else
1.1.1.2 ! misho    2808:   ac_compiler_gnu=no
1.1       misho    2809: fi
                   2810: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2811: ac_cv_c_compiler_gnu=$ac_compiler_gnu
                   2812: 
                   2813: fi
1.1.1.2 ! misho    2814: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
1.1       misho    2815: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
                   2816: if test $ac_compiler_gnu = yes; then
                   2817:   GCC=yes
                   2818: else
                   2819:   GCC=
                   2820: fi
                   2821: ac_test_CFLAGS=${CFLAGS+set}
                   2822: ac_save_CFLAGS=$CFLAGS
1.1.1.2 ! misho    2823: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
1.1       misho    2824: $as_echo_n "checking whether $CC accepts -g... " >&6; }
1.1.1.2 ! misho    2825: if ${ac_cv_prog_cc_g+:} false; then :
1.1       misho    2826:   $as_echo_n "(cached) " >&6
                   2827: else
                   2828:   ac_save_c_werror_flag=$ac_c_werror_flag
                   2829:    ac_c_werror_flag=yes
                   2830:    ac_cv_prog_cc_g=no
                   2831:    CFLAGS="-g"
1.1.1.2 ! misho    2832:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    2833: /* end confdefs.h.  */
                   2834: 
                   2835: int
                   2836: main ()
                   2837: {
                   2838: 
                   2839:   ;
                   2840:   return 0;
                   2841: }
                   2842: _ACEOF
1.1.1.2 ! misho    2843: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    2844:   ac_cv_prog_cc_g=yes
                   2845: else
1.1.1.2 ! misho    2846:   CFLAGS=""
        !          2847:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    2848: /* end confdefs.h.  */
                   2849: 
                   2850: int
                   2851: main ()
                   2852: {
                   2853: 
1.1.1.2 ! misho    2854:   ;
        !          2855:   return 0;
        !          2856: }
1.1       misho    2857: _ACEOF
1.1.1.2 ! misho    2858: if ac_fn_c_try_compile "$LINENO"; then :
        !          2859: 
        !          2860: else
        !          2861:   ac_c_werror_flag=$ac_save_c_werror_flag
        !          2862:         CFLAGS="-g"
        !          2863:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    2864: /* end confdefs.h.  */
                   2865: 
                   2866: int
                   2867: main ()
                   2868: {
                   2869: 
                   2870:   ;
                   2871:   return 0;
                   2872: }
                   2873: _ACEOF
1.1.1.2 ! misho    2874: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    2875:   ac_cv_prog_cc_g=yes
                   2876: fi
                   2877: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2878: fi
                   2879: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2880: fi
                   2881: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   2882:    ac_c_werror_flag=$ac_save_c_werror_flag
                   2883: fi
1.1.1.2 ! misho    2884: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
1.1       misho    2885: $as_echo "$ac_cv_prog_cc_g" >&6; }
                   2886: if test "$ac_test_CFLAGS" = set; then
                   2887:   CFLAGS=$ac_save_CFLAGS
                   2888: elif test $ac_cv_prog_cc_g = yes; then
                   2889:   if test "$GCC" = yes; then
                   2890:     CFLAGS="-g -O2"
                   2891:   else
                   2892:     CFLAGS="-g"
                   2893:   fi
                   2894: else
                   2895:   if test "$GCC" = yes; then
                   2896:     CFLAGS="-O2"
                   2897:   else
                   2898:     CFLAGS=
                   2899:   fi
                   2900: fi
1.1.1.2 ! misho    2901: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
1.1       misho    2902: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
1.1.1.2 ! misho    2903: if ${ac_cv_prog_cc_c89+:} false; then :
1.1       misho    2904:   $as_echo_n "(cached) " >&6
                   2905: else
                   2906:   ac_cv_prog_cc_c89=no
                   2907: ac_save_CC=$CC
1.1.1.2 ! misho    2908: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    2909: /* end confdefs.h.  */
                   2910: #include <stdarg.h>
                   2911: #include <stdio.h>
                   2912: #include <sys/types.h>
                   2913: #include <sys/stat.h>
                   2914: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   2915: struct buf { int x; };
                   2916: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   2917: static char *e (p, i)
                   2918:      char **p;
                   2919:      int i;
                   2920: {
                   2921:   return p[i];
                   2922: }
                   2923: static char *f (char * (*g) (char **, int), char **p, ...)
                   2924: {
                   2925:   char *s;
                   2926:   va_list v;
                   2927:   va_start (v,p);
                   2928:   s = g (p, va_arg (v,int));
                   2929:   va_end (v);
                   2930:   return s;
                   2931: }
                   2932: 
                   2933: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   2934:    function prototypes and stuff, but not '\xHH' hex character constants.
                   2935:    These don't provoke an error unfortunately, instead are silently treated
                   2936:    as 'x'.  The following induces an error, until -std is added to get
                   2937:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   2938:    array size at least.  It's necessary to write '\x00'==0 to get something
                   2939:    that's true only with -std.  */
                   2940: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   2941: 
                   2942: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
                   2943:    inside strings and character constants.  */
                   2944: #define FOO(x) 'x'
                   2945: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
                   2946: 
                   2947: int test (int i, double x);
                   2948: struct s1 {int (*f) (int a);};
                   2949: struct s2 {int (*f) (double a);};
                   2950: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   2951: int argc;
                   2952: char **argv;
                   2953: int
                   2954: main ()
                   2955: {
                   2956: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   2957:   ;
                   2958:   return 0;
                   2959: }
                   2960: _ACEOF
                   2961: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
                   2962:        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
                   2963: do
                   2964:   CC="$ac_save_CC $ac_arg"
1.1.1.2 ! misho    2965:   if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    2966:   ac_cv_prog_cc_c89=$ac_arg
                   2967: fi
                   2968: rm -f core conftest.err conftest.$ac_objext
                   2969:   test "x$ac_cv_prog_cc_c89" != "xno" && break
                   2970: done
                   2971: rm -f conftest.$ac_ext
                   2972: CC=$ac_save_CC
                   2973: 
                   2974: fi
                   2975: # AC_CACHE_VAL
                   2976: case "x$ac_cv_prog_cc_c89" in
                   2977:   x)
1.1.1.2 ! misho    2978:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
1.1       misho    2979: $as_echo "none needed" >&6; } ;;
                   2980:   xno)
1.1.1.2 ! misho    2981:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
1.1       misho    2982: $as_echo "unsupported" >&6; } ;;
                   2983:   *)
                   2984:     CC="$CC $ac_cv_prog_cc_c89"
1.1.1.2 ! misho    2985:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
1.1       misho    2986: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
                   2987: esac
1.1.1.2 ! misho    2988: if test "x$ac_cv_prog_cc_c89" != xno; then :
1.1       misho    2989: 
1.1.1.2 ! misho    2990: fi
1.1       misho    2991: 
                   2992: ac_ext=c
                   2993: ac_cpp='$CPP $CPPFLAGS'
                   2994: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2995: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2996: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2997: 
                   2998: ac_ext=c
                   2999: ac_cpp='$CPP $CPPFLAGS'
                   3000: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3001: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3002: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1.1.2 ! misho    3003: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
1.1       misho    3004: $as_echo_n "checking how to run the C preprocessor... " >&6; }
                   3005: # On Suns, sometimes $CPP names a directory.
                   3006: if test -n "$CPP" && test -d "$CPP"; then
                   3007:   CPP=
                   3008: fi
                   3009: if test -z "$CPP"; then
1.1.1.2 ! misho    3010:   if ${ac_cv_prog_CPP+:} false; then :
1.1       misho    3011:   $as_echo_n "(cached) " >&6
                   3012: else
                   3013:       # Double quotes because CPP needs to be expanded
                   3014:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   3015:     do
                   3016:       ac_preproc_ok=false
                   3017: for ac_c_preproc_warn_flag in '' yes
                   3018: do
                   3019:   # Use a header file that comes with gcc, so configuring glibc
                   3020:   # with a fresh cross-compiler works.
                   3021:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   3022:   # <limits.h> exists even on freestanding compilers.
                   3023:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   3024:   # not just through cpp. "Syntax error" is here to catch this case.
1.1.1.2 ! misho    3025:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3026: /* end confdefs.h.  */
                   3027: #ifdef __STDC__
                   3028: # include <limits.h>
                   3029: #else
                   3030: # include <assert.h>
                   3031: #endif
                   3032:                     Syntax error
                   3033: _ACEOF
1.1.1.2 ! misho    3034: if ac_fn_c_try_cpp "$LINENO"; then :
1.1       misho    3035: 
1.1.1.2 ! misho    3036: else
1.1       misho    3037:   # Broken: fails on valid input.
                   3038: continue
                   3039: fi
1.1.1.2 ! misho    3040: rm -f conftest.err conftest.i conftest.$ac_ext
1.1       misho    3041: 
                   3042:   # OK, works on sane cases.  Now check whether nonexistent headers
                   3043:   # can be detected and how.
1.1.1.2 ! misho    3044:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3045: /* end confdefs.h.  */
                   3046: #include <ac_nonexistent.h>
                   3047: _ACEOF
1.1.1.2 ! misho    3048: if ac_fn_c_try_cpp "$LINENO"; then :
1.1       misho    3049:   # Broken: success on invalid input.
                   3050: continue
                   3051: else
                   3052:   # Passes both tests.
                   3053: ac_preproc_ok=:
                   3054: break
                   3055: fi
1.1.1.2 ! misho    3056: rm -f conftest.err conftest.i conftest.$ac_ext
1.1       misho    3057: 
                   3058: done
                   3059: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.1.1.2 ! misho    3060: rm -f conftest.i conftest.err conftest.$ac_ext
        !          3061: if $ac_preproc_ok; then :
1.1       misho    3062:   break
                   3063: fi
                   3064: 
                   3065:     done
                   3066:     ac_cv_prog_CPP=$CPP
                   3067: 
                   3068: fi
                   3069:   CPP=$ac_cv_prog_CPP
                   3070: else
                   3071:   ac_cv_prog_CPP=$CPP
                   3072: fi
1.1.1.2 ! misho    3073: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
1.1       misho    3074: $as_echo "$CPP" >&6; }
                   3075: ac_preproc_ok=false
                   3076: for ac_c_preproc_warn_flag in '' yes
                   3077: do
                   3078:   # Use a header file that comes with gcc, so configuring glibc
                   3079:   # with a fresh cross-compiler works.
                   3080:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   3081:   # <limits.h> exists even on freestanding compilers.
                   3082:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   3083:   # not just through cpp. "Syntax error" is here to catch this case.
1.1.1.2 ! misho    3084:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3085: /* end confdefs.h.  */
                   3086: #ifdef __STDC__
                   3087: # include <limits.h>
                   3088: #else
                   3089: # include <assert.h>
                   3090: #endif
                   3091:                     Syntax error
                   3092: _ACEOF
1.1.1.2 ! misho    3093: if ac_fn_c_try_cpp "$LINENO"; then :
1.1       misho    3094: 
1.1.1.2 ! misho    3095: else
1.1       misho    3096:   # Broken: fails on valid input.
                   3097: continue
                   3098: fi
1.1.1.2 ! misho    3099: rm -f conftest.err conftest.i conftest.$ac_ext
1.1       misho    3100: 
                   3101:   # OK, works on sane cases.  Now check whether nonexistent headers
                   3102:   # can be detected and how.
1.1.1.2 ! misho    3103:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3104: /* end confdefs.h.  */
                   3105: #include <ac_nonexistent.h>
                   3106: _ACEOF
1.1.1.2 ! misho    3107: if ac_fn_c_try_cpp "$LINENO"; then :
1.1       misho    3108:   # Broken: success on invalid input.
                   3109: continue
                   3110: else
                   3111:   # Passes both tests.
                   3112: ac_preproc_ok=:
                   3113: break
                   3114: fi
1.1.1.2 ! misho    3115: rm -f conftest.err conftest.i conftest.$ac_ext
1.1       misho    3116: 
                   3117: done
                   3118: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1.1.1.2 ! misho    3119: rm -f conftest.i conftest.err conftest.$ac_ext
        !          3120: if $ac_preproc_ok; then :
        !          3121: 
1.1       misho    3122: else
1.1.1.2 ! misho    3123:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1.1       misho    3124: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1.1.1.2 ! misho    3125: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
        !          3126: See \`config.log' for more details" "$LINENO" 5; }
1.1       misho    3127: fi
                   3128: 
                   3129: ac_ext=c
                   3130: ac_cpp='$CPP $CPPFLAGS'
                   3131: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3132: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3133: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3134: 
                   3135: # Find a good install program.  We prefer a C program (faster),
                   3136: # so one script is as good as another.  But avoid the broken or
                   3137: # incompatible versions:
                   3138: # SysV /etc/install, /usr/sbin/install
                   3139: # SunOS /usr/etc/install
                   3140: # IRIX /sbin/install
                   3141: # AIX /bin/install
                   3142: # AmigaOS /C/install, which installs bootblocks on floppy discs
                   3143: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   3144: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   3145: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
                   3146: # OS/2's system install, which has a completely different semantic
                   3147: # ./install, which can be erroneously created by make from ./install.sh.
                   3148: # Reject install programs that cannot install multiple files.
1.1.1.2 ! misho    3149: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1.1       misho    3150: $as_echo_n "checking for a BSD-compatible install... " >&6; }
                   3151: if test -z "$INSTALL"; then
1.1.1.2 ! misho    3152: if ${ac_cv_path_install+:} false; then :
1.1       misho    3153:   $as_echo_n "(cached) " >&6
                   3154: else
                   3155:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3156: for as_dir in $PATH
                   3157: do
                   3158:   IFS=$as_save_IFS
                   3159:   test -z "$as_dir" && as_dir=.
1.1.1.2 ! misho    3160:     # Account for people who put trailing slashes in PATH elements.
        !          3161: case $as_dir/ in #((
        !          3162:   ./ | .// | /[cC]/* | \
1.1       misho    3163:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.1.1.2 ! misho    3164:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1.1       misho    3165:   /usr/ucb/* ) ;;
                   3166:   *)
                   3167:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   3168:     # Don't use installbsd from OSF since it installs stuff as root
                   3169:     # by default.
                   3170:     for ac_prog in ginstall scoinst install; do
                   3171:       for ac_exec_ext in '' $ac_executable_extensions; do
                   3172:        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
                   3173:          if test $ac_prog = install &&
                   3174:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   3175:            # AIX install.  It has an incompatible calling convention.
                   3176:            :
                   3177:          elif test $ac_prog = install &&
                   3178:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   3179:            # program-specific install script used by HP pwplus--don't use.
                   3180:            :
                   3181:          else
                   3182:            rm -rf conftest.one conftest.two conftest.dir
                   3183:            echo one > conftest.one
                   3184:            echo two > conftest.two
                   3185:            mkdir conftest.dir
                   3186:            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
                   3187:              test -s conftest.one && test -s conftest.two &&
                   3188:              test -s conftest.dir/conftest.one &&
                   3189:              test -s conftest.dir/conftest.two
                   3190:            then
                   3191:              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   3192:              break 3
                   3193:            fi
                   3194:          fi
                   3195:        fi
                   3196:       done
                   3197:     done
                   3198:     ;;
                   3199: esac
                   3200: 
1.1.1.2 ! misho    3201:   done
1.1       misho    3202: IFS=$as_save_IFS
                   3203: 
                   3204: rm -rf conftest.one conftest.two conftest.dir
                   3205: 
                   3206: fi
                   3207:   if test "${ac_cv_path_install+set}" = set; then
                   3208:     INSTALL=$ac_cv_path_install
                   3209:   else
                   3210:     # As a last resort, use the slow shell script.  Don't cache a
                   3211:     # value for INSTALL within a source directory, because that will
                   3212:     # break other packages using the cache if that directory is
                   3213:     # removed, or if the value is a relative name.
                   3214:     INSTALL=$ac_install_sh
                   3215:   fi
                   3216: fi
1.1.1.2 ! misho    3217: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1.1       misho    3218: $as_echo "$INSTALL" >&6; }
                   3219: 
                   3220: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   3221: # It thinks the first close brace ends the variable substitution.
                   3222: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   3223: 
                   3224: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
                   3225: 
                   3226: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   3227: 
                   3228: 
                   3229: 
                   3230: # Make sure we can run config.sub.
                   3231: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1.1.1.2 ! misho    3232:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
1.1       misho    3233: 
1.1.1.2 ! misho    3234: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
1.1       misho    3235: $as_echo_n "checking build system type... " >&6; }
1.1.1.2 ! misho    3236: if ${ac_cv_build+:} false; then :
1.1       misho    3237:   $as_echo_n "(cached) " >&6
                   3238: else
                   3239:   ac_build_alias=$build_alias
                   3240: test "x$ac_build_alias" = x &&
                   3241:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
                   3242: test "x$ac_build_alias" = x &&
1.1.1.2 ! misho    3243:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
1.1       misho    3244: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1.1.1.2 ! misho    3245:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
1.1       misho    3246: 
                   3247: fi
1.1.1.2 ! misho    3248: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
1.1       misho    3249: $as_echo "$ac_cv_build" >&6; }
                   3250: case $ac_cv_build in
                   3251: *-*-*) ;;
1.1.1.2 ! misho    3252: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
1.1       misho    3253: esac
                   3254: build=$ac_cv_build
                   3255: ac_save_IFS=$IFS; IFS='-'
                   3256: set x $ac_cv_build
                   3257: shift
                   3258: build_cpu=$1
                   3259: build_vendor=$2
                   3260: shift; shift
                   3261: # Remember, the first character of IFS is used to create $*,
                   3262: # except with old shells:
                   3263: build_os=$*
                   3264: IFS=$ac_save_IFS
                   3265: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
                   3266: 
                   3267: 
1.1.1.2 ! misho    3268: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
1.1       misho    3269: $as_echo_n "checking host system type... " >&6; }
1.1.1.2 ! misho    3270: if ${ac_cv_host+:} false; then :
1.1       misho    3271:   $as_echo_n "(cached) " >&6
                   3272: else
                   3273:   if test "x$host_alias" = x; then
                   3274:   ac_cv_host=$ac_cv_build
                   3275: else
                   3276:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1.1.1.2 ! misho    3277:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1.1       misho    3278: fi
                   3279: 
                   3280: fi
1.1.1.2 ! misho    3281: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
1.1       misho    3282: $as_echo "$ac_cv_host" >&6; }
                   3283: case $ac_cv_host in
                   3284: *-*-*) ;;
1.1.1.2 ! misho    3285: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
1.1       misho    3286: esac
                   3287: host=$ac_cv_host
                   3288: ac_save_IFS=$IFS; IFS='-'
                   3289: set x $ac_cv_host
                   3290: shift
                   3291: host_cpu=$1
                   3292: host_vendor=$2
                   3293: shift; shift
                   3294: # Remember, the first character of IFS is used to create $*,
                   3295: # except with old shells:
                   3296: host_os=$*
                   3297: IFS=$ac_save_IFS
                   3298: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
                   3299: 
                   3300: 
                   3301: 
                   3302: 
                   3303: 
1.1.1.2 ! misho    3304:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to activate relocatable installation" >&5
1.1       misho    3305: $as_echo_n "checking whether to activate relocatable installation... " >&6; }
                   3306:   # Check whether --enable-relocatable was given.
1.1.1.2 ! misho    3307: if test "${enable_relocatable+set}" = set; then :
1.1       misho    3308:   enableval=$enable_relocatable; if test "$enableval" != no; then
                   3309:        RELOCATABLE=yes
                   3310:      else
                   3311:        RELOCATABLE=no
                   3312:      fi
                   3313: 
                   3314: else
                   3315:   RELOCATABLE=no
                   3316: fi
                   3317: 
                   3318: 
1.1.1.2 ! misho    3319:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RELOCATABLE" >&5
1.1       misho    3320: $as_echo "$RELOCATABLE" >&6; }
                   3321: 
                   3322: 
                   3323: 
                   3324:     if test "X$prefix" = "XNONE"; then
                   3325:     reloc_final_prefix="$ac_default_prefix"
                   3326:   else
                   3327:     reloc_final_prefix="$prefix"
                   3328:   fi
                   3329: 
                   3330: cat >>confdefs.h <<_ACEOF
                   3331: #define INSTALLPREFIX "${reloc_final_prefix}"
                   3332: _ACEOF
                   3333: 
                   3334:   if test $RELOCATABLE = yes; then
                   3335: 
1.1.1.2 ! misho    3336: $as_echo "#define ENABLE_RELOCATABLE 1" >>confdefs.h
1.1       misho    3337: 
                   3338:   fi
                   3339: 
                   3340: 
                   3341: 
                   3342:   if test $RELOCATABLE = yes; then
                   3343:     case " $LIBOBJS " in
                   3344:   *" relocatable.$ac_objext "* ) ;;
                   3345:   *) LIBOBJS="$LIBOBJS relocatable.$ac_objext"
                   3346:  ;;
                   3347: esac
                   3348: 
                   3349:   fi
                   3350: 
                   3351: 
                   3352: 
                   3353: 
                   3354: 
                   3355: 
1.1.1.2 ! misho    3356: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
1.1       misho    3357: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
1.1.1.2 ! misho    3358: if ${ac_cv_path_GREP+:} false; then :
1.1       misho    3359:   $as_echo_n "(cached) " >&6
                   3360: else
                   3361:   if test -z "$GREP"; then
                   3362:   ac_path_GREP_found=false
                   3363:   # Loop through the user's path and test for each of PROGNAME-LIST
                   3364:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3365: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   3366: do
                   3367:   IFS=$as_save_IFS
                   3368:   test -z "$as_dir" && as_dir=.
1.1.1.2 ! misho    3369:     for ac_prog in grep ggrep; do
1.1       misho    3370:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3371:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
                   3372:       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
                   3373: # Check for GNU ac_path_GREP and select it if it is found.
                   3374:   # Check for GNU $ac_path_GREP
                   3375: case `"$ac_path_GREP" --version 2>&1` in
                   3376: *GNU*)
                   3377:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
                   3378: *)
                   3379:   ac_count=0
                   3380:   $as_echo_n 0123456789 >"conftest.in"
                   3381:   while :
                   3382:   do
                   3383:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   3384:     mv "conftest.tmp" "conftest.in"
                   3385:     cp "conftest.in" "conftest.nl"
                   3386:     $as_echo 'GREP' >> "conftest.nl"
                   3387:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   3388:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
1.1.1.2 ! misho    3389:     as_fn_arith $ac_count + 1 && ac_count=$as_val
1.1       misho    3390:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
                   3391:       # Best one so far, save it but keep looking for a better one
                   3392:       ac_cv_path_GREP="$ac_path_GREP"
                   3393:       ac_path_GREP_max=$ac_count
                   3394:     fi
                   3395:     # 10*(2^10) chars as input seems more than enough
                   3396:     test $ac_count -gt 10 && break
                   3397:   done
                   3398:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   3399: esac
                   3400: 
                   3401:       $ac_path_GREP_found && break 3
                   3402:     done
                   3403:   done
1.1.1.2 ! misho    3404:   done
1.1       misho    3405: IFS=$as_save_IFS
                   3406:   if test -z "$ac_cv_path_GREP"; then
1.1.1.2 ! misho    3407:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
1.1       misho    3408:   fi
                   3409: else
                   3410:   ac_cv_path_GREP=$GREP
                   3411: fi
                   3412: 
                   3413: fi
1.1.1.2 ! misho    3414: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
1.1       misho    3415: $as_echo "$ac_cv_path_GREP" >&6; }
                   3416:  GREP="$ac_cv_path_GREP"
                   3417: 
                   3418: 
1.1.1.2 ! misho    3419: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
1.1       misho    3420: $as_echo_n "checking for egrep... " >&6; }
1.1.1.2 ! misho    3421: if ${ac_cv_path_EGREP+:} false; then :
1.1       misho    3422:   $as_echo_n "(cached) " >&6
                   3423: else
                   3424:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
                   3425:    then ac_cv_path_EGREP="$GREP -E"
                   3426:    else
                   3427:      if test -z "$EGREP"; then
                   3428:   ac_path_EGREP_found=false
                   3429:   # Loop through the user's path and test for each of PROGNAME-LIST
                   3430:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3431: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   3432: do
                   3433:   IFS=$as_save_IFS
                   3434:   test -z "$as_dir" && as_dir=.
1.1.1.2 ! misho    3435:     for ac_prog in egrep; do
1.1       misho    3436:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3437:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
                   3438:       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
                   3439: # Check for GNU ac_path_EGREP and select it if it is found.
                   3440:   # Check for GNU $ac_path_EGREP
                   3441: case `"$ac_path_EGREP" --version 2>&1` in
                   3442: *GNU*)
                   3443:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
                   3444: *)
                   3445:   ac_count=0
                   3446:   $as_echo_n 0123456789 >"conftest.in"
                   3447:   while :
                   3448:   do
                   3449:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   3450:     mv "conftest.tmp" "conftest.in"
                   3451:     cp "conftest.in" "conftest.nl"
                   3452:     $as_echo 'EGREP' >> "conftest.nl"
                   3453:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   3454:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
1.1.1.2 ! misho    3455:     as_fn_arith $ac_count + 1 && ac_count=$as_val
1.1       misho    3456:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
                   3457:       # Best one so far, save it but keep looking for a better one
                   3458:       ac_cv_path_EGREP="$ac_path_EGREP"
                   3459:       ac_path_EGREP_max=$ac_count
                   3460:     fi
                   3461:     # 10*(2^10) chars as input seems more than enough
                   3462:     test $ac_count -gt 10 && break
                   3463:   done
                   3464:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   3465: esac
                   3466: 
                   3467:       $ac_path_EGREP_found && break 3
                   3468:     done
                   3469:   done
1.1.1.2 ! misho    3470:   done
1.1       misho    3471: IFS=$as_save_IFS
                   3472:   if test -z "$ac_cv_path_EGREP"; then
1.1.1.2 ! misho    3473:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
1.1       misho    3474:   fi
                   3475: else
                   3476:   ac_cv_path_EGREP=$EGREP
                   3477: fi
                   3478: 
                   3479:    fi
                   3480: fi
1.1.1.2 ! misho    3481: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
1.1       misho    3482: $as_echo "$ac_cv_path_EGREP" >&6; }
                   3483:  EGREP="$ac_cv_path_EGREP"
                   3484: 
                   3485: 
1.1.1.2 ! misho    3486: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
1.1       misho    3487: $as_echo_n "checking for ANSI C header files... " >&6; }
1.1.1.2 ! misho    3488: if ${ac_cv_header_stdc+:} false; then :
1.1       misho    3489:   $as_echo_n "(cached) " >&6
                   3490: else
1.1.1.2 ! misho    3491:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3492: /* end confdefs.h.  */
                   3493: #include <stdlib.h>
                   3494: #include <stdarg.h>
                   3495: #include <string.h>
                   3496: #include <float.h>
                   3497: 
                   3498: int
                   3499: main ()
                   3500: {
                   3501: 
                   3502:   ;
                   3503:   return 0;
                   3504: }
                   3505: _ACEOF
1.1.1.2 ! misho    3506: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    3507:   ac_cv_header_stdc=yes
                   3508: else
1.1.1.2 ! misho    3509:   ac_cv_header_stdc=no
1.1       misho    3510: fi
                   3511: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3512: 
                   3513: if test $ac_cv_header_stdc = yes; then
                   3514:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.1.1.2 ! misho    3515:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3516: /* end confdefs.h.  */
                   3517: #include <string.h>
                   3518: 
                   3519: _ACEOF
                   3520: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.2 ! misho    3521:   $EGREP "memchr" >/dev/null 2>&1; then :
        !          3522: 
1.1       misho    3523: else
                   3524:   ac_cv_header_stdc=no
                   3525: fi
                   3526: rm -f conftest*
                   3527: 
                   3528: fi
                   3529: 
                   3530: if test $ac_cv_header_stdc = yes; then
                   3531:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.1.1.2 ! misho    3532:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3533: /* end confdefs.h.  */
                   3534: #include <stdlib.h>
                   3535: 
                   3536: _ACEOF
                   3537: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.2 ! misho    3538:   $EGREP "free" >/dev/null 2>&1; then :
        !          3539: 
1.1       misho    3540: else
                   3541:   ac_cv_header_stdc=no
                   3542: fi
                   3543: rm -f conftest*
                   3544: 
                   3545: fi
                   3546: 
                   3547: if test $ac_cv_header_stdc = yes; then
                   3548:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.1.1.2 ! misho    3549:   if test "$cross_compiling" = yes; then :
1.1       misho    3550:   :
                   3551: else
1.1.1.2 ! misho    3552:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3553: /* end confdefs.h.  */
                   3554: #include <ctype.h>
                   3555: #include <stdlib.h>
                   3556: #if ((' ' & 0x0FF) == 0x020)
                   3557: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   3558: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   3559: #else
                   3560: # define ISLOWER(c) \
                   3561:                   (('a' <= (c) && (c) <= 'i') \
                   3562:                     || ('j' <= (c) && (c) <= 'r') \
                   3563:                     || ('s' <= (c) && (c) <= 'z'))
                   3564: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   3565: #endif
                   3566: 
                   3567: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   3568: int
                   3569: main ()
                   3570: {
                   3571:   int i;
                   3572:   for (i = 0; i < 256; i++)
                   3573:     if (XOR (islower (i), ISLOWER (i))
                   3574:        || toupper (i) != TOUPPER (i))
                   3575:       return 2;
                   3576:   return 0;
                   3577: }
                   3578: _ACEOF
1.1.1.2 ! misho    3579: if ac_fn_c_try_run "$LINENO"; then :
1.1       misho    3580: 
1.1.1.2 ! misho    3581: else
        !          3582:   ac_cv_header_stdc=no
1.1       misho    3583: fi
1.1.1.2 ! misho    3584: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
        !          3585:   conftest.$ac_objext conftest.beam conftest.$ac_ext
1.1       misho    3586: fi
                   3587: 
                   3588: fi
                   3589: fi
1.1.1.2 ! misho    3590: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
1.1       misho    3591: $as_echo "$ac_cv_header_stdc" >&6; }
                   3592: if test $ac_cv_header_stdc = yes; then
                   3593: 
1.1.1.2 ! misho    3594: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
1.1       misho    3595: 
                   3596: fi
                   3597: 
                   3598: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
                   3599: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   3600:                  inttypes.h stdint.h unistd.h
1.1.1.2 ! misho    3601: do :
        !          3602:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
        !          3603: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
        !          3604: "
        !          3605: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
1.1       misho    3606:   cat >>confdefs.h <<_ACEOF
                   3607: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   3608: _ACEOF
                   3609: 
                   3610: fi
                   3611: 
                   3612: done
                   3613: 
                   3614: 
                   3615: 
1.1.1.2 ! misho    3616:   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
        !          3617: if test "x$ac_cv_header_minix_config_h" = xyes; then :
1.1       misho    3618:   MINIX=yes
                   3619: else
                   3620:   MINIX=
                   3621: fi
                   3622: 
                   3623: 
                   3624:   if test "$MINIX" = yes; then
                   3625: 
1.1.1.2 ! misho    3626: $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
1.1       misho    3627: 
                   3628: 
1.1.1.2 ! misho    3629: $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
1.1       misho    3630: 
                   3631: 
1.1.1.2 ! misho    3632: $as_echo "#define _MINIX 1" >>confdefs.h
1.1       misho    3633: 
                   3634:   fi
                   3635: 
                   3636: 
1.1.1.2 ! misho    3637:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
1.1       misho    3638: $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
1.1.1.2 ! misho    3639: if ${ac_cv_safe_to_define___extensions__+:} false; then :
1.1       misho    3640:   $as_echo_n "(cached) " >&6
                   3641: else
1.1.1.2 ! misho    3642:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    3643: /* end confdefs.h.  */
                   3644: 
                   3645: #        define __EXTENSIONS__ 1
                   3646:          $ac_includes_default
                   3647: int
                   3648: main ()
                   3649: {
                   3650: 
1.1.1.2 ! misho    3651:   ;
        !          3652:   return 0;
        !          3653: }
        !          3654: _ACEOF
        !          3655: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    3656:   ac_cv_safe_to_define___extensions__=yes
                   3657: else
1.1.1.2 ! misho    3658:   ac_cv_safe_to_define___extensions__=no
1.1       misho    3659: fi
                   3660: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3661: fi
1.1.1.2 ! misho    3662: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
1.1       misho    3663: $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
                   3664:   test $ac_cv_safe_to_define___extensions__ = yes &&
1.1.1.2 ! misho    3665:     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
1.1       misho    3666: 
1.1.1.2 ! misho    3667:   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
1.1       misho    3668: 
1.1.1.2 ! misho    3669:   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
1.1       misho    3670: 
1.1.1.2 ! misho    3671:   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
1.1       misho    3672: 
1.1.1.2 ! misho    3673:   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
1.1       misho    3674: 
                   3675: 
                   3676: 
                   3677: 
                   3678: 
                   3679: 
                   3680: 
                   3681: 
                   3682: case `pwd` in
                   3683:   *\ * | *\    *)
1.1.1.2 ! misho    3684:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
1.1       misho    3685: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
                   3686: esac
                   3687: 
                   3688: 
                   3689: 
1.1.1.2 ! misho    3690: macro_version='2.4'
        !          3691: macro_revision='1.3293'
1.1       misho    3692: 
                   3693: 
                   3694: 
                   3695: 
                   3696: 
                   3697: 
                   3698: 
                   3699: 
                   3700: 
                   3701: 
                   3702: 
                   3703: 
                   3704: 
                   3705: ltmain="$ac_aux_dir/ltmain.sh"
                   3706: 
1.1.1.2 ! misho    3707: # Backslashify metacharacters that are still active within
        !          3708: # double-quoted strings.
        !          3709: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
        !          3710: 
        !          3711: # Same as above, but do not quote variable references.
        !          3712: double_quote_subst='s/\(["`\\]\)/\\\1/g'
        !          3713: 
        !          3714: # Sed substitution to delay expansion of an escaped shell variable in a
        !          3715: # double_quote_subst'ed string.
        !          3716: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
        !          3717: 
        !          3718: # Sed substitution to delay expansion of an escaped single quote.
        !          3719: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
        !          3720: 
        !          3721: # Sed substitution to avoid accidental globbing in evaled expressions
        !          3722: no_glob_subst='s/\*/\\\*/g'
        !          3723: 
        !          3724: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
        !          3725: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
        !          3726: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
        !          3727: 
        !          3728: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
        !          3729: $as_echo_n "checking how to print strings... " >&6; }
        !          3730: # Test print first, because it will be a builtin if present.
        !          3731: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
        !          3732:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
        !          3733:   ECHO='print -r --'
        !          3734: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
        !          3735:   ECHO='printf %s\n'
        !          3736: else
        !          3737:   # Use this function as a fallback that always works.
        !          3738:   func_fallback_echo ()
        !          3739:   {
        !          3740:     eval 'cat <<_LTECHO_EOF
        !          3741: $1
        !          3742: _LTECHO_EOF'
        !          3743:   }
        !          3744:   ECHO='func_fallback_echo'
        !          3745: fi
        !          3746: 
        !          3747: # func_echo_all arg...
        !          3748: # Invoke $ECHO with all args, space-separated.
        !          3749: func_echo_all ()
        !          3750: {
        !          3751:     $ECHO ""
        !          3752: }
        !          3753: 
        !          3754: case "$ECHO" in
        !          3755:   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
        !          3756: $as_echo "printf" >&6; } ;;
        !          3757:   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
        !          3758: $as_echo "print -r" >&6; } ;;
        !          3759:   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
        !          3760: $as_echo "cat" >&6; } ;;
        !          3761: esac
        !          3762: 
        !          3763: 
        !          3764: 
        !          3765: 
        !          3766: 
        !          3767: 
        !          3768: 
        !          3769: 
        !          3770: 
        !          3771: 
        !          3772: 
        !          3773: 
        !          3774: 
        !          3775: 
        !          3776: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
1.1       misho    3777: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
1.1.1.2 ! misho    3778: if ${ac_cv_path_SED+:} false; then :
1.1       misho    3779:   $as_echo_n "(cached) " >&6
                   3780: else
                   3781:             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
                   3782:      for ac_i in 1 2 3 4 5 6 7; do
                   3783:        ac_script="$ac_script$as_nl$ac_script"
                   3784:      done
                   3785:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
1.1.1.2 ! misho    3786:      { ac_script=; unset ac_script;}
1.1       misho    3787:      if test -z "$SED"; then
                   3788:   ac_path_SED_found=false
                   3789:   # Loop through the user's path and test for each of PROGNAME-LIST
                   3790:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3791: for as_dir in $PATH
                   3792: do
                   3793:   IFS=$as_save_IFS
                   3794:   test -z "$as_dir" && as_dir=.
1.1.1.2 ! misho    3795:     for ac_prog in sed gsed; do
1.1       misho    3796:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3797:       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
                   3798:       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
                   3799: # Check for GNU ac_path_SED and select it if it is found.
                   3800:   # Check for GNU $ac_path_SED
                   3801: case `"$ac_path_SED" --version 2>&1` in
                   3802: *GNU*)
                   3803:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
                   3804: *)
                   3805:   ac_count=0
                   3806:   $as_echo_n 0123456789 >"conftest.in"
                   3807:   while :
                   3808:   do
                   3809:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   3810:     mv "conftest.tmp" "conftest.in"
                   3811:     cp "conftest.in" "conftest.nl"
                   3812:     $as_echo '' >> "conftest.nl"
                   3813:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   3814:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
1.1.1.2 ! misho    3815:     as_fn_arith $ac_count + 1 && ac_count=$as_val
1.1       misho    3816:     if test $ac_count -gt ${ac_path_SED_max-0}; then
                   3817:       # Best one so far, save it but keep looking for a better one
                   3818:       ac_cv_path_SED="$ac_path_SED"
                   3819:       ac_path_SED_max=$ac_count
                   3820:     fi
                   3821:     # 10*(2^10) chars as input seems more than enough
                   3822:     test $ac_count -gt 10 && break
                   3823:   done
                   3824:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   3825: esac
                   3826: 
                   3827:       $ac_path_SED_found && break 3
                   3828:     done
                   3829:   done
1.1.1.2 ! misho    3830:   done
1.1       misho    3831: IFS=$as_save_IFS
                   3832:   if test -z "$ac_cv_path_SED"; then
1.1.1.2 ! misho    3833:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
1.1       misho    3834:   fi
                   3835: else
                   3836:   ac_cv_path_SED=$SED
                   3837: fi
                   3838: 
                   3839: fi
1.1.1.2 ! misho    3840: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
1.1       misho    3841: $as_echo "$ac_cv_path_SED" >&6; }
                   3842:  SED="$ac_cv_path_SED"
                   3843:   rm -f conftest.sed
                   3844: 
                   3845: test -z "$SED" && SED=sed
                   3846: Xsed="$SED -e 1s/^X//"
                   3847: 
                   3848: 
                   3849: 
                   3850: 
                   3851: 
                   3852: 
                   3853: 
                   3854: 
                   3855: 
                   3856: 
                   3857: 
1.1.1.2 ! misho    3858: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
1.1       misho    3859: $as_echo_n "checking for fgrep... " >&6; }
1.1.1.2 ! misho    3860: if ${ac_cv_path_FGREP+:} false; then :
1.1       misho    3861:   $as_echo_n "(cached) " >&6
                   3862: else
                   3863:   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
                   3864:    then ac_cv_path_FGREP="$GREP -F"
                   3865:    else
                   3866:      if test -z "$FGREP"; then
                   3867:   ac_path_FGREP_found=false
                   3868:   # Loop through the user's path and test for each of PROGNAME-LIST
                   3869:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3870: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   3871: do
                   3872:   IFS=$as_save_IFS
                   3873:   test -z "$as_dir" && as_dir=.
1.1.1.2 ! misho    3874:     for ac_prog in fgrep; do
1.1       misho    3875:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3876:       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
                   3877:       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
                   3878: # Check for GNU ac_path_FGREP and select it if it is found.
                   3879:   # Check for GNU $ac_path_FGREP
                   3880: case `"$ac_path_FGREP" --version 2>&1` in
                   3881: *GNU*)
                   3882:   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
                   3883: *)
                   3884:   ac_count=0
                   3885:   $as_echo_n 0123456789 >"conftest.in"
                   3886:   while :
                   3887:   do
                   3888:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   3889:     mv "conftest.tmp" "conftest.in"
                   3890:     cp "conftest.in" "conftest.nl"
                   3891:     $as_echo 'FGREP' >> "conftest.nl"
                   3892:     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   3893:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
1.1.1.2 ! misho    3894:     as_fn_arith $ac_count + 1 && ac_count=$as_val
1.1       misho    3895:     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
                   3896:       # Best one so far, save it but keep looking for a better one
                   3897:       ac_cv_path_FGREP="$ac_path_FGREP"
                   3898:       ac_path_FGREP_max=$ac_count
                   3899:     fi
                   3900:     # 10*(2^10) chars as input seems more than enough
                   3901:     test $ac_count -gt 10 && break
                   3902:   done
                   3903:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   3904: esac
                   3905: 
                   3906:       $ac_path_FGREP_found && break 3
                   3907:     done
                   3908:   done
1.1.1.2 ! misho    3909:   done
1.1       misho    3910: IFS=$as_save_IFS
                   3911:   if test -z "$ac_cv_path_FGREP"; then
1.1.1.2 ! misho    3912:     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
1.1       misho    3913:   fi
                   3914: else
                   3915:   ac_cv_path_FGREP=$FGREP
                   3916: fi
                   3917: 
                   3918:    fi
                   3919: fi
1.1.1.2 ! misho    3920: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
1.1       misho    3921: $as_echo "$ac_cv_path_FGREP" >&6; }
                   3922:  FGREP="$ac_cv_path_FGREP"
                   3923: 
                   3924: 
                   3925: test -z "$GREP" && GREP=grep
                   3926: 
                   3927: 
                   3928: 
                   3929: 
                   3930: 
                   3931: 
                   3932: 
                   3933: 
                   3934: 
                   3935: 
                   3936: 
                   3937: 
                   3938: 
                   3939: 
                   3940: 
                   3941: 
                   3942: 
                   3943: 
                   3944: 
                   3945: # Check whether --with-gnu-ld was given.
1.1.1.2 ! misho    3946: if test "${with_gnu_ld+set}" = set; then :
1.1       misho    3947:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
                   3948: else
                   3949:   with_gnu_ld=no
                   3950: fi
                   3951: 
                   3952: ac_prog=ld
                   3953: if test "$GCC" = yes; then
                   3954:   # Check if gcc -print-prog-name=ld gives a path.
1.1.1.2 ! misho    3955:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
1.1       misho    3956: $as_echo_n "checking for ld used by $CC... " >&6; }
                   3957:   case $host in
                   3958:   *-*-mingw*)
                   3959:     # gcc leaves a trailing carriage return which upsets mingw
                   3960:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   3961:   *)
                   3962:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   3963:   esac
                   3964:   case $ac_prog in
                   3965:     # Accept absolute paths.
                   3966:     [\\/]* | ?:[\\/]*)
                   3967:       re_direlt='/[^/][^/]*/\.\./'
                   3968:       # Canonicalize the pathname of ld
                   3969:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   3970:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   3971:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   3972:       done
                   3973:       test -z "$LD" && LD="$ac_prog"
                   3974:       ;;
                   3975:   "")
                   3976:     # If it fails, then pretend we aren't using GCC.
                   3977:     ac_prog=ld
                   3978:     ;;
                   3979:   *)
                   3980:     # If it is relative, then search for the first ld in PATH.
                   3981:     with_gnu_ld=unknown
                   3982:     ;;
                   3983:   esac
                   3984: elif test "$with_gnu_ld" = yes; then
1.1.1.2 ! misho    3985:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
1.1       misho    3986: $as_echo_n "checking for GNU ld... " >&6; }
                   3987: else
1.1.1.2 ! misho    3988:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
1.1       misho    3989: $as_echo_n "checking for non-GNU ld... " >&6; }
                   3990: fi
1.1.1.2 ! misho    3991: if ${lt_cv_path_LD+:} false; then :
1.1       misho    3992:   $as_echo_n "(cached) " >&6
                   3993: else
                   3994:   if test -z "$LD"; then
                   3995:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   3996:   for ac_dir in $PATH; do
                   3997:     IFS="$lt_save_ifs"
                   3998:     test -z "$ac_dir" && ac_dir=.
                   3999:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   4000:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   4001:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   4002:       # but apparently some variants of GNU ld only accept -v.
                   4003:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   4004:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   4005:       *GNU* | *'with BFD'*)
                   4006:        test "$with_gnu_ld" != no && break
                   4007:        ;;
                   4008:       *)
                   4009:        test "$with_gnu_ld" != yes && break
                   4010:        ;;
                   4011:       esac
                   4012:     fi
                   4013:   done
                   4014:   IFS="$lt_save_ifs"
                   4015: else
                   4016:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   4017: fi
                   4018: fi
                   4019: 
                   4020: LD="$lt_cv_path_LD"
                   4021: if test -n "$LD"; then
1.1.1.2 ! misho    4022:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
1.1       misho    4023: $as_echo "$LD" >&6; }
                   4024: else
1.1.1.2 ! misho    4025:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    4026: $as_echo "no" >&6; }
                   4027: fi
1.1.1.2 ! misho    4028: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
        !          4029: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
1.1       misho    4030: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
1.1.1.2 ! misho    4031: if ${lt_cv_prog_gnu_ld+:} false; then :
1.1       misho    4032:   $as_echo_n "(cached) " >&6
                   4033: else
                   4034:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   4035: case `$LD -v 2>&1 </dev/null` in
                   4036: *GNU* | *'with BFD'*)
                   4037:   lt_cv_prog_gnu_ld=yes
                   4038:   ;;
                   4039: *)
                   4040:   lt_cv_prog_gnu_ld=no
                   4041:   ;;
                   4042: esac
                   4043: fi
1.1.1.2 ! misho    4044: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
1.1       misho    4045: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
                   4046: with_gnu_ld=$lt_cv_prog_gnu_ld
                   4047: 
                   4048: 
                   4049: 
                   4050: 
                   4051: 
                   4052: 
                   4053: 
                   4054: 
                   4055: 
1.1.1.2 ! misho    4056: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
1.1       misho    4057: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
1.1.1.2 ! misho    4058: if ${lt_cv_path_NM+:} false; then :
1.1       misho    4059:   $as_echo_n "(cached) " >&6
                   4060: else
                   4061:   if test -n "$NM"; then
                   4062:   # Let the user override the test.
                   4063:   lt_cv_path_NM="$NM"
                   4064: else
                   4065:   lt_nm_to_check="${ac_tool_prefix}nm"
                   4066:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
                   4067:     lt_nm_to_check="$lt_nm_to_check nm"
                   4068:   fi
                   4069:   for lt_tmp_nm in $lt_nm_to_check; do
                   4070:     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   4071:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
                   4072:       IFS="$lt_save_ifs"
                   4073:       test -z "$ac_dir" && ac_dir=.
                   4074:       tmp_nm="$ac_dir/$lt_tmp_nm"
                   4075:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
                   4076:        # Check to see if the nm accepts a BSD-compat flag.
                   4077:        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
                   4078:        #   nm: unknown option "B" ignored
                   4079:        # Tru64's nm complains that /dev/null is an invalid object file
                   4080:        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
                   4081:        */dev/null* | *'Invalid file or object type'*)
                   4082:          lt_cv_path_NM="$tmp_nm -B"
                   4083:          break
                   4084:          ;;
                   4085:        *)
                   4086:          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
                   4087:          */dev/null*)
                   4088:            lt_cv_path_NM="$tmp_nm -p"
                   4089:            break
                   4090:            ;;
                   4091:          *)
                   4092:            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
                   4093:            continue # so that we can try to find one that supports BSD flags
                   4094:            ;;
                   4095:          esac
                   4096:          ;;
                   4097:        esac
                   4098:       fi
                   4099:     done
                   4100:     IFS="$lt_save_ifs"
                   4101:   done
                   4102:   : ${lt_cv_path_NM=no}
                   4103: fi
                   4104: fi
1.1.1.2 ! misho    4105: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
1.1       misho    4106: $as_echo "$lt_cv_path_NM" >&6; }
                   4107: if test "$lt_cv_path_NM" != "no"; then
                   4108:   NM="$lt_cv_path_NM"
                   4109: else
                   4110:   # Didn't find any BSD compatible name lister, look for dumpbin.
1.1.1.2 ! misho    4111:   if test -n "$DUMPBIN"; then :
        !          4112:     # Let the user override the test.
        !          4113:   else
        !          4114:     if test -n "$ac_tool_prefix"; then
        !          4115:   for ac_prog in dumpbin "link -dump"
1.1       misho    4116:   do
                   4117:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   4118: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.1.1.2 ! misho    4119: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1       misho    4120: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    4121: if ${ac_cv_prog_DUMPBIN+:} false; then :
1.1       misho    4122:   $as_echo_n "(cached) " >&6
                   4123: else
                   4124:   if test -n "$DUMPBIN"; then
                   4125:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
                   4126: else
                   4127: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4128: for as_dir in $PATH
                   4129: do
                   4130:   IFS=$as_save_IFS
                   4131:   test -z "$as_dir" && as_dir=.
1.1.1.2 ! misho    4132:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1       misho    4133:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   4134:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
1.1.1.2 ! misho    4135:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    4136:     break 2
                   4137:   fi
                   4138: done
1.1.1.2 ! misho    4139:   done
1.1       misho    4140: IFS=$as_save_IFS
                   4141: 
                   4142: fi
                   4143: fi
                   4144: DUMPBIN=$ac_cv_prog_DUMPBIN
                   4145: if test -n "$DUMPBIN"; then
1.1.1.2 ! misho    4146:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
1.1       misho    4147: $as_echo "$DUMPBIN" >&6; }
                   4148: else
1.1.1.2 ! misho    4149:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    4150: $as_echo "no" >&6; }
                   4151: fi
                   4152: 
                   4153: 
                   4154:     test -n "$DUMPBIN" && break
                   4155:   done
                   4156: fi
                   4157: if test -z "$DUMPBIN"; then
                   4158:   ac_ct_DUMPBIN=$DUMPBIN
1.1.1.2 ! misho    4159:   for ac_prog in dumpbin "link -dump"
1.1       misho    4160: do
                   4161:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   4162: set dummy $ac_prog; ac_word=$2
1.1.1.2 ! misho    4163: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1       misho    4164: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    4165: if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
1.1       misho    4166:   $as_echo_n "(cached) " >&6
                   4167: else
                   4168:   if test -n "$ac_ct_DUMPBIN"; then
                   4169:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
                   4170: else
                   4171: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4172: for as_dir in $PATH
                   4173: do
                   4174:   IFS=$as_save_IFS
                   4175:   test -z "$as_dir" && as_dir=.
1.1.1.2 ! misho    4176:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1       misho    4177:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   4178:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
1.1.1.2 ! misho    4179:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    4180:     break 2
                   4181:   fi
                   4182: done
1.1.1.2 ! misho    4183:   done
1.1       misho    4184: IFS=$as_save_IFS
                   4185: 
                   4186: fi
                   4187: fi
                   4188: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
                   4189: if test -n "$ac_ct_DUMPBIN"; then
1.1.1.2 ! misho    4190:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
1.1       misho    4191: $as_echo "$ac_ct_DUMPBIN" >&6; }
                   4192: else
1.1.1.2 ! misho    4193:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    4194: $as_echo "no" >&6; }
                   4195: fi
                   4196: 
                   4197: 
                   4198:   test -n "$ac_ct_DUMPBIN" && break
                   4199: done
                   4200: 
                   4201:   if test "x$ac_ct_DUMPBIN" = x; then
                   4202:     DUMPBIN=":"
                   4203:   else
                   4204:     case $cross_compiling:$ac_tool_warned in
                   4205: yes:)
1.1.1.2 ! misho    4206: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1       misho    4207: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   4208: ac_tool_warned=yes ;;
                   4209: esac
                   4210:     DUMPBIN=$ac_ct_DUMPBIN
                   4211:   fi
                   4212: fi
                   4213: 
1.1.1.2 ! misho    4214:     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
        !          4215:     *COFF*)
        !          4216:       DUMPBIN="$DUMPBIN -symbols"
        !          4217:       ;;
        !          4218:     *)
        !          4219:       DUMPBIN=:
        !          4220:       ;;
        !          4221:     esac
        !          4222:   fi
1.1       misho    4223: 
                   4224:   if test "$DUMPBIN" != ":"; then
                   4225:     NM="$DUMPBIN"
                   4226:   fi
                   4227: fi
                   4228: test -z "$NM" && NM=nm
                   4229: 
                   4230: 
                   4231: 
                   4232: 
                   4233: 
                   4234: 
1.1.1.2 ! misho    4235: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
1.1       misho    4236: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
1.1.1.2 ! misho    4237: if ${lt_cv_nm_interface+:} false; then :
1.1       misho    4238:   $as_echo_n "(cached) " >&6
                   4239: else
                   4240:   lt_cv_nm_interface="BSD nm"
                   4241:   echo "int some_variable = 0;" > conftest.$ac_ext
1.1.1.2 ! misho    4242:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
1.1       misho    4243:   (eval "$ac_compile" 2>conftest.err)
                   4244:   cat conftest.err >&5
1.1.1.2 ! misho    4245:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
1.1       misho    4246:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
                   4247:   cat conftest.err >&5
1.1.1.2 ! misho    4248:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
1.1       misho    4249:   cat conftest.out >&5
                   4250:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
                   4251:     lt_cv_nm_interface="MS dumpbin"
                   4252:   fi
                   4253:   rm -f conftest*
                   4254: fi
1.1.1.2 ! misho    4255: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
1.1       misho    4256: $as_echo "$lt_cv_nm_interface" >&6; }
                   4257: 
1.1.1.2 ! misho    4258: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
1.1       misho    4259: $as_echo_n "checking whether ln -s works... " >&6; }
                   4260: LN_S=$as_ln_s
                   4261: if test "$LN_S" = "ln -s"; then
1.1.1.2 ! misho    4262:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1       misho    4263: $as_echo "yes" >&6; }
                   4264: else
1.1.1.2 ! misho    4265:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
1.1       misho    4266: $as_echo "no, using $LN_S" >&6; }
                   4267: fi
                   4268: 
                   4269: # find the maximum length of command line arguments
1.1.1.2 ! misho    4270: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
1.1       misho    4271: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
1.1.1.2 ! misho    4272: if ${lt_cv_sys_max_cmd_len+:} false; then :
1.1       misho    4273:   $as_echo_n "(cached) " >&6
                   4274: else
                   4275:     i=0
                   4276:   teststring="ABCD"
                   4277: 
                   4278:   case $build_os in
                   4279:   msdosdjgpp*)
                   4280:     # On DJGPP, this test can blow up pretty badly due to problems in libc
                   4281:     # (any single argument exceeding 2000 bytes causes a buffer overrun
                   4282:     # during glob expansion).  Even if it were fixed, the result of this
                   4283:     # check would be larger than it should be.
                   4284:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
                   4285:     ;;
                   4286: 
                   4287:   gnu*)
                   4288:     # Under GNU Hurd, this test is not required because there is
                   4289:     # no limit to the length of command line arguments.
                   4290:     # Libtool will interpret -1 as no limit whatsoever
                   4291:     lt_cv_sys_max_cmd_len=-1;
                   4292:     ;;
                   4293: 
                   4294:   cygwin* | mingw* | cegcc*)
                   4295:     # On Win9x/ME, this test blows up -- it succeeds, but takes
                   4296:     # about 5 minutes as the teststring grows exponentially.
                   4297:     # Worse, since 9x/ME are not pre-emptively multitasking,
                   4298:     # you end up with a "frozen" computer, even though with patience
                   4299:     # the test eventually succeeds (with a max line length of 256k).
                   4300:     # Instead, let's just punt: use the minimum linelength reported by
                   4301:     # all of the supported platforms: 8192 (on NT/2K/XP).
                   4302:     lt_cv_sys_max_cmd_len=8192;
                   4303:     ;;
                   4304: 
1.1.1.2 ! misho    4305:   mint*)
        !          4306:     # On MiNT this can take a long time and run out of memory.
        !          4307:     lt_cv_sys_max_cmd_len=8192;
        !          4308:     ;;
        !          4309: 
1.1       misho    4310:   amigaos*)
                   4311:     # On AmigaOS with pdksh, this test takes hours, literally.
                   4312:     # So we just punt and use a minimum line length of 8192.
                   4313:     lt_cv_sys_max_cmd_len=8192;
                   4314:     ;;
                   4315: 
                   4316:   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
                   4317:     # This has been around since 386BSD, at least.  Likely further.
                   4318:     if test -x /sbin/sysctl; then
                   4319:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
                   4320:     elif test -x /usr/sbin/sysctl; then
                   4321:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
                   4322:     else
                   4323:       lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
                   4324:     fi
                   4325:     # And add a safety zone
                   4326:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   4327:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   4328:     ;;
                   4329: 
                   4330:   interix*)
                   4331:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
                   4332:     lt_cv_sys_max_cmd_len=196608
                   4333:     ;;
                   4334: 
                   4335:   osf*)
                   4336:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
                   4337:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
                   4338:     # nice to cause kernel panics so lets avoid the loop below.
                   4339:     # First set a reasonable default.
                   4340:     lt_cv_sys_max_cmd_len=16384
                   4341:     #
                   4342:     if test -x /sbin/sysconfig; then
                   4343:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
                   4344:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
                   4345:       esac
                   4346:     fi
                   4347:     ;;
                   4348:   sco3.2v5*)
                   4349:     lt_cv_sys_max_cmd_len=102400
                   4350:     ;;
                   4351:   sysv5* | sco5v6* | sysv4.2uw2*)
                   4352:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
                   4353:     if test -n "$kargmax"; then
                   4354:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
                   4355:     else
                   4356:       lt_cv_sys_max_cmd_len=32768
                   4357:     fi
                   4358:     ;;
                   4359:   *)
                   4360:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
                   4361:     if test -n "$lt_cv_sys_max_cmd_len"; then
                   4362:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   4363:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   4364:     else
                   4365:       # Make teststring a little bigger before we do anything with it.
                   4366:       # a 1K string should be a reasonable start.
                   4367:       for i in 1 2 3 4 5 6 7 8 ; do
                   4368:         teststring=$teststring$teststring
                   4369:       done
                   4370:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
                   4371:       # If test is not a shell built-in, we'll probably end up computing a
                   4372:       # maximum length that is only half of the actual maximum length, but
                   4373:       # we can't tell.
1.1.1.2 ! misho    4374:       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
        !          4375:                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
1.1       misho    4376:              test $i != 17 # 1/2 MB should be enough
                   4377:       do
                   4378:         i=`expr $i + 1`
                   4379:         teststring=$teststring$teststring
                   4380:       done
                   4381:       # Only check the string length outside the loop.
                   4382:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
                   4383:       teststring=
                   4384:       # Add a significant safety factor because C++ compilers can tack on
                   4385:       # massive amounts of additional arguments before passing them to the
                   4386:       # linker.  It appears as though 1/2 is a usable value.
                   4387:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
                   4388:     fi
                   4389:     ;;
                   4390:   esac
                   4391: 
                   4392: fi
                   4393: 
                   4394: if test -n $lt_cv_sys_max_cmd_len ; then
1.1.1.2 ! misho    4395:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
1.1       misho    4396: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
                   4397: else
1.1.1.2 ! misho    4398:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
1.1       misho    4399: $as_echo "none" >&6; }
                   4400: fi
                   4401: max_cmd_len=$lt_cv_sys_max_cmd_len
                   4402: 
                   4403: 
                   4404: 
                   4405: 
                   4406: 
                   4407: 
                   4408: : ${CP="cp -f"}
                   4409: : ${MV="mv -f"}
                   4410: : ${RM="rm -f"}
                   4411: 
1.1.1.2 ! misho    4412: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
1.1       misho    4413: $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
                   4414: # Try some XSI features
                   4415: xsi_shell=no
                   4416: ( _lt_dummy="a/b/c"
1.1.1.2 ! misho    4417:   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
        !          4418:       = c,a/b,b/c, \
1.1       misho    4419:     && eval 'test $(( 1 + 1 )) -eq 2 \
                   4420:     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
                   4421:   && xsi_shell=yes
1.1.1.2 ! misho    4422: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
1.1       misho    4423: $as_echo "$xsi_shell" >&6; }
                   4424: 
                   4425: 
1.1.1.2 ! misho    4426: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
1.1       misho    4427: $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
                   4428: lt_shell_append=no
                   4429: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
                   4430:     >/dev/null 2>&1 \
                   4431:   && lt_shell_append=yes
1.1.1.2 ! misho    4432: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
1.1       misho    4433: $as_echo "$lt_shell_append" >&6; }
                   4434: 
                   4435: 
                   4436: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                   4437:   lt_unset=unset
                   4438: else
                   4439:   lt_unset=false
                   4440: fi
                   4441: 
                   4442: 
                   4443: 
                   4444: 
                   4445: 
                   4446: # test EBCDIC or ASCII
                   4447: case `echo X|tr X '\101'` in
                   4448:  A) # ASCII based system
                   4449:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
                   4450:   lt_SP2NL='tr \040 \012'
                   4451:   lt_NL2SP='tr \015\012 \040\040'
                   4452:   ;;
                   4453:  *) # EBCDIC based system
                   4454:   lt_SP2NL='tr \100 \n'
                   4455:   lt_NL2SP='tr \r\n \100\100'
                   4456:   ;;
                   4457: esac
                   4458: 
                   4459: 
                   4460: 
                   4461: 
                   4462: 
                   4463: 
                   4464: 
                   4465: 
                   4466: 
1.1.1.2 ! misho    4467: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
        !          4468: $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
        !          4469: if ${lt_cv_to_host_file_cmd+:} false; then :
        !          4470:   $as_echo_n "(cached) " >&6
        !          4471: else
        !          4472:   case $host in
        !          4473:   *-*-mingw* )
        !          4474:     case $build in
        !          4475:       *-*-mingw* ) # actually msys
        !          4476:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
        !          4477:         ;;
        !          4478:       *-*-cygwin* )
        !          4479:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
        !          4480:         ;;
        !          4481:       * ) # otherwise, assume *nix
        !          4482:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
        !          4483:         ;;
        !          4484:     esac
        !          4485:     ;;
        !          4486:   *-*-cygwin* )
        !          4487:     case $build in
        !          4488:       *-*-mingw* ) # actually msys
        !          4489:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
        !          4490:         ;;
        !          4491:       *-*-cygwin* )
        !          4492:         lt_cv_to_host_file_cmd=func_convert_file_noop
        !          4493:         ;;
        !          4494:       * ) # otherwise, assume *nix
        !          4495:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
        !          4496:         ;;
        !          4497:     esac
        !          4498:     ;;
        !          4499:   * ) # unhandled hosts (and "normal" native builds)
        !          4500:     lt_cv_to_host_file_cmd=func_convert_file_noop
        !          4501:     ;;
        !          4502: esac
        !          4503: 
        !          4504: fi
        !          4505: 
        !          4506: to_host_file_cmd=$lt_cv_to_host_file_cmd
        !          4507: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
        !          4508: $as_echo "$lt_cv_to_host_file_cmd" >&6; }
        !          4509: 
        !          4510: 
        !          4511: 
        !          4512: 
        !          4513: 
        !          4514: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
        !          4515: $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
        !          4516: if ${lt_cv_to_tool_file_cmd+:} false; then :
        !          4517:   $as_echo_n "(cached) " >&6
        !          4518: else
        !          4519:   #assume ordinary cross tools, or native build.
        !          4520: lt_cv_to_tool_file_cmd=func_convert_file_noop
        !          4521: case $host in
        !          4522:   *-*-mingw* )
        !          4523:     case $build in
        !          4524:       *-*-mingw* ) # actually msys
        !          4525:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
        !          4526:         ;;
        !          4527:     esac
        !          4528:     ;;
        !          4529: esac
        !          4530: 
        !          4531: fi
        !          4532: 
        !          4533: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
        !          4534: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
        !          4535: $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
        !          4536: 
        !          4537: 
        !          4538: 
        !          4539: 
        !          4540: 
        !          4541: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
1.1       misho    4542: $as_echo_n "checking for $LD option to reload object files... " >&6; }
1.1.1.2 ! misho    4543: if ${lt_cv_ld_reload_flag+:} false; then :
1.1       misho    4544:   $as_echo_n "(cached) " >&6
                   4545: else
                   4546:   lt_cv_ld_reload_flag='-r'
                   4547: fi
1.1.1.2 ! misho    4548: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
1.1       misho    4549: $as_echo "$lt_cv_ld_reload_flag" >&6; }
                   4550: reload_flag=$lt_cv_ld_reload_flag
                   4551: case $reload_flag in
                   4552: "" | " "*) ;;
                   4553: *) reload_flag=" $reload_flag" ;;
                   4554: esac
                   4555: reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   4556: case $host_os in
1.1.1.2 ! misho    4557:   cygwin* | mingw* | pw32* | cegcc*)
        !          4558:     if test "$GCC" != yes; then
        !          4559:       reload_cmds=false
        !          4560:     fi
        !          4561:     ;;
1.1       misho    4562:   darwin*)
                   4563:     if test "$GCC" = yes; then
                   4564:       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
                   4565:     else
                   4566:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   4567:     fi
                   4568:     ;;
                   4569: esac
                   4570: 
                   4571: 
                   4572: 
                   4573: 
                   4574: 
                   4575: 
                   4576: 
                   4577: 
                   4578: 
                   4579: if test -n "$ac_tool_prefix"; then
                   4580:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   4581: set dummy ${ac_tool_prefix}objdump; ac_word=$2
1.1.1.2 ! misho    4582: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1       misho    4583: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    4584: if ${ac_cv_prog_OBJDUMP+:} false; then :
1.1       misho    4585:   $as_echo_n "(cached) " >&6
                   4586: else
                   4587:   if test -n "$OBJDUMP"; then
                   4588:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   4589: else
                   4590: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4591: for as_dir in $PATH
                   4592: do
                   4593:   IFS=$as_save_IFS
                   4594:   test -z "$as_dir" && as_dir=.
1.1.1.2 ! misho    4595:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1       misho    4596:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   4597:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1.1.1.2 ! misho    4598:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    4599:     break 2
                   4600:   fi
                   4601: done
1.1.1.2 ! misho    4602:   done
1.1       misho    4603: IFS=$as_save_IFS
                   4604: 
                   4605: fi
                   4606: fi
                   4607: OBJDUMP=$ac_cv_prog_OBJDUMP
                   4608: if test -n "$OBJDUMP"; then
1.1.1.2 ! misho    4609:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
1.1       misho    4610: $as_echo "$OBJDUMP" >&6; }
                   4611: else
1.1.1.2 ! misho    4612:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    4613: $as_echo "no" >&6; }
                   4614: fi
                   4615: 
                   4616: 
                   4617: fi
                   4618: if test -z "$ac_cv_prog_OBJDUMP"; then
                   4619:   ac_ct_OBJDUMP=$OBJDUMP
                   4620:   # Extract the first word of "objdump", so it can be a program name with args.
                   4621: set dummy objdump; ac_word=$2
1.1.1.2 ! misho    4622: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1       misho    4623: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    4624: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
1.1       misho    4625:   $as_echo_n "(cached) " >&6
                   4626: else
                   4627:   if test -n "$ac_ct_OBJDUMP"; then
                   4628:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   4629: else
                   4630: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4631: for as_dir in $PATH
                   4632: do
                   4633:   IFS=$as_save_IFS
                   4634:   test -z "$as_dir" && as_dir=.
1.1.1.2 ! misho    4635:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1       misho    4636:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   4637:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.1.1.2 ! misho    4638:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    4639:     break 2
                   4640:   fi
                   4641: done
1.1.1.2 ! misho    4642:   done
1.1       misho    4643: IFS=$as_save_IFS
                   4644: 
                   4645: fi
                   4646: fi
                   4647: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   4648: if test -n "$ac_ct_OBJDUMP"; then
1.1.1.2 ! misho    4649:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
1.1       misho    4650: $as_echo "$ac_ct_OBJDUMP" >&6; }
                   4651: else
1.1.1.2 ! misho    4652:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    4653: $as_echo "no" >&6; }
                   4654: fi
                   4655: 
                   4656:   if test "x$ac_ct_OBJDUMP" = x; then
                   4657:     OBJDUMP="false"
                   4658:   else
                   4659:     case $cross_compiling:$ac_tool_warned in
                   4660: yes:)
1.1.1.2 ! misho    4661: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1       misho    4662: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   4663: ac_tool_warned=yes ;;
                   4664: esac
                   4665:     OBJDUMP=$ac_ct_OBJDUMP
                   4666:   fi
                   4667: else
                   4668:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   4669: fi
                   4670: 
                   4671: test -z "$OBJDUMP" && OBJDUMP=objdump
                   4672: 
                   4673: 
                   4674: 
                   4675: 
                   4676: 
                   4677: 
1.1.1.2 ! misho    4678: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
1.1       misho    4679: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
1.1.1.2 ! misho    4680: if ${lt_cv_deplibs_check_method+:} false; then :
1.1       misho    4681:   $as_echo_n "(cached) " >&6
                   4682: else
                   4683:   lt_cv_file_magic_cmd='$MAGIC_CMD'
                   4684: lt_cv_file_magic_test_file=
                   4685: lt_cv_deplibs_check_method='unknown'
                   4686: # Need to set the preceding variable on all platforms that support
                   4687: # interlibrary dependencies.
                   4688: # 'none' -- dependencies not supported.
                   4689: # `unknown' -- same as none, but documents that we really don't know.
                   4690: # 'pass_all' -- all dependencies passed with no checks.
                   4691: # 'test_compile' -- check by making test program.
                   4692: # 'file_magic [[regex]]' -- check by looking for files in library path
                   4693: # which responds to the $file_magic_cmd with a given extended regex.
                   4694: # If you have `file' or equivalent on your system and you're not sure
                   4695: # whether `pass_all' will *always* work, you probably want this one.
                   4696: 
                   4697: case $host_os in
                   4698: aix[4-9]*)
                   4699:   lt_cv_deplibs_check_method=pass_all
                   4700:   ;;
                   4701: 
                   4702: beos*)
                   4703:   lt_cv_deplibs_check_method=pass_all
                   4704:   ;;
                   4705: 
                   4706: bsdi[45]*)
                   4707:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
                   4708:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   4709:   lt_cv_file_magic_test_file=/shlib/libc.so
                   4710:   ;;
                   4711: 
                   4712: cygwin*)
                   4713:   # func_win32_libid is a shell function defined in ltmain.sh
                   4714:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   4715:   lt_cv_file_magic_cmd='func_win32_libid'
                   4716:   ;;
                   4717: 
                   4718: mingw* | pw32*)
                   4719:   # Base MSYS/MinGW do not provide the 'file' command needed by
                   4720:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
                   4721:   # unless we find 'file', for example because we are cross-compiling.
1.1.1.2 ! misho    4722:   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
        !          4723:   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
1.1       misho    4724:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   4725:     lt_cv_file_magic_cmd='func_win32_libid'
                   4726:   else
1.1.1.2 ! misho    4727:     # Keep this pattern in sync with the one in func_win32_libid.
        !          4728:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
1.1       misho    4729:     lt_cv_file_magic_cmd='$OBJDUMP -f'
                   4730:   fi
                   4731:   ;;
                   4732: 
1.1.1.2 ! misho    4733: cegcc*)
1.1       misho    4734:   # use the weaker test based on 'objdump'. See mingw*.
                   4735:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
                   4736:   lt_cv_file_magic_cmd='$OBJDUMP -f'
                   4737:   ;;
                   4738: 
                   4739: darwin* | rhapsody*)
                   4740:   lt_cv_deplibs_check_method=pass_all
                   4741:   ;;
                   4742: 
                   4743: freebsd* | dragonfly*)
                   4744:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   4745:     case $host_cpu in
                   4746:     i*86 )
                   4747:       # Not sure whether the presence of OpenBSD here was a mistake.
                   4748:       # Let's accept both of them until this is cleared up.
                   4749:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
                   4750:       lt_cv_file_magic_cmd=/usr/bin/file
                   4751:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
                   4752:       ;;
                   4753:     esac
                   4754:   else
                   4755:     lt_cv_deplibs_check_method=pass_all
                   4756:   fi
                   4757:   ;;
                   4758: 
                   4759: gnu*)
                   4760:   lt_cv_deplibs_check_method=pass_all
                   4761:   ;;
                   4762: 
1.1.1.2 ! misho    4763: haiku*)
        !          4764:   lt_cv_deplibs_check_method=pass_all
        !          4765:   ;;
        !          4766: 
1.1       misho    4767: hpux10.20* | hpux11*)
                   4768:   lt_cv_file_magic_cmd=/usr/bin/file
                   4769:   case $host_cpu in
                   4770:   ia64*)
                   4771:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
                   4772:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
                   4773:     ;;
                   4774:   hppa*64*)
1.1.1.2 ! misho    4775:     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    4776:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
                   4777:     ;;
                   4778:   *)
1.1.1.2 ! misho    4779:     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    4780:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
                   4781:     ;;
                   4782:   esac
                   4783:   ;;
                   4784: 
                   4785: interix[3-9]*)
                   4786:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
                   4787:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
                   4788:   ;;
                   4789: 
                   4790: irix5* | irix6* | nonstopux*)
                   4791:   case $LD in
                   4792:   *-32|*"-32 ") libmagic=32-bit;;
                   4793:   *-n32|*"-n32 ") libmagic=N32;;
                   4794:   *-64|*"-64 ") libmagic=64-bit;;
                   4795:   *) libmagic=never-match;;
                   4796:   esac
                   4797:   lt_cv_deplibs_check_method=pass_all
                   4798:   ;;
                   4799: 
                   4800: # This must be Linux ELF.
1.1.1.2 ! misho    4801: linux* | k*bsd*-gnu | kopensolaris*-gnu)
1.1       misho    4802:   lt_cv_deplibs_check_method=pass_all
                   4803:   ;;
                   4804: 
                   4805: netbsd*)
                   4806:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   4807:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   4808:   else
                   4809:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
                   4810:   fi
                   4811:   ;;
                   4812: 
                   4813: newos6*)
                   4814:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
                   4815:   lt_cv_file_magic_cmd=/usr/bin/file
                   4816:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
                   4817:   ;;
                   4818: 
                   4819: *nto* | *qnx*)
                   4820:   lt_cv_deplibs_check_method=pass_all
                   4821:   ;;
                   4822: 
                   4823: openbsd*)
                   4824:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   4825:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
                   4826:   else
                   4827:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
                   4828:   fi
                   4829:   ;;
                   4830: 
                   4831: osf3* | osf4* | osf5*)
                   4832:   lt_cv_deplibs_check_method=pass_all
                   4833:   ;;
                   4834: 
                   4835: rdos*)
                   4836:   lt_cv_deplibs_check_method=pass_all
                   4837:   ;;
                   4838: 
                   4839: solaris*)
                   4840:   lt_cv_deplibs_check_method=pass_all
                   4841:   ;;
                   4842: 
                   4843: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   4844:   lt_cv_deplibs_check_method=pass_all
                   4845:   ;;
                   4846: 
                   4847: sysv4 | sysv4.3*)
                   4848:   case $host_vendor in
                   4849:   motorola)
                   4850:     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]'
                   4851:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
                   4852:     ;;
                   4853:   ncr)
                   4854:     lt_cv_deplibs_check_method=pass_all
                   4855:     ;;
                   4856:   sequent)
                   4857:     lt_cv_file_magic_cmd='/bin/file'
                   4858:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
                   4859:     ;;
                   4860:   sni)
                   4861:     lt_cv_file_magic_cmd='/bin/file'
                   4862:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
                   4863:     lt_cv_file_magic_test_file=/lib/libc.so
                   4864:     ;;
                   4865:   siemens)
                   4866:     lt_cv_deplibs_check_method=pass_all
                   4867:     ;;
                   4868:   pc)
                   4869:     lt_cv_deplibs_check_method=pass_all
                   4870:     ;;
                   4871:   esac
                   4872:   ;;
                   4873: 
                   4874: tpf*)
                   4875:   lt_cv_deplibs_check_method=pass_all
                   4876:   ;;
                   4877: esac
                   4878: 
                   4879: fi
1.1.1.2 ! misho    4880: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
1.1       misho    4881: $as_echo "$lt_cv_deplibs_check_method" >&6; }
1.1.1.2 ! misho    4882: 
        !          4883: file_magic_glob=
        !          4884: want_nocaseglob=no
        !          4885: if test "$build" = "$host"; then
        !          4886:   case $host_os in
        !          4887:   mingw* | pw32*)
        !          4888:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
        !          4889:       want_nocaseglob=yes
        !          4890:     else
        !          4891:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
        !          4892:     fi
        !          4893:     ;;
        !          4894:   esac
        !          4895: fi
        !          4896: 
1.1       misho    4897: file_magic_cmd=$lt_cv_file_magic_cmd
                   4898: deplibs_check_method=$lt_cv_deplibs_check_method
                   4899: test -z "$deplibs_check_method" && deplibs_check_method=unknown
                   4900: 
                   4901: 
                   4902: 
                   4903: 
                   4904: 
                   4905: 
                   4906: 
                   4907: 
                   4908: 
                   4909: 
                   4910: 
                   4911: 
1.1.1.2 ! misho    4912: 
        !          4913: 
        !          4914: 
        !          4915: 
        !          4916: 
        !          4917: 
        !          4918: 
        !          4919: 
        !          4920: 
        !          4921: 
        !          4922: if test -n "$ac_tool_prefix"; then
        !          4923:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
        !          4924: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
        !          4925: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          4926: $as_echo_n "checking for $ac_word... " >&6; }
        !          4927: if ${ac_cv_prog_DLLTOOL+:} false; then :
        !          4928:   $as_echo_n "(cached) " >&6
        !          4929: else
        !          4930:   if test -n "$DLLTOOL"; then
        !          4931:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
        !          4932: else
        !          4933: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          4934: for as_dir in $PATH
        !          4935: do
        !          4936:   IFS=$as_save_IFS
        !          4937:   test -z "$as_dir" && as_dir=.
        !          4938:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          4939:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
        !          4940:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
        !          4941:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          4942:     break 2
        !          4943:   fi
        !          4944: done
        !          4945:   done
        !          4946: IFS=$as_save_IFS
        !          4947: 
        !          4948: fi
        !          4949: fi
        !          4950: DLLTOOL=$ac_cv_prog_DLLTOOL
        !          4951: if test -n "$DLLTOOL"; then
        !          4952:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
        !          4953: $as_echo "$DLLTOOL" >&6; }
        !          4954: else
        !          4955:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4956: $as_echo "no" >&6; }
        !          4957: fi
        !          4958: 
        !          4959: 
        !          4960: fi
        !          4961: if test -z "$ac_cv_prog_DLLTOOL"; then
        !          4962:   ac_ct_DLLTOOL=$DLLTOOL
        !          4963:   # Extract the first word of "dlltool", so it can be a program name with args.
        !          4964: set dummy dlltool; ac_word=$2
        !          4965: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          4966: $as_echo_n "checking for $ac_word... " >&6; }
        !          4967: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
        !          4968:   $as_echo_n "(cached) " >&6
        !          4969: else
        !          4970:   if test -n "$ac_ct_DLLTOOL"; then
        !          4971:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
        !          4972: else
        !          4973: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          4974: for as_dir in $PATH
        !          4975: do
        !          4976:   IFS=$as_save_IFS
        !          4977:   test -z "$as_dir" && as_dir=.
        !          4978:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          4979:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
        !          4980:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
        !          4981:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          4982:     break 2
        !          4983:   fi
        !          4984: done
        !          4985:   done
        !          4986: IFS=$as_save_IFS
        !          4987: 
        !          4988: fi
        !          4989: fi
        !          4990: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
        !          4991: if test -n "$ac_ct_DLLTOOL"; then
        !          4992:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
        !          4993: $as_echo "$ac_ct_DLLTOOL" >&6; }
        !          4994: else
        !          4995:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          4996: $as_echo "no" >&6; }
        !          4997: fi
        !          4998: 
        !          4999:   if test "x$ac_ct_DLLTOOL" = x; then
        !          5000:     DLLTOOL="false"
        !          5001:   else
        !          5002:     case $cross_compiling:$ac_tool_warned in
        !          5003: yes:)
        !          5004: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          5005: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          5006: ac_tool_warned=yes ;;
        !          5007: esac
        !          5008:     DLLTOOL=$ac_ct_DLLTOOL
        !          5009:   fi
        !          5010: else
        !          5011:   DLLTOOL="$ac_cv_prog_DLLTOOL"
        !          5012: fi
        !          5013: 
        !          5014: test -z "$DLLTOOL" && DLLTOOL=dlltool
        !          5015: 
        !          5016: 
        !          5017: 
        !          5018: 
        !          5019: 
        !          5020: 
        !          5021: 
        !          5022: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
        !          5023: $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
        !          5024: if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
        !          5025:   $as_echo_n "(cached) " >&6
        !          5026: else
        !          5027:   lt_cv_sharedlib_from_linklib_cmd='unknown'
        !          5028: 
        !          5029: case $host_os in
        !          5030: cygwin* | mingw* | pw32* | cegcc*)
        !          5031:   # two different shell functions defined in ltmain.sh
        !          5032:   # decide which to use based on capabilities of $DLLTOOL
        !          5033:   case `$DLLTOOL --help 2>&1` in
        !          5034:   *--identify-strict*)
        !          5035:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
        !          5036:     ;;
        !          5037:   *)
        !          5038:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
        !          5039:     ;;
        !          5040:   esac
        !          5041:   ;;
        !          5042: *)
        !          5043:   # fallback: assume linklib IS sharedlib
        !          5044:   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
        !          5045:   ;;
        !          5046: esac
        !          5047: 
        !          5048: fi
        !          5049: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
        !          5050: $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
        !          5051: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
        !          5052: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
        !          5053: 
        !          5054: 
        !          5055: 
        !          5056: 
        !          5057: 
        !          5058: 
        !          5059: 
1.1       misho    5060: if test -n "$ac_tool_prefix"; then
1.1.1.2 ! misho    5061:   for ac_prog in ar
        !          5062:   do
        !          5063:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
        !          5064: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
        !          5065: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1       misho    5066: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    5067: if ${ac_cv_prog_AR+:} false; then :
1.1       misho    5068:   $as_echo_n "(cached) " >&6
                   5069: else
                   5070:   if test -n "$AR"; then
                   5071:   ac_cv_prog_AR="$AR" # Let the user override the test.
                   5072: else
                   5073: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5074: for as_dir in $PATH
                   5075: do
                   5076:   IFS=$as_save_IFS
                   5077:   test -z "$as_dir" && as_dir=.
1.1.1.2 ! misho    5078:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1       misho    5079:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1.1.2 ! misho    5080:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
        !          5081:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    5082:     break 2
                   5083:   fi
                   5084: done
1.1.1.2 ! misho    5085:   done
1.1       misho    5086: IFS=$as_save_IFS
                   5087: 
                   5088: fi
                   5089: fi
                   5090: AR=$ac_cv_prog_AR
                   5091: if test -n "$AR"; then
1.1.1.2 ! misho    5092:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
1.1       misho    5093: $as_echo "$AR" >&6; }
                   5094: else
1.1.1.2 ! misho    5095:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    5096: $as_echo "no" >&6; }
                   5097: fi
                   5098: 
                   5099: 
1.1.1.2 ! misho    5100:     test -n "$AR" && break
        !          5101:   done
1.1       misho    5102: fi
1.1.1.2 ! misho    5103: if test -z "$AR"; then
1.1       misho    5104:   ac_ct_AR=$AR
1.1.1.2 ! misho    5105:   for ac_prog in ar
        !          5106: do
        !          5107:   # Extract the first word of "$ac_prog", so it can be a program name with args.
        !          5108: set dummy $ac_prog; ac_word=$2
        !          5109: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1       misho    5110: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    5111: if ${ac_cv_prog_ac_ct_AR+:} false; then :
1.1       misho    5112:   $as_echo_n "(cached) " >&6
                   5113: else
                   5114:   if test -n "$ac_ct_AR"; then
                   5115:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
                   5116: else
                   5117: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5118: for as_dir in $PATH
                   5119: do
                   5120:   IFS=$as_save_IFS
                   5121:   test -z "$as_dir" && as_dir=.
1.1.1.2 ! misho    5122:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1       misho    5123:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1.1.2 ! misho    5124:     ac_cv_prog_ac_ct_AR="$ac_prog"
        !          5125:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    5126:     break 2
                   5127:   fi
                   5128: done
1.1.1.2 ! misho    5129:   done
1.1       misho    5130: IFS=$as_save_IFS
                   5131: 
                   5132: fi
                   5133: fi
                   5134: ac_ct_AR=$ac_cv_prog_ac_ct_AR
                   5135: if test -n "$ac_ct_AR"; then
1.1.1.2 ! misho    5136:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
1.1       misho    5137: $as_echo "$ac_ct_AR" >&6; }
                   5138: else
1.1.1.2 ! misho    5139:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    5140: $as_echo "no" >&6; }
                   5141: fi
                   5142: 
1.1.1.2 ! misho    5143: 
        !          5144:   test -n "$ac_ct_AR" && break
        !          5145: done
        !          5146: 
1.1       misho    5147:   if test "x$ac_ct_AR" = x; then
                   5148:     AR="false"
                   5149:   else
                   5150:     case $cross_compiling:$ac_tool_warned in
                   5151: yes:)
1.1.1.2 ! misho    5152: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1       misho    5153: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5154: ac_tool_warned=yes ;;
                   5155: esac
                   5156:     AR=$ac_ct_AR
                   5157:   fi
                   5158: fi
                   5159: 
1.1.1.2 ! misho    5160: : ${AR=ar}
        !          5161: : ${AR_FLAGS=cru}
        !          5162: 
        !          5163: 
        !          5164: 
1.1       misho    5165: 
                   5166: 
                   5167: 
                   5168: 
                   5169: 
                   5170: 
                   5171: 
                   5172: 
1.1.1.2 ! misho    5173: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
        !          5174: $as_echo_n "checking for archiver @FILE support... " >&6; }
        !          5175: if ${lt_cv_ar_at_file+:} false; then :
        !          5176:   $as_echo_n "(cached) " >&6
        !          5177: else
        !          5178:   lt_cv_ar_at_file=no
        !          5179:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          5180: /* end confdefs.h.  */
        !          5181: 
        !          5182: int
        !          5183: main ()
        !          5184: {
        !          5185: 
        !          5186:   ;
        !          5187:   return 0;
        !          5188: }
        !          5189: _ACEOF
        !          5190: if ac_fn_c_try_compile "$LINENO"; then :
        !          5191:   echo conftest.$ac_objext > conftest.lst
        !          5192:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
        !          5193:       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
        !          5194:   (eval $lt_ar_try) 2>&5
        !          5195:   ac_status=$?
        !          5196:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          5197:   test $ac_status = 0; }
        !          5198:       if test "$ac_status" -eq 0; then
        !          5199:        # Ensure the archiver fails upon bogus file names.
        !          5200:        rm -f conftest.$ac_objext libconftest.a
        !          5201:        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
        !          5202:   (eval $lt_ar_try) 2>&5
        !          5203:   ac_status=$?
        !          5204:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          5205:   test $ac_status = 0; }
        !          5206:        if test "$ac_status" -ne 0; then
        !          5207:           lt_cv_ar_at_file=@
        !          5208:         fi
        !          5209:       fi
        !          5210:       rm -f conftest.* libconftest.a
        !          5211: 
        !          5212: fi
        !          5213: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
        !          5214: 
        !          5215: fi
        !          5216: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
        !          5217: $as_echo "$lt_cv_ar_at_file" >&6; }
        !          5218: 
        !          5219: if test "x$lt_cv_ar_at_file" = xno; then
        !          5220:   archiver_list_spec=
        !          5221: else
        !          5222:   archiver_list_spec=$lt_cv_ar_at_file
        !          5223: fi
        !          5224: 
        !          5225: 
        !          5226: 
        !          5227: 
1.1       misho    5228: 
                   5229: 
                   5230: 
                   5231: if test -n "$ac_tool_prefix"; then
                   5232:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   5233: set dummy ${ac_tool_prefix}strip; ac_word=$2
1.1.1.2 ! misho    5234: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1       misho    5235: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    5236: if ${ac_cv_prog_STRIP+:} false; then :
1.1       misho    5237:   $as_echo_n "(cached) " >&6
                   5238: else
                   5239:   if test -n "$STRIP"; then
                   5240:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   5241: else
                   5242: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5243: for as_dir in $PATH
                   5244: do
                   5245:   IFS=$as_save_IFS
                   5246:   test -z "$as_dir" && as_dir=.
1.1.1.2 ! misho    5247:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1       misho    5248:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   5249:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1.1.1.2 ! misho    5250:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    5251:     break 2
                   5252:   fi
                   5253: done
1.1.1.2 ! misho    5254:   done
1.1       misho    5255: IFS=$as_save_IFS
                   5256: 
                   5257: fi
                   5258: fi
                   5259: STRIP=$ac_cv_prog_STRIP
                   5260: if test -n "$STRIP"; then
1.1.1.2 ! misho    5261:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
1.1       misho    5262: $as_echo "$STRIP" >&6; }
                   5263: else
1.1.1.2 ! misho    5264:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    5265: $as_echo "no" >&6; }
                   5266: fi
                   5267: 
                   5268: 
                   5269: fi
                   5270: if test -z "$ac_cv_prog_STRIP"; then
                   5271:   ac_ct_STRIP=$STRIP
                   5272:   # Extract the first word of "strip", so it can be a program name with args.
                   5273: set dummy strip; ac_word=$2
1.1.1.2 ! misho    5274: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1       misho    5275: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    5276: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
1.1       misho    5277:   $as_echo_n "(cached) " >&6
                   5278: else
                   5279:   if test -n "$ac_ct_STRIP"; then
                   5280:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   5281: else
                   5282: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5283: for as_dir in $PATH
                   5284: do
                   5285:   IFS=$as_save_IFS
                   5286:   test -z "$as_dir" && as_dir=.
1.1.1.2 ! misho    5287:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1       misho    5288:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   5289:     ac_cv_prog_ac_ct_STRIP="strip"
1.1.1.2 ! misho    5290:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    5291:     break 2
                   5292:   fi
                   5293: done
1.1.1.2 ! misho    5294:   done
1.1       misho    5295: IFS=$as_save_IFS
                   5296: 
                   5297: fi
                   5298: fi
                   5299: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   5300: if test -n "$ac_ct_STRIP"; then
1.1.1.2 ! misho    5301:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
1.1       misho    5302: $as_echo "$ac_ct_STRIP" >&6; }
                   5303: else
1.1.1.2 ! misho    5304:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    5305: $as_echo "no" >&6; }
                   5306: fi
                   5307: 
                   5308:   if test "x$ac_ct_STRIP" = x; then
                   5309:     STRIP=":"
                   5310:   else
                   5311:     case $cross_compiling:$ac_tool_warned in
                   5312: yes:)
1.1.1.2 ! misho    5313: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1       misho    5314: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5315: ac_tool_warned=yes ;;
                   5316: esac
                   5317:     STRIP=$ac_ct_STRIP
                   5318:   fi
                   5319: else
                   5320:   STRIP="$ac_cv_prog_STRIP"
                   5321: fi
                   5322: 
                   5323: test -z "$STRIP" && STRIP=:
                   5324: 
                   5325: 
                   5326: 
                   5327: 
                   5328: 
                   5329: 
                   5330: if test -n "$ac_tool_prefix"; then
                   5331:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   5332: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1.1.1.2 ! misho    5333: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1       misho    5334: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    5335: if ${ac_cv_prog_RANLIB+:} false; then :
1.1       misho    5336:   $as_echo_n "(cached) " >&6
                   5337: else
                   5338:   if test -n "$RANLIB"; then
                   5339:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
                   5340: else
                   5341: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5342: for as_dir in $PATH
                   5343: do
                   5344:   IFS=$as_save_IFS
                   5345:   test -z "$as_dir" && as_dir=.
1.1.1.2 ! misho    5346:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1       misho    5347:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   5348:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1.1.1.2 ! misho    5349:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    5350:     break 2
                   5351:   fi
                   5352: done
1.1.1.2 ! misho    5353:   done
1.1       misho    5354: IFS=$as_save_IFS
                   5355: 
                   5356: fi
                   5357: fi
                   5358: RANLIB=$ac_cv_prog_RANLIB
                   5359: if test -n "$RANLIB"; then
1.1.1.2 ! misho    5360:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
1.1       misho    5361: $as_echo "$RANLIB" >&6; }
                   5362: else
1.1.1.2 ! misho    5363:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    5364: $as_echo "no" >&6; }
                   5365: fi
                   5366: 
                   5367: 
                   5368: fi
                   5369: if test -z "$ac_cv_prog_RANLIB"; then
                   5370:   ac_ct_RANLIB=$RANLIB
                   5371:   # Extract the first word of "ranlib", so it can be a program name with args.
                   5372: set dummy ranlib; ac_word=$2
1.1.1.2 ! misho    5373: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1       misho    5374: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    5375: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
1.1       misho    5376:   $as_echo_n "(cached) " >&6
                   5377: else
                   5378:   if test -n "$ac_ct_RANLIB"; then
                   5379:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   5380: else
                   5381: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5382: for as_dir in $PATH
                   5383: do
                   5384:   IFS=$as_save_IFS
                   5385:   test -z "$as_dir" && as_dir=.
1.1.1.2 ! misho    5386:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1       misho    5387:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   5388:     ac_cv_prog_ac_ct_RANLIB="ranlib"
1.1.1.2 ! misho    5389:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    5390:     break 2
                   5391:   fi
                   5392: done
1.1.1.2 ! misho    5393:   done
1.1       misho    5394: IFS=$as_save_IFS
                   5395: 
                   5396: fi
                   5397: fi
                   5398: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   5399: if test -n "$ac_ct_RANLIB"; then
1.1.1.2 ! misho    5400:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
1.1       misho    5401: $as_echo "$ac_ct_RANLIB" >&6; }
                   5402: else
1.1.1.2 ! misho    5403:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    5404: $as_echo "no" >&6; }
                   5405: fi
                   5406: 
                   5407:   if test "x$ac_ct_RANLIB" = x; then
                   5408:     RANLIB=":"
                   5409:   else
                   5410:     case $cross_compiling:$ac_tool_warned in
                   5411: yes:)
1.1.1.2 ! misho    5412: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1       misho    5413: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5414: ac_tool_warned=yes ;;
                   5415: esac
                   5416:     RANLIB=$ac_ct_RANLIB
                   5417:   fi
                   5418: else
                   5419:   RANLIB="$ac_cv_prog_RANLIB"
                   5420: fi
                   5421: 
                   5422: test -z "$RANLIB" && RANLIB=:
                   5423: 
                   5424: 
                   5425: 
                   5426: 
                   5427: 
                   5428: 
                   5429: # Determine commands to create old-style static archives.
                   5430: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
                   5431: old_postinstall_cmds='chmod 644 $oldlib'
                   5432: old_postuninstall_cmds=
                   5433: 
                   5434: if test -n "$RANLIB"; then
                   5435:   case $host_os in
                   5436:   openbsd*)
                   5437:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
                   5438:     ;;
                   5439:   *)
                   5440:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
                   5441:     ;;
                   5442:   esac
                   5443:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
                   5444: fi
                   5445: 
1.1.1.2 ! misho    5446: case $host_os in
        !          5447:   darwin*)
        !          5448:     lock_old_archive_extraction=yes ;;
        !          5449:   *)
        !          5450:     lock_old_archive_extraction=no ;;
        !          5451: esac
        !          5452: 
        !          5453: 
        !          5454: 
        !          5455: 
        !          5456: 
        !          5457: 
1.1       misho    5458: 
                   5459: 
                   5460: 
                   5461: 
                   5462: 
                   5463: 
                   5464: 
                   5465: 
                   5466: 
                   5467: 
                   5468: 
                   5469: 
                   5470: 
                   5471: 
                   5472: 
1.1.1.2 ! misho    5473: for ac_prog in gawk mawk nawk awk
        !          5474: do
        !          5475:   # Extract the first word of "$ac_prog", so it can be a program name with args.
        !          5476: set dummy $ac_prog; ac_word=$2
        !          5477: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          5478: $as_echo_n "checking for $ac_word... " >&6; }
        !          5479: if ${ac_cv_prog_AWK+:} false; then :
        !          5480:   $as_echo_n "(cached) " >&6
        !          5481: else
        !          5482:   if test -n "$AWK"; then
        !          5483:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
        !          5484: else
        !          5485: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          5486: for as_dir in $PATH
        !          5487: do
        !          5488:   IFS=$as_save_IFS
        !          5489:   test -z "$as_dir" && as_dir=.
        !          5490:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          5491:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
        !          5492:     ac_cv_prog_AWK="$ac_prog"
        !          5493:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          5494:     break 2
        !          5495:   fi
        !          5496: done
        !          5497:   done
        !          5498: IFS=$as_save_IFS
        !          5499: 
        !          5500: fi
        !          5501: fi
        !          5502: AWK=$ac_cv_prog_AWK
        !          5503: if test -n "$AWK"; then
        !          5504:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
        !          5505: $as_echo "$AWK" >&6; }
        !          5506: else
        !          5507:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          5508: $as_echo "no" >&6; }
        !          5509: fi
        !          5510: 
        !          5511: 
        !          5512:   test -n "$AWK" && break
        !          5513: done
        !          5514: 
1.1       misho    5515: 
                   5516: 
                   5517: 
                   5518: 
                   5519: 
                   5520: 
                   5521: 
                   5522: 
                   5523: 
                   5524: 
                   5525: 
                   5526: 
                   5527: 
                   5528: 
                   5529: 
                   5530: 
                   5531: 
                   5532: 
                   5533: # If no C compiler was specified, use CC.
                   5534: LTCC=${LTCC-"$CC"}
                   5535: 
                   5536: # If no C compiler flags were specified, use CFLAGS.
                   5537: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   5538: 
                   5539: # Allow CC to be a program name with arguments.
                   5540: compiler=$CC
                   5541: 
                   5542: 
                   5543: # Check for command to grab the raw symbol name followed by C symbol from nm.
1.1.1.2 ! misho    5544: { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
1.1       misho    5545: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
1.1.1.2 ! misho    5546: if ${lt_cv_sys_global_symbol_pipe+:} false; then :
1.1       misho    5547:   $as_echo_n "(cached) " >&6
                   5548: else
                   5549: 
                   5550: # These are sane defaults that work on at least a few old systems.
                   5551: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
                   5552: 
                   5553: # Character class describing NM global symbol codes.
                   5554: symcode='[BCDEGRST]'
                   5555: 
                   5556: # Regexp to match symbols that can be accessed directly from C.
                   5557: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
                   5558: 
                   5559: # Define system-specific variables.
                   5560: case $host_os in
                   5561: aix*)
                   5562:   symcode='[BCDT]'
                   5563:   ;;
                   5564: cygwin* | mingw* | pw32* | cegcc*)
                   5565:   symcode='[ABCDGISTW]'
                   5566:   ;;
                   5567: hpux*)
                   5568:   if test "$host_cpu" = ia64; then
                   5569:     symcode='[ABCDEGRST]'
                   5570:   fi
                   5571:   ;;
                   5572: irix* | nonstopux*)
                   5573:   symcode='[BCDEGRST]'
                   5574:   ;;
                   5575: osf*)
                   5576:   symcode='[BCDEGQRST]'
                   5577:   ;;
                   5578: solaris*)
                   5579:   symcode='[BDRT]'
                   5580:   ;;
                   5581: sco3.2v5*)
                   5582:   symcode='[DT]'
                   5583:   ;;
                   5584: sysv4.2uw2*)
                   5585:   symcode='[DT]'
                   5586:   ;;
                   5587: sysv5* | sco5v6* | unixware* | OpenUNIX*)
                   5588:   symcode='[ABDT]'
                   5589:   ;;
                   5590: sysv4)
                   5591:   symcode='[DFNSTU]'
                   5592:   ;;
                   5593: esac
                   5594: 
                   5595: # If we're using GNU nm, then use its standard symbol codes.
                   5596: case `$NM -V 2>&1` in
                   5597: *GNU* | *'with BFD'*)
                   5598:   symcode='[ABCDGIRSTW]' ;;
                   5599: esac
                   5600: 
                   5601: # Transform an extracted symbol line into a proper C declaration.
                   5602: # Some systems (esp. on ia64) link data and code symbols differently,
                   5603: # so use this general approach.
                   5604: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
                   5605: 
                   5606: # Transform an extracted symbol line into symbol name and symbol address
1.1.1.2 ! misho    5607: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
        !          5608: 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    5609: 
                   5610: # Handle CRLF in mingw tool chain
                   5611: opt_cr=
                   5612: case $build_os in
                   5613: mingw*)
                   5614:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
                   5615:   ;;
                   5616: esac
                   5617: 
                   5618: # Try without a prefix underscore, then with it.
                   5619: for ac_symprfx in "" "_"; do
                   5620: 
                   5621:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
                   5622:   symxfrm="\\1 $ac_symprfx\\2 \\2"
                   5623: 
                   5624:   # Write the raw and C identifiers.
                   5625:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   5626:     # Fake it for dumpbin and say T for any non-static function
                   5627:     # and D for any global variable.
                   5628:     # Also find C++ and __fastcall symbols from MSVC++,
                   5629:     # which start with @ or ?.
                   5630:     lt_cv_sys_global_symbol_pipe="$AWK '"\
                   5631: "     {last_section=section; section=\$ 3};"\
                   5632: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
                   5633: "     \$ 0!~/External *\|/{next};"\
                   5634: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
                   5635: "     {if(hide[section]) next};"\
                   5636: "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
                   5637: "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
                   5638: "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
                   5639: "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
                   5640: "     ' prfx=^$ac_symprfx"
                   5641:   else
                   5642:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
                   5643:   fi
1.1.1.2 ! misho    5644:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
1.1       misho    5645: 
                   5646:   # Check to see that the pipe works correctly.
                   5647:   pipe_works=no
                   5648: 
                   5649:   rm -f conftest*
                   5650:   cat > conftest.$ac_ext <<_LT_EOF
                   5651: #ifdef __cplusplus
                   5652: extern "C" {
                   5653: #endif
                   5654: char nm_test_var;
                   5655: void nm_test_func(void);
                   5656: void nm_test_func(void){}
                   5657: #ifdef __cplusplus
                   5658: }
                   5659: #endif
                   5660: int main(){nm_test_var='a';nm_test_func();return(0);}
                   5661: _LT_EOF
                   5662: 
1.1.1.2 ! misho    5663:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.1       misho    5664:   (eval $ac_compile) 2>&5
                   5665:   ac_status=$?
1.1.1.2 ! misho    5666:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          5667:   test $ac_status = 0; }; then
1.1       misho    5668:     # Now try to grab the symbols.
                   5669:     nlist=conftest.nm
1.1.1.2 ! misho    5670:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
        !          5671:   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
1.1       misho    5672:   ac_status=$?
1.1.1.2 ! misho    5673:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          5674:   test $ac_status = 0; } && test -s "$nlist"; then
1.1       misho    5675:       # Try sorting and uniquifying the output.
                   5676:       if sort "$nlist" | uniq > "$nlist"T; then
                   5677:        mv -f "$nlist"T "$nlist"
                   5678:       else
                   5679:        rm -f "$nlist"T
                   5680:       fi
                   5681: 
                   5682:       # Make sure that we snagged all the symbols we need.
                   5683:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
                   5684:        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
                   5685:          cat <<_LT_EOF > conftest.$ac_ext
1.1.1.2 ! misho    5686: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
        !          5687: #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
        !          5688: /* DATA imports from DLLs on WIN32 con't be const, because runtime
        !          5689:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
        !          5690: # define LT_DLSYM_CONST
        !          5691: #elif defined(__osf__)
        !          5692: /* This system does not cope well with relocations in const data.  */
        !          5693: # define LT_DLSYM_CONST
        !          5694: #else
        !          5695: # define LT_DLSYM_CONST const
        !          5696: #endif
        !          5697: 
1.1       misho    5698: #ifdef __cplusplus
                   5699: extern "C" {
                   5700: #endif
                   5701: 
                   5702: _LT_EOF
                   5703:          # Now generate the symbol file.
                   5704:          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
                   5705: 
                   5706:          cat <<_LT_EOF >> conftest.$ac_ext
                   5707: 
                   5708: /* The mapping between symbol names and symbols.  */
1.1.1.2 ! misho    5709: LT_DLSYM_CONST struct {
1.1       misho    5710:   const char *name;
                   5711:   void       *address;
                   5712: }
                   5713: lt__PROGRAM__LTX_preloaded_symbols[] =
                   5714: {
                   5715:   { "@PROGRAM@", (void *) 0 },
                   5716: _LT_EOF
                   5717:          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
                   5718:          cat <<\_LT_EOF >> conftest.$ac_ext
                   5719:   {0, (void *) 0}
                   5720: };
                   5721: 
                   5722: /* This works around a problem in FreeBSD linker */
                   5723: #ifdef FREEBSD_WORKAROUND
                   5724: static const void *lt_preloaded_setup() {
                   5725:   return lt__PROGRAM__LTX_preloaded_symbols;
                   5726: }
                   5727: #endif
                   5728: 
                   5729: #ifdef __cplusplus
                   5730: }
                   5731: #endif
                   5732: _LT_EOF
                   5733:          # Now try linking the two files.
                   5734:          mv conftest.$ac_objext conftstm.$ac_objext
1.1.1.2 ! misho    5735:          lt_globsym_save_LIBS=$LIBS
        !          5736:          lt_globsym_save_CFLAGS=$CFLAGS
1.1       misho    5737:          LIBS="conftstm.$ac_objext"
                   5738:          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
1.1.1.2 ! misho    5739:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.1       misho    5740:   (eval $ac_link) 2>&5
                   5741:   ac_status=$?
1.1.1.2 ! misho    5742:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          5743:   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
1.1       misho    5744:            pipe_works=yes
                   5745:          fi
1.1.1.2 ! misho    5746:          LIBS=$lt_globsym_save_LIBS
        !          5747:          CFLAGS=$lt_globsym_save_CFLAGS
1.1       misho    5748:        else
                   5749:          echo "cannot find nm_test_func in $nlist" >&5
                   5750:        fi
                   5751:       else
                   5752:        echo "cannot find nm_test_var in $nlist" >&5
                   5753:       fi
                   5754:     else
                   5755:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   5756:     fi
                   5757:   else
                   5758:     echo "$progname: failed program was:" >&5
                   5759:     cat conftest.$ac_ext >&5
                   5760:   fi
                   5761:   rm -rf conftest* conftst*
                   5762: 
                   5763:   # Do not use the global_symbol_pipe unless it works.
                   5764:   if test "$pipe_works" = yes; then
                   5765:     break
                   5766:   else
                   5767:     lt_cv_sys_global_symbol_pipe=
                   5768:   fi
                   5769: done
                   5770: 
                   5771: fi
                   5772: 
                   5773: if test -z "$lt_cv_sys_global_symbol_pipe"; then
                   5774:   lt_cv_sys_global_symbol_to_cdecl=
                   5775: fi
                   5776: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
1.1.1.2 ! misho    5777:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
1.1       misho    5778: $as_echo "failed" >&6; }
                   5779: else
1.1.1.2 ! misho    5780:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
1.1       misho    5781: $as_echo "ok" >&6; }
                   5782: fi
                   5783: 
1.1.1.2 ! misho    5784: # Response file support.
        !          5785: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
        !          5786:   nm_file_list_spec='@'
        !          5787: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
        !          5788:   nm_file_list_spec='@'
        !          5789: fi
        !          5790: 
        !          5791: 
        !          5792: 
        !          5793: 
        !          5794: 
        !          5795: 
        !          5796: 
        !          5797: 
        !          5798: 
        !          5799: 
        !          5800: 
        !          5801: 
        !          5802: 
        !          5803: 
        !          5804: 
1.1       misho    5805: 
                   5806: 
                   5807: 
                   5808: 
                   5809: 
                   5810: 
                   5811: 
                   5812: 
                   5813: 
                   5814: 
                   5815: 
                   5816: 
1.1.1.2 ! misho    5817: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
        !          5818: $as_echo_n "checking for sysroot... " >&6; }
1.1       misho    5819: 
1.1.1.2 ! misho    5820: # Check whether --with-sysroot was given.
        !          5821: if test "${with_sysroot+set}" = set; then :
        !          5822:   withval=$with_sysroot;
        !          5823: else
        !          5824:   with_sysroot=no
        !          5825: fi
1.1       misho    5826: 
                   5827: 
1.1.1.2 ! misho    5828: lt_sysroot=
        !          5829: case ${with_sysroot} in #(
        !          5830:  yes)
        !          5831:    if test "$GCC" = yes; then
        !          5832:      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
        !          5833:    fi
        !          5834:    ;; #(
        !          5835:  /*)
        !          5836:    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
        !          5837:    ;; #(
        !          5838:  no|'')
        !          5839:    ;; #(
        !          5840:  *)
        !          5841:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
        !          5842: $as_echo "${with_sysroot}" >&6; }
        !          5843:    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
        !          5844:    ;;
        !          5845: esac
1.1       misho    5846: 
1.1.1.2 ! misho    5847:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
        !          5848: $as_echo "${lt_sysroot:-no}" >&6; }
1.1       misho    5849: 
                   5850: 
                   5851: 
                   5852: 
                   5853: 
                   5854: # Check whether --enable-libtool-lock was given.
1.1.1.2 ! misho    5855: if test "${enable_libtool_lock+set}" = set; then :
1.1       misho    5856:   enableval=$enable_libtool_lock;
                   5857: fi
                   5858: 
                   5859: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
                   5860: 
                   5861: # Some flags need to be propagated to the compiler or linker for good
                   5862: # libtool support.
                   5863: case $host in
                   5864: ia64-*-hpux*)
                   5865:   # Find out which ABI we are using.
                   5866:   echo 'int i;' > conftest.$ac_ext
1.1.1.2 ! misho    5867:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.1       misho    5868:   (eval $ac_compile) 2>&5
                   5869:   ac_status=$?
1.1.1.2 ! misho    5870:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          5871:   test $ac_status = 0; }; then
1.1       misho    5872:     case `/usr/bin/file conftest.$ac_objext` in
                   5873:       *ELF-32*)
                   5874:        HPUX_IA64_MODE="32"
                   5875:        ;;
                   5876:       *ELF-64*)
                   5877:        HPUX_IA64_MODE="64"
                   5878:        ;;
                   5879:     esac
                   5880:   fi
                   5881:   rm -rf conftest*
                   5882:   ;;
                   5883: *-*-irix6*)
                   5884:   # Find out which ABI we are using.
1.1.1.2 ! misho    5885:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
        !          5886:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.1       misho    5887:   (eval $ac_compile) 2>&5
                   5888:   ac_status=$?
1.1.1.2 ! misho    5889:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          5890:   test $ac_status = 0; }; then
1.1       misho    5891:     if test "$lt_cv_prog_gnu_ld" = yes; then
                   5892:       case `/usr/bin/file conftest.$ac_objext` in
                   5893:        *32-bit*)
                   5894:          LD="${LD-ld} -melf32bsmip"
                   5895:          ;;
                   5896:        *N32*)
                   5897:          LD="${LD-ld} -melf32bmipn32"
                   5898:          ;;
                   5899:        *64-bit*)
                   5900:          LD="${LD-ld} -melf64bmip"
                   5901:        ;;
                   5902:       esac
                   5903:     else
                   5904:       case `/usr/bin/file conftest.$ac_objext` in
                   5905:        *32-bit*)
                   5906:          LD="${LD-ld} -32"
                   5907:          ;;
                   5908:        *N32*)
                   5909:          LD="${LD-ld} -n32"
                   5910:          ;;
                   5911:        *64-bit*)
                   5912:          LD="${LD-ld} -64"
                   5913:          ;;
                   5914:       esac
                   5915:     fi
                   5916:   fi
                   5917:   rm -rf conftest*
                   5918:   ;;
                   5919: 
                   5920: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
                   5921: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
                   5922:   # Find out which ABI we are using.
                   5923:   echo 'int i;' > conftest.$ac_ext
1.1.1.2 ! misho    5924:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.1       misho    5925:   (eval $ac_compile) 2>&5
                   5926:   ac_status=$?
1.1.1.2 ! misho    5927:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          5928:   test $ac_status = 0; }; then
1.1       misho    5929:     case `/usr/bin/file conftest.o` in
                   5930:       *32-bit*)
                   5931:        case $host in
                   5932:          x86_64-*kfreebsd*-gnu)
                   5933:            LD="${LD-ld} -m elf_i386_fbsd"
                   5934:            ;;
                   5935:          x86_64-*linux*)
                   5936:            LD="${LD-ld} -m elf_i386"
                   5937:            ;;
                   5938:          ppc64-*linux*|powerpc64-*linux*)
                   5939:            LD="${LD-ld} -m elf32ppclinux"
                   5940:            ;;
                   5941:          s390x-*linux*)
                   5942:            LD="${LD-ld} -m elf_s390"
                   5943:            ;;
                   5944:          sparc64-*linux*)
                   5945:            LD="${LD-ld} -m elf32_sparc"
                   5946:            ;;
                   5947:        esac
                   5948:        ;;
                   5949:       *64-bit*)
                   5950:        case $host in
                   5951:          x86_64-*kfreebsd*-gnu)
                   5952:            LD="${LD-ld} -m elf_x86_64_fbsd"
                   5953:            ;;
                   5954:          x86_64-*linux*)
                   5955:            LD="${LD-ld} -m elf_x86_64"
                   5956:            ;;
                   5957:          ppc*-*linux*|powerpc*-*linux*)
                   5958:            LD="${LD-ld} -m elf64ppc"
                   5959:            ;;
                   5960:          s390*-*linux*|s390*-*tpf*)
                   5961:            LD="${LD-ld} -m elf64_s390"
                   5962:            ;;
                   5963:          sparc*-*linux*)
                   5964:            LD="${LD-ld} -m elf64_sparc"
                   5965:            ;;
                   5966:        esac
                   5967:        ;;
                   5968:     esac
                   5969:   fi
                   5970:   rm -rf conftest*
                   5971:   ;;
                   5972: 
                   5973: *-*-sco3.2v5*)
                   5974:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
                   5975:   SAVE_CFLAGS="$CFLAGS"
                   5976:   CFLAGS="$CFLAGS -belf"
1.1.1.2 ! misho    5977:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
1.1       misho    5978: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
1.1.1.2 ! misho    5979: if ${lt_cv_cc_needs_belf+:} false; then :
1.1       misho    5980:   $as_echo_n "(cached) " >&6
                   5981: else
                   5982:   ac_ext=c
                   5983: ac_cpp='$CPP $CPPFLAGS'
                   5984: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   5985: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   5986: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   5987: 
1.1.1.2 ! misho    5988:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    5989: /* end confdefs.h.  */
                   5990: 
                   5991: int
                   5992: main ()
                   5993: {
                   5994: 
                   5995:   ;
                   5996:   return 0;
                   5997: }
                   5998: _ACEOF
1.1.1.2 ! misho    5999: if ac_fn_c_try_link "$LINENO"; then :
1.1       misho    6000:   lt_cv_cc_needs_belf=yes
                   6001: else
1.1.1.2 ! misho    6002:   lt_cv_cc_needs_belf=no
1.1       misho    6003: fi
1.1.1.2 ! misho    6004: rm -f core conftest.err conftest.$ac_objext \
        !          6005:     conftest$ac_exeext conftest.$ac_ext
1.1       misho    6006:      ac_ext=c
                   6007: ac_cpp='$CPP $CPPFLAGS'
                   6008: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   6009: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   6010: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   6011: 
                   6012: fi
1.1.1.2 ! misho    6013: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
1.1       misho    6014: $as_echo "$lt_cv_cc_needs_belf" >&6; }
                   6015:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
                   6016:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
                   6017:     CFLAGS="$SAVE_CFLAGS"
                   6018:   fi
                   6019:   ;;
                   6020: sparc*-*solaris*)
                   6021:   # Find out which ABI we are using.
                   6022:   echo 'int i;' > conftest.$ac_ext
1.1.1.2 ! misho    6023:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.1       misho    6024:   (eval $ac_compile) 2>&5
                   6025:   ac_status=$?
1.1.1.2 ! misho    6026:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          6027:   test $ac_status = 0; }; then
1.1       misho    6028:     case `/usr/bin/file conftest.o` in
                   6029:     *64-bit*)
                   6030:       case $lt_cv_prog_gnu_ld in
                   6031:       yes*) LD="${LD-ld} -m elf64_sparc" ;;
                   6032:       *)
                   6033:        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
                   6034:          LD="${LD-ld} -64"
                   6035:        fi
                   6036:        ;;
                   6037:       esac
                   6038:       ;;
                   6039:     esac
                   6040:   fi
                   6041:   rm -rf conftest*
                   6042:   ;;
                   6043: esac
                   6044: 
                   6045: need_locks="$enable_libtool_lock"
                   6046: 
1.1.1.2 ! misho    6047: if test -n "$ac_tool_prefix"; then
        !          6048:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
        !          6049: set dummy ${ac_tool_prefix}mt; ac_word=$2
        !          6050: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          6051: $as_echo_n "checking for $ac_word... " >&6; }
        !          6052: if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
        !          6053:   $as_echo_n "(cached) " >&6
        !          6054: else
        !          6055:   if test -n "$MANIFEST_TOOL"; then
        !          6056:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
        !          6057: else
        !          6058: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          6059: for as_dir in $PATH
        !          6060: do
        !          6061:   IFS=$as_save_IFS
        !          6062:   test -z "$as_dir" && as_dir=.
        !          6063:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          6064:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
        !          6065:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
        !          6066:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          6067:     break 2
        !          6068:   fi
        !          6069: done
        !          6070:   done
        !          6071: IFS=$as_save_IFS
        !          6072: 
        !          6073: fi
        !          6074: fi
        !          6075: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
        !          6076: if test -n "$MANIFEST_TOOL"; then
        !          6077:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
        !          6078: $as_echo "$MANIFEST_TOOL" >&6; }
        !          6079: else
        !          6080:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6081: $as_echo "no" >&6; }
        !          6082: fi
        !          6083: 
        !          6084: 
        !          6085: fi
        !          6086: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
        !          6087:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
        !          6088:   # Extract the first word of "mt", so it can be a program name with args.
        !          6089: set dummy mt; ac_word=$2
        !          6090: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
        !          6091: $as_echo_n "checking for $ac_word... " >&6; }
        !          6092: if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
        !          6093:   $as_echo_n "(cached) " >&6
        !          6094: else
        !          6095:   if test -n "$ac_ct_MANIFEST_TOOL"; then
        !          6096:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
        !          6097: else
        !          6098: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
        !          6099: for as_dir in $PATH
        !          6100: do
        !          6101:   IFS=$as_save_IFS
        !          6102:   test -z "$as_dir" && as_dir=.
        !          6103:     for ac_exec_ext in '' $ac_executable_extensions; do
        !          6104:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
        !          6105:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
        !          6106:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
        !          6107:     break 2
        !          6108:   fi
        !          6109: done
        !          6110:   done
        !          6111: IFS=$as_save_IFS
        !          6112: 
        !          6113: fi
        !          6114: fi
        !          6115: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
        !          6116: if test -n "$ac_ct_MANIFEST_TOOL"; then
        !          6117:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
        !          6118: $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
        !          6119: else
        !          6120:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
        !          6121: $as_echo "no" >&6; }
        !          6122: fi
        !          6123: 
        !          6124:   if test "x$ac_ct_MANIFEST_TOOL" = x; then
        !          6125:     MANIFEST_TOOL=":"
        !          6126:   else
        !          6127:     case $cross_compiling:$ac_tool_warned in
        !          6128: yes:)
        !          6129: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
        !          6130: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
        !          6131: ac_tool_warned=yes ;;
        !          6132: esac
        !          6133:     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
        !          6134:   fi
        !          6135: else
        !          6136:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
        !          6137: fi
        !          6138: 
        !          6139: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
        !          6140: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
        !          6141: $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
        !          6142: if ${lt_cv_path_mainfest_tool+:} false; then :
        !          6143:   $as_echo_n "(cached) " >&6
        !          6144: else
        !          6145:   lt_cv_path_mainfest_tool=no
        !          6146:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
        !          6147:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
        !          6148:   cat conftest.err >&5
        !          6149:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
        !          6150:     lt_cv_path_mainfest_tool=yes
        !          6151:   fi
        !          6152:   rm -f conftest*
        !          6153: fi
        !          6154: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
        !          6155: $as_echo "$lt_cv_path_mainfest_tool" >&6; }
        !          6156: if test "x$lt_cv_path_mainfest_tool" != xyes; then
        !          6157:   MANIFEST_TOOL=:
        !          6158: fi
        !          6159: 
        !          6160: 
        !          6161: 
        !          6162: 
        !          6163: 
1.1       misho    6164: 
                   6165:   case $host_os in
                   6166:     rhapsody* | darwin*)
                   6167:     if test -n "$ac_tool_prefix"; then
                   6168:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
                   6169: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
1.1.1.2 ! misho    6170: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1       misho    6171: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    6172: if ${ac_cv_prog_DSYMUTIL+:} false; then :
1.1       misho    6173:   $as_echo_n "(cached) " >&6
                   6174: else
                   6175:   if test -n "$DSYMUTIL"; then
                   6176:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
                   6177: else
                   6178: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6179: for as_dir in $PATH
                   6180: do
                   6181:   IFS=$as_save_IFS
                   6182:   test -z "$as_dir" && as_dir=.
1.1.1.2 ! misho    6183:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1       misho    6184:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6185:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
1.1.1.2 ! misho    6186:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    6187:     break 2
                   6188:   fi
                   6189: done
1.1.1.2 ! misho    6190:   done
1.1       misho    6191: IFS=$as_save_IFS
                   6192: 
                   6193: fi
                   6194: fi
                   6195: DSYMUTIL=$ac_cv_prog_DSYMUTIL
                   6196: if test -n "$DSYMUTIL"; then
1.1.1.2 ! misho    6197:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
1.1       misho    6198: $as_echo "$DSYMUTIL" >&6; }
                   6199: else
1.1.1.2 ! misho    6200:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    6201: $as_echo "no" >&6; }
                   6202: fi
                   6203: 
                   6204: 
                   6205: fi
                   6206: if test -z "$ac_cv_prog_DSYMUTIL"; then
                   6207:   ac_ct_DSYMUTIL=$DSYMUTIL
                   6208:   # Extract the first word of "dsymutil", so it can be a program name with args.
                   6209: set dummy dsymutil; ac_word=$2
1.1.1.2 ! misho    6210: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1       misho    6211: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    6212: if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
1.1       misho    6213:   $as_echo_n "(cached) " >&6
                   6214: else
                   6215:   if test -n "$ac_ct_DSYMUTIL"; then
                   6216:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
                   6217: else
                   6218: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6219: for as_dir in $PATH
                   6220: do
                   6221:   IFS=$as_save_IFS
                   6222:   test -z "$as_dir" && as_dir=.
1.1.1.2 ! misho    6223:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1       misho    6224:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6225:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
1.1.1.2 ! misho    6226:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    6227:     break 2
                   6228:   fi
                   6229: done
1.1.1.2 ! misho    6230:   done
1.1       misho    6231: IFS=$as_save_IFS
                   6232: 
                   6233: fi
                   6234: fi
                   6235: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
                   6236: if test -n "$ac_ct_DSYMUTIL"; then
1.1.1.2 ! misho    6237:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
1.1       misho    6238: $as_echo "$ac_ct_DSYMUTIL" >&6; }
                   6239: else
1.1.1.2 ! misho    6240:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    6241: $as_echo "no" >&6; }
                   6242: fi
                   6243: 
                   6244:   if test "x$ac_ct_DSYMUTIL" = x; then
                   6245:     DSYMUTIL=":"
                   6246:   else
                   6247:     case $cross_compiling:$ac_tool_warned in
                   6248: yes:)
1.1.1.2 ! misho    6249: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1       misho    6250: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6251: ac_tool_warned=yes ;;
                   6252: esac
                   6253:     DSYMUTIL=$ac_ct_DSYMUTIL
                   6254:   fi
                   6255: else
                   6256:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
                   6257: fi
                   6258: 
                   6259:     if test -n "$ac_tool_prefix"; then
                   6260:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
                   6261: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
1.1.1.2 ! misho    6262: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1       misho    6263: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    6264: if ${ac_cv_prog_NMEDIT+:} false; then :
1.1       misho    6265:   $as_echo_n "(cached) " >&6
                   6266: else
                   6267:   if test -n "$NMEDIT"; then
                   6268:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
                   6269: else
                   6270: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6271: for as_dir in $PATH
                   6272: do
                   6273:   IFS=$as_save_IFS
                   6274:   test -z "$as_dir" && as_dir=.
1.1.1.2 ! misho    6275:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1       misho    6276:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6277:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
1.1.1.2 ! misho    6278:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    6279:     break 2
                   6280:   fi
                   6281: done
1.1.1.2 ! misho    6282:   done
1.1       misho    6283: IFS=$as_save_IFS
                   6284: 
                   6285: fi
                   6286: fi
                   6287: NMEDIT=$ac_cv_prog_NMEDIT
                   6288: if test -n "$NMEDIT"; then
1.1.1.2 ! misho    6289:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
1.1       misho    6290: $as_echo "$NMEDIT" >&6; }
                   6291: else
1.1.1.2 ! misho    6292:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    6293: $as_echo "no" >&6; }
                   6294: fi
                   6295: 
                   6296: 
                   6297: fi
                   6298: if test -z "$ac_cv_prog_NMEDIT"; then
                   6299:   ac_ct_NMEDIT=$NMEDIT
                   6300:   # Extract the first word of "nmedit", so it can be a program name with args.
                   6301: set dummy nmedit; ac_word=$2
1.1.1.2 ! misho    6302: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1       misho    6303: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    6304: if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
1.1       misho    6305:   $as_echo_n "(cached) " >&6
                   6306: else
                   6307:   if test -n "$ac_ct_NMEDIT"; then
                   6308:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
                   6309: else
                   6310: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6311: for as_dir in $PATH
                   6312: do
                   6313:   IFS=$as_save_IFS
                   6314:   test -z "$as_dir" && as_dir=.
1.1.1.2 ! misho    6315:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1       misho    6316:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6317:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
1.1.1.2 ! misho    6318:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    6319:     break 2
                   6320:   fi
                   6321: done
1.1.1.2 ! misho    6322:   done
1.1       misho    6323: IFS=$as_save_IFS
                   6324: 
                   6325: fi
                   6326: fi
                   6327: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
                   6328: if test -n "$ac_ct_NMEDIT"; then
1.1.1.2 ! misho    6329:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
1.1       misho    6330: $as_echo "$ac_ct_NMEDIT" >&6; }
                   6331: else
1.1.1.2 ! misho    6332:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    6333: $as_echo "no" >&6; }
                   6334: fi
                   6335: 
                   6336:   if test "x$ac_ct_NMEDIT" = x; then
                   6337:     NMEDIT=":"
                   6338:   else
                   6339:     case $cross_compiling:$ac_tool_warned in
                   6340: yes:)
1.1.1.2 ! misho    6341: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1       misho    6342: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6343: ac_tool_warned=yes ;;
                   6344: esac
                   6345:     NMEDIT=$ac_ct_NMEDIT
                   6346:   fi
                   6347: else
                   6348:   NMEDIT="$ac_cv_prog_NMEDIT"
                   6349: fi
                   6350: 
                   6351:     if test -n "$ac_tool_prefix"; then
                   6352:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
                   6353: set dummy ${ac_tool_prefix}lipo; ac_word=$2
1.1.1.2 ! misho    6354: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1       misho    6355: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    6356: if ${ac_cv_prog_LIPO+:} false; then :
1.1       misho    6357:   $as_echo_n "(cached) " >&6
                   6358: else
                   6359:   if test -n "$LIPO"; then
                   6360:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
                   6361: else
                   6362: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6363: for as_dir in $PATH
                   6364: do
                   6365:   IFS=$as_save_IFS
                   6366:   test -z "$as_dir" && as_dir=.
1.1.1.2 ! misho    6367:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1       misho    6368:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6369:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
1.1.1.2 ! misho    6370:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    6371:     break 2
                   6372:   fi
                   6373: done
1.1.1.2 ! misho    6374:   done
1.1       misho    6375: IFS=$as_save_IFS
                   6376: 
                   6377: fi
                   6378: fi
                   6379: LIPO=$ac_cv_prog_LIPO
                   6380: if test -n "$LIPO"; then
1.1.1.2 ! misho    6381:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
1.1       misho    6382: $as_echo "$LIPO" >&6; }
                   6383: else
1.1.1.2 ! misho    6384:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    6385: $as_echo "no" >&6; }
                   6386: fi
                   6387: 
                   6388: 
                   6389: fi
                   6390: if test -z "$ac_cv_prog_LIPO"; then
                   6391:   ac_ct_LIPO=$LIPO
                   6392:   # Extract the first word of "lipo", so it can be a program name with args.
                   6393: set dummy lipo; ac_word=$2
1.1.1.2 ! misho    6394: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1       misho    6395: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    6396: if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
1.1       misho    6397:   $as_echo_n "(cached) " >&6
                   6398: else
                   6399:   if test -n "$ac_ct_LIPO"; then
                   6400:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
                   6401: else
                   6402: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6403: for as_dir in $PATH
                   6404: do
                   6405:   IFS=$as_save_IFS
                   6406:   test -z "$as_dir" && as_dir=.
1.1.1.2 ! misho    6407:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1       misho    6408:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6409:     ac_cv_prog_ac_ct_LIPO="lipo"
1.1.1.2 ! misho    6410:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    6411:     break 2
                   6412:   fi
                   6413: done
1.1.1.2 ! misho    6414:   done
1.1       misho    6415: IFS=$as_save_IFS
                   6416: 
                   6417: fi
                   6418: fi
                   6419: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
                   6420: if test -n "$ac_ct_LIPO"; then
1.1.1.2 ! misho    6421:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
1.1       misho    6422: $as_echo "$ac_ct_LIPO" >&6; }
                   6423: else
1.1.1.2 ! misho    6424:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    6425: $as_echo "no" >&6; }
                   6426: fi
                   6427: 
                   6428:   if test "x$ac_ct_LIPO" = x; then
                   6429:     LIPO=":"
                   6430:   else
                   6431:     case $cross_compiling:$ac_tool_warned in
                   6432: yes:)
1.1.1.2 ! misho    6433: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1       misho    6434: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6435: ac_tool_warned=yes ;;
                   6436: esac
                   6437:     LIPO=$ac_ct_LIPO
                   6438:   fi
                   6439: else
                   6440:   LIPO="$ac_cv_prog_LIPO"
                   6441: fi
                   6442: 
                   6443:     if test -n "$ac_tool_prefix"; then
                   6444:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
                   6445: set dummy ${ac_tool_prefix}otool; ac_word=$2
1.1.1.2 ! misho    6446: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1       misho    6447: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    6448: if ${ac_cv_prog_OTOOL+:} false; then :
1.1       misho    6449:   $as_echo_n "(cached) " >&6
                   6450: else
                   6451:   if test -n "$OTOOL"; then
                   6452:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
                   6453: else
                   6454: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6455: for as_dir in $PATH
                   6456: do
                   6457:   IFS=$as_save_IFS
                   6458:   test -z "$as_dir" && as_dir=.
1.1.1.2 ! misho    6459:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1       misho    6460:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6461:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
1.1.1.2 ! misho    6462:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    6463:     break 2
                   6464:   fi
                   6465: done
1.1.1.2 ! misho    6466:   done
1.1       misho    6467: IFS=$as_save_IFS
                   6468: 
                   6469: fi
                   6470: fi
                   6471: OTOOL=$ac_cv_prog_OTOOL
                   6472: if test -n "$OTOOL"; then
1.1.1.2 ! misho    6473:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
1.1       misho    6474: $as_echo "$OTOOL" >&6; }
                   6475: else
1.1.1.2 ! misho    6476:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    6477: $as_echo "no" >&6; }
                   6478: fi
                   6479: 
                   6480: 
                   6481: fi
                   6482: if test -z "$ac_cv_prog_OTOOL"; then
                   6483:   ac_ct_OTOOL=$OTOOL
                   6484:   # Extract the first word of "otool", so it can be a program name with args.
                   6485: set dummy otool; ac_word=$2
1.1.1.2 ! misho    6486: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1       misho    6487: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    6488: if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
1.1       misho    6489:   $as_echo_n "(cached) " >&6
                   6490: else
                   6491:   if test -n "$ac_ct_OTOOL"; then
                   6492:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
                   6493: else
                   6494: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6495: for as_dir in $PATH
                   6496: do
                   6497:   IFS=$as_save_IFS
                   6498:   test -z "$as_dir" && as_dir=.
1.1.1.2 ! misho    6499:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1       misho    6500:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6501:     ac_cv_prog_ac_ct_OTOOL="otool"
1.1.1.2 ! misho    6502:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    6503:     break 2
                   6504:   fi
                   6505: done
1.1.1.2 ! misho    6506:   done
1.1       misho    6507: IFS=$as_save_IFS
                   6508: 
                   6509: fi
                   6510: fi
                   6511: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
                   6512: if test -n "$ac_ct_OTOOL"; then
1.1.1.2 ! misho    6513:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
1.1       misho    6514: $as_echo "$ac_ct_OTOOL" >&6; }
                   6515: else
1.1.1.2 ! misho    6516:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    6517: $as_echo "no" >&6; }
                   6518: fi
                   6519: 
                   6520:   if test "x$ac_ct_OTOOL" = x; then
                   6521:     OTOOL=":"
                   6522:   else
                   6523:     case $cross_compiling:$ac_tool_warned in
                   6524: yes:)
1.1.1.2 ! misho    6525: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1       misho    6526: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6527: ac_tool_warned=yes ;;
                   6528: esac
                   6529:     OTOOL=$ac_ct_OTOOL
                   6530:   fi
                   6531: else
                   6532:   OTOOL="$ac_cv_prog_OTOOL"
                   6533: fi
                   6534: 
                   6535:     if test -n "$ac_tool_prefix"; then
                   6536:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
                   6537: set dummy ${ac_tool_prefix}otool64; ac_word=$2
1.1.1.2 ! misho    6538: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1       misho    6539: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    6540: if ${ac_cv_prog_OTOOL64+:} false; then :
1.1       misho    6541:   $as_echo_n "(cached) " >&6
                   6542: else
                   6543:   if test -n "$OTOOL64"; then
                   6544:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
                   6545: else
                   6546: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6547: for as_dir in $PATH
                   6548: do
                   6549:   IFS=$as_save_IFS
                   6550:   test -z "$as_dir" && as_dir=.
1.1.1.2 ! misho    6551:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1       misho    6552:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6553:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
1.1.1.2 ! misho    6554:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    6555:     break 2
                   6556:   fi
                   6557: done
1.1.1.2 ! misho    6558:   done
1.1       misho    6559: IFS=$as_save_IFS
                   6560: 
                   6561: fi
                   6562: fi
                   6563: OTOOL64=$ac_cv_prog_OTOOL64
                   6564: if test -n "$OTOOL64"; then
1.1.1.2 ! misho    6565:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
1.1       misho    6566: $as_echo "$OTOOL64" >&6; }
                   6567: else
1.1.1.2 ! misho    6568:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    6569: $as_echo "no" >&6; }
                   6570: fi
                   6571: 
                   6572: 
                   6573: fi
                   6574: if test -z "$ac_cv_prog_OTOOL64"; then
                   6575:   ac_ct_OTOOL64=$OTOOL64
                   6576:   # Extract the first word of "otool64", so it can be a program name with args.
                   6577: set dummy otool64; ac_word=$2
1.1.1.2 ! misho    6578: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1       misho    6579: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    6580: if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
1.1       misho    6581:   $as_echo_n "(cached) " >&6
                   6582: else
                   6583:   if test -n "$ac_ct_OTOOL64"; then
                   6584:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
                   6585: else
                   6586: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6587: for as_dir in $PATH
                   6588: do
                   6589:   IFS=$as_save_IFS
                   6590:   test -z "$as_dir" && as_dir=.
1.1.1.2 ! misho    6591:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1       misho    6592:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6593:     ac_cv_prog_ac_ct_OTOOL64="otool64"
1.1.1.2 ! misho    6594:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    6595:     break 2
                   6596:   fi
                   6597: done
1.1.1.2 ! misho    6598:   done
1.1       misho    6599: IFS=$as_save_IFS
                   6600: 
                   6601: fi
                   6602: fi
                   6603: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
                   6604: if test -n "$ac_ct_OTOOL64"; then
1.1.1.2 ! misho    6605:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
1.1       misho    6606: $as_echo "$ac_ct_OTOOL64" >&6; }
                   6607: else
1.1.1.2 ! misho    6608:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    6609: $as_echo "no" >&6; }
                   6610: fi
                   6611: 
                   6612:   if test "x$ac_ct_OTOOL64" = x; then
                   6613:     OTOOL64=":"
                   6614:   else
                   6615:     case $cross_compiling:$ac_tool_warned in
                   6616: yes:)
1.1.1.2 ! misho    6617: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1       misho    6618: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6619: ac_tool_warned=yes ;;
                   6620: esac
                   6621:     OTOOL64=$ac_ct_OTOOL64
                   6622:   fi
                   6623: else
                   6624:   OTOOL64="$ac_cv_prog_OTOOL64"
                   6625: fi
                   6626: 
                   6627: 
                   6628: 
                   6629: 
                   6630: 
                   6631: 
                   6632: 
                   6633: 
                   6634: 
                   6635: 
                   6636: 
                   6637: 
                   6638: 
                   6639: 
                   6640: 
                   6641: 
                   6642: 
                   6643: 
                   6644: 
                   6645: 
                   6646: 
                   6647: 
                   6648: 
                   6649: 
                   6650: 
                   6651: 
                   6652: 
1.1.1.2 ! misho    6653:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
1.1       misho    6654: $as_echo_n "checking for -single_module linker flag... " >&6; }
1.1.1.2 ! misho    6655: if ${lt_cv_apple_cc_single_mod+:} false; then :
1.1       misho    6656:   $as_echo_n "(cached) " >&6
                   6657: else
                   6658:   lt_cv_apple_cc_single_mod=no
                   6659:       if test -z "${LT_MULTI_MODULE}"; then
                   6660:        # By default we will add the -single_module flag. You can override
                   6661:        # by either setting the environment variable LT_MULTI_MODULE
                   6662:        # non-empty at configure time, or by adding -multi_module to the
                   6663:        # link flags.
                   6664:        rm -rf libconftest.dylib*
                   6665:        echo "int foo(void){return 1;}" > conftest.c
                   6666:        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   6667: -dynamiclib -Wl,-single_module conftest.c" >&5
                   6668:        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   6669:          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
                   6670:         _lt_result=$?
                   6671:        if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
                   6672:          lt_cv_apple_cc_single_mod=yes
                   6673:        else
                   6674:          cat conftest.err >&5
                   6675:        fi
                   6676:        rm -rf libconftest.dylib*
                   6677:        rm -f conftest.*
                   6678:       fi
                   6679: fi
1.1.1.2 ! misho    6680: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
1.1       misho    6681: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
1.1.1.2 ! misho    6682:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
1.1       misho    6683: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
1.1.1.2 ! misho    6684: if ${lt_cv_ld_exported_symbols_list+:} false; then :
1.1       misho    6685:   $as_echo_n "(cached) " >&6
                   6686: else
                   6687:   lt_cv_ld_exported_symbols_list=no
                   6688:       save_LDFLAGS=$LDFLAGS
                   6689:       echo "_main" > conftest.sym
                   6690:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
1.1.1.2 ! misho    6691:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    6692: /* end confdefs.h.  */
                   6693: 
                   6694: int
                   6695: main ()
                   6696: {
                   6697: 
                   6698:   ;
                   6699:   return 0;
                   6700: }
                   6701: _ACEOF
1.1.1.2 ! misho    6702: if ac_fn_c_try_link "$LINENO"; then :
1.1       misho    6703:   lt_cv_ld_exported_symbols_list=yes
                   6704: else
1.1.1.2 ! misho    6705:   lt_cv_ld_exported_symbols_list=no
1.1       misho    6706: fi
1.1.1.2 ! misho    6707: rm -f core conftest.err conftest.$ac_objext \
        !          6708:     conftest$ac_exeext conftest.$ac_ext
1.1       misho    6709:        LDFLAGS="$save_LDFLAGS"
                   6710: 
                   6711: fi
1.1.1.2 ! misho    6712: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
        !          6713: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
        !          6714:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
        !          6715: $as_echo_n "checking for -force_load linker flag... " >&6; }
        !          6716: if ${lt_cv_ld_force_load+:} false; then :
        !          6717:   $as_echo_n "(cached) " >&6
        !          6718: else
        !          6719:   lt_cv_ld_force_load=no
        !          6720:       cat > conftest.c << _LT_EOF
        !          6721: int forced_loaded() { return 2;}
        !          6722: _LT_EOF
        !          6723:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
        !          6724:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
        !          6725:       echo "$AR cru libconftest.a conftest.o" >&5
        !          6726:       $AR cru libconftest.a conftest.o 2>&5
        !          6727:       echo "$RANLIB libconftest.a" >&5
        !          6728:       $RANLIB libconftest.a 2>&5
        !          6729:       cat > conftest.c << _LT_EOF
        !          6730: int main() { return 0;}
        !          6731: _LT_EOF
        !          6732:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
        !          6733:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
        !          6734:       _lt_result=$?
        !          6735:       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
        !          6736:        lt_cv_ld_force_load=yes
        !          6737:       else
        !          6738:        cat conftest.err >&5
        !          6739:       fi
        !          6740:         rm -f conftest.err libconftest.a conftest conftest.c
        !          6741:         rm -rf conftest.dSYM
        !          6742: 
        !          6743: fi
        !          6744: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
        !          6745: $as_echo "$lt_cv_ld_force_load" >&6; }
1.1       misho    6746:     case $host_os in
                   6747:     rhapsody* | darwin1.[012])
                   6748:       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
                   6749:     darwin1.*)
                   6750:       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   6751:     darwin*) # darwin 5.x on
                   6752:       # if running on 10.5 or later, the deployment target defaults
                   6753:       # to the OS version, if on x86, and 10.4, the deployment
                   6754:       # target defaults to 10.4. Don't you love it?
                   6755:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
                   6756:        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
                   6757:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   6758:        10.[012]*)
                   6759:          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   6760:        10.*)
                   6761:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   6762:       esac
                   6763:     ;;
                   6764:   esac
                   6765:     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
                   6766:       _lt_dar_single_mod='$single_module'
                   6767:     fi
                   6768:     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
                   6769:       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
                   6770:     else
                   6771:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
                   6772:     fi
1.1.1.2 ! misho    6773:     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
1.1       misho    6774:       _lt_dsymutil='~$DSYMUTIL $lib || :'
                   6775:     else
                   6776:       _lt_dsymutil=
                   6777:     fi
                   6778:     ;;
                   6779:   esac
                   6780: 
                   6781: for ac_header in dlfcn.h
1.1.1.2 ! misho    6782: do :
        !          6783:   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
        !          6784: "
        !          6785: if test "x$ac_cv_header_dlfcn_h" = xyes; then :
1.1       misho    6786:   cat >>confdefs.h <<_ACEOF
1.1.1.2 ! misho    6787: #define HAVE_DLFCN_H 1
1.1       misho    6788: _ACEOF
                   6789: 
                   6790: fi
                   6791: 
                   6792: done
                   6793: 
                   6794: 
                   6795: 
1.1.1.2 ! misho    6796: 
        !          6797: 
1.1       misho    6798: # Set options
                   6799: enable_win32_dll=yes
                   6800: 
                   6801: case $host in
1.1.1.2 ! misho    6802: *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
1.1       misho    6803:   if test -n "$ac_tool_prefix"; then
                   6804:   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
                   6805: set dummy ${ac_tool_prefix}as; ac_word=$2
1.1.1.2 ! misho    6806: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1       misho    6807: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    6808: if ${ac_cv_prog_AS+:} false; then :
1.1       misho    6809:   $as_echo_n "(cached) " >&6
                   6810: else
                   6811:   if test -n "$AS"; then
                   6812:   ac_cv_prog_AS="$AS" # Let the user override the test.
                   6813: else
                   6814: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6815: for as_dir in $PATH
                   6816: do
                   6817:   IFS=$as_save_IFS
                   6818:   test -z "$as_dir" && as_dir=.
1.1.1.2 ! misho    6819:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1       misho    6820:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6821:     ac_cv_prog_AS="${ac_tool_prefix}as"
1.1.1.2 ! misho    6822:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    6823:     break 2
                   6824:   fi
                   6825: done
1.1.1.2 ! misho    6826:   done
1.1       misho    6827: IFS=$as_save_IFS
                   6828: 
                   6829: fi
                   6830: fi
                   6831: AS=$ac_cv_prog_AS
                   6832: if test -n "$AS"; then
1.1.1.2 ! misho    6833:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
1.1       misho    6834: $as_echo "$AS" >&6; }
                   6835: else
1.1.1.2 ! misho    6836:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    6837: $as_echo "no" >&6; }
                   6838: fi
                   6839: 
                   6840: 
                   6841: fi
                   6842: if test -z "$ac_cv_prog_AS"; then
                   6843:   ac_ct_AS=$AS
                   6844:   # Extract the first word of "as", so it can be a program name with args.
                   6845: set dummy as; ac_word=$2
1.1.1.2 ! misho    6846: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1       misho    6847: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    6848: if ${ac_cv_prog_ac_ct_AS+:} false; then :
1.1       misho    6849:   $as_echo_n "(cached) " >&6
                   6850: else
                   6851:   if test -n "$ac_ct_AS"; then
                   6852:   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
                   6853: else
                   6854: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6855: for as_dir in $PATH
                   6856: do
                   6857:   IFS=$as_save_IFS
                   6858:   test -z "$as_dir" && as_dir=.
1.1.1.2 ! misho    6859:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1       misho    6860:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6861:     ac_cv_prog_ac_ct_AS="as"
1.1.1.2 ! misho    6862:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    6863:     break 2
                   6864:   fi
                   6865: done
1.1.1.2 ! misho    6866:   done
1.1       misho    6867: IFS=$as_save_IFS
                   6868: 
                   6869: fi
                   6870: fi
                   6871: ac_ct_AS=$ac_cv_prog_ac_ct_AS
                   6872: if test -n "$ac_ct_AS"; then
1.1.1.2 ! misho    6873:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
1.1       misho    6874: $as_echo "$ac_ct_AS" >&6; }
                   6875: else
1.1.1.2 ! misho    6876:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    6877: $as_echo "no" >&6; }
                   6878: fi
                   6879: 
                   6880:   if test "x$ac_ct_AS" = x; then
                   6881:     AS="false"
                   6882:   else
                   6883:     case $cross_compiling:$ac_tool_warned in
                   6884: yes:)
1.1.1.2 ! misho    6885: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1       misho    6886: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6887: ac_tool_warned=yes ;;
                   6888: esac
                   6889:     AS=$ac_ct_AS
                   6890:   fi
                   6891: else
                   6892:   AS="$ac_cv_prog_AS"
                   6893: fi
                   6894: 
                   6895:   if test -n "$ac_tool_prefix"; then
                   6896:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   6897: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1.1.1.2 ! misho    6898: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1       misho    6899: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    6900: if ${ac_cv_prog_DLLTOOL+:} false; then :
1.1       misho    6901:   $as_echo_n "(cached) " >&6
                   6902: else
                   6903:   if test -n "$DLLTOOL"; then
                   6904:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   6905: else
                   6906: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6907: for as_dir in $PATH
                   6908: do
                   6909:   IFS=$as_save_IFS
                   6910:   test -z "$as_dir" && as_dir=.
1.1.1.2 ! misho    6911:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1       misho    6912:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6913:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
1.1.1.2 ! misho    6914:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    6915:     break 2
                   6916:   fi
                   6917: done
1.1.1.2 ! misho    6918:   done
1.1       misho    6919: IFS=$as_save_IFS
                   6920: 
                   6921: fi
                   6922: fi
                   6923: DLLTOOL=$ac_cv_prog_DLLTOOL
                   6924: if test -n "$DLLTOOL"; then
1.1.1.2 ! misho    6925:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
1.1       misho    6926: $as_echo "$DLLTOOL" >&6; }
                   6927: else
1.1.1.2 ! misho    6928:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    6929: $as_echo "no" >&6; }
                   6930: fi
                   6931: 
                   6932: 
                   6933: fi
                   6934: if test -z "$ac_cv_prog_DLLTOOL"; then
                   6935:   ac_ct_DLLTOOL=$DLLTOOL
                   6936:   # Extract the first word of "dlltool", so it can be a program name with args.
                   6937: set dummy dlltool; ac_word=$2
1.1.1.2 ! misho    6938: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1       misho    6939: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    6940: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
1.1       misho    6941:   $as_echo_n "(cached) " >&6
                   6942: else
                   6943:   if test -n "$ac_ct_DLLTOOL"; then
                   6944:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   6945: else
                   6946: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6947: for as_dir in $PATH
                   6948: do
                   6949:   IFS=$as_save_IFS
                   6950:   test -z "$as_dir" && as_dir=.
1.1.1.2 ! misho    6951:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1       misho    6952:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6953:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
1.1.1.2 ! misho    6954:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    6955:     break 2
                   6956:   fi
                   6957: done
1.1.1.2 ! misho    6958:   done
1.1       misho    6959: IFS=$as_save_IFS
                   6960: 
                   6961: fi
                   6962: fi
                   6963: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   6964: if test -n "$ac_ct_DLLTOOL"; then
1.1.1.2 ! misho    6965:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
1.1       misho    6966: $as_echo "$ac_ct_DLLTOOL" >&6; }
                   6967: else
1.1.1.2 ! misho    6968:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    6969: $as_echo "no" >&6; }
                   6970: fi
                   6971: 
                   6972:   if test "x$ac_ct_DLLTOOL" = x; then
                   6973:     DLLTOOL="false"
                   6974:   else
                   6975:     case $cross_compiling:$ac_tool_warned in
                   6976: yes:)
1.1.1.2 ! misho    6977: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1       misho    6978: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6979: ac_tool_warned=yes ;;
                   6980: esac
                   6981:     DLLTOOL=$ac_ct_DLLTOOL
                   6982:   fi
                   6983: else
                   6984:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   6985: fi
                   6986: 
                   6987:   if test -n "$ac_tool_prefix"; then
                   6988:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   6989: set dummy ${ac_tool_prefix}objdump; ac_word=$2
1.1.1.2 ! misho    6990: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1       misho    6991: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    6992: if ${ac_cv_prog_OBJDUMP+:} false; then :
1.1       misho    6993:   $as_echo_n "(cached) " >&6
                   6994: else
                   6995:   if test -n "$OBJDUMP"; then
                   6996:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   6997: else
                   6998: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6999: for as_dir in $PATH
                   7000: do
                   7001:   IFS=$as_save_IFS
                   7002:   test -z "$as_dir" && as_dir=.
1.1.1.2 ! misho    7003:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1       misho    7004:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   7005:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1.1.1.2 ! misho    7006:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    7007:     break 2
                   7008:   fi
                   7009: done
1.1.1.2 ! misho    7010:   done
1.1       misho    7011: IFS=$as_save_IFS
                   7012: 
                   7013: fi
                   7014: fi
                   7015: OBJDUMP=$ac_cv_prog_OBJDUMP
                   7016: if test -n "$OBJDUMP"; then
1.1.1.2 ! misho    7017:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
1.1       misho    7018: $as_echo "$OBJDUMP" >&6; }
                   7019: else
1.1.1.2 ! misho    7020:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    7021: $as_echo "no" >&6; }
                   7022: fi
                   7023: 
                   7024: 
                   7025: fi
                   7026: if test -z "$ac_cv_prog_OBJDUMP"; then
                   7027:   ac_ct_OBJDUMP=$OBJDUMP
                   7028:   # Extract the first word of "objdump", so it can be a program name with args.
                   7029: set dummy objdump; ac_word=$2
1.1.1.2 ! misho    7030: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1.1       misho    7031: $as_echo_n "checking for $ac_word... " >&6; }
1.1.1.2 ! misho    7032: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
1.1       misho    7033:   $as_echo_n "(cached) " >&6
                   7034: else
                   7035:   if test -n "$ac_ct_OBJDUMP"; then
                   7036:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   7037: else
                   7038: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7039: for as_dir in $PATH
                   7040: do
                   7041:   IFS=$as_save_IFS
                   7042:   test -z "$as_dir" && as_dir=.
1.1.1.2 ! misho    7043:     for ac_exec_ext in '' $ac_executable_extensions; do
1.1       misho    7044:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   7045:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
1.1.1.2 ! misho    7046:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misho    7047:     break 2
                   7048:   fi
                   7049: done
1.1.1.2 ! misho    7050:   done
1.1       misho    7051: IFS=$as_save_IFS
                   7052: 
                   7053: fi
                   7054: fi
                   7055: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   7056: if test -n "$ac_ct_OBJDUMP"; then
1.1.1.2 ! misho    7057:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
1.1       misho    7058: $as_echo "$ac_ct_OBJDUMP" >&6; }
                   7059: else
1.1.1.2 ! misho    7060:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    7061: $as_echo "no" >&6; }
                   7062: fi
                   7063: 
                   7064:   if test "x$ac_ct_OBJDUMP" = x; then
                   7065:     OBJDUMP="false"
                   7066:   else
                   7067:     case $cross_compiling:$ac_tool_warned in
                   7068: yes:)
1.1.1.2 ! misho    7069: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1.1       misho    7070: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7071: ac_tool_warned=yes ;;
                   7072: esac
                   7073:     OBJDUMP=$ac_ct_OBJDUMP
                   7074:   fi
                   7075: else
                   7076:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   7077: fi
                   7078: 
                   7079:   ;;
                   7080: esac
                   7081: 
                   7082: test -z "$AS" && AS=as
                   7083: 
                   7084: 
                   7085: 
                   7086: 
                   7087: 
                   7088: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   7089: 
                   7090: 
                   7091: 
                   7092: 
                   7093: 
                   7094: test -z "$OBJDUMP" && OBJDUMP=objdump
                   7095: 
                   7096: 
                   7097: 
                   7098: 
                   7099: 
                   7100: 
                   7101: 
                   7102:         enable_dlopen=no
                   7103: 
                   7104: 
                   7105: 
                   7106:             # Check whether --enable-shared was given.
1.1.1.2 ! misho    7107: if test "${enable_shared+set}" = set; then :
1.1       misho    7108:   enableval=$enable_shared; p=${PACKAGE-default}
                   7109:     case $enableval in
                   7110:     yes) enable_shared=yes ;;
                   7111:     no) enable_shared=no ;;
                   7112:     *)
                   7113:       enable_shared=no
                   7114:       # Look at the argument we got.  We use all the common list separators.
                   7115:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   7116:       for pkg in $enableval; do
                   7117:        IFS="$lt_save_ifs"
                   7118:        if test "X$pkg" = "X$p"; then
                   7119:          enable_shared=yes
                   7120:        fi
                   7121:       done
                   7122:       IFS="$lt_save_ifs"
                   7123:       ;;
                   7124:     esac
                   7125: else
                   7126:   enable_shared=yes
                   7127: fi
                   7128: 
                   7129: 
                   7130: 
                   7131: 
                   7132: 
                   7133: 
                   7134: 
                   7135: 
                   7136: 
                   7137:   # Check whether --enable-static was given.
1.1.1.2 ! misho    7138: if test "${enable_static+set}" = set; then :
1.1       misho    7139:   enableval=$enable_static; p=${PACKAGE-default}
                   7140:     case $enableval in
                   7141:     yes) enable_static=yes ;;
                   7142:     no) enable_static=no ;;
                   7143:     *)
                   7144:      enable_static=no
                   7145:       # Look at the argument we got.  We use all the common list separators.
                   7146:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   7147:       for pkg in $enableval; do
                   7148:        IFS="$lt_save_ifs"
                   7149:        if test "X$pkg" = "X$p"; then
                   7150:          enable_static=yes
                   7151:        fi
                   7152:       done
                   7153:       IFS="$lt_save_ifs"
                   7154:       ;;
                   7155:     esac
                   7156: else
                   7157:   enable_static=yes
                   7158: fi
                   7159: 
                   7160: 
                   7161: 
                   7162: 
                   7163: 
                   7164: 
                   7165: 
                   7166: 
                   7167: 
                   7168: 
                   7169: # Check whether --with-pic was given.
1.1.1.2 ! misho    7170: if test "${with_pic+set}" = set; then :
1.1       misho    7171:   withval=$with_pic; pic_mode="$withval"
                   7172: else
                   7173:   pic_mode=default
                   7174: fi
                   7175: 
                   7176: 
                   7177: test -z "$pic_mode" && pic_mode=default
                   7178: 
                   7179: 
                   7180: 
                   7181: 
                   7182: 
                   7183: 
                   7184: 
                   7185:   # Check whether --enable-fast-install was given.
1.1.1.2 ! misho    7186: if test "${enable_fast_install+set}" = set; then :
1.1       misho    7187:   enableval=$enable_fast_install; p=${PACKAGE-default}
                   7188:     case $enableval in
                   7189:     yes) enable_fast_install=yes ;;
                   7190:     no) enable_fast_install=no ;;
                   7191:     *)
                   7192:       enable_fast_install=no
                   7193:       # Look at the argument we got.  We use all the common list separators.
                   7194:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   7195:       for pkg in $enableval; do
                   7196:        IFS="$lt_save_ifs"
                   7197:        if test "X$pkg" = "X$p"; then
                   7198:          enable_fast_install=yes
                   7199:        fi
                   7200:       done
                   7201:       IFS="$lt_save_ifs"
                   7202:       ;;
                   7203:     esac
                   7204: else
                   7205:   enable_fast_install=yes
                   7206: fi
                   7207: 
                   7208: 
                   7209: 
                   7210: 
                   7211: 
                   7212: 
                   7213: 
                   7214: 
                   7215: 
                   7216: 
                   7217: 
                   7218: # This can be used to rebuild libtool when needed
                   7219: LIBTOOL_DEPS="$ltmain"
                   7220: 
                   7221: # Always use our own libtool.
                   7222: LIBTOOL="${CONFIG_SHELL-$SHELL} "'$(top_builddir)/libtool'
                   7223: 
                   7224: 
                   7225: 
                   7226: 
                   7227: 
                   7228: 
                   7229: 
                   7230: 
                   7231: 
                   7232: 
                   7233: 
                   7234: 
                   7235: 
                   7236: 
                   7237: 
                   7238: 
                   7239: 
                   7240: 
                   7241: 
                   7242: 
                   7243: 
                   7244: 
                   7245: 
                   7246: 
                   7247: 
1.1.1.2 ! misho    7248: 
1.1       misho    7249: test -z "$LN_S" && LN_S="ln -s"
                   7250: 
                   7251: 
                   7252: 
                   7253: 
                   7254: 
                   7255: 
                   7256: 
                   7257: 
                   7258: 
                   7259: 
                   7260: 
                   7261: 
                   7262: 
                   7263: 
                   7264: if test -n "${ZSH_VERSION+set}" ; then
                   7265:    setopt NO_GLOB_SUBST
                   7266: fi
                   7267: 
1.1.1.2 ! misho    7268: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
1.1       misho    7269: $as_echo_n "checking for objdir... " >&6; }
1.1.1.2 ! misho    7270: if ${lt_cv_objdir+:} false; then :
1.1       misho    7271:   $as_echo_n "(cached) " >&6
                   7272: else
                   7273:   rm -f .libs 2>/dev/null
                   7274: mkdir .libs 2>/dev/null
                   7275: if test -d .libs; then
                   7276:   lt_cv_objdir=.libs
                   7277: else
                   7278:   # MS-DOS does not allow filenames that begin with a dot.
                   7279:   lt_cv_objdir=_libs
                   7280: fi
                   7281: rmdir .libs 2>/dev/null
                   7282: fi
1.1.1.2 ! misho    7283: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
1.1       misho    7284: $as_echo "$lt_cv_objdir" >&6; }
                   7285: objdir=$lt_cv_objdir
                   7286: 
                   7287: 
                   7288: 
                   7289: 
                   7290: 
                   7291: cat >>confdefs.h <<_ACEOF
                   7292: #define LT_OBJDIR "$lt_cv_objdir/"
                   7293: _ACEOF
                   7294: 
                   7295: 
                   7296: 
                   7297: 
                   7298: case $host_os in
                   7299: aix3*)
                   7300:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   7301:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   7302:   # vanish in a puff of smoke.
                   7303:   if test "X${COLLECT_NAMES+set}" != Xset; then
                   7304:     COLLECT_NAMES=
                   7305:     export COLLECT_NAMES
                   7306:   fi
                   7307:   ;;
                   7308: esac
                   7309: 
                   7310: # Global variables:
                   7311: ofile=libtool
                   7312: can_build_shared=yes
                   7313: 
                   7314: # All known linkers require a `.a' archive for static linking (except MSVC,
                   7315: # which needs '.lib').
                   7316: libext=a
                   7317: 
                   7318: with_gnu_ld="$lt_cv_prog_gnu_ld"
                   7319: 
                   7320: old_CC="$CC"
                   7321: old_CFLAGS="$CFLAGS"
                   7322: 
                   7323: # Set sane defaults for various variables
                   7324: test -z "$CC" && CC=cc
                   7325: test -z "$LTCC" && LTCC=$CC
                   7326: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
                   7327: test -z "$LD" && LD=ld
                   7328: test -z "$ac_objext" && ac_objext=o
                   7329: 
                   7330: for cc_temp in $compiler""; do
                   7331:   case $cc_temp in
                   7332:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   7333:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   7334:     \-*) ;;
                   7335:     *) break;;
                   7336:   esac
                   7337: done
1.1.1.2 ! misho    7338: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
1.1       misho    7339: 
                   7340: 
                   7341: # Only perform the check for file, if the check method requires it
                   7342: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   7343: case $deplibs_check_method in
                   7344: file_magic*)
                   7345:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
1.1.1.2 ! misho    7346:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
1.1       misho    7347: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
1.1.1.2 ! misho    7348: if ${lt_cv_path_MAGIC_CMD+:} false; then :
1.1       misho    7349:   $as_echo_n "(cached) " >&6
                   7350: else
                   7351:   case $MAGIC_CMD in
                   7352: [\\/*] |  ?:[\\/]*)
                   7353:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   7354:   ;;
                   7355: *)
                   7356:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   7357:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   7358:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   7359:   for ac_dir in $ac_dummy; do
                   7360:     IFS="$lt_save_ifs"
                   7361:     test -z "$ac_dir" && ac_dir=.
                   7362:     if test -f $ac_dir/${ac_tool_prefix}file; then
                   7363:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
                   7364:       if test -n "$file_magic_test_file"; then
                   7365:        case $deplibs_check_method in
                   7366:        "file_magic "*)
                   7367:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   7368:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   7369:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   7370:            $EGREP "$file_magic_regex" > /dev/null; then
                   7371:            :
                   7372:          else
                   7373:            cat <<_LT_EOF 1>&2
                   7374: 
                   7375: *** Warning: the command libtool uses to detect shared libraries,
                   7376: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   7377: *** The result is that libtool may fail to recognize shared libraries
                   7378: *** as such.  This will affect the creation of libtool libraries that
                   7379: *** depend on shared libraries, but programs linked with such libtool
                   7380: *** libraries will work regardless of this problem.  Nevertheless, you
                   7381: *** may want to report the problem to your system manager and/or to
                   7382: *** bug-libtool@gnu.org
                   7383: 
                   7384: _LT_EOF
                   7385:          fi ;;
                   7386:        esac
                   7387:       fi
                   7388:       break
                   7389:     fi
                   7390:   done
                   7391:   IFS="$lt_save_ifs"
                   7392:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   7393:   ;;
                   7394: esac
                   7395: fi
                   7396: 
                   7397: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   7398: if test -n "$MAGIC_CMD"; then
1.1.1.2 ! misho    7399:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
1.1       misho    7400: $as_echo "$MAGIC_CMD" >&6; }
                   7401: else
1.1.1.2 ! misho    7402:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    7403: $as_echo "no" >&6; }
                   7404: fi
                   7405: 
                   7406: 
                   7407: 
                   7408: 
                   7409: 
                   7410: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   7411:   if test -n "$ac_tool_prefix"; then
1.1.1.2 ! misho    7412:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
1.1       misho    7413: $as_echo_n "checking for file... " >&6; }
1.1.1.2 ! misho    7414: if ${lt_cv_path_MAGIC_CMD+:} false; then :
1.1       misho    7415:   $as_echo_n "(cached) " >&6
                   7416: else
                   7417:   case $MAGIC_CMD in
                   7418: [\\/*] |  ?:[\\/]*)
                   7419:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   7420:   ;;
                   7421: *)
                   7422:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   7423:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   7424:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   7425:   for ac_dir in $ac_dummy; do
                   7426:     IFS="$lt_save_ifs"
                   7427:     test -z "$ac_dir" && ac_dir=.
                   7428:     if test -f $ac_dir/file; then
                   7429:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
                   7430:       if test -n "$file_magic_test_file"; then
                   7431:        case $deplibs_check_method in
                   7432:        "file_magic "*)
                   7433:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   7434:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   7435:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   7436:            $EGREP "$file_magic_regex" > /dev/null; then
                   7437:            :
                   7438:          else
                   7439:            cat <<_LT_EOF 1>&2
                   7440: 
                   7441: *** Warning: the command libtool uses to detect shared libraries,
                   7442: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   7443: *** The result is that libtool may fail to recognize shared libraries
                   7444: *** as such.  This will affect the creation of libtool libraries that
                   7445: *** depend on shared libraries, but programs linked with such libtool
                   7446: *** libraries will work regardless of this problem.  Nevertheless, you
                   7447: *** may want to report the problem to your system manager and/or to
                   7448: *** bug-libtool@gnu.org
                   7449: 
                   7450: _LT_EOF
                   7451:          fi ;;
                   7452:        esac
                   7453:       fi
                   7454:       break
                   7455:     fi
                   7456:   done
                   7457:   IFS="$lt_save_ifs"
                   7458:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   7459:   ;;
                   7460: esac
                   7461: fi
                   7462: 
                   7463: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   7464: if test -n "$MAGIC_CMD"; then
1.1.1.2 ! misho    7465:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
1.1       misho    7466: $as_echo "$MAGIC_CMD" >&6; }
                   7467: else
1.1.1.2 ! misho    7468:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    7469: $as_echo "no" >&6; }
                   7470: fi
                   7471: 
                   7472: 
                   7473:   else
                   7474:     MAGIC_CMD=:
                   7475:   fi
                   7476: fi
                   7477: 
                   7478:   fi
                   7479:   ;;
                   7480: esac
                   7481: 
                   7482: # Use C for the default configuration in the libtool script
                   7483: 
                   7484: lt_save_CC="$CC"
                   7485: ac_ext=c
                   7486: ac_cpp='$CPP $CPPFLAGS'
                   7487: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7488: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7489: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7490: 
                   7491: 
                   7492: # Source file extension for C test sources.
                   7493: ac_ext=c
                   7494: 
                   7495: # Object file extension for compiled C test sources.
                   7496: objext=o
                   7497: objext=$objext
                   7498: 
                   7499: # Code to be used in simple compile tests
                   7500: lt_simple_compile_test_code="int some_variable = 0;"
                   7501: 
                   7502: # Code to be used in simple link tests
                   7503: lt_simple_link_test_code='int main(){return(0);}'
                   7504: 
                   7505: 
                   7506: 
                   7507: 
                   7508: 
                   7509: 
                   7510: 
                   7511: # If no C compiler was specified, use CC.
                   7512: LTCC=${LTCC-"$CC"}
                   7513: 
                   7514: # If no C compiler flags were specified, use CFLAGS.
                   7515: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   7516: 
                   7517: # Allow CC to be a program name with arguments.
                   7518: compiler=$CC
                   7519: 
                   7520: # Save the default compiler, since it gets overwritten when the other
                   7521: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
                   7522: compiler_DEFAULT=$CC
                   7523: 
                   7524: # save warnings/boilerplate of simple test code
                   7525: ac_outfile=conftest.$ac_objext
                   7526: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   7527: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   7528: _lt_compiler_boilerplate=`cat conftest.err`
                   7529: $RM conftest*
                   7530: 
                   7531: ac_outfile=conftest.$ac_objext
                   7532: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   7533: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   7534: _lt_linker_boilerplate=`cat conftest.err`
                   7535: $RM -r conftest*
                   7536: 
                   7537: 
                   7538: ## CAVEAT EMPTOR:
                   7539: ## There is no encapsulation within the following macros, do not change
                   7540: ## the running order or otherwise move them around unless you know exactly
                   7541: ## what you are doing...
                   7542: if test -n "$compiler"; then
                   7543: 
                   7544: lt_prog_compiler_no_builtin_flag=
                   7545: 
                   7546: if test "$GCC" = yes; then
1.1.1.2 ! misho    7547:   case $cc_basename in
        !          7548:   nvcc*)
        !          7549:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
        !          7550:   *)
        !          7551:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
        !          7552:   esac
1.1       misho    7553: 
1.1.1.2 ! misho    7554:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
1.1       misho    7555: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
1.1.1.2 ! misho    7556: if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
1.1       misho    7557:   $as_echo_n "(cached) " >&6
                   7558: else
                   7559:   lt_cv_prog_compiler_rtti_exceptions=no
                   7560:    ac_outfile=conftest.$ac_objext
                   7561:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   7562:    lt_compiler_flag="-fno-rtti -fno-exceptions"
                   7563:    # Insert the option either (1) after the last *FLAGS variable, or
                   7564:    # (2) before a word containing "conftest.", or (3) at the end.
                   7565:    # Note that $ac_compile itself does not contain backslashes and begins
                   7566:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   7567:    # The option is referenced via a variable to avoid confusing sed.
                   7568:    lt_compile=`echo "$ac_compile" | $SED \
                   7569:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   7570:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   7571:    -e 's:$: $lt_compiler_flag:'`
1.1.1.2 ! misho    7572:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
1.1       misho    7573:    (eval "$lt_compile" 2>conftest.err)
                   7574:    ac_status=$?
                   7575:    cat conftest.err >&5
1.1.1.2 ! misho    7576:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1       misho    7577:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   7578:      # The compiler can only warn and ignore the option if not recognized
                   7579:      # So say no if there are warnings other than the usual output.
1.1.1.2 ! misho    7580:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
1.1       misho    7581:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   7582:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   7583:        lt_cv_prog_compiler_rtti_exceptions=yes
                   7584:      fi
                   7585:    fi
                   7586:    $RM conftest*
                   7587: 
                   7588: fi
1.1.1.2 ! misho    7589: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
1.1       misho    7590: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
                   7591: 
                   7592: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
                   7593:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
                   7594: else
                   7595:     :
                   7596: fi
                   7597: 
                   7598: fi
                   7599: 
                   7600: 
                   7601: 
                   7602: 
                   7603: 
                   7604: 
                   7605:   lt_prog_compiler_wl=
                   7606: lt_prog_compiler_pic=
                   7607: lt_prog_compiler_static=
                   7608: 
                   7609: 
                   7610:   if test "$GCC" = yes; then
                   7611:     lt_prog_compiler_wl='-Wl,'
                   7612:     lt_prog_compiler_static='-static'
                   7613: 
                   7614:     case $host_os in
                   7615:       aix*)
                   7616:       # All AIX code is PIC.
                   7617:       if test "$host_cpu" = ia64; then
                   7618:        # AIX 5 now supports IA64 processor
                   7619:        lt_prog_compiler_static='-Bstatic'
                   7620:       fi
                   7621:       ;;
                   7622: 
                   7623:     amigaos*)
                   7624:       case $host_cpu in
                   7625:       powerpc)
                   7626:             # see comment about AmigaOS4 .so support
                   7627:             lt_prog_compiler_pic='-fPIC'
                   7628:         ;;
                   7629:       m68k)
                   7630:             # FIXME: we need at least 68020 code to build shared libraries, but
                   7631:             # adding the `-m68020' flag to GCC prevents building anything better,
                   7632:             # like `-m68040'.
                   7633:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
                   7634:         ;;
                   7635:       esac
                   7636:       ;;
                   7637: 
                   7638:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   7639:       # PIC is the default for these OSes.
                   7640:       ;;
                   7641: 
                   7642:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   7643:       # This hack is so that the source file can tell whether it is being
                   7644:       # built for inclusion in a dll (and should export symbols for example).
                   7645:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   7646:       # (--disable-auto-import) libraries
                   7647:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   7648:       ;;
                   7649: 
                   7650:     darwin* | rhapsody*)
                   7651:       # PIC is the default on this platform
                   7652:       # Common symbols not allowed in MH_DYLIB files
                   7653:       lt_prog_compiler_pic='-fno-common'
                   7654:       ;;
                   7655: 
1.1.1.2 ! misho    7656:     haiku*)
        !          7657:       # PIC is the default for Haiku.
        !          7658:       # The "-static" flag exists, but is broken.
        !          7659:       lt_prog_compiler_static=
        !          7660:       ;;
        !          7661: 
1.1       misho    7662:     hpux*)
                   7663:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   7664:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   7665:       # sets the default TLS model and affects inlining.
                   7666:       case $host_cpu in
                   7667:       hppa*64*)
                   7668:        # +Z the default
                   7669:        ;;
                   7670:       *)
                   7671:        lt_prog_compiler_pic='-fPIC'
                   7672:        ;;
                   7673:       esac
                   7674:       ;;
                   7675: 
                   7676:     interix[3-9]*)
                   7677:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   7678:       # Instead, we relocate shared libraries at runtime.
                   7679:       ;;
                   7680: 
                   7681:     msdosdjgpp*)
                   7682:       # Just because we use GCC doesn't mean we suddenly get shared libraries
                   7683:       # on systems that don't support them.
                   7684:       lt_prog_compiler_can_build_shared=no
                   7685:       enable_shared=no
                   7686:       ;;
                   7687: 
                   7688:     *nto* | *qnx*)
                   7689:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   7690:       # it will coredump.
                   7691:       lt_prog_compiler_pic='-fPIC -shared'
                   7692:       ;;
                   7693: 
                   7694:     sysv4*MP*)
                   7695:       if test -d /usr/nec; then
                   7696:        lt_prog_compiler_pic=-Kconform_pic
                   7697:       fi
                   7698:       ;;
                   7699: 
                   7700:     *)
                   7701:       lt_prog_compiler_pic='-fPIC'
                   7702:       ;;
                   7703:     esac
1.1.1.2 ! misho    7704: 
        !          7705:     case $cc_basename in
        !          7706:     nvcc*) # Cuda Compiler Driver 2.2
        !          7707:       lt_prog_compiler_wl='-Xlinker '
        !          7708:       lt_prog_compiler_pic='-Xcompiler -fPIC'
        !          7709:       ;;
        !          7710:     esac
1.1       misho    7711:   else
                   7712:     # PORTME Check for flag to pass linker flags through the system compiler.
                   7713:     case $host_os in
                   7714:     aix*)
                   7715:       lt_prog_compiler_wl='-Wl,'
                   7716:       if test "$host_cpu" = ia64; then
                   7717:        # AIX 5 now supports IA64 processor
                   7718:        lt_prog_compiler_static='-Bstatic'
                   7719:       else
                   7720:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
                   7721:       fi
                   7722:       ;;
                   7723: 
                   7724:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   7725:       # This hack is so that the source file can tell whether it is being
                   7726:       # built for inclusion in a dll (and should export symbols for example).
                   7727:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   7728:       ;;
                   7729: 
                   7730:     hpux9* | hpux10* | hpux11*)
                   7731:       lt_prog_compiler_wl='-Wl,'
                   7732:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
                   7733:       # not for PA HP-UX.
                   7734:       case $host_cpu in
                   7735:       hppa*64*|ia64*)
                   7736:        # +Z the default
                   7737:        ;;
                   7738:       *)
                   7739:        lt_prog_compiler_pic='+Z'
                   7740:        ;;
                   7741:       esac
                   7742:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
                   7743:       lt_prog_compiler_static='${wl}-a ${wl}archive'
                   7744:       ;;
                   7745: 
                   7746:     irix5* | irix6* | nonstopux*)
                   7747:       lt_prog_compiler_wl='-Wl,'
                   7748:       # PIC (with -KPIC) is the default.
                   7749:       lt_prog_compiler_static='-non_shared'
                   7750:       ;;
                   7751: 
1.1.1.2 ! misho    7752:     linux* | k*bsd*-gnu | kopensolaris*-gnu)
1.1       misho    7753:       case $cc_basename in
                   7754:       # old Intel for x86_64 which still supported -KPIC.
                   7755:       ecc*)
                   7756:        lt_prog_compiler_wl='-Wl,'
                   7757:        lt_prog_compiler_pic='-KPIC'
                   7758:        lt_prog_compiler_static='-static'
                   7759:         ;;
                   7760:       # icc used to be incompatible with GCC.
                   7761:       # ICC 10 doesn't accept -KPIC any more.
                   7762:       icc* | ifort*)
                   7763:        lt_prog_compiler_wl='-Wl,'
                   7764:        lt_prog_compiler_pic='-fPIC'
                   7765:        lt_prog_compiler_static='-static'
                   7766:         ;;
                   7767:       # Lahey Fortran 8.1.
                   7768:       lf95*)
                   7769:        lt_prog_compiler_wl='-Wl,'
                   7770:        lt_prog_compiler_pic='--shared'
                   7771:        lt_prog_compiler_static='--static'
                   7772:        ;;
1.1.1.2 ! misho    7773:       nagfor*)
        !          7774:        # NAG Fortran compiler
        !          7775:        lt_prog_compiler_wl='-Wl,-Wl,,'
        !          7776:        lt_prog_compiler_pic='-PIC'
        !          7777:        lt_prog_compiler_static='-Bstatic'
        !          7778:        ;;
        !          7779:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
1.1       misho    7780:         # Portland Group compilers (*not* the Pentium gcc compiler,
                   7781:        # which looks to be a dead project)
                   7782:        lt_prog_compiler_wl='-Wl,'
                   7783:        lt_prog_compiler_pic='-fpic'
                   7784:        lt_prog_compiler_static='-Bstatic'
                   7785:         ;;
                   7786:       ccc*)
                   7787:         lt_prog_compiler_wl='-Wl,'
                   7788:         # All Alpha code is PIC.
                   7789:         lt_prog_compiler_static='-non_shared'
                   7790:         ;;
1.1.1.2 ! misho    7791:       xl* | bgxl* | bgf* | mpixl*)
        !          7792:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
1.1       misho    7793:        lt_prog_compiler_wl='-Wl,'
                   7794:        lt_prog_compiler_pic='-qpic'
                   7795:        lt_prog_compiler_static='-qstaticlink'
                   7796:        ;;
                   7797:       *)
                   7798:        case `$CC -V 2>&1 | sed 5q` in
1.1.1.2 ! misho    7799:        *Sun\ F* | *Sun*Fortran*)
        !          7800:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
1.1       misho    7801:          lt_prog_compiler_pic='-KPIC'
                   7802:          lt_prog_compiler_static='-Bstatic'
1.1.1.2 ! misho    7803:          lt_prog_compiler_wl=''
1.1       misho    7804:          ;;
1.1.1.2 ! misho    7805:        *Sun\ C*)
        !          7806:          # Sun C 5.9
1.1       misho    7807:          lt_prog_compiler_pic='-KPIC'
                   7808:          lt_prog_compiler_static='-Bstatic'
1.1.1.2 ! misho    7809:          lt_prog_compiler_wl='-Wl,'
1.1       misho    7810:          ;;
                   7811:        esac
                   7812:        ;;
                   7813:       esac
                   7814:       ;;
                   7815: 
                   7816:     newsos6)
                   7817:       lt_prog_compiler_pic='-KPIC'
                   7818:       lt_prog_compiler_static='-Bstatic'
                   7819:       ;;
                   7820: 
                   7821:     *nto* | *qnx*)
                   7822:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   7823:       # it will coredump.
                   7824:       lt_prog_compiler_pic='-fPIC -shared'
                   7825:       ;;
                   7826: 
                   7827:     osf3* | osf4* | osf5*)
                   7828:       lt_prog_compiler_wl='-Wl,'
                   7829:       # All OSF/1 code is PIC.
                   7830:       lt_prog_compiler_static='-non_shared'
                   7831:       ;;
                   7832: 
                   7833:     rdos*)
                   7834:       lt_prog_compiler_static='-non_shared'
                   7835:       ;;
                   7836: 
                   7837:     solaris*)
                   7838:       lt_prog_compiler_pic='-KPIC'
                   7839:       lt_prog_compiler_static='-Bstatic'
                   7840:       case $cc_basename in
1.1.1.2 ! misho    7841:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
1.1       misho    7842:        lt_prog_compiler_wl='-Qoption ld ';;
                   7843:       *)
                   7844:        lt_prog_compiler_wl='-Wl,';;
                   7845:       esac
                   7846:       ;;
                   7847: 
                   7848:     sunos4*)
                   7849:       lt_prog_compiler_wl='-Qoption ld '
                   7850:       lt_prog_compiler_pic='-PIC'
                   7851:       lt_prog_compiler_static='-Bstatic'
                   7852:       ;;
                   7853: 
                   7854:     sysv4 | sysv4.2uw2* | sysv4.3*)
                   7855:       lt_prog_compiler_wl='-Wl,'
                   7856:       lt_prog_compiler_pic='-KPIC'
                   7857:       lt_prog_compiler_static='-Bstatic'
                   7858:       ;;
                   7859: 
                   7860:     sysv4*MP*)
                   7861:       if test -d /usr/nec ;then
                   7862:        lt_prog_compiler_pic='-Kconform_pic'
                   7863:        lt_prog_compiler_static='-Bstatic'
                   7864:       fi
                   7865:       ;;
                   7866: 
                   7867:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   7868:       lt_prog_compiler_wl='-Wl,'
                   7869:       lt_prog_compiler_pic='-KPIC'
                   7870:       lt_prog_compiler_static='-Bstatic'
                   7871:       ;;
                   7872: 
                   7873:     unicos*)
                   7874:       lt_prog_compiler_wl='-Wl,'
                   7875:       lt_prog_compiler_can_build_shared=no
                   7876:       ;;
                   7877: 
                   7878:     uts4*)
                   7879:       lt_prog_compiler_pic='-pic'
                   7880:       lt_prog_compiler_static='-Bstatic'
                   7881:       ;;
                   7882: 
                   7883:     *)
                   7884:       lt_prog_compiler_can_build_shared=no
                   7885:       ;;
                   7886:     esac
                   7887:   fi
                   7888: 
                   7889: case $host_os in
                   7890:   # For platforms which do not support PIC, -DPIC is meaningless:
                   7891:   *djgpp*)
                   7892:     lt_prog_compiler_pic=
                   7893:     ;;
                   7894:   *)
                   7895:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
                   7896:     ;;
                   7897: esac
                   7898: 
1.1.1.2 ! misho    7899: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
        !          7900: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
        !          7901: if ${lt_cv_prog_compiler_pic+:} false; then :
        !          7902:   $as_echo_n "(cached) " >&6
        !          7903: else
        !          7904:   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
        !          7905: fi
        !          7906: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
        !          7907: $as_echo "$lt_cv_prog_compiler_pic" >&6; }
        !          7908: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
1.1       misho    7909: 
                   7910: #
                   7911: # Check to make sure the PIC flag actually works.
                   7912: #
                   7913: if test -n "$lt_prog_compiler_pic"; then
1.1.1.2 ! misho    7914:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
1.1       misho    7915: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
1.1.1.2 ! misho    7916: if ${lt_cv_prog_compiler_pic_works+:} false; then :
1.1       misho    7917:   $as_echo_n "(cached) " >&6
                   7918: else
                   7919:   lt_cv_prog_compiler_pic_works=no
                   7920:    ac_outfile=conftest.$ac_objext
                   7921:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   7922:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
                   7923:    # Insert the option either (1) after the last *FLAGS variable, or
                   7924:    # (2) before a word containing "conftest.", or (3) at the end.
                   7925:    # Note that $ac_compile itself does not contain backslashes and begins
                   7926:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   7927:    # The option is referenced via a variable to avoid confusing sed.
                   7928:    lt_compile=`echo "$ac_compile" | $SED \
                   7929:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   7930:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   7931:    -e 's:$: $lt_compiler_flag:'`
1.1.1.2 ! misho    7932:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
1.1       misho    7933:    (eval "$lt_compile" 2>conftest.err)
                   7934:    ac_status=$?
                   7935:    cat conftest.err >&5
1.1.1.2 ! misho    7936:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1       misho    7937:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   7938:      # The compiler can only warn and ignore the option if not recognized
                   7939:      # So say no if there are warnings other than the usual output.
1.1.1.2 ! misho    7940:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
1.1       misho    7941:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   7942:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   7943:        lt_cv_prog_compiler_pic_works=yes
                   7944:      fi
                   7945:    fi
                   7946:    $RM conftest*
                   7947: 
                   7948: fi
1.1.1.2 ! misho    7949: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
1.1       misho    7950: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
                   7951: 
                   7952: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
                   7953:     case $lt_prog_compiler_pic in
                   7954:      "" | " "*) ;;
                   7955:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
                   7956:      esac
                   7957: else
                   7958:     lt_prog_compiler_pic=
                   7959:      lt_prog_compiler_can_build_shared=no
                   7960: fi
                   7961: 
                   7962: fi
                   7963: 
                   7964: 
                   7965: 
                   7966: 
                   7967: 
                   7968: 
1.1.1.2 ! misho    7969: 
        !          7970: 
        !          7971: 
        !          7972: 
        !          7973: 
1.1       misho    7974: #
                   7975: # Check to make sure the static flag actually works.
                   7976: #
                   7977: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
1.1.1.2 ! misho    7978: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
1.1       misho    7979: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
1.1.1.2 ! misho    7980: if ${lt_cv_prog_compiler_static_works+:} false; then :
1.1       misho    7981:   $as_echo_n "(cached) " >&6
                   7982: else
                   7983:   lt_cv_prog_compiler_static_works=no
                   7984:    save_LDFLAGS="$LDFLAGS"
                   7985:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   7986:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   7987:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   7988:      # The linker can only warn and ignore the option if not recognized
                   7989:      # So say no if there are warnings
                   7990:      if test -s conftest.err; then
                   7991:        # Append any errors to the config.log.
                   7992:        cat conftest.err 1>&5
1.1.1.2 ! misho    7993:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
1.1       misho    7994:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   7995:        if diff conftest.exp conftest.er2 >/dev/null; then
                   7996:          lt_cv_prog_compiler_static_works=yes
                   7997:        fi
                   7998:      else
                   7999:        lt_cv_prog_compiler_static_works=yes
                   8000:      fi
                   8001:    fi
                   8002:    $RM -r conftest*
                   8003:    LDFLAGS="$save_LDFLAGS"
                   8004: 
                   8005: fi
1.1.1.2 ! misho    8006: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
1.1       misho    8007: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
                   8008: 
                   8009: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
                   8010:     :
                   8011: else
                   8012:     lt_prog_compiler_static=
                   8013: fi
                   8014: 
                   8015: 
                   8016: 
                   8017: 
                   8018: 
                   8019: 
                   8020: 
1.1.1.2 ! misho    8021:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
1.1       misho    8022: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
1.1.1.2 ! misho    8023: if ${lt_cv_prog_compiler_c_o+:} false; then :
1.1       misho    8024:   $as_echo_n "(cached) " >&6
                   8025: else
                   8026:   lt_cv_prog_compiler_c_o=no
                   8027:    $RM -r conftest 2>/dev/null
                   8028:    mkdir conftest
                   8029:    cd conftest
                   8030:    mkdir out
                   8031:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8032: 
                   8033:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   8034:    # Insert the option either (1) after the last *FLAGS variable, or
                   8035:    # (2) before a word containing "conftest.", or (3) at the end.
                   8036:    # Note that $ac_compile itself does not contain backslashes and begins
                   8037:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8038:    lt_compile=`echo "$ac_compile" | $SED \
                   8039:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8040:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8041:    -e 's:$: $lt_compiler_flag:'`
1.1.1.2 ! misho    8042:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
1.1       misho    8043:    (eval "$lt_compile" 2>out/conftest.err)
                   8044:    ac_status=$?
                   8045:    cat out/conftest.err >&5
1.1.1.2 ! misho    8046:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1       misho    8047:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   8048:    then
                   8049:      # The compiler can only warn and ignore the option if not recognized
                   8050:      # So say no if there are warnings
1.1.1.2 ! misho    8051:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
1.1       misho    8052:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   8053:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   8054:        lt_cv_prog_compiler_c_o=yes
                   8055:      fi
                   8056:    fi
                   8057:    chmod u+w . 2>&5
                   8058:    $RM conftest*
                   8059:    # SGI C++ compiler will create directory out/ii_files/ for
                   8060:    # template instantiation
                   8061:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   8062:    $RM out/* && rmdir out
                   8063:    cd ..
                   8064:    $RM -r conftest
                   8065:    $RM conftest*
                   8066: 
                   8067: fi
1.1.1.2 ! misho    8068: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
1.1       misho    8069: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
                   8070: 
                   8071: 
                   8072: 
                   8073: 
                   8074: 
                   8075: 
1.1.1.2 ! misho    8076:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
1.1       misho    8077: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
1.1.1.2 ! misho    8078: if ${lt_cv_prog_compiler_c_o+:} false; then :
1.1       misho    8079:   $as_echo_n "(cached) " >&6
                   8080: else
                   8081:   lt_cv_prog_compiler_c_o=no
                   8082:    $RM -r conftest 2>/dev/null
                   8083:    mkdir conftest
                   8084:    cd conftest
                   8085:    mkdir out
                   8086:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8087: 
                   8088:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   8089:    # Insert the option either (1) after the last *FLAGS variable, or
                   8090:    # (2) before a word containing "conftest.", or (3) at the end.
                   8091:    # Note that $ac_compile itself does not contain backslashes and begins
                   8092:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8093:    lt_compile=`echo "$ac_compile" | $SED \
                   8094:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8095:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8096:    -e 's:$: $lt_compiler_flag:'`
1.1.1.2 ! misho    8097:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
1.1       misho    8098:    (eval "$lt_compile" 2>out/conftest.err)
                   8099:    ac_status=$?
                   8100:    cat out/conftest.err >&5
1.1.1.2 ! misho    8101:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.1       misho    8102:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   8103:    then
                   8104:      # The compiler can only warn and ignore the option if not recognized
                   8105:      # So say no if there are warnings
1.1.1.2 ! misho    8106:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
1.1       misho    8107:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   8108:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   8109:        lt_cv_prog_compiler_c_o=yes
                   8110:      fi
                   8111:    fi
                   8112:    chmod u+w . 2>&5
                   8113:    $RM conftest*
                   8114:    # SGI C++ compiler will create directory out/ii_files/ for
                   8115:    # template instantiation
                   8116:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   8117:    $RM out/* && rmdir out
                   8118:    cd ..
                   8119:    $RM -r conftest
                   8120:    $RM conftest*
                   8121: 
                   8122: fi
1.1.1.2 ! misho    8123: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
1.1       misho    8124: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
                   8125: 
                   8126: 
                   8127: 
                   8128: 
                   8129: hard_links="nottested"
                   8130: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
                   8131:   # do not overwrite the value of need_locks provided by the user
1.1.1.2 ! misho    8132:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
1.1       misho    8133: $as_echo_n "checking if we can lock with hard links... " >&6; }
                   8134:   hard_links=yes
                   8135:   $RM conftest*
                   8136:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   8137:   touch conftest.a
                   8138:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   8139:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
1.1.1.2 ! misho    8140:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
1.1       misho    8141: $as_echo "$hard_links" >&6; }
                   8142:   if test "$hard_links" = no; then
1.1.1.2 ! misho    8143:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
1.1       misho    8144: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
                   8145:     need_locks=warn
                   8146:   fi
                   8147: else
                   8148:   need_locks=no
                   8149: fi
                   8150: 
                   8151: 
                   8152: 
                   8153: 
                   8154: 
                   8155: 
1.1.1.2 ! misho    8156:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
1.1       misho    8157: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
                   8158: 
                   8159:   runpath_var=
                   8160:   allow_undefined_flag=
                   8161:   always_export_symbols=no
                   8162:   archive_cmds=
                   8163:   archive_expsym_cmds=
                   8164:   compiler_needs_object=no
                   8165:   enable_shared_with_static_runtimes=no
                   8166:   export_dynamic_flag_spec=
                   8167:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   8168:   hardcode_automatic=no
                   8169:   hardcode_direct=no
                   8170:   hardcode_direct_absolute=no
                   8171:   hardcode_libdir_flag_spec=
                   8172:   hardcode_libdir_flag_spec_ld=
                   8173:   hardcode_libdir_separator=
                   8174:   hardcode_minus_L=no
                   8175:   hardcode_shlibpath_var=unsupported
                   8176:   inherit_rpath=no
                   8177:   link_all_deplibs=unknown
                   8178:   module_cmds=
                   8179:   module_expsym_cmds=
                   8180:   old_archive_from_new_cmds=
                   8181:   old_archive_from_expsyms_cmds=
                   8182:   thread_safe_flag_spec=
                   8183:   whole_archive_flag_spec=
                   8184:   # include_expsyms should be a list of space-separated symbols to be *always*
                   8185:   # included in the symbol list
                   8186:   include_expsyms=
                   8187:   # exclude_expsyms can be an extended regexp of symbols to exclude
                   8188:   # it will be wrapped by ` (' and `)$', so one must not match beginning or
                   8189:   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
                   8190:   # as well as any symbol that contains `d'.
                   8191:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   8192:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   8193:   # platforms (ab)use it in PIC code, but their linkers get confused if
                   8194:   # the symbol is explicitly referenced.  Since portable code cannot
                   8195:   # rely on this symbol name, it's probably fine to never include it in
                   8196:   # preloaded symbol tables.
                   8197:   # Exclude shared library initialization/finalization symbols.
                   8198:   extract_expsyms_cmds=
                   8199: 
                   8200:   case $host_os in
                   8201:   cygwin* | mingw* | pw32* | cegcc*)
                   8202:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
                   8203:     # When not using gcc, we currently assume that we are using
                   8204:     # Microsoft Visual C++.
                   8205:     if test "$GCC" != yes; then
                   8206:       with_gnu_ld=no
                   8207:     fi
                   8208:     ;;
                   8209:   interix*)
                   8210:     # we just hope/assume this is gcc and not c89 (= MSVC++)
                   8211:     with_gnu_ld=yes
                   8212:     ;;
                   8213:   openbsd*)
                   8214:     with_gnu_ld=no
                   8215:     ;;
                   8216:   esac
                   8217: 
                   8218:   ld_shlibs=yes
1.1.1.2 ! misho    8219: 
        !          8220:   # On some targets, GNU ld is compatible enough with the native linker
        !          8221:   # that we're better off using the native interface for both.
        !          8222:   lt_use_gnu_ld_interface=no
1.1       misho    8223:   if test "$with_gnu_ld" = yes; then
1.1.1.2 ! misho    8224:     case $host_os in
        !          8225:       aix*)
        !          8226:        # The AIX port of GNU ld has always aspired to compatibility
        !          8227:        # with the native linker.  However, as the warning in the GNU ld
        !          8228:        # block says, versions before 2.19.5* couldn't really create working
        !          8229:        # shared libraries, regardless of the interface used.
        !          8230:        case `$LD -v 2>&1` in
        !          8231:          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
        !          8232:          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
        !          8233:          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
        !          8234:          *)
        !          8235:            lt_use_gnu_ld_interface=yes
        !          8236:            ;;
        !          8237:        esac
        !          8238:        ;;
        !          8239:       *)
        !          8240:        lt_use_gnu_ld_interface=yes
        !          8241:        ;;
        !          8242:     esac
        !          8243:   fi
        !          8244: 
        !          8245:   if test "$lt_use_gnu_ld_interface" = yes; then
1.1       misho    8246:     # If archive_cmds runs LD, not CC, wlarc should be empty
                   8247:     wlarc='${wl}'
                   8248: 
                   8249:     # Set some defaults for GNU ld with shared library support. These
                   8250:     # are reset later if shared libraries are not supported. Putting them
                   8251:     # here allows them to be overridden if necessary.
                   8252:     runpath_var=LD_RUN_PATH
                   8253:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   8254:     export_dynamic_flag_spec='${wl}--export-dynamic'
                   8255:     # ancient GNU ld didn't support --whole-archive et. al.
                   8256:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
                   8257:       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   8258:     else
                   8259:       whole_archive_flag_spec=
                   8260:     fi
                   8261:     supports_anon_versioning=no
                   8262:     case `$LD -v 2>&1` in
1.1.1.2 ! misho    8263:       *GNU\ gold*) supports_anon_versioning=yes ;;
1.1       misho    8264:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
                   8265:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
                   8266:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
                   8267:       *\ 2.11.*) ;; # other 2.11 versions
                   8268:       *) supports_anon_versioning=yes ;;
                   8269:     esac
                   8270: 
                   8271:     # See if GNU ld supports shared libraries.
                   8272:     case $host_os in
                   8273:     aix[3-9]*)
                   8274:       # On AIX/PPC, the GNU linker is very broken
                   8275:       if test "$host_cpu" != ia64; then
                   8276:        ld_shlibs=no
                   8277:        cat <<_LT_EOF 1>&2
                   8278: 
1.1.1.2 ! misho    8279: *** Warning: the GNU linker, at least up to release 2.19, is reported
1.1       misho    8280: *** to be unable to reliably create shared libraries on AIX.
                   8281: *** Therefore, libtool is disabling shared libraries support.  If you
1.1.1.2 ! misho    8282: *** really care for shared libraries, you may want to install binutils
        !          8283: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
        !          8284: *** You will then need to restart the configuration process.
1.1       misho    8285: 
                   8286: _LT_EOF
                   8287:       fi
                   8288:       ;;
                   8289: 
                   8290:     amigaos*)
                   8291:       case $host_cpu in
                   8292:       powerpc)
                   8293:             # see comment about AmigaOS4 .so support
                   8294:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8295:             archive_expsym_cmds=''
                   8296:         ;;
                   8297:       m68k)
                   8298:             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)'
                   8299:             hardcode_libdir_flag_spec='-L$libdir'
                   8300:             hardcode_minus_L=yes
                   8301:         ;;
                   8302:       esac
                   8303:       ;;
                   8304: 
                   8305:     beos*)
                   8306:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   8307:        allow_undefined_flag=unsupported
                   8308:        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   8309:        # support --undefined.  This deserves some investigation.  FIXME
                   8310:        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8311:       else
                   8312:        ld_shlibs=no
                   8313:       fi
                   8314:       ;;
                   8315: 
                   8316:     cygwin* | mingw* | pw32* | cegcc*)
                   8317:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
                   8318:       # as there is no search path for DLLs.
                   8319:       hardcode_libdir_flag_spec='-L$libdir'
1.1.1.2 ! misho    8320:       export_dynamic_flag_spec='${wl}--export-all-symbols'
1.1       misho    8321:       allow_undefined_flag=unsupported
                   8322:       always_export_symbols=no
                   8323:       enable_shared_with_static_runtimes=yes
1.1.1.2 ! misho    8324:       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'
        !          8325:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
1.1       misho    8326: 
                   8327:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   8328:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   8329:        # If the export-symbols file already is a .def file (1st line
                   8330:        # is EXPORTS), use it as is; otherwise, prepend...
                   8331:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   8332:          cp $export_symbols $output_objdir/$soname.def;
                   8333:        else
                   8334:          echo EXPORTS > $output_objdir/$soname.def;
                   8335:          cat $export_symbols >> $output_objdir/$soname.def;
                   8336:        fi~
                   8337:        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   8338:       else
                   8339:        ld_shlibs=no
                   8340:       fi
                   8341:       ;;
                   8342: 
1.1.1.2 ! misho    8343:     haiku*)
        !          8344:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
        !          8345:       link_all_deplibs=yes
        !          8346:       ;;
        !          8347: 
1.1       misho    8348:     interix[3-9]*)
                   8349:       hardcode_direct=no
                   8350:       hardcode_shlibpath_var=no
                   8351:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   8352:       export_dynamic_flag_spec='${wl}-E'
                   8353:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   8354:       # Instead, shared libraries are loaded at an image base (0x10000000 by
                   8355:       # default) and relocated if they conflict, which is a slow very memory
                   8356:       # consuming and fragmenting process.  To avoid this, we pick a random,
                   8357:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   8358:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   8359:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   8360:       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'
                   8361:       ;;
                   8362: 
1.1.1.2 ! misho    8363:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
1.1       misho    8364:       tmp_diet=no
                   8365:       if test "$host_os" = linux-dietlibc; then
                   8366:        case $cc_basename in
                   8367:          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
                   8368:        esac
                   8369:       fi
                   8370:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
                   8371:         && test "$tmp_diet" = no
                   8372:       then
1.1.1.2 ! misho    8373:        tmp_addflag=' $pic_flag'
1.1       misho    8374:        tmp_sharedflag='-shared'
                   8375:        case $cc_basename,$host_cpu in
                   8376:         pgcc*)                         # Portland Group C compiler
1.1.1.2 ! misho    8377:          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    8378:          tmp_addflag=' $pic_flag'
                   8379:          ;;
1.1.1.2 ! misho    8380:        pgf77* | pgf90* | pgf95* | pgfortran*)
        !          8381:                                        # Portland Group f77 and f90 compilers
        !          8382:          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    8383:          tmp_addflag=' $pic_flag -Mnomain' ;;
                   8384:        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
                   8385:          tmp_addflag=' -i_dynamic' ;;
                   8386:        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
                   8387:          tmp_addflag=' -i_dynamic -nofor_main' ;;
                   8388:        ifc* | ifort*)                  # Intel Fortran compiler
                   8389:          tmp_addflag=' -nofor_main' ;;
                   8390:        lf95*)                          # Lahey Fortran 8.1
                   8391:          whole_archive_flag_spec=
                   8392:          tmp_sharedflag='--shared' ;;
1.1.1.2 ! misho    8393:        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
1.1       misho    8394:          tmp_sharedflag='-qmkshrobj'
                   8395:          tmp_addflag= ;;
1.1.1.2 ! misho    8396:        nvcc*)  # Cuda Compiler Driver 2.2
        !          8397:          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'
        !          8398:          compiler_needs_object=yes
        !          8399:          ;;
1.1       misho    8400:        esac
                   8401:        case `$CC -V 2>&1 | sed 5q` in
                   8402:        *Sun\ C*)                       # Sun C 5.9
1.1.1.2 ! misho    8403:          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    8404:          compiler_needs_object=yes
                   8405:          tmp_sharedflag='-G' ;;
                   8406:        *Sun\ F*)                       # Sun Fortran 8.3
                   8407:          tmp_sharedflag='-G' ;;
                   8408:        esac
                   8409:        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8410: 
                   8411:         if test "x$supports_anon_versioning" = xyes; then
                   8412:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   8413:            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   8414:            echo "local: *; };" >> $output_objdir/$libname.ver~
                   8415:            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   8416:         fi
                   8417: 
                   8418:        case $cc_basename in
1.1.1.2 ! misho    8419:        xlf* | bgf* | bgxlf* | mpixlf*)
1.1       misho    8420:          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
                   8421:          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
                   8422:          hardcode_libdir_flag_spec=
                   8423:          hardcode_libdir_flag_spec_ld='-rpath $libdir'
1.1.1.2 ! misho    8424:          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
1.1       misho    8425:          if test "x$supports_anon_versioning" = xyes; then
                   8426:            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   8427:              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   8428:              echo "local: *; };" >> $output_objdir/$libname.ver~
1.1.1.2 ! misho    8429:              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
1.1       misho    8430:          fi
                   8431:          ;;
                   8432:        esac
                   8433:       else
                   8434:         ld_shlibs=no
                   8435:       fi
                   8436:       ;;
                   8437: 
                   8438:     netbsd*)
                   8439:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   8440:        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   8441:        wlarc=
                   8442:       else
1.1.1.2 ! misho    8443:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
        !          8444:        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    8445:       fi
                   8446:       ;;
                   8447: 
                   8448:     solaris*)
                   8449:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
                   8450:        ld_shlibs=no
                   8451:        cat <<_LT_EOF 1>&2
                   8452: 
                   8453: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   8454: *** create shared libraries on Solaris systems.  Therefore, libtool
                   8455: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   8456: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   8457: *** your PATH or compiler configuration so that the native linker is
                   8458: *** used, and then restart.
                   8459: 
                   8460: _LT_EOF
                   8461:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
1.1.1.2 ! misho    8462:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
        !          8463:        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    8464:       else
                   8465:        ld_shlibs=no
                   8466:       fi
                   8467:       ;;
                   8468: 
                   8469:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
                   8470:       case `$LD -v 2>&1` in
                   8471:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
                   8472:        ld_shlibs=no
                   8473:        cat <<_LT_EOF 1>&2
                   8474: 
                   8475: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
                   8476: *** reliably create shared libraries on SCO systems.  Therefore, libtool
                   8477: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   8478: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
                   8479: *** your PATH or compiler configuration so that the native linker is
                   8480: *** used, and then restart.
                   8481: 
                   8482: _LT_EOF
                   8483:        ;;
                   8484:        *)
                   8485:          # For security reasons, it is highly recommended that you always
                   8486:          # use absolute paths for naming shared libraries, and exclude the
                   8487:          # DT_RUNPATH tag from executables and libraries.  But doing so
                   8488:          # requires that you compile everything twice, which is a pain.
                   8489:          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   8490:            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   8491:            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8492:            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   8493:          else
                   8494:            ld_shlibs=no
                   8495:          fi
                   8496:        ;;
                   8497:       esac
                   8498:       ;;
                   8499: 
                   8500:     sunos4*)
                   8501:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   8502:       wlarc=
                   8503:       hardcode_direct=yes
                   8504:       hardcode_shlibpath_var=no
                   8505:       ;;
                   8506: 
                   8507:     *)
                   8508:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
1.1.1.2 ! misho    8509:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
        !          8510:        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    8511:       else
                   8512:        ld_shlibs=no
                   8513:       fi
                   8514:       ;;
                   8515:     esac
                   8516: 
                   8517:     if test "$ld_shlibs" = no; then
                   8518:       runpath_var=
                   8519:       hardcode_libdir_flag_spec=
                   8520:       export_dynamic_flag_spec=
                   8521:       whole_archive_flag_spec=
                   8522:     fi
                   8523:   else
                   8524:     # PORTME fill in a description of your system's linker (not GNU ld)
                   8525:     case $host_os in
                   8526:     aix3*)
                   8527:       allow_undefined_flag=unsupported
                   8528:       always_export_symbols=yes
                   8529:       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'
                   8530:       # Note: this linker hardcodes the directories in LIBPATH if there
                   8531:       # are no directories specified by -L.
                   8532:       hardcode_minus_L=yes
                   8533:       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
                   8534:        # Neither direct hardcoding nor static linking is supported with a
                   8535:        # broken collect2.
                   8536:        hardcode_direct=unsupported
                   8537:       fi
                   8538:       ;;
                   8539: 
                   8540:     aix[4-9]*)
                   8541:       if test "$host_cpu" = ia64; then
                   8542:        # On IA64, the linker does run time linking by default, so we don't
                   8543:        # have to do anything special.
                   8544:        aix_use_runtimelinking=no
                   8545:        exp_sym_flag='-Bexport'
                   8546:        no_entry_flag=""
                   8547:       else
                   8548:        # If we're using GNU nm, then we don't want the "-C" option.
                   8549:        # -C means demangle to AIX nm, but means don't demangle with GNU nm
1.1.1.2 ! misho    8550:        # Also, AIX nm treats weak defined symbols like other global
        !          8551:        # defined symbols, whereas GNU nm marks them as "W".
1.1       misho    8552:        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
1.1.1.2 ! misho    8553:          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    8554:        else
                   8555:          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'
                   8556:        fi
                   8557:        aix_use_runtimelinking=no
                   8558: 
                   8559:        # Test if we are trying to use run time linking or normal
                   8560:        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   8561:        # need to do runtime linking.
                   8562:        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   8563:          for ld_flag in $LDFLAGS; do
                   8564:          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
                   8565:            aix_use_runtimelinking=yes
                   8566:            break
                   8567:          fi
                   8568:          done
                   8569:          ;;
                   8570:        esac
                   8571: 
                   8572:        exp_sym_flag='-bexport'
                   8573:        no_entry_flag='-bnoentry'
                   8574:       fi
                   8575: 
                   8576:       # When large executables or shared objects are built, AIX ld can
                   8577:       # have problems creating the table of contents.  If linking a library
                   8578:       # or program results in "error TOC overflow" add -mminimal-toc to
                   8579:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   8580:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   8581: 
                   8582:       archive_cmds=''
                   8583:       hardcode_direct=yes
                   8584:       hardcode_direct_absolute=yes
                   8585:       hardcode_libdir_separator=':'
                   8586:       link_all_deplibs=yes
                   8587:       file_list_spec='${wl}-f,'
                   8588: 
                   8589:       if test "$GCC" = yes; then
                   8590:        case $host_os in aix4.[012]|aix4.[012].*)
                   8591:        # We only want to do this on AIX 4.2 and lower, the check
                   8592:        # below for broken collect2 doesn't work under 4.3+
                   8593:          collect2name=`${CC} -print-prog-name=collect2`
                   8594:          if test -f "$collect2name" &&
                   8595:           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   8596:          then
                   8597:          # We have reworked collect2
                   8598:          :
                   8599:          else
                   8600:          # We have old collect2
                   8601:          hardcode_direct=unsupported
                   8602:          # It fails to find uninstalled libraries when the uninstalled
                   8603:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   8604:          # to unsupported forces relinking
                   8605:          hardcode_minus_L=yes
                   8606:          hardcode_libdir_flag_spec='-L$libdir'
                   8607:          hardcode_libdir_separator=
                   8608:          fi
                   8609:          ;;
                   8610:        esac
                   8611:        shared_flag='-shared'
                   8612:        if test "$aix_use_runtimelinking" = yes; then
                   8613:          shared_flag="$shared_flag "'${wl}-G'
                   8614:        fi
                   8615:       else
                   8616:        # not using gcc
                   8617:        if test "$host_cpu" = ia64; then
                   8618:        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   8619:        # chokes on -Wl,-G. The following line is correct:
                   8620:          shared_flag='-G'
                   8621:        else
                   8622:          if test "$aix_use_runtimelinking" = yes; then
                   8623:            shared_flag='${wl}-G'
                   8624:          else
                   8625:            shared_flag='${wl}-bM:SRE'
                   8626:          fi
                   8627:        fi
                   8628:       fi
                   8629: 
                   8630:       export_dynamic_flag_spec='${wl}-bexpall'
                   8631:       # It seems that -bexpall does not export symbols beginning with
                   8632:       # underscore (_), so it is better to generate a list of symbols to export.
                   8633:       always_export_symbols=yes
                   8634:       if test "$aix_use_runtimelinking" = yes; then
                   8635:        # Warning - without using the other runtime loading flags (-brtl),
                   8636:        # -berok will link without error, but may produce a broken library.
                   8637:        allow_undefined_flag='-berok'
                   8638:         # Determine the default libpath from the value encoded in an
                   8639:         # empty executable.
1.1.1.2 ! misho    8640:         if test "${lt_cv_aix_libpath+set}" = set; then
        !          8641:   aix_libpath=$lt_cv_aix_libpath
        !          8642: else
        !          8643:   if ${lt_cv_aix_libpath_+:} false; then :
        !          8644:   $as_echo_n "(cached) " >&6
        !          8645: else
        !          8646:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    8647: /* end confdefs.h.  */
                   8648: 
                   8649: int
                   8650: main ()
                   8651: {
                   8652: 
                   8653:   ;
                   8654:   return 0;
                   8655: }
                   8656: _ACEOF
1.1.1.2 ! misho    8657: if ac_fn_c_try_link "$LINENO"; then :
1.1       misho    8658: 
1.1.1.2 ! misho    8659:   lt_aix_libpath_sed='
        !          8660:       /Import File Strings/,/^$/ {
        !          8661:          /^0/ {
        !          8662:              s/^0  *\([^ ]*\) *$/\1/
        !          8663:              p
        !          8664:          }
        !          8665:       }'
        !          8666:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
        !          8667:   # Check for a 64-bit object if we didn't find anything.
        !          8668:   if test -z "$lt_cv_aix_libpath_"; then
        !          8669:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
        !          8670:   fi
1.1       misho    8671: fi
1.1.1.2 ! misho    8672: rm -f core conftest.err conftest.$ac_objext \
        !          8673:     conftest$ac_exeext conftest.$ac_ext
        !          8674:   if test -z "$lt_cv_aix_libpath_"; then
        !          8675:     lt_cv_aix_libpath_="/usr/lib:/lib"
        !          8676:   fi
1.1       misho    8677: 
                   8678: fi
                   8679: 
1.1.1.2 ! misho    8680:   aix_libpath=$lt_cv_aix_libpath_
        !          8681: fi
1.1       misho    8682: 
                   8683:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
1.1.1.2 ! misho    8684:         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    8685:       else
                   8686:        if test "$host_cpu" = ia64; then
                   8687:          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
                   8688:          allow_undefined_flag="-z nodefs"
                   8689:          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"
                   8690:        else
                   8691:         # Determine the default libpath from the value encoded in an
                   8692:         # empty executable.
1.1.1.2 ! misho    8693:         if test "${lt_cv_aix_libpath+set}" = set; then
        !          8694:   aix_libpath=$lt_cv_aix_libpath
        !          8695: else
        !          8696:   if ${lt_cv_aix_libpath_+:} false; then :
        !          8697:   $as_echo_n "(cached) " >&6
        !          8698: else
        !          8699:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    8700: /* end confdefs.h.  */
                   8701: 
                   8702: int
                   8703: main ()
                   8704: {
                   8705: 
                   8706:   ;
                   8707:   return 0;
                   8708: }
                   8709: _ACEOF
1.1.1.2 ! misho    8710: if ac_fn_c_try_link "$LINENO"; then :
1.1       misho    8711: 
1.1.1.2 ! misho    8712:   lt_aix_libpath_sed='
        !          8713:       /Import File Strings/,/^$/ {
        !          8714:          /^0/ {
        !          8715:              s/^0  *\([^ ]*\) *$/\1/
        !          8716:              p
        !          8717:          }
        !          8718:       }'
        !          8719:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
        !          8720:   # Check for a 64-bit object if we didn't find anything.
        !          8721:   if test -z "$lt_cv_aix_libpath_"; then
        !          8722:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
        !          8723:   fi
1.1       misho    8724: fi
1.1.1.2 ! misho    8725: rm -f core conftest.err conftest.$ac_objext \
        !          8726:     conftest$ac_exeext conftest.$ac_ext
        !          8727:   if test -z "$lt_cv_aix_libpath_"; then
        !          8728:     lt_cv_aix_libpath_="/usr/lib:/lib"
        !          8729:   fi
1.1       misho    8730: 
                   8731: fi
                   8732: 
1.1.1.2 ! misho    8733:   aix_libpath=$lt_cv_aix_libpath_
        !          8734: fi
1.1       misho    8735: 
                   8736:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   8737:          # Warning - without using the other run time loading flags,
                   8738:          # -berok will link without error, but may produce a broken library.
                   8739:          no_undefined_flag=' ${wl}-bernotok'
                   8740:          allow_undefined_flag=' ${wl}-berok'
1.1.1.2 ! misho    8741:          if test "$with_gnu_ld" = yes; then
        !          8742:            # We only use this code for GNU lds that support --whole-archive.
        !          8743:            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
        !          8744:          else
        !          8745:            # Exported symbols can be pulled into shared objects from archives
        !          8746:            whole_archive_flag_spec='$convenience'
        !          8747:          fi
1.1       misho    8748:          archive_cmds_need_lc=yes
                   8749:          # This is similar to how AIX traditionally builds its shared libraries.
                   8750:          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'
                   8751:        fi
                   8752:       fi
                   8753:       ;;
                   8754: 
                   8755:     amigaos*)
                   8756:       case $host_cpu in
                   8757:       powerpc)
                   8758:             # see comment about AmigaOS4 .so support
                   8759:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8760:             archive_expsym_cmds=''
                   8761:         ;;
                   8762:       m68k)
                   8763:             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)'
                   8764:             hardcode_libdir_flag_spec='-L$libdir'
                   8765:             hardcode_minus_L=yes
                   8766:         ;;
                   8767:       esac
                   8768:       ;;
                   8769: 
                   8770:     bsdi[45]*)
                   8771:       export_dynamic_flag_spec=-rdynamic
                   8772:       ;;
                   8773: 
                   8774:     cygwin* | mingw* | pw32* | cegcc*)
                   8775:       # When not using gcc, we currently assume that we are using
                   8776:       # Microsoft Visual C++.
                   8777:       # hardcode_libdir_flag_spec is actually meaningless, as there is
                   8778:       # no search path for DLLs.
1.1.1.2 ! misho    8779:       case $cc_basename in
        !          8780:       cl*)
        !          8781:        # Native MSVC
        !          8782:        hardcode_libdir_flag_spec=' '
        !          8783:        allow_undefined_flag=unsupported
        !          8784:        always_export_symbols=yes
        !          8785:        file_list_spec='@'
        !          8786:        # Tell ltmain to make .lib files, not .a files.
        !          8787:        libext=lib
        !          8788:        # Tell ltmain to make .dll files, not .so files.
        !          8789:        shrext_cmds=".dll"
        !          8790:        # FIXME: Setting linknames here is a bad hack.
        !          8791:        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
        !          8792:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
        !          8793:            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
        !          8794:          else
        !          8795:            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
        !          8796:          fi~
        !          8797:          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
        !          8798:          linknames='
        !          8799:        # The linker will not automatically build a static lib if we build a DLL.
        !          8800:        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
        !          8801:        enable_shared_with_static_runtimes=yes
        !          8802:        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
        !          8803:        # Don't use ranlib
        !          8804:        old_postinstall_cmds='chmod 644 $oldlib'
        !          8805:        postlink_cmds='lt_outputfile="@OUTPUT@"~
        !          8806:          lt_tool_outputfile="@TOOL_OUTPUT@"~
        !          8807:          case $lt_outputfile in
        !          8808:            *.exe|*.EXE) ;;
        !          8809:            *)
        !          8810:              lt_outputfile="$lt_outputfile.exe"
        !          8811:              lt_tool_outputfile="$lt_tool_outputfile.exe"
        !          8812:              ;;
        !          8813:          esac~
        !          8814:          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
        !          8815:            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
        !          8816:            $RM "$lt_outputfile.manifest";
        !          8817:          fi'
        !          8818:        ;;
        !          8819:       *)
        !          8820:        # Assume MSVC wrapper
        !          8821:        hardcode_libdir_flag_spec=' '
        !          8822:        allow_undefined_flag=unsupported
        !          8823:        # Tell ltmain to make .lib files, not .a files.
        !          8824:        libext=lib
        !          8825:        # Tell ltmain to make .dll files, not .so files.
        !          8826:        shrext_cmds=".dll"
        !          8827:        # FIXME: Setting linknames here is a bad hack.
        !          8828:        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
        !          8829:        # The linker will automatically build a .lib file if we build a DLL.
        !          8830:        old_archive_from_new_cmds='true'
        !          8831:        # FIXME: Should let the user specify the lib program.
        !          8832:        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
        !          8833:        enable_shared_with_static_runtimes=yes
        !          8834:        ;;
        !          8835:       esac
1.1       misho    8836:       ;;
                   8837: 
                   8838:     darwin* | rhapsody*)
                   8839: 
                   8840: 
                   8841:   archive_cmds_need_lc=no
                   8842:   hardcode_direct=no
                   8843:   hardcode_automatic=yes
                   8844:   hardcode_shlibpath_var=unsupported
1.1.1.2 ! misho    8845:   if test "$lt_cv_ld_force_load" = "yes"; then
        !          8846:     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\"`'
        !          8847:   else
        !          8848:     whole_archive_flag_spec=''
        !          8849:   fi
1.1       misho    8850:   link_all_deplibs=yes
                   8851:   allow_undefined_flag="$_lt_dar_allow_undefined"
                   8852:   case $cc_basename in
                   8853:      ifort*) _lt_dar_can_shared=yes ;;
                   8854:      *) _lt_dar_can_shared=$GCC ;;
                   8855:   esac
                   8856:   if test "$_lt_dar_can_shared" = "yes"; then
1.1.1.2 ! misho    8857:     output_verbose_link_cmd=func_echo_all
1.1       misho    8858:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
                   8859:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   8860:     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}"
                   8861:     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}"
                   8862: 
                   8863:   else
                   8864:   ld_shlibs=no
                   8865:   fi
                   8866: 
                   8867:       ;;
                   8868: 
                   8869:     dgux*)
                   8870:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   8871:       hardcode_libdir_flag_spec='-L$libdir'
                   8872:       hardcode_shlibpath_var=no
                   8873:       ;;
                   8874: 
                   8875:     freebsd1*)
                   8876:       ld_shlibs=no
                   8877:       ;;
                   8878: 
                   8879:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   8880:     # support.  Future versions do this automatically, but an explicit c++rt0.o
                   8881:     # does not break anything, and helps significantly (at the cost of a little
                   8882:     # extra space).
                   8883:     freebsd2.2*)
                   8884:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   8885:       hardcode_libdir_flag_spec='-R$libdir'
                   8886:       hardcode_direct=yes
                   8887:       hardcode_shlibpath_var=no
                   8888:       ;;
                   8889: 
                   8890:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
                   8891:     freebsd2*)
                   8892:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   8893:       hardcode_direct=yes
                   8894:       hardcode_minus_L=yes
                   8895:       hardcode_shlibpath_var=no
                   8896:       ;;
                   8897: 
                   8898:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
                   8899:     freebsd* | dragonfly*)
1.1.1.2 ! misho    8900:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
1.1       misho    8901:       hardcode_libdir_flag_spec='-R$libdir'
                   8902:       hardcode_direct=yes
                   8903:       hardcode_shlibpath_var=no
                   8904:       ;;
                   8905: 
                   8906:     hpux9*)
                   8907:       if test "$GCC" = yes; then
1.1.1.2 ! misho    8908:        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    8909:       else
                   8910:        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'
                   8911:       fi
                   8912:       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   8913:       hardcode_libdir_separator=:
                   8914:       hardcode_direct=yes
                   8915: 
                   8916:       # hardcode_minus_L: Not really in the search PATH,
                   8917:       # but as the default location of the library.
                   8918:       hardcode_minus_L=yes
                   8919:       export_dynamic_flag_spec='${wl}-E'
                   8920:       ;;
                   8921: 
                   8922:     hpux10*)
1.1.1.2 ! misho    8923:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
        !          8924:        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1.1       misho    8925:       else
                   8926:        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   8927:       fi
                   8928:       if test "$with_gnu_ld" = no; then
                   8929:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   8930:        hardcode_libdir_flag_spec_ld='+b $libdir'
                   8931:        hardcode_libdir_separator=:
                   8932:        hardcode_direct=yes
                   8933:        hardcode_direct_absolute=yes
                   8934:        export_dynamic_flag_spec='${wl}-E'
                   8935:        # hardcode_minus_L: Not really in the search PATH,
                   8936:        # but as the default location of the library.
                   8937:        hardcode_minus_L=yes
                   8938:       fi
                   8939:       ;;
                   8940: 
                   8941:     hpux11*)
1.1.1.2 ! misho    8942:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
1.1       misho    8943:        case $host_cpu in
                   8944:        hppa*64*)
                   8945:          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   8946:          ;;
                   8947:        ia64*)
1.1.1.2 ! misho    8948:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
1.1       misho    8949:          ;;
                   8950:        *)
1.1.1.2 ! misho    8951:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1.1       misho    8952:          ;;
                   8953:        esac
                   8954:       else
                   8955:        case $host_cpu in
                   8956:        hppa*64*)
                   8957:          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   8958:          ;;
                   8959:        ia64*)
                   8960:          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   8961:          ;;
                   8962:        *)
1.1.1.2 ! misho    8963: 
        !          8964:          # Older versions of the 11.00 compiler do not understand -b yet
        !          8965:          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
        !          8966:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
        !          8967: $as_echo_n "checking if $CC understands -b... " >&6; }
        !          8968: if ${lt_cv_prog_compiler__b+:} false; then :
        !          8969:   $as_echo_n "(cached) " >&6
        !          8970: else
        !          8971:   lt_cv_prog_compiler__b=no
        !          8972:    save_LDFLAGS="$LDFLAGS"
        !          8973:    LDFLAGS="$LDFLAGS -b"
        !          8974:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
        !          8975:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
        !          8976:      # The linker can only warn and ignore the option if not recognized
        !          8977:      # So say no if there are warnings
        !          8978:      if test -s conftest.err; then
        !          8979:        # Append any errors to the config.log.
        !          8980:        cat conftest.err 1>&5
        !          8981:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
        !          8982:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
        !          8983:        if diff conftest.exp conftest.er2 >/dev/null; then
        !          8984:          lt_cv_prog_compiler__b=yes
        !          8985:        fi
        !          8986:      else
        !          8987:        lt_cv_prog_compiler__b=yes
        !          8988:      fi
        !          8989:    fi
        !          8990:    $RM -r conftest*
        !          8991:    LDFLAGS="$save_LDFLAGS"
        !          8992: 
        !          8993: fi
        !          8994: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
        !          8995: $as_echo "$lt_cv_prog_compiler__b" >&6; }
        !          8996: 
        !          8997: if test x"$lt_cv_prog_compiler__b" = xyes; then
        !          8998:     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
        !          8999: else
        !          9000:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
        !          9001: fi
        !          9002: 
1.1       misho    9003:          ;;
                   9004:        esac
                   9005:       fi
                   9006:       if test "$with_gnu_ld" = no; then
                   9007:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   9008:        hardcode_libdir_separator=:
                   9009: 
                   9010:        case $host_cpu in
                   9011:        hppa*64*|ia64*)
                   9012:          hardcode_direct=no
                   9013:          hardcode_shlibpath_var=no
                   9014:          ;;
                   9015:        *)
                   9016:          hardcode_direct=yes
                   9017:          hardcode_direct_absolute=yes
                   9018:          export_dynamic_flag_spec='${wl}-E'
                   9019: 
                   9020:          # hardcode_minus_L: Not really in the search PATH,
                   9021:          # but as the default location of the library.
                   9022:          hardcode_minus_L=yes
                   9023:          ;;
                   9024:        esac
                   9025:       fi
                   9026:       ;;
                   9027: 
                   9028:     irix5* | irix6* | nonstopux*)
                   9029:       if test "$GCC" = yes; then
1.1.1.2 ! misho    9030:        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    9031:        # Try to use the -exported_symbol ld option, if it does not
                   9032:        # work, assume that -exports_file does not work either and
                   9033:        # implicitly export all symbols.
1.1.1.2 ! misho    9034:        # This should be the same for all languages, so no per-tag cache variable.
        !          9035:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
        !          9036: $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
        !          9037: if ${lt_cv_irix_exported_symbol+:} false; then :
        !          9038:   $as_echo_n "(cached) " >&6
        !          9039: else
        !          9040:   save_LDFLAGS="$LDFLAGS"
        !          9041:           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
        !          9042:           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          9043: /* end confdefs.h.  */
        !          9044: int foo (void) { return 0; }
1.1       misho    9045: _ACEOF
1.1.1.2 ! misho    9046: if ac_fn_c_try_link "$LINENO"; then :
        !          9047:   lt_cv_irix_exported_symbol=yes
1.1       misho    9048: else
1.1.1.2 ! misho    9049:   lt_cv_irix_exported_symbol=no
1.1       misho    9050: fi
1.1.1.2 ! misho    9051: rm -f core conftest.err conftest.$ac_objext \
        !          9052:     conftest$ac_exeext conftest.$ac_ext
        !          9053:            LDFLAGS="$save_LDFLAGS"
        !          9054: fi
        !          9055: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
        !          9056: $as_echo "$lt_cv_irix_exported_symbol" >&6; }
        !          9057:        if test "$lt_cv_irix_exported_symbol" = yes; then
        !          9058:           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'
        !          9059:        fi
1.1       misho    9060:       else
1.1.1.2 ! misho    9061:        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'
        !          9062:        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    9063:       fi
                   9064:       archive_cmds_need_lc='no'
                   9065:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9066:       hardcode_libdir_separator=:
                   9067:       inherit_rpath=yes
                   9068:       link_all_deplibs=yes
                   9069:       ;;
                   9070: 
                   9071:     netbsd*)
                   9072:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   9073:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   9074:       else
                   9075:        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   9076:       fi
                   9077:       hardcode_libdir_flag_spec='-R$libdir'
                   9078:       hardcode_direct=yes
                   9079:       hardcode_shlibpath_var=no
                   9080:       ;;
                   9081: 
                   9082:     newsos6)
                   9083:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9084:       hardcode_direct=yes
                   9085:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9086:       hardcode_libdir_separator=:
                   9087:       hardcode_shlibpath_var=no
                   9088:       ;;
                   9089: 
                   9090:     *nto* | *qnx*)
                   9091:       ;;
                   9092: 
                   9093:     openbsd*)
                   9094:       if test -f /usr/libexec/ld.so; then
                   9095:        hardcode_direct=yes
                   9096:        hardcode_shlibpath_var=no
                   9097:        hardcode_direct_absolute=yes
                   9098:        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   9099:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   9100:          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
                   9101:          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   9102:          export_dynamic_flag_spec='${wl}-E'
                   9103:        else
                   9104:          case $host_os in
                   9105:           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
                   9106:             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   9107:             hardcode_libdir_flag_spec='-R$libdir'
                   9108:             ;;
                   9109:           *)
                   9110:             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   9111:             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   9112:             ;;
                   9113:          esac
                   9114:        fi
                   9115:       else
                   9116:        ld_shlibs=no
                   9117:       fi
                   9118:       ;;
                   9119: 
                   9120:     os2*)
                   9121:       hardcode_libdir_flag_spec='-L$libdir'
                   9122:       hardcode_minus_L=yes
                   9123:       allow_undefined_flag=unsupported
1.1.1.2 ! misho    9124:       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    9125:       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
                   9126:       ;;
                   9127: 
                   9128:     osf3*)
                   9129:       if test "$GCC" = yes; then
                   9130:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
1.1.1.2 ! misho    9131:        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    9132:       else
                   9133:        allow_undefined_flag=' -expect_unresolved \*'
1.1.1.2 ! misho    9134:        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    9135:       fi
                   9136:       archive_cmds_need_lc='no'
                   9137:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9138:       hardcode_libdir_separator=:
                   9139:       ;;
                   9140: 
                   9141:     osf4* | osf5*)     # as osf3* with the addition of -msym flag
                   9142:       if test "$GCC" = yes; then
                   9143:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
1.1.1.2 ! misho    9144:        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    9145:        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9146:       else
                   9147:        allow_undefined_flag=' -expect_unresolved \*'
1.1.1.2 ! misho    9148:        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    9149:        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    9150:        $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    9151: 
                   9152:        # Both c and cxx compiler support -rpath directly
                   9153:        hardcode_libdir_flag_spec='-rpath $libdir'
                   9154:       fi
                   9155:       archive_cmds_need_lc='no'
                   9156:       hardcode_libdir_separator=:
                   9157:       ;;
                   9158: 
                   9159:     solaris*)
                   9160:       no_undefined_flag=' -z defs'
                   9161:       if test "$GCC" = yes; then
                   9162:        wlarc='${wl}'
1.1.1.2 ! misho    9163:        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
1.1       misho    9164:        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    9165:          $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    9166:       else
                   9167:        case `$CC -V 2>&1` in
                   9168:        *"Compilers 5.0"*)
                   9169:          wlarc=''
                   9170:          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9171:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   9172:          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
                   9173:          ;;
                   9174:        *)
                   9175:          wlarc='${wl}'
                   9176:          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   9177:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   9178:          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
                   9179:          ;;
                   9180:        esac
                   9181:       fi
                   9182:       hardcode_libdir_flag_spec='-R$libdir'
                   9183:       hardcode_shlibpath_var=no
                   9184:       case $host_os in
                   9185:       solaris2.[0-5] | solaris2.[0-5].*) ;;
                   9186:       *)
                   9187:        # The compiler driver will combine and reorder linker options,
                   9188:        # but understands `-z linker_flag'.  GCC discards it without `$wl',
                   9189:        # but is careful enough not to reorder.
                   9190:        # Supported since Solaris 2.6 (maybe 2.5.1?)
                   9191:        if test "$GCC" = yes; then
                   9192:          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   9193:        else
                   9194:          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
                   9195:        fi
                   9196:        ;;
                   9197:       esac
                   9198:       link_all_deplibs=yes
                   9199:       ;;
                   9200: 
                   9201:     sunos4*)
                   9202:       if test "x$host_vendor" = xsequent; then
                   9203:        # Use $CC to link under sequent, because it throws in some extra .o
                   9204:        # files that make .init and .fini sections work.
                   9205:        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   9206:       else
                   9207:        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   9208:       fi
                   9209:       hardcode_libdir_flag_spec='-L$libdir'
                   9210:       hardcode_direct=yes
                   9211:       hardcode_minus_L=yes
                   9212:       hardcode_shlibpath_var=no
                   9213:       ;;
                   9214: 
                   9215:     sysv4)
                   9216:       case $host_vendor in
                   9217:        sni)
                   9218:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9219:          hardcode_direct=yes # is this really true???
                   9220:        ;;
                   9221:        siemens)
                   9222:          ## LD is ld it makes a PLAMLIB
                   9223:          ## CC just makes a GrossModule.
                   9224:          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   9225:          reload_cmds='$CC -r -o $output$reload_objs'
                   9226:          hardcode_direct=no
                   9227:         ;;
                   9228:        motorola)
                   9229:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9230:          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   9231:        ;;
                   9232:       esac
                   9233:       runpath_var='LD_RUN_PATH'
                   9234:       hardcode_shlibpath_var=no
                   9235:       ;;
                   9236: 
                   9237:     sysv4.3*)
                   9238:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9239:       hardcode_shlibpath_var=no
                   9240:       export_dynamic_flag_spec='-Bexport'
                   9241:       ;;
                   9242: 
                   9243:     sysv4*MP*)
                   9244:       if test -d /usr/nec; then
                   9245:        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9246:        hardcode_shlibpath_var=no
                   9247:        runpath_var=LD_RUN_PATH
                   9248:        hardcode_runpath_var=yes
                   9249:        ld_shlibs=yes
                   9250:       fi
                   9251:       ;;
                   9252: 
                   9253:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   9254:       no_undefined_flag='${wl}-z,text'
                   9255:       archive_cmds_need_lc=no
                   9256:       hardcode_shlibpath_var=no
                   9257:       runpath_var='LD_RUN_PATH'
                   9258: 
                   9259:       if test "$GCC" = yes; then
                   9260:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9261:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9262:       else
                   9263:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9264:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9265:       fi
                   9266:       ;;
                   9267: 
                   9268:     sysv5* | sco3.2v5* | sco5v6*)
                   9269:       # Note: We can NOT use -z defs as we might desire, because we do not
                   9270:       # link with -lc, and that would cause any symbols used from libc to
                   9271:       # always be unresolved, which means just about no library would
                   9272:       # ever link correctly.  If we're not using GNU ld we use -z text
                   9273:       # though, which does catch some bad symbols but isn't as heavy-handed
                   9274:       # as -z defs.
                   9275:       no_undefined_flag='${wl}-z,text'
                   9276:       allow_undefined_flag='${wl}-z,nodefs'
                   9277:       archive_cmds_need_lc=no
                   9278:       hardcode_shlibpath_var=no
                   9279:       hardcode_libdir_flag_spec='${wl}-R,$libdir'
                   9280:       hardcode_libdir_separator=':'
                   9281:       link_all_deplibs=yes
                   9282:       export_dynamic_flag_spec='${wl}-Bexport'
                   9283:       runpath_var='LD_RUN_PATH'
                   9284: 
                   9285:       if test "$GCC" = yes; then
                   9286:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9287:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9288:       else
                   9289:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9290:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9291:       fi
                   9292:       ;;
                   9293: 
                   9294:     uts4*)
                   9295:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9296:       hardcode_libdir_flag_spec='-L$libdir'
                   9297:       hardcode_shlibpath_var=no
                   9298:       ;;
                   9299: 
                   9300:     *)
                   9301:       ld_shlibs=no
                   9302:       ;;
                   9303:     esac
                   9304: 
                   9305:     if test x$host_vendor = xsni; then
                   9306:       case $host in
                   9307:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   9308:        export_dynamic_flag_spec='${wl}-Blargedynsym'
                   9309:        ;;
                   9310:       esac
                   9311:     fi
                   9312:   fi
                   9313: 
1.1.1.2 ! misho    9314: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
1.1       misho    9315: $as_echo "$ld_shlibs" >&6; }
                   9316: test "$ld_shlibs" = no && can_build_shared=no
                   9317: 
                   9318: with_gnu_ld=$with_gnu_ld
                   9319: 
                   9320: 
                   9321: 
                   9322: 
                   9323: 
                   9324: 
                   9325: 
                   9326: 
                   9327: 
                   9328: 
                   9329: 
                   9330: 
                   9331: 
                   9332: 
                   9333: 
                   9334: #
                   9335: # Do we need to explicitly link libc?
                   9336: #
                   9337: case "x$archive_cmds_need_lc" in
                   9338: x|xyes)
                   9339:   # Assume -lc should be added
                   9340:   archive_cmds_need_lc=yes
                   9341: 
                   9342:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   9343:     case $archive_cmds in
                   9344:     *'~'*)
                   9345:       # FIXME: we may have to deal with multi-command sequences.
                   9346:       ;;
                   9347:     '$CC '*)
                   9348:       # Test whether the compiler implicitly links with -lc since on some
                   9349:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   9350:       # to ld, don't add -lc before -lgcc.
1.1.1.2 ! misho    9351:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
1.1       misho    9352: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
1.1.1.2 ! misho    9353: if ${lt_cv_archive_cmds_need_lc+:} false; then :
        !          9354:   $as_echo_n "(cached) " >&6
        !          9355: else
        !          9356:   $RM conftest*
        !          9357:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1.1       misho    9358: 
1.1.1.2 ! misho    9359:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.1       misho    9360:   (eval $ac_compile) 2>&5
                   9361:   ac_status=$?
1.1.1.2 ! misho    9362:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          9363:   test $ac_status = 0; } 2>conftest.err; then
        !          9364:          soname=conftest
        !          9365:          lib=conftest
        !          9366:          libobjs=conftest.$ac_objext
        !          9367:          deplibs=
        !          9368:          wl=$lt_prog_compiler_wl
        !          9369:          pic_flag=$lt_prog_compiler_pic
        !          9370:          compiler_flags=-v
        !          9371:          linker_flags=-v
        !          9372:          verstring=
        !          9373:          output_objdir=.
        !          9374:          libname=conftest
        !          9375:          lt_save_allow_undefined_flag=$allow_undefined_flag
        !          9376:          allow_undefined_flag=
        !          9377:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1.1       misho    9378:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   9379:   ac_status=$?
1.1.1.2 ! misho    9380:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          9381:   test $ac_status = 0; }
        !          9382:          then
        !          9383:            lt_cv_archive_cmds_need_lc=no
        !          9384:          else
        !          9385:            lt_cv_archive_cmds_need_lc=yes
        !          9386:          fi
        !          9387:          allow_undefined_flag=$lt_save_allow_undefined_flag
        !          9388:        else
        !          9389:          cat conftest.err 1>&5
        !          9390:        fi
        !          9391:        $RM conftest*
        !          9392: 
        !          9393: fi
        !          9394: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
        !          9395: $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
        !          9396:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
1.1       misho    9397:       ;;
                   9398:     esac
                   9399:   fi
                   9400:   ;;
                   9401: esac
                   9402: 
                   9403: 
                   9404: 
                   9405: 
                   9406: 
                   9407: 
                   9408: 
                   9409: 
                   9410: 
                   9411: 
                   9412: 
                   9413: 
                   9414: 
                   9415: 
                   9416: 
                   9417: 
                   9418: 
                   9419: 
                   9420: 
                   9421: 
                   9422: 
                   9423: 
                   9424: 
                   9425: 
                   9426: 
                   9427: 
                   9428: 
                   9429: 
                   9430: 
                   9431: 
                   9432: 
                   9433: 
                   9434: 
                   9435: 
                   9436: 
                   9437: 
                   9438: 
                   9439: 
                   9440: 
                   9441: 
                   9442: 
                   9443: 
                   9444: 
                   9445: 
                   9446: 
                   9447: 
                   9448: 
                   9449: 
                   9450: 
                   9451: 
                   9452: 
                   9453: 
                   9454: 
                   9455: 
                   9456: 
                   9457: 
                   9458: 
                   9459: 
                   9460: 
                   9461: 
                   9462: 
                   9463: 
                   9464: 
                   9465: 
                   9466: 
                   9467: 
                   9468: 
                   9469: 
                   9470: 
                   9471: 
                   9472: 
                   9473: 
                   9474: 
                   9475: 
                   9476: 
                   9477: 
                   9478: 
                   9479: 
                   9480: 
                   9481: 
                   9482: 
                   9483: 
                   9484: 
                   9485: 
                   9486: 
                   9487: 
                   9488: 
                   9489: 
                   9490: 
                   9491: 
                   9492: 
                   9493: 
                   9494: 
                   9495: 
                   9496: 
                   9497: 
                   9498: 
                   9499: 
                   9500: 
                   9501: 
                   9502: 
                   9503: 
                   9504: 
                   9505: 
                   9506: 
                   9507: 
                   9508: 
                   9509: 
                   9510: 
                   9511: 
                   9512: 
                   9513: 
                   9514: 
                   9515: 
                   9516: 
                   9517: 
                   9518: 
                   9519: 
                   9520: 
                   9521: 
                   9522: 
                   9523: 
                   9524: 
                   9525: 
                   9526: 
                   9527: 
                   9528: 
                   9529: 
                   9530: 
                   9531: 
                   9532: 
                   9533: 
                   9534: 
                   9535: 
                   9536: 
                   9537: 
                   9538: 
                   9539: 
                   9540: 
                   9541: 
                   9542: 
                   9543: 
                   9544: 
                   9545: 
                   9546: 
                   9547: 
                   9548: 
                   9549: 
                   9550: 
                   9551: 
                   9552: 
                   9553: 
                   9554: 
                   9555: 
                   9556: 
                   9557: 
                   9558: 
1.1.1.2 ! misho    9559:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
1.1       misho    9560: $as_echo_n "checking dynamic linker characteristics... " >&6; }
                   9561: 
                   9562: if test "$GCC" = yes; then
                   9563:   case $host_os in
                   9564:     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
                   9565:     *) lt_awk_arg="/^libraries:/" ;;
                   9566:   esac
1.1.1.2 ! misho    9567:   case $host_os in
        !          9568:     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
        !          9569:     *) lt_sed_strip_eq="s,=/,/,g" ;;
        !          9570:   esac
        !          9571:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
        !          9572:   case $lt_search_path_spec in
        !          9573:   *\;*)
1.1       misho    9574:     # if the path contains ";" then we assume it to be the separator
                   9575:     # otherwise default to the standard path separator (i.e. ":") - it is
                   9576:     # assumed that no part of a normal pathname contains ";" but that should
                   9577:     # okay in the real world where ";" in dirpaths is itself problematic.
1.1.1.2 ! misho    9578:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
        !          9579:     ;;
        !          9580:   *)
        !          9581:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
        !          9582:     ;;
        !          9583:   esac
1.1       misho    9584:   # Ok, now we have the path, separated by spaces, we can step through it
                   9585:   # and add multilib dir if necessary.
                   9586:   lt_tmp_lt_search_path_spec=
                   9587:   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
                   9588:   for lt_sys_path in $lt_search_path_spec; do
                   9589:     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
                   9590:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
                   9591:     else
                   9592:       test -d "$lt_sys_path" && \
                   9593:        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
                   9594:     fi
                   9595:   done
1.1.1.2 ! misho    9596:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
1.1       misho    9597: BEGIN {RS=" "; FS="/|\n";} {
                   9598:   lt_foo="";
                   9599:   lt_count=0;
                   9600:   for (lt_i = NF; lt_i > 0; lt_i--) {
                   9601:     if ($lt_i != "" && $lt_i != ".") {
                   9602:       if ($lt_i == "..") {
                   9603:         lt_count++;
                   9604:       } else {
                   9605:         if (lt_count == 0) {
                   9606:           lt_foo="/" $lt_i lt_foo;
                   9607:         } else {
                   9608:           lt_count--;
                   9609:         }
                   9610:       }
                   9611:     }
                   9612:   }
                   9613:   if (lt_foo != "") { lt_freq[lt_foo]++; }
                   9614:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
                   9615: }'`
1.1.1.2 ! misho    9616:   # AWK program above erroneously prepends '/' to C:/dos/paths
        !          9617:   # for these hosts.
        !          9618:   case $host_os in
        !          9619:     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
        !          9620:       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
        !          9621:   esac
        !          9622:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
1.1       misho    9623: else
                   9624:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   9625: fi
                   9626: library_names_spec=
                   9627: libname_spec='lib$name'
                   9628: soname_spec=
                   9629: shrext_cmds=".so"
                   9630: postinstall_cmds=
                   9631: postuninstall_cmds=
                   9632: finish_cmds=
                   9633: finish_eval=
                   9634: shlibpath_var=
                   9635: shlibpath_overrides_runpath=unknown
                   9636: version_type=none
                   9637: dynamic_linker="$host_os ld.so"
                   9638: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   9639: need_lib_prefix=unknown
                   9640: hardcode_into_libs=no
                   9641: 
                   9642: # when you set need_version to no, make sure it does not cause -set_version
                   9643: # flags to be left without arguments
                   9644: need_version=unknown
                   9645: 
                   9646: case $host_os in
                   9647: aix3*)
                   9648:   version_type=linux
                   9649:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   9650:   shlibpath_var=LIBPATH
                   9651: 
                   9652:   # AIX 3 has no versioning support, so we append a major version to the name.
                   9653:   soname_spec='${libname}${release}${shared_ext}$major'
                   9654:   ;;
                   9655: 
                   9656: aix[4-9]*)
                   9657:   version_type=linux
                   9658:   need_lib_prefix=no
                   9659:   need_version=no
                   9660:   hardcode_into_libs=yes
                   9661:   if test "$host_cpu" = ia64; then
                   9662:     # AIX 5 supports IA64
                   9663:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   9664:     shlibpath_var=LD_LIBRARY_PATH
                   9665:   else
                   9666:     # With GCC up to 2.95.x, collect2 would create an import file
                   9667:     # for dependence libraries.  The import file would start with
                   9668:     # the line `#! .'.  This would cause the generated library to
                   9669:     # depend on `.', always an invalid library.  This was fixed in
                   9670:     # development snapshots of GCC prior to 3.0.
                   9671:     case $host_os in
                   9672:       aix4 | aix4.[01] | aix4.[01].*)
                   9673:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   9674:           echo ' yes '
                   9675:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   9676:        :
                   9677:       else
                   9678:        can_build_shared=no
                   9679:       fi
                   9680:       ;;
                   9681:     esac
                   9682:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   9683:     # soname into executable. Probably we can add versioning support to
                   9684:     # collect2, so additional links can be useful in future.
                   9685:     if test "$aix_use_runtimelinking" = yes; then
                   9686:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   9687:       # instead of lib<name>.a to let people know that these are not
                   9688:       # typical AIX shared libraries.
                   9689:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   9690:     else
                   9691:       # We preserve .a as extension for shared libraries through AIX4.2
                   9692:       # and later when we are not doing run time linking.
                   9693:       library_names_spec='${libname}${release}.a $libname.a'
                   9694:       soname_spec='${libname}${release}${shared_ext}$major'
                   9695:     fi
                   9696:     shlibpath_var=LIBPATH
                   9697:   fi
                   9698:   ;;
                   9699: 
                   9700: amigaos*)
                   9701:   case $host_cpu in
                   9702:   powerpc)
                   9703:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   9704:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   9705:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   9706:     ;;
                   9707:   m68k)
                   9708:     library_names_spec='$libname.ixlibrary $libname.a'
                   9709:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
1.1.1.2 ! misho    9710:     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    9711:     ;;
                   9712:   esac
                   9713:   ;;
                   9714: 
                   9715: beos*)
                   9716:   library_names_spec='${libname}${shared_ext}'
                   9717:   dynamic_linker="$host_os ld.so"
                   9718:   shlibpath_var=LIBRARY_PATH
                   9719:   ;;
                   9720: 
                   9721: bsdi[45]*)
                   9722:   version_type=linux
                   9723:   need_version=no
                   9724:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   9725:   soname_spec='${libname}${release}${shared_ext}$major'
                   9726:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   9727:   shlibpath_var=LD_LIBRARY_PATH
                   9728:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   9729:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   9730:   # the default ld.so.conf also contains /usr/contrib/lib and
                   9731:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   9732:   # libtool to hard-code these into programs
                   9733:   ;;
                   9734: 
                   9735: cygwin* | mingw* | pw32* | cegcc*)
                   9736:   version_type=windows
                   9737:   shrext_cmds=".dll"
                   9738:   need_version=no
                   9739:   need_lib_prefix=no
                   9740: 
1.1.1.2 ! misho    9741:   case $GCC,$cc_basename in
        !          9742:   yes,*)
        !          9743:     # gcc
1.1       misho    9744:     library_names_spec='$libname.dll.a'
                   9745:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   9746:     postinstall_cmds='base_file=`basename \${file}`~
                   9747:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   9748:       dldir=$destdir/`dirname \$dlpath`~
                   9749:       test -d \$dldir || mkdir -p \$dldir~
                   9750:       $install_prog $dir/$dlname \$dldir/$dlname~
                   9751:       chmod a+x \$dldir/$dlname~
                   9752:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   9753:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   9754:       fi'
                   9755:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   9756:       dlpath=$dir/\$dldll~
                   9757:        $RM \$dlpath'
                   9758:     shlibpath_overrides_runpath=yes
                   9759: 
                   9760:     case $host_os in
                   9761:     cygwin*)
                   9762:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   9763:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
1.1.1.2 ! misho    9764: 
        !          9765:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
1.1       misho    9766:       ;;
                   9767:     mingw* | cegcc*)
                   9768:       # MinGW DLLs use traditional 'lib' prefix
                   9769:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   9770:       ;;
                   9771:     pw32*)
                   9772:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   9773:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   9774:       ;;
                   9775:     esac
1.1.1.2 ! misho    9776:     dynamic_linker='Win32 ld.exe'
        !          9777:     ;;
        !          9778: 
        !          9779:   *,cl*)
        !          9780:     # Native MSVC
        !          9781:     libname_spec='$name'
        !          9782:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
        !          9783:     library_names_spec='${libname}.dll.lib'
        !          9784: 
        !          9785:     case $build_os in
        !          9786:     mingw*)
        !          9787:       sys_lib_search_path_spec=
        !          9788:       lt_save_ifs=$IFS
        !          9789:       IFS=';'
        !          9790:       for lt_path in $LIB
        !          9791:       do
        !          9792:         IFS=$lt_save_ifs
        !          9793:         # Let DOS variable expansion print the short 8.3 style file name.
        !          9794:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
        !          9795:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
        !          9796:       done
        !          9797:       IFS=$lt_save_ifs
        !          9798:       # Convert to MSYS style.
        !          9799:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
        !          9800:       ;;
        !          9801:     cygwin*)
        !          9802:       # Convert to unix form, then to dos form, then back to unix form
        !          9803:       # but this time dos style (no spaces!) so that the unix form looks
        !          9804:       # like /cygdrive/c/PROGRA~1:/cygdr...
        !          9805:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
        !          9806:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
        !          9807:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
        !          9808:       ;;
        !          9809:     *)
        !          9810:       sys_lib_search_path_spec="$LIB"
        !          9811:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
        !          9812:         # It is most probably a Windows format PATH.
        !          9813:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
        !          9814:       else
        !          9815:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
        !          9816:       fi
        !          9817:       # FIXME: find the short name or the path components, as spaces are
        !          9818:       # common. (e.g. "Program Files" -> "PROGRA~1")
        !          9819:       ;;
        !          9820:     esac
        !          9821: 
        !          9822:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
        !          9823:     postinstall_cmds='base_file=`basename \${file}`~
        !          9824:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
        !          9825:       dldir=$destdir/`dirname \$dlpath`~
        !          9826:       test -d \$dldir || mkdir -p \$dldir~
        !          9827:       $install_prog $dir/$dlname \$dldir/$dlname'
        !          9828:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
        !          9829:       dlpath=$dir/\$dldll~
        !          9830:        $RM \$dlpath'
        !          9831:     shlibpath_overrides_runpath=yes
        !          9832:     dynamic_linker='Win32 link.exe'
1.1       misho    9833:     ;;
                   9834: 
                   9835:   *)
1.1.1.2 ! misho    9836:     # Assume MSVC wrapper
1.1       misho    9837:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
1.1.1.2 ! misho    9838:     dynamic_linker='Win32 ld.exe'
1.1       misho    9839:     ;;
                   9840:   esac
                   9841:   # FIXME: first we should search . and the directory the executable is in
                   9842:   shlibpath_var=PATH
                   9843:   ;;
                   9844: 
                   9845: darwin* | rhapsody*)
                   9846:   dynamic_linker="$host_os dyld"
                   9847:   version_type=darwin
                   9848:   need_lib_prefix=no
                   9849:   need_version=no
                   9850:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   9851:   soname_spec='${libname}${release}${major}$shared_ext'
                   9852:   shlibpath_overrides_runpath=yes
                   9853:   shlibpath_var=DYLD_LIBRARY_PATH
                   9854:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   9855: 
                   9856:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
                   9857:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   9858:   ;;
                   9859: 
                   9860: dgux*)
                   9861:   version_type=linux
                   9862:   need_lib_prefix=no
                   9863:   need_version=no
                   9864:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   9865:   soname_spec='${libname}${release}${shared_ext}$major'
                   9866:   shlibpath_var=LD_LIBRARY_PATH
                   9867:   ;;
                   9868: 
                   9869: freebsd1*)
                   9870:   dynamic_linker=no
                   9871:   ;;
                   9872: 
                   9873: freebsd* | dragonfly*)
                   9874:   # DragonFly does not have aout.  When/if they implement a new
                   9875:   # versioning mechanism, adjust this.
                   9876:   if test -x /usr/bin/objformat; then
                   9877:     objformat=`/usr/bin/objformat`
                   9878:   else
                   9879:     case $host_os in
                   9880:     freebsd[123]*) objformat=aout ;;
                   9881:     *) objformat=elf ;;
                   9882:     esac
                   9883:   fi
                   9884:   version_type=freebsd-$objformat
                   9885:   case $version_type in
                   9886:     freebsd-elf*)
                   9887:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   9888:       need_version=no
                   9889:       need_lib_prefix=no
                   9890:       ;;
                   9891:     freebsd-*)
                   9892:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   9893:       need_version=yes
                   9894:       ;;
                   9895:   esac
                   9896:   shlibpath_var=LD_LIBRARY_PATH
                   9897:   case $host_os in
                   9898:   freebsd2*)
                   9899:     shlibpath_overrides_runpath=yes
                   9900:     ;;
                   9901:   freebsd3.[01]* | freebsdelf3.[01]*)
                   9902:     shlibpath_overrides_runpath=yes
                   9903:     hardcode_into_libs=yes
                   9904:     ;;
                   9905:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   9906:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   9907:     shlibpath_overrides_runpath=no
                   9908:     hardcode_into_libs=yes
                   9909:     ;;
                   9910:   *) # from 4.6 on, and DragonFly
                   9911:     shlibpath_overrides_runpath=yes
                   9912:     hardcode_into_libs=yes
                   9913:     ;;
                   9914:   esac
                   9915:   ;;
                   9916: 
                   9917: gnu*)
                   9918:   version_type=linux
                   9919:   need_lib_prefix=no
                   9920:   need_version=no
                   9921:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   9922:   soname_spec='${libname}${release}${shared_ext}$major'
                   9923:   shlibpath_var=LD_LIBRARY_PATH
                   9924:   hardcode_into_libs=yes
                   9925:   ;;
                   9926: 
1.1.1.2 ! misho    9927: haiku*)
        !          9928:   version_type=linux
        !          9929:   need_lib_prefix=no
        !          9930:   need_version=no
        !          9931:   dynamic_linker="$host_os runtime_loader"
        !          9932:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
        !          9933:   soname_spec='${libname}${release}${shared_ext}$major'
        !          9934:   shlibpath_var=LIBRARY_PATH
        !          9935:   shlibpath_overrides_runpath=yes
        !          9936:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
        !          9937:   hardcode_into_libs=yes
        !          9938:   ;;
        !          9939: 
1.1       misho    9940: hpux9* | hpux10* | hpux11*)
                   9941:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   9942:   # link against other versions.
                   9943:   version_type=sunos
                   9944:   need_lib_prefix=no
                   9945:   need_version=no
                   9946:   case $host_cpu in
                   9947:   ia64*)
                   9948:     shrext_cmds='.so'
                   9949:     hardcode_into_libs=yes
                   9950:     dynamic_linker="$host_os dld.so"
                   9951:     shlibpath_var=LD_LIBRARY_PATH
                   9952:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   9953:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   9954:     soname_spec='${libname}${release}${shared_ext}$major'
                   9955:     if test "X$HPUX_IA64_MODE" = X32; then
                   9956:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   9957:     else
                   9958:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   9959:     fi
                   9960:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   9961:     ;;
                   9962:   hppa*64*)
                   9963:     shrext_cmds='.sl'
                   9964:     hardcode_into_libs=yes
                   9965:     dynamic_linker="$host_os dld.sl"
                   9966:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   9967:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   9968:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   9969:     soname_spec='${libname}${release}${shared_ext}$major'
                   9970:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   9971:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   9972:     ;;
                   9973:   *)
                   9974:     shrext_cmds='.sl'
                   9975:     dynamic_linker="$host_os dld.sl"
                   9976:     shlibpath_var=SHLIB_PATH
                   9977:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   9978:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   9979:     soname_spec='${libname}${release}${shared_ext}$major'
                   9980:     ;;
                   9981:   esac
1.1.1.2 ! misho    9982:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
1.1       misho    9983:   postinstall_cmds='chmod 555 $lib'
1.1.1.2 ! misho    9984:   # or fails outright, so override atomically:
        !          9985:   install_override_mode=555
1.1       misho    9986:   ;;
                   9987: 
                   9988: interix[3-9]*)
                   9989:   version_type=linux
                   9990:   need_lib_prefix=no
                   9991:   need_version=no
                   9992:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   9993:   soname_spec='${libname}${release}${shared_ext}$major'
                   9994:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   9995:   shlibpath_var=LD_LIBRARY_PATH
                   9996:   shlibpath_overrides_runpath=no
                   9997:   hardcode_into_libs=yes
                   9998:   ;;
                   9999: 
                   10000: irix5* | irix6* | nonstopux*)
                   10001:   case $host_os in
                   10002:     nonstopux*) version_type=nonstopux ;;
                   10003:     *)
                   10004:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   10005:                version_type=linux
                   10006:        else
                   10007:                version_type=irix
                   10008:        fi ;;
                   10009:   esac
                   10010:   need_lib_prefix=no
                   10011:   need_version=no
                   10012:   soname_spec='${libname}${release}${shared_ext}$major'
                   10013:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   10014:   case $host_os in
                   10015:   irix5* | nonstopux*)
                   10016:     libsuff= shlibsuff=
                   10017:     ;;
                   10018:   *)
                   10019:     case $LD in # libtool.m4 will add one of these switches to LD
                   10020:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   10021:       libsuff= shlibsuff= libmagic=32-bit;;
                   10022:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   10023:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   10024:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   10025:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   10026:     *) libsuff= shlibsuff= libmagic=never-match;;
                   10027:     esac
                   10028:     ;;
                   10029:   esac
                   10030:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   10031:   shlibpath_overrides_runpath=no
                   10032:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   10033:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   10034:   hardcode_into_libs=yes
                   10035:   ;;
                   10036: 
                   10037: # No shared lib support for Linux oldld, aout, or coff.
                   10038: linux*oldld* | linux*aout* | linux*coff*)
                   10039:   dynamic_linker=no
                   10040:   ;;
                   10041: 
                   10042: # This must be Linux ELF.
1.1.1.2 ! misho    10043: linux* | k*bsd*-gnu | kopensolaris*-gnu)
1.1       misho    10044:   version_type=linux
                   10045:   need_lib_prefix=no
                   10046:   need_version=no
                   10047:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10048:   soname_spec='${libname}${release}${shared_ext}$major'
                   10049:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   10050:   shlibpath_var=LD_LIBRARY_PATH
                   10051:   shlibpath_overrides_runpath=no
1.1.1.2 ! misho    10052: 
1.1       misho    10053:   # Some binutils ld are patched to set DT_RUNPATH
1.1.1.2 ! misho    10054:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
        !          10055:   $as_echo_n "(cached) " >&6
        !          10056: else
        !          10057:   lt_cv_shlibpath_overrides_runpath=no
        !          10058:     save_LDFLAGS=$LDFLAGS
        !          10059:     save_libdir=$libdir
        !          10060:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
        !          10061:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
        !          10062:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    10063: /* end confdefs.h.  */
                   10064: 
                   10065: int
                   10066: main ()
                   10067: {
                   10068: 
                   10069:   ;
                   10070:   return 0;
                   10071: }
                   10072: _ACEOF
1.1.1.2 ! misho    10073: if ac_fn_c_try_link "$LINENO"; then :
        !          10074:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
        !          10075:   lt_cv_shlibpath_overrides_runpath=yes
1.1       misho    10076: fi
1.1.1.2 ! misho    10077: fi
        !          10078: rm -f core conftest.err conftest.$ac_objext \
        !          10079:     conftest$ac_exeext conftest.$ac_ext
        !          10080:     LDFLAGS=$save_LDFLAGS
        !          10081:     libdir=$save_libdir
1.1       misho    10082: 
                   10083: fi
                   10084: 
1.1.1.2 ! misho    10085:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
1.1       misho    10086: 
                   10087:   # This implies no fast_install, which is unacceptable.
                   10088:   # Some rework will be needed to allow for fast_install
                   10089:   # before this can be enabled.
                   10090:   hardcode_into_libs=yes
                   10091: 
                   10092:   # Append ld.so.conf contents to the search path
                   10093:   if test -f /etc/ld.so.conf; then
1.1.1.2 ! misho    10094:     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    10095:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   10096:   fi
                   10097: 
                   10098:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   10099:   # powerpc, because MkLinux only supported shared libraries with the
                   10100:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   10101:   # most powerpc-linux boxes support dynamic linking these days and
                   10102:   # people can always --disable-shared, the test was removed, and we
                   10103:   # assume the GNU/Linux dynamic linker is in use.
                   10104:   dynamic_linker='GNU/Linux ld.so'
                   10105:   ;;
                   10106: 
                   10107: netbsd*)
                   10108:   version_type=sunos
                   10109:   need_lib_prefix=no
                   10110:   need_version=no
                   10111:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   10112:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   10113:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   10114:     dynamic_linker='NetBSD (a.out) ld.so'
                   10115:   else
                   10116:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   10117:     soname_spec='${libname}${release}${shared_ext}$major'
                   10118:     dynamic_linker='NetBSD ld.elf_so'
                   10119:   fi
                   10120:   shlibpath_var=LD_LIBRARY_PATH
                   10121:   shlibpath_overrides_runpath=yes
                   10122:   hardcode_into_libs=yes
                   10123:   ;;
                   10124: 
                   10125: newsos6)
                   10126:   version_type=linux
                   10127:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10128:   shlibpath_var=LD_LIBRARY_PATH
                   10129:   shlibpath_overrides_runpath=yes
                   10130:   ;;
                   10131: 
                   10132: *nto* | *qnx*)
                   10133:   version_type=qnx
                   10134:   need_lib_prefix=no
                   10135:   need_version=no
                   10136:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10137:   soname_spec='${libname}${release}${shared_ext}$major'
                   10138:   shlibpath_var=LD_LIBRARY_PATH
                   10139:   shlibpath_overrides_runpath=no
                   10140:   hardcode_into_libs=yes
                   10141:   dynamic_linker='ldqnx.so'
                   10142:   ;;
                   10143: 
                   10144: openbsd*)
                   10145:   version_type=sunos
                   10146:   sys_lib_dlsearch_path_spec="/usr/lib"
                   10147:   need_lib_prefix=no
                   10148:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   10149:   case $host_os in
                   10150:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   10151:     *)                         need_version=no  ;;
                   10152:   esac
                   10153:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   10154:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   10155:   shlibpath_var=LD_LIBRARY_PATH
                   10156:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   10157:     case $host_os in
                   10158:       openbsd2.[89] | openbsd2.[89].*)
                   10159:        shlibpath_overrides_runpath=no
                   10160:        ;;
                   10161:       *)
                   10162:        shlibpath_overrides_runpath=yes
                   10163:        ;;
                   10164:       esac
                   10165:   else
                   10166:     shlibpath_overrides_runpath=yes
                   10167:   fi
                   10168:   ;;
                   10169: 
                   10170: os2*)
                   10171:   libname_spec='$name'
                   10172:   shrext_cmds=".dll"
                   10173:   need_lib_prefix=no
                   10174:   library_names_spec='$libname${shared_ext} $libname.a'
                   10175:   dynamic_linker='OS/2 ld.exe'
                   10176:   shlibpath_var=LIBPATH
                   10177:   ;;
                   10178: 
                   10179: osf3* | osf4* | osf5*)
                   10180:   version_type=osf
                   10181:   need_lib_prefix=no
                   10182:   need_version=no
                   10183:   soname_spec='${libname}${release}${shared_ext}$major'
                   10184:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10185:   shlibpath_var=LD_LIBRARY_PATH
                   10186:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   10187:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   10188:   ;;
                   10189: 
                   10190: rdos*)
                   10191:   dynamic_linker=no
                   10192:   ;;
                   10193: 
                   10194: solaris*)
                   10195:   version_type=linux
                   10196:   need_lib_prefix=no
                   10197:   need_version=no
                   10198:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10199:   soname_spec='${libname}${release}${shared_ext}$major'
                   10200:   shlibpath_var=LD_LIBRARY_PATH
                   10201:   shlibpath_overrides_runpath=yes
                   10202:   hardcode_into_libs=yes
                   10203:   # ldd complains unless libraries are executable
                   10204:   postinstall_cmds='chmod +x $lib'
                   10205:   ;;
                   10206: 
                   10207: sunos4*)
                   10208:   version_type=sunos
                   10209:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   10210:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   10211:   shlibpath_var=LD_LIBRARY_PATH
                   10212:   shlibpath_overrides_runpath=yes
                   10213:   if test "$with_gnu_ld" = yes; then
                   10214:     need_lib_prefix=no
                   10215:   fi
                   10216:   need_version=yes
                   10217:   ;;
                   10218: 
                   10219: sysv4 | sysv4.3*)
                   10220:   version_type=linux
                   10221:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10222:   soname_spec='${libname}${release}${shared_ext}$major'
                   10223:   shlibpath_var=LD_LIBRARY_PATH
                   10224:   case $host_vendor in
                   10225:     sni)
                   10226:       shlibpath_overrides_runpath=no
                   10227:       need_lib_prefix=no
                   10228:       runpath_var=LD_RUN_PATH
                   10229:       ;;
                   10230:     siemens)
                   10231:       need_lib_prefix=no
                   10232:       ;;
                   10233:     motorola)
                   10234:       need_lib_prefix=no
                   10235:       need_version=no
                   10236:       shlibpath_overrides_runpath=no
                   10237:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   10238:       ;;
                   10239:   esac
                   10240:   ;;
                   10241: 
                   10242: sysv4*MP*)
                   10243:   if test -d /usr/nec ;then
                   10244:     version_type=linux
                   10245:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   10246:     soname_spec='$libname${shared_ext}.$major'
                   10247:     shlibpath_var=LD_LIBRARY_PATH
                   10248:   fi
                   10249:   ;;
                   10250: 
                   10251: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   10252:   version_type=freebsd-elf
                   10253:   need_lib_prefix=no
                   10254:   need_version=no
                   10255:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   10256:   soname_spec='${libname}${release}${shared_ext}$major'
                   10257:   shlibpath_var=LD_LIBRARY_PATH
                   10258:   shlibpath_overrides_runpath=yes
                   10259:   hardcode_into_libs=yes
                   10260:   if test "$with_gnu_ld" = yes; then
                   10261:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   10262:   else
                   10263:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   10264:     case $host_os in
                   10265:       sco3.2v5*)
                   10266:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   10267:        ;;
                   10268:     esac
                   10269:   fi
                   10270:   sys_lib_dlsearch_path_spec='/usr/lib'
                   10271:   ;;
                   10272: 
                   10273: tpf*)
                   10274:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   10275:   version_type=linux
                   10276:   need_lib_prefix=no
                   10277:   need_version=no
                   10278:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10279:   shlibpath_var=LD_LIBRARY_PATH
                   10280:   shlibpath_overrides_runpath=no
                   10281:   hardcode_into_libs=yes
                   10282:   ;;
                   10283: 
                   10284: uts4*)
                   10285:   version_type=linux
                   10286:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10287:   soname_spec='${libname}${release}${shared_ext}$major'
                   10288:   shlibpath_var=LD_LIBRARY_PATH
                   10289:   ;;
                   10290: 
                   10291: *)
                   10292:   dynamic_linker=no
                   10293:   ;;
                   10294: esac
1.1.1.2 ! misho    10295: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
1.1       misho    10296: $as_echo "$dynamic_linker" >&6; }
                   10297: test "$dynamic_linker" = no && can_build_shared=no
                   10298: 
                   10299: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   10300: if test "$GCC" = yes; then
                   10301:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   10302: fi
                   10303: 
                   10304: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   10305:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   10306: fi
                   10307: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   10308:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   10309: fi
                   10310: 
                   10311: 
                   10312: 
                   10313: 
                   10314: 
                   10315: 
                   10316: 
                   10317: 
                   10318: 
                   10319: 
                   10320: 
                   10321: 
                   10322: 
                   10323: 
                   10324: 
                   10325: 
                   10326: 
                   10327: 
                   10328: 
                   10329: 
                   10330: 
                   10331: 
                   10332: 
                   10333: 
                   10334: 
                   10335: 
                   10336: 
                   10337: 
                   10338: 
                   10339: 
                   10340: 
                   10341: 
                   10342: 
                   10343: 
                   10344: 
                   10345: 
                   10346: 
                   10347: 
                   10348: 
                   10349: 
                   10350: 
                   10351: 
                   10352: 
                   10353: 
                   10354: 
                   10355: 
                   10356: 
                   10357: 
                   10358: 
                   10359: 
                   10360: 
                   10361: 
                   10362: 
                   10363: 
                   10364: 
                   10365: 
                   10366: 
                   10367: 
                   10368: 
                   10369: 
                   10370: 
                   10371: 
                   10372: 
                   10373: 
                   10374: 
                   10375: 
                   10376: 
                   10377: 
                   10378: 
                   10379: 
                   10380: 
                   10381: 
                   10382: 
                   10383: 
                   10384: 
                   10385: 
                   10386: 
                   10387: 
                   10388: 
                   10389: 
                   10390: 
                   10391: 
                   10392: 
                   10393: 
                   10394: 
                   10395: 
                   10396: 
1.1.1.2 ! misho    10397: 
        !          10398: 
        !          10399: 
        !          10400: 
        !          10401: 
        !          10402:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
1.1       misho    10403: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
                   10404: hardcode_action=
                   10405: if test -n "$hardcode_libdir_flag_spec" ||
                   10406:    test -n "$runpath_var" ||
                   10407:    test "X$hardcode_automatic" = "Xyes" ; then
                   10408: 
                   10409:   # We can hardcode non-existent directories.
                   10410:   if test "$hardcode_direct" != no &&
                   10411:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   10412:      # have to relink, otherwise we might link with an installed library
                   10413:      # when we should be linking with a yet-to-be-installed one
                   10414:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
                   10415:      test "$hardcode_minus_L" != no; then
                   10416:     # Linking always hardcodes the temporary library directory.
                   10417:     hardcode_action=relink
                   10418:   else
                   10419:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   10420:     hardcode_action=immediate
                   10421:   fi
                   10422: else
                   10423:   # We cannot hardcode anything, or else we can only hardcode existing
                   10424:   # directories.
                   10425:   hardcode_action=unsupported
                   10426: fi
1.1.1.2 ! misho    10427: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
1.1       misho    10428: $as_echo "$hardcode_action" >&6; }
                   10429: 
                   10430: if test "$hardcode_action" = relink ||
                   10431:    test "$inherit_rpath" = yes; then
                   10432:   # Fast installation is not supported
                   10433:   enable_fast_install=no
                   10434: elif test "$shlibpath_overrides_runpath" = yes ||
                   10435:      test "$enable_shared" = no; then
                   10436:   # Fast installation is not necessary
                   10437:   enable_fast_install=needless
                   10438: fi
                   10439: 
                   10440: 
                   10441: 
                   10442: 
                   10443: 
                   10444: 
                   10445:   if test "x$enable_dlopen" != xyes; then
                   10446:   enable_dlopen=unknown
                   10447:   enable_dlopen_self=unknown
                   10448:   enable_dlopen_self_static=unknown
                   10449: else
                   10450:   lt_cv_dlopen=no
                   10451:   lt_cv_dlopen_libs=
                   10452: 
                   10453:   case $host_os in
                   10454:   beos*)
                   10455:     lt_cv_dlopen="load_add_on"
                   10456:     lt_cv_dlopen_libs=
                   10457:     lt_cv_dlopen_self=yes
                   10458:     ;;
                   10459: 
                   10460:   mingw* | pw32* | cegcc*)
                   10461:     lt_cv_dlopen="LoadLibrary"
                   10462:     lt_cv_dlopen_libs=
                   10463:     ;;
                   10464: 
                   10465:   cygwin*)
                   10466:     lt_cv_dlopen="dlopen"
                   10467:     lt_cv_dlopen_libs=
                   10468:     ;;
                   10469: 
                   10470:   darwin*)
                   10471:   # if libdl is installed we need to link against it
1.1.1.2 ! misho    10472:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
1.1       misho    10473: $as_echo_n "checking for dlopen in -ldl... " >&6; }
1.1.1.2 ! misho    10474: if ${ac_cv_lib_dl_dlopen+:} false; then :
1.1       misho    10475:   $as_echo_n "(cached) " >&6
                   10476: else
                   10477:   ac_check_lib_save_LIBS=$LIBS
                   10478: LIBS="-ldl  $LIBS"
1.1.1.2 ! misho    10479: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    10480: /* end confdefs.h.  */
                   10481: 
                   10482: /* Override any GCC internal prototype to avoid an error.
                   10483:    Use char because int might match the return type of a GCC
                   10484:    builtin and then its argument prototype would still apply.  */
                   10485: #ifdef __cplusplus
                   10486: extern "C"
                   10487: #endif
                   10488: char dlopen ();
                   10489: int
                   10490: main ()
                   10491: {
                   10492: return dlopen ();
                   10493:   ;
                   10494:   return 0;
                   10495: }
                   10496: _ACEOF
1.1.1.2 ! misho    10497: if ac_fn_c_try_link "$LINENO"; then :
1.1       misho    10498:   ac_cv_lib_dl_dlopen=yes
                   10499: else
1.1.1.2 ! misho    10500:   ac_cv_lib_dl_dlopen=no
1.1       misho    10501: fi
1.1.1.2 ! misho    10502: rm -f core conftest.err conftest.$ac_objext \
        !          10503:     conftest$ac_exeext conftest.$ac_ext
1.1       misho    10504: LIBS=$ac_check_lib_save_LIBS
                   10505: fi
1.1.1.2 ! misho    10506: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
1.1       misho    10507: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
1.1.1.2 ! misho    10508: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1.1       misho    10509:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   10510: else
                   10511: 
                   10512:     lt_cv_dlopen="dyld"
                   10513:     lt_cv_dlopen_libs=
                   10514:     lt_cv_dlopen_self=yes
                   10515: 
                   10516: fi
                   10517: 
                   10518:     ;;
                   10519: 
                   10520:   *)
1.1.1.2 ! misho    10521:     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
        !          10522: if test "x$ac_cv_func_shl_load" = xyes; then :
1.1       misho    10523:   lt_cv_dlopen="shl_load"
                   10524: else
1.1.1.2 ! misho    10525:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
1.1       misho    10526: $as_echo_n "checking for shl_load in -ldld... " >&6; }
1.1.1.2 ! misho    10527: if ${ac_cv_lib_dld_shl_load+:} false; then :
1.1       misho    10528:   $as_echo_n "(cached) " >&6
                   10529: else
                   10530:   ac_check_lib_save_LIBS=$LIBS
                   10531: LIBS="-ldld  $LIBS"
1.1.1.2 ! misho    10532: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    10533: /* end confdefs.h.  */
                   10534: 
                   10535: /* Override any GCC internal prototype to avoid an error.
                   10536:    Use char because int might match the return type of a GCC
                   10537:    builtin and then its argument prototype would still apply.  */
                   10538: #ifdef __cplusplus
                   10539: extern "C"
                   10540: #endif
                   10541: char shl_load ();
                   10542: int
                   10543: main ()
                   10544: {
                   10545: return shl_load ();
                   10546:   ;
                   10547:   return 0;
                   10548: }
                   10549: _ACEOF
1.1.1.2 ! misho    10550: if ac_fn_c_try_link "$LINENO"; then :
1.1       misho    10551:   ac_cv_lib_dld_shl_load=yes
                   10552: else
1.1.1.2 ! misho    10553:   ac_cv_lib_dld_shl_load=no
1.1       misho    10554: fi
1.1.1.2 ! misho    10555: rm -f core conftest.err conftest.$ac_objext \
        !          10556:     conftest$ac_exeext conftest.$ac_ext
1.1       misho    10557: LIBS=$ac_check_lib_save_LIBS
                   10558: fi
1.1.1.2 ! misho    10559: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
1.1       misho    10560: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
1.1.1.2 ! misho    10561: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
1.1       misho    10562:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
                   10563: else
1.1.1.2 ! misho    10564:   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
        !          10565: if test "x$ac_cv_func_dlopen" = xyes; then :
1.1       misho    10566:   lt_cv_dlopen="dlopen"
                   10567: else
1.1.1.2 ! misho    10568:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
1.1       misho    10569: $as_echo_n "checking for dlopen in -ldl... " >&6; }
1.1.1.2 ! misho    10570: if ${ac_cv_lib_dl_dlopen+:} false; then :
1.1       misho    10571:   $as_echo_n "(cached) " >&6
                   10572: else
                   10573:   ac_check_lib_save_LIBS=$LIBS
                   10574: LIBS="-ldl  $LIBS"
1.1.1.2 ! misho    10575: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    10576: /* end confdefs.h.  */
                   10577: 
                   10578: /* Override any GCC internal prototype to avoid an error.
                   10579:    Use char because int might match the return type of a GCC
                   10580:    builtin and then its argument prototype would still apply.  */
                   10581: #ifdef __cplusplus
                   10582: extern "C"
                   10583: #endif
                   10584: char dlopen ();
                   10585: int
                   10586: main ()
                   10587: {
                   10588: return dlopen ();
                   10589:   ;
                   10590:   return 0;
                   10591: }
                   10592: _ACEOF
1.1.1.2 ! misho    10593: if ac_fn_c_try_link "$LINENO"; then :
1.1       misho    10594:   ac_cv_lib_dl_dlopen=yes
                   10595: else
1.1.1.2 ! misho    10596:   ac_cv_lib_dl_dlopen=no
1.1       misho    10597: fi
1.1.1.2 ! misho    10598: rm -f core conftest.err conftest.$ac_objext \
        !          10599:     conftest$ac_exeext conftest.$ac_ext
1.1       misho    10600: LIBS=$ac_check_lib_save_LIBS
                   10601: fi
1.1.1.2 ! misho    10602: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
1.1       misho    10603: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
1.1.1.2 ! misho    10604: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1.1       misho    10605:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   10606: else
1.1.1.2 ! misho    10607:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
1.1       misho    10608: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
1.1.1.2 ! misho    10609: if ${ac_cv_lib_svld_dlopen+:} false; then :
1.1       misho    10610:   $as_echo_n "(cached) " >&6
                   10611: else
                   10612:   ac_check_lib_save_LIBS=$LIBS
                   10613: LIBS="-lsvld  $LIBS"
1.1.1.2 ! misho    10614: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    10615: /* end confdefs.h.  */
                   10616: 
                   10617: /* Override any GCC internal prototype to avoid an error.
                   10618:    Use char because int might match the return type of a GCC
                   10619:    builtin and then its argument prototype would still apply.  */
                   10620: #ifdef __cplusplus
                   10621: extern "C"
                   10622: #endif
1.1.1.2 ! misho    10623: char dlopen ();
        !          10624: int
        !          10625: main ()
        !          10626: {
        !          10627: return dlopen ();
        !          10628:   ;
        !          10629:   return 0;
        !          10630: }
        !          10631: _ACEOF
        !          10632: if ac_fn_c_try_link "$LINENO"; then :
1.1       misho    10633:   ac_cv_lib_svld_dlopen=yes
                   10634: else
1.1.1.2 ! misho    10635:   ac_cv_lib_svld_dlopen=no
1.1       misho    10636: fi
1.1.1.2 ! misho    10637: rm -f core conftest.err conftest.$ac_objext \
        !          10638:     conftest$ac_exeext conftest.$ac_ext
1.1       misho    10639: LIBS=$ac_check_lib_save_LIBS
                   10640: fi
1.1.1.2 ! misho    10641: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
1.1       misho    10642: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
1.1.1.2 ! misho    10643: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
1.1       misho    10644:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
                   10645: else
1.1.1.2 ! misho    10646:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
1.1       misho    10647: $as_echo_n "checking for dld_link in -ldld... " >&6; }
1.1.1.2 ! misho    10648: if ${ac_cv_lib_dld_dld_link+:} false; then :
1.1       misho    10649:   $as_echo_n "(cached) " >&6
                   10650: else
                   10651:   ac_check_lib_save_LIBS=$LIBS
                   10652: LIBS="-ldld  $LIBS"
1.1.1.2 ! misho    10653: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    10654: /* end confdefs.h.  */
                   10655: 
                   10656: /* Override any GCC internal prototype to avoid an error.
                   10657:    Use char because int might match the return type of a GCC
                   10658:    builtin and then its argument prototype would still apply.  */
                   10659: #ifdef __cplusplus
                   10660: extern "C"
                   10661: #endif
                   10662: char dld_link ();
                   10663: int
                   10664: main ()
                   10665: {
                   10666: return dld_link ();
                   10667:   ;
                   10668:   return 0;
                   10669: }
                   10670: _ACEOF
1.1.1.2 ! misho    10671: if ac_fn_c_try_link "$LINENO"; then :
1.1       misho    10672:   ac_cv_lib_dld_dld_link=yes
                   10673: else
1.1.1.2 ! misho    10674:   ac_cv_lib_dld_dld_link=no
1.1       misho    10675: fi
1.1.1.2 ! misho    10676: rm -f core conftest.err conftest.$ac_objext \
        !          10677:     conftest$ac_exeext conftest.$ac_ext
1.1       misho    10678: LIBS=$ac_check_lib_save_LIBS
                   10679: fi
1.1.1.2 ! misho    10680: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
1.1       misho    10681: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
1.1.1.2 ! misho    10682: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
1.1       misho    10683:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
                   10684: fi
                   10685: 
                   10686: 
                   10687: fi
                   10688: 
                   10689: 
                   10690: fi
                   10691: 
                   10692: 
                   10693: fi
                   10694: 
                   10695: 
                   10696: fi
                   10697: 
                   10698: 
                   10699: fi
                   10700: 
                   10701:     ;;
                   10702:   esac
                   10703: 
                   10704:   if test "x$lt_cv_dlopen" != xno; then
                   10705:     enable_dlopen=yes
                   10706:   else
                   10707:     enable_dlopen=no
                   10708:   fi
                   10709: 
                   10710:   case $lt_cv_dlopen in
                   10711:   dlopen)
                   10712:     save_CPPFLAGS="$CPPFLAGS"
                   10713:     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
                   10714: 
                   10715:     save_LDFLAGS="$LDFLAGS"
                   10716:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
                   10717: 
                   10718:     save_LIBS="$LIBS"
                   10719:     LIBS="$lt_cv_dlopen_libs $LIBS"
                   10720: 
1.1.1.2 ! misho    10721:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
1.1       misho    10722: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
1.1.1.2 ! misho    10723: if ${lt_cv_dlopen_self+:} false; then :
1.1       misho    10724:   $as_echo_n "(cached) " >&6
                   10725: else
                   10726:          if test "$cross_compiling" = yes; then :
                   10727:   lt_cv_dlopen_self=cross
                   10728: else
                   10729:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   10730:   lt_status=$lt_dlunknown
                   10731:   cat > conftest.$ac_ext <<_LT_EOF
1.1.1.2 ! misho    10732: #line $LINENO "configure"
1.1       misho    10733: #include "confdefs.h"
                   10734: 
                   10735: #if HAVE_DLFCN_H
                   10736: #include <dlfcn.h>
                   10737: #endif
                   10738: 
                   10739: #include <stdio.h>
                   10740: 
                   10741: #ifdef RTLD_GLOBAL
                   10742: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   10743: #else
                   10744: #  ifdef DL_GLOBAL
                   10745: #    define LT_DLGLOBAL                DL_GLOBAL
                   10746: #  else
                   10747: #    define LT_DLGLOBAL                0
                   10748: #  endif
                   10749: #endif
                   10750: 
                   10751: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   10752:    find out it does not work in some platform. */
                   10753: #ifndef LT_DLLAZY_OR_NOW
                   10754: #  ifdef RTLD_LAZY
                   10755: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   10756: #  else
                   10757: #    ifdef DL_LAZY
                   10758: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   10759: #    else
                   10760: #      ifdef RTLD_NOW
                   10761: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   10762: #      else
                   10763: #        ifdef DL_NOW
                   10764: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   10765: #        else
                   10766: #          define LT_DLLAZY_OR_NOW     0
                   10767: #        endif
                   10768: #      endif
                   10769: #    endif
                   10770: #  endif
                   10771: #endif
                   10772: 
1.1.1.2 ! misho    10773: /* When -fvisbility=hidden is used, assume the code has been annotated
        !          10774:    correspondingly for the symbols needed.  */
        !          10775: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
        !          10776: int fnord () __attribute__((visibility("default")));
        !          10777: #endif
        !          10778: 
        !          10779: int fnord () { return 42; }
1.1       misho    10780: int main ()
                   10781: {
                   10782:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   10783:   int status = $lt_dlunknown;
                   10784: 
                   10785:   if (self)
                   10786:     {
                   10787:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
1.1.1.2 ! misho    10788:       else
        !          10789:         {
        !          10790:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
        !          10791:           else puts (dlerror ());
        !          10792:        }
1.1       misho    10793:       /* dlclose (self); */
                   10794:     }
                   10795:   else
                   10796:     puts (dlerror ());
                   10797: 
                   10798:   return status;
                   10799: }
                   10800: _LT_EOF
1.1.1.2 ! misho    10801:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.1       misho    10802:   (eval $ac_link) 2>&5
                   10803:   ac_status=$?
1.1.1.2 ! misho    10804:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          10805:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.1       misho    10806:     (./conftest; exit; ) >&5 2>/dev/null
                   10807:     lt_status=$?
                   10808:     case x$lt_status in
                   10809:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   10810:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
                   10811:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
                   10812:     esac
                   10813:   else :
                   10814:     # compilation failed
                   10815:     lt_cv_dlopen_self=no
                   10816:   fi
                   10817: fi
                   10818: rm -fr conftest*
                   10819: 
                   10820: 
                   10821: fi
1.1.1.2 ! misho    10822: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
1.1       misho    10823: $as_echo "$lt_cv_dlopen_self" >&6; }
                   10824: 
                   10825:     if test "x$lt_cv_dlopen_self" = xyes; then
                   10826:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
1.1.1.2 ! misho    10827:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
1.1       misho    10828: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
1.1.1.2 ! misho    10829: if ${lt_cv_dlopen_self_static+:} false; then :
1.1       misho    10830:   $as_echo_n "(cached) " >&6
                   10831: else
                   10832:          if test "$cross_compiling" = yes; then :
                   10833:   lt_cv_dlopen_self_static=cross
                   10834: else
                   10835:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   10836:   lt_status=$lt_dlunknown
                   10837:   cat > conftest.$ac_ext <<_LT_EOF
1.1.1.2 ! misho    10838: #line $LINENO "configure"
1.1       misho    10839: #include "confdefs.h"
                   10840: 
                   10841: #if HAVE_DLFCN_H
                   10842: #include <dlfcn.h>
                   10843: #endif
                   10844: 
                   10845: #include <stdio.h>
                   10846: 
                   10847: #ifdef RTLD_GLOBAL
                   10848: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   10849: #else
                   10850: #  ifdef DL_GLOBAL
                   10851: #    define LT_DLGLOBAL                DL_GLOBAL
                   10852: #  else
                   10853: #    define LT_DLGLOBAL                0
                   10854: #  endif
                   10855: #endif
                   10856: 
                   10857: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   10858:    find out it does not work in some platform. */
                   10859: #ifndef LT_DLLAZY_OR_NOW
                   10860: #  ifdef RTLD_LAZY
                   10861: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   10862: #  else
                   10863: #    ifdef DL_LAZY
                   10864: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   10865: #    else
                   10866: #      ifdef RTLD_NOW
                   10867: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   10868: #      else
                   10869: #        ifdef DL_NOW
                   10870: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   10871: #        else
                   10872: #          define LT_DLLAZY_OR_NOW     0
                   10873: #        endif
                   10874: #      endif
                   10875: #    endif
                   10876: #  endif
                   10877: #endif
                   10878: 
1.1.1.2 ! misho    10879: /* When -fvisbility=hidden is used, assume the code has been annotated
        !          10880:    correspondingly for the symbols needed.  */
        !          10881: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
        !          10882: int fnord () __attribute__((visibility("default")));
        !          10883: #endif
        !          10884: 
        !          10885: int fnord () { return 42; }
1.1       misho    10886: int main ()
                   10887: {
                   10888:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   10889:   int status = $lt_dlunknown;
                   10890: 
                   10891:   if (self)
                   10892:     {
                   10893:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
1.1.1.2 ! misho    10894:       else
        !          10895:         {
        !          10896:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
        !          10897:           else puts (dlerror ());
        !          10898:        }
1.1       misho    10899:       /* dlclose (self); */
                   10900:     }
                   10901:   else
                   10902:     puts (dlerror ());
                   10903: 
                   10904:   return status;
                   10905: }
                   10906: _LT_EOF
1.1.1.2 ! misho    10907:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.1       misho    10908:   (eval $ac_link) 2>&5
                   10909:   ac_status=$?
1.1.1.2 ! misho    10910:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
        !          10911:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1.1       misho    10912:     (./conftest; exit; ) >&5 2>/dev/null
                   10913:     lt_status=$?
                   10914:     case x$lt_status in
                   10915:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   10916:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
                   10917:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
                   10918:     esac
                   10919:   else :
                   10920:     # compilation failed
                   10921:     lt_cv_dlopen_self_static=no
                   10922:   fi
                   10923: fi
                   10924: rm -fr conftest*
                   10925: 
                   10926: 
                   10927: fi
1.1.1.2 ! misho    10928: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
1.1       misho    10929: $as_echo "$lt_cv_dlopen_self_static" >&6; }
                   10930:     fi
                   10931: 
                   10932:     CPPFLAGS="$save_CPPFLAGS"
                   10933:     LDFLAGS="$save_LDFLAGS"
                   10934:     LIBS="$save_LIBS"
                   10935:     ;;
                   10936:   esac
                   10937: 
                   10938:   case $lt_cv_dlopen_self in
                   10939:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   10940:   *) enable_dlopen_self=unknown ;;
                   10941:   esac
                   10942: 
                   10943:   case $lt_cv_dlopen_self_static in
                   10944:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   10945:   *) enable_dlopen_self_static=unknown ;;
                   10946:   esac
                   10947: fi
                   10948: 
                   10949: 
                   10950: 
                   10951: 
                   10952: 
                   10953: 
                   10954: 
                   10955: 
                   10956: 
                   10957: 
                   10958: 
                   10959: 
                   10960: 
                   10961: 
                   10962: 
                   10963: 
                   10964: 
                   10965: striplib=
                   10966: old_striplib=
1.1.1.2 ! misho    10967: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
1.1       misho    10968: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
                   10969: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
                   10970:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
                   10971:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
1.1.1.2 ! misho    10972:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1       misho    10973: $as_echo "yes" >&6; }
                   10974: else
                   10975: # FIXME - insert some real tests, host_os isn't really good enough
                   10976:   case $host_os in
                   10977:   darwin*)
                   10978:     if test -n "$STRIP" ; then
                   10979:       striplib="$STRIP -x"
                   10980:       old_striplib="$STRIP -S"
1.1.1.2 ! misho    10981:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1.1       misho    10982: $as_echo "yes" >&6; }
                   10983:     else
1.1.1.2 ! misho    10984:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    10985: $as_echo "no" >&6; }
                   10986:     fi
                   10987:     ;;
                   10988:   *)
1.1.1.2 ! misho    10989:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1.1       misho    10990: $as_echo "no" >&6; }
                   10991:     ;;
                   10992:   esac
                   10993: fi
                   10994: 
                   10995: 
                   10996: 
                   10997: 
                   10998: 
                   10999: 
                   11000: 
                   11001: 
                   11002: 
                   11003: 
                   11004: 
                   11005: 
                   11006:   # Report which library types will actually be built
1.1.1.2 ! misho    11007:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
1.1       misho    11008: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
1.1.1.2 ! misho    11009:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
1.1       misho    11010: $as_echo "$can_build_shared" >&6; }
                   11011: 
1.1.1.2 ! misho    11012:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
1.1       misho    11013: $as_echo_n "checking whether to build shared libraries... " >&6; }
                   11014:   test "$can_build_shared" = "no" && enable_shared=no
                   11015: 
                   11016:   # On AIX, shared libraries and static libraries use the same namespace, and
                   11017:   # are all built from PIC.
                   11018:   case $host_os in
                   11019:   aix3*)
                   11020:     test "$enable_shared" = yes && enable_static=no
                   11021:     if test -n "$RANLIB"; then
                   11022:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   11023:       postinstall_cmds='$RANLIB $lib'
                   11024:     fi
                   11025:     ;;
                   11026: 
                   11027:   aix[4-9]*)
                   11028:     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
                   11029:       test "$enable_shared" = yes && enable_static=no
                   11030:     fi
                   11031:     ;;
                   11032:   esac
1.1.1.2 ! misho    11033:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
1.1       misho    11034: $as_echo "$enable_shared" >&6; }
                   11035: 
1.1.1.2 ! misho    11036:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
1.1       misho    11037: $as_echo_n "checking whether to build static libraries... " >&6; }
                   11038:   # Make sure either enable_shared or enable_static is yes.
                   11039:   test "$enable_shared" = yes || enable_static=yes
1.1.1.2 ! misho    11040:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
1.1       misho    11041: $as_echo "$enable_static" >&6; }
                   11042: 
                   11043: 
                   11044: 
                   11045: 
                   11046: fi
                   11047: ac_ext=c
                   11048: ac_cpp='$CPP $CPPFLAGS'
                   11049: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   11050: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   11051: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   11052: 
                   11053: CC="$lt_save_CC"
                   11054: 
                   11055: 
                   11056: 
                   11057: 
                   11058: 
                   11059: 
                   11060: 
                   11061: 
                   11062: 
                   11063: 
                   11064: 
                   11065: 
                   11066: 
                   11067:         ac_config_commands="$ac_config_commands libtool"
                   11068: 
                   11069: 
                   11070: 
                   11071: 
                   11072: # Only expand once:
                   11073: 
                   11074: 
                   11075: 
                   11076: 
                   11077:   CFLAG_VISIBILITY=
                   11078:   HAVE_VISIBILITY=0
                   11079:   if test -n "$GCC"; then
1.1.1.2 ! misho    11080:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for simple visibility declarations" >&5
1.1       misho    11081: $as_echo_n "checking for simple visibility declarations... " >&6; }
1.1.1.2 ! misho    11082:     if ${gl_cv_cc_visibility+:} false; then :
1.1       misho    11083:   $as_echo_n "(cached) " >&6
                   11084: else
                   11085: 
                   11086:       gl_save_CFLAGS="$CFLAGS"
                   11087:       CFLAGS="$CFLAGS -fvisibility=hidden"
1.1.1.2 ! misho    11088:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    11089: /* end confdefs.h.  */
                   11090: extern __attribute__((__visibility__("hidden"))) int hiddenvar;
                   11091:          extern __attribute__((__visibility__("default"))) int exportedvar;
                   11092:          extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
                   11093:          extern __attribute__((__visibility__("default"))) int exportedfunc (void);
                   11094: int
                   11095: main ()
                   11096: {
                   11097: 
                   11098:   ;
                   11099:   return 0;
                   11100: }
                   11101: _ACEOF
1.1.1.2 ! misho    11102: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misho    11103:   gl_cv_cc_visibility=yes
                   11104: else
1.1.1.2 ! misho    11105:   gl_cv_cc_visibility=no
1.1       misho    11106: fi
                   11107: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   11108:       CFLAGS="$gl_save_CFLAGS"
                   11109: fi
                   11110: 
1.1.1.2 ! misho    11111:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_cc_visibility" >&5
1.1       misho    11112: $as_echo "$gl_cv_cc_visibility" >&6; }
                   11113:     if test $gl_cv_cc_visibility = yes; then
                   11114:       CFLAG_VISIBILITY="-fvisibility=hidden"
                   11115:       HAVE_VISIBILITY=1
                   11116:     fi
                   11117:   fi
                   11118: 
                   11119: 
                   11120: 
                   11121: cat >>confdefs.h <<_ACEOF
                   11122: #define HAVE_VISIBILITY $HAVE_VISIBILITY
                   11123: _ACEOF
                   11124: 
                   11125: 
                   11126: 
                   11127: 
                   11128: 
1.1.1.2 ! misho    11129:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo and CODESET" >&5
1.1       misho    11130: $as_echo_n "checking for nl_langinfo and CODESET... " >&6; }
1.1.1.2 ! misho    11131: if ${am_cv_langinfo_codeset+:} false; then :
1.1       misho    11132:   $as_echo_n "(cached) " >&6
                   11133: else
1.1.1.2 ! misho    11134:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    11135: /* end confdefs.h.  */
                   11136: #include <langinfo.h>
                   11137: int
                   11138: main ()
                   11139: {
                   11140: char* cs = nl_langinfo(CODESET);
                   11141:   ;
                   11142:   return 0;
                   11143: }
                   11144: _ACEOF
1.1.1.2 ! misho    11145: if ac_fn_c_try_link "$LINENO"; then :
1.1       misho    11146:   am_cv_langinfo_codeset=yes
                   11147: else
1.1.1.2 ! misho    11148:   am_cv_langinfo_codeset=no
1.1       misho    11149: fi
1.1.1.2 ! misho    11150: rm -f core conftest.err conftest.$ac_objext \
        !          11151:     conftest$ac_exeext conftest.$ac_ext
1.1       misho    11152: 
                   11153: fi
1.1.1.2 ! misho    11154: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_langinfo_codeset" >&5
1.1       misho    11155: $as_echo "$am_cv_langinfo_codeset" >&6; }
                   11156:   if test $am_cv_langinfo_codeset = yes; then
                   11157: 
1.1.1.2 ! misho    11158: $as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h
1.1       misho    11159: 
                   11160:   fi
                   11161: 
                   11162: 
1.1.1.2 ! misho    11163: 
        !          11164:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fcntl.h" >&5
        !          11165: $as_echo_n "checking for working fcntl.h... " >&6; }
        !          11166: if ${gl_cv_header_working_fcntl_h+:} false; then :
1.1       misho    11167:   $as_echo_n "(cached) " >&6
                   11168: else
1.1.1.2 ! misho    11169:   if test "$cross_compiling" = yes; then :
        !          11170:   gl_cv_header_working_fcntl_h=cross-compiling
        !          11171: else
        !          11172:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
        !          11173: /* end confdefs.h.  */
        !          11174: #include <sys/types.h>
        !          11175:            #include <sys/stat.h>
        !          11176:            #include <unistd.h>
        !          11177:            #include <fcntl.h>
        !          11178:            #ifndef O_NOATIME
        !          11179:             #define O_NOATIME 0
        !          11180:            #endif
        !          11181:            #ifndef O_NOFOLLOW
        !          11182:             #define O_NOFOLLOW 0
        !          11183:            #endif
        !          11184:            static int const constants[] =
        !          11185:             {
        !          11186:               O_CREAT, O_EXCL, O_NOCTTY, O_TRUNC, O_APPEND,
        !          11187:               O_NONBLOCK, O_SYNC, O_ACCMODE, O_RDONLY, O_RDWR, O_WRONLY
        !          11188:             };
        !          11189: 
        !          11190: int
        !          11191: main ()
        !          11192: {
        !          11193: 
        !          11194:             int status = !constants;
        !          11195:             {
        !          11196:               static char const sym[] = "conftest.sym";
        !          11197:               if (symlink (".", sym) != 0
        !          11198:                   || close (open (sym, O_RDONLY | O_NOFOLLOW)) == 0)
        !          11199:                 status |= 32;
        !          11200:               unlink (sym);
        !          11201:             }
        !          11202:             {
        !          11203:               static char const file[] = "confdefs.h";
        !          11204:               int fd = open (file, O_RDONLY | O_NOATIME);
        !          11205:               char c;
        !          11206:               struct stat st0, st1;
        !          11207:               if (fd < 0
        !          11208:                   || fstat (fd, &st0) != 0
        !          11209:                   || sleep (1) != 0
        !          11210:                   || read (fd, &c, 1) != 1
        !          11211:                   || close (fd) != 0
        !          11212:                   || stat (file, &st1) != 0
        !          11213:                   || st0.st_atime != st1.st_atime)
        !          11214:                 status |= 64;
        !          11215:             }
        !          11216:             return status;
        !          11217:   ;
        !          11218:   return 0;
        !          11219: }
        !          11220: _ACEOF
        !          11221: if ac_fn_c_try_run "$LINENO"; then :
        !          11222:   gl_cv_header_working_fcntl_h=yes
        !          11223: else
        !          11224:   case $? in #(
        !          11225:         32) gl_cv_header_working_fcntl_h='no (bad O_NOFOLLOW)';; #(
        !          11226:         64) gl_cv_header_working_fcntl_h='no (bad O_NOATIME)';; #(
        !          11227:         96) gl_cv_header_working_fcntl_h='no (bad O_NOATIME, O_NOFOLLOW)';; #(
        !          11228:          *) gl_cv_header_working_fcntl_h='no';;
        !          11229:         esac
        !          11230: fi
        !          11231: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
        !          11232:   conftest.$ac_objext conftest.beam conftest.$ac_ext
        !          11233: fi
        !          11234: 
        !          11235: fi
        !          11236: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_fcntl_h" >&5
        !          11237: $as_echo "$gl_cv_header_working_fcntl_h" >&6; }
        !          11238: 
        !          11239:   case $gl_cv_header_working_fcntl_h in #(
        !          11240:   *O_NOATIME* | no | cross-compiling) ac_val=0;; #(
        !          11241:   *) ac_val=1;;
        !          11242:   esac
        !          11243: 
        !          11244: cat >>confdefs.h <<_ACEOF
        !          11245: #define HAVE_WORKING_O_NOATIME $ac_val
        !          11246: _ACEOF
        !          11247: 
        !          11248: 
        !          11249:   case $gl_cv_header_working_fcntl_h in #(
        !          11250:   *O_NOFOLLOW* | no | cross-compiling) ac_val=0;; #(
        !          11251:   *) ac_val=1;;
        !          11252:   esac
        !          11253: 
        !          11254: cat >>confdefs.h <<_ACEOF
        !          11255: #define HAVE_WORKING_O_NOFOLLOW $ac_val
1.1       misho    11256: _ACEOF
1.1.1.2 ! misho    11257: 
        !          11258: 
        !          11259: 
        !          11260:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C Library 2.1 or newer" >&5
        !          11261: $as_echo_n "checking whether we are using the GNU C Library 2.1 or newer... " >&6; }
        !          11262: if ${ac_cv_gnu_library_2_1+:} false; then :
        !          11263:   $as_echo_n "(cached) " >&6
        !          11264: else
        !          11265:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misho    11266: /* end confdefs.h.  */
                   11267: 
                   11268: #include <features.h>
                   11269: #ifdef __GNU_LIBRARY__
                   11270:  #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
                   11271:   Lucky GNU user
                   11272:  #endif
                   11273: #endif
                   11274: 
                   11275: _ACEOF
                   11276: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.1.1.2 ! misho    11277:   $EGREP "Lucky GNU user" >/dev/null 2>&1; then :
1.1       misho    11278:   ac_cv_gnu_library_2_1=yes
                   11279: else
                   11280:   ac_cv_gnu_library_2_1=no
                   11281: fi
                   11282: rm -f conftest*
                   11283: 
                   11284: 
                   11285: 
                   11286: fi
1.1.1.2 ! misho    11287: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_gnu_library_2_1" >&5
1.1       misho    11288: $as_echo "$ac_cv_gnu_library_2_1" >&6; }
                   11289: 
                   11290:     GLIBC21="$ac_cv_gnu_library_2_1"
                   11291: 
                   11292: 
                   11293: for ac_func in setlocale
1.1.1.2 ! misho    11294: do :
        !          11295:   ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale"
        !          11296: if test "x$ac_cv_func_setlocale" = xyes; then :
1.1       misho    11297:   cat >>confdefs.h <<_ACEOF
1.1.1.2 ! misho    11298: #define HAVE_SETLOCALE 1
1.1       misho    11299: _ACEOF
                   11300: 
                   11301: fi
                   11302: done
                   11303: 
                   11304: 
                   11305: ac_config_files="$ac_config_files Makefile"
                   11306: 
                   11307: ac_config_files="$ac_config_files lib/Makefile"
                   11308: 
                   11309: ac_config_files="$ac_config_files include/localcharset.h:include/localcharset.h.build.in"
                   11310: 
                   11311: ac_config_files="$ac_config_files include/localcharset.h.inst:include/localcharset.h.in"
                   11312: 
                   11313: cat >confcache <<\_ACEOF
                   11314: # This file is a shell script that caches the results of configure
                   11315: # tests run on this system so they can be shared between configure
                   11316: # scripts and configure runs, see configure's option --config-cache.
                   11317: # It is not useful on other systems.  If it contains results you don't
                   11318: # want to keep, you may remove or edit it.
                   11319: #
                   11320: # config.status only pays attention to the cache file if you give it
                   11321: # the --recheck option to rerun configure.
                   11322: #
                   11323: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   11324: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   11325: # following values.
                   11326: 
                   11327: _ACEOF
                   11328: 
                   11329: # The following way of writing the cache mishandles newlines in values,
                   11330: # but we know of no workaround that is simple, portable, and efficient.
                   11331: # So, we kill variables containing newlines.
                   11332: # Ultrix sh set writes to stderr and can't be redirected directly,
                   11333: # and sets the high bit in the cache file unless we assign to the vars.
                   11334: (
                   11335:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   11336:     eval ac_val=\$$ac_var
                   11337:     case $ac_val in #(
                   11338:     *${as_nl}*)
                   11339:       case $ac_var in #(
1.1.1.2 ! misho    11340:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1.1       misho    11341: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   11342:       esac
                   11343:       case $ac_var in #(
                   11344:       _ | IFS | as_nl) ;; #(
                   11345:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1.1.1.2 ! misho    11346:       *) { eval $ac_var=; unset $ac_var;} ;;
1.1       misho    11347:       esac ;;
                   11348:     esac
                   11349:   done
                   11350: 
                   11351:   (set) 2>&1 |
                   11352:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   11353:     *${as_nl}ac_space=\ *)
1.1.1.2 ! misho    11354:       # `set' does not quote correctly, so add quotes: double-quote
        !          11355:       # substitution turns \\\\ into \\, and sed turns \\ into \.
1.1       misho    11356:       sed -n \
                   11357:        "s/'/'\\\\''/g;
                   11358:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
                   11359:       ;; #(
                   11360:     *)
                   11361:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   11362:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   11363:       ;;
                   11364:     esac |
                   11365:     sort
                   11366: ) |
                   11367:   sed '
                   11368:      /^ac_cv_env_/b end
                   11369:      t clear
                   11370:      :clear
                   11371:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   11372:      t end
                   11373:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   11374:      :end' >>confcache
                   11375: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   11376:   if test -w "$cache_file"; then
1.1.1.2 ! misho    11377:     if test "x$cache_file" != "x/dev/null"; then
        !          11378:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
1.1       misho    11379: $as_echo "$as_me: updating cache $cache_file" >&6;}
1.1.1.2 ! misho    11380:       if test ! -f "$cache_file" || test -h "$cache_file"; then
        !          11381:        cat confcache >"$cache_file"
        !          11382:       else
        !          11383:         case $cache_file in #(
        !          11384:         */* | ?:*)
        !          11385:          mv -f confcache "$cache_file"$$ &&
        !          11386:          mv -f "$cache_file"$$ "$cache_file" ;; #(
        !          11387:         *)
        !          11388:          mv -f confcache "$cache_file" ;;
        !          11389:        esac
        !          11390:       fi
        !          11391:     fi
1.1       misho    11392:   else
1.1.1.2 ! misho    11393:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
1.1       misho    11394: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
                   11395:   fi
                   11396: fi
                   11397: rm -f confcache
                   11398: 
                   11399: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   11400: # Let make expand exec_prefix.
                   11401: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   11402: 
                   11403: DEFS=-DHAVE_CONFIG_H
                   11404: 
                   11405: ac_libobjs=
                   11406: ac_ltlibobjs=
1.1.1.2 ! misho    11407: U=
1.1       misho    11408: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   11409:   # 1. Remove the extension, and $U if already installed.
                   11410:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
                   11411:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
                   11412:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   11413:   #    will be set to the directory where LIBOBJS objects are built.
1.1.1.2 ! misho    11414:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
        !          11415:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
1.1       misho    11416: done
                   11417: LIBOBJS=$ac_libobjs
                   11418: 
                   11419: LTLIBOBJS=$ac_ltlibobjs
                   11420: 
                   11421: 
                   11422: 
1.1.1.2 ! misho    11423: : "${CONFIG_STATUS=./config.status}"
1.1       misho    11424: ac_write_fail=0
                   11425: ac_clean_files_save=$ac_clean_files
                   11426: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1.1.1.2 ! misho    11427: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
1.1       misho    11428: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
1.1.1.2 ! misho    11429: as_write_fail=0
        !          11430: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1.1       misho    11431: #! $SHELL
                   11432: # Generated by $as_me.
                   11433: # Run this file to recreate the current configuration.
                   11434: # Compiler output produced by configure, useful for debugging
                   11435: # configure, is in config.log if it exists.
                   11436: 
                   11437: debug=false
                   11438: ac_cs_recheck=false
                   11439: ac_cs_silent=false
                   11440: 
1.1.1.2 ! misho    11441: SHELL=\${CONFIG_SHELL-$SHELL}
        !          11442: export SHELL
        !          11443: _ASEOF
        !          11444: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
        !          11445: ## -------------------- ##
        !          11446: ## M4sh Initialization. ##
        !          11447: ## -------------------- ##
1.1       misho    11448: 
                   11449: # Be more Bourne compatible
                   11450: DUALCASE=1; export DUALCASE # for MKS sh
1.1.1.2 ! misho    11451: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.1       misho    11452:   emulate sh
                   11453:   NULLCMD=:
                   11454:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
                   11455:   # is contrary to our usage.  Disable this feature.
                   11456:   alias -g '${1+"$@"}'='"$@"'
                   11457:   setopt NO_GLOB_SUBST
                   11458: else
1.1.1.2 ! misho    11459:   case `(set -o) 2>/dev/null` in #(
        !          11460:   *posix*) :
        !          11461:     set -o posix ;; #(
        !          11462:   *) :
        !          11463:      ;;
1.1       misho    11464: esac
                   11465: fi
                   11466: 
                   11467: 
                   11468: as_nl='
                   11469: '
                   11470: export as_nl
                   11471: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                   11472: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   11473: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                   11474: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
1.1.1.2 ! misho    11475: # Prefer a ksh shell builtin over an external printf program on Solaris,
        !          11476: # but without wasting forks for bash or zsh.
        !          11477: if test -z "$BASH_VERSION$ZSH_VERSION" \
        !          11478:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
        !          11479:   as_echo='print -r --'
        !          11480:   as_echo_n='print -rn --'
        !          11481: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
1.1       misho    11482:   as_echo='printf %s\n'
                   11483:   as_echo_n='printf %s'
                   11484: else
                   11485:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                   11486:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                   11487:     as_echo_n='/usr/ucb/echo -n'
                   11488:   else
                   11489:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                   11490:     as_echo_n_body='eval
                   11491:       arg=$1;
1.1.1.2 ! misho    11492:       case $arg in #(
1.1       misho    11493:       *"$as_nl"*)
                   11494:        expr "X$arg" : "X\\(.*\\)$as_nl";
                   11495:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                   11496:       esac;
                   11497:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                   11498:     '
                   11499:     export as_echo_n_body
                   11500:     as_echo_n='sh -c $as_echo_n_body as_echo'
                   11501:   fi
                   11502:   export as_echo_body
                   11503:   as_echo='sh -c $as_echo_body as_echo'
                   11504: fi
                   11505: 
                   11506: # The user is always right.
                   11507: if test "${PATH_SEPARATOR+set}" != set; then
                   11508:   PATH_SEPARATOR=:
                   11509:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   11510:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   11511:       PATH_SEPARATOR=';'
                   11512:   }
                   11513: fi
                   11514: 
                   11515: 
                   11516: # IFS
                   11517: # We need space, tab and new line, in precisely that order.  Quoting is
                   11518: # there to prevent editors from complaining about space-tab.
                   11519: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                   11520: # splitting by setting IFS to empty value.)
                   11521: IFS=" ""       $as_nl"
                   11522: 
                   11523: # Find who we are.  Look in the path if we contain no directory separator.
1.1.1.2 ! misho    11524: as_myself=
        !          11525: case $0 in #((
1.1       misho    11526:   *[\\/]* ) as_myself=$0 ;;
                   11527:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   11528: for as_dir in $PATH
                   11529: do
                   11530:   IFS=$as_save_IFS
                   11531:   test -z "$as_dir" && as_dir=.
1.1.1.2 ! misho    11532:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
        !          11533:   done
1.1       misho    11534: IFS=$as_save_IFS
                   11535: 
                   11536:      ;;
                   11537: esac
                   11538: # We did not find ourselves, most probably we were run as `sh COMMAND'
                   11539: # in which case we are not to be found in the path.
                   11540: if test "x$as_myself" = x; then
                   11541:   as_myself=$0
                   11542: fi
                   11543: if test ! -f "$as_myself"; then
                   11544:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
1.1.1.2 ! misho    11545:   exit 1
1.1       misho    11546: fi
                   11547: 
1.1.1.2 ! misho    11548: # Unset variables that we do not need and which cause bugs (e.g. in
        !          11549: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
        !          11550: # suppresses any "Segmentation fault" message there.  '((' could
        !          11551: # trigger a bug in pdksh 5.2.14.
        !          11552: for as_var in BASH_ENV ENV MAIL MAILPATH
        !          11553: do eval test x\${$as_var+set} = xset \
        !          11554:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
1.1       misho    11555: done
                   11556: PS1='$ '
                   11557: PS2='> '
                   11558: PS4='+ '
                   11559: 
                   11560: # NLS nuisances.
                   11561: LC_ALL=C
                   11562: export LC_ALL
                   11563: LANGUAGE=C
                   11564: export LANGUAGE
                   11565: 
                   11566: # CDPATH.
1.1.1.2 ! misho    11567: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
        !          11568: 
1.1       misho    11569: 
1.1.1.2 ! misho    11570: # as_fn_error STATUS ERROR [LINENO LOG_FD]
        !          11571: # ----------------------------------------
        !          11572: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
        !          11573: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
        !          11574: # script with STATUS, using 1 if that was 0.
        !          11575: as_fn_error ()
        !          11576: {
        !          11577:   as_status=$1; test $as_status -eq 0 && as_status=1
        !          11578:   if test "$4"; then
        !          11579:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
        !          11580:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
        !          11581:   fi
        !          11582:   $as_echo "$as_me: error: $2" >&2
        !          11583:   as_fn_exit $as_status
        !          11584: } # as_fn_error
        !          11585: 
        !          11586: 
        !          11587: # as_fn_set_status STATUS
        !          11588: # -----------------------
        !          11589: # Set $? to STATUS, without forking.
        !          11590: as_fn_set_status ()
        !          11591: {
        !          11592:   return $1
        !          11593: } # as_fn_set_status
        !          11594: 
        !          11595: # as_fn_exit STATUS
        !          11596: # -----------------
        !          11597: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
        !          11598: as_fn_exit ()
        !          11599: {
        !          11600:   set +e
        !          11601:   as_fn_set_status $1
        !          11602:   exit $1
        !          11603: } # as_fn_exit
        !          11604: 
        !          11605: # as_fn_unset VAR
        !          11606: # ---------------
        !          11607: # Portably unset VAR.
        !          11608: as_fn_unset ()
        !          11609: {
        !          11610:   { eval $1=; unset $1;}
        !          11611: }
        !          11612: as_unset=as_fn_unset
        !          11613: # as_fn_append VAR VALUE
        !          11614: # ----------------------
        !          11615: # Append the text in VALUE to the end of the definition contained in VAR. Take
        !          11616: # advantage of any shell optimizations that allow amortized linear growth over
        !          11617: # repeated appends, instead of the typical quadratic growth present in naive
        !          11618: # implementations.
        !          11619: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
        !          11620:   eval 'as_fn_append ()
        !          11621:   {
        !          11622:     eval $1+=\$2
        !          11623:   }'
        !          11624: else
        !          11625:   as_fn_append ()
        !          11626:   {
        !          11627:     eval $1=\$$1\$2
        !          11628:   }
        !          11629: fi # as_fn_append
1.1       misho    11630: 
1.1.1.2 ! misho    11631: # as_fn_arith ARG...
        !          11632: # ------------------
        !          11633: # Perform arithmetic evaluation on the ARGs, and store the result in the
        !          11634: # global $as_val. Take advantage of shells that can avoid forks. The arguments
        !          11635: # must be portable across $(()) and expr.
        !          11636: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
        !          11637:   eval 'as_fn_arith ()
        !          11638:   {
        !          11639:     as_val=$(( $* ))
        !          11640:   }'
        !          11641: else
        !          11642:   as_fn_arith ()
        !          11643:   {
        !          11644:     as_val=`expr "$@" || test $? -eq 1`
        !          11645:   }
        !          11646: fi # as_fn_arith
1.1       misho    11647: 
                   11648: 
1.1.1.2 ! misho    11649: if expr a : '\(a\)' >/dev/null 2>&1 &&
        !          11650:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
        !          11651:   as_expr=expr
        !          11652: else
        !          11653:   as_expr=false
        !          11654: fi
1.1       misho    11655: 
1.1.1.2 ! misho    11656: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
        !          11657:   as_basename=basename
        !          11658: else
        !          11659:   as_basename=false
        !          11660: fi
1.1       misho    11661: 
                   11662: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   11663:   as_dirname=dirname
                   11664: else
                   11665:   as_dirname=false
                   11666: fi
                   11667: 
1.1.1.2 ! misho    11668: as_me=`$as_basename -- "$0" ||
        !          11669: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
        !          11670:         X"$0" : 'X\(//\)$' \| \
        !          11671:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
        !          11672: $as_echo X/"$0" |
        !          11673:     sed '/^.*\/\([^/][^/]*\)\/*$/{
        !          11674:            s//\1/
        !          11675:            q
        !          11676:          }
        !          11677:          /^X\/\(\/\/\)$/{
        !          11678:            s//\1/
        !          11679:            q
        !          11680:          }
        !          11681:          /^X\/\(\/\).*/{
        !          11682:            s//\1/
        !          11683:            q
        !          11684:          }
        !          11685:          s/.*/./; q'`
        !          11686: 
        !          11687: # Avoid depending upon Character Ranges.
        !          11688: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
        !          11689: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
        !          11690: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
        !          11691: as_cr_digits='0123456789'
        !          11692: as_cr_alnum=$as_cr_Letters$as_cr_digits
        !          11693: 
1.1       misho    11694: ECHO_C= ECHO_N= ECHO_T=
1.1.1.2 ! misho    11695: case `echo -n x` in #(((((
1.1       misho    11696: -n*)
1.1.1.2 ! misho    11697:   case `echo 'xy\c'` in
1.1       misho    11698:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
1.1.1.2 ! misho    11699:   xy)  ECHO_C='\c';;
        !          11700:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
        !          11701:        ECHO_T='        ';;
1.1       misho    11702:   esac;;
                   11703: *)
                   11704:   ECHO_N='-n';;
                   11705: esac
                   11706: 
                   11707: rm -f conf$$ conf$$.exe conf$$.file
                   11708: if test -d conf$$.dir; then
                   11709:   rm -f conf$$.dir/conf$$.file
                   11710: else
                   11711:   rm -f conf$$.dir
                   11712:   mkdir conf$$.dir 2>/dev/null
                   11713: fi
                   11714: if (echo >conf$$.file) 2>/dev/null; then
                   11715:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   11716:     as_ln_s='ln -s'
                   11717:     # ... but there are two gotchas:
                   11718:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                   11719:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
                   11720:     # In both cases, we have to default to `cp -p'.
                   11721:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
                   11722:       as_ln_s='cp -p'
                   11723:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   11724:     as_ln_s=ln
                   11725:   else
                   11726:     as_ln_s='cp -p'
                   11727:   fi
                   11728: else
                   11729:   as_ln_s='cp -p'
                   11730: fi
                   11731: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   11732: rmdir conf$$.dir 2>/dev/null
                   11733: 
1.1.1.2 ! misho    11734: 
        !          11735: # as_fn_mkdir_p
        !          11736: # -------------
        !          11737: # Create "$as_dir" as a directory, including parents if necessary.
        !          11738: as_fn_mkdir_p ()
        !          11739: {
        !          11740: 
        !          11741:   case $as_dir in #(
        !          11742:   -*) as_dir=./$as_dir;;
        !          11743:   esac
        !          11744:   test -d "$as_dir" || eval $as_mkdir_p || {
        !          11745:     as_dirs=
        !          11746:     while :; do
        !          11747:       case $as_dir in #(
        !          11748:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
        !          11749:       *) as_qdir=$as_dir;;
        !          11750:       esac
        !          11751:       as_dirs="'$as_qdir' $as_dirs"
        !          11752:       as_dir=`$as_dirname -- "$as_dir" ||
        !          11753: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
        !          11754:         X"$as_dir" : 'X\(//\)[^/]' \| \
        !          11755:         X"$as_dir" : 'X\(//\)$' \| \
        !          11756:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
        !          11757: $as_echo X"$as_dir" |
        !          11758:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
        !          11759:            s//\1/
        !          11760:            q
        !          11761:          }
        !          11762:          /^X\(\/\/\)[^/].*/{
        !          11763:            s//\1/
        !          11764:            q
        !          11765:          }
        !          11766:          /^X\(\/\/\)$/{
        !          11767:            s//\1/
        !          11768:            q
        !          11769:          }
        !          11770:          /^X\(\/\).*/{
        !          11771:            s//\1/
        !          11772:            q
        !          11773:          }
        !          11774:          s/.*/./; q'`
        !          11775:       test -d "$as_dir" && break
        !          11776:     done
        !          11777:     test -z "$as_dirs" || eval "mkdir $as_dirs"
        !          11778:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
        !          11779: 
        !          11780: 
        !          11781: } # as_fn_mkdir_p
1.1       misho    11782: if mkdir -p . 2>/dev/null; then
1.1.1.2 ! misho    11783:   as_mkdir_p='mkdir -p "$as_dir"'
1.1       misho    11784: else
                   11785:   test -d ./-p && rmdir ./-p
                   11786:   as_mkdir_p=false
                   11787: fi
                   11788: 
                   11789: if test -x / >/dev/null 2>&1; then
                   11790:   as_test_x='test -x'
                   11791: else
                   11792:   if ls -dL / >/dev/null 2>&1; then
                   11793:     as_ls_L_option=L
                   11794:   else
                   11795:     as_ls_L_option=
                   11796:   fi
                   11797:   as_test_x='
                   11798:     eval sh -c '\''
                   11799:       if test -d "$1"; then
                   11800:        test -d "$1/.";
                   11801:       else
1.1.1.2 ! misho    11802:        case $1 in #(
1.1       misho    11803:        -*)set "./$1";;
                   11804:        esac;
1.1.1.2 ! misho    11805:        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
1.1       misho    11806:        ???[sx]*):;;*)false;;esac;fi
                   11807:     '\'' sh
                   11808:   '
                   11809: fi
                   11810: as_executable_p=$as_test_x
                   11811: 
                   11812: # Sed expression to map a string onto a valid CPP name.
                   11813: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                   11814: 
                   11815: # Sed expression to map a string onto a valid variable name.
                   11816: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                   11817: 
                   11818: 
                   11819: exec 6>&1
1.1.1.2 ! misho    11820: ## ----------------------------------- ##
        !          11821: ## Main body of $CONFIG_STATUS script. ##
        !          11822: ## ----------------------------------- ##
        !          11823: _ASEOF
        !          11824: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
1.1       misho    11825: 
1.1.1.2 ! misho    11826: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
        !          11827: # Save the log message, to keep $0 and so on meaningful, and to
1.1       misho    11828: # report actual input values of CONFIG_FILES etc. instead of their
                   11829: # values after options handling.
                   11830: ac_log="
                   11831: This file was extended by $as_me, which was
1.1.1.2 ! misho    11832: generated by GNU Autoconf 2.68.  Invocation command line was
1.1       misho    11833: 
                   11834:   CONFIG_FILES    = $CONFIG_FILES
                   11835:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   11836:   CONFIG_LINKS    = $CONFIG_LINKS
                   11837:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   11838:   $ $0 $@
                   11839: 
                   11840: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   11841: "
                   11842: 
                   11843: _ACEOF
                   11844: 
                   11845: case $ac_config_files in *"
                   11846: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   11847: esac
                   11848: 
                   11849: case $ac_config_headers in *"
                   11850: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
                   11851: esac
                   11852: 
                   11853: 
                   11854: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   11855: # Files that config.status was made for.
                   11856: config_files="$ac_config_files"
                   11857: config_headers="$ac_config_headers"
                   11858: config_commands="$ac_config_commands"
                   11859: 
                   11860: _ACEOF
                   11861: 
                   11862: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   11863: ac_cs_usage="\
1.1.1.2 ! misho    11864: \`$as_me' instantiates files and other configuration actions
        !          11865: from templates according to the current configuration.  Unless the files
        !          11866: and actions are specified as TAGs, all are instantiated by default.
1.1       misho    11867: 
1.1.1.2 ! misho    11868: Usage: $0 [OPTION]... [TAG]...
1.1       misho    11869: 
                   11870:   -h, --help       print this help, then exit
                   11871:   -V, --version    print version number and configuration settings, then exit
1.1.1.2 ! misho    11872:       --config     print configuration, then exit
1.1       misho    11873:   -q, --quiet, --silent
                   11874:                    do not print progress messages
                   11875:   -d, --debug      don't remove temporary files
                   11876:       --recheck    update $as_me by reconfiguring in the same conditions
                   11877:       --file=FILE[:TEMPLATE]
                   11878:                    instantiate the configuration file FILE
                   11879:       --header=FILE[:TEMPLATE]
                   11880:                    instantiate the configuration header FILE
                   11881: 
                   11882: Configuration files:
                   11883: $config_files
                   11884: 
                   11885: Configuration headers:
                   11886: $config_headers
                   11887: 
                   11888: Configuration commands:
                   11889: $config_commands
                   11890: 
1.1.1.2 ! misho    11891: Report bugs to the package provider."
1.1       misho    11892: 
                   11893: _ACEOF
                   11894: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1.1.2 ! misho    11895: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1.1       misho    11896: ac_cs_version="\\
                   11897: config.status
1.1.1.2 ! misho    11898: configured by $0, generated by GNU Autoconf 2.68,
        !          11899:   with options \\"\$ac_cs_config\\"
1.1       misho    11900: 
1.1.1.2 ! misho    11901: Copyright (C) 2010 Free Software Foundation, Inc.
1.1       misho    11902: This config.status script is free software; the Free Software Foundation
                   11903: gives unlimited permission to copy, distribute and modify it."
                   11904: 
                   11905: ac_pwd='$ac_pwd'
                   11906: srcdir='$srcdir'
                   11907: INSTALL='$INSTALL'
1.1.1.2 ! misho    11908: AWK='$AWK'
1.1       misho    11909: test -n "\$AWK" || AWK=awk
                   11910: _ACEOF
                   11911: 
                   11912: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   11913: # The default lists apply if the user does not specify any file.
                   11914: ac_need_defaults=:
                   11915: while test $# != 0
                   11916: do
                   11917:   case $1 in
1.1.1.2 ! misho    11918:   --*=?*)
1.1       misho    11919:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   11920:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
                   11921:     ac_shift=:
                   11922:     ;;
1.1.1.2 ! misho    11923:   --*=)
        !          11924:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
        !          11925:     ac_optarg=
        !          11926:     ac_shift=:
        !          11927:     ;;
1.1       misho    11928:   *)
                   11929:     ac_option=$1
                   11930:     ac_optarg=$2
                   11931:     ac_shift=shift
                   11932:     ;;
                   11933:   esac
                   11934: 
                   11935:   case $ac_option in
                   11936:   # Handling of the options.
                   11937:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   11938:     ac_cs_recheck=: ;;
                   11939:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
                   11940:     $as_echo "$ac_cs_version"; exit ;;
1.1.1.2 ! misho    11941:   --config | --confi | --conf | --con | --co | --c )
        !          11942:     $as_echo "$ac_cs_config"; exit ;;
1.1       misho    11943:   --debug | --debu | --deb | --de | --d | -d )
                   11944:     debug=: ;;
                   11945:   --file | --fil | --fi | --f )
                   11946:     $ac_shift
                   11947:     case $ac_optarg in
                   11948:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1.1.2 ! misho    11949:     '') as_fn_error $? "missing file argument" ;;
1.1       misho    11950:     esac
1.1.1.2 ! misho    11951:     as_fn_append CONFIG_FILES " '$ac_optarg'"
1.1       misho    11952:     ac_need_defaults=false;;
                   11953:   --header | --heade | --head | --hea )
                   11954:     $ac_shift
                   11955:     case $ac_optarg in
                   11956:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   11957:     esac
1.1.1.2 ! misho    11958:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
1.1       misho    11959:     ac_need_defaults=false;;
                   11960:   --he | --h)
                   11961:     # Conflict between --help and --header
1.1.1.2 ! misho    11962:     as_fn_error $? "ambiguous option: \`$1'
        !          11963: Try \`$0 --help' for more information.";;
1.1       misho    11964:   --help | --hel | -h )
                   11965:     $as_echo "$ac_cs_usage"; exit ;;
                   11966:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   11967:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   11968:     ac_cs_silent=: ;;
                   11969: 
                   11970:   # This is an error.
1.1.1.2 ! misho    11971:   -*) as_fn_error $? "unrecognized option: \`$1'
        !          11972: Try \`$0 --help' for more information." ;;
1.1       misho    11973: 
1.1.1.2 ! misho    11974:   *) as_fn_append ac_config_targets " $1"
1.1       misho    11975:      ac_need_defaults=false ;;
                   11976: 
                   11977:   esac
                   11978:   shift
                   11979: done
                   11980: 
                   11981: ac_configure_extra_args=
                   11982: 
                   11983: if $ac_cs_silent; then
                   11984:   exec 6>/dev/null
                   11985:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   11986: fi
                   11987: 
                   11988: _ACEOF
                   11989: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   11990: if \$ac_cs_recheck; then
                   11991:   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
                   11992:   shift
                   11993:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
                   11994:   CONFIG_SHELL='$SHELL'
                   11995:   export CONFIG_SHELL
                   11996:   exec "\$@"
                   11997: fi
                   11998: 
                   11999: _ACEOF
                   12000: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   12001: exec 5>>config.log
                   12002: {
                   12003:   echo
                   12004:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   12005: ## Running $as_me. ##
                   12006: _ASBOX
                   12007:   $as_echo "$ac_log"
                   12008: } >&5
                   12009: 
                   12010: _ACEOF
                   12011: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   12012: #
                   12013: # INIT-COMMANDS
                   12014: #
                   12015: 
                   12016: 
                   12017: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   12018: # if CDPATH is set.
                   12019: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   12020: 
                   12021: sed_quote_subst='$sed_quote_subst'
                   12022: double_quote_subst='$double_quote_subst'
                   12023: delay_variable_subst='$delay_variable_subst'
1.1.1.2 ! misho    12024: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
        !          12025: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
        !          12026: AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
        !          12027: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
        !          12028: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
        !          12029: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
        !          12030: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
        !          12031: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
        !          12032: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
        !          12033: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
        !          12034: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
        !          12035: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
        !          12036: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
        !          12037: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
        !          12038: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
        !          12039: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
        !          12040: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
        !          12041: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
        !          12042: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
        !          12043: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
        !          12044: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
        !          12045: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
        !          12046: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
        !          12047: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
        !          12048: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
        !          12049: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
        !          12050: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
        !          12051: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
        !          12052: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
        !          12053: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
        !          12054: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
        !          12055: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
        !          12056: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
        !          12057: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
        !          12058: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
        !          12059: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
        !          12060: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
        !          12061: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
        !          12062: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
        !          12063: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
        !          12064: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
        !          12065: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
        !          12066: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
        !          12067: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
        !          12068: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
        !          12069: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
        !          12070: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
        !          12071: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
        !          12072: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
        !          12073: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
        !          12074: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
        !          12075: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
        !          12076: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
        !          12077: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
        !          12078: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
        !          12079: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
        !          12080: 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"`'
        !          12081: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
        !          12082: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
        !          12083: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
        !          12084: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
        !          12085: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
        !          12086: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
        !          12087: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
        !          12088: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
        !          12089: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
        !          12090: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
        !          12091: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
        !          12092: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
        !          12093: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
        !          12094: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
        !          12095: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
        !          12096: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
        !          12097: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
        !          12098: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
        !          12099: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
        !          12100: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
        !          12101: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
        !          12102: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
        !          12103: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
        !          12104: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
        !          12105: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
        !          12106: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
        !          12107: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
        !          12108: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
        !          12109: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
        !          12110: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
        !          12111: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
        !          12112: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
        !          12113: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
        !          12114: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
        !          12115: hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
        !          12116: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
        !          12117: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
        !          12118: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
        !          12119: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
        !          12120: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
        !          12121: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
        !          12122: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
        !          12123: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
        !          12124: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
        !          12125: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
        !          12126: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
        !          12127: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
        !          12128: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
        !          12129: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
        !          12130: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
        !          12131: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
        !          12132: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
        !          12133: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
        !          12134: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
        !          12135: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
        !          12136: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
        !          12137: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
        !          12138: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
        !          12139: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
        !          12140: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
        !          12141: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
        !          12142: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
        !          12143: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
        !          12144: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
        !          12145: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
        !          12146: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
        !          12147: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
        !          12148: sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
        !          12149: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
        !          12150: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
        !          12151: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
        !          12152: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
        !          12153: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
        !          12154: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
1.1       misho    12155: 
                   12156: LTCC='$LTCC'
                   12157: LTCFLAGS='$LTCFLAGS'
                   12158: compiler='$compiler_DEFAULT'
                   12159: 
1.1.1.2 ! misho    12160: # A function that is used when there is no print builtin or printf.
        !          12161: func_fallback_echo ()
        !          12162: {
        !          12163:   eval 'cat <<_LTECHO_EOF
        !          12164: \$1
        !          12165: _LTECHO_EOF'
        !          12166: }
        !          12167: 
1.1       misho    12168: # Quote evaled strings.
1.1.1.2 ! misho    12169: for var in AS \
        !          12170: DLLTOOL \
        !          12171: OBJDUMP \
        !          12172: SHELL \
        !          12173: ECHO \
        !          12174: SED \
1.1       misho    12175: GREP \
                   12176: EGREP \
                   12177: FGREP \
                   12178: LD \
                   12179: NM \
                   12180: LN_S \
                   12181: lt_SP2NL \
                   12182: lt_NL2SP \
                   12183: reload_flag \
                   12184: deplibs_check_method \
                   12185: file_magic_cmd \
1.1.1.2 ! misho    12186: file_magic_glob \
        !          12187: want_nocaseglob \
        !          12188: sharedlib_from_linklib_cmd \
1.1       misho    12189: AR \
                   12190: AR_FLAGS \
1.1.1.2 ! misho    12191: archiver_list_spec \
1.1       misho    12192: STRIP \
                   12193: RANLIB \
                   12194: CC \
                   12195: CFLAGS \
                   12196: compiler \
                   12197: lt_cv_sys_global_symbol_pipe \
                   12198: lt_cv_sys_global_symbol_to_cdecl \
                   12199: lt_cv_sys_global_symbol_to_c_name_address \
                   12200: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
1.1.1.2 ! misho    12201: nm_file_list_spec \
1.1       misho    12202: lt_prog_compiler_no_builtin_flag \
                   12203: lt_prog_compiler_pic \
1.1.1.2 ! misho    12204: lt_prog_compiler_wl \
1.1       misho    12205: lt_prog_compiler_static \
                   12206: lt_cv_prog_compiler_c_o \
                   12207: need_locks \
1.1.1.2 ! misho    12208: MANIFEST_TOOL \
1.1       misho    12209: DSYMUTIL \
                   12210: NMEDIT \
                   12211: LIPO \
                   12212: OTOOL \
                   12213: OTOOL64 \
                   12214: shrext_cmds \
                   12215: export_dynamic_flag_spec \
                   12216: whole_archive_flag_spec \
                   12217: compiler_needs_object \
                   12218: with_gnu_ld \
                   12219: allow_undefined_flag \
                   12220: no_undefined_flag \
                   12221: hardcode_libdir_flag_spec \
                   12222: hardcode_libdir_flag_spec_ld \
                   12223: hardcode_libdir_separator \
                   12224: exclude_expsyms \
                   12225: include_expsyms \
                   12226: file_list_spec \
                   12227: variables_saved_for_relink \
                   12228: libname_spec \
                   12229: library_names_spec \
                   12230: soname_spec \
1.1.1.2 ! misho    12231: install_override_mode \
1.1       misho    12232: finish_eval \
                   12233: old_striplib \
                   12234: striplib; do
1.1.1.2 ! misho    12235:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
1.1       misho    12236:     *[\\\\\\\`\\"\\\$]*)
1.1.1.2 ! misho    12237:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
1.1       misho    12238:       ;;
                   12239:     *)
                   12240:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   12241:       ;;
                   12242:     esac
                   12243: done
                   12244: 
                   12245: # Double-quote double-evaled strings.
                   12246: for var in reload_cmds \
                   12247: old_postinstall_cmds \
                   12248: old_postuninstall_cmds \
                   12249: old_archive_cmds \
                   12250: extract_expsyms_cmds \
                   12251: old_archive_from_new_cmds \
                   12252: old_archive_from_expsyms_cmds \
                   12253: archive_cmds \
                   12254: archive_expsym_cmds \
                   12255: module_cmds \
                   12256: module_expsym_cmds \
                   12257: export_symbols_cmds \
                   12258: prelink_cmds \
1.1.1.2 ! misho    12259: postlink_cmds \
1.1       misho    12260: postinstall_cmds \
                   12261: postuninstall_cmds \
                   12262: finish_cmds \
                   12263: sys_lib_search_path_spec \
                   12264: sys_lib_dlsearch_path_spec; do
1.1.1.2 ! misho    12265:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
1.1       misho    12266:     *[\\\\\\\`\\"\\\$]*)
1.1.1.2 ! misho    12267:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
1.1       misho    12268:       ;;
                   12269:     *)
                   12270:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   12271:       ;;
                   12272:     esac
                   12273: done
                   12274: 
                   12275: ac_aux_dir='$ac_aux_dir'
                   12276: xsi_shell='$xsi_shell'
                   12277: lt_shell_append='$lt_shell_append'
                   12278: 
                   12279: # See if we are running on zsh, and set the options which allow our
                   12280: # commands through without removal of \ escapes INIT.
                   12281: if test -n "\${ZSH_VERSION+set}" ; then
                   12282:    setopt NO_GLOB_SUBST
                   12283: fi
                   12284: 
                   12285: 
                   12286:     PACKAGE='$PACKAGE'
                   12287:     VERSION='$VERSION'
                   12288:     TIMESTAMP='$TIMESTAMP'
                   12289:     RM='$RM'
                   12290:     ofile='$ofile'
                   12291: 
                   12292: 
                   12293: 
                   12294: 
                   12295: _ACEOF
                   12296: 
                   12297: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   12298: 
                   12299: # Handling of arguments.
                   12300: for ac_config_target in $ac_config_targets
                   12301: do
                   12302:   case $ac_config_target in
                   12303:     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
                   12304:     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
                   12305:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   12306:     "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
                   12307:     "include/localcharset.h") CONFIG_FILES="$CONFIG_FILES include/localcharset.h:include/localcharset.h.build.in" ;;
                   12308:     "include/localcharset.h.inst") CONFIG_FILES="$CONFIG_FILES include/localcharset.h.inst:include/localcharset.h.in" ;;
                   12309: 
1.1.1.2 ! misho    12310:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
1.1       misho    12311:   esac
                   12312: done
                   12313: 
                   12314: 
                   12315: # If the user did not use the arguments to specify the items to instantiate,
                   12316: # then the envvar interface is used.  Set only those that are not.
                   12317: # We use the long form for the default assignment because of an extremely
                   12318: # bizarre bug on SunOS 4.1.3.
                   12319: if $ac_need_defaults; then
                   12320:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   12321:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   12322:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   12323: fi
                   12324: 
                   12325: # Have a temporary directory for convenience.  Make it in the build tree
                   12326: # simply because there is no reason against having it here, and in addition,
                   12327: # creating and moving files from /tmp can sometimes cause problems.
                   12328: # Hook for its removal unless debugging.
                   12329: # Note that there is a small window in which the directory will not be cleaned:
                   12330: # after its creation but before its name has been assigned to `$tmp'.
                   12331: $debug ||
                   12332: {
1.1.1.2 ! misho    12333:   tmp= ac_tmp=
1.1       misho    12334:   trap 'exit_status=$?
1.1.1.2 ! misho    12335:   : "${ac_tmp:=$tmp}"
        !          12336:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
1.1       misho    12337: ' 0
1.1.1.2 ! misho    12338:   trap 'as_fn_exit 1' 1 2 13 15
1.1       misho    12339: }
                   12340: # Create a (secure) tmp directory for tmp files.
                   12341: 
                   12342: {
                   12343:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
1.1.1.2 ! misho    12344:   test -d "$tmp"
1.1       misho    12345: }  ||
                   12346: {
                   12347:   tmp=./conf$$-$RANDOM
                   12348:   (umask 077 && mkdir "$tmp")
1.1.1.2 ! misho    12349: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
        !          12350: ac_tmp=$tmp
1.1       misho    12351: 
                   12352: # Set up the scripts for CONFIG_FILES section.
                   12353: # No need to generate them if there are no CONFIG_FILES.
                   12354: # This happens for instance with `./config.status config.h'.
                   12355: if test -n "$CONFIG_FILES"; then
                   12356: 
                   12357: 
1.1.1.2 ! misho    12358: ac_cr=`echo X | tr X '\015'`
        !          12359: # On cygwin, bash can eat \r inside `` if the user requested igncr.
        !          12360: # But we know of no other shell where ac_cr would be empty at this
        !          12361: # point, so we can use a bashism as a fallback.
        !          12362: if test "x$ac_cr" = x; then
        !          12363:   eval ac_cr=\$\'\\r\'
        !          12364: fi
1.1       misho    12365: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   12366: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
                   12367:   ac_cs_awk_cr='\\r'
                   12368: else
                   12369:   ac_cs_awk_cr=$ac_cr
                   12370: fi
                   12371: 
1.1.1.2 ! misho    12372: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
1.1       misho    12373: _ACEOF
                   12374: 
                   12375: 
                   12376: {
                   12377:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   12378:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   12379:   echo "_ACEOF"
                   12380: } >conf$$subs.sh ||
1.1.1.2 ! misho    12381:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
        !          12382: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
1.1       misho    12383: ac_delim='%!_!# '
                   12384: for ac_last_try in false false false false false :; do
                   12385:   . ./conf$$subs.sh ||
1.1.1.2 ! misho    12386:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
1.1       misho    12387: 
                   12388:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   12389:   if test $ac_delim_n = $ac_delim_num; then
                   12390:     break
                   12391:   elif $ac_last_try; then
1.1.1.2 ! misho    12392:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
1.1       misho    12393:   else
                   12394:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   12395:   fi
                   12396: done
                   12397: rm -f conf$$subs.sh
                   12398: 
                   12399: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1.1.1.2 ! misho    12400: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
1.1       misho    12401: _ACEOF
                   12402: sed -n '
                   12403: h
                   12404: s/^/S["/; s/!.*/"]=/
                   12405: p
                   12406: g
                   12407: s/^[^!]*!//
                   12408: :repl
                   12409: t repl
                   12410: s/'"$ac_delim"'$//
                   12411: t delim
                   12412: :nl
                   12413: h
1.1.1.2 ! misho    12414: s/\(.\{148\}\)..*/\1/
1.1       misho    12415: t more1
                   12416: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   12417: p
                   12418: n
                   12419: b repl
                   12420: :more1
                   12421: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   12422: p
                   12423: g
                   12424: s/.\{148\}//
                   12425: t nl
                   12426: :delim
                   12427: h
1.1.1.2 ! misho    12428: s/\(.\{148\}\)..*/\1/
1.1       misho    12429: t more2
                   12430: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   12431: p
                   12432: b
                   12433: :more2
                   12434: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   12435: p
                   12436: g
                   12437: s/.\{148\}//
                   12438: t delim
                   12439: ' <conf$$subs.awk | sed '
                   12440: /^[^""]/{
                   12441:   N
                   12442:   s/\n//
                   12443: }
                   12444: ' >>$CONFIG_STATUS || ac_write_fail=1
                   12445: rm -f conf$$subs.awk
                   12446: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   12447: _ACAWK
1.1.1.2 ! misho    12448: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
1.1       misho    12449:   for (key in S) S_is_set[key] = 1
                   12450:   FS = ""
                   12451: 
                   12452: }
                   12453: {
                   12454:   line = $ 0
                   12455:   nfields = split(line, field, "@")
                   12456:   substed = 0
                   12457:   len = length(field[1])
                   12458:   for (i = 2; i < nfields; i++) {
                   12459:     key = field[i]
                   12460:     keylen = length(key)
                   12461:     if (S_is_set[key]) {
                   12462:       value = S[key]
                   12463:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   12464:       len += length(value) + length(field[++i])
                   12465:       substed = 1
                   12466:     } else
                   12467:       len += 1 + keylen
                   12468:   }
                   12469: 
                   12470:   print line
                   12471: }
                   12472: 
                   12473: _ACAWK
                   12474: _ACEOF
                   12475: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   12476: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   12477:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
                   12478: else
                   12479:   cat
1.1.1.2 ! misho    12480: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
        !          12481:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
1.1       misho    12482: _ACEOF
                   12483: 
1.1.1.2 ! misho    12484: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
        !          12485: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
1.1       misho    12486: # trailing colons and then remove the whole line if VPATH becomes empty
                   12487: # (actually we leave an empty line to preserve line numbers).
                   12488: if test "x$srcdir" = x.; then
1.1.1.2 ! misho    12489:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
        !          12490: h
        !          12491: s///
        !          12492: s/^/:/
        !          12493: s/[     ]*$/:/
        !          12494: s/:\$(srcdir):/:/g
        !          12495: s/:\${srcdir}:/:/g
        !          12496: s/:@srcdir@:/:/g
        !          12497: s/^:*//
1.1       misho    12498: s/:*$//
1.1.1.2 ! misho    12499: x
        !          12500: s/\(=[  ]*\).*/\1/
        !          12501: G
        !          12502: s/\n//
1.1       misho    12503: s/^[^=]*=[      ]*$//
                   12504: }'
                   12505: fi
                   12506: 
                   12507: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   12508: fi # test -n "$CONFIG_FILES"
                   12509: 
                   12510: # Set up the scripts for CONFIG_HEADERS section.
                   12511: # No need to generate them if there are no CONFIG_HEADERS.
                   12512: # This happens for instance with `./config.status Makefile'.
                   12513: if test -n "$CONFIG_HEADERS"; then
1.1.1.2 ! misho    12514: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
1.1       misho    12515: BEGIN {
                   12516: _ACEOF
                   12517: 
                   12518: # Transform confdefs.h into an awk script `defines.awk', embedded as
                   12519: # here-document in config.status, that substitutes the proper values into
                   12520: # config.h.in to produce config.h.
                   12521: 
                   12522: # Create a delimiter string that does not exist in confdefs.h, to ease
                   12523: # handling of long lines.
                   12524: ac_delim='%!_!# '
                   12525: for ac_last_try in false false :; do
1.1.1.2 ! misho    12526:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
        !          12527:   if test -z "$ac_tt"; then
1.1       misho    12528:     break
                   12529:   elif $ac_last_try; then
1.1.1.2 ! misho    12530:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
1.1       misho    12531:   else
                   12532:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   12533:   fi
                   12534: done
                   12535: 
                   12536: # For the awk script, D is an array of macro values keyed by name,
                   12537: # likewise P contains macro parameters if any.  Preserve backslash
                   12538: # newline sequences.
                   12539: 
                   12540: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
                   12541: sed -n '
                   12542: s/.\{148\}/&'"$ac_delim"'/g
                   12543: t rset
                   12544: :rset
                   12545: s/^[    ]*#[    ]*define[       ][      ]*/ /
                   12546: t def
                   12547: d
                   12548: :def
                   12549: s/\\$//
                   12550: t bsnl
                   12551: s/["\\]/\\&/g
                   12552: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   12553: D["\1"]=" \3"/p
                   12554: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
                   12555: d
                   12556: :bsnl
                   12557: s/["\\]/\\&/g
                   12558: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   12559: D["\1"]=" \3\\\\\\n"\\/p
                   12560: t cont
                   12561: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
                   12562: t cont
                   12563: d
                   12564: :cont
                   12565: n
                   12566: s/.\{148\}/&'"$ac_delim"'/g
                   12567: t clear
                   12568: :clear
                   12569: s/\\$//
                   12570: t bsnlc
                   12571: s/["\\]/\\&/g; s/^/"/; s/$/"/p
                   12572: d
                   12573: :bsnlc
                   12574: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
                   12575: b cont
                   12576: ' <confdefs.h | sed '
                   12577: s/'"$ac_delim"'/"\\\
                   12578: "/g' >>$CONFIG_STATUS || ac_write_fail=1
                   12579: 
                   12580: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   12581:   for (key in D) D_is_set[key] = 1
                   12582:   FS = ""
                   12583: }
                   12584: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
                   12585:   line = \$ 0
                   12586:   split(line, arg, " ")
                   12587:   if (arg[1] == "#") {
                   12588:     defundef = arg[2]
                   12589:     mac1 = arg[3]
                   12590:   } else {
                   12591:     defundef = substr(arg[1], 2)
                   12592:     mac1 = arg[2]
                   12593:   }
                   12594:   split(mac1, mac2, "(") #)
                   12595:   macro = mac2[1]
                   12596:   prefix = substr(line, 1, index(line, defundef) - 1)
                   12597:   if (D_is_set[macro]) {
                   12598:     # Preserve the white space surrounding the "#".
                   12599:     print prefix "define", macro P[macro] D[macro]
                   12600:     next
                   12601:   } else {
                   12602:     # Replace #undef with comments.  This is necessary, for example,
                   12603:     # in the case of _POSIX_SOURCE, which is predefined and required
                   12604:     # on some systems where configure will not decide to define it.
                   12605:     if (defundef == "undef") {
                   12606:       print "/*", prefix defundef, macro, "*/"
                   12607:       next
                   12608:     }
                   12609:   }
                   12610: }
                   12611: { print }
                   12612: _ACAWK
                   12613: _ACEOF
                   12614: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1.1.2 ! misho    12615:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
1.1       misho    12616: fi # test -n "$CONFIG_HEADERS"
                   12617: 
                   12618: 
                   12619: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
                   12620: shift
                   12621: for ac_tag
                   12622: do
                   12623:   case $ac_tag in
                   12624:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   12625:   esac
                   12626:   case $ac_mode$ac_tag in
                   12627:   :[FHL]*:*);;
1.1.1.2 ! misho    12628:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
1.1       misho    12629:   :[FH]-) ac_tag=-:-;;
                   12630:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   12631:   esac
                   12632:   ac_save_IFS=$IFS
                   12633:   IFS=:
                   12634:   set x $ac_tag
                   12635:   IFS=$ac_save_IFS
                   12636:   shift
                   12637:   ac_file=$1
                   12638:   shift
                   12639: 
                   12640:   case $ac_mode in
                   12641:   :L) ac_source=$1;;
                   12642:   :[FH])
                   12643:     ac_file_inputs=
                   12644:     for ac_f
                   12645:     do
                   12646:       case $ac_f in
1.1.1.2 ! misho    12647:       -) ac_f="$ac_tmp/stdin";;
1.1       misho    12648:       *) # Look for the file first in the build tree, then in the source tree
                   12649:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
                   12650:         # because $ac_f cannot contain `:'.
                   12651:         test -f "$ac_f" ||
                   12652:           case $ac_f in
                   12653:           [\\/$]*) false;;
                   12654:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   12655:           esac ||
1.1.1.2 ! misho    12656:           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
1.1       misho    12657:       esac
                   12658:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
1.1.1.2 ! misho    12659:       as_fn_append ac_file_inputs " '$ac_f'"
1.1       misho    12660:     done
                   12661: 
                   12662:     # Let's still pretend it is `configure' which instantiates (i.e., don't
                   12663:     # use $as_me), people would be surprised to read:
                   12664:     #    /* config.h.  Generated by config.status.  */
                   12665:     configure_input='Generated from '`
                   12666:          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
                   12667:        `' by configure.'
                   12668:     if test x"$ac_file" != x-; then
                   12669:       configure_input="$ac_file.  $configure_input"
1.1.1.2 ! misho    12670:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
1.1       misho    12671: $as_echo "$as_me: creating $ac_file" >&6;}
                   12672:     fi
                   12673:     # Neutralize special characters interpreted by sed in replacement strings.
                   12674:     case $configure_input in #(
                   12675:     *\&* | *\|* | *\\* )
                   12676:        ac_sed_conf_input=`$as_echo "$configure_input" |
                   12677:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   12678:     *) ac_sed_conf_input=$configure_input;;
                   12679:     esac
                   12680: 
                   12681:     case $ac_tag in
1.1.1.2 ! misho    12682:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
        !          12683:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
1.1       misho    12684:     esac
                   12685:     ;;
                   12686:   esac
                   12687: 
                   12688:   ac_dir=`$as_dirname -- "$ac_file" ||
                   12689: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   12690:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   12691:         X"$ac_file" : 'X\(//\)$' \| \
                   12692:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
                   12693: $as_echo X"$ac_file" |
                   12694:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   12695:            s//\1/
                   12696:            q
                   12697:          }
                   12698:          /^X\(\/\/\)[^/].*/{
                   12699:            s//\1/
                   12700:            q
                   12701:          }
                   12702:          /^X\(\/\/\)$/{
                   12703:            s//\1/
                   12704:            q
                   12705:          }
                   12706:          /^X\(\/\).*/{
                   12707:            s//\1/
                   12708:            q
                   12709:          }
                   12710:          s/.*/./; q'`
1.1.1.2 ! misho    12711:   as_dir="$ac_dir"; as_fn_mkdir_p
1.1       misho    12712:   ac_builddir=.
                   12713: 
                   12714: case "$ac_dir" in
                   12715: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   12716: *)
                   12717:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   12718:   # A ".." for each directory in $ac_dir_suffix.
                   12719:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   12720:   case $ac_top_builddir_sub in
                   12721:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   12722:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   12723:   esac ;;
                   12724: esac
                   12725: ac_abs_top_builddir=$ac_pwd
                   12726: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   12727: # for backward compatibility:
                   12728: ac_top_builddir=$ac_top_build_prefix
                   12729: 
                   12730: case $srcdir in
                   12731:   .)  # We are building in place.
                   12732:     ac_srcdir=.
                   12733:     ac_top_srcdir=$ac_top_builddir_sub
                   12734:     ac_abs_top_srcdir=$ac_pwd ;;
                   12735:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   12736:     ac_srcdir=$srcdir$ac_dir_suffix;
                   12737:     ac_top_srcdir=$srcdir
                   12738:     ac_abs_top_srcdir=$srcdir ;;
                   12739:   *) # Relative name.
                   12740:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   12741:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   12742:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   12743: esac
                   12744: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   12745: 
                   12746: 
                   12747:   case $ac_mode in
                   12748:   :F)
                   12749:   #
                   12750:   # CONFIG_FILE
                   12751:   #
                   12752: 
                   12753:   case $INSTALL in
                   12754:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   12755:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
                   12756:   esac
                   12757: _ACEOF
                   12758: 
                   12759: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   12760: # If the template does not know about datarootdir, expand it.
                   12761: # FIXME: This hack should be removed a few years after 2.60.
                   12762: ac_datarootdir_hack=; ac_datarootdir_seen=
                   12763: ac_sed_dataroot='
                   12764: /datarootdir/ {
                   12765:   p
                   12766:   q
                   12767: }
                   12768: /@datadir@/p
                   12769: /@docdir@/p
                   12770: /@infodir@/p
                   12771: /@localedir@/p
1.1.1.2 ! misho    12772: /@mandir@/p'
1.1       misho    12773: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
                   12774: *datarootdir*) ac_datarootdir_seen=yes;;
                   12775: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
1.1.1.2 ! misho    12776:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
1.1       misho    12777: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
                   12778: _ACEOF
                   12779: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   12780:   ac_datarootdir_hack='
                   12781:   s&@datadir@&$datadir&g
                   12782:   s&@docdir@&$docdir&g
                   12783:   s&@infodir@&$infodir&g
                   12784:   s&@localedir@&$localedir&g
                   12785:   s&@mandir@&$mandir&g
1.1.1.2 ! misho    12786:   s&\\\${datarootdir}&$datarootdir&g' ;;
1.1       misho    12787: esac
                   12788: _ACEOF
                   12789: 
                   12790: # Neutralize VPATH when `$srcdir' = `.'.
                   12791: # Shell code in configure.ac might set extrasub.
                   12792: # FIXME: do we really want to maintain this feature?
                   12793: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   12794: ac_sed_extra="$ac_vpsub
                   12795: $extrasub
                   12796: _ACEOF
                   12797: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   12798: :t
                   12799: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   12800: s|@configure_input@|$ac_sed_conf_input|;t t
                   12801: s&@top_builddir@&$ac_top_builddir_sub&;t t
                   12802: s&@top_build_prefix@&$ac_top_build_prefix&;t t
                   12803: s&@srcdir@&$ac_srcdir&;t t
                   12804: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   12805: s&@top_srcdir@&$ac_top_srcdir&;t t
                   12806: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   12807: s&@builddir@&$ac_builddir&;t t
                   12808: s&@abs_builddir@&$ac_abs_builddir&;t t
                   12809: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
                   12810: s&@INSTALL@&$ac_INSTALL&;t t
                   12811: $ac_datarootdir_hack
                   12812: "
1.1.1.2 ! misho    12813: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
        !          12814:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.1       misho    12815: 
                   12816: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1.1.1.2 ! misho    12817:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
        !          12818:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
        !          12819:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
        !          12820:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
        !          12821: which seems to be undefined.  Please make sure it is defined" >&5
1.1       misho    12822: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1.1.1.2 ! misho    12823: which seems to be undefined.  Please make sure it is defined" >&2;}
1.1       misho    12824: 
1.1.1.2 ! misho    12825:   rm -f "$ac_tmp/stdin"
1.1       misho    12826:   case $ac_file in
1.1.1.2 ! misho    12827:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
        !          12828:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
1.1       misho    12829:   esac \
1.1.1.2 ! misho    12830:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.1       misho    12831:  ;;
                   12832:   :H)
                   12833:   #
                   12834:   # CONFIG_HEADER
                   12835:   #
                   12836:   if test x"$ac_file" != x-; then
                   12837:     {
                   12838:       $as_echo "/* $configure_input  */" \
1.1.1.2 ! misho    12839:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
        !          12840:     } >"$ac_tmp/config.h" \
        !          12841:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
        !          12842:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
        !          12843:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
1.1       misho    12844: $as_echo "$as_me: $ac_file is unchanged" >&6;}
                   12845:     else
                   12846:       rm -f "$ac_file"
1.1.1.2 ! misho    12847:       mv "$ac_tmp/config.h" "$ac_file" \
        !          12848:        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
1.1       misho    12849:     fi
                   12850:   else
                   12851:     $as_echo "/* $configure_input  */" \
1.1.1.2 ! misho    12852:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
        !          12853:       || as_fn_error $? "could not create -" "$LINENO" 5
1.1       misho    12854:   fi
                   12855:  ;;
                   12856: 
1.1.1.2 ! misho    12857:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
1.1       misho    12858: $as_echo "$as_me: executing $ac_file commands" >&6;}
                   12859:  ;;
                   12860:   esac
                   12861: 
                   12862: 
                   12863:   case $ac_file$ac_mode in
                   12864:     "libtool":C)
                   12865: 
                   12866:     # See if we are running on zsh, and set the options which allow our
                   12867:     # commands through without removal of \ escapes.
                   12868:     if test -n "${ZSH_VERSION+set}" ; then
                   12869:       setopt NO_GLOB_SUBST
                   12870:     fi
                   12871: 
                   12872:     cfgfile="${ofile}T"
                   12873:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
                   12874:     $RM "$cfgfile"
                   12875: 
                   12876:     cat <<_LT_EOF >> "$cfgfile"
                   12877: #! $SHELL
                   12878: 
                   12879: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
                   12880: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
                   12881: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
                   12882: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
                   12883: #
                   12884: #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
1.1.1.2 ! misho    12885: #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
        !          12886: #                 Inc.
1.1       misho    12887: #   Written by Gordon Matzigkeit, 1996
                   12888: #
                   12889: #   This file is part of GNU Libtool.
                   12890: #
                   12891: # GNU Libtool is free software; you can redistribute it and/or
                   12892: # modify it under the terms of the GNU General Public License as
                   12893: # published by the Free Software Foundation; either version 2 of
                   12894: # the License, or (at your option) any later version.
                   12895: #
                   12896: # As a special exception to the GNU General Public License,
                   12897: # if you distribute this file as part of a program or library that
                   12898: # is built using GNU Libtool, you may include this file under the
                   12899: # same distribution terms that you use for the rest of that program.
                   12900: #
                   12901: # GNU Libtool is distributed in the hope that it will be useful,
                   12902: # but WITHOUT ANY WARRANTY; without even the implied warranty of
                   12903: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   12904: # GNU General Public License for more details.
                   12905: #
                   12906: # You should have received a copy of the GNU General Public License
                   12907: # along with GNU Libtool; see the file COPYING.  If not, a copy
                   12908: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
                   12909: # obtained by writing to the Free Software Foundation, Inc.,
                   12910: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
                   12911: 
                   12912: 
                   12913: # The names of the tagged configurations supported by this script.
                   12914: available_tags=""
                   12915: 
                   12916: # ### BEGIN LIBTOOL CONFIG
                   12917: 
                   12918: # Which release of libtool.m4 was used?
                   12919: macro_version=$macro_version
                   12920: macro_revision=$macro_revision
                   12921: 
                   12922: # Assembler program.
1.1.1.2 ! misho    12923: AS=$lt_AS
1.1       misho    12924: 
                   12925: # DLL creation program.
1.1.1.2 ! misho    12926: DLLTOOL=$lt_DLLTOOL
1.1       misho    12927: 
                   12928: # Object dumper program.
1.1.1.2 ! misho    12929: OBJDUMP=$lt_OBJDUMP
1.1       misho    12930: 
                   12931: # Whether or not to build shared libraries.
                   12932: build_libtool_libs=$enable_shared
                   12933: 
                   12934: # Whether or not to build static libraries.
                   12935: build_old_libs=$enable_static
                   12936: 
                   12937: # What type of objects to build.
                   12938: pic_mode=$pic_mode
                   12939: 
                   12940: # Whether or not to optimize for fast installation.
                   12941: fast_install=$enable_fast_install
                   12942: 
1.1.1.2 ! misho    12943: # Shell to use when invoking shell scripts.
        !          12944: SHELL=$lt_SHELL
        !          12945: 
        !          12946: # An echo program that protects backslashes.
        !          12947: ECHO=$lt_ECHO
        !          12948: 
1.1       misho    12949: # The host system.
                   12950: host_alias=$host_alias
                   12951: host=$host
                   12952: host_os=$host_os
                   12953: 
                   12954: # The build system.
                   12955: build_alias=$build_alias
                   12956: build=$build
                   12957: build_os=$build_os
                   12958: 
                   12959: # A sed program that does not truncate output.
                   12960: SED=$lt_SED
                   12961: 
                   12962: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   12963: Xsed="\$SED -e 1s/^X//"
                   12964: 
                   12965: # A grep program that handles long lines.
                   12966: GREP=$lt_GREP
                   12967: 
                   12968: # An ERE matcher.
                   12969: EGREP=$lt_EGREP
                   12970: 
                   12971: # A literal string matcher.
                   12972: FGREP=$lt_FGREP
                   12973: 
                   12974: # A BSD- or MS-compatible name lister.
                   12975: NM=$lt_NM
                   12976: 
                   12977: # Whether we need soft or hard links.
                   12978: LN_S=$lt_LN_S
                   12979: 
                   12980: # What is the maximum length of a command?
                   12981: max_cmd_len=$max_cmd_len
                   12982: 
                   12983: # Object file suffix (normally "o").
                   12984: objext=$ac_objext
                   12985: 
                   12986: # Executable file suffix (normally "").
                   12987: exeext=$exeext
                   12988: 
                   12989: # whether the shell understands "unset".
                   12990: lt_unset=$lt_unset
                   12991: 
                   12992: # turn spaces into newlines.
                   12993: SP2NL=$lt_lt_SP2NL
                   12994: 
                   12995: # turn newlines into spaces.
                   12996: NL2SP=$lt_lt_NL2SP
                   12997: 
1.1.1.2 ! misho    12998: # convert \$build file names to \$host format.
        !          12999: to_host_file_cmd=$lt_cv_to_host_file_cmd
        !          13000: 
        !          13001: # convert \$build files to toolchain format.
        !          13002: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
1.1       misho    13003: 
                   13004: # Method to check whether dependent libraries are shared objects.
                   13005: deplibs_check_method=$lt_deplibs_check_method
                   13006: 
1.1.1.2 ! misho    13007: # Command to use when deplibs_check_method = "file_magic".
1.1       misho    13008: file_magic_cmd=$lt_file_magic_cmd
                   13009: 
1.1.1.2 ! misho    13010: # How to find potential files when deplibs_check_method = "file_magic".
        !          13011: file_magic_glob=$lt_file_magic_glob
        !          13012: 
        !          13013: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
        !          13014: want_nocaseglob=$lt_want_nocaseglob
        !          13015: 
        !          13016: # Command to associate shared and link libraries.
        !          13017: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
        !          13018: 
1.1       misho    13019: # The archiver.
                   13020: AR=$lt_AR
1.1.1.2 ! misho    13021: 
        !          13022: # Flags to create an archive.
1.1       misho    13023: AR_FLAGS=$lt_AR_FLAGS
                   13024: 
1.1.1.2 ! misho    13025: # How to feed a file listing to the archiver.
        !          13026: archiver_list_spec=$lt_archiver_list_spec
        !          13027: 
1.1       misho    13028: # A symbol stripping program.
                   13029: STRIP=$lt_STRIP
                   13030: 
                   13031: # Commands used to install an old-style archive.
                   13032: RANLIB=$lt_RANLIB
                   13033: old_postinstall_cmds=$lt_old_postinstall_cmds
                   13034: old_postuninstall_cmds=$lt_old_postuninstall_cmds
                   13035: 
1.1.1.2 ! misho    13036: # Whether to use a lock for old archive extraction.
        !          13037: lock_old_archive_extraction=$lock_old_archive_extraction
        !          13038: 
1.1       misho    13039: # A C compiler.
                   13040: LTCC=$lt_CC
                   13041: 
                   13042: # LTCC compiler flags.
                   13043: LTCFLAGS=$lt_CFLAGS
                   13044: 
                   13045: # Take the output of nm and produce a listing of raw symbols and C names.
                   13046: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
                   13047: 
                   13048: # Transform the output of nm in a proper C declaration.
                   13049: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
                   13050: 
                   13051: # Transform the output of nm in a C name address pair.
                   13052: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
                   13053: 
                   13054: # Transform the output of nm in a C name address pair when lib prefix is needed.
                   13055: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
                   13056: 
1.1.1.2 ! misho    13057: # Specify filename containing input files for \$NM.
        !          13058: nm_file_list_spec=$lt_nm_file_list_spec
1.1       misho    13059: 
1.1.1.2 ! misho    13060: # The root where to search for dependent libraries,and in which our libraries should be installed.
        !          13061: lt_sysroot=$lt_sysroot
1.1       misho    13062: 
1.1.1.2 ! misho    13063: # The name of the directory that contains temporary libtool files.
        !          13064: objdir=$objdir
1.1       misho    13065: 
                   13066: # Used to examine libraries when file_magic_cmd begins with "file".
                   13067: MAGIC_CMD=$MAGIC_CMD
                   13068: 
                   13069: # Must we lock files when doing compilation?
                   13070: need_locks=$lt_need_locks
                   13071: 
1.1.1.2 ! misho    13072: # Manifest tool.
        !          13073: MANIFEST_TOOL=$lt_MANIFEST_TOOL
        !          13074: 
1.1       misho    13075: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
                   13076: DSYMUTIL=$lt_DSYMUTIL
                   13077: 
                   13078: # Tool to change global to local symbols on Mac OS X.
                   13079: NMEDIT=$lt_NMEDIT
                   13080: 
                   13081: # Tool to manipulate fat objects and archives on Mac OS X.
                   13082: LIPO=$lt_LIPO
                   13083: 
                   13084: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
                   13085: OTOOL=$lt_OTOOL
                   13086: 
                   13087: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
                   13088: OTOOL64=$lt_OTOOL64
                   13089: 
                   13090: # Old archive suffix (normally "a").
                   13091: libext=$libext
                   13092: 
                   13093: # Shared library suffix (normally ".so").
                   13094: shrext_cmds=$lt_shrext_cmds
                   13095: 
                   13096: # The commands to extract the exported symbol list from a shared archive.
                   13097: extract_expsyms_cmds=$lt_extract_expsyms_cmds
                   13098: 
                   13099: # Variables whose values should be saved in libtool wrapper scripts and
                   13100: # restored at link time.
                   13101: variables_saved_for_relink=$lt_variables_saved_for_relink
                   13102: 
                   13103: # Do we need the "lib" prefix for modules?
                   13104: need_lib_prefix=$need_lib_prefix
                   13105: 
                   13106: # Do we need a version for libraries?
                   13107: need_version=$need_version
                   13108: 
                   13109: # Library versioning type.
                   13110: version_type=$version_type
                   13111: 
                   13112: # Shared library runtime path variable.
                   13113: runpath_var=$runpath_var
                   13114: 
                   13115: # Shared library path variable.
                   13116: shlibpath_var=$shlibpath_var
                   13117: 
                   13118: # Is shlibpath searched before the hard-coded library search path?
                   13119: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
                   13120: 
                   13121: # Format of library name prefix.
                   13122: libname_spec=$lt_libname_spec
                   13123: 
                   13124: # List of archive names.  First name is the real one, the rest are links.
                   13125: # The last name is the one that the linker finds with -lNAME
                   13126: library_names_spec=$lt_library_names_spec
                   13127: 
                   13128: # The coded name of the library, if different from the real name.
                   13129: soname_spec=$lt_soname_spec
                   13130: 
1.1.1.2 ! misho    13131: # Permission mode override for installation of shared libraries.
        !          13132: install_override_mode=$lt_install_override_mode
        !          13133: 
1.1       misho    13134: # Command to use after installation of a shared archive.
                   13135: postinstall_cmds=$lt_postinstall_cmds
                   13136: 
                   13137: # Command to use after uninstallation of a shared archive.
                   13138: postuninstall_cmds=$lt_postuninstall_cmds
                   13139: 
                   13140: # Commands used to finish a libtool library installation in a directory.
                   13141: finish_cmds=$lt_finish_cmds
                   13142: 
                   13143: # As "finish_cmds", except a single script fragment to be evaled but
                   13144: # not shown.
                   13145: finish_eval=$lt_finish_eval
                   13146: 
                   13147: # Whether we should hardcode library paths into libraries.
                   13148: hardcode_into_libs=$hardcode_into_libs
                   13149: 
                   13150: # Compile-time system search path for libraries.
                   13151: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
                   13152: 
                   13153: # Run-time system search path for libraries.
                   13154: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
                   13155: 
                   13156: # Whether dlopen is supported.
                   13157: dlopen_support=$enable_dlopen
                   13158: 
                   13159: # Whether dlopen of programs is supported.
                   13160: dlopen_self=$enable_dlopen_self
                   13161: 
                   13162: # Whether dlopen of statically linked programs is supported.
                   13163: dlopen_self_static=$enable_dlopen_self_static
                   13164: 
                   13165: # Commands to strip libraries.
                   13166: old_striplib=$lt_old_striplib
                   13167: striplib=$lt_striplib
                   13168: 
                   13169: 
                   13170: # The linker used to build libraries.
                   13171: LD=$lt_LD
                   13172: 
1.1.1.2 ! misho    13173: # How to create reloadable object files.
        !          13174: reload_flag=$lt_reload_flag
        !          13175: reload_cmds=$lt_reload_cmds
        !          13176: 
1.1       misho    13177: # Commands used to build an old-style archive.
                   13178: old_archive_cmds=$lt_old_archive_cmds
                   13179: 
                   13180: # A language specific compiler.
                   13181: CC=$lt_compiler
                   13182: 
                   13183: # Is the compiler the GNU compiler?
                   13184: with_gcc=$GCC
                   13185: 
                   13186: # Compiler flag to turn off builtin functions.
                   13187: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
                   13188: 
                   13189: # Additional compiler flags for building library objects.
                   13190: pic_flag=$lt_lt_prog_compiler_pic
                   13191: 
1.1.1.2 ! misho    13192: # How to pass a linker flag through the compiler.
        !          13193: wl=$lt_lt_prog_compiler_wl
        !          13194: 
1.1       misho    13195: # Compiler flag to prevent dynamic linking.
                   13196: link_static_flag=$lt_lt_prog_compiler_static
                   13197: 
                   13198: # Does compiler simultaneously support -c and -o options?
                   13199: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
                   13200: 
                   13201: # Whether or not to add -lc for building shared libraries.
                   13202: build_libtool_need_lc=$archive_cmds_need_lc
                   13203: 
                   13204: # Whether or not to disallow shared libs when runtime libs are static.
                   13205: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
                   13206: 
                   13207: # Compiler flag to allow reflexive dlopens.
                   13208: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
                   13209: 
                   13210: # Compiler flag to generate shared objects directly from archives.
                   13211: whole_archive_flag_spec=$lt_whole_archive_flag_spec
                   13212: 
                   13213: # Whether the compiler copes with passing no objects directly.
                   13214: compiler_needs_object=$lt_compiler_needs_object
                   13215: 
                   13216: # Create an old-style archive from a shared archive.
                   13217: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
                   13218: 
                   13219: # Create a temporary old-style archive to link instead of a shared archive.
                   13220: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
                   13221: 
                   13222: # Commands used to build a shared archive.
                   13223: archive_cmds=$lt_archive_cmds
                   13224: archive_expsym_cmds=$lt_archive_expsym_cmds
                   13225: 
                   13226: # Commands used to build a loadable module if different from building
                   13227: # a shared archive.
                   13228: module_cmds=$lt_module_cmds
                   13229: module_expsym_cmds=$lt_module_expsym_cmds
                   13230: 
                   13231: # Whether we are building with GNU ld or not.
                   13232: with_gnu_ld=$lt_with_gnu_ld
                   13233: 
                   13234: # Flag that allows shared libraries with undefined symbols to be built.
                   13235: allow_undefined_flag=$lt_allow_undefined_flag
                   13236: 
                   13237: # Flag that enforces no undefined symbols.
                   13238: no_undefined_flag=$lt_no_undefined_flag
                   13239: 
                   13240: # Flag to hardcode \$libdir into a binary during linking.
                   13241: # This must work even if \$libdir does not exist
                   13242: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
                   13243: 
                   13244: # If ld is used when linking, flag to hardcode \$libdir into a binary
                   13245: # during linking.  This must work even if \$libdir does not exist.
                   13246: hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
                   13247: 
                   13248: # Whether we need a single "-rpath" flag with a separated argument.
                   13249: hardcode_libdir_separator=$lt_hardcode_libdir_separator
                   13250: 
                   13251: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   13252: # DIR into the resulting binary.
                   13253: hardcode_direct=$hardcode_direct
                   13254: 
                   13255: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   13256: # DIR into the resulting binary and the resulting library dependency is
                   13257: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   13258: # library is relocated.
                   13259: hardcode_direct_absolute=$hardcode_direct_absolute
                   13260: 
                   13261: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   13262: # into the resulting binary.
                   13263: hardcode_minus_L=$hardcode_minus_L
                   13264: 
                   13265: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   13266: # into the resulting binary.
                   13267: hardcode_shlibpath_var=$hardcode_shlibpath_var
                   13268: 
                   13269: # Set to "yes" if building a shared library automatically hardcodes DIR
                   13270: # into the library and all subsequent libraries and executables linked
                   13271: # against it.
                   13272: hardcode_automatic=$hardcode_automatic
                   13273: 
                   13274: # Set to yes if linker adds runtime paths of dependent libraries
                   13275: # to runtime path list.
                   13276: inherit_rpath=$inherit_rpath
                   13277: 
                   13278: # Whether libtool must link a program against all its dependency libraries.
                   13279: link_all_deplibs=$link_all_deplibs
                   13280: 
                   13281: # Set to "yes" if exported symbols are required.
                   13282: always_export_symbols=$always_export_symbols
                   13283: 
                   13284: # The commands to list exported symbols.
                   13285: export_symbols_cmds=$lt_export_symbols_cmds
                   13286: 
                   13287: # Symbols that should not be listed in the preloaded symbols.
                   13288: exclude_expsyms=$lt_exclude_expsyms
                   13289: 
                   13290: # Symbols that must always be exported.
                   13291: include_expsyms=$lt_include_expsyms
                   13292: 
                   13293: # Commands necessary for linking programs (against libraries) with templates.
                   13294: prelink_cmds=$lt_prelink_cmds
                   13295: 
1.1.1.2 ! misho    13296: # Commands necessary for finishing linking programs.
        !          13297: postlink_cmds=$lt_postlink_cmds
        !          13298: 
1.1       misho    13299: # Specify filename containing input files.
                   13300: file_list_spec=$lt_file_list_spec
                   13301: 
                   13302: # How to hardcode a shared library path into an executable.
                   13303: hardcode_action=$hardcode_action
                   13304: 
                   13305: # ### END LIBTOOL CONFIG
                   13306: 
                   13307: _LT_EOF
                   13308: 
                   13309:   case $host_os in
                   13310:   aix3*)
                   13311:     cat <<\_LT_EOF >> "$cfgfile"
                   13312: # AIX sometimes has problems with the GCC collect2 program.  For some
                   13313: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   13314: # vanish in a puff of smoke.
                   13315: if test "X${COLLECT_NAMES+set}" != Xset; then
                   13316:   COLLECT_NAMES=
                   13317:   export COLLECT_NAMES
                   13318: fi
                   13319: _LT_EOF
                   13320:     ;;
                   13321:   esac
                   13322: 
                   13323: 
                   13324: ltmain="$ac_aux_dir/ltmain.sh"
                   13325: 
                   13326: 
                   13327:   # We use sed instead of cat because bash on DJGPP gets confused if
                   13328:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   13329:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   13330:   # is reportedly fixed, but why not run on old versions too?
1.1.1.2 ! misho    13331:   sed '$q' "$ltmain" >> "$cfgfile" \
        !          13332:      || (rm -f "$cfgfile"; exit 1)
1.1       misho    13333: 
1.1.1.2 ! misho    13334:   if test x"$xsi_shell" = xyes; then
        !          13335:   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
        !          13336: func_dirname ()\
        !          13337: {\
        !          13338: \    case ${1} in\
        !          13339: \      */*) func_dirname_result="${1%/*}${2}" ;;\
        !          13340: \      *  ) func_dirname_result="${3}" ;;\
        !          13341: \    esac\
        !          13342: } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
        !          13343:   && mv -f "$cfgfile.tmp" "$cfgfile" \
        !          13344:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
        !          13345: test 0 -eq $? || _lt_function_replace_fail=:
        !          13346: 
        !          13347: 
        !          13348:   sed -e '/^func_basename ()$/,/^} # func_basename /c\
        !          13349: func_basename ()\
        !          13350: {\
        !          13351: \    func_basename_result="${1##*/}"\
        !          13352: } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
        !          13353:   && mv -f "$cfgfile.tmp" "$cfgfile" \
        !          13354:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
        !          13355: test 0 -eq $? || _lt_function_replace_fail=:
        !          13356: 
        !          13357: 
        !          13358:   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
        !          13359: func_dirname_and_basename ()\
        !          13360: {\
        !          13361: \    case ${1} in\
        !          13362: \      */*) func_dirname_result="${1%/*}${2}" ;;\
        !          13363: \      *  ) func_dirname_result="${3}" ;;\
        !          13364: \    esac\
        !          13365: \    func_basename_result="${1##*/}"\
        !          13366: } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
        !          13367:   && mv -f "$cfgfile.tmp" "$cfgfile" \
        !          13368:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
        !          13369: test 0 -eq $? || _lt_function_replace_fail=:
        !          13370: 
        !          13371: 
        !          13372:   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
        !          13373: func_stripname ()\
        !          13374: {\
        !          13375: \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
        !          13376: \    # positional parameters, so assign one to ordinary parameter first.\
        !          13377: \    func_stripname_result=${3}\
        !          13378: \    func_stripname_result=${func_stripname_result#"${1}"}\
        !          13379: \    func_stripname_result=${func_stripname_result%"${2}"}\
        !          13380: } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
        !          13381:   && mv -f "$cfgfile.tmp" "$cfgfile" \
        !          13382:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
        !          13383: test 0 -eq $? || _lt_function_replace_fail=:
        !          13384: 
        !          13385: 
        !          13386:   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
        !          13387: func_split_long_opt ()\
        !          13388: {\
        !          13389: \    func_split_long_opt_name=${1%%=*}\
        !          13390: \    func_split_long_opt_arg=${1#*=}\
        !          13391: } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
        !          13392:   && mv -f "$cfgfile.tmp" "$cfgfile" \
        !          13393:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
        !          13394: test 0 -eq $? || _lt_function_replace_fail=:
        !          13395: 
        !          13396: 
        !          13397:   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
        !          13398: func_split_short_opt ()\
        !          13399: {\
        !          13400: \    func_split_short_opt_arg=${1#??}\
        !          13401: \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
        !          13402: } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
        !          13403:   && mv -f "$cfgfile.tmp" "$cfgfile" \
        !          13404:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
        !          13405: test 0 -eq $? || _lt_function_replace_fail=:
        !          13406: 
        !          13407: 
        !          13408:   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
        !          13409: func_lo2o ()\
        !          13410: {\
        !          13411: \    case ${1} in\
        !          13412: \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
        !          13413: \      *)    func_lo2o_result=${1} ;;\
        !          13414: \    esac\
        !          13415: } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
        !          13416:   && mv -f "$cfgfile.tmp" "$cfgfile" \
        !          13417:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
        !          13418: test 0 -eq $? || _lt_function_replace_fail=:
        !          13419: 
        !          13420: 
        !          13421:   sed -e '/^func_xform ()$/,/^} # func_xform /c\
        !          13422: func_xform ()\
        !          13423: {\
        !          13424:     func_xform_result=${1%.*}.lo\
        !          13425: } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
        !          13426:   && mv -f "$cfgfile.tmp" "$cfgfile" \
        !          13427:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
        !          13428: test 0 -eq $? || _lt_function_replace_fail=:
        !          13429: 
        !          13430: 
        !          13431:   sed -e '/^func_arith ()$/,/^} # func_arith /c\
        !          13432: func_arith ()\
        !          13433: {\
        !          13434:     func_arith_result=$(( $* ))\
        !          13435: } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
        !          13436:   && mv -f "$cfgfile.tmp" "$cfgfile" \
        !          13437:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
        !          13438: test 0 -eq $? || _lt_function_replace_fail=:
        !          13439: 
        !          13440: 
        !          13441:   sed -e '/^func_len ()$/,/^} # func_len /c\
        !          13442: func_len ()\
        !          13443: {\
        !          13444:     func_len_result=${#1}\
        !          13445: } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
        !          13446:   && mv -f "$cfgfile.tmp" "$cfgfile" \
        !          13447:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
        !          13448: test 0 -eq $? || _lt_function_replace_fail=:
        !          13449: 
        !          13450: fi
        !          13451: 
        !          13452: if test x"$lt_shell_append" = xyes; then
        !          13453:   sed -e '/^func_append ()$/,/^} # func_append /c\
        !          13454: func_append ()\
        !          13455: {\
        !          13456:     eval "${1}+=\\${2}"\
        !          13457: } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
        !          13458:   && mv -f "$cfgfile.tmp" "$cfgfile" \
        !          13459:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
        !          13460: test 0 -eq $? || _lt_function_replace_fail=:
        !          13461: 
        !          13462: 
        !          13463:   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
        !          13464: func_append_quoted ()\
        !          13465: {\
        !          13466: \    func_quote_for_eval "${2}"\
        !          13467: \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
        !          13468: } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
        !          13469:   && mv -f "$cfgfile.tmp" "$cfgfile" \
        !          13470:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
        !          13471: test 0 -eq $? || _lt_function_replace_fail=:
        !          13472: 
        !          13473: 
        !          13474:   # Save a `func_append' function call where possible by direct use of '+='
        !          13475:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
        !          13476:     && mv -f "$cfgfile.tmp" "$cfgfile" \
        !          13477:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
        !          13478:   test 0 -eq $? || _lt_function_replace_fail=:
        !          13479: else
        !          13480:   # Save a `func_append' function call even when '+=' is not available
        !          13481:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
        !          13482:     && mv -f "$cfgfile.tmp" "$cfgfile" \
        !          13483:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
        !          13484:   test 0 -eq $? || _lt_function_replace_fail=:
        !          13485: fi
        !          13486: 
        !          13487: if test x"$_lt_function_replace_fail" = x":"; then
        !          13488:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
        !          13489: $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
        !          13490: fi
1.1       misho    13491: 
                   13492: 
1.1.1.2 ! misho    13493:    mv -f "$cfgfile" "$ofile" ||
1.1       misho    13494:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
                   13495:   chmod +x "$ofile"
                   13496: 
                   13497:  ;;
                   13498: 
                   13499:   esac
                   13500: done # for ac_tag
                   13501: 
                   13502: 
1.1.1.2 ! misho    13503: as_fn_exit 0
1.1       misho    13504: _ACEOF
                   13505: ac_clean_files=$ac_clean_files_save
                   13506: 
                   13507: test $ac_write_fail = 0 ||
1.1.1.2 ! misho    13508:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
1.1       misho    13509: 
                   13510: 
                   13511: # configure is writing to config.log, and then calls config.status.
                   13512: # config.status does its own redirection, appending to config.log.
                   13513: # Unfortunately, on DOS this fails, as config.log is still kept open
                   13514: # by configure, so config.status won't be able to write to it; its
                   13515: # output is simply discarded.  So we exec the FD to /dev/null,
                   13516: # effectively closing config.log, so it can be properly (re)opened and
                   13517: # appended to by config.status.  When coming back to configure, we
                   13518: # need to make the FD available again.
                   13519: if test "$no_create" != yes; then
                   13520:   ac_cs_success=:
                   13521:   ac_config_status_args=
                   13522:   test "$silent" = yes &&
                   13523:     ac_config_status_args="$ac_config_status_args --quiet"
                   13524:   exec 5>/dev/null
                   13525:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   13526:   exec 5>>config.log
                   13527:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   13528:   # would make configure fail if this is the last instruction.
1.1.1.2 ! misho    13529:   $ac_cs_success || as_fn_exit 1
1.1       misho    13530: fi
                   13531: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
1.1.1.2 ! misho    13532:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
1.1       misho    13533: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
                   13534: fi
                   13535: 

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