Annotation of sql/sqlite/libltdl/configure, revision 1.6

1.1       misha       1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.5       moko        3: # Generated by GNU Autoconf 2.68 for libltdl 2.4.2.
                      4: #
                      5: # Report bugs to <bug-libtool@gnu.org>.
                      6: #
                      7: #
                      8: # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
                      9: # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
                     10: # Foundation, Inc.
                     11: #
1.1       misha      12: #
                     13: # This configure script is free software; the Free Software Foundation
                     14: # gives unlimited permission to copy, distribute and modify it.
1.5       moko       15: ## -------------------- ##
                     16: ## M4sh Initialization. ##
                     17: ## -------------------- ##
                     18: 
                     19: # Be more Bourne compatible
                     20: DUALCASE=1; export DUALCASE # for MKS sh
                     21: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1.1       misha      22:   emulate sh
                     23:   NULLCMD=:
1.5       moko       24:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1.1       misha      25:   # is contrary to our usage.  Disable this feature.
                     26:   alias -g '${1+"$@"}'='"$@"'
1.5       moko       27:   setopt NO_GLOB_SUBST
                     28: else
                     29:   case `(set -o) 2>/dev/null` in #(
                     30:   *posix*) :
                     31:     set -o posix ;; #(
                     32:   *) :
                     33:      ;;
                     34: esac
                     35: fi
                     36: 
                     37: 
                     38: as_nl='
                     39: '
                     40: export as_nl
                     41: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                     42: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                     43: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                     44: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                     45: # Prefer a ksh shell builtin over an external printf program on Solaris,
                     46: # but without wasting forks for bash or zsh.
                     47: if test -z "$BASH_VERSION$ZSH_VERSION" \
                     48:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                     49:   as_echo='print -r --'
                     50:   as_echo_n='print -rn --'
                     51: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                     52:   as_echo='printf %s\n'
                     53:   as_echo_n='printf %s'
                     54: else
                     55:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                     56:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                     57:     as_echo_n='/usr/ucb/echo -n'
                     58:   else
                     59:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                     60:     as_echo_n_body='eval
                     61:       arg=$1;
                     62:       case $arg in #(
                     63:       *"$as_nl"*)
                     64:        expr "X$arg" : "X\\(.*\\)$as_nl";
                     65:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                     66:       esac;
                     67:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                     68:     '
                     69:     export as_echo_n_body
                     70:     as_echo_n='sh -c $as_echo_n_body as_echo'
                     71:   fi
                     72:   export as_echo_body
                     73:   as_echo='sh -c $as_echo_body as_echo'
1.1       misha      74: fi
                     75: 
1.5       moko       76: # The user is always right.
                     77: if test "${PATH_SEPARATOR+set}" != set; then
                     78:   PATH_SEPARATOR=:
                     79:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                     80:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                     81:       PATH_SEPARATOR=';'
                     82:   }
1.1       misha      83: fi
                     84: 
                     85: 
1.5       moko       86: # IFS
                     87: # We need space, tab and new line, in precisely that order.  Quoting is
                     88: # there to prevent editors from complaining about space-tab.
                     89: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                     90: # splitting by setting IFS to empty value.)
                     91: IFS=" ""       $as_nl"
                     92: 
                     93: # Find who we are.  Look in the path if we contain no directory separator.
                     94: as_myself=
                     95: case $0 in #((
                     96:   *[\\/]* ) as_myself=$0 ;;
                     97:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                     98: for as_dir in $PATH
                     99: do
                    100:   IFS=$as_save_IFS
                    101:   test -z "$as_dir" && as_dir=.
                    102:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                    103:   done
                    104: IFS=$as_save_IFS
                    105: 
                    106:      ;;
                    107: esac
                    108: # We did not find ourselves, most probably we were run as `sh COMMAND'
                    109: # in which case we are not to be found in the path.
                    110: if test "x$as_myself" = x; then
                    111:   as_myself=$0
                    112: fi
                    113: if test ! -f "$as_myself"; then
                    114:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                    115:   exit 1
                    116: fi
                    117: 
                    118: # Unset variables that we do not need and which cause bugs (e.g. in
                    119: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                    120: # suppresses any "Segmentation fault" message there.  '((' could
                    121: # trigger a bug in pdksh 5.2.14.
                    122: for as_var in BASH_ENV ENV MAIL MAILPATH
                    123: do eval test x\${$as_var+set} = xset \
                    124:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                    125: done
1.1       misha     126: PS1='$ '
                    127: PS2='> '
                    128: PS4='+ '
                    129: 
                    130: # NLS nuisances.
1.5       moko      131: LC_ALL=C
                    132: export LC_ALL
                    133: LANGUAGE=C
                    134: export LANGUAGE
                    135: 
                    136: # CDPATH.
                    137: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                    138: 
                    139: if test "x$CONFIG_SHELL" = x; then
                    140:   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
                    141:   emulate sh
                    142:   NULLCMD=:
                    143:   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
                    144:   # is contrary to our usage.  Disable this feature.
                    145:   alias -g '\${1+\"\$@\"}'='\"\$@\"'
                    146:   setopt NO_GLOB_SUBST
                    147: else
                    148:   case \`(set -o) 2>/dev/null\` in #(
                    149:   *posix*) :
                    150:     set -o posix ;; #(
                    151:   *) :
                    152:      ;;
                    153: esac
                    154: fi
                    155: "
                    156:   as_required="as_fn_return () { (exit \$1); }
                    157: as_fn_success () { as_fn_return 0; }
                    158: as_fn_failure () { as_fn_return 1; }
                    159: as_fn_ret_success () { return 0; }
                    160: as_fn_ret_failure () { return 1; }
                    161: 
                    162: exitcode=0
                    163: as_fn_success || { exitcode=1; echo as_fn_success failed.; }
                    164: as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
                    165: as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
                    166: as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
                    167: if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
                    168: 
                    169: else
                    170:   exitcode=1; echo positional parameters were not saved.
                    171: fi
                    172: test x\$exitcode = x0 || exit 1"
                    173:   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
                    174:   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
                    175:   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
                    176:   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
                    177: 
                    178:   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
                    179:     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                    180:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
                    181:     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
                    182:     PATH=/empty FPATH=/empty; export PATH FPATH
                    183:     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
                    184:       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
                    185: test \$(( 1 + 1 )) = 2 || exit 1"
                    186:   if (eval "$as_required") 2>/dev/null; then :
                    187:   as_have_required=yes
                    188: else
                    189:   as_have_required=no
                    190: fi
                    191:   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
                    192: 
                    193: else
                    194:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                    195: as_found=false
                    196: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1.1       misha     197: do
1.5       moko      198:   IFS=$as_save_IFS
                    199:   test -z "$as_dir" && as_dir=.
                    200:   as_found=:
                    201:   case $as_dir in #(
                    202:         /*)
                    203:           for as_base in sh bash ksh sh5; do
                    204:             # Try only shells that exist, to save several forks.
                    205:             as_shell=$as_dir/$as_base
                    206:             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
                    207:                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
                    208:   CONFIG_SHELL=$as_shell as_have_required=yes
                    209:                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
                    210:   break 2
                    211: fi
                    212: fi
                    213:           done;;
                    214:        esac
                    215:   as_found=false
                    216: done
                    217: $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
                    218:              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
                    219:   CONFIG_SHELL=$SHELL as_have_required=yes
                    220: fi; }
                    221: IFS=$as_save_IFS
                    222: 
                    223: 
                    224:       if test "x$CONFIG_SHELL" != x; then :
                    225:   # We cannot yet assume a decent shell, so we have to provide a
                    226:        # neutralization value for shells without unset; and this also
                    227:        # works around shells that cannot unset nonexistent variables.
                    228:        # Preserve -v and -x to the replacement shell.
                    229:        BASH_ENV=/dev/null
                    230:        ENV=/dev/null
                    231:        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
                    232:        export CONFIG_SHELL
                    233:        case $- in # ((((
                    234:          *v*x* | *x*v* ) as_opts=-vx ;;
                    235:          *v* ) as_opts=-v ;;
                    236:          *x* ) as_opts=-x ;;
                    237:          * ) as_opts= ;;
                    238:        esac
                    239:        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
                    240: fi
                    241: 
                    242:     if test x$as_have_required = xno; then :
                    243:   $as_echo "$0: This script requires a shell more modern than all"
                    244:   $as_echo "$0: the shells that I found on your system."
                    245:   if test x${ZSH_VERSION+set} = xset ; then
                    246:     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
                    247:     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
                    248:   else
                    249:     $as_echo "$0: Please tell bug-autoconf@gnu.org and
                    250: $0: bug-libtool@gnu.org about your system, including any
                    251: $0: error possibly output before this message. Then install
                    252: $0: a modern shell, or manually run the script under such a
                    253: $0: shell if you do have one."
1.1       misha     254:   fi
1.5       moko      255:   exit 1
                    256: fi
                    257: fi
                    258: fi
                    259: SHELL=${CONFIG_SHELL-/bin/sh}
                    260: export SHELL
                    261: # Unset more variables known to interfere with behavior of common tools.
                    262: CLICOLOR_FORCE= GREP_OPTIONS=
                    263: unset CLICOLOR_FORCE GREP_OPTIONS
                    264: 
                    265: ## --------------------- ##
                    266: ## M4sh Shell Functions. ##
                    267: ## --------------------- ##
                    268: # as_fn_unset VAR
                    269: # ---------------
                    270: # Portably unset VAR.
                    271: as_fn_unset ()
                    272: {
                    273:   { eval $1=; unset $1;}
                    274: }
                    275: as_unset=as_fn_unset
                    276: 
                    277: # as_fn_set_status STATUS
                    278: # -----------------------
                    279: # Set $? to STATUS, without forking.
                    280: as_fn_set_status ()
                    281: {
                    282:   return $1
                    283: } # as_fn_set_status
                    284: 
                    285: # as_fn_exit STATUS
                    286: # -----------------
                    287: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                    288: as_fn_exit ()
                    289: {
                    290:   set +e
                    291:   as_fn_set_status $1
                    292:   exit $1
                    293: } # as_fn_exit
                    294: 
                    295: # as_fn_mkdir_p
                    296: # -------------
                    297: # Create "$as_dir" as a directory, including parents if necessary.
                    298: as_fn_mkdir_p ()
                    299: {
                    300: 
                    301:   case $as_dir in #(
                    302:   -*) as_dir=./$as_dir;;
                    303:   esac
                    304:   test -d "$as_dir" || eval $as_mkdir_p || {
                    305:     as_dirs=
                    306:     while :; do
                    307:       case $as_dir in #(
                    308:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                    309:       *) as_qdir=$as_dir;;
                    310:       esac
                    311:       as_dirs="'$as_qdir' $as_dirs"
                    312:       as_dir=`$as_dirname -- "$as_dir" ||
                    313: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                    314:         X"$as_dir" : 'X\(//\)[^/]' \| \
                    315:         X"$as_dir" : 'X\(//\)$' \| \
                    316:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                    317: $as_echo X"$as_dir" |
                    318:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                    319:            s//\1/
                    320:            q
                    321:          }
                    322:          /^X\(\/\/\)[^/].*/{
                    323:            s//\1/
                    324:            q
                    325:          }
                    326:          /^X\(\/\/\)$/{
                    327:            s//\1/
                    328:            q
                    329:          }
                    330:          /^X\(\/\).*/{
                    331:            s//\1/
                    332:            q
                    333:          }
                    334:          s/.*/./; q'`
                    335:       test -d "$as_dir" && break
                    336:     done
                    337:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                    338:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
                    339: 
                    340: 
                    341: } # as_fn_mkdir_p
                    342: # as_fn_append VAR VALUE
                    343: # ----------------------
                    344: # Append the text in VALUE to the end of the definition contained in VAR. Take
                    345: # advantage of any shell optimizations that allow amortized linear growth over
                    346: # repeated appends, instead of the typical quadratic growth present in naive
                    347: # implementations.
                    348: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                    349:   eval 'as_fn_append ()
                    350:   {
                    351:     eval $1+=\$2
                    352:   }'
                    353: else
                    354:   as_fn_append ()
                    355:   {
                    356:     eval $1=\$$1\$2
                    357:   }
                    358: fi # as_fn_append
                    359: 
                    360: # as_fn_arith ARG...
                    361: # ------------------
                    362: # Perform arithmetic evaluation on the ARGs, and store the result in the
                    363: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                    364: # must be portable across $(()) and expr.
                    365: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                    366:   eval 'as_fn_arith ()
                    367:   {
                    368:     as_val=$(( $* ))
                    369:   }'
                    370: else
                    371:   as_fn_arith ()
                    372:   {
                    373:     as_val=`expr "$@" || test $? -eq 1`
                    374:   }
                    375: fi # as_fn_arith
                    376: 
                    377: 
                    378: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                    379: # ----------------------------------------
                    380: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                    381: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                    382: # script with STATUS, using 1 if that was 0.
                    383: as_fn_error ()
                    384: {
                    385:   as_status=$1; test $as_status -eq 0 && as_status=1
                    386:   if test "$4"; then
                    387:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                    388:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                    389:   fi
                    390:   $as_echo "$as_me: error: $2" >&2
                    391:   as_fn_exit $as_status
                    392: } # as_fn_error
1.1       misha     393: 
1.5       moko      394: if expr a : '\(a\)' >/dev/null 2>&1 &&
                    395:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
1.1       misha     396:   as_expr=expr
                    397: else
                    398:   as_expr=false
                    399: fi
                    400: 
1.5       moko      401: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
1.1       misha     402:   as_basename=basename
                    403: else
                    404:   as_basename=false
                    405: fi
                    406: 
1.5       moko      407: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                    408:   as_dirname=dirname
                    409: else
                    410:   as_dirname=false
                    411: fi
1.1       misha     412: 
1.5       moko      413: as_me=`$as_basename -- "$0" ||
1.1       misha     414: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                    415:         X"$0" : 'X\(//\)$' \| \
1.5       moko      416:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                    417: $as_echo X/"$0" |
                    418:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                    419:            s//\1/
                    420:            q
                    421:          }
                    422:          /^X\/\(\/\/\)$/{
                    423:            s//\1/
                    424:            q
                    425:          }
                    426:          /^X\/\(\/\).*/{
                    427:            s//\1/
                    428:            q
                    429:          }
                    430:          s/.*/./; q'`
1.1       misha     431: 
                    432: # Avoid depending upon Character Ranges.
                    433: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                    434: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                    435: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                    436: as_cr_digits='0123456789'
                    437: as_cr_alnum=$as_cr_Letters$as_cr_digits
                    438: 
                    439: 
1.5       moko      440:   as_lineno_1=$LINENO as_lineno_1a=$LINENO
                    441:   as_lineno_2=$LINENO as_lineno_2a=$LINENO
                    442:   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
                    443:   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
                    444:   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
                    445:   sed -n '
                    446:     p
                    447:     /[$]LINENO/=
                    448:   ' <$as_myself |
1.1       misha     449:     sed '
1.5       moko      450:       s/[$]LINENO.*/&-/
                    451:       t lineno
                    452:       b
                    453:       :lineno
1.1       misha     454:       N
1.5       moko      455:       :loop
                    456:       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1.1       misha     457:       t loop
1.5       moko      458:       s/-\n.*//
1.1       misha     459:     ' >$as_me.lineno &&
1.5       moko      460:   chmod +x "$as_me.lineno" ||
                    461:     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
1.1       misha     462: 
                    463:   # Don't try to exec as it changes $[0], causing all sort of problems
                    464:   # (the dirname of $[0] is not the place where we might find the
1.5       moko      465:   # original and so on.  Autoconf is especially sensitive to this).
                    466:   . "./$as_me.lineno"
1.1       misha     467:   # Exit status is that of the last command.
                    468:   exit
                    469: }
                    470: 
1.5       moko      471: ECHO_C= ECHO_N= ECHO_T=
                    472: case `echo -n x` in #(((((
                    473: -n*)
                    474:   case `echo 'xy\c'` in
                    475:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                    476:   xy)  ECHO_C='\c';;
                    477:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                    478:        ECHO_T='        ';;
                    479:   esac;;
                    480: *)
                    481:   ECHO_N='-n';;
1.1       misha     482: esac
                    483: 
1.5       moko      484: rm -f conf$$ conf$$.exe conf$$.file
                    485: if test -d conf$$.dir; then
                    486:   rm -f conf$$.dir/conf$$.file
1.1       misha     487: else
1.5       moko      488:   rm -f conf$$.dir
                    489:   mkdir conf$$.dir 2>/dev/null
1.1       misha     490: fi
1.5       moko      491: if (echo >conf$$.file) 2>/dev/null; then
                    492:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                    493:     as_ln_s='ln -s'
                    494:     # ... but there are two gotchas:
                    495:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                    496:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
                    497:     # In both cases, we have to default to `cp -p'.
                    498:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
                    499:       as_ln_s='cp -p'
                    500:   elif ln conf$$.file conf$$ 2>/dev/null; then
                    501:     as_ln_s=ln
                    502:   else
1.1       misha     503:     as_ln_s='cp -p'
                    504:   fi
                    505: else
                    506:   as_ln_s='cp -p'
                    507: fi
1.5       moko      508: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                    509: rmdir conf$$.dir 2>/dev/null
1.1       misha     510: 
                    511: if mkdir -p . 2>/dev/null; then
1.5       moko      512:   as_mkdir_p='mkdir -p "$as_dir"'
1.1       misha     513: else
1.5       moko      514:   test -d ./-p && rmdir ./-p
1.1       misha     515:   as_mkdir_p=false
                    516: fi
                    517: 
1.5       moko      518: if test -x / >/dev/null 2>&1; then
                    519:   as_test_x='test -x'
                    520: else
                    521:   if ls -dL / >/dev/null 2>&1; then
                    522:     as_ls_L_option=L
                    523:   else
                    524:     as_ls_L_option=
                    525:   fi
                    526:   as_test_x='
                    527:     eval sh -c '\''
                    528:       if test -d "$1"; then
                    529:        test -d "$1/.";
                    530:       else
                    531:        case $1 in #(
                    532:        -*)set "./$1";;
                    533:        esac;
                    534:        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
                    535:        ???[sx]*):;;*)false;;esac;fi
                    536:     '\'' sh
                    537:   '
                    538: fi
                    539: as_executable_p=$as_test_x
1.1       misha     540: 
                    541: # Sed expression to map a string onto a valid CPP name.
1.5       moko      542: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.1       misha     543: 
                    544: # Sed expression to map a string onto a valid variable name.
1.5       moko      545: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.1       misha     546: 
                    547: SHELL=${CONFIG_SHELL-/bin/sh}
                    548: 
                    549: 
1.5       moko      550: test -n "$DJDIR" || exec 7<&0 </dev/null
                    551: exec 6>&1
1.1       misha     552: 
                    553: # Name of the host.
1.5       moko      554: # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
1.1       misha     555: # so uname gets run too.
                    556: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
                    557: 
                    558: #
                    559: # Initializations.
                    560: #
                    561: ac_default_prefix=/usr/local
1.5       moko      562: ac_clean_files=
1.1       misha     563: ac_config_libobj_dir=.
1.5       moko      564: LIBOBJS=
1.1       misha     565: cross_compiling=no
                    566: subdirs=
                    567: MFLAGS=
                    568: MAKEFLAGS=
                    569: 
                    570: # Identity of this package.
1.5       moko      571: PACKAGE_NAME='libltdl'
                    572: PACKAGE_TARNAME='libltdl'
                    573: PACKAGE_VERSION='2.4.2'
                    574: PACKAGE_STRING='libltdl 2.4.2'
                    575: PACKAGE_BUGREPORT='bug-libtool@gnu.org'
                    576: PACKAGE_URL=''
1.1       misha     577: 
                    578: ac_unique_file="ltdl.c"
                    579: # Factoring default headers for most tests.
                    580: ac_includes_default="\
                    581: #include <stdio.h>
1.5       moko      582: #ifdef HAVE_SYS_TYPES_H
1.1       misha     583: # include <sys/types.h>
                    584: #endif
1.5       moko      585: #ifdef HAVE_SYS_STAT_H
1.1       misha     586: # include <sys/stat.h>
                    587: #endif
1.5       moko      588: #ifdef STDC_HEADERS
1.1       misha     589: # include <stdlib.h>
                    590: # include <stddef.h>
                    591: #else
1.5       moko      592: # ifdef HAVE_STDLIB_H
1.1       misha     593: #  include <stdlib.h>
                    594: # endif
                    595: #endif
1.5       moko      596: #ifdef HAVE_STRING_H
                    597: # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
1.1       misha     598: #  include <memory.h>
                    599: # endif
                    600: # include <string.h>
                    601: #endif
1.5       moko      602: #ifdef HAVE_STRINGS_H
1.1       misha     603: # include <strings.h>
                    604: #endif
1.5       moko      605: #ifdef HAVE_INTTYPES_H
1.1       misha     606: # include <inttypes.h>
                    607: #endif
1.5       moko      608: #ifdef HAVE_STDINT_H
                    609: # include <stdint.h>
                    610: #endif
                    611: #ifdef HAVE_UNISTD_H
1.1       misha     612: # include <unistd.h>
                    613: #endif"
                    614: 
1.5       moko      615: ac_subst_vars='am__EXEEXT_FALSE
                    616: am__EXEEXT_TRUE
                    617: LTLIBOBJS
                    618: LTDLOPEN
                    619: LT_CONFIG_H
                    620: CONVENIENCE_LTDL_FALSE
                    621: CONVENIENCE_LTDL_TRUE
                    622: INSTALL_LTDL_FALSE
                    623: INSTALL_LTDL_TRUE
                    624: ARGZ_H
                    625: LIBOBJS
                    626: sys_symbol_underscore
                    627: LIBADD_DL
                    628: LT_DLPREOPEN
                    629: LIBADD_DLD_LINK
                    630: LIBADD_SHL_LOAD
                    631: LIBADD_DLOPEN
                    632: LT_DLLOADERS
                    633: CPP
                    634: OTOOL64
                    635: OTOOL
                    636: LIPO
                    637: NMEDIT
                    638: DSYMUTIL
                    639: MANIFEST_TOOL
                    640: RANLIB
                    641: ac_ct_AR
                    642: AR
                    643: LN_S
                    644: NM
                    645: ac_ct_DUMPBIN
                    646: DUMPBIN
                    647: LD
                    648: FGREP
                    649: EGREP
                    650: GREP
                    651: SED
                    652: am__fastdepCC_FALSE
                    653: am__fastdepCC_TRUE
                    654: CCDEPMODE
                    655: AMDEPBACKSLASH
                    656: AMDEP_FALSE
                    657: AMDEP_TRUE
                    658: am__quote
                    659: am__include
                    660: DEPDIR
                    661: OBJEXT
                    662: EXEEXT
                    663: ac_ct_CC
                    664: CPPFLAGS
                    665: LDFLAGS
                    666: CFLAGS
                    667: CC
                    668: host_os
                    669: host_vendor
                    670: host_cpu
                    671: host
                    672: build_os
                    673: build_vendor
                    674: build_cpu
                    675: build
                    676: LIBTOOL
                    677: OBJDUMP
                    678: DLLTOOL
                    679: AS
                    680: am__untar
                    681: am__tar
                    682: AMTAR
                    683: am__leading_dot
                    684: SET_MAKE
                    685: AWK
                    686: mkdir_p
                    687: MKDIR_P
                    688: INSTALL_STRIP_PROGRAM
                    689: STRIP
                    690: install_sh
                    691: MAKEINFO
                    692: AUTOHEADER
                    693: AUTOMAKE
                    694: AUTOCONF
                    695: ACLOCAL
                    696: VERSION
                    697: PACKAGE
                    698: CYGPATH_W
                    699: am__isrc
                    700: INSTALL_DATA
                    701: INSTALL_SCRIPT
                    702: INSTALL_PROGRAM
                    703: target_alias
                    704: host_alias
                    705: build_alias
                    706: LIBS
                    707: ECHO_T
                    708: ECHO_N
                    709: ECHO_C
                    710: DEFS
                    711: mandir
                    712: localedir
                    713: libdir
                    714: psdir
                    715: pdfdir
                    716: dvidir
                    717: htmldir
                    718: infodir
                    719: docdir
                    720: oldincludedir
                    721: includedir
                    722: localstatedir
                    723: sharedstatedir
                    724: sysconfdir
                    725: datadir
                    726: datarootdir
                    727: libexecdir
                    728: sbindir
                    729: bindir
                    730: program_transform_name
                    731: prefix
                    732: exec_prefix
                    733: PACKAGE_URL
                    734: PACKAGE_BUGREPORT
                    735: PACKAGE_STRING
                    736: PACKAGE_VERSION
                    737: PACKAGE_TARNAME
                    738: PACKAGE_NAME
                    739: PATH_SEPARATOR
                    740: SHELL'
1.1       misha     741: ac_subst_files=''
1.5       moko      742: ac_user_opts='
                    743: enable_option_checking
                    744: enable_shared
                    745: enable_static
                    746: with_pic
                    747: enable_fast_install
                    748: enable_dependency_tracking
                    749: with_gnu_ld
                    750: with_sysroot
                    751: enable_libtool_lock
                    752: enable_ltdl_install
                    753: '
                    754:       ac_precious_vars='build_alias
                    755: host_alias
                    756: target_alias
                    757: CC
                    758: CFLAGS
                    759: LDFLAGS
                    760: LIBS
                    761: CPPFLAGS
                    762: CPP'
                    763: 
1.1       misha     764: 
                    765: # Initialize some variables set by options.
                    766: ac_init_help=
                    767: ac_init_version=false
1.5       moko      768: ac_unrecognized_opts=
                    769: ac_unrecognized_sep=
1.1       misha     770: # The variables have the same names as the options, with
                    771: # dashes changed to underlines.
                    772: cache_file=/dev/null
                    773: exec_prefix=NONE
                    774: no_create=
                    775: no_recursion=
                    776: prefix=NONE
                    777: program_prefix=NONE
                    778: program_suffix=NONE
                    779: program_transform_name=s,x,x,
                    780: silent=
                    781: site=
                    782: srcdir=
                    783: verbose=
                    784: x_includes=NONE
                    785: x_libraries=NONE
                    786: 
                    787: # Installation directory options.
                    788: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    789: # and all the variables that are supposed to be based on exec_prefix
                    790: # by default will actually change.
                    791: # Use braces instead of parens because sh, perl, etc. also accept them.
1.5       moko      792: # (The list follows the same order as the GNU Coding Standards.)
1.1       misha     793: bindir='${exec_prefix}/bin'
                    794: sbindir='${exec_prefix}/sbin'
                    795: libexecdir='${exec_prefix}/libexec'
1.5       moko      796: datarootdir='${prefix}/share'
                    797: datadir='${datarootdir}'
1.1       misha     798: sysconfdir='${prefix}/etc'
                    799: sharedstatedir='${prefix}/com'
                    800: localstatedir='${prefix}/var'
                    801: includedir='${prefix}/include'
                    802: oldincludedir='/usr/include'
1.5       moko      803: docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
                    804: infodir='${datarootdir}/info'
                    805: htmldir='${docdir}'
                    806: dvidir='${docdir}'
                    807: pdfdir='${docdir}'
                    808: psdir='${docdir}'
                    809: libdir='${exec_prefix}/lib'
                    810: localedir='${datarootdir}/locale'
                    811: mandir='${datarootdir}/man'
1.1       misha     812: 
                    813: ac_prev=
1.5       moko      814: ac_dashdash=
1.1       misha     815: for ac_option
                    816: do
                    817:   # If the previous option needs an argument, assign it.
                    818:   if test -n "$ac_prev"; then
1.5       moko      819:     eval $ac_prev=\$ac_option
1.1       misha     820:     ac_prev=
                    821:     continue
                    822:   fi
                    823: 
1.5       moko      824:   case $ac_option in
                    825:   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
                    826:   *=)   ac_optarg= ;;
                    827:   *)    ac_optarg=yes ;;
                    828:   esac
1.1       misha     829: 
                    830:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    831: 
1.5       moko      832:   case $ac_dashdash$ac_option in
                    833:   --)
                    834:     ac_dashdash=yes ;;
1.1       misha     835: 
                    836:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    837:     ac_prev=bindir ;;
                    838:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
                    839:     bindir=$ac_optarg ;;
                    840: 
                    841:   -build | --build | --buil | --bui | --bu)
                    842:     ac_prev=build_alias ;;
                    843:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
                    844:     build_alias=$ac_optarg ;;
                    845: 
                    846:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    847:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    848:     ac_prev=cache_file ;;
                    849:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    850:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
                    851:     cache_file=$ac_optarg ;;
                    852: 
                    853:   --config-cache | -C)
                    854:     cache_file=config.cache ;;
                    855: 
1.5       moko      856:   -datadir | --datadir | --datadi | --datad)
1.1       misha     857:     ac_prev=datadir ;;
1.5       moko      858:   -datadir=* | --datadir=* | --datadi=* | --datad=*)
1.1       misha     859:     datadir=$ac_optarg ;;
                    860: 
1.5       moko      861:   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
                    862:   | --dataroo | --dataro | --datar)
                    863:     ac_prev=datarootdir ;;
                    864:   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
                    865:   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
                    866:     datarootdir=$ac_optarg ;;
                    867: 
1.1       misha     868:   -disable-* | --disable-*)
1.5       moko      869:     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1       misha     870:     # Reject names that are not valid shell variable names.
1.5       moko      871:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                    872:       as_fn_error $? "invalid feature name: $ac_useropt"
                    873:     ac_useropt_orig=$ac_useropt
                    874:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    875:     case $ac_user_opts in
                    876:       *"
                    877: "enable_$ac_useropt"
                    878: "*) ;;
                    879:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
                    880:         ac_unrecognized_sep=', ';;
                    881:     esac
                    882:     eval enable_$ac_useropt=no ;;
                    883: 
                    884:   -docdir | --docdir | --docdi | --doc | --do)
                    885:     ac_prev=docdir ;;
                    886:   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
                    887:     docdir=$ac_optarg ;;
                    888: 
                    889:   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
                    890:     ac_prev=dvidir ;;
                    891:   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
                    892:     dvidir=$ac_optarg ;;
1.1       misha     893: 
                    894:   -enable-* | --enable-*)
1.5       moko      895:     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1       misha     896:     # Reject names that are not valid shell variable names.
1.5       moko      897:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                    898:       as_fn_error $? "invalid feature name: $ac_useropt"
                    899:     ac_useropt_orig=$ac_useropt
                    900:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                    901:     case $ac_user_opts in
                    902:       *"
                    903: "enable_$ac_useropt"
                    904: "*) ;;
                    905:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
                    906:         ac_unrecognized_sep=', ';;
1.1       misha     907:     esac
1.5       moko      908:     eval enable_$ac_useropt=\$ac_optarg ;;
1.1       misha     909: 
                    910:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    911:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    912:   | --exec | --exe | --ex)
                    913:     ac_prev=exec_prefix ;;
                    914:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                    915:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                    916:   | --exec=* | --exe=* | --ex=*)
                    917:     exec_prefix=$ac_optarg ;;
                    918: 
                    919:   -gas | --gas | --ga | --g)
                    920:     # Obsolete; use --with-gas.
                    921:     with_gas=yes ;;
                    922: 
                    923:   -help | --help | --hel | --he | -h)
                    924:     ac_init_help=long ;;
                    925:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                    926:     ac_init_help=recursive ;;
                    927:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                    928:     ac_init_help=short ;;
                    929: 
                    930:   -host | --host | --hos | --ho)
                    931:     ac_prev=host_alias ;;
                    932:   -host=* | --host=* | --hos=* | --ho=*)
                    933:     host_alias=$ac_optarg ;;
                    934: 
1.5       moko      935:   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
                    936:     ac_prev=htmldir ;;
                    937:   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
                    938:   | --ht=*)
                    939:     htmldir=$ac_optarg ;;
                    940: 
1.1       misha     941:   -includedir | --includedir | --includedi | --included | --include \
                    942:   | --includ | --inclu | --incl | --inc)
                    943:     ac_prev=includedir ;;
                    944:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                    945:   | --includ=* | --inclu=* | --incl=* | --inc=*)
                    946:     includedir=$ac_optarg ;;
                    947: 
                    948:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                    949:     ac_prev=infodir ;;
                    950:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
                    951:     infodir=$ac_optarg ;;
                    952: 
                    953:   -libdir | --libdir | --libdi | --libd)
                    954:     ac_prev=libdir ;;
                    955:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
                    956:     libdir=$ac_optarg ;;
                    957: 
                    958:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                    959:   | --libexe | --libex | --libe)
                    960:     ac_prev=libexecdir ;;
                    961:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                    962:   | --libexe=* | --libex=* | --libe=*)
                    963:     libexecdir=$ac_optarg ;;
                    964: 
1.5       moko      965:   -localedir | --localedir | --localedi | --localed | --locale)
                    966:     ac_prev=localedir ;;
                    967:   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
                    968:     localedir=$ac_optarg ;;
                    969: 
1.1       misha     970:   -localstatedir | --localstatedir | --localstatedi | --localstated \
1.5       moko      971:   | --localstate | --localstat | --localsta | --localst | --locals)
1.1       misha     972:     ac_prev=localstatedir ;;
                    973:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1.5       moko      974:   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1.1       misha     975:     localstatedir=$ac_optarg ;;
                    976: 
                    977:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                    978:     ac_prev=mandir ;;
                    979:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
                    980:     mandir=$ac_optarg ;;
                    981: 
                    982:   -nfp | --nfp | --nf)
                    983:     # Obsolete; use --without-fp.
                    984:     with_fp=no ;;
                    985: 
                    986:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
                    987:   | --no-cr | --no-c | -n)
                    988:     no_create=yes ;;
                    989: 
                    990:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                    991:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                    992:     no_recursion=yes ;;
                    993: 
                    994:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                    995:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                    996:   | --oldin | --oldi | --old | --ol | --o)
                    997:     ac_prev=oldincludedir ;;
                    998:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                    999:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                   1000:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
                   1001:     oldincludedir=$ac_optarg ;;
                   1002: 
                   1003:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   1004:     ac_prev=prefix ;;
                   1005:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   1006:     prefix=$ac_optarg ;;
                   1007: 
                   1008:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                   1009:   | --program-pre | --program-pr | --program-p)
                   1010:     ac_prev=program_prefix ;;
                   1011:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                   1012:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
                   1013:     program_prefix=$ac_optarg ;;
                   1014: 
                   1015:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                   1016:   | --program-suf | --program-su | --program-s)
                   1017:     ac_prev=program_suffix ;;
                   1018:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                   1019:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
                   1020:     program_suffix=$ac_optarg ;;
                   1021: 
                   1022:   -program-transform-name | --program-transform-name \
                   1023:   | --program-transform-nam | --program-transform-na \
                   1024:   | --program-transform-n | --program-transform- \
                   1025:   | --program-transform | --program-transfor \
                   1026:   | --program-transfo | --program-transf \
                   1027:   | --program-trans | --program-tran \
                   1028:   | --progr-tra | --program-tr | --program-t)
                   1029:     ac_prev=program_transform_name ;;
                   1030:   -program-transform-name=* | --program-transform-name=* \
                   1031:   | --program-transform-nam=* | --program-transform-na=* \
                   1032:   | --program-transform-n=* | --program-transform-=* \
                   1033:   | --program-transform=* | --program-transfor=* \
                   1034:   | --program-transfo=* | --program-transf=* \
                   1035:   | --program-trans=* | --program-tran=* \
                   1036:   | --progr-tra=* | --program-tr=* | --program-t=*)
                   1037:     program_transform_name=$ac_optarg ;;
                   1038: 
1.5       moko     1039:   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
                   1040:     ac_prev=pdfdir ;;
                   1041:   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
                   1042:     pdfdir=$ac_optarg ;;
                   1043: 
                   1044:   -psdir | --psdir | --psdi | --psd | --ps)
                   1045:     ac_prev=psdir ;;
                   1046:   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
                   1047:     psdir=$ac_optarg ;;
                   1048: 
1.1       misha    1049:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1050:   | -silent | --silent | --silen | --sile | --sil)
                   1051:     silent=yes ;;
                   1052: 
                   1053:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                   1054:     ac_prev=sbindir ;;
                   1055:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                   1056:   | --sbi=* | --sb=*)
                   1057:     sbindir=$ac_optarg ;;
                   1058: 
                   1059:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                   1060:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                   1061:   | --sharedst | --shareds | --shared | --share | --shar \
                   1062:   | --sha | --sh)
                   1063:     ac_prev=sharedstatedir ;;
                   1064:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                   1065:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                   1066:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                   1067:   | --sha=* | --sh=*)
                   1068:     sharedstatedir=$ac_optarg ;;
                   1069: 
                   1070:   -site | --site | --sit)
                   1071:     ac_prev=site ;;
                   1072:   -site=* | --site=* | --sit=*)
                   1073:     site=$ac_optarg ;;
                   1074: 
                   1075:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   1076:     ac_prev=srcdir ;;
                   1077:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   1078:     srcdir=$ac_optarg ;;
                   1079: 
                   1080:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                   1081:   | --syscon | --sysco | --sysc | --sys | --sy)
                   1082:     ac_prev=sysconfdir ;;
                   1083:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                   1084:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
                   1085:     sysconfdir=$ac_optarg ;;
                   1086: 
                   1087:   -target | --target | --targe | --targ | --tar | --ta | --t)
                   1088:     ac_prev=target_alias ;;
                   1089:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
                   1090:     target_alias=$ac_optarg ;;
                   1091: 
                   1092:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                   1093:     verbose=yes ;;
                   1094: 
                   1095:   -version | --version | --versio | --versi | --vers | -V)
                   1096:     ac_init_version=: ;;
                   1097: 
                   1098:   -with-* | --with-*)
1.5       moko     1099:     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1       misha    1100:     # Reject names that are not valid shell variable names.
1.5       moko     1101:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1102:       as_fn_error $? "invalid package name: $ac_useropt"
                   1103:     ac_useropt_orig=$ac_useropt
                   1104:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1105:     case $ac_user_opts in
                   1106:       *"
                   1107: "with_$ac_useropt"
                   1108: "*) ;;
                   1109:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
                   1110:         ac_unrecognized_sep=', ';;
1.1       misha    1111:     esac
1.5       moko     1112:     eval with_$ac_useropt=\$ac_optarg ;;
1.1       misha    1113: 
                   1114:   -without-* | --without-*)
1.5       moko     1115:     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1       misha    1116:     # Reject names that are not valid shell variable names.
1.5       moko     1117:     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
                   1118:       as_fn_error $? "invalid package name: $ac_useropt"
                   1119:     ac_useropt_orig=$ac_useropt
                   1120:     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
                   1121:     case $ac_user_opts in
                   1122:       *"
                   1123: "with_$ac_useropt"
                   1124: "*) ;;
                   1125:       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
                   1126:         ac_unrecognized_sep=', ';;
                   1127:     esac
                   1128:     eval with_$ac_useropt=no ;;
1.1       misha    1129: 
                   1130:   --x)
                   1131:     # Obsolete; use --with-x.
                   1132:     with_x=yes ;;
                   1133: 
                   1134:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                   1135:   | --x-incl | --x-inc | --x-in | --x-i)
                   1136:     ac_prev=x_includes ;;
                   1137:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                   1138:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
                   1139:     x_includes=$ac_optarg ;;
                   1140: 
                   1141:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                   1142:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                   1143:     ac_prev=x_libraries ;;
                   1144:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                   1145:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
                   1146:     x_libraries=$ac_optarg ;;
                   1147: 
1.5       moko     1148:   -*) as_fn_error $? "unrecognized option: \`$ac_option'
                   1149: Try \`$0 --help' for more information"
1.1       misha    1150:     ;;
                   1151: 
                   1152:   *=*)
                   1153:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                   1154:     # Reject names that are not valid shell variable names.
1.5       moko     1155:     case $ac_envvar in #(
                   1156:       '' | [0-9]* | *[!_$as_cr_alnum]* )
                   1157:       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
                   1158:     esac
                   1159:     eval $ac_envvar=\$ac_optarg
1.1       misha    1160:     export $ac_envvar ;;
                   1161: 
                   1162:   *)
                   1163:     # FIXME: should be removed in autoconf 3.0.
1.5       moko     1164:     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1.1       misha    1165:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1.5       moko     1166:       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
                   1167:     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1.1       misha    1168:     ;;
                   1169: 
                   1170:   esac
                   1171: done
                   1172: 
                   1173: if test -n "$ac_prev"; then
                   1174:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1.5       moko     1175:   as_fn_error $? "missing argument to $ac_option"
                   1176: fi
                   1177: 
                   1178: if test -n "$ac_unrecognized_opts"; then
                   1179:   case $enable_option_checking in
                   1180:     no) ;;
                   1181:     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
                   1182:     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
                   1183:   esac
1.1       misha    1184: fi
                   1185: 
1.5       moko     1186: # Check all directory arguments for consistency.
                   1187: for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
                   1188:                datadir sysconfdir sharedstatedir localstatedir includedir \
                   1189:                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
                   1190:                libdir localedir mandir
1.1       misha    1191: do
1.5       moko     1192:   eval ac_val=\$$ac_var
                   1193:   # Remove trailing slashes.
1.1       misha    1194:   case $ac_val in
1.5       moko     1195:     */ )
                   1196:       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
                   1197:       eval $ac_var=\$ac_val;;
1.1       misha    1198:   esac
1.5       moko     1199:   # Be sure to have absolute directory names.
1.1       misha    1200:   case $ac_val in
1.5       moko     1201:     [\\/$]* | ?:[\\/]* )  continue;;
                   1202:     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1.1       misha    1203:   esac
1.5       moko     1204:   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1.1       misha    1205: done
                   1206: 
                   1207: # There might be people who depend on the old broken behavior: `$host'
                   1208: # used to hold the argument of --host etc.
                   1209: # FIXME: To remove some day.
                   1210: build=$build_alias
                   1211: host=$host_alias
                   1212: target=$target_alias
                   1213: 
                   1214: # FIXME: To remove some day.
                   1215: if test "x$host_alias" != x; then
                   1216:   if test "x$build_alias" = x; then
                   1217:     cross_compiling=maybe
1.5       moko     1218:     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
                   1219:     If a cross compiler is detected then cross compile mode will be used" >&2
1.1       misha    1220:   elif test "x$build_alias" != "x$host_alias"; then
                   1221:     cross_compiling=yes
                   1222:   fi
                   1223: fi
                   1224: 
                   1225: ac_tool_prefix=
                   1226: test -n "$host_alias" && ac_tool_prefix=$host_alias-
                   1227: 
                   1228: test "$silent" = yes && exec 6>/dev/null
                   1229: 
                   1230: 
1.5       moko     1231: ac_pwd=`pwd` && test -n "$ac_pwd" &&
                   1232: ac_ls_di=`ls -di .` &&
                   1233: ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
                   1234:   as_fn_error $? "working directory cannot be determined"
                   1235: test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
                   1236:   as_fn_error $? "pwd does not report name of working directory"
                   1237: 
                   1238: 
1.1       misha    1239: # Find the source files, if location was not specified.
                   1240: if test -z "$srcdir"; then
                   1241:   ac_srcdir_defaulted=yes
1.5       moko     1242:   # Try the directory containing this script, then the parent directory.
                   1243:   ac_confdir=`$as_dirname -- "$as_myself" ||
                   1244: $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   1245:         X"$as_myself" : 'X\(//\)[^/]' \| \
                   1246:         X"$as_myself" : 'X\(//\)$' \| \
                   1247:         X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
                   1248: $as_echo X"$as_myself" |
                   1249:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   1250:            s//\1/
                   1251:            q
                   1252:          }
                   1253:          /^X\(\/\/\)[^/].*/{
                   1254:            s//\1/
                   1255:            q
                   1256:          }
                   1257:          /^X\(\/\/\)$/{
                   1258:            s//\1/
                   1259:            q
                   1260:          }
                   1261:          /^X\(\/\).*/{
                   1262:            s//\1/
                   1263:            q
                   1264:          }
                   1265:          s/.*/./; q'`
1.1       misha    1266:   srcdir=$ac_confdir
1.5       moko     1267:   if test ! -r "$srcdir/$ac_unique_file"; then
1.1       misha    1268:     srcdir=..
                   1269:   fi
                   1270: else
                   1271:   ac_srcdir_defaulted=no
                   1272: fi
1.5       moko     1273: if test ! -r "$srcdir/$ac_unique_file"; then
                   1274:   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
                   1275:   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
                   1276: fi
                   1277: ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
                   1278: ac_abs_confdir=`(
                   1279:        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
                   1280:        pwd)`
                   1281: # When building in place, set srcdir=.
                   1282: if test "$ac_abs_confdir" = "$ac_pwd"; then
                   1283:   srcdir=.
                   1284: fi
                   1285: # Remove unnecessary trailing slashes from srcdir.
                   1286: # Double slashes in file names in object file debugging info
                   1287: # mess up M-x gdb in Emacs.
                   1288: case $srcdir in
                   1289: */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
                   1290: esac
                   1291: for ac_var in $ac_precious_vars; do
                   1292:   eval ac_env_${ac_var}_set=\${${ac_var}+set}
                   1293:   eval ac_env_${ac_var}_value=\$${ac_var}
                   1294:   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
                   1295:   eval ac_cv_env_${ac_var}_value=\$${ac_var}
                   1296: done
1.1       misha    1297: 
                   1298: #
                   1299: # Report the --help message.
                   1300: #
                   1301: if test "$ac_init_help" = "long"; then
                   1302:   # Omit some internal or obsolete options to make the list less imposing.
                   1303:   # This message is too long to be a string in the A/UX 3.1 sh.
                   1304:   cat <<_ACEOF
1.5       moko     1305: \`configure' configures libltdl 2.4.2 to adapt to many kinds of systems.
1.1       misha    1306: 
                   1307: Usage: $0 [OPTION]... [VAR=VALUE]...
                   1308: 
                   1309: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                   1310: VAR=VALUE.  See below for descriptions of some of the useful variables.
                   1311: 
                   1312: Defaults for the options are specified in brackets.
                   1313: 
                   1314: Configuration:
                   1315:   -h, --help              display this help and exit
                   1316:       --help=short        display options specific to this package
                   1317:       --help=recursive    display the short help of all the included packages
                   1318:   -V, --version           display version information and exit
1.5       moko     1319:   -q, --quiet, --silent   do not print \`checking ...' messages
1.1       misha    1320:       --cache-file=FILE   cache test results in FILE [disabled]
                   1321:   -C, --config-cache      alias for \`--cache-file=config.cache'
                   1322:   -n, --no-create         do not create output files
                   1323:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                   1324: 
                   1325: Installation directories:
                   1326:   --prefix=PREFIX         install architecture-independent files in PREFIX
                   1327:                           [$ac_default_prefix]
                   1328:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
                   1329:                           [PREFIX]
                   1330: 
                   1331: By default, \`make install' will install all the files in
                   1332: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                   1333: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                   1334: for instance \`--prefix=\$HOME'.
                   1335: 
                   1336: For better control, use the options below.
                   1337: 
                   1338: Fine tuning of the installation directories:
1.5       moko     1339:   --bindir=DIR            user executables [EPREFIX/bin]
                   1340:   --sbindir=DIR           system admin executables [EPREFIX/sbin]
                   1341:   --libexecdir=DIR        program executables [EPREFIX/libexec]
                   1342:   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
                   1343:   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
                   1344:   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
                   1345:   --libdir=DIR            object code libraries [EPREFIX/lib]
                   1346:   --includedir=DIR        C header files [PREFIX/include]
                   1347:   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
                   1348:   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
                   1349:   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
                   1350:   --infodir=DIR           info documentation [DATAROOTDIR/info]
                   1351:   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
                   1352:   --mandir=DIR            man documentation [DATAROOTDIR/man]
                   1353:   --docdir=DIR            documentation root [DATAROOTDIR/doc/libltdl]
                   1354:   --htmldir=DIR           html documentation [DOCDIR]
                   1355:   --dvidir=DIR            dvi documentation [DOCDIR]
                   1356:   --pdfdir=DIR            pdf documentation [DOCDIR]
                   1357:   --psdir=DIR             ps documentation [DOCDIR]
1.1       misha    1358: _ACEOF
                   1359: 
                   1360:   cat <<\_ACEOF
                   1361: 
                   1362: Program names:
                   1363:   --program-prefix=PREFIX            prepend PREFIX to installed program names
                   1364:   --program-suffix=SUFFIX            append SUFFIX to installed program names
                   1365:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
                   1366: 
                   1367: System types:
                   1368:   --build=BUILD     configure for building on BUILD [guessed]
                   1369:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                   1370: _ACEOF
                   1371: fi
                   1372: 
                   1373: if test -n "$ac_init_help"; then
1.5       moko     1374:   case $ac_init_help in
                   1375:      short | recursive ) echo "Configuration of libltdl 2.4.2:";;
                   1376:    esac
1.1       misha    1377:   cat <<\_ACEOF
                   1378: 
                   1379: Optional Features:
1.5       moko     1380:   --disable-option-checking  ignore unrecognized --enable/--with options
1.1       misha    1381:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                   1382:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1.5       moko     1383:   --enable-shared[=PKGS]  build shared libraries [default=yes]
                   1384:   --enable-static[=PKGS]  build static libraries [default=yes]
                   1385:   --enable-fast-install[=PKGS]
                   1386:                           optimize for fast installation [default=yes]
                   1387:   --disable-dependency-tracking  speeds up one-time build
                   1388:   --enable-dependency-tracking   do not reject slow dependency extractors
1.1       misha    1389:   --disable-libtool-lock  avoid locking (might break parallel builds)
                   1390:   --enable-ltdl-install   install libltdl
                   1391: 
                   1392: Optional Packages:
                   1393:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                   1394:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1.5       moko     1395:   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
                   1396:                           both]
                   1397:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
                   1398:   --with-sysroot=DIR Search for dependent libraries within DIR
                   1399:                         (or the compiler's sysroot if not specified).
1.1       misha    1400: 
                   1401: Some influential environment variables:
                   1402:   CC          C compiler command
                   1403:   CFLAGS      C compiler flags
                   1404:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                   1405:               nonstandard directory <lib dir>
1.5       moko     1406:   LIBS        libraries to pass to the linker, e.g. -l<library>
                   1407:   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
                   1408:               you have headers in a nonstandard directory <include dir>
1.1       misha    1409:   CPP         C preprocessor
                   1410: 
                   1411: Use these variables to override the choices made by `configure' or to help
                   1412: it to find libraries and programs with nonstandard names/locations.
                   1413: 
1.5       moko     1414: Report bugs to <bug-libtool@gnu.org>.
1.1       misha    1415: _ACEOF
1.5       moko     1416: ac_status=$?
1.1       misha    1417: fi
                   1418: 
                   1419: if test "$ac_init_help" = "recursive"; then
                   1420:   # If there are subdirs, report their specific --help.
                   1421:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1.5       moko     1422:     test -d "$ac_dir" ||
                   1423:       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
                   1424:       continue
1.1       misha    1425:     ac_builddir=.
                   1426: 
1.5       moko     1427: case "$ac_dir" in
                   1428: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1429: *)
                   1430:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   1431:   # A ".." for each directory in $ac_dir_suffix.
                   1432:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   1433:   case $ac_top_builddir_sub in
                   1434:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   1435:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   1436:   esac ;;
                   1437: esac
                   1438: ac_abs_top_builddir=$ac_pwd
                   1439: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   1440: # for backward compatibility:
                   1441: ac_top_builddir=$ac_top_build_prefix
1.1       misha    1442: 
                   1443: case $srcdir in
1.5       moko     1444:   .)  # We are building in place.
1.1       misha    1445:     ac_srcdir=.
1.5       moko     1446:     ac_top_srcdir=$ac_top_builddir_sub
                   1447:     ac_abs_top_srcdir=$ac_pwd ;;
                   1448:   [\\/]* | ?:[\\/]* )  # Absolute name.
1.1       misha    1449:     ac_srcdir=$srcdir$ac_dir_suffix;
1.5       moko     1450:     ac_top_srcdir=$srcdir
                   1451:     ac_abs_top_srcdir=$srcdir ;;
                   1452:   *) # Relative name.
                   1453:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   1454:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   1455:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   1456: esac
                   1457: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
                   1458: 
                   1459:     cd "$ac_dir" || { ac_status=$?; continue; }
                   1460:     # Check for guested configure.
                   1461:     if test -f "$ac_srcdir/configure.gnu"; then
                   1462:       echo &&
                   1463:       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
                   1464:     elif test -f "$ac_srcdir/configure"; then
                   1465:       echo &&
                   1466:       $SHELL "$ac_srcdir/configure" --help=recursive
1.1       misha    1467:     else
1.5       moko     1468:       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
                   1469:     fi || ac_status=$?
                   1470:     cd "$ac_pwd" || { ac_status=$?; break; }
1.1       misha    1471:   done
                   1472: fi
                   1473: 
1.5       moko     1474: test -n "$ac_init_help" && exit $ac_status
1.1       misha    1475: if $ac_init_version; then
                   1476:   cat <<\_ACEOF
1.5       moko     1477: libltdl configure 2.4.2
                   1478: generated by GNU Autoconf 2.68
1.1       misha    1479: 
1.5       moko     1480: Copyright (C) 2010 Free Software Foundation, Inc.
1.1       misha    1481: This configure script is free software; the Free Software Foundation
                   1482: gives unlimited permission to copy, distribute and modify it.
                   1483: _ACEOF
1.5       moko     1484:   exit
1.1       misha    1485: fi
                   1486: 
1.5       moko     1487: ## ------------------------ ##
                   1488: ## Autoconf initialization. ##
                   1489: ## ------------------------ ##
                   1490: 
                   1491: # ac_fn_c_try_compile LINENO
                   1492: # --------------------------
                   1493: # Try to compile conftest.$ac_ext, and return whether this succeeded.
                   1494: ac_fn_c_try_compile ()
                   1495: {
                   1496:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1497:   rm -f conftest.$ac_objext
                   1498:   if { { ac_try="$ac_compile"
                   1499: case "(($ac_try" in
                   1500:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1501:   *) ac_try_echo=$ac_try;;
                   1502: esac
                   1503: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1504: $as_echo "$ac_try_echo"; } >&5
                   1505:   (eval "$ac_compile") 2>conftest.err
                   1506:   ac_status=$?
                   1507:   if test -s conftest.err; then
                   1508:     grep -v '^ *+' conftest.err >conftest.er1
                   1509:     cat conftest.er1 >&5
                   1510:     mv -f conftest.er1 conftest.err
                   1511:   fi
                   1512:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1513:   test $ac_status = 0; } && {
                   1514:         test -z "$ac_c_werror_flag" ||
                   1515:         test ! -s conftest.err
                   1516:        } && test -s conftest.$ac_objext; then :
                   1517:   ac_retval=0
                   1518: else
                   1519:   $as_echo "$as_me: failed program was:" >&5
                   1520: sed 's/^/| /' conftest.$ac_ext >&5
                   1521: 
                   1522:        ac_retval=1
                   1523: fi
                   1524:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1525:   as_fn_set_status $ac_retval
                   1526: 
                   1527: } # ac_fn_c_try_compile
                   1528: 
                   1529: # ac_fn_c_try_link LINENO
                   1530: # -----------------------
                   1531: # Try to link conftest.$ac_ext, and return whether this succeeded.
                   1532: ac_fn_c_try_link ()
                   1533: {
                   1534:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1535:   rm -f conftest.$ac_objext conftest$ac_exeext
                   1536:   if { { ac_try="$ac_link"
                   1537: case "(($ac_try" in
                   1538:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1539:   *) ac_try_echo=$ac_try;;
                   1540: esac
                   1541: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1542: $as_echo "$ac_try_echo"; } >&5
                   1543:   (eval "$ac_link") 2>conftest.err
                   1544:   ac_status=$?
                   1545:   if test -s conftest.err; then
                   1546:     grep -v '^ *+' conftest.err >conftest.er1
                   1547:     cat conftest.er1 >&5
                   1548:     mv -f conftest.er1 conftest.err
                   1549:   fi
                   1550:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1551:   test $ac_status = 0; } && {
                   1552:         test -z "$ac_c_werror_flag" ||
                   1553:         test ! -s conftest.err
                   1554:        } && test -s conftest$ac_exeext && {
                   1555:         test "$cross_compiling" = yes ||
                   1556:         $as_test_x conftest$ac_exeext
                   1557:        }; then :
                   1558:   ac_retval=0
                   1559: else
                   1560:   $as_echo "$as_me: failed program was:" >&5
                   1561: sed 's/^/| /' conftest.$ac_ext >&5
                   1562: 
                   1563:        ac_retval=1
                   1564: fi
                   1565:   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
                   1566:   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
                   1567:   # interfere with the next link command; also delete a directory that is
                   1568:   # left behind by Apple's compiler.  We do this before executing the actions.
                   1569:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1570:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1571:   as_fn_set_status $ac_retval
                   1572: 
                   1573: } # ac_fn_c_try_link
                   1574: 
                   1575: # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
                   1576: # -------------------------------------------------------
                   1577: # Tests whether HEADER exists and can be compiled using the include files in
                   1578: # INCLUDES, setting the cache variable VAR accordingly.
                   1579: ac_fn_c_check_header_compile ()
                   1580: {
                   1581:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1582:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1583: $as_echo_n "checking for $2... " >&6; }
                   1584: if eval \${$3+:} false; then :
                   1585:   $as_echo_n "(cached) " >&6
                   1586: else
                   1587:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1588: /* end confdefs.h.  */
                   1589: $4
                   1590: #include <$2>
                   1591: _ACEOF
                   1592: if ac_fn_c_try_compile "$LINENO"; then :
                   1593:   eval "$3=yes"
                   1594: else
                   1595:   eval "$3=no"
                   1596: fi
                   1597: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1598: fi
                   1599: eval ac_res=\$$3
                   1600:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1601: $as_echo "$ac_res" >&6; }
                   1602:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1603: 
                   1604: } # ac_fn_c_check_header_compile
                   1605: 
                   1606: # ac_fn_c_try_cpp LINENO
                   1607: # ----------------------
                   1608: # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
                   1609: ac_fn_c_try_cpp ()
                   1610: {
                   1611:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1612:   if { { ac_try="$ac_cpp conftest.$ac_ext"
                   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_cpp conftest.$ac_ext") 2>conftest.err
                   1620:   ac_status=$?
                   1621:   if test -s conftest.err; then
                   1622:     grep -v '^ *+' conftest.err >conftest.er1
                   1623:     cat conftest.er1 >&5
                   1624:     mv -f conftest.er1 conftest.err
                   1625:   fi
                   1626:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1627:   test $ac_status = 0; } > conftest.i && {
                   1628:         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
                   1629:         test ! -s conftest.err
                   1630:        }; then :
                   1631:   ac_retval=0
                   1632: else
                   1633:   $as_echo "$as_me: failed program was:" >&5
                   1634: sed 's/^/| /' conftest.$ac_ext >&5
                   1635: 
                   1636:     ac_retval=1
                   1637: fi
                   1638:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1639:   as_fn_set_status $ac_retval
                   1640: 
                   1641: } # ac_fn_c_try_cpp
                   1642: 
                   1643: # ac_fn_c_try_run LINENO
                   1644: # ----------------------
                   1645: # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
                   1646: # that executables *can* be run.
                   1647: ac_fn_c_try_run ()
                   1648: {
                   1649:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1650:   if { { ac_try="$ac_link"
                   1651: case "(($ac_try" in
                   1652:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1653:   *) ac_try_echo=$ac_try;;
                   1654: esac
                   1655: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1656: $as_echo "$ac_try_echo"; } >&5
                   1657:   (eval "$ac_link") 2>&5
                   1658:   ac_status=$?
                   1659:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1660:   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
                   1661:   { { case "(($ac_try" in
                   1662:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   1663:   *) ac_try_echo=$ac_try;;
                   1664: esac
                   1665: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   1666: $as_echo "$ac_try_echo"; } >&5
                   1667:   (eval "$ac_try") 2>&5
                   1668:   ac_status=$?
                   1669:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   1670:   test $ac_status = 0; }; }; then :
                   1671:   ac_retval=0
                   1672: else
                   1673:   $as_echo "$as_me: program exited with status $ac_status" >&5
                   1674:        $as_echo "$as_me: failed program was:" >&5
                   1675: sed 's/^/| /' conftest.$ac_ext >&5
                   1676: 
                   1677:        ac_retval=$ac_status
                   1678: fi
                   1679:   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
                   1680:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1681:   as_fn_set_status $ac_retval
                   1682: 
                   1683: } # ac_fn_c_try_run
                   1684: 
                   1685: # ac_fn_c_check_func LINENO FUNC VAR
                   1686: # ----------------------------------
                   1687: # Tests whether FUNC exists, setting the cache variable VAR accordingly
                   1688: ac_fn_c_check_func ()
                   1689: {
                   1690:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1691:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1692: $as_echo_n "checking for $2... " >&6; }
                   1693: if eval \${$3+:} false; then :
                   1694:   $as_echo_n "(cached) " >&6
                   1695: else
                   1696:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1697: /* end confdefs.h.  */
                   1698: /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
                   1699:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   1700: #define $2 innocuous_$2
                   1701: 
                   1702: /* System header to define __stub macros and hopefully few prototypes,
                   1703:     which can conflict with char $2 (); below.
                   1704:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   1705:     <limits.h> exists even on freestanding compilers.  */
                   1706: 
                   1707: #ifdef __STDC__
                   1708: # include <limits.h>
                   1709: #else
                   1710: # include <assert.h>
                   1711: #endif
                   1712: 
                   1713: #undef $2
                   1714: 
                   1715: /* Override any GCC internal prototype to avoid an error.
                   1716:    Use char because int might match the return type of a GCC
                   1717:    builtin and then its argument prototype would still apply.  */
                   1718: #ifdef __cplusplus
                   1719: extern "C"
                   1720: #endif
                   1721: char $2 ();
                   1722: /* The GNU C library defines this for functions which it implements
                   1723:     to always fail with ENOSYS.  Some functions are actually named
                   1724:     something starting with __ and the normal name is an alias.  */
                   1725: #if defined __stub_$2 || defined __stub___$2
                   1726: choke me
                   1727: #endif
                   1728: 
                   1729: int
                   1730: main ()
                   1731: {
                   1732: return $2 ();
                   1733:   ;
                   1734:   return 0;
                   1735: }
                   1736: _ACEOF
                   1737: if ac_fn_c_try_link "$LINENO"; then :
                   1738:   eval "$3=yes"
                   1739: else
                   1740:   eval "$3=no"
                   1741: fi
                   1742: rm -f core conftest.err conftest.$ac_objext \
                   1743:     conftest$ac_exeext conftest.$ac_ext
                   1744: fi
                   1745: eval ac_res=\$$3
                   1746:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1747: $as_echo "$ac_res" >&6; }
                   1748:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1749: 
                   1750: } # ac_fn_c_check_func
                   1751: 
                   1752: # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
                   1753: # ---------------------------------------------
                   1754: # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
                   1755: # accordingly.
                   1756: ac_fn_c_check_decl ()
                   1757: {
                   1758:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1759:   as_decl_name=`echo $2|sed 's/ *(.*//'`
                   1760:   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
                   1761:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
                   1762: $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
                   1763: if eval \${$3+:} false; then :
                   1764:   $as_echo_n "(cached) " >&6
                   1765: else
                   1766:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1767: /* end confdefs.h.  */
                   1768: $4
                   1769: int
                   1770: main ()
                   1771: {
                   1772: #ifndef $as_decl_name
                   1773: #ifdef __cplusplus
                   1774:   (void) $as_decl_use;
                   1775: #else
                   1776:   (void) $as_decl_name;
                   1777: #endif
                   1778: #endif
                   1779: 
                   1780:   ;
                   1781:   return 0;
                   1782: }
                   1783: _ACEOF
                   1784: if ac_fn_c_try_compile "$LINENO"; then :
                   1785:   eval "$3=yes"
                   1786: else
                   1787:   eval "$3=no"
                   1788: fi
                   1789: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1790: fi
                   1791: eval ac_res=\$$3
                   1792:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1793: $as_echo "$ac_res" >&6; }
                   1794:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1795: 
                   1796: } # ac_fn_c_check_decl
                   1797: 
                   1798: # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
                   1799: # -------------------------------------------
                   1800: # Tests whether TYPE exists after having included INCLUDES, setting cache
                   1801: # variable VAR accordingly.
                   1802: ac_fn_c_check_type ()
                   1803: {
                   1804:   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   1805:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
                   1806: $as_echo_n "checking for $2... " >&6; }
                   1807: if eval \${$3+:} false; then :
                   1808:   $as_echo_n "(cached) " >&6
                   1809: else
                   1810:   eval "$3=no"
                   1811:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1812: /* end confdefs.h.  */
                   1813: $4
                   1814: int
                   1815: main ()
                   1816: {
                   1817: if (sizeof ($2))
                   1818:         return 0;
                   1819:   ;
                   1820:   return 0;
                   1821: }
                   1822: _ACEOF
                   1823: if ac_fn_c_try_compile "$LINENO"; then :
                   1824:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   1825: /* end confdefs.h.  */
                   1826: $4
                   1827: int
                   1828: main ()
                   1829: {
                   1830: if (sizeof (($2)))
                   1831:            return 0;
                   1832:   ;
                   1833:   return 0;
                   1834: }
                   1835: _ACEOF
                   1836: if ac_fn_c_try_compile "$LINENO"; then :
                   1837: 
                   1838: else
                   1839:   eval "$3=yes"
                   1840: fi
                   1841: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1842: fi
                   1843: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   1844: fi
                   1845: eval ac_res=\$$3
                   1846:               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
                   1847: $as_echo "$ac_res" >&6; }
                   1848:   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
                   1849: 
                   1850: } # ac_fn_c_check_type
                   1851: cat >config.log <<_ACEOF
                   1852: This file contains any messages produced by compilers while
                   1853: running configure, to aid debugging if configure makes a mistake.
                   1854: 
                   1855: It was created by libltdl $as_me 2.4.2, which was
                   1856: generated by GNU Autoconf 2.68.  Invocation command line was
                   1857: 
                   1858:   $ $0 $@
                   1859: 
                   1860: _ACEOF
                   1861: exec 5>>config.log
1.1       misha    1862: {
                   1863: cat <<_ASUNAME
                   1864: ## --------- ##
                   1865: ## Platform. ##
                   1866: ## --------- ##
                   1867: 
                   1868: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   1869: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   1870: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   1871: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   1872: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                   1873: 
                   1874: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   1875: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
                   1876: 
                   1877: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   1878: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   1879: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1.5       moko     1880: /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1.1       misha    1881: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   1882: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   1883: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   1884: 
                   1885: _ASUNAME
                   1886: 
                   1887: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1888: for as_dir in $PATH
                   1889: do
                   1890:   IFS=$as_save_IFS
                   1891:   test -z "$as_dir" && as_dir=.
1.5       moko     1892:     $as_echo "PATH: $as_dir"
                   1893:   done
                   1894: IFS=$as_save_IFS
1.1       misha    1895: 
                   1896: } >&5
                   1897: 
                   1898: cat >&5 <<_ACEOF
                   1899: 
                   1900: 
                   1901: ## ----------- ##
                   1902: ## Core tests. ##
                   1903: ## ----------- ##
                   1904: 
                   1905: _ACEOF
                   1906: 
                   1907: 
                   1908: # Keep a trace of the command line.
                   1909: # Strip out --no-create and --no-recursion so they do not pile up.
                   1910: # Strip out --silent because we don't want to record it for future runs.
                   1911: # Also quote any args containing shell meta-characters.
                   1912: # Make two passes to allow for proper duplicate-argument suppression.
                   1913: ac_configure_args=
                   1914: ac_configure_args0=
                   1915: ac_configure_args1=
                   1916: ac_must_keep_next=false
                   1917: for ac_pass in 1 2
                   1918: do
                   1919:   for ac_arg
                   1920:   do
                   1921:     case $ac_arg in
                   1922:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   1923:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1924:     | -silent | --silent | --silen | --sile | --sil)
                   1925:       continue ;;
1.5       moko     1926:     *\'*)
                   1927:       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1       misha    1928:     esac
                   1929:     case $ac_pass in
1.5       moko     1930:     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1.1       misha    1931:     2)
1.5       moko     1932:       as_fn_append ac_configure_args1 " '$ac_arg'"
1.1       misha    1933:       if test $ac_must_keep_next = true; then
1.5       moko     1934:        ac_must_keep_next=false # Got value, back to normal.
1.1       misha    1935:       else
1.5       moko     1936:        case $ac_arg in
                   1937:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   1938:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   1939:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   1940:          | -with-* | --with-* | -without-* | --without-* | --x)
                   1941:            case "$ac_configure_args0 " in
                   1942:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   1943:            esac
                   1944:            ;;
                   1945:          -* ) ac_must_keep_next=true ;;
                   1946:        esac
1.1       misha    1947:       fi
1.5       moko     1948:       as_fn_append ac_configure_args " '$ac_arg'"
1.1       misha    1949:       ;;
                   1950:     esac
                   1951:   done
                   1952: done
1.5       moko     1953: { ac_configure_args0=; unset ac_configure_args0;}
                   1954: { ac_configure_args1=; unset ac_configure_args1;}
1.1       misha    1955: 
                   1956: # When interrupted or exit'd, cleanup temporary files, and complete
                   1957: # config.log.  We remove comments because anyway the quotes in there
                   1958: # would cause problems or look ugly.
1.5       moko     1959: # WARNING: Use '\'' to represent an apostrophe within the trap.
                   1960: # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1.1       misha    1961: trap 'exit_status=$?
                   1962:   # Save into config.log some information that might help in debugging.
                   1963:   {
                   1964:     echo
                   1965: 
1.5       moko     1966:     $as_echo "## ---------------- ##
1.1       misha    1967: ## Cache variables. ##
1.5       moko     1968: ## ---------------- ##"
1.1       misha    1969:     echo
                   1970:     # The following way of writing the cache mishandles newlines in values,
1.5       moko     1971: (
                   1972:   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
                   1973:     eval ac_val=\$$ac_var
                   1974:     case $ac_val in #(
                   1975:     *${as_nl}*)
                   1976:       case $ac_var in #(
                   1977:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   1978: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   1979:       esac
                   1980:       case $ac_var in #(
                   1981:       _ | IFS | as_nl) ;; #(
                   1982:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   1983:       *) { eval $ac_var=; unset $ac_var;} ;;
                   1984:       esac ;;
                   1985:     esac
                   1986:   done
1.1       misha    1987:   (set) 2>&1 |
1.5       moko     1988:     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
                   1989:     *${as_nl}ac_space=\ *)
1.1       misha    1990:       sed -n \
1.5       moko     1991:        "s/'\''/'\''\\\\'\'''\''/g;
                   1992:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
                   1993:       ;; #(
1.1       misha    1994:     *)
1.5       moko     1995:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1.1       misha    1996:       ;;
1.5       moko     1997:     esac |
                   1998:     sort
                   1999: )
1.1       misha    2000:     echo
                   2001: 
1.5       moko     2002:     $as_echo "## ----------------- ##
1.1       misha    2003: ## Output variables. ##
1.5       moko     2004: ## ----------------- ##"
1.1       misha    2005:     echo
                   2006:     for ac_var in $ac_subst_vars
                   2007:     do
1.5       moko     2008:       eval ac_val=\$$ac_var
                   2009:       case $ac_val in
                   2010:       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2011:       esac
                   2012:       $as_echo "$ac_var='\''$ac_val'\''"
1.1       misha    2013:     done | sort
                   2014:     echo
                   2015: 
                   2016:     if test -n "$ac_subst_files"; then
1.5       moko     2017:       $as_echo "## ------------------- ##
                   2018: ## File substitutions. ##
                   2019: ## ------------------- ##"
1.1       misha    2020:       echo
                   2021:       for ac_var in $ac_subst_files
                   2022:       do
1.5       moko     2023:        eval ac_val=\$$ac_var
                   2024:        case $ac_val in
                   2025:        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
                   2026:        esac
                   2027:        $as_echo "$ac_var='\''$ac_val'\''"
1.1       misha    2028:       done | sort
                   2029:       echo
                   2030:     fi
                   2031: 
                   2032:     if test -s confdefs.h; then
1.5       moko     2033:       $as_echo "## ----------- ##
1.1       misha    2034: ## confdefs.h. ##
1.5       moko     2035: ## ----------- ##"
1.1       misha    2036:       echo
1.5       moko     2037:       cat confdefs.h
1.1       misha    2038:       echo
                   2039:     fi
                   2040:     test "$ac_signal" != 0 &&
1.5       moko     2041:       $as_echo "$as_me: caught signal $ac_signal"
                   2042:     $as_echo "$as_me: exit $exit_status"
1.1       misha    2043:   } >&5
1.5       moko     2044:   rm -f core *.core core.conftest.* &&
                   2045:     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1.1       misha    2046:     exit $exit_status
1.5       moko     2047: ' 0
1.1       misha    2048: for ac_signal in 1 2 13 15; do
1.5       moko     2049:   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1.1       misha    2050: done
                   2051: ac_signal=0
                   2052: 
                   2053: # confdefs.h avoids OS command line length limits that DEFS can exceed.
1.5       moko     2054: rm -f -r conftest* confdefs.h
                   2055: 
                   2056: $as_echo "/* confdefs.h */" > confdefs.h
1.1       misha    2057: 
                   2058: # Predefined preprocessor variables.
                   2059: 
                   2060: cat >>confdefs.h <<_ACEOF
                   2061: #define PACKAGE_NAME "$PACKAGE_NAME"
                   2062: _ACEOF
                   2063: 
                   2064: cat >>confdefs.h <<_ACEOF
                   2065: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   2066: _ACEOF
                   2067: 
                   2068: cat >>confdefs.h <<_ACEOF
                   2069: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   2070: _ACEOF
                   2071: 
                   2072: cat >>confdefs.h <<_ACEOF
                   2073: #define PACKAGE_STRING "$PACKAGE_STRING"
                   2074: _ACEOF
                   2075: 
1.5       moko     2076: cat >>confdefs.h <<_ACEOF
                   2077: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   2078: _ACEOF
1.1       misha    2079: 
                   2080: cat >>confdefs.h <<_ACEOF
1.5       moko     2081: #define PACKAGE_URL "$PACKAGE_URL"
1.1       misha    2082: _ACEOF
                   2083: 
                   2084: 
                   2085: # Let the site file select an alternate cache file if it wants to.
1.5       moko     2086: # Prefer an explicitly selected file to automatically selected ones.
                   2087: ac_site_file1=NONE
                   2088: ac_site_file2=NONE
                   2089: if test -n "$CONFIG_SITE"; then
                   2090:   # We do not want a PATH search for config.site.
                   2091:   case $CONFIG_SITE in #((
                   2092:     -*)  ac_site_file1=./$CONFIG_SITE;;
                   2093:     */*) ac_site_file1=$CONFIG_SITE;;
                   2094:     *)   ac_site_file1=./$CONFIG_SITE;;
                   2095:   esac
                   2096: elif test "x$prefix" != xNONE; then
                   2097:   ac_site_file1=$prefix/share/config.site
                   2098:   ac_site_file2=$prefix/etc/config.site
                   2099: else
                   2100:   ac_site_file1=$ac_default_prefix/share/config.site
                   2101:   ac_site_file2=$ac_default_prefix/etc/config.site
                   2102: fi
                   2103: for ac_site_file in "$ac_site_file1" "$ac_site_file2"
                   2104: do
                   2105:   test "x$ac_site_file" = xNONE && continue
                   2106:   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
                   2107:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
                   2108: $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1.1       misha    2109:     sed 's/^/| /' "$ac_site_file" >&5
1.5       moko     2110:     . "$ac_site_file" \
                   2111:       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2112: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2113: as_fn_error $? "failed to load site script $ac_site_file
                   2114: See \`config.log' for more details" "$LINENO" 5; }
1.1       misha    2115:   fi
                   2116: done
                   2117: 
                   2118: if test -r "$cache_file"; then
1.5       moko     2119:   # Some versions of bash will fail to source /dev/null (special files
                   2120:   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
                   2121:   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
                   2122:     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
                   2123: $as_echo "$as_me: loading cache $cache_file" >&6;}
1.1       misha    2124:     case $cache_file in
1.5       moko     2125:       [\\/]* | ?:[\\/]* ) . "$cache_file";;
                   2126:       *)                      . "./$cache_file";;
1.1       misha    2127:     esac
                   2128:   fi
                   2129: else
1.5       moko     2130:   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
                   2131: $as_echo "$as_me: creating cache $cache_file" >&6;}
1.1       misha    2132:   >$cache_file
                   2133: fi
                   2134: 
                   2135: # Check that the precious variables saved in the cache have kept the same
                   2136: # value.
                   2137: ac_cache_corrupted=false
1.5       moko     2138: for ac_var in $ac_precious_vars; do
1.1       misha    2139:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   2140:   eval ac_new_set=\$ac_env_${ac_var}_set
1.5       moko     2141:   eval ac_old_val=\$ac_cv_env_${ac_var}_value
                   2142:   eval ac_new_val=\$ac_env_${ac_var}_value
1.1       misha    2143:   case $ac_old_set,$ac_new_set in
                   2144:     set,)
1.5       moko     2145:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   2146: $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1.1       misha    2147:       ac_cache_corrupted=: ;;
                   2148:     ,set)
1.5       moko     2149:       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
                   2150: $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1.1       misha    2151:       ac_cache_corrupted=: ;;
                   2152:     ,);;
                   2153:     *)
                   2154:       if test "x$ac_old_val" != "x$ac_new_val"; then
1.5       moko     2155:        # differences in whitespace do not lead to failure.
                   2156:        ac_old_val_w=`echo x $ac_old_val`
                   2157:        ac_new_val_w=`echo x $ac_new_val`
                   2158:        if test "$ac_old_val_w" != "$ac_new_val_w"; then
                   2159:          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
                   2160: $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
                   2161:          ac_cache_corrupted=:
                   2162:        else
                   2163:          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
                   2164: $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
                   2165:          eval $ac_var=\$ac_old_val
                   2166:        fi
                   2167:        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
                   2168: $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
                   2169:        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
                   2170: $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1.1       misha    2171:       fi;;
                   2172:   esac
                   2173:   # Pass precious variables to config.status.
                   2174:   if test "$ac_new_set" = set; then
                   2175:     case $ac_new_val in
1.5       moko     2176:     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1.1       misha    2177:     *) ac_arg=$ac_var=$ac_new_val ;;
                   2178:     esac
                   2179:     case " $ac_configure_args " in
                   2180:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1.5       moko     2181:       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1.1       misha    2182:     esac
                   2183:   fi
                   2184: done
                   2185: if $ac_cache_corrupted; then
1.5       moko     2186:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   2187: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   2188:   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
                   2189: $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
                   2190:   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
                   2191: fi
                   2192: ## -------------------- ##
                   2193: ## Main body of script. ##
                   2194: ## -------------------- ##
1.1       misha    2195: 
                   2196: ac_ext=c
                   2197: ac_cpp='$CPP $CPPFLAGS'
                   2198: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2199: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2200: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2201: 
                   2202: 
1.5       moko     2203: ac_config_headers="$ac_config_headers config.h:config-h.in"
1.1       misha    2204: 
                   2205: 
1.5       moko     2206: ac_aux_dir=
                   2207: for ac_dir in config "$srcdir"/config; do
                   2208:   if test -f "$ac_dir/install-sh"; then
1.1       misha    2209:     ac_aux_dir=$ac_dir
                   2210:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   2211:     break
1.5       moko     2212:   elif test -f "$ac_dir/install.sh"; then
1.1       misha    2213:     ac_aux_dir=$ac_dir
                   2214:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   2215:     break
1.5       moko     2216:   elif test -f "$ac_dir/shtool"; then
1.1       misha    2217:     ac_aux_dir=$ac_dir
                   2218:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   2219:     break
                   2220:   fi
                   2221: done
                   2222: if test -z "$ac_aux_dir"; then
1.5       moko     2223:   as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
                   2224: fi
                   2225: 
                   2226: # These three variables are undocumented and unsupported,
                   2227: # and are intended to be withdrawn in a future Autoconf release.
                   2228: # They can cause serious problems if a builder's source tree is in a directory
                   2229: # whose full name contains unusual characters.
                   2230: ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
                   2231: ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
                   2232: ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
                   2233: 
                   2234: 
                   2235: 
                   2236: 
                   2237: 
                   2238: 
                   2239: 
                   2240: 
                   2241:  # I am me!
1.1       misha    2242: 
                   2243: 
1.5       moko     2244: ## ------------------------ ##
                   2245: ## Automake Initialisation. ##
                   2246: ## ------------------------ ##
1.1       misha    2247: 
1.5       moko     2248: am__api_version='1.11'
1.1       misha    2249: 
                   2250: # Find a good install program.  We prefer a C program (faster),
                   2251: # so one script is as good as another.  But avoid the broken or
                   2252: # incompatible versions:
                   2253: # SysV /etc/install, /usr/sbin/install
                   2254: # SunOS /usr/etc/install
                   2255: # IRIX /sbin/install
                   2256: # AIX /bin/install
                   2257: # AmigaOS /C/install, which installs bootblocks on floppy discs
                   2258: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   2259: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   2260: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.5       moko     2261: # OS/2's system install, which has a completely different semantic
1.1       misha    2262: # ./install, which can be erroneously created by make from ./install.sh.
1.5       moko     2263: # Reject install programs that cannot install multiple files.
                   2264: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
                   2265: $as_echo_n "checking for a BSD-compatible install... " >&6; }
1.1       misha    2266: if test -z "$INSTALL"; then
1.5       moko     2267: if ${ac_cv_path_install+:} false; then :
                   2268:   $as_echo_n "(cached) " >&6
1.1       misha    2269: else
                   2270:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2271: for as_dir in $PATH
                   2272: do
                   2273:   IFS=$as_save_IFS
                   2274:   test -z "$as_dir" && as_dir=.
1.5       moko     2275:     # Account for people who put trailing slashes in PATH elements.
                   2276: case $as_dir/ in #((
                   2277:   ./ | .// | /[cC]/* | \
1.1       misha    2278:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.5       moko     2279:   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1.1       misha    2280:   /usr/ucb/* ) ;;
                   2281:   *)
                   2282:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   2283:     # Don't use installbsd from OSF since it installs stuff as root
                   2284:     # by default.
                   2285:     for ac_prog in ginstall scoinst install; do
                   2286:       for ac_exec_ext in '' $ac_executable_extensions; do
1.5       moko     2287:        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
                   2288:          if test $ac_prog = install &&
                   2289:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2290:            # AIX install.  It has an incompatible calling convention.
                   2291:            :
                   2292:          elif test $ac_prog = install &&
                   2293:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   2294:            # program-specific install script used by HP pwplus--don't use.
                   2295:            :
                   2296:          else
                   2297:            rm -rf conftest.one conftest.two conftest.dir
                   2298:            echo one > conftest.one
                   2299:            echo two > conftest.two
                   2300:            mkdir conftest.dir
                   2301:            if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
                   2302:              test -s conftest.one && test -s conftest.two &&
                   2303:              test -s conftest.dir/conftest.one &&
                   2304:              test -s conftest.dir/conftest.two
                   2305:            then
                   2306:              ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   2307:              break 3
                   2308:            fi
                   2309:          fi
                   2310:        fi
1.1       misha    2311:       done
                   2312:     done
                   2313:     ;;
                   2314: esac
                   2315: 
1.5       moko     2316:   done
                   2317: IFS=$as_save_IFS
                   2318: 
                   2319: rm -rf conftest.one conftest.two conftest.dir
1.1       misha    2320: 
                   2321: fi
                   2322:   if test "${ac_cv_path_install+set}" = set; then
                   2323:     INSTALL=$ac_cv_path_install
                   2324:   else
1.5       moko     2325:     # As a last resort, use the slow shell script.  Don't cache a
                   2326:     # value for INSTALL within a source directory, because that will
1.1       misha    2327:     # break other packages using the cache if that directory is
1.5       moko     2328:     # removed, or if the value is a relative name.
1.1       misha    2329:     INSTALL=$ac_install_sh
                   2330:   fi
                   2331: fi
1.5       moko     2332: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
                   2333: $as_echo "$INSTALL" >&6; }
1.1       misha    2334: 
                   2335: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   2336: # It thinks the first close brace ends the variable substitution.
                   2337: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   2338: 
                   2339: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
                   2340: 
                   2341: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   2342: 
1.5       moko     2343: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
                   2344: $as_echo_n "checking whether build environment is sane... " >&6; }
1.1       misha    2345: # Just in case
                   2346: sleep 1
                   2347: echo timestamp > conftest.file
1.5       moko     2348: # Reject unsafe characters in $srcdir or the absolute working directory
                   2349: # name.  Accept space and tab only in the latter.
                   2350: am_lf='
                   2351: '
                   2352: case `pwd` in
                   2353:   *[\\\"\#\$\&\'\`$am_lf]*)
                   2354:     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
                   2355: esac
                   2356: case $srcdir in
                   2357:   *[\\\"\#\$\&\'\`$am_lf\ \    ]*)
                   2358:     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
                   2359: esac
                   2360: 
1.1       misha    2361: # Do `set' in a subshell so we don't clobber the current shell's
                   2362: # arguments.  Must try -L first in case configure is actually a
                   2363: # symlink; some systems play weird games with the mod time of symlinks
                   2364: # (eg FreeBSD returns the mod time of the symlink's containing
                   2365: # directory).
                   2366: if (
1.5       moko     2367:    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1.1       misha    2368:    if test "$*" = "X"; then
                   2369:       # -L didn't work.
1.5       moko     2370:       set X `ls -t "$srcdir/configure" conftest.file`
1.1       misha    2371:    fi
                   2372:    rm -f conftest.file
                   2373:    if test "$*" != "X $srcdir/configure conftest.file" \
                   2374:       && test "$*" != "X conftest.file $srcdir/configure"; then
                   2375: 
                   2376:       # If neither matched, then we have a broken ls.  This can happen
                   2377:       # if, for instance, CONFIG_SHELL is bash and it inherits a
                   2378:       # broken ls alias from the environment.  This has actually
                   2379:       # happened.  Such a system could not be considered "sane".
1.5       moko     2380:       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
                   2381: alias in your environment" "$LINENO" 5
1.1       misha    2382:    fi
                   2383: 
                   2384:    test "$2" = conftest.file
                   2385:    )
                   2386: then
                   2387:    # Ok.
                   2388:    :
                   2389: else
1.5       moko     2390:    as_fn_error $? "newly created file is older than distributed files!
                   2391: Check your system clock" "$LINENO" 5
1.1       misha    2392: fi
1.5       moko     2393: { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2394: $as_echo "yes" >&6; }
1.1       misha    2395: test "$program_prefix" != NONE &&
1.5       moko     2396:   program_transform_name="s&^&$program_prefix&;$program_transform_name"
1.1       misha    2397: # Use a double $ so make ignores it.
                   2398: test "$program_suffix" != NONE &&
1.5       moko     2399:   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
                   2400: # Double any \ or $.
1.1       misha    2401: # By default was `s,x,x', remove it if useless.
1.5       moko     2402: ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
                   2403: program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1.1       misha    2404: 
                   2405: # expand $ac_aux_dir to an absolute path
                   2406: am_aux_dir=`cd $ac_aux_dir && pwd`
                   2407: 
1.5       moko     2408: if test x"${MISSING+set}" != xset; then
                   2409:   case $am_aux_dir in
                   2410:   *\ * | *\    *)
                   2411:     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
                   2412:   *)
                   2413:     MISSING="\${SHELL} $am_aux_dir/missing" ;;
                   2414:   esac
                   2415: fi
1.1       misha    2416: # Use eval to expand $SHELL
                   2417: if eval "$MISSING --run true"; then
                   2418:   am_missing_run="$MISSING --run "
                   2419: else
                   2420:   am_missing_run=
1.5       moko     2421:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
                   2422: $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
                   2423: fi
                   2424: 
                   2425: if test x"${install_sh}" != xset; then
                   2426:   case $am_aux_dir in
                   2427:   *\ * | *\    *)
                   2428:     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
                   2429:   *)
                   2430:     install_sh="\${SHELL} $am_aux_dir/install-sh"
                   2431:   esac
1.1       misha    2432: fi
                   2433: 
1.5       moko     2434: # Installed binaries are usually stripped using `strip' when the user
                   2435: # run `make install-strip'.  However `strip' might not be the right
                   2436: # tool to use in cross-compilation environments, therefore Automake
                   2437: # will honor the `STRIP' environment variable to overrule this program.
                   2438: if test "$cross_compiling" != no; then
                   2439:   if test -n "$ac_tool_prefix"; then
                   2440:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   2441: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   2442: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2443: $as_echo_n "checking for $ac_word... " >&6; }
                   2444: if ${ac_cv_prog_STRIP+:} false; then :
                   2445:   $as_echo_n "(cached) " >&6
1.1       misha    2446: else
1.5       moko     2447:   if test -n "$STRIP"; then
                   2448:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1.1       misha    2449: else
                   2450: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2451: for as_dir in $PATH
                   2452: do
                   2453:   IFS=$as_save_IFS
                   2454:   test -z "$as_dir" && as_dir=.
1.5       moko     2455:     for ac_exec_ext in '' $ac_executable_extensions; do
                   2456:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   2457:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   2458:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misha    2459:     break 2
                   2460:   fi
                   2461: done
1.5       moko     2462:   done
                   2463: IFS=$as_save_IFS
1.1       misha    2464: 
                   2465: fi
                   2466: fi
1.5       moko     2467: STRIP=$ac_cv_prog_STRIP
                   2468: if test -n "$STRIP"; then
                   2469:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   2470: $as_echo "$STRIP" >&6; }
1.1       misha    2471: else
1.5       moko     2472:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2473: $as_echo "no" >&6; }
1.1       misha    2474: fi
                   2475: 
                   2476: 
1.5       moko     2477: fi
                   2478: if test -z "$ac_cv_prog_STRIP"; then
                   2479:   ac_ct_STRIP=$STRIP
                   2480:   # Extract the first word of "strip", so it can be a program name with args.
                   2481: set dummy strip; ac_word=$2
                   2482: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2483: $as_echo_n "checking for $ac_word... " >&6; }
                   2484: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
                   2485:   $as_echo_n "(cached) " >&6
1.1       misha    2486: else
1.5       moko     2487:   if test -n "$ac_ct_STRIP"; then
                   2488:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1.1       misha    2489: else
1.5       moko     2490: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2491: for as_dir in $PATH
                   2492: do
                   2493:   IFS=$as_save_IFS
                   2494:   test -z "$as_dir" && as_dir=.
                   2495:     for ac_exec_ext in '' $ac_executable_extensions; do
                   2496:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   2497:     ac_cv_prog_ac_ct_STRIP="strip"
                   2498:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2499:     break 2
                   2500:   fi
                   2501: done
                   2502:   done
                   2503: IFS=$as_save_IFS
                   2504: 
1.1       misha    2505: fi
                   2506: fi
1.5       moko     2507: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   2508: if test -n "$ac_ct_STRIP"; then
                   2509:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   2510: $as_echo "$ac_ct_STRIP" >&6; }
1.1       misha    2511: else
1.5       moko     2512:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2513: $as_echo "no" >&6; }
1.1       misha    2514: fi
                   2515: 
1.5       moko     2516:   if test "x$ac_ct_STRIP" = x; then
                   2517:     STRIP=":"
                   2518:   else
                   2519:     case $cross_compiling:$ac_tool_warned in
                   2520: yes:)
                   2521: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   2522: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   2523: ac_tool_warned=yes ;;
                   2524: esac
                   2525:     STRIP=$ac_ct_STRIP
                   2526:   fi
                   2527: else
                   2528:   STRIP="$ac_cv_prog_STRIP"
                   2529: fi
                   2530: 
                   2531: fi
                   2532: INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
                   2533: 
                   2534: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
                   2535: $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
                   2536: if test -z "$MKDIR_P"; then
                   2537:   if ${ac_cv_path_mkdir+:} false; then :
                   2538:   $as_echo_n "(cached) " >&6
                   2539: else
                   2540:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2541: for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
                   2542: do
                   2543:   IFS=$as_save_IFS
                   2544:   test -z "$as_dir" && as_dir=.
                   2545:     for ac_prog in mkdir gmkdir; do
                   2546:         for ac_exec_ext in '' $ac_executable_extensions; do
                   2547:           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
                   2548:           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
                   2549:             'mkdir (GNU coreutils) '* | \
                   2550:             'mkdir (coreutils) '* | \
                   2551:             'mkdir (fileutils) '4.1*)
                   2552:               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
                   2553:               break 3;;
                   2554:           esac
                   2555:         done
                   2556:        done
                   2557:   done
                   2558: IFS=$as_save_IFS
                   2559: 
                   2560: fi
                   2561: 
                   2562:   test -d ./--version && rmdir ./--version
                   2563:   if test "${ac_cv_path_mkdir+set}" = set; then
                   2564:     MKDIR_P="$ac_cv_path_mkdir -p"
                   2565:   else
                   2566:     # As a last resort, use the slow shell script.  Don't cache a
                   2567:     # value for MKDIR_P within a source directory, because that will
                   2568:     # break other packages using the cache if that directory is
                   2569:     # removed, or if the value is a relative name.
                   2570:     MKDIR_P="$ac_install_sh -d"
                   2571:   fi
                   2572: fi
                   2573: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
                   2574: $as_echo "$MKDIR_P" >&6; }
                   2575: 
                   2576: mkdir_p="$MKDIR_P"
                   2577: case $mkdir_p in
                   2578:   [\\/$]* | ?:[\\/]*) ;;
                   2579:   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
                   2580: esac
                   2581: 
                   2582: for ac_prog in gawk mawk nawk awk
                   2583: do
                   2584:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2585: set dummy $ac_prog; ac_word=$2
                   2586: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2587: $as_echo_n "checking for $ac_word... " >&6; }
                   2588: if ${ac_cv_prog_AWK+:} false; then :
                   2589:   $as_echo_n "(cached) " >&6
                   2590: else
                   2591:   if test -n "$AWK"; then
                   2592:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   2593: else
                   2594: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2595: for as_dir in $PATH
                   2596: do
                   2597:   IFS=$as_save_IFS
                   2598:   test -z "$as_dir" && as_dir=.
                   2599:     for ac_exec_ext in '' $ac_executable_extensions; do
                   2600:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   2601:     ac_cv_prog_AWK="$ac_prog"
                   2602:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2603:     break 2
                   2604:   fi
                   2605: done
                   2606:   done
                   2607: IFS=$as_save_IFS
                   2608: 
                   2609: fi
                   2610: fi
                   2611: AWK=$ac_cv_prog_AWK
                   2612: if test -n "$AWK"; then
                   2613:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
                   2614: $as_echo "$AWK" >&6; }
                   2615: else
                   2616:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2617: $as_echo "no" >&6; }
                   2618: fi
                   2619: 
                   2620: 
                   2621:   test -n "$AWK" && break
                   2622: done
                   2623: 
                   2624: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   2625: $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
                   2626: set x ${MAKE-make}
                   2627: ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
                   2628: if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
                   2629:   $as_echo_n "(cached) " >&6
                   2630: else
                   2631:   cat >conftest.make <<\_ACEOF
                   2632: SHELL = /bin/sh
                   2633: all:
                   2634:        @echo '@@@%%%=$(MAKE)=@@@%%%'
                   2635: _ACEOF
                   2636: # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
                   2637: case `${MAKE-make} -f conftest.make 2>/dev/null` in
                   2638:   *@@@%%%=?*=@@@%%%*)
                   2639:     eval ac_cv_prog_make_${ac_make}_set=yes;;
                   2640:   *)
                   2641:     eval ac_cv_prog_make_${ac_make}_set=no;;
                   2642: esac
                   2643: rm -f conftest.make
                   2644: fi
                   2645: if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
                   2646:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   2647: $as_echo "yes" >&6; }
                   2648:   SET_MAKE=
                   2649: else
                   2650:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   2651: $as_echo "no" >&6; }
                   2652:   SET_MAKE="MAKE=${MAKE-make}"
                   2653: fi
                   2654: 
                   2655: rm -rf .tst 2>/dev/null
                   2656: mkdir .tst 2>/dev/null
                   2657: if test -d .tst; then
                   2658:   am__leading_dot=.
                   2659: else
                   2660:   am__leading_dot=_
                   2661: fi
                   2662: rmdir .tst 2>/dev/null
                   2663: 
                   2664: if test "`cd $srcdir && pwd`" != "`pwd`"; then
                   2665:   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
                   2666:   # is not polluted with repeated "-I."
                   2667:   am__isrc=' -I$(srcdir)'
                   2668:   # test to see if srcdir already configured
                   2669:   if test -f $srcdir/config.status; then
                   2670:     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
                   2671:   fi
1.1       misha    2672: fi
                   2673: 
                   2674: # test whether we have cygpath
                   2675: if test -z "$CYGPATH_W"; then
                   2676:   if (cygpath --version) >/dev/null 2>/dev/null; then
                   2677:     CYGPATH_W='cygpath -w'
                   2678:   else
                   2679:     CYGPATH_W=echo
                   2680:   fi
                   2681: fi
                   2682: 
                   2683: 
                   2684: # Define the identity of the package.
1.5       moko     2685:  PACKAGE='libltdl'
                   2686:  VERSION='2.4.2'
                   2687: 
                   2688: 
                   2689: cat >>confdefs.h <<_ACEOF
                   2690: #define PACKAGE "$PACKAGE"
                   2691: _ACEOF
                   2692: 
1.1       misha    2693: 
1.5       moko     2694: cat >>confdefs.h <<_ACEOF
                   2695: #define VERSION "$VERSION"
                   2696: _ACEOF
1.1       misha    2697: 
                   2698: # Some tools Automake needs.
                   2699: 
                   2700: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
                   2701: 
                   2702: 
                   2703: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   2704: 
                   2705: 
                   2706: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
                   2707: 
                   2708: 
                   2709: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   2710: 
                   2711: 
                   2712: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
                   2713: 
1.5       moko     2714: # We need awk for the "check" target.  The system "awk" is bad on
                   2715: # some platforms.
                   2716: # Always define AMTAR for backward compatibility.
1.1       misha    2717: 
                   2718: AMTAR=${AMTAR-"${am_missing_run}tar"}
                   2719: 
1.5       moko     2720: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
                   2721: 
                   2722: 
                   2723: 
                   2724: 
                   2725: 
                   2726: 
                   2727: 
                   2728: ## ------------------------------- ##
                   2729: ## Libtool specific configuration. ##
                   2730: ## ------------------------------- ##
                   2731: pkgdatadir='${datadir}'"/${PACKAGE}"
                   2732: 
                   2733: 
                   2734: ## ----------------------- ##
                   2735: ## Libtool initialisation. ##
                   2736: ## ----------------------- ##
                   2737: case `pwd` in
                   2738:   *\ * | *\    *)
                   2739:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
                   2740: $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
                   2741: esac
                   2742: 
                   2743: 
                   2744: 
                   2745: macro_version='2.4.2'
                   2746: macro_revision='1.3337'
                   2747: 
                   2748: 
                   2749: 
                   2750: 
                   2751: 
                   2752: 
                   2753: 
1.1       misha    2754: 
                   2755: 
1.5       moko     2756: 
                   2757: 
                   2758: 
                   2759: 
                   2760: ltmain="$ac_aux_dir/ltmain.sh"
                   2761: 
                   2762: # Make sure we can run config.sub.
                   2763: $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
                   2764:   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
                   2765: 
                   2766: { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
                   2767: $as_echo_n "checking build system type... " >&6; }
                   2768: if ${ac_cv_build+:} false; then :
                   2769:   $as_echo_n "(cached) " >&6
                   2770: else
                   2771:   ac_build_alias=$build_alias
                   2772: test "x$ac_build_alias" = x &&
                   2773:   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
                   2774: test "x$ac_build_alias" = x &&
                   2775:   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
                   2776: ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
                   2777:   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
                   2778: 
                   2779: fi
                   2780: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
                   2781: $as_echo "$ac_cv_build" >&6; }
                   2782: case $ac_cv_build in
                   2783: *-*-*) ;;
                   2784: *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
                   2785: esac
                   2786: build=$ac_cv_build
                   2787: ac_save_IFS=$IFS; IFS='-'
                   2788: set x $ac_cv_build
                   2789: shift
                   2790: build_cpu=$1
                   2791: build_vendor=$2
                   2792: shift; shift
                   2793: # Remember, the first character of IFS is used to create $*,
                   2794: # except with old shells:
                   2795: build_os=$*
                   2796: IFS=$ac_save_IFS
                   2797: case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
                   2798: 
                   2799: 
                   2800: { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
                   2801: $as_echo_n "checking host system type... " >&6; }
                   2802: if ${ac_cv_host+:} false; then :
                   2803:   $as_echo_n "(cached) " >&6
                   2804: else
                   2805:   if test "x$host_alias" = x; then
                   2806:   ac_cv_host=$ac_cv_build
                   2807: else
                   2808:   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
                   2809:     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
1.1       misha    2810: fi
1.5       moko     2811: 
1.1       misha    2812: fi
1.5       moko     2813: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
                   2814: $as_echo "$ac_cv_host" >&6; }
                   2815: case $ac_cv_host in
                   2816: *-*-*) ;;
                   2817: *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
                   2818: esac
                   2819: host=$ac_cv_host
                   2820: ac_save_IFS=$IFS; IFS='-'
                   2821: set x $ac_cv_host
                   2822: shift
                   2823: host_cpu=$1
                   2824: host_vendor=$2
                   2825: shift; shift
                   2826: # Remember, the first character of IFS is used to create $*,
                   2827: # except with old shells:
                   2828: host_os=$*
                   2829: IFS=$ac_save_IFS
                   2830: case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
                   2831: 
                   2832: 
                   2833: # Backslashify metacharacters that are still active within
                   2834: # double-quoted strings.
                   2835: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
                   2836: 
                   2837: # Same as above, but do not quote variable references.
                   2838: double_quote_subst='s/\(["`\\]\)/\\\1/g'
                   2839: 
                   2840: # Sed substitution to delay expansion of an escaped shell variable in a
                   2841: # double_quote_subst'ed string.
                   2842: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
                   2843: 
                   2844: # Sed substitution to delay expansion of an escaped single quote.
                   2845: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
                   2846: 
                   2847: # Sed substitution to avoid accidental globbing in evaled expressions
                   2848: no_glob_subst='s/\*/\\\*/g'
                   2849: 
                   2850: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   2851: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
                   2852: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
                   2853: 
                   2854: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
                   2855: $as_echo_n "checking how to print strings... " >&6; }
                   2856: # Test print first, because it will be a builtin if present.
                   2857: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
                   2858:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
                   2859:   ECHO='print -r --'
                   2860: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
                   2861:   ECHO='printf %s\n'
1.1       misha    2862: else
1.5       moko     2863:   # Use this function as a fallback that always works.
                   2864:   func_fallback_echo ()
                   2865:   {
                   2866:     eval 'cat <<_LTECHO_EOF
                   2867: $1
                   2868: _LTECHO_EOF'
                   2869:   }
                   2870:   ECHO='func_fallback_echo'
1.1       misha    2871: fi
                   2872: 
1.5       moko     2873: # func_echo_all arg...
                   2874: # Invoke $ECHO with all args, space-separated.
                   2875: func_echo_all ()
                   2876: {
                   2877:     $ECHO ""
                   2878: }
                   2879: 
                   2880: case "$ECHO" in
                   2881:   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
                   2882: $as_echo "printf" >&6; } ;;
                   2883:   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
                   2884: $as_echo "print -r" >&6; } ;;
                   2885:   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
                   2886: $as_echo "cat" >&6; } ;;
                   2887: esac
                   2888: 
                   2889: 
                   2890: 
                   2891: 
                   2892: 
                   2893: 
                   2894: 
1.1       misha    2895: 
                   2896: 
                   2897: 
                   2898: 
                   2899: 
                   2900: 
                   2901: 
1.5       moko     2902: DEPDIR="${am__leading_dot}deps"
1.1       misha    2903: 
1.5       moko     2904: ac_config_commands="$ac_config_commands depfiles"
1.1       misha    2905: 
                   2906: 
1.5       moko     2907: am_make=${MAKE-make}
                   2908: cat > confinc << 'END'
                   2909: am__doit:
                   2910:        @echo this is the am__doit target
                   2911: .PHONY: am__doit
                   2912: END
                   2913: # If we don't find an include directive, just comment out the code.
                   2914: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
                   2915: $as_echo_n "checking for style of include used by $am_make... " >&6; }
                   2916: am__include="#"
                   2917: am__quote=
                   2918: _am_result=none
                   2919: # First try GNU make style include.
                   2920: echo "include confinc" > confmf
                   2921: # Ignore all kinds of additional output from `make'.
                   2922: case `$am_make -s -f confmf 2> /dev/null` in #(
                   2923: *the\ am__doit\ target*)
                   2924:   am__include=include
                   2925:   am__quote=
                   2926:   _am_result=GNU
                   2927:   ;;
                   2928: esac
                   2929: # Now try BSD make style include.
                   2930: if test "$am__include" = "#"; then
                   2931:    echo '.include "confinc"' > confmf
                   2932:    case `$am_make -s -f confmf 2> /dev/null` in #(
                   2933:    *the\ am__doit\ target*)
                   2934:      am__include=.include
                   2935:      am__quote="\""
                   2936:      _am_result=BSD
                   2937:      ;;
                   2938:    esac
1.1       misha    2939: fi
                   2940: 
                   2941: 
1.5       moko     2942: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
                   2943: $as_echo "$_am_result" >&6; }
                   2944: rm -f confinc confmf
                   2945: 
                   2946: # Check whether --enable-dependency-tracking was given.
                   2947: if test "${enable_dependency_tracking+set}" = set; then :
                   2948:   enableval=$enable_dependency_tracking;
                   2949: fi
                   2950: 
                   2951: if test "x$enable_dependency_tracking" != xno; then
                   2952:   am_depcomp="$ac_aux_dir/depcomp"
                   2953:   AMDEPBACKSLASH='\'
                   2954: fi
                   2955:  if test "x$enable_dependency_tracking" != xno; then
                   2956:   AMDEP_TRUE=
                   2957:   AMDEP_FALSE='#'
                   2958: else
                   2959:   AMDEP_TRUE='#'
                   2960:   AMDEP_FALSE=
                   2961: fi
1.1       misha    2962: 
                   2963: 
                   2964: ac_ext=c
                   2965: ac_cpp='$CPP $CPPFLAGS'
                   2966: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2967: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2968: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2969: if test -n "$ac_tool_prefix"; then
                   2970:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   2971: set dummy ${ac_tool_prefix}gcc; ac_word=$2
1.5       moko     2972: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   2973: $as_echo_n "checking for $ac_word... " >&6; }
                   2974: if ${ac_cv_prog_CC+:} false; then :
                   2975:   $as_echo_n "(cached) " >&6
1.1       misha    2976: else
                   2977:   if test -n "$CC"; then
                   2978:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2979: else
                   2980: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2981: for as_dir in $PATH
                   2982: do
                   2983:   IFS=$as_save_IFS
                   2984:   test -z "$as_dir" && as_dir=.
1.5       moko     2985:     for ac_exec_ext in '' $ac_executable_extensions; do
                   2986:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1       misha    2987:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1.5       moko     2988:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misha    2989:     break 2
                   2990:   fi
                   2991: done
1.5       moko     2992:   done
                   2993: IFS=$as_save_IFS
1.1       misha    2994: 
                   2995: fi
                   2996: fi
                   2997: CC=$ac_cv_prog_CC
                   2998: if test -n "$CC"; then
1.5       moko     2999:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3000: $as_echo "$CC" >&6; }
1.1       misha    3001: else
1.5       moko     3002:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3003: $as_echo "no" >&6; }
1.1       misha    3004: fi
                   3005: 
1.5       moko     3006: 
1.1       misha    3007: fi
                   3008: if test -z "$ac_cv_prog_CC"; then
                   3009:   ac_ct_CC=$CC
                   3010:   # Extract the first word of "gcc", so it can be a program name with args.
                   3011: set dummy gcc; ac_word=$2
1.5       moko     3012: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3013: $as_echo_n "checking for $ac_word... " >&6; }
                   3014: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   3015:   $as_echo_n "(cached) " >&6
1.1       misha    3016: else
                   3017:   if test -n "$ac_ct_CC"; then
                   3018:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3019: else
                   3020: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3021: for as_dir in $PATH
                   3022: do
                   3023:   IFS=$as_save_IFS
                   3024:   test -z "$as_dir" && as_dir=.
1.5       moko     3025:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3026:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1       misha    3027:     ac_cv_prog_ac_ct_CC="gcc"
1.5       moko     3028:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misha    3029:     break 2
                   3030:   fi
                   3031: done
1.5       moko     3032:   done
                   3033: IFS=$as_save_IFS
1.1       misha    3034: 
                   3035: fi
                   3036: fi
                   3037: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3038: if test -n "$ac_ct_CC"; then
1.5       moko     3039:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   3040: $as_echo "$ac_ct_CC" >&6; }
1.1       misha    3041: else
1.5       moko     3042:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3043: $as_echo "no" >&6; }
1.1       misha    3044: fi
                   3045: 
1.5       moko     3046:   if test "x$ac_ct_CC" = x; then
                   3047:     CC=""
                   3048:   else
                   3049:     case $cross_compiling:$ac_tool_warned in
                   3050: yes:)
                   3051: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3052: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3053: ac_tool_warned=yes ;;
                   3054: esac
                   3055:     CC=$ac_ct_CC
                   3056:   fi
1.1       misha    3057: else
                   3058:   CC="$ac_cv_prog_CC"
                   3059: fi
                   3060: 
                   3061: if test -z "$CC"; then
1.5       moko     3062:           if test -n "$ac_tool_prefix"; then
                   3063:     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1.1       misha    3064: set dummy ${ac_tool_prefix}cc; ac_word=$2
1.5       moko     3065: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3066: $as_echo_n "checking for $ac_word... " >&6; }
                   3067: if ${ac_cv_prog_CC+:} false; then :
                   3068:   $as_echo_n "(cached) " >&6
1.1       misha    3069: else
                   3070:   if test -n "$CC"; then
                   3071:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3072: else
                   3073: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3074: for as_dir in $PATH
                   3075: do
                   3076:   IFS=$as_save_IFS
                   3077:   test -z "$as_dir" && as_dir=.
1.5       moko     3078:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3079:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1       misha    3080:     ac_cv_prog_CC="${ac_tool_prefix}cc"
1.5       moko     3081:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misha    3082:     break 2
                   3083:   fi
                   3084: done
1.5       moko     3085:   done
                   3086: IFS=$as_save_IFS
1.1       misha    3087: 
                   3088: fi
                   3089: fi
                   3090: CC=$ac_cv_prog_CC
                   3091: if test -n "$CC"; then
1.5       moko     3092:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3093: $as_echo "$CC" >&6; }
1.1       misha    3094: else
1.5       moko     3095:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3096: $as_echo "no" >&6; }
1.1       misha    3097: fi
                   3098: 
1.5       moko     3099: 
                   3100:   fi
1.1       misha    3101: fi
1.5       moko     3102: if test -z "$CC"; then
1.1       misha    3103:   # Extract the first word of "cc", so it can be a program name with args.
                   3104: set dummy cc; ac_word=$2
1.5       moko     3105: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3106: $as_echo_n "checking for $ac_word... " >&6; }
                   3107: if ${ac_cv_prog_CC+:} false; then :
                   3108:   $as_echo_n "(cached) " >&6
1.1       misha    3109: else
1.5       moko     3110:   if test -n "$CC"; then
                   3111:   ac_cv_prog_CC="$CC" # Let the user override the test.
1.1       misha    3112: else
1.5       moko     3113:   ac_prog_rejected=no
1.1       misha    3114: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3115: for as_dir in $PATH
                   3116: do
                   3117:   IFS=$as_save_IFS
                   3118:   test -z "$as_dir" && as_dir=.
1.5       moko     3119:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3120:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   3121:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   3122:        ac_prog_rejected=yes
                   3123:        continue
                   3124:      fi
                   3125:     ac_cv_prog_CC="cc"
                   3126:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misha    3127:     break 2
                   3128:   fi
                   3129: done
1.5       moko     3130:   done
                   3131: IFS=$as_save_IFS
1.1       misha    3132: 
1.5       moko     3133: if test $ac_prog_rejected = yes; then
                   3134:   # We found a bogon in the path, so make sure we never use it.
                   3135:   set dummy $ac_cv_prog_CC
                   3136:   shift
                   3137:   if test $# != 0; then
                   3138:     # We chose a different compiler from the bogus one.
                   3139:     # However, it has the same basename, so the bogon will be chosen
                   3140:     # first if we set CC to just the basename; use the full file name.
1.1       misha    3141:     shift
                   3142:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
                   3143:   fi
                   3144: fi
                   3145: fi
                   3146: fi
                   3147: CC=$ac_cv_prog_CC
                   3148: if test -n "$CC"; then
1.5       moko     3149:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3150: $as_echo "$CC" >&6; }
1.1       misha    3151: else
1.5       moko     3152:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3153: $as_echo "no" >&6; }
1.1       misha    3154: fi
                   3155: 
1.5       moko     3156: 
1.1       misha    3157: fi
                   3158: if test -z "$CC"; then
                   3159:   if test -n "$ac_tool_prefix"; then
1.5       moko     3160:   for ac_prog in cl.exe
1.1       misha    3161:   do
                   3162:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3163: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1.5       moko     3164: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3165: $as_echo_n "checking for $ac_word... " >&6; }
                   3166: if ${ac_cv_prog_CC+:} false; then :
                   3167:   $as_echo_n "(cached) " >&6
1.1       misha    3168: else
                   3169:   if test -n "$CC"; then
                   3170:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   3171: else
                   3172: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3173: for as_dir in $PATH
                   3174: do
                   3175:   IFS=$as_save_IFS
                   3176:   test -z "$as_dir" && as_dir=.
1.5       moko     3177:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3178:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1       misha    3179:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1.5       moko     3180:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misha    3181:     break 2
                   3182:   fi
                   3183: done
1.5       moko     3184:   done
                   3185: IFS=$as_save_IFS
1.1       misha    3186: 
                   3187: fi
                   3188: fi
                   3189: CC=$ac_cv_prog_CC
                   3190: if test -n "$CC"; then
1.5       moko     3191:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
                   3192: $as_echo "$CC" >&6; }
1.1       misha    3193: else
1.5       moko     3194:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3195: $as_echo "no" >&6; }
1.1       misha    3196: fi
                   3197: 
1.5       moko     3198: 
1.1       misha    3199:     test -n "$CC" && break
                   3200:   done
                   3201: fi
                   3202: if test -z "$CC"; then
                   3203:   ac_ct_CC=$CC
1.5       moko     3204:   for ac_prog in cl.exe
1.1       misha    3205: do
                   3206:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3207: set dummy $ac_prog; ac_word=$2
1.5       moko     3208: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   3209: $as_echo_n "checking for $ac_word... " >&6; }
                   3210: if ${ac_cv_prog_ac_ct_CC+:} false; then :
                   3211:   $as_echo_n "(cached) " >&6
1.1       misha    3212: else
                   3213:   if test -n "$ac_ct_CC"; then
                   3214:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   3215: else
                   3216: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3217: for as_dir in $PATH
                   3218: do
                   3219:   IFS=$as_save_IFS
                   3220:   test -z "$as_dir" && as_dir=.
1.5       moko     3221:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3222:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1       misha    3223:     ac_cv_prog_ac_ct_CC="$ac_prog"
1.5       moko     3224:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misha    3225:     break 2
                   3226:   fi
                   3227: done
1.5       moko     3228:   done
                   3229: IFS=$as_save_IFS
1.1       misha    3230: 
                   3231: fi
                   3232: fi
                   3233: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   3234: if test -n "$ac_ct_CC"; then
1.5       moko     3235:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
                   3236: $as_echo "$ac_ct_CC" >&6; }
1.1       misha    3237: else
1.5       moko     3238:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3239: $as_echo "no" >&6; }
1.1       misha    3240: fi
                   3241: 
1.5       moko     3242: 
1.1       misha    3243:   test -n "$ac_ct_CC" && break
                   3244: done
                   3245: 
1.5       moko     3246:   if test "x$ac_ct_CC" = x; then
                   3247:     CC=""
                   3248:   else
                   3249:     case $cross_compiling:$ac_tool_warned in
                   3250: yes:)
                   3251: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   3252: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   3253: ac_tool_warned=yes ;;
                   3254: esac
                   3255:     CC=$ac_ct_CC
                   3256:   fi
1.1       misha    3257: fi
                   3258: 
                   3259: fi
                   3260: 
                   3261: 
1.5       moko     3262: test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3263: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3264: as_fn_error $? "no acceptable C compiler found in \$PATH
                   3265: See \`config.log' for more details" "$LINENO" 5; }
1.1       misha    3266: 
                   3267: # Provide some information about the compiler.
1.5       moko     3268: $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
                   3269: set X $ac_compile
                   3270: ac_compiler=$2
                   3271: for ac_option in --version -v -V -qversion; do
                   3272:   { { ac_try="$ac_compiler $ac_option >&5"
                   3273: case "(($ac_try" in
                   3274:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3275:   *) ac_try_echo=$ac_try;;
                   3276: esac
                   3277: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3278: $as_echo "$ac_try_echo"; } >&5
                   3279:   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1.1       misha    3280:   ac_status=$?
1.5       moko     3281:   if test -s conftest.err; then
                   3282:     sed '10a\
                   3283: ... rest of stderr output deleted ...
                   3284:          10q' conftest.err >conftest.er1
                   3285:     cat conftest.er1 >&5
                   3286:   fi
                   3287:   rm -f conftest.er1 conftest.err
                   3288:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3289:   test $ac_status = 0; }
                   3290: done
1.1       misha    3291: 
1.5       moko     3292: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misha    3293: /* end confdefs.h.  */
                   3294: 
                   3295: int
                   3296: main ()
                   3297: {
                   3298: 
                   3299:   ;
                   3300:   return 0;
                   3301: }
                   3302: _ACEOF
                   3303: ac_clean_files_save=$ac_clean_files
1.5       moko     3304: ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
1.1       misha    3305: # Try to create an executable without -o first, disregard a.out.
                   3306: # It will help us diagnose broken compilers, and finding out an intuition
                   3307: # of exeext.
1.5       moko     3308: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
                   3309: $as_echo_n "checking whether the C compiler works... " >&6; }
                   3310: ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   3311: 
                   3312: # The possible output files:
                   3313: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
                   3314: 
                   3315: ac_rmfiles=
                   3316: for ac_file in $ac_files
                   3317: do
                   3318:   case $ac_file in
                   3319:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
                   3320:     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
                   3321:   esac
                   3322: done
                   3323: rm -f $ac_rmfiles
                   3324: 
                   3325: if { { ac_try="$ac_link_default"
                   3326: case "(($ac_try" in
                   3327:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3328:   *) ac_try_echo=$ac_try;;
                   3329: esac
                   3330: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3331: $as_echo "$ac_try_echo"; } >&5
                   3332:   (eval "$ac_link_default") 2>&5
                   3333:   ac_status=$?
                   3334:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3335:   test $ac_status = 0; }; then :
                   3336:   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
                   3337: # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
                   3338: # in a Makefile.  We should not override ac_cv_exeext if it was cached,
                   3339: # so that the user can short-circuit this test for compilers unknown to
                   3340: # Autoconf.
                   3341: for ac_file in $ac_files ''
1.1       misha    3342: do
                   3343:   test -f "$ac_file" || continue
                   3344:   case $ac_file in
1.5       moko     3345:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
                   3346:        ;;
1.1       misha    3347:     [ab].out )
1.5       moko     3348:        # We found the default executable, but exeext='' is most
                   3349:        # certainly right.
                   3350:        break;;
1.1       misha    3351:     *.* )
1.5       moko     3352:        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
                   3353:        then :; else
                   3354:           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   3355:        fi
                   3356:        # We set ac_cv_exeext here because the later test for it is not
                   3357:        # safe: cross compilers may not add the suffix if given an `-o'
                   3358:        # argument, so we may need to know it at that point already.
                   3359:        # Even if this section looks crufty: it has the advantage of
                   3360:        # actually working.
                   3361:        break;;
1.1       misha    3362:     * )
1.5       moko     3363:        break;;
1.1       misha    3364:   esac
                   3365: done
1.5       moko     3366: test "$ac_cv_exeext" = no && ac_cv_exeext=
                   3367: 
1.1       misha    3368: else
1.5       moko     3369:   ac_file=''
                   3370: fi
                   3371: if test -z "$ac_file"; then :
                   3372:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   3373: $as_echo "no" >&6; }
                   3374: $as_echo "$as_me: failed program was:" >&5
1.1       misha    3375: sed 's/^/| /' conftest.$ac_ext >&5
                   3376: 
1.5       moko     3377: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3378: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3379: as_fn_error 77 "C compiler cannot create executables
                   3380: See \`config.log' for more details" "$LINENO" 5; }
                   3381: else
                   3382:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   3383: $as_echo "yes" >&6; }
1.1       misha    3384: fi
1.5       moko     3385: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
                   3386: $as_echo_n "checking for C compiler default output file name... " >&6; }
                   3387: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
                   3388: $as_echo "$ac_file" >&6; }
1.1       misha    3389: ac_exeext=$ac_cv_exeext
                   3390: 
1.5       moko     3391: rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
1.1       misha    3392: ac_clean_files=$ac_clean_files_save
1.5       moko     3393: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
                   3394: $as_echo_n "checking for suffix of executables... " >&6; }
                   3395: if { { ac_try="$ac_link"
                   3396: case "(($ac_try" in
                   3397:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3398:   *) ac_try_echo=$ac_try;;
                   3399: esac
                   3400: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3401: $as_echo "$ac_try_echo"; } >&5
                   3402:   (eval "$ac_link") 2>&5
1.1       misha    3403:   ac_status=$?
1.5       moko     3404:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3405:   test $ac_status = 0; }; then :
1.1       misha    3406:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   3407: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   3408: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   3409: # `rm'.
                   3410: for ac_file in conftest.exe conftest conftest.*; do
                   3411:   test -f "$ac_file" || continue
                   3412:   case $ac_file in
1.5       moko     3413:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
1.1       misha    3414:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.5       moko     3415:          break;;
1.1       misha    3416:     * ) break;;
                   3417:   esac
                   3418: done
                   3419: else
1.5       moko     3420:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3421: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3422: as_fn_error $? "cannot compute suffix of executables: cannot compile and link
                   3423: See \`config.log' for more details" "$LINENO" 5; }
                   3424: fi
                   3425: rm -f conftest conftest$ac_cv_exeext
                   3426: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
                   3427: $as_echo "$ac_cv_exeext" >&6; }
1.1       misha    3428: 
                   3429: rm -f conftest.$ac_ext
                   3430: EXEEXT=$ac_cv_exeext
                   3431: ac_exeext=$EXEEXT
1.5       moko     3432: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3433: /* end confdefs.h.  */
                   3434: #include <stdio.h>
                   3435: int
                   3436: main ()
                   3437: {
                   3438: FILE *f = fopen ("conftest.out", "w");
                   3439:  return ferror (f) || fclose (f) != 0;
                   3440: 
                   3441:   ;
                   3442:   return 0;
                   3443: }
                   3444: _ACEOF
                   3445: ac_clean_files="$ac_clean_files conftest.out"
                   3446: # Check that the compiler produces executables we can run.  If not, either
                   3447: # the compiler is broken, or we cross compile.
                   3448: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
                   3449: $as_echo_n "checking whether we are cross compiling... " >&6; }
                   3450: if test "$cross_compiling" != yes; then
                   3451:   { { ac_try="$ac_link"
                   3452: case "(($ac_try" in
                   3453:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3454:   *) ac_try_echo=$ac_try;;
                   3455: esac
                   3456: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3457: $as_echo "$ac_try_echo"; } >&5
                   3458:   (eval "$ac_link") 2>&5
                   3459:   ac_status=$?
                   3460:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3461:   test $ac_status = 0; }
                   3462:   if { ac_try='./conftest$ac_cv_exeext'
                   3463:   { { case "(($ac_try" in
                   3464:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3465:   *) ac_try_echo=$ac_try;;
                   3466: esac
                   3467: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3468: $as_echo "$ac_try_echo"; } >&5
                   3469:   (eval "$ac_try") 2>&5
                   3470:   ac_status=$?
                   3471:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3472:   test $ac_status = 0; }; }; then
                   3473:     cross_compiling=no
                   3474:   else
                   3475:     if test "$cross_compiling" = maybe; then
                   3476:        cross_compiling=yes
                   3477:     else
                   3478:        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3479: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3480: as_fn_error $? "cannot run C compiled programs.
                   3481: If you meant to cross compile, use \`--host'.
                   3482: See \`config.log' for more details" "$LINENO" 5; }
                   3483:     fi
                   3484:   fi
                   3485: fi
                   3486: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
                   3487: $as_echo "$cross_compiling" >&6; }
                   3488: 
                   3489: rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
                   3490: ac_clean_files=$ac_clean_files_save
                   3491: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
                   3492: $as_echo_n "checking for suffix of object files... " >&6; }
                   3493: if ${ac_cv_objext+:} false; then :
                   3494:   $as_echo_n "(cached) " >&6
1.1       misha    3495: else
1.5       moko     3496:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misha    3497: /* end confdefs.h.  */
                   3498: 
                   3499: int
                   3500: main ()
                   3501: {
                   3502: 
                   3503:   ;
                   3504:   return 0;
                   3505: }
                   3506: _ACEOF
                   3507: rm -f conftest.o conftest.obj
1.5       moko     3508: if { { ac_try="$ac_compile"
                   3509: case "(($ac_try" in
                   3510:   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
                   3511:   *) ac_try_echo=$ac_try;;
                   3512: esac
                   3513: eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
                   3514: $as_echo "$ac_try_echo"; } >&5
                   3515:   (eval "$ac_compile") 2>&5
                   3516:   ac_status=$?
                   3517:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   3518:   test $ac_status = 0; }; then :
                   3519:   for ac_file in conftest.o conftest.obj conftest.*; do
                   3520:   test -f "$ac_file" || continue;
1.1       misha    3521:   case $ac_file in
1.5       moko     3522:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
1.1       misha    3523:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   3524:        break;;
                   3525:   esac
                   3526: done
                   3527: else
1.5       moko     3528:   $as_echo "$as_me: failed program was:" >&5
1.1       misha    3529: sed 's/^/| /' conftest.$ac_ext >&5
                   3530: 
1.5       moko     3531: { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   3532: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   3533: as_fn_error $? "cannot compute suffix of object files: cannot compile
                   3534: See \`config.log' for more details" "$LINENO" 5; }
1.1       misha    3535: fi
                   3536: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   3537: fi
1.5       moko     3538: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
                   3539: $as_echo "$ac_cv_objext" >&6; }
1.1       misha    3540: OBJEXT=$ac_cv_objext
                   3541: ac_objext=$OBJEXT
1.5       moko     3542: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
                   3543: $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
                   3544: if ${ac_cv_c_compiler_gnu+:} false; then :
                   3545:   $as_echo_n "(cached) " >&6
1.1       misha    3546: else
1.5       moko     3547:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misha    3548: /* end confdefs.h.  */
                   3549: 
                   3550: int
                   3551: main ()
                   3552: {
                   3553: #ifndef __GNUC__
                   3554:        choke me
                   3555: #endif
                   3556: 
                   3557:   ;
                   3558:   return 0;
                   3559: }
                   3560: _ACEOF
1.5       moko     3561: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misha    3562:   ac_compiler_gnu=yes
                   3563: else
1.5       moko     3564:   ac_compiler_gnu=no
1.1       misha    3565: fi
1.5       moko     3566: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       misha    3567: ac_cv_c_compiler_gnu=$ac_compiler_gnu
                   3568: 
                   3569: fi
1.5       moko     3570: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
                   3571: $as_echo "$ac_cv_c_compiler_gnu" >&6; }
                   3572: if test $ac_compiler_gnu = yes; then
                   3573:   GCC=yes
                   3574: else
                   3575:   GCC=
                   3576: fi
1.1       misha    3577: ac_test_CFLAGS=${CFLAGS+set}
                   3578: ac_save_CFLAGS=$CFLAGS
1.5       moko     3579: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
                   3580: $as_echo_n "checking whether $CC accepts -g... " >&6; }
                   3581: if ${ac_cv_prog_cc_g+:} false; then :
                   3582:   $as_echo_n "(cached) " >&6
                   3583: else
                   3584:   ac_save_c_werror_flag=$ac_c_werror_flag
                   3585:    ac_c_werror_flag=yes
                   3586:    ac_cv_prog_cc_g=no
                   3587:    CFLAGS="-g"
                   3588:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3589: /* end confdefs.h.  */
                   3590: 
                   3591: int
                   3592: main ()
                   3593: {
                   3594: 
                   3595:   ;
                   3596:   return 0;
                   3597: }
                   3598: _ACEOF
                   3599: if ac_fn_c_try_compile "$LINENO"; then :
                   3600:   ac_cv_prog_cc_g=yes
1.1       misha    3601: else
1.5       moko     3602:   CFLAGS=""
                   3603:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   3604: /* end confdefs.h.  */
                   3605: 
                   3606: int
                   3607: main ()
                   3608: {
                   3609: 
                   3610:   ;
                   3611:   return 0;
                   3612: }
1.1       misha    3613: _ACEOF
1.5       moko     3614: if ac_fn_c_try_compile "$LINENO"; then :
                   3615: 
                   3616: else
                   3617:   ac_c_werror_flag=$ac_save_c_werror_flag
                   3618:         CFLAGS="-g"
                   3619:         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misha    3620: /* end confdefs.h.  */
                   3621: 
                   3622: int
                   3623: main ()
                   3624: {
                   3625: 
                   3626:   ;
                   3627:   return 0;
                   3628: }
                   3629: _ACEOF
1.5       moko     3630: if ac_fn_c_try_compile "$LINENO"; then :
1.1       misha    3631:   ac_cv_prog_cc_g=yes
                   3632: fi
1.5       moko     3633: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3634: fi
                   3635: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3636: fi
                   3637: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   3638:    ac_c_werror_flag=$ac_save_c_werror_flag
1.1       misha    3639: fi
1.5       moko     3640: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
                   3641: $as_echo "$ac_cv_prog_cc_g" >&6; }
1.1       misha    3642: if test "$ac_test_CFLAGS" = set; then
                   3643:   CFLAGS=$ac_save_CFLAGS
                   3644: elif test $ac_cv_prog_cc_g = yes; then
                   3645:   if test "$GCC" = yes; then
                   3646:     CFLAGS="-g -O2"
                   3647:   else
                   3648:     CFLAGS="-g"
                   3649:   fi
                   3650: else
                   3651:   if test "$GCC" = yes; then
                   3652:     CFLAGS="-O2"
                   3653:   else
                   3654:     CFLAGS=
                   3655:   fi
                   3656: fi
1.5       moko     3657: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
                   3658: $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
                   3659: if ${ac_cv_prog_cc_c89+:} false; then :
                   3660:   $as_echo_n "(cached) " >&6
1.1       misha    3661: else
1.5       moko     3662:   ac_cv_prog_cc_c89=no
1.1       misha    3663: ac_save_CC=$CC
1.5       moko     3664: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misha    3665: /* end confdefs.h.  */
                   3666: #include <stdarg.h>
                   3667: #include <stdio.h>
                   3668: #include <sys/types.h>
                   3669: #include <sys/stat.h>
                   3670: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   3671: struct buf { int x; };
                   3672: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   3673: static char *e (p, i)
                   3674:      char **p;
                   3675:      int i;
                   3676: {
                   3677:   return p[i];
                   3678: }
                   3679: static char *f (char * (*g) (char **, int), char **p, ...)
                   3680: {
                   3681:   char *s;
                   3682:   va_list v;
                   3683:   va_start (v,p);
                   3684:   s = g (p, va_arg (v,int));
                   3685:   va_end (v);
                   3686:   return s;
                   3687: }
1.5       moko     3688: 
                   3689: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   3690:    function prototypes and stuff, but not '\xHH' hex character constants.
                   3691:    These don't provoke an error unfortunately, instead are silently treated
                   3692:    as 'x'.  The following induces an error, until -std is added to get
                   3693:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   3694:    array size at least.  It's necessary to write '\x00'==0 to get something
                   3695:    that's true only with -std.  */
                   3696: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   3697: 
                   3698: /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
                   3699:    inside strings and character constants.  */
                   3700: #define FOO(x) 'x'
                   3701: int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
                   3702: 
1.1       misha    3703: int test (int i, double x);
                   3704: struct s1 {int (*f) (int a);};
                   3705: struct s2 {int (*f) (double a);};
                   3706: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   3707: int argc;
                   3708: char **argv;
                   3709: int
                   3710: main ()
                   3711: {
                   3712: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   3713:   ;
                   3714:   return 0;
                   3715: }
                   3716: _ACEOF
1.5       moko     3717: for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
                   3718:        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1.1       misha    3719: do
                   3720:   CC="$ac_save_CC $ac_arg"
1.5       moko     3721:   if ac_fn_c_try_compile "$LINENO"; then :
                   3722:   ac_cv_prog_cc_c89=$ac_arg
1.1       misha    3723: fi
1.5       moko     3724: rm -f core conftest.err conftest.$ac_objext
                   3725:   test "x$ac_cv_prog_cc_c89" != "xno" && break
1.1       misha    3726: done
1.5       moko     3727: rm -f conftest.$ac_ext
1.1       misha    3728: CC=$ac_save_CC
                   3729: 
                   3730: fi
1.5       moko     3731: # AC_CACHE_VAL
                   3732: case "x$ac_cv_prog_cc_c89" in
                   3733:   x)
                   3734:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
                   3735: $as_echo "none needed" >&6; } ;;
                   3736:   xno)
                   3737:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
                   3738: $as_echo "unsupported" >&6; } ;;
1.1       misha    3739:   *)
1.5       moko     3740:     CC="$CC $ac_cv_prog_cc_c89"
                   3741:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
                   3742: $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
                   3743: esac
                   3744: if test "x$ac_cv_prog_cc_c89" != xno; then :
1.1       misha    3745: 
                   3746: fi
                   3747: 
                   3748: ac_ext=c
                   3749: ac_cpp='$CPP $CPPFLAGS'
                   3750: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3751: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3752: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   3753: 
1.5       moko     3754: depcc="$CC"   am_compiler_list=
1.1       misha    3755: 
1.5       moko     3756: { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
                   3757: $as_echo_n "checking dependency style of $depcc... " >&6; }
                   3758: if ${am_cv_CC_dependencies_compiler_type+:} false; then :
                   3759:   $as_echo_n "(cached) " >&6
                   3760: else
                   3761:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   3762:   # We make a subdir and do the tests there.  Otherwise we can end up
                   3763:   # making bogus files that we don't know about and never remove.  For
                   3764:   # instance it was reported that on HP-UX the gcc test will end up
                   3765:   # making a dummy file named `D' -- because `-MD' means `put the output
                   3766:   # in D'.
                   3767:   mkdir conftest.dir
                   3768:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   3769:   # using a relative directory.
                   3770:   cp "$am_depcomp" conftest.dir
                   3771:   cd conftest.dir
                   3772:   # We will build objects and dependencies in a subdirectory because
                   3773:   # it helps to detect inapplicable dependency modes.  For instance
                   3774:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   3775:   # side effect of compilation, but ICC will put the dependencies in
                   3776:   # the current directory while Tru64 will put them in the object
                   3777:   # directory.
                   3778:   mkdir sub
1.1       misha    3779: 
1.5       moko     3780:   am_cv_CC_dependencies_compiler_type=none
                   3781:   if test "$am_compiler_list" = ""; then
                   3782:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   3783:   fi
                   3784:   am__universal=false
                   3785:   case " $depcc " in #(
                   3786:      *\ -arch\ *\ -arch\ *) am__universal=true ;;
                   3787:      esac
1.1       misha    3788: 
1.5       moko     3789:   for depmode in $am_compiler_list; do
                   3790:     # Setup a source with many dependencies, because some compilers
                   3791:     # like to wrap large dependency lists on column 80 (with \), and
                   3792:     # we should not choose a depcomp mode which is confused by this.
                   3793:     #
1.1       misha    3794:     # We need to recreate these files for each test, as the compiler may
                   3795:     # overwrite some of them when testing with obscure command lines.
                   3796:     # This happens at least with the AIX C compiler.
1.5       moko     3797:     : > sub/conftest.c
                   3798:     for i in 1 2 3 4 5 6; do
                   3799:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   3800:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   3801:       # Solaris 8's {/usr,}/bin/sh.
                   3802:       touch sub/conftst$i.h
                   3803:     done
                   3804:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.1       misha    3805: 
1.5       moko     3806:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   3807:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   3808:     # handle `-M -o', and we need to detect this.  Also, some Intel
                   3809:     # versions had trouble with output in subdirs
                   3810:     am__obj=sub/conftest.${OBJEXT-o}
                   3811:     am__minus_obj="-o $am__obj"
1.1       misha    3812:     case $depmode in
1.5       moko     3813:     gcc)
                   3814:       # This depmode causes a compiler race in universal mode.
                   3815:       test "$am__universal" = false || continue
                   3816:       ;;
1.1       misha    3817:     nosideeffect)
                   3818:       # after this tag, mechanisms are not by side-effect, so they'll
                   3819:       # only be used when explicitly requested
                   3820:       if test "x$enable_dependency_tracking" = xyes; then
                   3821:        continue
                   3822:       else
                   3823:        break
                   3824:       fi
                   3825:       ;;
1.5       moko     3826:     msvisualcpp | msvcmsys)
                   3827:       # This compiler won't grok `-c -o', but also, the minuso test has
                   3828:       # not run yet.  These depmodes are late enough in the game, and
                   3829:       # so weak that their functioning should not be impacted.
                   3830:       am__obj=conftest.${OBJEXT-o}
                   3831:       am__minus_obj=
                   3832:       ;;
1.1       misha    3833:     none) break ;;
                   3834:     esac
                   3835:     if depmode=$depmode \
1.5       moko     3836:        source=sub/conftest.c object=$am__obj \
                   3837:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
                   3838:        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
                   3839:          >/dev/null 2>conftest.err &&
                   3840:        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
                   3841:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
                   3842:        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
1.1       misha    3843:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.5       moko     3844:       # icc doesn't choke on unknown options, it will just issue warnings
                   3845:       # or remarks (even with -Werror).  So we grep stderr for any message
                   3846:       # that says an option was ignored or not supported.
                   3847:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   3848:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   3849:       # The diagnosis changed in icc 8.0:
                   3850:       #   icc: Command line remark: option '-MP' not supported
                   3851:       if (grep 'ignoring option' conftest.err ||
                   3852:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   3853:         am_cv_CC_dependencies_compiler_type=$depmode
                   3854:         break
                   3855:       fi
1.1       misha    3856:     fi
                   3857:   done
                   3858: 
                   3859:   cd ..
                   3860:   rm -rf conftest.dir
                   3861: else
                   3862:   am_cv_CC_dependencies_compiler_type=none
                   3863: fi
                   3864: 
                   3865: fi
1.5       moko     3866: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
                   3867: $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
1.1       misha    3868: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   3869: 
1.5       moko     3870:  if
1.1       misha    3871:   test "x$enable_dependency_tracking" != xno \
                   3872:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   3873:   am__fastdepCC_TRUE=
                   3874:   am__fastdepCC_FALSE='#'
                   3875: else
                   3876:   am__fastdepCC_TRUE='#'
                   3877:   am__fastdepCC_FALSE=
                   3878: fi
                   3879: 
                   3880: 
1.5       moko     3881: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
                   3882: $as_echo_n "checking for a sed that does not truncate output... " >&6; }
                   3883: if ${ac_cv_path_SED+:} false; then :
                   3884:   $as_echo_n "(cached) " >&6
                   3885: else
                   3886:             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
                   3887:      for ac_i in 1 2 3 4 5 6 7; do
                   3888:        ac_script="$ac_script$as_nl$ac_script"
                   3889:      done
                   3890:      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
                   3891:      { ac_script=; unset ac_script;}
                   3892:      if test -z "$SED"; then
                   3893:   ac_path_SED_found=false
                   3894:   # Loop through the user's path and test for each of PROGNAME-LIST
                   3895:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3896: for as_dir in $PATH
                   3897: do
                   3898:   IFS=$as_save_IFS
                   3899:   test -z "$as_dir" && as_dir=.
                   3900:     for ac_prog in sed gsed; do
                   3901:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3902:       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
                   3903:       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
                   3904: # Check for GNU ac_path_SED and select it if it is found.
                   3905:   # Check for GNU $ac_path_SED
                   3906: case `"$ac_path_SED" --version 2>&1` in
                   3907: *GNU*)
                   3908:   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
                   3909: *)
                   3910:   ac_count=0
                   3911:   $as_echo_n 0123456789 >"conftest.in"
                   3912:   while :
                   3913:   do
                   3914:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   3915:     mv "conftest.tmp" "conftest.in"
                   3916:     cp "conftest.in" "conftest.nl"
                   3917:     $as_echo '' >> "conftest.nl"
                   3918:     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   3919:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   3920:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   3921:     if test $ac_count -gt ${ac_path_SED_max-0}; then
                   3922:       # Best one so far, save it but keep looking for a better one
                   3923:       ac_cv_path_SED="$ac_path_SED"
                   3924:       ac_path_SED_max=$ac_count
                   3925:     fi
                   3926:     # 10*(2^10) chars as input seems more than enough
                   3927:     test $ac_count -gt 10 && break
                   3928:   done
                   3929:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
                   3930: esac
1.1       misha    3931: 
1.5       moko     3932:       $ac_path_SED_found && break 3
                   3933:     done
                   3934:   done
                   3935:   done
                   3936: IFS=$as_save_IFS
                   3937:   if test -z "$ac_cv_path_SED"; then
                   3938:     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
                   3939:   fi
1.1       misha    3940: else
1.5       moko     3941:   ac_cv_path_SED=$SED
                   3942: fi
                   3943: 
                   3944: fi
                   3945: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
                   3946: $as_echo "$ac_cv_path_SED" >&6; }
                   3947:  SED="$ac_cv_path_SED"
                   3948:   rm -f conftest.sed
1.1       misha    3949: 
1.5       moko     3950: test -z "$SED" && SED=sed
                   3951: Xsed="$SED -e 1s/^X//"
1.1       misha    3952: 
                   3953: 
                   3954: 
                   3955: 
                   3956: 
                   3957: 
                   3958: 
                   3959: 
                   3960: 
                   3961: 
                   3962: 
1.5       moko     3963: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
                   3964: $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
                   3965: if ${ac_cv_path_GREP+:} false; then :
                   3966:   $as_echo_n "(cached) " >&6
                   3967: else
                   3968:   if test -z "$GREP"; then
                   3969:   ac_path_GREP_found=false
                   3970:   # Loop through the user's path and test for each of PROGNAME-LIST
                   3971:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3972: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   3973: do
                   3974:   IFS=$as_save_IFS
                   3975:   test -z "$as_dir" && as_dir=.
                   3976:     for ac_prog in grep ggrep; do
                   3977:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3978:       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
                   3979:       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
                   3980: # Check for GNU ac_path_GREP and select it if it is found.
                   3981:   # Check for GNU $ac_path_GREP
                   3982: case `"$ac_path_GREP" --version 2>&1` in
                   3983: *GNU*)
                   3984:   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
1.1       misha    3985: *)
1.5       moko     3986:   ac_count=0
                   3987:   $as_echo_n 0123456789 >"conftest.in"
                   3988:   while :
                   3989:   do
                   3990:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   3991:     mv "conftest.tmp" "conftest.in"
                   3992:     cp "conftest.in" "conftest.nl"
                   3993:     $as_echo 'GREP' >> "conftest.nl"
                   3994:     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   3995:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   3996:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   3997:     if test $ac_count -gt ${ac_path_GREP_max-0}; then
                   3998:       # Best one so far, save it but keep looking for a better one
                   3999:       ac_cv_path_GREP="$ac_path_GREP"
                   4000:       ac_path_GREP_max=$ac_count
1.1       misha    4001:     fi
1.5       moko     4002:     # 10*(2^10) chars as input seems more than enough
                   4003:     test $ac_count -gt 10 && break
1.1       misha    4004:   done
1.5       moko     4005:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
1.1       misha    4006: esac
1.5       moko     4007: 
                   4008:       $ac_path_GREP_found && break 3
                   4009:     done
                   4010:   done
                   4011:   done
                   4012: IFS=$as_save_IFS
                   4013:   if test -z "$ac_cv_path_GREP"; then
                   4014:     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   4015:   fi
1.1       misha    4016: else
1.5       moko     4017:   ac_cv_path_GREP=$GREP
                   4018: fi
1.1       misha    4019: 
1.5       moko     4020: fi
                   4021: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
                   4022: $as_echo "$ac_cv_path_GREP" >&6; }
                   4023:  GREP="$ac_cv_path_GREP"
                   4024: 
                   4025: 
                   4026: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
                   4027: $as_echo_n "checking for egrep... " >&6; }
                   4028: if ${ac_cv_path_EGREP+:} false; then :
                   4029:   $as_echo_n "(cached) " >&6
                   4030: else
                   4031:   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
                   4032:    then ac_cv_path_EGREP="$GREP -E"
                   4033:    else
                   4034:      if test -z "$EGREP"; then
                   4035:   ac_path_EGREP_found=false
                   4036:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4037:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4038: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   4039: do
                   4040:   IFS=$as_save_IFS
                   4041:   test -z "$as_dir" && as_dir=.
                   4042:     for ac_prog in egrep; do
                   4043:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4044:       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
                   4045:       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
                   4046: # Check for GNU ac_path_EGREP and select it if it is found.
                   4047:   # Check for GNU $ac_path_EGREP
                   4048: case `"$ac_path_EGREP" --version 2>&1` in
                   4049: *GNU*)
                   4050:   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
1.1       misha    4051: *)
1.5       moko     4052:   ac_count=0
                   4053:   $as_echo_n 0123456789 >"conftest.in"
                   4054:   while :
                   4055:   do
                   4056:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4057:     mv "conftest.tmp" "conftest.in"
                   4058:     cp "conftest.in" "conftest.nl"
                   4059:     $as_echo 'EGREP' >> "conftest.nl"
                   4060:     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4061:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4062:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4063:     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
                   4064:       # Best one so far, save it but keep looking for a better one
                   4065:       ac_cv_path_EGREP="$ac_path_EGREP"
                   4066:       ac_path_EGREP_max=$ac_count
1.1       misha    4067:     fi
1.5       moko     4068:     # 10*(2^10) chars as input seems more than enough
                   4069:     test $ac_count -gt 10 && break
1.1       misha    4070:   done
1.5       moko     4071:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
1.1       misha    4072: esac
1.5       moko     4073: 
                   4074:       $ac_path_EGREP_found && break 3
                   4075:     done
                   4076:   done
                   4077:   done
                   4078: IFS=$as_save_IFS
                   4079:   if test -z "$ac_cv_path_EGREP"; then
                   4080:     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   4081:   fi
1.1       misha    4082: else
1.5       moko     4083:   ac_cv_path_EGREP=$EGREP
                   4084: fi
                   4085: 
                   4086:    fi
                   4087: fi
                   4088: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
                   4089: $as_echo "$ac_cv_path_EGREP" >&6; }
                   4090:  EGREP="$ac_cv_path_EGREP"
                   4091: 
                   4092: 
                   4093: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
                   4094: $as_echo_n "checking for fgrep... " >&6; }
                   4095: if ${ac_cv_path_FGREP+:} false; then :
                   4096:   $as_echo_n "(cached) " >&6
                   4097: else
                   4098:   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
                   4099:    then ac_cv_path_FGREP="$GREP -F"
                   4100:    else
                   4101:      if test -z "$FGREP"; then
                   4102:   ac_path_FGREP_found=false
                   4103:   # Loop through the user's path and test for each of PROGNAME-LIST
                   4104:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4105: for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
                   4106: do
                   4107:   IFS=$as_save_IFS
                   4108:   test -z "$as_dir" && as_dir=.
                   4109:     for ac_prog in fgrep; do
                   4110:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4111:       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
                   4112:       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
                   4113: # Check for GNU ac_path_FGREP and select it if it is found.
                   4114:   # Check for GNU $ac_path_FGREP
                   4115: case `"$ac_path_FGREP" --version 2>&1` in
                   4116: *GNU*)
                   4117:   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
1.1       misha    4118: *)
1.5       moko     4119:   ac_count=0
                   4120:   $as_echo_n 0123456789 >"conftest.in"
                   4121:   while :
                   4122:   do
                   4123:     cat "conftest.in" "conftest.in" >"conftest.tmp"
                   4124:     mv "conftest.tmp" "conftest.in"
                   4125:     cp "conftest.in" "conftest.nl"
                   4126:     $as_echo 'FGREP' >> "conftest.nl"
                   4127:     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
                   4128:     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
                   4129:     as_fn_arith $ac_count + 1 && ac_count=$as_val
                   4130:     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
                   4131:       # Best one so far, save it but keep looking for a better one
                   4132:       ac_cv_path_FGREP="$ac_path_FGREP"
                   4133:       ac_path_FGREP_max=$ac_count
1.1       misha    4134:     fi
1.5       moko     4135:     # 10*(2^10) chars as input seems more than enough
                   4136:     test $ac_count -gt 10 && break
1.1       misha    4137:   done
1.5       moko     4138:   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
1.1       misha    4139: esac
1.5       moko     4140: 
                   4141:       $ac_path_FGREP_found && break 3
                   4142:     done
                   4143:   done
                   4144:   done
                   4145: IFS=$as_save_IFS
                   4146:   if test -z "$ac_cv_path_FGREP"; then
                   4147:     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
                   4148:   fi
1.1       misha    4149: else
1.5       moko     4150:   ac_cv_path_FGREP=$FGREP
                   4151: fi
1.1       misha    4152: 
1.5       moko     4153:    fi
1.1       misha    4154: fi
1.5       moko     4155: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
                   4156: $as_echo "$ac_cv_path_FGREP" >&6; }
                   4157:  FGREP="$ac_cv_path_FGREP"
                   4158: 
                   4159: 
                   4160: test -z "$GREP" && GREP=grep
                   4161: 
                   4162: 
                   4163: 
                   4164: 
                   4165: 
                   4166: 
                   4167: 
                   4168: 
                   4169: 
                   4170: 
                   4171: 
                   4172: 
                   4173: 
                   4174: 
1.1       misha    4175: 
                   4176: 
                   4177: 
                   4178: 
                   4179: 
1.5       moko     4180: # Check whether --with-gnu-ld was given.
                   4181: if test "${with_gnu_ld+set}" = set; then :
                   4182:   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
1.1       misha    4183: else
                   4184:   with_gnu_ld=no
1.5       moko     4185: fi
                   4186: 
1.1       misha    4187: ac_prog=ld
                   4188: if test "$GCC" = yes; then
                   4189:   # Check if gcc -print-prog-name=ld gives a path.
1.5       moko     4190:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
                   4191: $as_echo_n "checking for ld used by $CC... " >&6; }
1.1       misha    4192:   case $host in
                   4193:   *-*-mingw*)
                   4194:     # gcc leaves a trailing carriage return which upsets mingw
                   4195:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   4196:   *)
                   4197:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   4198:   esac
                   4199:   case $ac_prog in
                   4200:     # Accept absolute paths.
1.5       moko     4201:     [\\/]* | ?:[\\/]*)
1.1       misha    4202:       re_direlt='/[^/][^/]*/\.\./'
1.5       moko     4203:       # Canonicalize the pathname of ld
                   4204:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   4205:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   4206:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
1.1       misha    4207:       done
                   4208:       test -z "$LD" && LD="$ac_prog"
                   4209:       ;;
                   4210:   "")
                   4211:     # If it fails, then pretend we aren't using GCC.
                   4212:     ac_prog=ld
                   4213:     ;;
                   4214:   *)
                   4215:     # If it is relative, then search for the first ld in PATH.
                   4216:     with_gnu_ld=unknown
                   4217:     ;;
                   4218:   esac
                   4219: elif test "$with_gnu_ld" = yes; then
1.5       moko     4220:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
                   4221: $as_echo_n "checking for GNU ld... " >&6; }
1.1       misha    4222: else
1.5       moko     4223:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
                   4224: $as_echo_n "checking for non-GNU ld... " >&6; }
1.1       misha    4225: fi
1.5       moko     4226: if ${lt_cv_path_LD+:} false; then :
                   4227:   $as_echo_n "(cached) " >&6
1.1       misha    4228: else
                   4229:   if test -z "$LD"; then
1.5       moko     4230:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1.1       misha    4231:   for ac_dir in $PATH; do
1.5       moko     4232:     IFS="$lt_save_ifs"
1.1       misha    4233:     test -z "$ac_dir" && ac_dir=.
                   4234:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   4235:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   4236:       # Check to see if the program is GNU ld.  I'd rather use --version,
1.5       moko     4237:       # but apparently some variants of GNU ld only accept -v.
1.1       misha    4238:       # Break only if it was the GNU/non-GNU ld that we prefer.
1.5       moko     4239:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   4240:       *GNU* | *'with BFD'*)
1.1       misha    4241:        test "$with_gnu_ld" != no && break
1.5       moko     4242:        ;;
                   4243:       *)
1.1       misha    4244:        test "$with_gnu_ld" != yes && break
1.5       moko     4245:        ;;
                   4246:       esac
1.1       misha    4247:     fi
                   4248:   done
1.5       moko     4249:   IFS="$lt_save_ifs"
1.1       misha    4250: else
                   4251:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   4252: fi
                   4253: fi
                   4254: 
                   4255: LD="$lt_cv_path_LD"
                   4256: if test -n "$LD"; then
1.5       moko     4257:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
                   4258: $as_echo "$LD" >&6; }
1.1       misha    4259: else
1.5       moko     4260:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4261: $as_echo "no" >&6; }
1.1       misha    4262: fi
1.5       moko     4263: test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
                   4264: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
                   4265: $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
                   4266: if ${lt_cv_prog_gnu_ld+:} false; then :
                   4267:   $as_echo_n "(cached) " >&6
                   4268: else
                   4269:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   4270: case `$LD -v 2>&1 </dev/null` in
                   4271: *GNU* | *'with BFD'*)
1.1       misha    4272:   lt_cv_prog_gnu_ld=yes
1.5       moko     4273:   ;;
                   4274: *)
1.1       misha    4275:   lt_cv_prog_gnu_ld=no
1.5       moko     4276:   ;;
                   4277: esac
1.1       misha    4278: fi
1.5       moko     4279: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
                   4280: $as_echo "$lt_cv_prog_gnu_ld" >&6; }
1.1       misha    4281: with_gnu_ld=$lt_cv_prog_gnu_ld
                   4282: 
                   4283: 
                   4284: 
1.5       moko     4285: 
                   4286: 
                   4287: 
                   4288: 
                   4289: 
                   4290: 
                   4291: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
                   4292: $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
                   4293: if ${lt_cv_path_NM+:} false; then :
                   4294:   $as_echo_n "(cached) " >&6
1.1       misha    4295: else
                   4296:   if test -n "$NM"; then
                   4297:   # Let the user override the test.
                   4298:   lt_cv_path_NM="$NM"
                   4299: else
1.5       moko     4300:   lt_nm_to_check="${ac_tool_prefix}nm"
                   4301:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
                   4302:     lt_nm_to_check="$lt_nm_to_check nm"
                   4303:   fi
                   4304:   for lt_tmp_nm in $lt_nm_to_check; do
                   4305:     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   4306:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
                   4307:       IFS="$lt_save_ifs"
                   4308:       test -z "$ac_dir" && ac_dir=.
                   4309:       tmp_nm="$ac_dir/$lt_tmp_nm"
                   4310:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
                   4311:        # Check to see if the nm accepts a BSD-compat flag.
                   4312:        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
                   4313:        #   nm: unknown option "B" ignored
                   4314:        # Tru64's nm complains that /dev/null is an invalid object file
                   4315:        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
                   4316:        */dev/null* | *'Invalid file or object type'*)
                   4317:          lt_cv_path_NM="$tmp_nm -B"
                   4318:          break
                   4319:          ;;
                   4320:        *)
                   4321:          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
                   4322:          */dev/null*)
                   4323:            lt_cv_path_NM="$tmp_nm -p"
                   4324:            break
                   4325:            ;;
                   4326:          *)
                   4327:            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
                   4328:            continue # so that we can try to find one that supports BSD flags
                   4329:            ;;
                   4330:          esac
                   4331:          ;;
                   4332:        esac
1.1       misha    4333:       fi
1.5       moko     4334:     done
                   4335:     IFS="$lt_save_ifs"
1.1       misha    4336:   done
1.5       moko     4337:   : ${lt_cv_path_NM=no}
1.1       misha    4338: fi
                   4339: fi
1.5       moko     4340: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
                   4341: $as_echo "$lt_cv_path_NM" >&6; }
                   4342: if test "$lt_cv_path_NM" != "no"; then
                   4343:   NM="$lt_cv_path_NM"
                   4344: else
                   4345:   # Didn't find any BSD compatible name lister, look for dumpbin.
                   4346:   if test -n "$DUMPBIN"; then :
                   4347:     # Let the user override the test.
                   4348:   else
                   4349:     if test -n "$ac_tool_prefix"; then
                   4350:   for ac_prog in dumpbin "link -dump"
                   4351:   do
                   4352:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   4353: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   4354: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4355: $as_echo_n "checking for $ac_word... " >&6; }
                   4356: if ${ac_cv_prog_DUMPBIN+:} false; then :
                   4357:   $as_echo_n "(cached) " >&6
                   4358: else
                   4359:   if test -n "$DUMPBIN"; then
                   4360:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
1.1       misha    4361: else
                   4362: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4363: for as_dir in $PATH
                   4364: do
                   4365:   IFS=$as_save_IFS
                   4366:   test -z "$as_dir" && as_dir=.
                   4367:     for ac_exec_ext in '' $ac_executable_extensions; do
1.5       moko     4368:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   4369:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
                   4370:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4371:     break 2
                   4372:   fi
                   4373: done
1.1       misha    4374:   done
1.5       moko     4375: IFS=$as_save_IFS
                   4376: 
                   4377: fi
                   4378: fi
                   4379: DUMPBIN=$ac_cv_prog_DUMPBIN
                   4380: if test -n "$DUMPBIN"; then
                   4381:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
                   4382: $as_echo "$DUMPBIN" >&6; }
                   4383: else
                   4384:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4385: $as_echo "no" >&6; }
                   4386: fi
1.1       misha    4387: 
                   4388: 
1.5       moko     4389:     test -n "$DUMPBIN" && break
                   4390:   done
                   4391: fi
                   4392: if test -z "$DUMPBIN"; then
                   4393:   ac_ct_DUMPBIN=$DUMPBIN
                   4394:   for ac_prog in dumpbin "link -dump"
                   4395: do
                   4396:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   4397: set dummy $ac_prog; ac_word=$2
                   4398: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4399: $as_echo_n "checking for $ac_word... " >&6; }
                   4400: if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
                   4401:   $as_echo_n "(cached) " >&6
                   4402: else
                   4403:   if test -n "$ac_ct_DUMPBIN"; then
                   4404:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
                   4405: else
                   4406: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4407: for as_dir in $PATH
                   4408: do
                   4409:   IFS=$as_save_IFS
                   4410:   test -z "$as_dir" && as_dir=.
                   4411:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4412:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   4413:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
                   4414:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4415:     break 2
                   4416:   fi
                   4417: done
1.1       misha    4418:   done
1.5       moko     4419: IFS=$as_save_IFS
                   4420: 
                   4421: fi
                   4422: fi
                   4423: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
                   4424: if test -n "$ac_ct_DUMPBIN"; then
                   4425:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
                   4426: $as_echo "$ac_ct_DUMPBIN" >&6; }
                   4427: else
                   4428:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4429: $as_echo "no" >&6; }
                   4430: fi
                   4431: 
                   4432: 
                   4433:   test -n "$ac_ct_DUMPBIN" && break
                   4434: done
                   4435: 
                   4436:   if test "x$ac_ct_DUMPBIN" = x; then
                   4437:     DUMPBIN=":"
                   4438:   else
                   4439:     case $cross_compiling:$ac_tool_warned in
                   4440: yes:)
                   4441: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   4442: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   4443: ac_tool_warned=yes ;;
                   4444: esac
                   4445:     DUMPBIN=$ac_ct_DUMPBIN
                   4446:   fi
                   4447: fi
                   4448: 
                   4449:     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
                   4450:     *COFF*)
                   4451:       DUMPBIN="$DUMPBIN -symbols"
                   4452:       ;;
                   4453:     *)
                   4454:       DUMPBIN=:
                   4455:       ;;
                   4456:     esac
                   4457:   fi
1.1       misha    4458: 
1.5       moko     4459:   if test "$DUMPBIN" != ":"; then
                   4460:     NM="$DUMPBIN"
                   4461:   fi
1.1       misha    4462: fi
1.5       moko     4463: test -z "$NM" && NM=nm
                   4464: 
                   4465: 
1.1       misha    4466: 
1.5       moko     4467: 
                   4468: 
                   4469: 
                   4470: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
                   4471: $as_echo_n "checking the name lister ($NM) interface... " >&6; }
                   4472: if ${lt_cv_nm_interface+:} false; then :
                   4473:   $as_echo_n "(cached) " >&6
1.1       misha    4474: else
1.5       moko     4475:   lt_cv_nm_interface="BSD nm"
                   4476:   echo "int some_variable = 0;" > conftest.$ac_ext
                   4477:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
                   4478:   (eval "$ac_compile" 2>conftest.err)
                   4479:   cat conftest.err >&5
                   4480:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
                   4481:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
                   4482:   cat conftest.err >&5
                   4483:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
                   4484:   cat conftest.out >&5
                   4485:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
                   4486:     lt_cv_nm_interface="MS dumpbin"
                   4487:   fi
                   4488:   rm -f conftest*
1.1       misha    4489: fi
1.5       moko     4490: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
                   4491: $as_echo "$lt_cv_nm_interface" >&6; }
1.1       misha    4492: 
1.5       moko     4493: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
                   4494: $as_echo_n "checking whether ln -s works... " >&6; }
1.1       misha    4495: LN_S=$as_ln_s
                   4496: if test "$LN_S" = "ln -s"; then
1.5       moko     4497:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   4498: $as_echo "yes" >&6; }
                   4499: else
                   4500:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
                   4501: $as_echo "no, using $LN_S" >&6; }
                   4502: fi
                   4503: 
                   4504: # find the maximum length of command line arguments
                   4505: { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
                   4506: $as_echo_n "checking the maximum length of command line arguments... " >&6; }
                   4507: if ${lt_cv_sys_max_cmd_len+:} false; then :
                   4508:   $as_echo_n "(cached) " >&6
                   4509: else
                   4510:     i=0
                   4511:   teststring="ABCD"
                   4512: 
                   4513:   case $build_os in
                   4514:   msdosdjgpp*)
                   4515:     # On DJGPP, this test can blow up pretty badly due to problems in libc
                   4516:     # (any single argument exceeding 2000 bytes causes a buffer overrun
                   4517:     # during glob expansion).  Even if it were fixed, the result of this
                   4518:     # check would be larger than it should be.
                   4519:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
                   4520:     ;;
                   4521: 
                   4522:   gnu*)
                   4523:     # Under GNU Hurd, this test is not required because there is
                   4524:     # no limit to the length of command line arguments.
                   4525:     # Libtool will interpret -1 as no limit whatsoever
                   4526:     lt_cv_sys_max_cmd_len=-1;
                   4527:     ;;
                   4528: 
                   4529:   cygwin* | mingw* | cegcc*)
                   4530:     # On Win9x/ME, this test blows up -- it succeeds, but takes
                   4531:     # about 5 minutes as the teststring grows exponentially.
                   4532:     # Worse, since 9x/ME are not pre-emptively multitasking,
                   4533:     # you end up with a "frozen" computer, even though with patience
                   4534:     # the test eventually succeeds (with a max line length of 256k).
                   4535:     # Instead, let's just punt: use the minimum linelength reported by
                   4536:     # all of the supported platforms: 8192 (on NT/2K/XP).
                   4537:     lt_cv_sys_max_cmd_len=8192;
                   4538:     ;;
                   4539: 
                   4540:   mint*)
                   4541:     # On MiNT this can take a long time and run out of memory.
                   4542:     lt_cv_sys_max_cmd_len=8192;
                   4543:     ;;
                   4544: 
                   4545:   amigaos*)
                   4546:     # On AmigaOS with pdksh, this test takes hours, literally.
                   4547:     # So we just punt and use a minimum line length of 8192.
                   4548:     lt_cv_sys_max_cmd_len=8192;
                   4549:     ;;
                   4550: 
                   4551:   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
                   4552:     # This has been around since 386BSD, at least.  Likely further.
                   4553:     if test -x /sbin/sysctl; then
                   4554:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
                   4555:     elif test -x /usr/sbin/sysctl; then
                   4556:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
                   4557:     else
                   4558:       lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
                   4559:     fi
                   4560:     # And add a safety zone
                   4561:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   4562:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   4563:     ;;
                   4564: 
                   4565:   interix*)
                   4566:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
                   4567:     lt_cv_sys_max_cmd_len=196608
                   4568:     ;;
                   4569: 
                   4570:   os2*)
                   4571:     # The test takes a long time on OS/2.
                   4572:     lt_cv_sys_max_cmd_len=8192
                   4573:     ;;
                   4574: 
                   4575:   osf*)
                   4576:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
                   4577:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
                   4578:     # nice to cause kernel panics so lets avoid the loop below.
                   4579:     # First set a reasonable default.
                   4580:     lt_cv_sys_max_cmd_len=16384
                   4581:     #
                   4582:     if test -x /sbin/sysconfig; then
                   4583:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
                   4584:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
                   4585:       esac
                   4586:     fi
                   4587:     ;;
                   4588:   sco3.2v5*)
                   4589:     lt_cv_sys_max_cmd_len=102400
                   4590:     ;;
                   4591:   sysv5* | sco5v6* | sysv4.2uw2*)
                   4592:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
                   4593:     if test -n "$kargmax"; then
                   4594:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
                   4595:     else
                   4596:       lt_cv_sys_max_cmd_len=32768
                   4597:     fi
                   4598:     ;;
                   4599:   *)
                   4600:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
                   4601:     if test -n "$lt_cv_sys_max_cmd_len"; then
                   4602:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   4603:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   4604:     else
                   4605:       # Make teststring a little bigger before we do anything with it.
                   4606:       # a 1K string should be a reasonable start.
                   4607:       for i in 1 2 3 4 5 6 7 8 ; do
                   4608:         teststring=$teststring$teststring
                   4609:       done
                   4610:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
                   4611:       # If test is not a shell built-in, we'll probably end up computing a
                   4612:       # maximum length that is only half of the actual maximum length, but
                   4613:       # we can't tell.
                   4614:       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
                   4615:                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
                   4616:              test $i != 17 # 1/2 MB should be enough
                   4617:       do
                   4618:         i=`expr $i + 1`
                   4619:         teststring=$teststring$teststring
                   4620:       done
                   4621:       # Only check the string length outside the loop.
                   4622:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
                   4623:       teststring=
                   4624:       # Add a significant safety factor because C++ compilers can tack on
                   4625:       # massive amounts of additional arguments before passing them to the
                   4626:       # linker.  It appears as though 1/2 is a usable value.
                   4627:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
                   4628:     fi
                   4629:     ;;
                   4630:   esac
                   4631: 
                   4632: fi
                   4633: 
                   4634: if test -n $lt_cv_sys_max_cmd_len ; then
                   4635:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
                   4636: $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
                   4637: else
                   4638:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
                   4639: $as_echo "none" >&6; }
                   4640: fi
                   4641: max_cmd_len=$lt_cv_sys_max_cmd_len
                   4642: 
                   4643: 
                   4644: 
                   4645: 
                   4646: 
                   4647: 
                   4648: : ${CP="cp -f"}
                   4649: : ${MV="mv -f"}
                   4650: : ${RM="rm -f"}
                   4651: 
                   4652: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
                   4653: $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
                   4654: # Try some XSI features
                   4655: xsi_shell=no
                   4656: ( _lt_dummy="a/b/c"
                   4657:   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
                   4658:       = c,a/b,b/c, \
                   4659:     && eval 'test $(( 1 + 1 )) -eq 2 \
                   4660:     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
                   4661:   && xsi_shell=yes
                   4662: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
                   4663: $as_echo "$xsi_shell" >&6; }
                   4664: 
                   4665: 
                   4666: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
                   4667: $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
                   4668: lt_shell_append=no
                   4669: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
                   4670:     >/dev/null 2>&1 \
                   4671:   && lt_shell_append=yes
                   4672: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
                   4673: $as_echo "$lt_shell_append" >&6; }
                   4674: 
                   4675: 
                   4676: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                   4677:   lt_unset=unset
                   4678: else
                   4679:   lt_unset=false
                   4680: fi
                   4681: 
                   4682: 
                   4683: 
                   4684: 
                   4685: 
                   4686: # test EBCDIC or ASCII
                   4687: case `echo X|tr X '\101'` in
                   4688:  A) # ASCII based system
                   4689:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
                   4690:   lt_SP2NL='tr \040 \012'
                   4691:   lt_NL2SP='tr \015\012 \040\040'
                   4692:   ;;
                   4693:  *) # EBCDIC based system
                   4694:   lt_SP2NL='tr \100 \n'
                   4695:   lt_NL2SP='tr \r\n \100\100'
                   4696:   ;;
                   4697: esac
                   4698: 
                   4699: 
                   4700: 
                   4701: 
                   4702: 
                   4703: 
                   4704: 
                   4705: 
                   4706: 
                   4707: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
                   4708: $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
                   4709: if ${lt_cv_to_host_file_cmd+:} false; then :
                   4710:   $as_echo_n "(cached) " >&6
1.1       misha    4711: else
1.5       moko     4712:   case $host in
                   4713:   *-*-mingw* )
                   4714:     case $build in
                   4715:       *-*-mingw* ) # actually msys
                   4716:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
                   4717:         ;;
                   4718:       *-*-cygwin* )
                   4719:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
                   4720:         ;;
                   4721:       * ) # otherwise, assume *nix
                   4722:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
                   4723:         ;;
                   4724:     esac
                   4725:     ;;
                   4726:   *-*-cygwin* )
                   4727:     case $build in
                   4728:       *-*-mingw* ) # actually msys
                   4729:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
                   4730:         ;;
                   4731:       *-*-cygwin* )
                   4732:         lt_cv_to_host_file_cmd=func_convert_file_noop
                   4733:         ;;
                   4734:       * ) # otherwise, assume *nix
                   4735:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
                   4736:         ;;
                   4737:     esac
                   4738:     ;;
                   4739:   * ) # unhandled hosts (and "normal" native builds)
                   4740:     lt_cv_to_host_file_cmd=func_convert_file_noop
                   4741:     ;;
                   4742: esac
                   4743: 
                   4744: fi
                   4745: 
                   4746: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   4747: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
                   4748: $as_echo "$lt_cv_to_host_file_cmd" >&6; }
                   4749: 
                   4750: 
                   4751: 
                   4752: 
                   4753: 
                   4754: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
                   4755: $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
                   4756: if ${lt_cv_to_tool_file_cmd+:} false; then :
                   4757:   $as_echo_n "(cached) " >&6
                   4758: else
                   4759:   #assume ordinary cross tools, or native build.
                   4760: lt_cv_to_tool_file_cmd=func_convert_file_noop
                   4761: case $host in
                   4762:   *-*-mingw* )
                   4763:     case $build in
                   4764:       *-*-mingw* ) # actually msys
                   4765:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
                   4766:         ;;
                   4767:     esac
                   4768:     ;;
                   4769: esac
                   4770: 
                   4771: fi
                   4772: 
                   4773: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   4774: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
                   4775: $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
                   4776: 
                   4777: 
                   4778: 
                   4779: 
                   4780: 
                   4781: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
                   4782: $as_echo_n "checking for $LD option to reload object files... " >&6; }
                   4783: if ${lt_cv_ld_reload_flag+:} false; then :
                   4784:   $as_echo_n "(cached) " >&6
                   4785: else
                   4786:   lt_cv_ld_reload_flag='-r'
                   4787: fi
                   4788: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
                   4789: $as_echo "$lt_cv_ld_reload_flag" >&6; }
                   4790: reload_flag=$lt_cv_ld_reload_flag
                   4791: case $reload_flag in
                   4792: "" | " "*) ;;
                   4793: *) reload_flag=" $reload_flag" ;;
                   4794: esac
                   4795: reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   4796: case $host_os in
                   4797:   cygwin* | mingw* | pw32* | cegcc*)
                   4798:     if test "$GCC" != yes; then
                   4799:       reload_cmds=false
                   4800:     fi
                   4801:     ;;
                   4802:   darwin*)
                   4803:     if test "$GCC" = yes; then
                   4804:       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
                   4805:     else
                   4806:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   4807:     fi
                   4808:     ;;
                   4809: esac
                   4810: 
                   4811: 
                   4812: 
                   4813: 
                   4814: 
                   4815: 
                   4816: 
                   4817: 
                   4818: 
                   4819: if test -n "$ac_tool_prefix"; then
                   4820:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   4821: set dummy ${ac_tool_prefix}objdump; ac_word=$2
                   4822: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4823: $as_echo_n "checking for $ac_word... " >&6; }
                   4824: if ${ac_cv_prog_OBJDUMP+:} false; then :
                   4825:   $as_echo_n "(cached) " >&6
                   4826: else
                   4827:   if test -n "$OBJDUMP"; then
                   4828:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   4829: else
                   4830: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4831: for as_dir in $PATH
                   4832: do
                   4833:   IFS=$as_save_IFS
                   4834:   test -z "$as_dir" && as_dir=.
                   4835:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4836:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   4837:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
                   4838:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4839:     break 2
                   4840:   fi
                   4841: done
                   4842:   done
                   4843: IFS=$as_save_IFS
                   4844: 
                   4845: fi
                   4846: fi
                   4847: OBJDUMP=$ac_cv_prog_OBJDUMP
                   4848: if test -n "$OBJDUMP"; then
                   4849:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   4850: $as_echo "$OBJDUMP" >&6; }
                   4851: else
                   4852:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4853: $as_echo "no" >&6; }
                   4854: fi
                   4855: 
                   4856: 
                   4857: fi
                   4858: if test -z "$ac_cv_prog_OBJDUMP"; then
                   4859:   ac_ct_OBJDUMP=$OBJDUMP
                   4860:   # Extract the first word of "objdump", so it can be a program name with args.
                   4861: set dummy objdump; ac_word=$2
                   4862: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   4863: $as_echo_n "checking for $ac_word... " >&6; }
                   4864: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
                   4865:   $as_echo_n "(cached) " >&6
                   4866: else
                   4867:   if test -n "$ac_ct_OBJDUMP"; then
                   4868:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   4869: else
                   4870: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4871: for as_dir in $PATH
                   4872: do
                   4873:   IFS=$as_save_IFS
                   4874:   test -z "$as_dir" && as_dir=.
                   4875:     for ac_exec_ext in '' $ac_executable_extensions; do
                   4876:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   4877:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
                   4878:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4879:     break 2
                   4880:   fi
                   4881: done
                   4882:   done
                   4883: IFS=$as_save_IFS
                   4884: 
                   4885: fi
                   4886: fi
                   4887: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   4888: if test -n "$ac_ct_OBJDUMP"; then
                   4889:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   4890: $as_echo "$ac_ct_OBJDUMP" >&6; }
                   4891: else
                   4892:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   4893: $as_echo "no" >&6; }
                   4894: fi
                   4895: 
                   4896:   if test "x$ac_ct_OBJDUMP" = x; then
                   4897:     OBJDUMP="false"
                   4898:   else
                   4899:     case $cross_compiling:$ac_tool_warned in
                   4900: yes:)
                   4901: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   4902: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   4903: ac_tool_warned=yes ;;
                   4904: esac
                   4905:     OBJDUMP=$ac_ct_OBJDUMP
                   4906:   fi
                   4907: else
                   4908:   OBJDUMP="$ac_cv_prog_OBJDUMP"
1.1       misha    4909: fi
                   4910: 
1.5       moko     4911: test -z "$OBJDUMP" && OBJDUMP=objdump
                   4912: 
                   4913: 
                   4914: 
                   4915: 
                   4916: 
                   4917: 
                   4918: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
                   4919: $as_echo_n "checking how to recognize dependent libraries... " >&6; }
                   4920: if ${lt_cv_deplibs_check_method+:} false; then :
                   4921:   $as_echo_n "(cached) " >&6
1.1       misha    4922: else
                   4923:   lt_cv_file_magic_cmd='$MAGIC_CMD'
                   4924: lt_cv_file_magic_test_file=
                   4925: lt_cv_deplibs_check_method='unknown'
                   4926: # Need to set the preceding variable on all platforms that support
                   4927: # interlibrary dependencies.
                   4928: # 'none' -- dependencies not supported.
                   4929: # `unknown' -- same as none, but documents that we really don't know.
                   4930: # 'pass_all' -- all dependencies passed with no checks.
                   4931: # 'test_compile' -- check by making test program.
                   4932: # 'file_magic [[regex]]' -- check by looking for files in library path
1.5       moko     4933: # which responds to the $file_magic_cmd with a given extended regex.
1.1       misha    4934: # If you have `file' or equivalent on your system and you're not sure
                   4935: # whether `pass_all' will *always* work, you probably want this one.
                   4936: 
                   4937: case $host_os in
1.5       moko     4938: aix[4-9]*)
1.1       misha    4939:   lt_cv_deplibs_check_method=pass_all
                   4940:   ;;
                   4941: 
                   4942: beos*)
                   4943:   lt_cv_deplibs_check_method=pass_all
                   4944:   ;;
                   4945: 
1.5       moko     4946: bsdi[45]*)
1.1       misha    4947:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
                   4948:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   4949:   lt_cv_file_magic_test_file=/shlib/libc.so
                   4950:   ;;
                   4951: 
1.5       moko     4952: cygwin*)
                   4953:   # func_win32_libid is a shell function defined in ltmain.sh
                   4954:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   4955:   lt_cv_file_magic_cmd='func_win32_libid'
                   4956:   ;;
                   4957: 
                   4958: mingw* | pw32*)
                   4959:   # Base MSYS/MinGW do not provide the 'file' command needed by
                   4960:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
                   4961:   # unless we find 'file', for example because we are cross-compiling.
                   4962:   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
                   4963:   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
                   4964:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   4965:     lt_cv_file_magic_cmd='func_win32_libid'
                   4966:   else
                   4967:     # Keep this pattern in sync with the one in func_win32_libid.
                   4968:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
                   4969:     lt_cv_file_magic_cmd='$OBJDUMP -f'
                   4970:   fi
                   4971:   ;;
                   4972: 
                   4973: cegcc*)
                   4974:   # use the weaker test based on 'objdump'. See mingw*.
                   4975:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
1.1       misha    4976:   lt_cv_file_magic_cmd='$OBJDUMP -f'
                   4977:   ;;
                   4978: 
                   4979: darwin* | rhapsody*)
1.5       moko     4980:   lt_cv_deplibs_check_method=pass_all
1.1       misha    4981:   ;;
                   4982: 
1.5       moko     4983: freebsd* | dragonfly*)
                   4984:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
1.1       misha    4985:     case $host_cpu in
                   4986:     i*86 )
                   4987:       # Not sure whether the presence of OpenBSD here was a mistake.
                   4988:       # Let's accept both of them until this is cleared up.
1.5       moko     4989:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
1.1       misha    4990:       lt_cv_file_magic_cmd=/usr/bin/file
                   4991:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
                   4992:       ;;
                   4993:     esac
                   4994:   else
                   4995:     lt_cv_deplibs_check_method=pass_all
                   4996:   fi
                   4997:   ;;
                   4998: 
                   4999: gnu*)
                   5000:   lt_cv_deplibs_check_method=pass_all
                   5001:   ;;
                   5002: 
1.5       moko     5003: haiku*)
                   5004:   lt_cv_deplibs_check_method=pass_all
1.1       misha    5005:   ;;
                   5006: 
1.5       moko     5007: hpux10.20* | hpux11*)
                   5008:   lt_cv_file_magic_cmd=/usr/bin/file
                   5009:   case $host_cpu in
                   5010:   ia64*)
                   5011:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
                   5012:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
                   5013:     ;;
                   5014:   hppa*64*)
                   5015:     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]'
                   5016:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
1.1       misha    5017:     ;;
                   5018:   *)
1.5       moko     5019:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
                   5020:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
1.1       misha    5021:     ;;
                   5022:   esac
                   5023:   ;;
                   5024: 
1.5       moko     5025: interix[3-9]*)
                   5026:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
                   5027:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
                   5028:   ;;
                   5029: 
                   5030: irix5* | irix6* | nonstopux*)
                   5031:   case $LD in
                   5032:   *-32|*"-32 ") libmagic=32-bit;;
                   5033:   *-n32|*"-n32 ") libmagic=N32;;
                   5034:   *-64|*"-64 ") libmagic=64-bit;;
                   5035:   *) libmagic=never-match;;
                   5036:   esac
                   5037:   lt_cv_deplibs_check_method=pass_all
                   5038:   ;;
                   5039: 
                   5040: # This must be glibc/ELF.
                   5041: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   5042:   lt_cv_deplibs_check_method=pass_all
1.1       misha    5043:   ;;
                   5044: 
                   5045: netbsd*)
1.5       moko     5046:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   5047:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
1.1       misha    5048:   else
1.5       moko     5049:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
1.1       misha    5050:   fi
                   5051:   ;;
                   5052: 
                   5053: newos6*)
                   5054:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
                   5055:   lt_cv_file_magic_cmd=/usr/bin/file
                   5056:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
                   5057:   ;;
                   5058: 
1.5       moko     5059: *nto* | *qnx*)
                   5060:   lt_cv_deplibs_check_method=pass_all
                   5061:   ;;
                   5062: 
1.1       misha    5063: openbsd*)
1.5       moko     5064:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   5065:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
1.1       misha    5066:   else
1.5       moko     5067:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
1.1       misha    5068:   fi
                   5069:   ;;
                   5070: 
                   5071: osf3* | osf4* | osf5*)
                   5072:   lt_cv_deplibs_check_method=pass_all
                   5073:   ;;
                   5074: 
1.5       moko     5075: rdos*)
1.1       misha    5076:   lt_cv_deplibs_check_method=pass_all
                   5077:   ;;
                   5078: 
                   5079: solaris*)
                   5080:   lt_cv_deplibs_check_method=pass_all
                   5081:   ;;
                   5082: 
1.5       moko     5083: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
1.1       misha    5084:   lt_cv_deplibs_check_method=pass_all
                   5085:   ;;
                   5086: 
1.5       moko     5087: sysv4 | sysv4.3*)
1.1       misha    5088:   case $host_vendor in
                   5089:   motorola)
                   5090:     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]'
                   5091:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
                   5092:     ;;
                   5093:   ncr)
                   5094:     lt_cv_deplibs_check_method=pass_all
                   5095:     ;;
                   5096:   sequent)
                   5097:     lt_cv_file_magic_cmd='/bin/file'
                   5098:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
                   5099:     ;;
                   5100:   sni)
                   5101:     lt_cv_file_magic_cmd='/bin/file'
                   5102:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
                   5103:     lt_cv_file_magic_test_file=/lib/libc.so
                   5104:     ;;
                   5105:   siemens)
                   5106:     lt_cv_deplibs_check_method=pass_all
                   5107:     ;;
1.5       moko     5108:   pc)
                   5109:     lt_cv_deplibs_check_method=pass_all
                   5110:     ;;
1.1       misha    5111:   esac
                   5112:   ;;
1.5       moko     5113: 
                   5114: tpf*)
                   5115:   lt_cv_deplibs_check_method=pass_all
                   5116:   ;;
1.1       misha    5117: esac
                   5118: 
                   5119: fi
1.5       moko     5120: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
                   5121: $as_echo "$lt_cv_deplibs_check_method" >&6; }
                   5122: 
                   5123: file_magic_glob=
                   5124: want_nocaseglob=no
                   5125: if test "$build" = "$host"; then
                   5126:   case $host_os in
                   5127:   mingw* | pw32*)
                   5128:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
                   5129:       want_nocaseglob=yes
                   5130:     else
                   5131:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
                   5132:     fi
                   5133:     ;;
                   5134:   esac
                   5135: fi
                   5136: 
1.1       misha    5137: file_magic_cmd=$lt_cv_file_magic_cmd
                   5138: deplibs_check_method=$lt_cv_deplibs_check_method
1.5       moko     5139: test -z "$deplibs_check_method" && deplibs_check_method=unknown
1.1       misha    5140: 
                   5141: 
                   5142: 
                   5143: 
                   5144: 
                   5145: 
                   5146: 
                   5147: 
                   5148: 
                   5149: 
                   5150: 
                   5151: 
                   5152: 
                   5153: 
                   5154: 
                   5155: 
                   5156: 
                   5157: 
                   5158: 
                   5159: 
                   5160: 
                   5161: 
1.5       moko     5162: if test -n "$ac_tool_prefix"; then
                   5163:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   5164: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
                   5165: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5166: $as_echo_n "checking for $ac_word... " >&6; }
                   5167: if ${ac_cv_prog_DLLTOOL+:} false; then :
                   5168:   $as_echo_n "(cached) " >&6
                   5169: else
                   5170:   if test -n "$DLLTOOL"; then
                   5171:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   5172: else
                   5173: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5174: for as_dir in $PATH
                   5175: do
                   5176:   IFS=$as_save_IFS
                   5177:   test -z "$as_dir" && as_dir=.
                   5178:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5179:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   5180:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
                   5181:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5182:     break 2
1.1       misha    5183:   fi
                   5184: done
1.5       moko     5185:   done
                   5186: IFS=$as_save_IFS
1.1       misha    5187: 
                   5188: fi
                   5189: fi
1.5       moko     5190: DLLTOOL=$ac_cv_prog_DLLTOOL
                   5191: if test -n "$DLLTOOL"; then
                   5192:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
                   5193: $as_echo "$DLLTOOL" >&6; }
1.1       misha    5194: else
1.5       moko     5195:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5196: $as_echo "no" >&6; }
1.1       misha    5197: fi
                   5198: 
1.5       moko     5199: 
1.1       misha    5200: fi
1.5       moko     5201: if test -z "$ac_cv_prog_DLLTOOL"; then
                   5202:   ac_ct_DLLTOOL=$DLLTOOL
                   5203:   # Extract the first word of "dlltool", so it can be a program name with args.
                   5204: set dummy dlltool; ac_word=$2
                   5205: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5206: $as_echo_n "checking for $ac_word... " >&6; }
                   5207: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
                   5208:   $as_echo_n "(cached) " >&6
                   5209: else
                   5210:   if test -n "$ac_ct_DLLTOOL"; then
                   5211:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
1.1       misha    5212: else
1.5       moko     5213: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5214: for as_dir in $PATH
1.1       misha    5215: do
1.5       moko     5216:   IFS=$as_save_IFS
                   5217:   test -z "$as_dir" && as_dir=.
                   5218:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5219:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   5220:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
                   5221:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5222:     break 2
1.1       misha    5223:   fi
1.5       moko     5224: done
                   5225:   done
                   5226: IFS=$as_save_IFS
                   5227: 
                   5228: fi
1.1       misha    5229: fi
1.5       moko     5230: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   5231: if test -n "$ac_ct_DLLTOOL"; then
                   5232:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
                   5233: $as_echo "$ac_ct_DLLTOOL" >&6; }
1.1       misha    5234: else
1.5       moko     5235:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5236: $as_echo "no" >&6; }
1.1       misha    5237: fi
                   5238: 
1.5       moko     5239:   if test "x$ac_ct_DLLTOOL" = x; then
                   5240:     DLLTOOL="false"
1.1       misha    5241:   else
1.5       moko     5242:     case $cross_compiling:$ac_tool_warned in
                   5243: yes:)
                   5244: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5245: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5246: ac_tool_warned=yes ;;
                   5247: esac
                   5248:     DLLTOOL=$ac_ct_DLLTOOL
1.1       misha    5249:   fi
                   5250: else
1.5       moko     5251:   DLLTOOL="$ac_cv_prog_DLLTOOL"
1.1       misha    5252: fi
1.5       moko     5253: 
                   5254: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   5255: 
                   5256: 
                   5257: 
                   5258: 
                   5259: 
                   5260: 
                   5261: 
                   5262: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
                   5263: $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
                   5264: if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
                   5265:   $as_echo_n "(cached) " >&6
1.1       misha    5266: else
1.5       moko     5267:   lt_cv_sharedlib_from_linklib_cmd='unknown'
                   5268: 
                   5269: case $host_os in
                   5270: cygwin* | mingw* | pw32* | cegcc*)
                   5271:   # two different shell functions defined in ltmain.sh
                   5272:   # decide which to use based on capabilities of $DLLTOOL
                   5273:   case `$DLLTOOL --help 2>&1` in
                   5274:   *--identify-strict*)
                   5275:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
                   5276:     ;;
                   5277:   *)
                   5278:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
                   5279:     ;;
                   5280:   esac
                   5281:   ;;
                   5282: *)
                   5283:   # fallback: assume linklib IS sharedlib
                   5284:   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
                   5285:   ;;
                   5286: esac
1.1       misha    5287: 
                   5288: fi
1.5       moko     5289: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
                   5290: $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
                   5291: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
                   5292: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
                   5293: 
                   5294: 
                   5295: 
                   5296: 
                   5297: 
1.1       misha    5298: 
                   5299: 
                   5300: 
1.5       moko     5301: if test -n "$ac_tool_prefix"; then
                   5302:   for ac_prog in ar
                   5303:   do
                   5304:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   5305: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   5306: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5307: $as_echo_n "checking for $ac_word... " >&6; }
                   5308: if ${ac_cv_prog_AR+:} false; then :
                   5309:   $as_echo_n "(cached) " >&6
                   5310: else
                   5311:   if test -n "$AR"; then
                   5312:   ac_cv_prog_AR="$AR" # Let the user override the test.
1.1       misha    5313: else
1.5       moko     5314: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5315: for as_dir in $PATH
                   5316: do
                   5317:   IFS=$as_save_IFS
                   5318:   test -z "$as_dir" && as_dir=.
                   5319:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5320:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   5321:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
                   5322:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5323:     break 2
                   5324:   fi
                   5325: done
                   5326:   done
                   5327: IFS=$as_save_IFS
                   5328: 
                   5329: fi
                   5330: fi
                   5331: AR=$ac_cv_prog_AR
                   5332: if test -n "$AR"; then
                   5333:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
                   5334: $as_echo "$AR" >&6; }
                   5335: else
                   5336:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5337: $as_echo "no" >&6; }
                   5338: fi
                   5339: 
                   5340: 
                   5341:     test -n "$AR" && break
                   5342:   done
1.1       misha    5343: fi
1.5       moko     5344: if test -z "$AR"; then
                   5345:   ac_ct_AR=$AR
                   5346:   for ac_prog in ar
                   5347: do
                   5348:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   5349: set dummy $ac_prog; ac_word=$2
                   5350: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5351: $as_echo_n "checking for $ac_word... " >&6; }
                   5352: if ${ac_cv_prog_ac_ct_AR+:} false; then :
                   5353:   $as_echo_n "(cached) " >&6
                   5354: else
                   5355:   if test -n "$ac_ct_AR"; then
                   5356:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
                   5357: else
                   5358: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5359: for as_dir in $PATH
1.1       misha    5360: do
1.5       moko     5361:   IFS=$as_save_IFS
                   5362:   test -z "$as_dir" && as_dir=.
                   5363:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5364:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   5365:     ac_cv_prog_ac_ct_AR="$ac_prog"
                   5366:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5367:     break 2
1.1       misha    5368:   fi
1.5       moko     5369: done
                   5370:   done
                   5371: IFS=$as_save_IFS
                   5372: 
                   5373: fi
                   5374: fi
                   5375: ac_ct_AR=$ac_cv_prog_ac_ct_AR
                   5376: if test -n "$ac_ct_AR"; then
                   5377:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
                   5378: $as_echo "$ac_ct_AR" >&6; }
1.1       misha    5379: else
1.5       moko     5380:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5381: $as_echo "no" >&6; }
1.1       misha    5382: fi
                   5383: 
                   5384: 
1.5       moko     5385:   test -n "$ac_ct_AR" && break
                   5386: done
                   5387: 
                   5388:   if test "x$ac_ct_AR" = x; then
                   5389:     AR="false"
1.1       misha    5390:   else
1.5       moko     5391:     case $cross_compiling:$ac_tool_warned in
                   5392: yes:)
                   5393: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5394: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5395: ac_tool_warned=yes ;;
                   5396: esac
                   5397:     AR=$ac_ct_AR
1.1       misha    5398:   fi
                   5399: fi
                   5400: 
1.5       moko     5401: : ${AR=ar}
                   5402: : ${AR_FLAGS=cru}
                   5403: 
                   5404: 
                   5405: 
                   5406: 
                   5407: 
1.1       misha    5408: 
                   5409: 
                   5410: 
                   5411: 
                   5412: 
                   5413: 
1.5       moko     5414: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
                   5415: $as_echo_n "checking for archiver @FILE support... " >&6; }
                   5416: if ${lt_cv_ar_at_file+:} false; then :
                   5417:   $as_echo_n "(cached) " >&6
1.1       misha    5418: else
1.5       moko     5419:   lt_cv_ar_at_file=no
                   5420:    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misha    5421: /* end confdefs.h.  */
                   5422: 
                   5423: int
                   5424: main ()
                   5425: {
                   5426: 
                   5427:   ;
                   5428:   return 0;
                   5429: }
                   5430: _ACEOF
1.5       moko     5431: if ac_fn_c_try_compile "$LINENO"; then :
                   5432:   echo conftest.$ac_objext > conftest.lst
                   5433:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
                   5434:       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
                   5435:   (eval $lt_ar_try) 2>&5
                   5436:   ac_status=$?
                   5437:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   5438:   test $ac_status = 0; }
                   5439:       if test "$ac_status" -eq 0; then
                   5440:        # Ensure the archiver fails upon bogus file names.
                   5441:        rm -f conftest.$ac_objext libconftest.a
                   5442:        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
                   5443:   (eval $lt_ar_try) 2>&5
                   5444:   ac_status=$?
                   5445:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   5446:   test $ac_status = 0; }
                   5447:        if test "$ac_status" -ne 0; then
                   5448:           lt_cv_ar_at_file=@
                   5449:         fi
                   5450:       fi
                   5451:       rm -f conftest.* libconftest.a
1.1       misha    5452: 
                   5453: fi
1.5       moko     5454: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       misha    5455: 
1.5       moko     5456: fi
                   5457: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
                   5458: $as_echo "$lt_cv_ar_at_file" >&6; }
1.1       misha    5459: 
1.5       moko     5460: if test "x$lt_cv_ar_at_file" = xno; then
                   5461:   archiver_list_spec=
1.1       misha    5462: else
1.5       moko     5463:   archiver_list_spec=$lt_cv_ar_at_file
1.1       misha    5464: fi
                   5465: 
                   5466: 
                   5467: 
                   5468: 
                   5469: 
1.5       moko     5470: 
                   5471: 
                   5472: if test -n "$ac_tool_prefix"; then
                   5473:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   5474: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   5475: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5476: $as_echo_n "checking for $ac_word... " >&6; }
                   5477: if ${ac_cv_prog_STRIP+:} false; then :
                   5478:   $as_echo_n "(cached) " >&6
1.1       misha    5479: else
1.5       moko     5480:   if test -n "$STRIP"; then
                   5481:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1.1       misha    5482: else
1.5       moko     5483: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5484: for as_dir in $PATH
                   5485: do
                   5486:   IFS=$as_save_IFS
                   5487:   test -z "$as_dir" && as_dir=.
                   5488:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5489:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   5490:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   5491:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5492:     break 2
                   5493:   fi
                   5494: done
                   5495:   done
                   5496: IFS=$as_save_IFS
1.1       misha    5497: 
                   5498: fi
                   5499: fi
1.5       moko     5500: STRIP=$ac_cv_prog_STRIP
                   5501: if test -n "$STRIP"; then
                   5502:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
                   5503: $as_echo "$STRIP" >&6; }
                   5504: else
                   5505:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5506: $as_echo "no" >&6; }
1.1       misha    5507: fi
                   5508: 
                   5509: 
                   5510: fi
1.5       moko     5511: if test -z "$ac_cv_prog_STRIP"; then
                   5512:   ac_ct_STRIP=$STRIP
                   5513:   # Extract the first word of "strip", so it can be a program name with args.
                   5514: set dummy strip; ac_word=$2
                   5515: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5516: $as_echo_n "checking for $ac_word... " >&6; }
                   5517: if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
                   5518:   $as_echo_n "(cached) " >&6
                   5519: else
                   5520:   if test -n "$ac_ct_STRIP"; then
                   5521:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
                   5522: else
                   5523: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5524: for as_dir in $PATH
                   5525: do
                   5526:   IFS=$as_save_IFS
                   5527:   test -z "$as_dir" && as_dir=.
                   5528:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5529:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   5530:     ac_cv_prog_ac_ct_STRIP="strip"
                   5531:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5532:     break 2
                   5533:   fi
                   5534: done
                   5535:   done
                   5536: IFS=$as_save_IFS
1.1       misha    5537: 
1.5       moko     5538: fi
                   5539: fi
                   5540: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   5541: if test -n "$ac_ct_STRIP"; then
                   5542:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
                   5543: $as_echo "$ac_ct_STRIP" >&6; }
                   5544: else
                   5545:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5546: $as_echo "no" >&6; }
                   5547: fi
1.1       misha    5548: 
1.5       moko     5549:   if test "x$ac_ct_STRIP" = x; then
                   5550:     STRIP=":"
                   5551:   else
                   5552:     case $cross_compiling:$ac_tool_warned in
                   5553: yes:)
                   5554: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5555: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5556: ac_tool_warned=yes ;;
                   5557: esac
                   5558:     STRIP=$ac_ct_STRIP
                   5559:   fi
                   5560: else
                   5561:   STRIP="$ac_cv_prog_STRIP"
                   5562: fi
1.1       misha    5563: 
1.5       moko     5564: test -z "$STRIP" && STRIP=:
1.1       misha    5565: 
                   5566: 
                   5567: 
                   5568: 
                   5569: 
                   5570: 
1.5       moko     5571: if test -n "$ac_tool_prefix"; then
                   5572:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   5573: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
                   5574: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5575: $as_echo_n "checking for $ac_word... " >&6; }
                   5576: if ${ac_cv_prog_RANLIB+:} false; then :
                   5577:   $as_echo_n "(cached) " >&6
1.1       misha    5578: else
1.5       moko     5579:   if test -n "$RANLIB"; then
                   5580:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1.1       misha    5581: else
1.5       moko     5582: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5583: for as_dir in $PATH
                   5584: do
                   5585:   IFS=$as_save_IFS
                   5586:   test -z "$as_dir" && as_dir=.
                   5587:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5588:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   5589:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
                   5590:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5591:     break 2
                   5592:   fi
                   5593: done
                   5594:   done
                   5595: IFS=$as_save_IFS
1.1       misha    5596: 
                   5597: fi
                   5598: fi
1.5       moko     5599: RANLIB=$ac_cv_prog_RANLIB
                   5600: if test -n "$RANLIB"; then
                   5601:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
                   5602: $as_echo "$RANLIB" >&6; }
                   5603: else
                   5604:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5605: $as_echo "no" >&6; }
1.1       misha    5606: fi
                   5607: 
                   5608: 
                   5609: fi
                   5610: if test -z "$ac_cv_prog_RANLIB"; then
                   5611:   ac_ct_RANLIB=$RANLIB
                   5612:   # Extract the first word of "ranlib", so it can be a program name with args.
                   5613: set dummy ranlib; ac_word=$2
1.5       moko     5614: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   5615: $as_echo_n "checking for $ac_word... " >&6; }
                   5616: if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
                   5617:   $as_echo_n "(cached) " >&6
1.1       misha    5618: else
                   5619:   if test -n "$ac_ct_RANLIB"; then
                   5620:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   5621: else
                   5622: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5623: for as_dir in $PATH
                   5624: do
                   5625:   IFS=$as_save_IFS
                   5626:   test -z "$as_dir" && as_dir=.
1.5       moko     5627:     for ac_exec_ext in '' $ac_executable_extensions; do
                   5628:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1.1       misha    5629:     ac_cv_prog_ac_ct_RANLIB="ranlib"
1.5       moko     5630:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1.1       misha    5631:     break 2
                   5632:   fi
                   5633: done
1.5       moko     5634:   done
                   5635: IFS=$as_save_IFS
1.1       misha    5636: 
                   5637: fi
                   5638: fi
                   5639: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   5640: if test -n "$ac_ct_RANLIB"; then
1.5       moko     5641:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
                   5642: $as_echo "$ac_ct_RANLIB" >&6; }
1.1       misha    5643: else
1.5       moko     5644:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   5645: $as_echo "no" >&6; }
1.1       misha    5646: fi
                   5647: 
1.5       moko     5648:   if test "x$ac_ct_RANLIB" = x; then
                   5649:     RANLIB=":"
                   5650:   else
                   5651:     case $cross_compiling:$ac_tool_warned in
                   5652: yes:)
                   5653: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   5654: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   5655: ac_tool_warned=yes ;;
                   5656: esac
                   5657:     RANLIB=$ac_ct_RANLIB
                   5658:   fi
1.1       misha    5659: else
                   5660:   RANLIB="$ac_cv_prog_RANLIB"
                   5661: fi
                   5662: 
1.5       moko     5663: test -z "$RANLIB" && RANLIB=:
                   5664: 
                   5665: 
                   5666: 
                   5667: 
                   5668: 
                   5669: 
                   5670: # Determine commands to create old-style static archives.
                   5671: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
                   5672: old_postinstall_cmds='chmod 644 $oldlib'
                   5673: old_postuninstall_cmds=
1.1       misha    5674: 
1.5       moko     5675: if test -n "$RANLIB"; then
                   5676:   case $host_os in
                   5677:   openbsd*)
                   5678:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
                   5679:     ;;
                   5680:   *)
                   5681:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
                   5682:     ;;
                   5683:   esac
                   5684:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
1.1       misha    5685: fi
                   5686: 
1.5       moko     5687: case $host_os in
                   5688:   darwin*)
                   5689:     lock_old_archive_extraction=yes ;;
                   5690:   *)
                   5691:     lock_old_archive_extraction=no ;;
                   5692: esac
                   5693: 
1.1       misha    5694: 
                   5695: 
                   5696: 
                   5697: 
                   5698: 
                   5699: 
                   5700: 
                   5701: 
                   5702: 
                   5703: 
                   5704: 
                   5705: 
                   5706: 
                   5707: 
                   5708: 
                   5709: 
                   5710: 
                   5711: 
                   5712: 
                   5713: 
                   5714: 
                   5715: 
                   5716: 
                   5717: 
                   5718: 
                   5719: 
                   5720: 
                   5721: 
                   5722: 
                   5723: 
                   5724: 
                   5725: 
                   5726: 
                   5727: 
                   5728: 
                   5729: 
                   5730: 
                   5731: 
1.5       moko     5732: # If no C compiler was specified, use CC.
                   5733: LTCC=${LTCC-"$CC"}
1.1       misha    5734: 
1.5       moko     5735: # If no C compiler flags were specified, use CFLAGS.
                   5736: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
1.1       misha    5737: 
1.5       moko     5738: # Allow CC to be a program name with arguments.
                   5739: compiler=$CC
1.1       misha    5740: 
                   5741: 
1.5       moko     5742: # Check for command to grab the raw symbol name followed by C symbol from nm.
                   5743: { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
                   5744: $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
                   5745: if ${lt_cv_sys_global_symbol_pipe+:} false; then :
                   5746:   $as_echo_n "(cached) " >&6
                   5747: else
1.1       misha    5748: 
1.5       moko     5749: # These are sane defaults that work on at least a few old systems.
                   5750: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
1.1       misha    5751: 
1.5       moko     5752: # Character class describing NM global symbol codes.
                   5753: symcode='[BCDEGRST]'
1.1       misha    5754: 
1.5       moko     5755: # Regexp to match symbols that can be accessed directly from C.
                   5756: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
1.1       misha    5757: 
1.5       moko     5758: # Define system-specific variables.
                   5759: case $host_os in
                   5760: aix*)
                   5761:   symcode='[BCDT]'
                   5762:   ;;
                   5763: cygwin* | mingw* | pw32* | cegcc*)
                   5764:   symcode='[ABCDGISTW]'
                   5765:   ;;
                   5766: hpux*)
                   5767:   if test "$host_cpu" = ia64; then
                   5768:     symcode='[ABCDEGRST]'
                   5769:   fi
                   5770:   ;;
                   5771: irix* | nonstopux*)
                   5772:   symcode='[BCDEGRST]'
                   5773:   ;;
                   5774: osf*)
                   5775:   symcode='[BCDEGQRST]'
                   5776:   ;;
                   5777: solaris*)
                   5778:   symcode='[BDRT]'
                   5779:   ;;
                   5780: sco3.2v5*)
                   5781:   symcode='[DT]'
                   5782:   ;;
                   5783: sysv4.2uw2*)
                   5784:   symcode='[DT]'
                   5785:   ;;
                   5786: sysv5* | sco5v6* | unixware* | OpenUNIX*)
                   5787:   symcode='[ABDT]'
                   5788:   ;;
                   5789: sysv4)
                   5790:   symcode='[DFNSTU]'
                   5791:   ;;
                   5792: esac
1.1       misha    5793: 
1.5       moko     5794: # If we're using GNU nm, then use its standard symbol codes.
                   5795: case `$NM -V 2>&1` in
                   5796: *GNU* | *'with BFD'*)
                   5797:   symcode='[ABCDGIRSTW]' ;;
                   5798: esac
1.1       misha    5799: 
1.5       moko     5800: # Transform an extracted symbol line into a proper C declaration.
                   5801: # Some systems (esp. on ia64) link data and code symbols differently,
                   5802: # so use this general approach.
                   5803: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
1.1       misha    5804: 
1.5       moko     5805: # Transform an extracted symbol line into symbol name and symbol address
                   5806: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
                   5807: 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       misha    5808: 
1.5       moko     5809: # Handle CRLF in mingw tool chain
                   5810: opt_cr=
                   5811: case $build_os in
                   5812: mingw*)
                   5813:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
                   5814:   ;;
                   5815: esac
1.1       misha    5816: 
1.5       moko     5817: # Try without a prefix underscore, then with it.
                   5818: for ac_symprfx in "" "_"; do
1.1       misha    5819: 
1.5       moko     5820:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
                   5821:   symxfrm="\\1 $ac_symprfx\\2 \\2"
1.1       misha    5822: 
1.5       moko     5823:   # Write the raw and C identifiers.
                   5824:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   5825:     # Fake it for dumpbin and say T for any non-static function
                   5826:     # and D for any global variable.
                   5827:     # Also find C++ and __fastcall symbols from MSVC++,
                   5828:     # which start with @ or ?.
                   5829:     lt_cv_sys_global_symbol_pipe="$AWK '"\
                   5830: "     {last_section=section; section=\$ 3};"\
                   5831: "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
                   5832: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
                   5833: "     \$ 0!~/External *\|/{next};"\
                   5834: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
                   5835: "     {if(hide[section]) next};"\
                   5836: "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
                   5837: "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
                   5838: "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
                   5839: "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
                   5840: "     ' prfx=^$ac_symprfx"
                   5841:   else
                   5842:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
                   5843:   fi
                   5844:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
1.1       misha    5845: 
1.5       moko     5846:   # Check to see that the pipe works correctly.
                   5847:   pipe_works=no
1.1       misha    5848: 
1.5       moko     5849:   rm -f conftest*
                   5850:   cat > conftest.$ac_ext <<_LT_EOF
                   5851: #ifdef __cplusplus
                   5852: extern "C" {
                   5853: #endif
                   5854: char nm_test_var;
                   5855: void nm_test_func(void);
                   5856: void nm_test_func(void){}
                   5857: #ifdef __cplusplus
1.1       misha    5858: }
1.5       moko     5859: #endif
                   5860: int main(){nm_test_var='a';nm_test_func();return(0);}
                   5861: _LT_EOF
                   5862: 
                   5863:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1.1       misha    5864:   (eval $ac_compile) 2>&5
                   5865:   ac_status=$?
1.5       moko     5866:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   5867:   test $ac_status = 0; }; then
                   5868:     # Now try to grab the symbols.
                   5869:     nlist=conftest.nm
                   5870:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
                   5871:   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
1.1       misha    5872:   ac_status=$?
1.5       moko     5873:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   5874:   test $ac_status = 0; } && test -s "$nlist"; then
                   5875:       # Try sorting and uniquifying the output.
                   5876:       if sort "$nlist" | uniq > "$nlist"T; then
                   5877:        mv -f "$nlist"T "$nlist"
                   5878:       else
                   5879:        rm -f "$nlist"T
                   5880:       fi
                   5881: 
                   5882:       # Make sure that we snagged all the symbols we need.
                   5883:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
                   5884:        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
                   5885:          cat <<_LT_EOF > conftest.$ac_ext
                   5886: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
                   5887: #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
                   5888: /* DATA imports from DLLs on WIN32 con't be const, because runtime
                   5889:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
                   5890: # define LT_DLSYM_CONST
                   5891: #elif defined(__osf__)
                   5892: /* This system does not cope well with relocations in const data.  */
                   5893: # define LT_DLSYM_CONST
                   5894: #else
                   5895: # define LT_DLSYM_CONST const
                   5896: #endif
1.1       misha    5897: 
1.5       moko     5898: #ifdef __cplusplus
                   5899: extern "C" {
                   5900: #endif
1.1       misha    5901: 
1.5       moko     5902: _LT_EOF
                   5903:          # Now generate the symbol file.
                   5904:          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
1.1       misha    5905: 
1.5       moko     5906:          cat <<_LT_EOF >> conftest.$ac_ext
1.1       misha    5907: 
1.5       moko     5908: /* The mapping between symbol names and symbols.  */
                   5909: LT_DLSYM_CONST struct {
                   5910:   const char *name;
                   5911:   void       *address;
                   5912: }
                   5913: lt__PROGRAM__LTX_preloaded_symbols[] =
                   5914: {
                   5915:   { "@PROGRAM@", (void *) 0 },
                   5916: _LT_EOF
                   5917:          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
                   5918:          cat <<\_LT_EOF >> conftest.$ac_ext
                   5919:   {0, (void *) 0}
                   5920: };
1.1       misha    5921: 
1.5       moko     5922: /* This works around a problem in FreeBSD linker */
                   5923: #ifdef FREEBSD_WORKAROUND
                   5924: static const void *lt_preloaded_setup() {
                   5925:   return lt__PROGRAM__LTX_preloaded_symbols;
                   5926: }
                   5927: #endif
1.1       misha    5928: 
1.5       moko     5929: #ifdef __cplusplus
                   5930: }
                   5931: #endif
                   5932: _LT_EOF
                   5933:          # Now try linking the two files.
                   5934:          mv conftest.$ac_objext conftstm.$ac_objext
                   5935:          lt_globsym_save_LIBS=$LIBS
                   5936:          lt_globsym_save_CFLAGS=$CFLAGS
                   5937:          LIBS="conftstm.$ac_objext"
                   5938:          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
                   5939:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
                   5940:   (eval $ac_link) 2>&5
                   5941:   ac_status=$?
                   5942:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   5943:   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
                   5944:            pipe_works=yes
                   5945:          fi
                   5946:          LIBS=$lt_globsym_save_LIBS
                   5947:          CFLAGS=$lt_globsym_save_CFLAGS
                   5948:        else
                   5949:          echo "cannot find nm_test_func in $nlist" >&5
                   5950:        fi
                   5951:       else
                   5952:        echo "cannot find nm_test_var in $nlist" >&5
                   5953:       fi
                   5954:     else
                   5955:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   5956:     fi
1.1       misha    5957:   else
1.5       moko     5958:     echo "$progname: failed program was:" >&5
                   5959:     cat conftest.$ac_ext >&5
1.1       misha    5960:   fi
1.5       moko     5961:   rm -rf conftest* conftst*
1.1       misha    5962: 
1.5       moko     5963:   # Do not use the global_symbol_pipe unless it works.
                   5964:   if test "$pipe_works" = yes; then
                   5965:     break
1.1       misha    5966:   else
1.5       moko     5967:     lt_cv_sys_global_symbol_pipe=
1.1       misha    5968:   fi
1.5       moko     5969: done
                   5970: 
1.1       misha    5971: fi
                   5972: 
1.5       moko     5973: if test -z "$lt_cv_sys_global_symbol_pipe"; then
                   5974:   lt_cv_sys_global_symbol_to_cdecl=
                   5975: fi
                   5976: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
                   5977:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
                   5978: $as_echo "failed" >&6; }
1.1       misha    5979: else
1.5       moko     5980:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
                   5981: $as_echo "ok" >&6; }
                   5982: fi
                   5983: 
                   5984: # Response file support.
                   5985: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   5986:   nm_file_list_spec='@'
                   5987: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
                   5988:   nm_file_list_spec='@'
                   5989: fi
                   5990: 
                   5991: 
1.1       misha    5992: 
                   5993: 
                   5994: 
                   5995: 
                   5996: 
                   5997: 
                   5998: 
                   5999: 
                   6000: 
                   6001: 
                   6002: 
                   6003: 
                   6004: 
                   6005: 
                   6006: 
                   6007: 
                   6008: 
                   6009: 
                   6010: 
                   6011: 
                   6012: 
                   6013: 
                   6014: 
                   6015: 
                   6016: 
1.5       moko     6017: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
                   6018: $as_echo_n "checking for sysroot... " >&6; }
1.1       misha    6019: 
1.5       moko     6020: # Check whether --with-sysroot was given.
                   6021: if test "${with_sysroot+set}" = set; then :
                   6022:   withval=$with_sysroot;
                   6023: else
                   6024:   with_sysroot=no
                   6025: fi
1.1       misha    6026: 
                   6027: 
1.5       moko     6028: lt_sysroot=
                   6029: case ${with_sysroot} in #(
                   6030:  yes)
                   6031:    if test "$GCC" = yes; then
                   6032:      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
                   6033:    fi
                   6034:    ;; #(
                   6035:  /*)
                   6036:    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
                   6037:    ;; #(
                   6038:  no|'')
                   6039:    ;; #(
                   6040:  *)
                   6041:    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
                   6042: $as_echo "${with_sysroot}" >&6; }
                   6043:    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
                   6044:    ;;
                   6045: esac
1.1       misha    6046: 
1.5       moko     6047:  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
                   6048: $as_echo "${lt_sysroot:-no}" >&6; }
1.1       misha    6049: 
                   6050: 
                   6051: 
                   6052: 
                   6053: 
1.5       moko     6054: # Check whether --enable-libtool-lock was given.
                   6055: if test "${enable_libtool_lock+set}" = set; then :
                   6056:   enableval=$enable_libtool_lock;
                   6057: fi
1.1       misha    6058: 
1.5       moko     6059: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
1.1       misha    6060: 
1.5       moko     6061: # Some flags need to be propagated to the compiler or linker for good
                   6062: # libtool support.
                   6063: case $host in
                   6064: ia64-*-hpux*)
                   6065:   # Find out which ABI we are using.
                   6066:   echo 'int i;' > conftest.$ac_ext
                   6067:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   6068:   (eval $ac_compile) 2>&5
                   6069:   ac_status=$?
                   6070:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6071:   test $ac_status = 0; }; then
                   6072:     case `/usr/bin/file conftest.$ac_objext` in
                   6073:       *ELF-32*)
                   6074:        HPUX_IA64_MODE="32"
                   6075:        ;;
                   6076:       *ELF-64*)
                   6077:        HPUX_IA64_MODE="64"
                   6078:        ;;
1.1       misha    6079:     esac
                   6080:   fi
1.5       moko     6081:   rm -rf conftest*
                   6082:   ;;
                   6083: *-*-irix6*)
                   6084:   # Find out which ABI we are using.
                   6085:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
                   6086:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   6087:   (eval $ac_compile) 2>&5
                   6088:   ac_status=$?
                   6089:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6090:   test $ac_status = 0; }; then
                   6091:     if test "$lt_cv_prog_gnu_ld" = yes; then
                   6092:       case `/usr/bin/file conftest.$ac_objext` in
                   6093:        *32-bit*)
                   6094:          LD="${LD-ld} -melf32bsmip"
                   6095:          ;;
                   6096:        *N32*)
                   6097:          LD="${LD-ld} -melf32bmipn32"
                   6098:          ;;
                   6099:        *64-bit*)
                   6100:          LD="${LD-ld} -melf64bmip"
                   6101:        ;;
                   6102:       esac
1.1       misha    6103:     else
1.5       moko     6104:       case `/usr/bin/file conftest.$ac_objext` in
                   6105:        *32-bit*)
                   6106:          LD="${LD-ld} -32"
                   6107:          ;;
                   6108:        *N32*)
                   6109:          LD="${LD-ld} -n32"
                   6110:          ;;
                   6111:        *64-bit*)
                   6112:          LD="${LD-ld} -64"
1.1       misha    6113:          ;;
                   6114:       esac
1.5       moko     6115:     fi
                   6116:   fi
                   6117:   rm -rf conftest*
                   6118:   ;;
1.1       misha    6119: 
1.5       moko     6120: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
                   6121: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
                   6122:   # Find out which ABI we are using.
                   6123:   echo 'int i;' > conftest.$ac_ext
                   6124:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   6125:   (eval $ac_compile) 2>&5
                   6126:   ac_status=$?
                   6127:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6128:   test $ac_status = 0; }; then
                   6129:     case `/usr/bin/file conftest.o` in
                   6130:       *32-bit*)
                   6131:        case $host in
                   6132:          x86_64-*kfreebsd*-gnu)
                   6133:            LD="${LD-ld} -m elf_i386_fbsd"
                   6134:            ;;
                   6135:          x86_64-*linux*)
                   6136:            LD="${LD-ld} -m elf_i386"
                   6137:            ;;
                   6138:          ppc64-*linux*|powerpc64-*linux*)
                   6139:            LD="${LD-ld} -m elf32ppclinux"
                   6140:            ;;
                   6141:          s390x-*linux*)
                   6142:            LD="${LD-ld} -m elf_s390"
                   6143:            ;;
                   6144:          sparc64-*linux*)
                   6145:            LD="${LD-ld} -m elf32_sparc"
                   6146:            ;;
                   6147:        esac
                   6148:        ;;
                   6149:       *64-bit*)
                   6150:        case $host in
                   6151:          x86_64-*kfreebsd*-gnu)
                   6152:            LD="${LD-ld} -m elf_x86_64_fbsd"
                   6153:            ;;
                   6154:          x86_64-*linux*)
                   6155:            LD="${LD-ld} -m elf_x86_64"
                   6156:            ;;
                   6157:          ppc*-*linux*|powerpc*-*linux*)
                   6158:            LD="${LD-ld} -m elf64ppc"
                   6159:            ;;
                   6160:          s390*-*linux*|s390*-*tpf*)
                   6161:            LD="${LD-ld} -m elf64_s390"
                   6162:            ;;
                   6163:          sparc*-*linux*)
                   6164:            LD="${LD-ld} -m elf64_sparc"
                   6165:            ;;
                   6166:        esac
                   6167:        ;;
                   6168:     esac
                   6169:   fi
                   6170:   rm -rf conftest*
                   6171:   ;;
1.1       misha    6172: 
1.5       moko     6173: *-*-sco3.2v5*)
                   6174:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
                   6175:   SAVE_CFLAGS="$CFLAGS"
                   6176:   CFLAGS="$CFLAGS -belf"
                   6177:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
                   6178: $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
                   6179: if ${lt_cv_cc_needs_belf+:} false; then :
                   6180:   $as_echo_n "(cached) " >&6
                   6181: else
                   6182:   ac_ext=c
                   6183: ac_cpp='$CPP $CPPFLAGS'
                   6184: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   6185: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   6186: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   6187: 
                   6188:      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6189: /* end confdefs.h.  */
                   6190: 
                   6191: int
                   6192: main ()
                   6193: {
                   6194: 
                   6195:   ;
                   6196:   return 0;
                   6197: }
                   6198: _ACEOF
                   6199: if ac_fn_c_try_link "$LINENO"; then :
                   6200:   lt_cv_cc_needs_belf=yes
                   6201: else
                   6202:   lt_cv_cc_needs_belf=no
                   6203: fi
                   6204: rm -f core conftest.err conftest.$ac_objext \
                   6205:     conftest$ac_exeext conftest.$ac_ext
                   6206:      ac_ext=c
                   6207: ac_cpp='$CPP $CPPFLAGS'
                   6208: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   6209: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   6210: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   6211: 
                   6212: fi
                   6213: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
                   6214: $as_echo "$lt_cv_cc_needs_belf" >&6; }
                   6215:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
                   6216:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
                   6217:     CFLAGS="$SAVE_CFLAGS"
                   6218:   fi
                   6219:   ;;
                   6220: *-*solaris*)
                   6221:   # Find out which ABI we are using.
                   6222:   echo 'int i;' > conftest.$ac_ext
                   6223:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   6224:   (eval $ac_compile) 2>&5
                   6225:   ac_status=$?
                   6226:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   6227:   test $ac_status = 0; }; then
                   6228:     case `/usr/bin/file conftest.o` in
                   6229:     *64-bit*)
                   6230:       case $lt_cv_prog_gnu_ld in
                   6231:       yes*)
                   6232:         case $host in
                   6233:         i?86-*-solaris*)
                   6234:           LD="${LD-ld} -m elf_x86_64"
                   6235:           ;;
                   6236:         sparc*-*-solaris*)
                   6237:           LD="${LD-ld} -m elf64_sparc"
                   6238:           ;;
                   6239:         esac
                   6240:         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
                   6241:         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
                   6242:           LD="${LD-ld}_sol2"
                   6243:         fi
                   6244:         ;;
                   6245:       *)
                   6246:        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
                   6247:          LD="${LD-ld} -64"
                   6248:        fi
                   6249:        ;;
                   6250:       esac
                   6251:       ;;
                   6252:     esac
                   6253:   fi
                   6254:   rm -rf conftest*
                   6255:   ;;
                   6256: esac
                   6257: 
                   6258: need_locks="$enable_libtool_lock"
                   6259: 
                   6260: if test -n "$ac_tool_prefix"; then
                   6261:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
                   6262: set dummy ${ac_tool_prefix}mt; ac_word=$2
                   6263: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6264: $as_echo_n "checking for $ac_word... " >&6; }
                   6265: if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
                   6266:   $as_echo_n "(cached) " >&6
                   6267: else
                   6268:   if test -n "$MANIFEST_TOOL"; then
                   6269:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
                   6270: else
                   6271: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6272: for as_dir in $PATH
                   6273: do
                   6274:   IFS=$as_save_IFS
                   6275:   test -z "$as_dir" && as_dir=.
                   6276:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6277:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6278:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
                   6279:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6280:     break 2
                   6281:   fi
                   6282: done
                   6283:   done
                   6284: IFS=$as_save_IFS
                   6285: 
                   6286: fi
                   6287: fi
                   6288: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
                   6289: if test -n "$MANIFEST_TOOL"; then
                   6290:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
                   6291: $as_echo "$MANIFEST_TOOL" >&6; }
                   6292: else
                   6293:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6294: $as_echo "no" >&6; }
                   6295: fi
                   6296: 
                   6297: 
                   6298: fi
                   6299: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
                   6300:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
                   6301:   # Extract the first word of "mt", so it can be a program name with args.
                   6302: set dummy mt; ac_word=$2
                   6303: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6304: $as_echo_n "checking for $ac_word... " >&6; }
                   6305: if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
                   6306:   $as_echo_n "(cached) " >&6
                   6307: else
                   6308:   if test -n "$ac_ct_MANIFEST_TOOL"; then
                   6309:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
                   6310: else
                   6311: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6312: for as_dir in $PATH
                   6313: do
                   6314:   IFS=$as_save_IFS
                   6315:   test -z "$as_dir" && as_dir=.
                   6316:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6317:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6318:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
                   6319:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6320:     break 2
                   6321:   fi
                   6322: done
                   6323:   done
                   6324: IFS=$as_save_IFS
                   6325: 
                   6326: fi
                   6327: fi
                   6328: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
                   6329: if test -n "$ac_ct_MANIFEST_TOOL"; then
                   6330:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
                   6331: $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
                   6332: else
                   6333:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6334: $as_echo "no" >&6; }
                   6335: fi
                   6336: 
                   6337:   if test "x$ac_ct_MANIFEST_TOOL" = x; then
                   6338:     MANIFEST_TOOL=":"
                   6339:   else
                   6340:     case $cross_compiling:$ac_tool_warned in
                   6341: yes:)
                   6342: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6343: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6344: ac_tool_warned=yes ;;
                   6345: esac
                   6346:     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
                   6347:   fi
                   6348: else
                   6349:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
                   6350: fi
                   6351: 
                   6352: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
                   6353: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
                   6354: $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
                   6355: if ${lt_cv_path_mainfest_tool+:} false; then :
                   6356:   $as_echo_n "(cached) " >&6
                   6357: else
                   6358:   lt_cv_path_mainfest_tool=no
                   6359:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
                   6360:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
                   6361:   cat conftest.err >&5
                   6362:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
                   6363:     lt_cv_path_mainfest_tool=yes
                   6364:   fi
                   6365:   rm -f conftest*
                   6366: fi
                   6367: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
                   6368: $as_echo "$lt_cv_path_mainfest_tool" >&6; }
                   6369: if test "x$lt_cv_path_mainfest_tool" != xyes; then
                   6370:   MANIFEST_TOOL=:
                   6371: fi
                   6372: 
                   6373: 
                   6374: 
                   6375: 
                   6376: 
                   6377: 
                   6378:   case $host_os in
                   6379:     rhapsody* | darwin*)
                   6380:     if test -n "$ac_tool_prefix"; then
                   6381:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
                   6382: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
                   6383: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6384: $as_echo_n "checking for $ac_word... " >&6; }
                   6385: if ${ac_cv_prog_DSYMUTIL+:} false; then :
                   6386:   $as_echo_n "(cached) " >&6
                   6387: else
                   6388:   if test -n "$DSYMUTIL"; then
                   6389:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
                   6390: else
                   6391: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6392: for as_dir in $PATH
                   6393: do
                   6394:   IFS=$as_save_IFS
                   6395:   test -z "$as_dir" && as_dir=.
                   6396:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6397:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6398:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
                   6399:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6400:     break 2
                   6401:   fi
                   6402: done
                   6403:   done
                   6404: IFS=$as_save_IFS
                   6405: 
                   6406: fi
                   6407: fi
                   6408: DSYMUTIL=$ac_cv_prog_DSYMUTIL
                   6409: if test -n "$DSYMUTIL"; then
                   6410:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
                   6411: $as_echo "$DSYMUTIL" >&6; }
                   6412: else
                   6413:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6414: $as_echo "no" >&6; }
                   6415: fi
                   6416: 
                   6417: 
                   6418: fi
                   6419: if test -z "$ac_cv_prog_DSYMUTIL"; then
                   6420:   ac_ct_DSYMUTIL=$DSYMUTIL
                   6421:   # Extract the first word of "dsymutil", so it can be a program name with args.
                   6422: set dummy dsymutil; ac_word=$2
                   6423: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6424: $as_echo_n "checking for $ac_word... " >&6; }
                   6425: if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
                   6426:   $as_echo_n "(cached) " >&6
                   6427: else
                   6428:   if test -n "$ac_ct_DSYMUTIL"; then
                   6429:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
                   6430: else
                   6431: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6432: for as_dir in $PATH
                   6433: do
                   6434:   IFS=$as_save_IFS
                   6435:   test -z "$as_dir" && as_dir=.
                   6436:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6437:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6438:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
                   6439:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6440:     break 2
                   6441:   fi
                   6442: done
                   6443:   done
                   6444: IFS=$as_save_IFS
                   6445: 
                   6446: fi
                   6447: fi
                   6448: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
                   6449: if test -n "$ac_ct_DSYMUTIL"; then
                   6450:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
                   6451: $as_echo "$ac_ct_DSYMUTIL" >&6; }
                   6452: else
                   6453:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6454: $as_echo "no" >&6; }
                   6455: fi
                   6456: 
                   6457:   if test "x$ac_ct_DSYMUTIL" = x; then
                   6458:     DSYMUTIL=":"
                   6459:   else
                   6460:     case $cross_compiling:$ac_tool_warned in
                   6461: yes:)
                   6462: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6463: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6464: ac_tool_warned=yes ;;
                   6465: esac
                   6466:     DSYMUTIL=$ac_ct_DSYMUTIL
                   6467:   fi
                   6468: else
                   6469:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
                   6470: fi
                   6471: 
                   6472:     if test -n "$ac_tool_prefix"; then
                   6473:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
                   6474: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
                   6475: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6476: $as_echo_n "checking for $ac_word... " >&6; }
                   6477: if ${ac_cv_prog_NMEDIT+:} false; then :
                   6478:   $as_echo_n "(cached) " >&6
                   6479: else
                   6480:   if test -n "$NMEDIT"; then
                   6481:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
                   6482: else
                   6483: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6484: for as_dir in $PATH
                   6485: do
                   6486:   IFS=$as_save_IFS
                   6487:   test -z "$as_dir" && as_dir=.
                   6488:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6489:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6490:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
                   6491:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6492:     break 2
                   6493:   fi
                   6494: done
                   6495:   done
                   6496: IFS=$as_save_IFS
                   6497: 
                   6498: fi
                   6499: fi
                   6500: NMEDIT=$ac_cv_prog_NMEDIT
                   6501: if test -n "$NMEDIT"; then
                   6502:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
                   6503: $as_echo "$NMEDIT" >&6; }
                   6504: else
                   6505:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6506: $as_echo "no" >&6; }
                   6507: fi
                   6508: 
                   6509: 
                   6510: fi
                   6511: if test -z "$ac_cv_prog_NMEDIT"; then
                   6512:   ac_ct_NMEDIT=$NMEDIT
                   6513:   # Extract the first word of "nmedit", so it can be a program name with args.
                   6514: set dummy nmedit; ac_word=$2
                   6515: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6516: $as_echo_n "checking for $ac_word... " >&6; }
                   6517: if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
                   6518:   $as_echo_n "(cached) " >&6
                   6519: else
                   6520:   if test -n "$ac_ct_NMEDIT"; then
                   6521:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
                   6522: else
                   6523: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6524: for as_dir in $PATH
                   6525: do
                   6526:   IFS=$as_save_IFS
                   6527:   test -z "$as_dir" && as_dir=.
                   6528:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6529:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6530:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
                   6531:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6532:     break 2
                   6533:   fi
                   6534: done
                   6535:   done
                   6536: IFS=$as_save_IFS
                   6537: 
                   6538: fi
                   6539: fi
                   6540: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
                   6541: if test -n "$ac_ct_NMEDIT"; then
                   6542:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
                   6543: $as_echo "$ac_ct_NMEDIT" >&6; }
                   6544: else
                   6545:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6546: $as_echo "no" >&6; }
                   6547: fi
                   6548: 
                   6549:   if test "x$ac_ct_NMEDIT" = x; then
                   6550:     NMEDIT=":"
                   6551:   else
                   6552:     case $cross_compiling:$ac_tool_warned in
                   6553: yes:)
                   6554: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6555: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6556: ac_tool_warned=yes ;;
                   6557: esac
                   6558:     NMEDIT=$ac_ct_NMEDIT
                   6559:   fi
                   6560: else
                   6561:   NMEDIT="$ac_cv_prog_NMEDIT"
                   6562: fi
                   6563: 
                   6564:     if test -n "$ac_tool_prefix"; then
                   6565:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
                   6566: set dummy ${ac_tool_prefix}lipo; ac_word=$2
                   6567: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6568: $as_echo_n "checking for $ac_word... " >&6; }
                   6569: if ${ac_cv_prog_LIPO+:} false; then :
                   6570:   $as_echo_n "(cached) " >&6
                   6571: else
                   6572:   if test -n "$LIPO"; then
                   6573:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
                   6574: else
                   6575: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6576: for as_dir in $PATH
                   6577: do
                   6578:   IFS=$as_save_IFS
                   6579:   test -z "$as_dir" && as_dir=.
                   6580:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6581:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6582:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
                   6583:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6584:     break 2
                   6585:   fi
                   6586: done
                   6587:   done
                   6588: IFS=$as_save_IFS
                   6589: 
                   6590: fi
                   6591: fi
                   6592: LIPO=$ac_cv_prog_LIPO
                   6593: if test -n "$LIPO"; then
                   6594:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
                   6595: $as_echo "$LIPO" >&6; }
                   6596: else
                   6597:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6598: $as_echo "no" >&6; }
                   6599: fi
                   6600: 
                   6601: 
                   6602: fi
                   6603: if test -z "$ac_cv_prog_LIPO"; then
                   6604:   ac_ct_LIPO=$LIPO
                   6605:   # Extract the first word of "lipo", so it can be a program name with args.
                   6606: set dummy lipo; ac_word=$2
                   6607: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6608: $as_echo_n "checking for $ac_word... " >&6; }
                   6609: if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
                   6610:   $as_echo_n "(cached) " >&6
                   6611: else
                   6612:   if test -n "$ac_ct_LIPO"; then
                   6613:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
                   6614: else
                   6615: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6616: for as_dir in $PATH
                   6617: do
                   6618:   IFS=$as_save_IFS
                   6619:   test -z "$as_dir" && as_dir=.
                   6620:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6621:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6622:     ac_cv_prog_ac_ct_LIPO="lipo"
                   6623:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6624:     break 2
                   6625:   fi
                   6626: done
                   6627:   done
                   6628: IFS=$as_save_IFS
                   6629: 
                   6630: fi
                   6631: fi
                   6632: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
                   6633: if test -n "$ac_ct_LIPO"; then
                   6634:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
                   6635: $as_echo "$ac_ct_LIPO" >&6; }
                   6636: else
                   6637:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6638: $as_echo "no" >&6; }
                   6639: fi
                   6640: 
                   6641:   if test "x$ac_ct_LIPO" = x; then
                   6642:     LIPO=":"
                   6643:   else
                   6644:     case $cross_compiling:$ac_tool_warned in
                   6645: yes:)
                   6646: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6647: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6648: ac_tool_warned=yes ;;
                   6649: esac
                   6650:     LIPO=$ac_ct_LIPO
                   6651:   fi
                   6652: else
                   6653:   LIPO="$ac_cv_prog_LIPO"
                   6654: fi
                   6655: 
                   6656:     if test -n "$ac_tool_prefix"; then
                   6657:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
                   6658: set dummy ${ac_tool_prefix}otool; ac_word=$2
                   6659: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6660: $as_echo_n "checking for $ac_word... " >&6; }
                   6661: if ${ac_cv_prog_OTOOL+:} false; then :
                   6662:   $as_echo_n "(cached) " >&6
                   6663: else
                   6664:   if test -n "$OTOOL"; then
                   6665:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
                   6666: else
                   6667: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6668: for as_dir in $PATH
                   6669: do
                   6670:   IFS=$as_save_IFS
                   6671:   test -z "$as_dir" && as_dir=.
                   6672:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6673:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6674:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
                   6675:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6676:     break 2
                   6677:   fi
                   6678: done
                   6679:   done
                   6680: IFS=$as_save_IFS
                   6681: 
                   6682: fi
                   6683: fi
                   6684: OTOOL=$ac_cv_prog_OTOOL
                   6685: if test -n "$OTOOL"; then
                   6686:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
                   6687: $as_echo "$OTOOL" >&6; }
                   6688: else
                   6689:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6690: $as_echo "no" >&6; }
                   6691: fi
                   6692: 
                   6693: 
                   6694: fi
                   6695: if test -z "$ac_cv_prog_OTOOL"; then
                   6696:   ac_ct_OTOOL=$OTOOL
                   6697:   # Extract the first word of "otool", so it can be a program name with args.
                   6698: set dummy otool; ac_word=$2
                   6699: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6700: $as_echo_n "checking for $ac_word... " >&6; }
                   6701: if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
                   6702:   $as_echo_n "(cached) " >&6
                   6703: else
                   6704:   if test -n "$ac_ct_OTOOL"; then
                   6705:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
                   6706: else
                   6707: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6708: for as_dir in $PATH
                   6709: do
                   6710:   IFS=$as_save_IFS
                   6711:   test -z "$as_dir" && as_dir=.
                   6712:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6713:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6714:     ac_cv_prog_ac_ct_OTOOL="otool"
                   6715:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6716:     break 2
                   6717:   fi
                   6718: done
                   6719:   done
                   6720: IFS=$as_save_IFS
                   6721: 
                   6722: fi
                   6723: fi
                   6724: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
                   6725: if test -n "$ac_ct_OTOOL"; then
                   6726:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
                   6727: $as_echo "$ac_ct_OTOOL" >&6; }
                   6728: else
                   6729:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6730: $as_echo "no" >&6; }
                   6731: fi
                   6732: 
                   6733:   if test "x$ac_ct_OTOOL" = x; then
                   6734:     OTOOL=":"
                   6735:   else
                   6736:     case $cross_compiling:$ac_tool_warned in
                   6737: yes:)
                   6738: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6739: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6740: ac_tool_warned=yes ;;
                   6741: esac
                   6742:     OTOOL=$ac_ct_OTOOL
                   6743:   fi
                   6744: else
                   6745:   OTOOL="$ac_cv_prog_OTOOL"
                   6746: fi
                   6747: 
                   6748:     if test -n "$ac_tool_prefix"; then
                   6749:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
                   6750: set dummy ${ac_tool_prefix}otool64; ac_word=$2
                   6751: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6752: $as_echo_n "checking for $ac_word... " >&6; }
                   6753: if ${ac_cv_prog_OTOOL64+:} false; then :
                   6754:   $as_echo_n "(cached) " >&6
                   6755: else
                   6756:   if test -n "$OTOOL64"; then
                   6757:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
                   6758: else
                   6759: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6760: for as_dir in $PATH
                   6761: do
                   6762:   IFS=$as_save_IFS
                   6763:   test -z "$as_dir" && as_dir=.
                   6764:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6765:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6766:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
                   6767:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6768:     break 2
                   6769:   fi
                   6770: done
                   6771:   done
                   6772: IFS=$as_save_IFS
                   6773: 
                   6774: fi
                   6775: fi
                   6776: OTOOL64=$ac_cv_prog_OTOOL64
                   6777: if test -n "$OTOOL64"; then
                   6778:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
                   6779: $as_echo "$OTOOL64" >&6; }
                   6780: else
                   6781:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6782: $as_echo "no" >&6; }
                   6783: fi
                   6784: 
                   6785: 
                   6786: fi
                   6787: if test -z "$ac_cv_prog_OTOOL64"; then
                   6788:   ac_ct_OTOOL64=$OTOOL64
                   6789:   # Extract the first word of "otool64", so it can be a program name with args.
                   6790: set dummy otool64; ac_word=$2
                   6791: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   6792: $as_echo_n "checking for $ac_word... " >&6; }
                   6793: if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
                   6794:   $as_echo_n "(cached) " >&6
                   6795: else
                   6796:   if test -n "$ac_ct_OTOOL64"; then
                   6797:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
                   6798: else
                   6799: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6800: for as_dir in $PATH
                   6801: do
                   6802:   IFS=$as_save_IFS
                   6803:   test -z "$as_dir" && as_dir=.
                   6804:     for ac_exec_ext in '' $ac_executable_extensions; do
                   6805:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   6806:     ac_cv_prog_ac_ct_OTOOL64="otool64"
                   6807:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6808:     break 2
                   6809:   fi
                   6810: done
                   6811:   done
                   6812: IFS=$as_save_IFS
                   6813: 
                   6814: fi
                   6815: fi
                   6816: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
                   6817: if test -n "$ac_ct_OTOOL64"; then
                   6818:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
                   6819: $as_echo "$ac_ct_OTOOL64" >&6; }
                   6820: else
                   6821:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   6822: $as_echo "no" >&6; }
                   6823: fi
                   6824: 
                   6825:   if test "x$ac_ct_OTOOL64" = x; then
                   6826:     OTOOL64=":"
                   6827:   else
                   6828:     case $cross_compiling:$ac_tool_warned in
                   6829: yes:)
                   6830: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   6831: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   6832: ac_tool_warned=yes ;;
                   6833: esac
                   6834:     OTOOL64=$ac_ct_OTOOL64
                   6835:   fi
                   6836: else
                   6837:   OTOOL64="$ac_cv_prog_OTOOL64"
                   6838: fi
                   6839: 
                   6840: 
                   6841: 
                   6842: 
                   6843: 
                   6844: 
                   6845: 
                   6846: 
                   6847: 
                   6848: 
                   6849: 
                   6850: 
                   6851: 
                   6852: 
                   6853: 
                   6854: 
                   6855: 
                   6856: 
                   6857: 
                   6858: 
                   6859: 
                   6860: 
                   6861: 
                   6862: 
                   6863: 
                   6864: 
                   6865: 
                   6866:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
                   6867: $as_echo_n "checking for -single_module linker flag... " >&6; }
                   6868: if ${lt_cv_apple_cc_single_mod+:} false; then :
                   6869:   $as_echo_n "(cached) " >&6
                   6870: else
                   6871:   lt_cv_apple_cc_single_mod=no
                   6872:       if test -z "${LT_MULTI_MODULE}"; then
                   6873:        # By default we will add the -single_module flag. You can override
                   6874:        # by either setting the environment variable LT_MULTI_MODULE
                   6875:        # non-empty at configure time, or by adding -multi_module to the
                   6876:        # link flags.
                   6877:        rm -rf libconftest.dylib*
                   6878:        echo "int foo(void){return 1;}" > conftest.c
                   6879:        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   6880: -dynamiclib -Wl,-single_module conftest.c" >&5
                   6881:        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   6882:          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
                   6883:         _lt_result=$?
                   6884:        # If there is a non-empty error log, and "single_module"
                   6885:        # appears in it, assume the flag caused a linker warning
                   6886:         if test -s conftest.err && $GREP single_module conftest.err; then
                   6887:          cat conftest.err >&5
                   6888:        # Otherwise, if the output was created with a 0 exit code from
                   6889:        # the compiler, it worked.
                   6890:        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
                   6891:          lt_cv_apple_cc_single_mod=yes
                   6892:        else
                   6893:          cat conftest.err >&5
                   6894:        fi
                   6895:        rm -rf libconftest.dylib*
                   6896:        rm -f conftest.*
                   6897:       fi
                   6898: fi
                   6899: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
                   6900: $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
                   6901: 
                   6902:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
                   6903: $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
                   6904: if ${lt_cv_ld_exported_symbols_list+:} false; then :
                   6905:   $as_echo_n "(cached) " >&6
                   6906: else
                   6907:   lt_cv_ld_exported_symbols_list=no
                   6908:       save_LDFLAGS=$LDFLAGS
                   6909:       echo "_main" > conftest.sym
                   6910:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
                   6911:       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   6912: /* end confdefs.h.  */
                   6913: 
                   6914: int
                   6915: main ()
                   6916: {
                   6917: 
                   6918:   ;
                   6919:   return 0;
                   6920: }
                   6921: _ACEOF
                   6922: if ac_fn_c_try_link "$LINENO"; then :
                   6923:   lt_cv_ld_exported_symbols_list=yes
                   6924: else
                   6925:   lt_cv_ld_exported_symbols_list=no
                   6926: fi
                   6927: rm -f core conftest.err conftest.$ac_objext \
                   6928:     conftest$ac_exeext conftest.$ac_ext
                   6929:        LDFLAGS="$save_LDFLAGS"
                   6930: 
                   6931: fi
                   6932: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
                   6933: $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
                   6934: 
                   6935:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
                   6936: $as_echo_n "checking for -force_load linker flag... " >&6; }
                   6937: if ${lt_cv_ld_force_load+:} false; then :
                   6938:   $as_echo_n "(cached) " >&6
                   6939: else
                   6940:   lt_cv_ld_force_load=no
                   6941:       cat > conftest.c << _LT_EOF
                   6942: int forced_loaded() { return 2;}
                   6943: _LT_EOF
                   6944:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
                   6945:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
                   6946:       echo "$AR cru libconftest.a conftest.o" >&5
                   6947:       $AR cru libconftest.a conftest.o 2>&5
                   6948:       echo "$RANLIB libconftest.a" >&5
                   6949:       $RANLIB libconftest.a 2>&5
                   6950:       cat > conftest.c << _LT_EOF
                   6951: int main() { return 0;}
                   6952: _LT_EOF
                   6953:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
                   6954:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
                   6955:       _lt_result=$?
                   6956:       if test -s conftest.err && $GREP force_load conftest.err; then
                   6957:        cat conftest.err >&5
                   6958:       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
                   6959:        lt_cv_ld_force_load=yes
                   6960:       else
                   6961:        cat conftest.err >&5
                   6962:       fi
                   6963:         rm -f conftest.err libconftest.a conftest conftest.c
                   6964:         rm -rf conftest.dSYM
                   6965: 
                   6966: fi
                   6967: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
                   6968: $as_echo "$lt_cv_ld_force_load" >&6; }
                   6969:     case $host_os in
                   6970:     rhapsody* | darwin1.[012])
                   6971:       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
                   6972:     darwin1.*)
                   6973:       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   6974:     darwin*) # darwin 5.x on
                   6975:       # if running on 10.5 or later, the deployment target defaults
                   6976:       # to the OS version, if on x86, and 10.4, the deployment
                   6977:       # target defaults to 10.4. Don't you love it?
                   6978:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
                   6979:        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
                   6980:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   6981:        10.[012]*)
                   6982:          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   6983:        10.*)
                   6984:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   6985:       esac
                   6986:     ;;
                   6987:   esac
                   6988:     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
                   6989:       _lt_dar_single_mod='$single_module'
                   6990:     fi
                   6991:     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
                   6992:       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
                   6993:     else
                   6994:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
                   6995:     fi
                   6996:     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
                   6997:       _lt_dsymutil='~$DSYMUTIL $lib || :'
                   6998:     else
                   6999:       _lt_dsymutil=
                   7000:     fi
                   7001:     ;;
                   7002:   esac
                   7003: 
                   7004: ac_ext=c
                   7005: ac_cpp='$CPP $CPPFLAGS'
                   7006: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7007: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7008: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7009: { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
                   7010: $as_echo_n "checking how to run the C preprocessor... " >&6; }
                   7011: # On Suns, sometimes $CPP names a directory.
                   7012: if test -n "$CPP" && test -d "$CPP"; then
                   7013:   CPP=
                   7014: fi
                   7015: if test -z "$CPP"; then
                   7016:   if ${ac_cv_prog_CPP+:} false; then :
                   7017:   $as_echo_n "(cached) " >&6
                   7018: else
                   7019:       # Double quotes because CPP needs to be expanded
                   7020:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   7021:     do
                   7022:       ac_preproc_ok=false
                   7023: for ac_c_preproc_warn_flag in '' yes
                   7024: do
                   7025:   # Use a header file that comes with gcc, so configuring glibc
                   7026:   # with a fresh cross-compiler works.
                   7027:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   7028:   # <limits.h> exists even on freestanding compilers.
                   7029:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   7030:   # not just through cpp. "Syntax error" is here to catch this case.
                   7031:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7032: /* end confdefs.h.  */
                   7033: #ifdef __STDC__
                   7034: # include <limits.h>
                   7035: #else
                   7036: # include <assert.h>
                   7037: #endif
                   7038:                     Syntax error
                   7039: _ACEOF
                   7040: if ac_fn_c_try_cpp "$LINENO"; then :
                   7041: 
                   7042: else
                   7043:   # Broken: fails on valid input.
                   7044: continue
                   7045: fi
                   7046: rm -f conftest.err conftest.i conftest.$ac_ext
                   7047: 
                   7048:   # OK, works on sane cases.  Now check whether nonexistent headers
                   7049:   # can be detected and how.
                   7050:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7051: /* end confdefs.h.  */
                   7052: #include <ac_nonexistent.h>
                   7053: _ACEOF
                   7054: if ac_fn_c_try_cpp "$LINENO"; then :
                   7055:   # Broken: success on invalid input.
                   7056: continue
                   7057: else
                   7058:   # Passes both tests.
                   7059: ac_preproc_ok=:
                   7060: break
                   7061: fi
                   7062: rm -f conftest.err conftest.i conftest.$ac_ext
                   7063: 
                   7064: done
                   7065: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   7066: rm -f conftest.i conftest.err conftest.$ac_ext
                   7067: if $ac_preproc_ok; then :
                   7068:   break
                   7069: fi
                   7070: 
                   7071:     done
                   7072:     ac_cv_prog_CPP=$CPP
                   7073: 
                   7074: fi
                   7075:   CPP=$ac_cv_prog_CPP
                   7076: else
                   7077:   ac_cv_prog_CPP=$CPP
                   7078: fi
                   7079: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
                   7080: $as_echo "$CPP" >&6; }
                   7081: ac_preproc_ok=false
                   7082: for ac_c_preproc_warn_flag in '' yes
                   7083: do
                   7084:   # Use a header file that comes with gcc, so configuring glibc
                   7085:   # with a fresh cross-compiler works.
                   7086:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   7087:   # <limits.h> exists even on freestanding compilers.
                   7088:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   7089:   # not just through cpp. "Syntax error" is here to catch this case.
                   7090:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7091: /* end confdefs.h.  */
                   7092: #ifdef __STDC__
                   7093: # include <limits.h>
                   7094: #else
                   7095: # include <assert.h>
                   7096: #endif
                   7097:                     Syntax error
                   7098: _ACEOF
                   7099: if ac_fn_c_try_cpp "$LINENO"; then :
                   7100: 
                   7101: else
                   7102:   # Broken: fails on valid input.
                   7103: continue
                   7104: fi
                   7105: rm -f conftest.err conftest.i conftest.$ac_ext
                   7106: 
                   7107:   # OK, works on sane cases.  Now check whether nonexistent headers
                   7108:   # can be detected and how.
                   7109:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7110: /* end confdefs.h.  */
                   7111: #include <ac_nonexistent.h>
                   7112: _ACEOF
                   7113: if ac_fn_c_try_cpp "$LINENO"; then :
                   7114:   # Broken: success on invalid input.
                   7115: continue
                   7116: else
                   7117:   # Passes both tests.
                   7118: ac_preproc_ok=:
                   7119: break
                   7120: fi
                   7121: rm -f conftest.err conftest.i conftest.$ac_ext
                   7122: 
                   7123: done
                   7124: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   7125: rm -f conftest.i conftest.err conftest.$ac_ext
                   7126: if $ac_preproc_ok; then :
                   7127: 
                   7128: else
                   7129:   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
                   7130: $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
                   7131: as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
                   7132: See \`config.log' for more details" "$LINENO" 5; }
                   7133: fi
                   7134: 
                   7135: ac_ext=c
                   7136: ac_cpp='$CPP $CPPFLAGS'
                   7137: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7138: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7139: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7140: 
                   7141: 
                   7142: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
                   7143: $as_echo_n "checking for ANSI C header files... " >&6; }
                   7144: if ${ac_cv_header_stdc+:} false; then :
                   7145:   $as_echo_n "(cached) " >&6
                   7146: else
                   7147:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7148: /* end confdefs.h.  */
                   7149: #include <stdlib.h>
                   7150: #include <stdarg.h>
                   7151: #include <string.h>
                   7152: #include <float.h>
                   7153: 
                   7154: int
                   7155: main ()
                   7156: {
                   7157: 
                   7158:   ;
                   7159:   return 0;
                   7160: }
                   7161: _ACEOF
                   7162: if ac_fn_c_try_compile "$LINENO"; then :
                   7163:   ac_cv_header_stdc=yes
                   7164: else
                   7165:   ac_cv_header_stdc=no
                   7166: fi
                   7167: rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
                   7168: 
                   7169: if test $ac_cv_header_stdc = yes; then
                   7170:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   7171:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7172: /* end confdefs.h.  */
                   7173: #include <string.h>
                   7174: 
                   7175: _ACEOF
                   7176: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   7177:   $EGREP "memchr" >/dev/null 2>&1; then :
                   7178: 
                   7179: else
                   7180:   ac_cv_header_stdc=no
                   7181: fi
                   7182: rm -f conftest*
                   7183: 
                   7184: fi
                   7185: 
                   7186: if test $ac_cv_header_stdc = yes; then
                   7187:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   7188:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7189: /* end confdefs.h.  */
                   7190: #include <stdlib.h>
                   7191: 
                   7192: _ACEOF
                   7193: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   7194:   $EGREP "free" >/dev/null 2>&1; then :
                   7195: 
                   7196: else
                   7197:   ac_cv_header_stdc=no
                   7198: fi
                   7199: rm -f conftest*
                   7200: 
                   7201: fi
                   7202: 
                   7203: if test $ac_cv_header_stdc = yes; then
                   7204:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   7205:   if test "$cross_compiling" = yes; then :
                   7206:   :
                   7207: else
                   7208:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   7209: /* end confdefs.h.  */
                   7210: #include <ctype.h>
                   7211: #include <stdlib.h>
                   7212: #if ((' ' & 0x0FF) == 0x020)
                   7213: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   7214: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   7215: #else
                   7216: # define ISLOWER(c) \
                   7217:                   (('a' <= (c) && (c) <= 'i') \
                   7218:                     || ('j' <= (c) && (c) <= 'r') \
                   7219:                     || ('s' <= (c) && (c) <= 'z'))
                   7220: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   7221: #endif
                   7222: 
                   7223: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   7224: int
                   7225: main ()
                   7226: {
                   7227:   int i;
                   7228:   for (i = 0; i < 256; i++)
                   7229:     if (XOR (islower (i), ISLOWER (i))
                   7230:        || toupper (i) != TOUPPER (i))
                   7231:       return 2;
                   7232:   return 0;
                   7233: }
                   7234: _ACEOF
                   7235: if ac_fn_c_try_run "$LINENO"; then :
                   7236: 
                   7237: else
                   7238:   ac_cv_header_stdc=no
                   7239: fi
                   7240: rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
                   7241:   conftest.$ac_objext conftest.beam conftest.$ac_ext
                   7242: fi
                   7243: 
                   7244: fi
                   7245: fi
                   7246: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
                   7247: $as_echo "$ac_cv_header_stdc" >&6; }
                   7248: if test $ac_cv_header_stdc = yes; then
                   7249: 
                   7250: $as_echo "#define STDC_HEADERS 1" >>confdefs.h
                   7251: 
                   7252: fi
                   7253: 
                   7254: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
                   7255: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   7256:                  inttypes.h stdint.h unistd.h
                   7257: do :
                   7258:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   7259: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   7260: "
                   7261: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   7262:   cat >>confdefs.h <<_ACEOF
                   7263: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   7264: _ACEOF
                   7265: 
                   7266: fi
                   7267: 
                   7268: done
                   7269: 
                   7270: 
                   7271: for ac_header in dlfcn.h
                   7272: do :
                   7273:   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
                   7274: "
                   7275: if test "x$ac_cv_header_dlfcn_h" = xyes; then :
                   7276:   cat >>confdefs.h <<_ACEOF
                   7277: #define HAVE_DLFCN_H 1
                   7278: _ACEOF
                   7279: 
                   7280: fi
                   7281: 
                   7282: done
                   7283: 
                   7284: 
                   7285: 
                   7286: 
                   7287: 
                   7288: # Set options
                   7289: enable_dlopen=yes
                   7290: enable_win32_dll=yes
                   7291: 
                   7292: case $host in
                   7293: *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
                   7294:   if test -n "$ac_tool_prefix"; then
                   7295:   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
                   7296: set dummy ${ac_tool_prefix}as; ac_word=$2
                   7297: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7298: $as_echo_n "checking for $ac_word... " >&6; }
                   7299: if ${ac_cv_prog_AS+:} false; then :
                   7300:   $as_echo_n "(cached) " >&6
                   7301: else
                   7302:   if test -n "$AS"; then
                   7303:   ac_cv_prog_AS="$AS" # Let the user override the test.
                   7304: else
                   7305: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7306: for as_dir in $PATH
                   7307: do
                   7308:   IFS=$as_save_IFS
                   7309:   test -z "$as_dir" && as_dir=.
                   7310:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7311:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   7312:     ac_cv_prog_AS="${ac_tool_prefix}as"
                   7313:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7314:     break 2
                   7315:   fi
                   7316: done
                   7317:   done
                   7318: IFS=$as_save_IFS
                   7319: 
                   7320: fi
                   7321: fi
                   7322: AS=$ac_cv_prog_AS
                   7323: if test -n "$AS"; then
                   7324:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
                   7325: $as_echo "$AS" >&6; }
                   7326: else
                   7327:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7328: $as_echo "no" >&6; }
                   7329: fi
                   7330: 
                   7331: 
                   7332: fi
                   7333: if test -z "$ac_cv_prog_AS"; then
                   7334:   ac_ct_AS=$AS
                   7335:   # Extract the first word of "as", so it can be a program name with args.
                   7336: set dummy as; ac_word=$2
                   7337: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7338: $as_echo_n "checking for $ac_word... " >&6; }
                   7339: if ${ac_cv_prog_ac_ct_AS+:} false; then :
                   7340:   $as_echo_n "(cached) " >&6
                   7341: else
                   7342:   if test -n "$ac_ct_AS"; then
                   7343:   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
                   7344: else
                   7345: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7346: for as_dir in $PATH
                   7347: do
                   7348:   IFS=$as_save_IFS
                   7349:   test -z "$as_dir" && as_dir=.
                   7350:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7351:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   7352:     ac_cv_prog_ac_ct_AS="as"
                   7353:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7354:     break 2
                   7355:   fi
                   7356: done
                   7357:   done
                   7358: IFS=$as_save_IFS
                   7359: 
                   7360: fi
                   7361: fi
                   7362: ac_ct_AS=$ac_cv_prog_ac_ct_AS
                   7363: if test -n "$ac_ct_AS"; then
                   7364:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
                   7365: $as_echo "$ac_ct_AS" >&6; }
                   7366: else
                   7367:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7368: $as_echo "no" >&6; }
                   7369: fi
                   7370: 
                   7371:   if test "x$ac_ct_AS" = x; then
                   7372:     AS="false"
                   7373:   else
                   7374:     case $cross_compiling:$ac_tool_warned in
                   7375: yes:)
                   7376: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7377: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7378: ac_tool_warned=yes ;;
                   7379: esac
                   7380:     AS=$ac_ct_AS
                   7381:   fi
                   7382: else
                   7383:   AS="$ac_cv_prog_AS"
                   7384: fi
                   7385: 
                   7386:   if test -n "$ac_tool_prefix"; then
                   7387:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   7388: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
                   7389: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7390: $as_echo_n "checking for $ac_word... " >&6; }
                   7391: if ${ac_cv_prog_DLLTOOL+:} false; then :
                   7392:   $as_echo_n "(cached) " >&6
                   7393: else
                   7394:   if test -n "$DLLTOOL"; then
                   7395:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   7396: else
                   7397: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7398: for as_dir in $PATH
                   7399: do
                   7400:   IFS=$as_save_IFS
                   7401:   test -z "$as_dir" && as_dir=.
                   7402:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7403:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   7404:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
                   7405:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7406:     break 2
                   7407:   fi
                   7408: done
                   7409:   done
                   7410: IFS=$as_save_IFS
                   7411: 
                   7412: fi
                   7413: fi
                   7414: DLLTOOL=$ac_cv_prog_DLLTOOL
                   7415: if test -n "$DLLTOOL"; then
                   7416:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
                   7417: $as_echo "$DLLTOOL" >&6; }
                   7418: else
                   7419:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7420: $as_echo "no" >&6; }
                   7421: fi
                   7422: 
                   7423: 
                   7424: fi
                   7425: if test -z "$ac_cv_prog_DLLTOOL"; then
                   7426:   ac_ct_DLLTOOL=$DLLTOOL
                   7427:   # Extract the first word of "dlltool", so it can be a program name with args.
                   7428: set dummy dlltool; ac_word=$2
                   7429: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7430: $as_echo_n "checking for $ac_word... " >&6; }
                   7431: if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
                   7432:   $as_echo_n "(cached) " >&6
                   7433: else
                   7434:   if test -n "$ac_ct_DLLTOOL"; then
                   7435:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   7436: else
                   7437: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7438: for as_dir in $PATH
                   7439: do
                   7440:   IFS=$as_save_IFS
                   7441:   test -z "$as_dir" && as_dir=.
                   7442:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7443:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   7444:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
                   7445:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7446:     break 2
                   7447:   fi
                   7448: done
                   7449:   done
                   7450: IFS=$as_save_IFS
                   7451: 
                   7452: fi
                   7453: fi
                   7454: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   7455: if test -n "$ac_ct_DLLTOOL"; then
                   7456:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
                   7457: $as_echo "$ac_ct_DLLTOOL" >&6; }
                   7458: else
                   7459:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7460: $as_echo "no" >&6; }
                   7461: fi
                   7462: 
                   7463:   if test "x$ac_ct_DLLTOOL" = x; then
                   7464:     DLLTOOL="false"
                   7465:   else
                   7466:     case $cross_compiling:$ac_tool_warned in
                   7467: yes:)
                   7468: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7469: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7470: ac_tool_warned=yes ;;
                   7471: esac
                   7472:     DLLTOOL=$ac_ct_DLLTOOL
                   7473:   fi
                   7474: else
                   7475:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   7476: fi
                   7477: 
                   7478:   if test -n "$ac_tool_prefix"; then
                   7479:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   7480: set dummy ${ac_tool_prefix}objdump; ac_word=$2
                   7481: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7482: $as_echo_n "checking for $ac_word... " >&6; }
                   7483: if ${ac_cv_prog_OBJDUMP+:} false; then :
                   7484:   $as_echo_n "(cached) " >&6
                   7485: else
                   7486:   if test -n "$OBJDUMP"; then
                   7487:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   7488: else
                   7489: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7490: for as_dir in $PATH
                   7491: do
                   7492:   IFS=$as_save_IFS
                   7493:   test -z "$as_dir" && as_dir=.
                   7494:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7495:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   7496:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
                   7497:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7498:     break 2
                   7499:   fi
                   7500: done
                   7501:   done
                   7502: IFS=$as_save_IFS
                   7503: 
                   7504: fi
                   7505: fi
                   7506: OBJDUMP=$ac_cv_prog_OBJDUMP
                   7507: if test -n "$OBJDUMP"; then
                   7508:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
                   7509: $as_echo "$OBJDUMP" >&6; }
                   7510: else
                   7511:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7512: $as_echo "no" >&6; }
                   7513: fi
                   7514: 
                   7515: 
                   7516: fi
                   7517: if test -z "$ac_cv_prog_OBJDUMP"; then
                   7518:   ac_ct_OBJDUMP=$OBJDUMP
                   7519:   # Extract the first word of "objdump", so it can be a program name with args.
                   7520: set dummy objdump; ac_word=$2
                   7521: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
                   7522: $as_echo_n "checking for $ac_word... " >&6; }
                   7523: if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
                   7524:   $as_echo_n "(cached) " >&6
                   7525: else
                   7526:   if test -n "$ac_ct_OBJDUMP"; then
                   7527:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   7528: else
                   7529: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7530: for as_dir in $PATH
                   7531: do
                   7532:   IFS=$as_save_IFS
                   7533:   test -z "$as_dir" && as_dir=.
                   7534:     for ac_exec_ext in '' $ac_executable_extensions; do
                   7535:   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
                   7536:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
                   7537:     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7538:     break 2
                   7539:   fi
                   7540: done
                   7541:   done
                   7542: IFS=$as_save_IFS
                   7543: 
                   7544: fi
                   7545: fi
                   7546: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   7547: if test -n "$ac_ct_OBJDUMP"; then
                   7548:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
                   7549: $as_echo "$ac_ct_OBJDUMP" >&6; }
                   7550: else
                   7551:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7552: $as_echo "no" >&6; }
                   7553: fi
                   7554: 
                   7555:   if test "x$ac_ct_OBJDUMP" = x; then
                   7556:     OBJDUMP="false"
                   7557:   else
                   7558:     case $cross_compiling:$ac_tool_warned in
                   7559: yes:)
                   7560: { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
                   7561: $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
                   7562: ac_tool_warned=yes ;;
                   7563: esac
                   7564:     OBJDUMP=$ac_ct_OBJDUMP
                   7565:   fi
                   7566: else
                   7567:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   7568: fi
                   7569: 
                   7570:   ;;
                   7571: esac
                   7572: 
                   7573: test -z "$AS" && AS=as
                   7574: 
                   7575: 
                   7576: 
                   7577: 
                   7578: 
                   7579: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   7580: 
                   7581: 
                   7582: 
                   7583: 
                   7584: 
                   7585: test -z "$OBJDUMP" && OBJDUMP=objdump
                   7586: 
                   7587: 
                   7588: 
                   7589: 
                   7590: 
                   7591: 
                   7592: 
                   7593: 
                   7594: 
                   7595:             # Check whether --enable-shared was given.
                   7596: if test "${enable_shared+set}" = set; then :
                   7597:   enableval=$enable_shared; p=${PACKAGE-default}
                   7598:     case $enableval in
                   7599:     yes) enable_shared=yes ;;
                   7600:     no) enable_shared=no ;;
                   7601:     *)
                   7602:       enable_shared=no
                   7603:       # Look at the argument we got.  We use all the common list separators.
                   7604:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   7605:       for pkg in $enableval; do
                   7606:        IFS="$lt_save_ifs"
                   7607:        if test "X$pkg" = "X$p"; then
                   7608:          enable_shared=yes
                   7609:        fi
                   7610:       done
                   7611:       IFS="$lt_save_ifs"
                   7612:       ;;
                   7613:     esac
                   7614: else
                   7615:   enable_shared=yes
                   7616: fi
                   7617: 
                   7618: 
                   7619: 
                   7620: 
                   7621: 
                   7622: 
                   7623: 
                   7624: 
                   7625: 
                   7626:   # Check whether --enable-static was given.
                   7627: if test "${enable_static+set}" = set; then :
                   7628:   enableval=$enable_static; p=${PACKAGE-default}
                   7629:     case $enableval in
                   7630:     yes) enable_static=yes ;;
                   7631:     no) enable_static=no ;;
                   7632:     *)
                   7633:      enable_static=no
                   7634:       # Look at the argument we got.  We use all the common list separators.
                   7635:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   7636:       for pkg in $enableval; do
                   7637:        IFS="$lt_save_ifs"
                   7638:        if test "X$pkg" = "X$p"; then
                   7639:          enable_static=yes
                   7640:        fi
                   7641:       done
                   7642:       IFS="$lt_save_ifs"
                   7643:       ;;
                   7644:     esac
                   7645: else
                   7646:   enable_static=yes
                   7647: fi
                   7648: 
                   7649: 
                   7650: 
                   7651: 
                   7652: 
                   7653: 
                   7654: 
                   7655: 
                   7656: 
                   7657: 
                   7658: # Check whether --with-pic was given.
                   7659: if test "${with_pic+set}" = set; then :
                   7660:   withval=$with_pic; lt_p=${PACKAGE-default}
                   7661:     case $withval in
                   7662:     yes|no) pic_mode=$withval ;;
                   7663:     *)
                   7664:       pic_mode=default
                   7665:       # Look at the argument we got.  We use all the common list separators.
                   7666:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   7667:       for lt_pkg in $withval; do
                   7668:        IFS="$lt_save_ifs"
                   7669:        if test "X$lt_pkg" = "X$lt_p"; then
                   7670:          pic_mode=yes
                   7671:        fi
                   7672:       done
                   7673:       IFS="$lt_save_ifs"
                   7674:       ;;
                   7675:     esac
                   7676: else
                   7677:   pic_mode=default
                   7678: fi
                   7679: 
                   7680: 
                   7681: test -z "$pic_mode" && pic_mode=default
                   7682: 
                   7683: 
                   7684: 
                   7685: 
                   7686: 
                   7687: 
                   7688: 
                   7689:   # Check whether --enable-fast-install was given.
                   7690: if test "${enable_fast_install+set}" = set; then :
                   7691:   enableval=$enable_fast_install; p=${PACKAGE-default}
                   7692:     case $enableval in
                   7693:     yes) enable_fast_install=yes ;;
                   7694:     no) enable_fast_install=no ;;
                   7695:     *)
                   7696:       enable_fast_install=no
                   7697:       # Look at the argument we got.  We use all the common list separators.
                   7698:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   7699:       for pkg in $enableval; do
                   7700:        IFS="$lt_save_ifs"
                   7701:        if test "X$pkg" = "X$p"; then
                   7702:          enable_fast_install=yes
                   7703:        fi
                   7704:       done
                   7705:       IFS="$lt_save_ifs"
                   7706:       ;;
                   7707:     esac
                   7708: else
                   7709:   enable_fast_install=yes
                   7710: fi
                   7711: 
                   7712: 
                   7713: 
                   7714: 
                   7715: 
                   7716: 
                   7717: 
                   7718: 
                   7719: 
                   7720: 
                   7721: 
                   7722: # This can be used to rebuild libtool when needed
                   7723: LIBTOOL_DEPS="$ltmain"
                   7724: 
                   7725: # Always use our own libtool.
                   7726: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
                   7727: 
                   7728: 
                   7729: 
                   7730: 
                   7731: 
                   7732: 
                   7733: 
                   7734: 
                   7735: 
                   7736: 
                   7737: 
                   7738: 
                   7739: 
                   7740: 
                   7741: 
                   7742: 
                   7743: 
                   7744: 
                   7745: 
                   7746: 
                   7747: 
                   7748: 
                   7749: 
                   7750: 
                   7751: 
                   7752: 
                   7753: 
                   7754: 
                   7755: 
                   7756: 
                   7757: test -z "$LN_S" && LN_S="ln -s"
                   7758: 
                   7759: 
                   7760: 
                   7761: 
                   7762: 
                   7763: 
                   7764: 
                   7765: 
                   7766: 
                   7767: 
                   7768: 
                   7769: 
                   7770: 
                   7771: 
                   7772: if test -n "${ZSH_VERSION+set}" ; then
                   7773:    setopt NO_GLOB_SUBST
                   7774: fi
                   7775: 
                   7776: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
                   7777: $as_echo_n "checking for objdir... " >&6; }
                   7778: if ${lt_cv_objdir+:} false; then :
                   7779:   $as_echo_n "(cached) " >&6
                   7780: else
                   7781:   rm -f .libs 2>/dev/null
                   7782: mkdir .libs 2>/dev/null
                   7783: if test -d .libs; then
                   7784:   lt_cv_objdir=.libs
                   7785: else
                   7786:   # MS-DOS does not allow filenames that begin with a dot.
                   7787:   lt_cv_objdir=_libs
                   7788: fi
                   7789: rmdir .libs 2>/dev/null
                   7790: fi
                   7791: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
                   7792: $as_echo "$lt_cv_objdir" >&6; }
                   7793: objdir=$lt_cv_objdir
                   7794: 
                   7795: 
                   7796: 
                   7797: 
                   7798: 
                   7799: cat >>confdefs.h <<_ACEOF
                   7800: #define LT_OBJDIR "$lt_cv_objdir/"
                   7801: _ACEOF
                   7802: 
                   7803: 
                   7804: 
                   7805: 
                   7806: case $host_os in
                   7807: aix3*)
                   7808:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   7809:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   7810:   # vanish in a puff of smoke.
                   7811:   if test "X${COLLECT_NAMES+set}" != Xset; then
                   7812:     COLLECT_NAMES=
                   7813:     export COLLECT_NAMES
                   7814:   fi
                   7815:   ;;
                   7816: esac
                   7817: 
                   7818: # Global variables:
                   7819: ofile=libtool
                   7820: can_build_shared=yes
                   7821: 
                   7822: # All known linkers require a `.a' archive for static linking (except MSVC,
                   7823: # which needs '.lib').
                   7824: libext=a
                   7825: 
                   7826: with_gnu_ld="$lt_cv_prog_gnu_ld"
                   7827: 
                   7828: old_CC="$CC"
                   7829: old_CFLAGS="$CFLAGS"
                   7830: 
                   7831: # Set sane defaults for various variables
                   7832: test -z "$CC" && CC=cc
                   7833: test -z "$LTCC" && LTCC=$CC
                   7834: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
                   7835: test -z "$LD" && LD=ld
                   7836: test -z "$ac_objext" && ac_objext=o
                   7837: 
                   7838: for cc_temp in $compiler""; do
                   7839:   case $cc_temp in
                   7840:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   7841:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   7842:     \-*) ;;
                   7843:     *) break;;
                   7844:   esac
                   7845: done
                   7846: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   7847: 
                   7848: 
                   7849: # Only perform the check for file, if the check method requires it
                   7850: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   7851: case $deplibs_check_method in
                   7852: file_magic*)
                   7853:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
                   7854:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
                   7855: $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
                   7856: if ${lt_cv_path_MAGIC_CMD+:} false; then :
                   7857:   $as_echo_n "(cached) " >&6
                   7858: else
                   7859:   case $MAGIC_CMD in
                   7860: [\\/*] |  ?:[\\/]*)
                   7861:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   7862:   ;;
                   7863: *)
                   7864:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   7865:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   7866:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   7867:   for ac_dir in $ac_dummy; do
                   7868:     IFS="$lt_save_ifs"
                   7869:     test -z "$ac_dir" && ac_dir=.
                   7870:     if test -f $ac_dir/${ac_tool_prefix}file; then
                   7871:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
                   7872:       if test -n "$file_magic_test_file"; then
                   7873:        case $deplibs_check_method in
                   7874:        "file_magic "*)
                   7875:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   7876:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   7877:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   7878:            $EGREP "$file_magic_regex" > /dev/null; then
                   7879:            :
                   7880:          else
                   7881:            cat <<_LT_EOF 1>&2
                   7882: 
                   7883: *** Warning: the command libtool uses to detect shared libraries,
                   7884: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   7885: *** The result is that libtool may fail to recognize shared libraries
                   7886: *** as such.  This will affect the creation of libtool libraries that
                   7887: *** depend on shared libraries, but programs linked with such libtool
                   7888: *** libraries will work regardless of this problem.  Nevertheless, you
                   7889: *** may want to report the problem to your system manager and/or to
                   7890: *** bug-libtool@gnu.org
                   7891: 
                   7892: _LT_EOF
                   7893:          fi ;;
                   7894:        esac
                   7895:       fi
                   7896:       break
                   7897:     fi
                   7898:   done
                   7899:   IFS="$lt_save_ifs"
                   7900:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   7901:   ;;
                   7902: esac
                   7903: fi
                   7904: 
                   7905: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   7906: if test -n "$MAGIC_CMD"; then
                   7907:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   7908: $as_echo "$MAGIC_CMD" >&6; }
                   7909: else
                   7910:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7911: $as_echo "no" >&6; }
                   7912: fi
                   7913: 
                   7914: 
                   7915: 
                   7916: 
                   7917: 
                   7918: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   7919:   if test -n "$ac_tool_prefix"; then
                   7920:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
                   7921: $as_echo_n "checking for file... " >&6; }
                   7922: if ${lt_cv_path_MAGIC_CMD+:} false; then :
                   7923:   $as_echo_n "(cached) " >&6
                   7924: else
                   7925:   case $MAGIC_CMD in
                   7926: [\\/*] |  ?:[\\/]*)
                   7927:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   7928:   ;;
                   7929: *)
                   7930:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   7931:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   7932:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   7933:   for ac_dir in $ac_dummy; do
                   7934:     IFS="$lt_save_ifs"
                   7935:     test -z "$ac_dir" && ac_dir=.
                   7936:     if test -f $ac_dir/file; then
                   7937:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
                   7938:       if test -n "$file_magic_test_file"; then
                   7939:        case $deplibs_check_method in
                   7940:        "file_magic "*)
                   7941:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   7942:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   7943:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   7944:            $EGREP "$file_magic_regex" > /dev/null; then
                   7945:            :
                   7946:          else
                   7947:            cat <<_LT_EOF 1>&2
                   7948: 
                   7949: *** Warning: the command libtool uses to detect shared libraries,
                   7950: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   7951: *** The result is that libtool may fail to recognize shared libraries
                   7952: *** as such.  This will affect the creation of libtool libraries that
                   7953: *** depend on shared libraries, but programs linked with such libtool
                   7954: *** libraries will work regardless of this problem.  Nevertheless, you
                   7955: *** may want to report the problem to your system manager and/or to
                   7956: *** bug-libtool@gnu.org
                   7957: 
                   7958: _LT_EOF
                   7959:          fi ;;
                   7960:        esac
                   7961:       fi
                   7962:       break
                   7963:     fi
                   7964:   done
                   7965:   IFS="$lt_save_ifs"
                   7966:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   7967:   ;;
                   7968: esac
                   7969: fi
                   7970: 
                   7971: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   7972: if test -n "$MAGIC_CMD"; then
                   7973:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
                   7974: $as_echo "$MAGIC_CMD" >&6; }
                   7975: else
                   7976:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   7977: $as_echo "no" >&6; }
                   7978: fi
                   7979: 
                   7980: 
                   7981:   else
                   7982:     MAGIC_CMD=:
                   7983:   fi
                   7984: fi
                   7985: 
                   7986:   fi
                   7987:   ;;
                   7988: esac
                   7989: 
                   7990: # Use C for the default configuration in the libtool script
                   7991: 
                   7992: lt_save_CC="$CC"
                   7993: ac_ext=c
                   7994: ac_cpp='$CPP $CPPFLAGS'
                   7995: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7996: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7997: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   7998: 
                   7999: 
                   8000: # Source file extension for C test sources.
                   8001: ac_ext=c
                   8002: 
                   8003: # Object file extension for compiled C test sources.
                   8004: objext=o
                   8005: objext=$objext
                   8006: 
                   8007: # Code to be used in simple compile tests
                   8008: lt_simple_compile_test_code="int some_variable = 0;"
                   8009: 
                   8010: # Code to be used in simple link tests
                   8011: lt_simple_link_test_code='int main(){return(0);}'
                   8012: 
                   8013: 
                   8014: 
                   8015: 
                   8016: 
                   8017: 
                   8018: 
                   8019: # If no C compiler was specified, use CC.
                   8020: LTCC=${LTCC-"$CC"}
                   8021: 
                   8022: # If no C compiler flags were specified, use CFLAGS.
                   8023: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   8024: 
                   8025: # Allow CC to be a program name with arguments.
                   8026: compiler=$CC
                   8027: 
                   8028: # Save the default compiler, since it gets overwritten when the other
                   8029: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
                   8030: compiler_DEFAULT=$CC
                   8031: 
                   8032: # save warnings/boilerplate of simple test code
                   8033: ac_outfile=conftest.$ac_objext
                   8034: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   8035: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   8036: _lt_compiler_boilerplate=`cat conftest.err`
                   8037: $RM conftest*
                   8038: 
                   8039: ac_outfile=conftest.$ac_objext
                   8040: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   8041: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   8042: _lt_linker_boilerplate=`cat conftest.err`
                   8043: $RM -r conftest*
                   8044: 
                   8045: 
                   8046: ## CAVEAT EMPTOR:
                   8047: ## There is no encapsulation within the following macros, do not change
                   8048: ## the running order or otherwise move them around unless you know exactly
                   8049: ## what you are doing...
                   8050: if test -n "$compiler"; then
                   8051: 
                   8052: lt_prog_compiler_no_builtin_flag=
                   8053: 
                   8054: if test "$GCC" = yes; then
                   8055:   case $cc_basename in
                   8056:   nvcc*)
                   8057:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
                   8058:   *)
                   8059:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
                   8060:   esac
                   8061: 
                   8062:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
                   8063: $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
                   8064: if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
                   8065:   $as_echo_n "(cached) " >&6
                   8066: else
                   8067:   lt_cv_prog_compiler_rtti_exceptions=no
                   8068:    ac_outfile=conftest.$ac_objext
                   8069:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8070:    lt_compiler_flag="-fno-rtti -fno-exceptions"
                   8071:    # Insert the option either (1) after the last *FLAGS variable, or
                   8072:    # (2) before a word containing "conftest.", or (3) at the end.
                   8073:    # Note that $ac_compile itself does not contain backslashes and begins
                   8074:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8075:    # The option is referenced via a variable to avoid confusing sed.
                   8076:    lt_compile=`echo "$ac_compile" | $SED \
                   8077:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8078:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8079:    -e 's:$: $lt_compiler_flag:'`
                   8080:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8081:    (eval "$lt_compile" 2>conftest.err)
                   8082:    ac_status=$?
                   8083:    cat conftest.err >&5
                   8084:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8085:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   8086:      # The compiler can only warn and ignore the option if not recognized
                   8087:      # So say no if there are warnings other than the usual output.
                   8088:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   8089:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8090:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   8091:        lt_cv_prog_compiler_rtti_exceptions=yes
                   8092:      fi
                   8093:    fi
                   8094:    $RM conftest*
                   8095: 
                   8096: fi
                   8097: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
                   8098: $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
                   8099: 
                   8100: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
                   8101:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
                   8102: else
                   8103:     :
                   8104: fi
                   8105: 
                   8106: fi
                   8107: 
                   8108: 
                   8109: 
                   8110: 
                   8111: 
                   8112: 
                   8113:   lt_prog_compiler_wl=
                   8114: lt_prog_compiler_pic=
                   8115: lt_prog_compiler_static=
                   8116: 
                   8117: 
                   8118:   if test "$GCC" = yes; then
                   8119:     lt_prog_compiler_wl='-Wl,'
                   8120:     lt_prog_compiler_static='-static'
                   8121: 
                   8122:     case $host_os in
                   8123:       aix*)
                   8124:       # All AIX code is PIC.
                   8125:       if test "$host_cpu" = ia64; then
                   8126:        # AIX 5 now supports IA64 processor
                   8127:        lt_prog_compiler_static='-Bstatic'
                   8128:       fi
                   8129:       ;;
                   8130: 
                   8131:     amigaos*)
                   8132:       case $host_cpu in
                   8133:       powerpc)
                   8134:             # see comment about AmigaOS4 .so support
                   8135:             lt_prog_compiler_pic='-fPIC'
                   8136:         ;;
                   8137:       m68k)
                   8138:             # FIXME: we need at least 68020 code to build shared libraries, but
                   8139:             # adding the `-m68020' flag to GCC prevents building anything better,
                   8140:             # like `-m68040'.
                   8141:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
                   8142:         ;;
                   8143:       esac
                   8144:       ;;
                   8145: 
                   8146:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   8147:       # PIC is the default for these OSes.
                   8148:       ;;
                   8149: 
                   8150:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   8151:       # This hack is so that the source file can tell whether it is being
                   8152:       # built for inclusion in a dll (and should export symbols for example).
                   8153:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   8154:       # (--disable-auto-import) libraries
                   8155:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   8156:       ;;
                   8157: 
                   8158:     darwin* | rhapsody*)
                   8159:       # PIC is the default on this platform
                   8160:       # Common symbols not allowed in MH_DYLIB files
                   8161:       lt_prog_compiler_pic='-fno-common'
                   8162:       ;;
                   8163: 
                   8164:     haiku*)
                   8165:       # PIC is the default for Haiku.
                   8166:       # The "-static" flag exists, but is broken.
                   8167:       lt_prog_compiler_static=
                   8168:       ;;
                   8169: 
                   8170:     hpux*)
                   8171:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   8172:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   8173:       # sets the default TLS model and affects inlining.
                   8174:       case $host_cpu in
                   8175:       hppa*64*)
                   8176:        # +Z the default
                   8177:        ;;
                   8178:       *)
                   8179:        lt_prog_compiler_pic='-fPIC'
                   8180:        ;;
                   8181:       esac
                   8182:       ;;
                   8183: 
                   8184:     interix[3-9]*)
                   8185:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   8186:       # Instead, we relocate shared libraries at runtime.
                   8187:       ;;
                   8188: 
                   8189:     msdosdjgpp*)
                   8190:       # Just because we use GCC doesn't mean we suddenly get shared libraries
                   8191:       # on systems that don't support them.
                   8192:       lt_prog_compiler_can_build_shared=no
                   8193:       enable_shared=no
                   8194:       ;;
                   8195: 
                   8196:     *nto* | *qnx*)
                   8197:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   8198:       # it will coredump.
                   8199:       lt_prog_compiler_pic='-fPIC -shared'
                   8200:       ;;
                   8201: 
                   8202:     sysv4*MP*)
                   8203:       if test -d /usr/nec; then
                   8204:        lt_prog_compiler_pic=-Kconform_pic
                   8205:       fi
                   8206:       ;;
                   8207: 
                   8208:     *)
                   8209:       lt_prog_compiler_pic='-fPIC'
                   8210:       ;;
                   8211:     esac
                   8212: 
                   8213:     case $cc_basename in
                   8214:     nvcc*) # Cuda Compiler Driver 2.2
                   8215:       lt_prog_compiler_wl='-Xlinker '
                   8216:       if test -n "$lt_prog_compiler_pic"; then
                   8217:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
                   8218:       fi
                   8219:       ;;
                   8220:     esac
                   8221:   else
                   8222:     # PORTME Check for flag to pass linker flags through the system compiler.
                   8223:     case $host_os in
                   8224:     aix*)
                   8225:       lt_prog_compiler_wl='-Wl,'
                   8226:       if test "$host_cpu" = ia64; then
                   8227:        # AIX 5 now supports IA64 processor
                   8228:        lt_prog_compiler_static='-Bstatic'
                   8229:       else
                   8230:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
                   8231:       fi
                   8232:       ;;
                   8233: 
                   8234:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   8235:       # This hack is so that the source file can tell whether it is being
                   8236:       # built for inclusion in a dll (and should export symbols for example).
                   8237:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   8238:       ;;
                   8239: 
                   8240:     hpux9* | hpux10* | hpux11*)
                   8241:       lt_prog_compiler_wl='-Wl,'
                   8242:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
                   8243:       # not for PA HP-UX.
                   8244:       case $host_cpu in
                   8245:       hppa*64*|ia64*)
                   8246:        # +Z the default
                   8247:        ;;
                   8248:       *)
                   8249:        lt_prog_compiler_pic='+Z'
                   8250:        ;;
                   8251:       esac
                   8252:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
                   8253:       lt_prog_compiler_static='${wl}-a ${wl}archive'
                   8254:       ;;
                   8255: 
                   8256:     irix5* | irix6* | nonstopux*)
                   8257:       lt_prog_compiler_wl='-Wl,'
                   8258:       # PIC (with -KPIC) is the default.
                   8259:       lt_prog_compiler_static='-non_shared'
                   8260:       ;;
                   8261: 
                   8262:     linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   8263:       case $cc_basename in
                   8264:       # old Intel for x86_64 which still supported -KPIC.
                   8265:       ecc*)
                   8266:        lt_prog_compiler_wl='-Wl,'
                   8267:        lt_prog_compiler_pic='-KPIC'
                   8268:        lt_prog_compiler_static='-static'
                   8269:         ;;
                   8270:       # icc used to be incompatible with GCC.
                   8271:       # ICC 10 doesn't accept -KPIC any more.
                   8272:       icc* | ifort*)
                   8273:        lt_prog_compiler_wl='-Wl,'
                   8274:        lt_prog_compiler_pic='-fPIC'
                   8275:        lt_prog_compiler_static='-static'
                   8276:         ;;
                   8277:       # Lahey Fortran 8.1.
                   8278:       lf95*)
                   8279:        lt_prog_compiler_wl='-Wl,'
                   8280:        lt_prog_compiler_pic='--shared'
                   8281:        lt_prog_compiler_static='--static'
                   8282:        ;;
                   8283:       nagfor*)
                   8284:        # NAG Fortran compiler
                   8285:        lt_prog_compiler_wl='-Wl,-Wl,,'
                   8286:        lt_prog_compiler_pic='-PIC'
                   8287:        lt_prog_compiler_static='-Bstatic'
                   8288:        ;;
                   8289:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
                   8290:         # Portland Group compilers (*not* the Pentium gcc compiler,
                   8291:        # which looks to be a dead project)
                   8292:        lt_prog_compiler_wl='-Wl,'
                   8293:        lt_prog_compiler_pic='-fpic'
                   8294:        lt_prog_compiler_static='-Bstatic'
                   8295:         ;;
                   8296:       ccc*)
                   8297:         lt_prog_compiler_wl='-Wl,'
                   8298:         # All Alpha code is PIC.
                   8299:         lt_prog_compiler_static='-non_shared'
                   8300:         ;;
                   8301:       xl* | bgxl* | bgf* | mpixl*)
                   8302:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
                   8303:        lt_prog_compiler_wl='-Wl,'
                   8304:        lt_prog_compiler_pic='-qpic'
                   8305:        lt_prog_compiler_static='-qstaticlink'
                   8306:        ;;
                   8307:       *)
                   8308:        case `$CC -V 2>&1 | sed 5q` in
                   8309:        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
                   8310:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
                   8311:          lt_prog_compiler_pic='-KPIC'
                   8312:          lt_prog_compiler_static='-Bstatic'
                   8313:          lt_prog_compiler_wl=''
                   8314:          ;;
                   8315:        *Sun\ F* | *Sun*Fortran*)
                   8316:          lt_prog_compiler_pic='-KPIC'
                   8317:          lt_prog_compiler_static='-Bstatic'
                   8318:          lt_prog_compiler_wl='-Qoption ld '
                   8319:          ;;
                   8320:        *Sun\ C*)
                   8321:          # Sun C 5.9
                   8322:          lt_prog_compiler_pic='-KPIC'
                   8323:          lt_prog_compiler_static='-Bstatic'
                   8324:          lt_prog_compiler_wl='-Wl,'
                   8325:          ;;
                   8326:         *Intel*\ [CF]*Compiler*)
                   8327:          lt_prog_compiler_wl='-Wl,'
                   8328:          lt_prog_compiler_pic='-fPIC'
                   8329:          lt_prog_compiler_static='-static'
                   8330:          ;;
                   8331:        *Portland\ Group*)
                   8332:          lt_prog_compiler_wl='-Wl,'
                   8333:          lt_prog_compiler_pic='-fpic'
                   8334:          lt_prog_compiler_static='-Bstatic'
                   8335:          ;;
                   8336:        esac
                   8337:        ;;
                   8338:       esac
                   8339:       ;;
                   8340: 
                   8341:     newsos6)
                   8342:       lt_prog_compiler_pic='-KPIC'
                   8343:       lt_prog_compiler_static='-Bstatic'
                   8344:       ;;
                   8345: 
                   8346:     *nto* | *qnx*)
                   8347:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   8348:       # it will coredump.
                   8349:       lt_prog_compiler_pic='-fPIC -shared'
                   8350:       ;;
                   8351: 
                   8352:     osf3* | osf4* | osf5*)
                   8353:       lt_prog_compiler_wl='-Wl,'
                   8354:       # All OSF/1 code is PIC.
                   8355:       lt_prog_compiler_static='-non_shared'
                   8356:       ;;
                   8357: 
                   8358:     rdos*)
                   8359:       lt_prog_compiler_static='-non_shared'
                   8360:       ;;
                   8361: 
                   8362:     solaris*)
                   8363:       lt_prog_compiler_pic='-KPIC'
                   8364:       lt_prog_compiler_static='-Bstatic'
                   8365:       case $cc_basename in
                   8366:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
                   8367:        lt_prog_compiler_wl='-Qoption ld ';;
                   8368:       *)
                   8369:        lt_prog_compiler_wl='-Wl,';;
                   8370:       esac
                   8371:       ;;
                   8372: 
                   8373:     sunos4*)
                   8374:       lt_prog_compiler_wl='-Qoption ld '
                   8375:       lt_prog_compiler_pic='-PIC'
                   8376:       lt_prog_compiler_static='-Bstatic'
                   8377:       ;;
                   8378: 
                   8379:     sysv4 | sysv4.2uw2* | sysv4.3*)
                   8380:       lt_prog_compiler_wl='-Wl,'
                   8381:       lt_prog_compiler_pic='-KPIC'
                   8382:       lt_prog_compiler_static='-Bstatic'
                   8383:       ;;
                   8384: 
                   8385:     sysv4*MP*)
                   8386:       if test -d /usr/nec ;then
                   8387:        lt_prog_compiler_pic='-Kconform_pic'
                   8388:        lt_prog_compiler_static='-Bstatic'
                   8389:       fi
                   8390:       ;;
                   8391: 
                   8392:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   8393:       lt_prog_compiler_wl='-Wl,'
                   8394:       lt_prog_compiler_pic='-KPIC'
                   8395:       lt_prog_compiler_static='-Bstatic'
                   8396:       ;;
                   8397: 
                   8398:     unicos*)
                   8399:       lt_prog_compiler_wl='-Wl,'
                   8400:       lt_prog_compiler_can_build_shared=no
                   8401:       ;;
                   8402: 
                   8403:     uts4*)
                   8404:       lt_prog_compiler_pic='-pic'
                   8405:       lt_prog_compiler_static='-Bstatic'
                   8406:       ;;
                   8407: 
                   8408:     *)
                   8409:       lt_prog_compiler_can_build_shared=no
                   8410:       ;;
                   8411:     esac
                   8412:   fi
                   8413: 
                   8414: case $host_os in
                   8415:   # For platforms which do not support PIC, -DPIC is meaningless:
                   8416:   *djgpp*)
                   8417:     lt_prog_compiler_pic=
                   8418:     ;;
                   8419:   *)
                   8420:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
                   8421:     ;;
                   8422: esac
                   8423: 
                   8424: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
                   8425: $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
                   8426: if ${lt_cv_prog_compiler_pic+:} false; then :
                   8427:   $as_echo_n "(cached) " >&6
                   8428: else
                   8429:   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
                   8430: fi
                   8431: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
                   8432: $as_echo "$lt_cv_prog_compiler_pic" >&6; }
                   8433: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
                   8434: 
                   8435: #
                   8436: # Check to make sure the PIC flag actually works.
                   8437: #
                   8438: if test -n "$lt_prog_compiler_pic"; then
                   8439:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
                   8440: $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
                   8441: if ${lt_cv_prog_compiler_pic_works+:} false; then :
                   8442:   $as_echo_n "(cached) " >&6
                   8443: else
                   8444:   lt_cv_prog_compiler_pic_works=no
                   8445:    ac_outfile=conftest.$ac_objext
                   8446:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8447:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
                   8448:    # Insert the option either (1) after the last *FLAGS variable, or
                   8449:    # (2) before a word containing "conftest.", or (3) at the end.
                   8450:    # Note that $ac_compile itself does not contain backslashes and begins
                   8451:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8452:    # The option is referenced via a variable to avoid confusing sed.
                   8453:    lt_compile=`echo "$ac_compile" | $SED \
                   8454:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8455:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8456:    -e 's:$: $lt_compiler_flag:'`
                   8457:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8458:    (eval "$lt_compile" 2>conftest.err)
                   8459:    ac_status=$?
                   8460:    cat conftest.err >&5
                   8461:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8462:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   8463:      # The compiler can only warn and ignore the option if not recognized
                   8464:      # So say no if there are warnings other than the usual output.
                   8465:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   8466:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8467:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   8468:        lt_cv_prog_compiler_pic_works=yes
                   8469:      fi
                   8470:    fi
                   8471:    $RM conftest*
                   8472: 
                   8473: fi
                   8474: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
                   8475: $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
                   8476: 
                   8477: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
                   8478:     case $lt_prog_compiler_pic in
                   8479:      "" | " "*) ;;
                   8480:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
                   8481:      esac
                   8482: else
                   8483:     lt_prog_compiler_pic=
                   8484:      lt_prog_compiler_can_build_shared=no
                   8485: fi
                   8486: 
                   8487: fi
                   8488: 
                   8489: 
                   8490: 
                   8491: 
                   8492: 
                   8493: 
                   8494: 
                   8495: 
                   8496: 
                   8497: 
                   8498: 
                   8499: #
                   8500: # Check to make sure the static flag actually works.
                   8501: #
                   8502: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
                   8503: { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   8504: $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
                   8505: if ${lt_cv_prog_compiler_static_works+:} false; then :
                   8506:   $as_echo_n "(cached) " >&6
                   8507: else
                   8508:   lt_cv_prog_compiler_static_works=no
                   8509:    save_LDFLAGS="$LDFLAGS"
                   8510:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   8511:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   8512:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   8513:      # The linker can only warn and ignore the option if not recognized
                   8514:      # So say no if there are warnings
                   8515:      if test -s conftest.err; then
                   8516:        # Append any errors to the config.log.
                   8517:        cat conftest.err 1>&5
                   8518:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   8519:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8520:        if diff conftest.exp conftest.er2 >/dev/null; then
                   8521:          lt_cv_prog_compiler_static_works=yes
                   8522:        fi
                   8523:      else
                   8524:        lt_cv_prog_compiler_static_works=yes
                   8525:      fi
                   8526:    fi
                   8527:    $RM -r conftest*
                   8528:    LDFLAGS="$save_LDFLAGS"
                   8529: 
                   8530: fi
                   8531: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
                   8532: $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
                   8533: 
                   8534: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
                   8535:     :
                   8536: else
                   8537:     lt_prog_compiler_static=
                   8538: fi
                   8539: 
                   8540: 
                   8541: 
                   8542: 
                   8543: 
                   8544: 
                   8545: 
                   8546:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   8547: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   8548: if ${lt_cv_prog_compiler_c_o+:} false; then :
                   8549:   $as_echo_n "(cached) " >&6
                   8550: else
                   8551:   lt_cv_prog_compiler_c_o=no
                   8552:    $RM -r conftest 2>/dev/null
                   8553:    mkdir conftest
                   8554:    cd conftest
                   8555:    mkdir out
                   8556:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8557: 
                   8558:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   8559:    # Insert the option either (1) after the last *FLAGS variable, or
                   8560:    # (2) before a word containing "conftest.", or (3) at the end.
                   8561:    # Note that $ac_compile itself does not contain backslashes and begins
                   8562:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8563:    lt_compile=`echo "$ac_compile" | $SED \
                   8564:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8565:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8566:    -e 's:$: $lt_compiler_flag:'`
                   8567:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8568:    (eval "$lt_compile" 2>out/conftest.err)
                   8569:    ac_status=$?
                   8570:    cat out/conftest.err >&5
                   8571:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8572:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   8573:    then
                   8574:      # The compiler can only warn and ignore the option if not recognized
                   8575:      # So say no if there are warnings
                   8576:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   8577:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   8578:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   8579:        lt_cv_prog_compiler_c_o=yes
                   8580:      fi
                   8581:    fi
                   8582:    chmod u+w . 2>&5
                   8583:    $RM conftest*
                   8584:    # SGI C++ compiler will create directory out/ii_files/ for
                   8585:    # template instantiation
                   8586:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   8587:    $RM out/* && rmdir out
                   8588:    cd ..
                   8589:    $RM -r conftest
                   8590:    $RM conftest*
                   8591: 
                   8592: fi
                   8593: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   8594: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
                   8595: 
                   8596: 
                   8597: 
                   8598: 
                   8599: 
                   8600: 
                   8601:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
                   8602: $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
                   8603: if ${lt_cv_prog_compiler_c_o+:} false; then :
                   8604:   $as_echo_n "(cached) " >&6
                   8605: else
                   8606:   lt_cv_prog_compiler_c_o=no
                   8607:    $RM -r conftest 2>/dev/null
                   8608:    mkdir conftest
                   8609:    cd conftest
                   8610:    mkdir out
                   8611:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8612: 
                   8613:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   8614:    # Insert the option either (1) after the last *FLAGS variable, or
                   8615:    # (2) before a word containing "conftest.", or (3) at the end.
                   8616:    # Note that $ac_compile itself does not contain backslashes and begins
                   8617:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8618:    lt_compile=`echo "$ac_compile" | $SED \
                   8619:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8620:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8621:    -e 's:$: $lt_compiler_flag:'`
                   8622:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8623:    (eval "$lt_compile" 2>out/conftest.err)
                   8624:    ac_status=$?
                   8625:    cat out/conftest.err >&5
                   8626:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8627:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   8628:    then
                   8629:      # The compiler can only warn and ignore the option if not recognized
                   8630:      # So say no if there are warnings
                   8631:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   8632:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   8633:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   8634:        lt_cv_prog_compiler_c_o=yes
                   8635:      fi
                   8636:    fi
                   8637:    chmod u+w . 2>&5
                   8638:    $RM conftest*
                   8639:    # SGI C++ compiler will create directory out/ii_files/ for
                   8640:    # template instantiation
                   8641:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   8642:    $RM out/* && rmdir out
                   8643:    cd ..
                   8644:    $RM -r conftest
                   8645:    $RM conftest*
                   8646: 
                   8647: fi
                   8648: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
                   8649: $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
                   8650: 
                   8651: 
                   8652: 
                   8653: 
                   8654: hard_links="nottested"
                   8655: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
                   8656:   # do not overwrite the value of need_locks provided by the user
                   8657:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
                   8658: $as_echo_n "checking if we can lock with hard links... " >&6; }
                   8659:   hard_links=yes
                   8660:   $RM conftest*
                   8661:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   8662:   touch conftest.a
                   8663:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   8664:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   8665:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
                   8666: $as_echo "$hard_links" >&6; }
                   8667:   if test "$hard_links" = no; then
                   8668:     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   8669: $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
                   8670:     need_locks=warn
                   8671:   fi
                   8672: else
                   8673:   need_locks=no
                   8674: fi
                   8675: 
                   8676: 
                   8677: 
                   8678: 
                   8679: 
                   8680: 
                   8681:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   8682: $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
                   8683: 
                   8684:   runpath_var=
                   8685:   allow_undefined_flag=
                   8686:   always_export_symbols=no
                   8687:   archive_cmds=
                   8688:   archive_expsym_cmds=
                   8689:   compiler_needs_object=no
                   8690:   enable_shared_with_static_runtimes=no
                   8691:   export_dynamic_flag_spec=
                   8692:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   8693:   hardcode_automatic=no
                   8694:   hardcode_direct=no
                   8695:   hardcode_direct_absolute=no
                   8696:   hardcode_libdir_flag_spec=
                   8697:   hardcode_libdir_separator=
                   8698:   hardcode_minus_L=no
                   8699:   hardcode_shlibpath_var=unsupported
                   8700:   inherit_rpath=no
                   8701:   link_all_deplibs=unknown
                   8702:   module_cmds=
                   8703:   module_expsym_cmds=
                   8704:   old_archive_from_new_cmds=
                   8705:   old_archive_from_expsyms_cmds=
                   8706:   thread_safe_flag_spec=
                   8707:   whole_archive_flag_spec=
                   8708:   # include_expsyms should be a list of space-separated symbols to be *always*
                   8709:   # included in the symbol list
                   8710:   include_expsyms=
                   8711:   # exclude_expsyms can be an extended regexp of symbols to exclude
                   8712:   # it will be wrapped by ` (' and `)$', so one must not match beginning or
                   8713:   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
                   8714:   # as well as any symbol that contains `d'.
                   8715:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   8716:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   8717:   # platforms (ab)use it in PIC code, but their linkers get confused if
                   8718:   # the symbol is explicitly referenced.  Since portable code cannot
                   8719:   # rely on this symbol name, it's probably fine to never include it in
                   8720:   # preloaded symbol tables.
                   8721:   # Exclude shared library initialization/finalization symbols.
                   8722:   extract_expsyms_cmds=
                   8723: 
                   8724:   case $host_os in
                   8725:   cygwin* | mingw* | pw32* | cegcc*)
                   8726:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
                   8727:     # When not using gcc, we currently assume that we are using
                   8728:     # Microsoft Visual C++.
                   8729:     if test "$GCC" != yes; then
                   8730:       with_gnu_ld=no
                   8731:     fi
                   8732:     ;;
                   8733:   interix*)
                   8734:     # we just hope/assume this is gcc and not c89 (= MSVC++)
                   8735:     with_gnu_ld=yes
                   8736:     ;;
                   8737:   openbsd*)
                   8738:     with_gnu_ld=no
                   8739:     ;;
                   8740:   esac
                   8741: 
                   8742:   ld_shlibs=yes
                   8743: 
                   8744:   # On some targets, GNU ld is compatible enough with the native linker
                   8745:   # that we're better off using the native interface for both.
                   8746:   lt_use_gnu_ld_interface=no
                   8747:   if test "$with_gnu_ld" = yes; then
                   8748:     case $host_os in
                   8749:       aix*)
                   8750:        # The AIX port of GNU ld has always aspired to compatibility
                   8751:        # with the native linker.  However, as the warning in the GNU ld
                   8752:        # block says, versions before 2.19.5* couldn't really create working
                   8753:        # shared libraries, regardless of the interface used.
                   8754:        case `$LD -v 2>&1` in
                   8755:          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
                   8756:          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
                   8757:          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
                   8758:          *)
                   8759:            lt_use_gnu_ld_interface=yes
                   8760:            ;;
                   8761:        esac
                   8762:        ;;
                   8763:       *)
                   8764:        lt_use_gnu_ld_interface=yes
                   8765:        ;;
                   8766:     esac
                   8767:   fi
                   8768: 
                   8769:   if test "$lt_use_gnu_ld_interface" = yes; then
                   8770:     # If archive_cmds runs LD, not CC, wlarc should be empty
                   8771:     wlarc='${wl}'
                   8772: 
                   8773:     # Set some defaults for GNU ld with shared library support. These
                   8774:     # are reset later if shared libraries are not supported. Putting them
                   8775:     # here allows them to be overridden if necessary.
                   8776:     runpath_var=LD_RUN_PATH
                   8777:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   8778:     export_dynamic_flag_spec='${wl}--export-dynamic'
                   8779:     # ancient GNU ld didn't support --whole-archive et. al.
                   8780:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
                   8781:       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   8782:     else
                   8783:       whole_archive_flag_spec=
                   8784:     fi
                   8785:     supports_anon_versioning=no
                   8786:     case `$LD -v 2>&1` in
                   8787:       *GNU\ gold*) supports_anon_versioning=yes ;;
                   8788:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
                   8789:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
                   8790:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
                   8791:       *\ 2.11.*) ;; # other 2.11 versions
                   8792:       *) supports_anon_versioning=yes ;;
                   8793:     esac
                   8794: 
                   8795:     # See if GNU ld supports shared libraries.
                   8796:     case $host_os in
                   8797:     aix[3-9]*)
                   8798:       # On AIX/PPC, the GNU linker is very broken
                   8799:       if test "$host_cpu" != ia64; then
                   8800:        ld_shlibs=no
                   8801:        cat <<_LT_EOF 1>&2
                   8802: 
                   8803: *** Warning: the GNU linker, at least up to release 2.19, is reported
                   8804: *** to be unable to reliably create shared libraries on AIX.
                   8805: *** Therefore, libtool is disabling shared libraries support.  If you
                   8806: *** really care for shared libraries, you may want to install binutils
                   8807: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
                   8808: *** You will then need to restart the configuration process.
                   8809: 
                   8810: _LT_EOF
                   8811:       fi
                   8812:       ;;
                   8813: 
                   8814:     amigaos*)
                   8815:       case $host_cpu in
                   8816:       powerpc)
                   8817:             # see comment about AmigaOS4 .so support
                   8818:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8819:             archive_expsym_cmds=''
                   8820:         ;;
                   8821:       m68k)
                   8822:             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)'
                   8823:             hardcode_libdir_flag_spec='-L$libdir'
                   8824:             hardcode_minus_L=yes
                   8825:         ;;
                   8826:       esac
                   8827:       ;;
                   8828: 
                   8829:     beos*)
                   8830:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   8831:        allow_undefined_flag=unsupported
                   8832:        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   8833:        # support --undefined.  This deserves some investigation.  FIXME
                   8834:        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8835:       else
                   8836:        ld_shlibs=no
                   8837:       fi
                   8838:       ;;
                   8839: 
                   8840:     cygwin* | mingw* | pw32* | cegcc*)
                   8841:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
                   8842:       # as there is no search path for DLLs.
                   8843:       hardcode_libdir_flag_spec='-L$libdir'
                   8844:       export_dynamic_flag_spec='${wl}--export-all-symbols'
                   8845:       allow_undefined_flag=unsupported
                   8846:       always_export_symbols=no
                   8847:       enable_shared_with_static_runtimes=yes
                   8848:       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'
                   8849:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   8850: 
                   8851:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   8852:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   8853:        # If the export-symbols file already is a .def file (1st line
                   8854:        # is EXPORTS), use it as is; otherwise, prepend...
                   8855:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   8856:          cp $export_symbols $output_objdir/$soname.def;
                   8857:        else
                   8858:          echo EXPORTS > $output_objdir/$soname.def;
                   8859:          cat $export_symbols >> $output_objdir/$soname.def;
                   8860:        fi~
                   8861:        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   8862:       else
                   8863:        ld_shlibs=no
                   8864:       fi
                   8865:       ;;
                   8866: 
                   8867:     haiku*)
                   8868:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8869:       link_all_deplibs=yes
                   8870:       ;;
                   8871: 
                   8872:     interix[3-9]*)
                   8873:       hardcode_direct=no
                   8874:       hardcode_shlibpath_var=no
                   8875:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   8876:       export_dynamic_flag_spec='${wl}-E'
                   8877:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   8878:       # Instead, shared libraries are loaded at an image base (0x10000000 by
                   8879:       # default) and relocated if they conflict, which is a slow very memory
                   8880:       # consuming and fragmenting process.  To avoid this, we pick a random,
                   8881:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   8882:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   8883:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   8884:       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'
                   8885:       ;;
                   8886: 
                   8887:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
                   8888:       tmp_diet=no
                   8889:       if test "$host_os" = linux-dietlibc; then
                   8890:        case $cc_basename in
                   8891:          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
                   8892:        esac
                   8893:       fi
                   8894:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
                   8895:         && test "$tmp_diet" = no
                   8896:       then
                   8897:        tmp_addflag=' $pic_flag'
                   8898:        tmp_sharedflag='-shared'
                   8899:        case $cc_basename,$host_cpu in
                   8900:         pgcc*)                         # Portland Group C compiler
                   8901:          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'
                   8902:          tmp_addflag=' $pic_flag'
                   8903:          ;;
                   8904:        pgf77* | pgf90* | pgf95* | pgfortran*)
                   8905:                                        # Portland Group f77 and f90 compilers
                   8906:          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'
                   8907:          tmp_addflag=' $pic_flag -Mnomain' ;;
                   8908:        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
                   8909:          tmp_addflag=' -i_dynamic' ;;
                   8910:        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
                   8911:          tmp_addflag=' -i_dynamic -nofor_main' ;;
                   8912:        ifc* | ifort*)                  # Intel Fortran compiler
                   8913:          tmp_addflag=' -nofor_main' ;;
                   8914:        lf95*)                          # Lahey Fortran 8.1
                   8915:          whole_archive_flag_spec=
                   8916:          tmp_sharedflag='--shared' ;;
                   8917:        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
                   8918:          tmp_sharedflag='-qmkshrobj'
                   8919:          tmp_addflag= ;;
                   8920:        nvcc*)  # Cuda Compiler Driver 2.2
                   8921:          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'
                   8922:          compiler_needs_object=yes
                   8923:          ;;
                   8924:        esac
                   8925:        case `$CC -V 2>&1 | sed 5q` in
                   8926:        *Sun\ C*)                       # Sun C 5.9
                   8927:          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'
                   8928:          compiler_needs_object=yes
                   8929:          tmp_sharedflag='-G' ;;
                   8930:        *Sun\ F*)                       # Sun Fortran 8.3
                   8931:          tmp_sharedflag='-G' ;;
                   8932:        esac
                   8933:        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8934: 
                   8935:         if test "x$supports_anon_versioning" = xyes; then
                   8936:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   8937:            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   8938:            echo "local: *; };" >> $output_objdir/$libname.ver~
                   8939:            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   8940:         fi
                   8941: 
                   8942:        case $cc_basename in
                   8943:        xlf* | bgf* | bgxlf* | mpixlf*)
                   8944:          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
                   8945:          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
                   8946:          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   8947:          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
                   8948:          if test "x$supports_anon_versioning" = xyes; then
                   8949:            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   8950:              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   8951:              echo "local: *; };" >> $output_objdir/$libname.ver~
                   8952:              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
                   8953:          fi
                   8954:          ;;
                   8955:        esac
                   8956:       else
                   8957:         ld_shlibs=no
                   8958:       fi
                   8959:       ;;
                   8960: 
                   8961:     netbsd*)
                   8962:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   8963:        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   8964:        wlarc=
                   8965:       else
                   8966:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8967:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   8968:       fi
                   8969:       ;;
                   8970: 
                   8971:     solaris*)
                   8972:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
                   8973:        ld_shlibs=no
                   8974:        cat <<_LT_EOF 1>&2
                   8975: 
                   8976: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   8977: *** create shared libraries on Solaris systems.  Therefore, libtool
                   8978: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   8979: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   8980: *** your PATH or compiler configuration so that the native linker is
                   8981: *** used, and then restart.
                   8982: 
                   8983: _LT_EOF
                   8984:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   8985:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8986:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   8987:       else
                   8988:        ld_shlibs=no
                   8989:       fi
                   8990:       ;;
                   8991: 
                   8992:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
                   8993:       case `$LD -v 2>&1` in
                   8994:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
                   8995:        ld_shlibs=no
                   8996:        cat <<_LT_EOF 1>&2
                   8997: 
                   8998: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
                   8999: *** reliably create shared libraries on SCO systems.  Therefore, libtool
                   9000: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   9001: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
                   9002: *** your PATH or compiler configuration so that the native linker is
                   9003: *** used, and then restart.
                   9004: 
                   9005: _LT_EOF
                   9006:        ;;
                   9007:        *)
                   9008:          # For security reasons, it is highly recommended that you always
                   9009:          # use absolute paths for naming shared libraries, and exclude the
                   9010:          # DT_RUNPATH tag from executables and libraries.  But doing so
                   9011:          # requires that you compile everything twice, which is a pain.
                   9012:          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   9013:            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9014:            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9015:            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   9016:          else
                   9017:            ld_shlibs=no
                   9018:          fi
                   9019:        ;;
                   9020:       esac
                   9021:       ;;
                   9022: 
                   9023:     sunos4*)
                   9024:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   9025:       wlarc=
                   9026:       hardcode_direct=yes
                   9027:       hardcode_shlibpath_var=no
                   9028:       ;;
                   9029: 
                   9030:     *)
                   9031:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   9032:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9033:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   9034:       else
                   9035:        ld_shlibs=no
                   9036:       fi
                   9037:       ;;
                   9038:     esac
                   9039: 
                   9040:     if test "$ld_shlibs" = no; then
                   9041:       runpath_var=
                   9042:       hardcode_libdir_flag_spec=
                   9043:       export_dynamic_flag_spec=
                   9044:       whole_archive_flag_spec=
                   9045:     fi
                   9046:   else
                   9047:     # PORTME fill in a description of your system's linker (not GNU ld)
                   9048:     case $host_os in
                   9049:     aix3*)
                   9050:       allow_undefined_flag=unsupported
                   9051:       always_export_symbols=yes
                   9052:       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'
                   9053:       # Note: this linker hardcodes the directories in LIBPATH if there
                   9054:       # are no directories specified by -L.
                   9055:       hardcode_minus_L=yes
                   9056:       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
                   9057:        # Neither direct hardcoding nor static linking is supported with a
                   9058:        # broken collect2.
                   9059:        hardcode_direct=unsupported
                   9060:       fi
                   9061:       ;;
                   9062: 
                   9063:     aix[4-9]*)
                   9064:       if test "$host_cpu" = ia64; then
                   9065:        # On IA64, the linker does run time linking by default, so we don't
                   9066:        # have to do anything special.
                   9067:        aix_use_runtimelinking=no
                   9068:        exp_sym_flag='-Bexport'
                   9069:        no_entry_flag=""
                   9070:       else
                   9071:        # If we're using GNU nm, then we don't want the "-C" option.
                   9072:        # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   9073:        # Also, AIX nm treats weak defined symbols like other global
                   9074:        # defined symbols, whereas GNU nm marks them as "W".
                   9075:        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   9076:          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'
                   9077:        else
                   9078:          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'
                   9079:        fi
                   9080:        aix_use_runtimelinking=no
                   9081: 
                   9082:        # Test if we are trying to use run time linking or normal
                   9083:        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   9084:        # need to do runtime linking.
                   9085:        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   9086:          for ld_flag in $LDFLAGS; do
                   9087:          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
                   9088:            aix_use_runtimelinking=yes
                   9089:            break
                   9090:          fi
                   9091:          done
                   9092:          ;;
                   9093:        esac
                   9094: 
                   9095:        exp_sym_flag='-bexport'
                   9096:        no_entry_flag='-bnoentry'
                   9097:       fi
                   9098: 
                   9099:       # When large executables or shared objects are built, AIX ld can
                   9100:       # have problems creating the table of contents.  If linking a library
                   9101:       # or program results in "error TOC overflow" add -mminimal-toc to
                   9102:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   9103:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   9104: 
                   9105:       archive_cmds=''
                   9106:       hardcode_direct=yes
                   9107:       hardcode_direct_absolute=yes
                   9108:       hardcode_libdir_separator=':'
                   9109:       link_all_deplibs=yes
                   9110:       file_list_spec='${wl}-f,'
                   9111: 
                   9112:       if test "$GCC" = yes; then
                   9113:        case $host_os in aix4.[012]|aix4.[012].*)
                   9114:        # We only want to do this on AIX 4.2 and lower, the check
                   9115:        # below for broken collect2 doesn't work under 4.3+
                   9116:          collect2name=`${CC} -print-prog-name=collect2`
                   9117:          if test -f "$collect2name" &&
                   9118:           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   9119:          then
                   9120:          # We have reworked collect2
                   9121:          :
                   9122:          else
                   9123:          # We have old collect2
                   9124:          hardcode_direct=unsupported
                   9125:          # It fails to find uninstalled libraries when the uninstalled
                   9126:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   9127:          # to unsupported forces relinking
                   9128:          hardcode_minus_L=yes
                   9129:          hardcode_libdir_flag_spec='-L$libdir'
                   9130:          hardcode_libdir_separator=
                   9131:          fi
                   9132:          ;;
                   9133:        esac
                   9134:        shared_flag='-shared'
                   9135:        if test "$aix_use_runtimelinking" = yes; then
                   9136:          shared_flag="$shared_flag "'${wl}-G'
                   9137:        fi
                   9138:       else
                   9139:        # not using gcc
                   9140:        if test "$host_cpu" = ia64; then
                   9141:        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   9142:        # chokes on -Wl,-G. The following line is correct:
                   9143:          shared_flag='-G'
                   9144:        else
                   9145:          if test "$aix_use_runtimelinking" = yes; then
                   9146:            shared_flag='${wl}-G'
                   9147:          else
                   9148:            shared_flag='${wl}-bM:SRE'
                   9149:          fi
                   9150:        fi
                   9151:       fi
                   9152: 
                   9153:       export_dynamic_flag_spec='${wl}-bexpall'
                   9154:       # It seems that -bexpall does not export symbols beginning with
                   9155:       # underscore (_), so it is better to generate a list of symbols to export.
                   9156:       always_export_symbols=yes
                   9157:       if test "$aix_use_runtimelinking" = yes; then
                   9158:        # Warning - without using the other runtime loading flags (-brtl),
                   9159:        # -berok will link without error, but may produce a broken library.
                   9160:        allow_undefined_flag='-berok'
                   9161:         # Determine the default libpath from the value encoded in an
                   9162:         # empty executable.
                   9163:         if test "${lt_cv_aix_libpath+set}" = set; then
                   9164:   aix_libpath=$lt_cv_aix_libpath
                   9165: else
                   9166:   if ${lt_cv_aix_libpath_+:} false; then :
                   9167:   $as_echo_n "(cached) " >&6
                   9168: else
                   9169:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   9170: /* end confdefs.h.  */
                   9171: 
                   9172: int
                   9173: main ()
                   9174: {
                   9175: 
                   9176:   ;
                   9177:   return 0;
                   9178: }
                   9179: _ACEOF
                   9180: if ac_fn_c_try_link "$LINENO"; then :
                   9181: 
                   9182:   lt_aix_libpath_sed='
                   9183:       /Import File Strings/,/^$/ {
                   9184:          /^0/ {
                   9185:              s/^0  *\([^ ]*\) *$/\1/
                   9186:              p
                   9187:          }
                   9188:       }'
                   9189:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9190:   # Check for a 64-bit object if we didn't find anything.
                   9191:   if test -z "$lt_cv_aix_libpath_"; then
                   9192:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9193:   fi
                   9194: fi
                   9195: rm -f core conftest.err conftest.$ac_objext \
                   9196:     conftest$ac_exeext conftest.$ac_ext
                   9197:   if test -z "$lt_cv_aix_libpath_"; then
                   9198:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   9199:   fi
                   9200: 
                   9201: fi
                   9202: 
                   9203:   aix_libpath=$lt_cv_aix_libpath_
                   9204: fi
                   9205: 
                   9206:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   9207:         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"
                   9208:       else
                   9209:        if test "$host_cpu" = ia64; then
                   9210:          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
                   9211:          allow_undefined_flag="-z nodefs"
                   9212:          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"
                   9213:        else
                   9214:         # Determine the default libpath from the value encoded in an
                   9215:         # empty executable.
                   9216:         if test "${lt_cv_aix_libpath+set}" = set; then
                   9217:   aix_libpath=$lt_cv_aix_libpath
                   9218: else
                   9219:   if ${lt_cv_aix_libpath_+:} false; then :
                   9220:   $as_echo_n "(cached) " >&6
                   9221: else
                   9222:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   9223: /* end confdefs.h.  */
                   9224: 
                   9225: int
                   9226: main ()
                   9227: {
                   9228: 
                   9229:   ;
                   9230:   return 0;
                   9231: }
                   9232: _ACEOF
                   9233: if ac_fn_c_try_link "$LINENO"; then :
                   9234: 
                   9235:   lt_aix_libpath_sed='
                   9236:       /Import File Strings/,/^$/ {
                   9237:          /^0/ {
                   9238:              s/^0  *\([^ ]*\) *$/\1/
                   9239:              p
                   9240:          }
                   9241:       }'
                   9242:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9243:   # Check for a 64-bit object if we didn't find anything.
                   9244:   if test -z "$lt_cv_aix_libpath_"; then
                   9245:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9246:   fi
                   9247: fi
                   9248: rm -f core conftest.err conftest.$ac_objext \
                   9249:     conftest$ac_exeext conftest.$ac_ext
                   9250:   if test -z "$lt_cv_aix_libpath_"; then
                   9251:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   9252:   fi
                   9253: 
                   9254: fi
                   9255: 
                   9256:   aix_libpath=$lt_cv_aix_libpath_
                   9257: fi
                   9258: 
                   9259:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   9260:          # Warning - without using the other run time loading flags,
                   9261:          # -berok will link without error, but may produce a broken library.
                   9262:          no_undefined_flag=' ${wl}-bernotok'
                   9263:          allow_undefined_flag=' ${wl}-berok'
                   9264:          if test "$with_gnu_ld" = yes; then
                   9265:            # We only use this code for GNU lds that support --whole-archive.
                   9266:            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   9267:          else
                   9268:            # Exported symbols can be pulled into shared objects from archives
                   9269:            whole_archive_flag_spec='$convenience'
                   9270:          fi
                   9271:          archive_cmds_need_lc=yes
                   9272:          # This is similar to how AIX traditionally builds its shared libraries.
                   9273:          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'
                   9274:        fi
                   9275:       fi
                   9276:       ;;
                   9277: 
                   9278:     amigaos*)
                   9279:       case $host_cpu in
                   9280:       powerpc)
                   9281:             # see comment about AmigaOS4 .so support
                   9282:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9283:             archive_expsym_cmds=''
                   9284:         ;;
                   9285:       m68k)
                   9286:             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)'
                   9287:             hardcode_libdir_flag_spec='-L$libdir'
                   9288:             hardcode_minus_L=yes
                   9289:         ;;
                   9290:       esac
                   9291:       ;;
                   9292: 
                   9293:     bsdi[45]*)
                   9294:       export_dynamic_flag_spec=-rdynamic
                   9295:       ;;
                   9296: 
                   9297:     cygwin* | mingw* | pw32* | cegcc*)
                   9298:       # When not using gcc, we currently assume that we are using
                   9299:       # Microsoft Visual C++.
                   9300:       # hardcode_libdir_flag_spec is actually meaningless, as there is
                   9301:       # no search path for DLLs.
                   9302:       case $cc_basename in
                   9303:       cl*)
                   9304:        # Native MSVC
                   9305:        hardcode_libdir_flag_spec=' '
                   9306:        allow_undefined_flag=unsupported
                   9307:        always_export_symbols=yes
                   9308:        file_list_spec='@'
                   9309:        # Tell ltmain to make .lib files, not .a files.
                   9310:        libext=lib
                   9311:        # Tell ltmain to make .dll files, not .so files.
                   9312:        shrext_cmds=".dll"
                   9313:        # FIXME: Setting linknames here is a bad hack.
                   9314:        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   9315:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   9316:            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   9317:          else
                   9318:            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   9319:          fi~
                   9320:          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   9321:          linknames='
                   9322:        # The linker will not automatically build a static lib if we build a DLL.
                   9323:        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
                   9324:        enable_shared_with_static_runtimes=yes
                   9325:        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   9326:        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
                   9327:        # Don't use ranlib
                   9328:        old_postinstall_cmds='chmod 644 $oldlib'
                   9329:        postlink_cmds='lt_outputfile="@OUTPUT@"~
                   9330:          lt_tool_outputfile="@TOOL_OUTPUT@"~
                   9331:          case $lt_outputfile in
                   9332:            *.exe|*.EXE) ;;
                   9333:            *)
                   9334:              lt_outputfile="$lt_outputfile.exe"
                   9335:              lt_tool_outputfile="$lt_tool_outputfile.exe"
                   9336:              ;;
                   9337:          esac~
                   9338:          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   9339:            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   9340:            $RM "$lt_outputfile.manifest";
                   9341:          fi'
                   9342:        ;;
                   9343:       *)
                   9344:        # Assume MSVC wrapper
                   9345:        hardcode_libdir_flag_spec=' '
                   9346:        allow_undefined_flag=unsupported
                   9347:        # Tell ltmain to make .lib files, not .a files.
                   9348:        libext=lib
                   9349:        # Tell ltmain to make .dll files, not .so files.
                   9350:        shrext_cmds=".dll"
                   9351:        # FIXME: Setting linknames here is a bad hack.
                   9352:        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
                   9353:        # The linker will automatically build a .lib file if we build a DLL.
                   9354:        old_archive_from_new_cmds='true'
                   9355:        # FIXME: Should let the user specify the lib program.
                   9356:        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
                   9357:        enable_shared_with_static_runtimes=yes
                   9358:        ;;
                   9359:       esac
                   9360:       ;;
                   9361: 
                   9362:     darwin* | rhapsody*)
                   9363: 
                   9364: 
                   9365:   archive_cmds_need_lc=no
                   9366:   hardcode_direct=no
                   9367:   hardcode_automatic=yes
                   9368:   hardcode_shlibpath_var=unsupported
                   9369:   if test "$lt_cv_ld_force_load" = "yes"; then
                   9370:     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\"`'
                   9371: 
                   9372:   else
                   9373:     whole_archive_flag_spec=''
                   9374:   fi
                   9375:   link_all_deplibs=yes
                   9376:   allow_undefined_flag="$_lt_dar_allow_undefined"
                   9377:   case $cc_basename in
                   9378:      ifort*) _lt_dar_can_shared=yes ;;
                   9379:      *) _lt_dar_can_shared=$GCC ;;
                   9380:   esac
                   9381:   if test "$_lt_dar_can_shared" = "yes"; then
                   9382:     output_verbose_link_cmd=func_echo_all
                   9383:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
                   9384:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   9385:     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}"
                   9386:     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}"
                   9387: 
                   9388:   else
                   9389:   ld_shlibs=no
                   9390:   fi
                   9391: 
                   9392:       ;;
                   9393: 
                   9394:     dgux*)
                   9395:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9396:       hardcode_libdir_flag_spec='-L$libdir'
                   9397:       hardcode_shlibpath_var=no
                   9398:       ;;
                   9399: 
                   9400:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   9401:     # support.  Future versions do this automatically, but an explicit c++rt0.o
                   9402:     # does not break anything, and helps significantly (at the cost of a little
                   9403:     # extra space).
                   9404:     freebsd2.2*)
                   9405:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   9406:       hardcode_libdir_flag_spec='-R$libdir'
                   9407:       hardcode_direct=yes
                   9408:       hardcode_shlibpath_var=no
                   9409:       ;;
                   9410: 
                   9411:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
                   9412:     freebsd2.*)
                   9413:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   9414:       hardcode_direct=yes
                   9415:       hardcode_minus_L=yes
                   9416:       hardcode_shlibpath_var=no
                   9417:       ;;
                   9418: 
                   9419:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
                   9420:     freebsd* | dragonfly*)
                   9421:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   9422:       hardcode_libdir_flag_spec='-R$libdir'
                   9423:       hardcode_direct=yes
                   9424:       hardcode_shlibpath_var=no
                   9425:       ;;
                   9426: 
                   9427:     hpux9*)
                   9428:       if test "$GCC" = yes; then
                   9429:        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'
                   9430:       else
                   9431:        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'
                   9432:       fi
                   9433:       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   9434:       hardcode_libdir_separator=:
                   9435:       hardcode_direct=yes
                   9436: 
                   9437:       # hardcode_minus_L: Not really in the search PATH,
                   9438:       # but as the default location of the library.
                   9439:       hardcode_minus_L=yes
                   9440:       export_dynamic_flag_spec='${wl}-E'
                   9441:       ;;
                   9442: 
                   9443:     hpux10*)
                   9444:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   9445:        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   9446:       else
                   9447:        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   9448:       fi
                   9449:       if test "$with_gnu_ld" = no; then
                   9450:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   9451:        hardcode_libdir_separator=:
                   9452:        hardcode_direct=yes
                   9453:        hardcode_direct_absolute=yes
                   9454:        export_dynamic_flag_spec='${wl}-E'
                   9455:        # hardcode_minus_L: Not really in the search PATH,
                   9456:        # but as the default location of the library.
                   9457:        hardcode_minus_L=yes
                   9458:       fi
                   9459:       ;;
                   9460: 
                   9461:     hpux11*)
                   9462:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   9463:        case $host_cpu in
                   9464:        hppa*64*)
                   9465:          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9466:          ;;
                   9467:        ia64*)
                   9468:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   9469:          ;;
                   9470:        *)
                   9471:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   9472:          ;;
                   9473:        esac
                   9474:       else
                   9475:        case $host_cpu in
                   9476:        hppa*64*)
                   9477:          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9478:          ;;
                   9479:        ia64*)
                   9480:          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   9481:          ;;
                   9482:        *)
                   9483: 
                   9484:          # Older versions of the 11.00 compiler do not understand -b yet
                   9485:          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
                   9486:          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
                   9487: $as_echo_n "checking if $CC understands -b... " >&6; }
                   9488: if ${lt_cv_prog_compiler__b+:} false; then :
                   9489:   $as_echo_n "(cached) " >&6
                   9490: else
                   9491:   lt_cv_prog_compiler__b=no
                   9492:    save_LDFLAGS="$LDFLAGS"
                   9493:    LDFLAGS="$LDFLAGS -b"
                   9494:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   9495:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   9496:      # The linker can only warn and ignore the option if not recognized
                   9497:      # So say no if there are warnings
                   9498:      if test -s conftest.err; then
                   9499:        # Append any errors to the config.log.
                   9500:        cat conftest.err 1>&5
                   9501:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   9502:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9503:        if diff conftest.exp conftest.er2 >/dev/null; then
                   9504:          lt_cv_prog_compiler__b=yes
                   9505:        fi
                   9506:      else
                   9507:        lt_cv_prog_compiler__b=yes
                   9508:      fi
                   9509:    fi
                   9510:    $RM -r conftest*
                   9511:    LDFLAGS="$save_LDFLAGS"
                   9512: 
                   9513: fi
                   9514: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
                   9515: $as_echo "$lt_cv_prog_compiler__b" >&6; }
                   9516: 
                   9517: if test x"$lt_cv_prog_compiler__b" = xyes; then
                   9518:     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   9519: else
                   9520:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   9521: fi
                   9522: 
                   9523:          ;;
                   9524:        esac
                   9525:       fi
                   9526:       if test "$with_gnu_ld" = no; then
                   9527:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   9528:        hardcode_libdir_separator=:
                   9529: 
                   9530:        case $host_cpu in
                   9531:        hppa*64*|ia64*)
                   9532:          hardcode_direct=no
                   9533:          hardcode_shlibpath_var=no
                   9534:          ;;
                   9535:        *)
                   9536:          hardcode_direct=yes
                   9537:          hardcode_direct_absolute=yes
                   9538:          export_dynamic_flag_spec='${wl}-E'
                   9539: 
                   9540:          # hardcode_minus_L: Not really in the search PATH,
                   9541:          # but as the default location of the library.
                   9542:          hardcode_minus_L=yes
                   9543:          ;;
                   9544:        esac
                   9545:       fi
                   9546:       ;;
                   9547: 
                   9548:     irix5* | irix6* | nonstopux*)
                   9549:       if test "$GCC" = yes; then
                   9550:        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'
                   9551:        # Try to use the -exported_symbol ld option, if it does not
                   9552:        # work, assume that -exports_file does not work either and
                   9553:        # implicitly export all symbols.
                   9554:        # This should be the same for all languages, so no per-tag cache variable.
                   9555:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
                   9556: $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
                   9557: if ${lt_cv_irix_exported_symbol+:} false; then :
                   9558:   $as_echo_n "(cached) " >&6
                   9559: else
                   9560:   save_LDFLAGS="$LDFLAGS"
                   9561:           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
                   9562:           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   9563: /* end confdefs.h.  */
                   9564: int foo (void) { return 0; }
                   9565: _ACEOF
                   9566: if ac_fn_c_try_link "$LINENO"; then :
                   9567:   lt_cv_irix_exported_symbol=yes
                   9568: else
                   9569:   lt_cv_irix_exported_symbol=no
                   9570: fi
                   9571: rm -f core conftest.err conftest.$ac_objext \
                   9572:     conftest$ac_exeext conftest.$ac_ext
                   9573:            LDFLAGS="$save_LDFLAGS"
                   9574: fi
                   9575: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
                   9576: $as_echo "$lt_cv_irix_exported_symbol" >&6; }
                   9577:        if test "$lt_cv_irix_exported_symbol" = yes; then
                   9578:           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'
                   9579:        fi
                   9580:       else
                   9581:        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'
                   9582:        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'
                   9583:       fi
                   9584:       archive_cmds_need_lc='no'
                   9585:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9586:       hardcode_libdir_separator=:
                   9587:       inherit_rpath=yes
                   9588:       link_all_deplibs=yes
                   9589:       ;;
                   9590: 
                   9591:     netbsd*)
                   9592:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   9593:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   9594:       else
                   9595:        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   9596:       fi
                   9597:       hardcode_libdir_flag_spec='-R$libdir'
                   9598:       hardcode_direct=yes
                   9599:       hardcode_shlibpath_var=no
                   9600:       ;;
                   9601: 
                   9602:     newsos6)
                   9603:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9604:       hardcode_direct=yes
                   9605:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9606:       hardcode_libdir_separator=:
                   9607:       hardcode_shlibpath_var=no
                   9608:       ;;
                   9609: 
                   9610:     *nto* | *qnx*)
                   9611:       ;;
                   9612: 
                   9613:     openbsd*)
                   9614:       if test -f /usr/libexec/ld.so; then
                   9615:        hardcode_direct=yes
                   9616:        hardcode_shlibpath_var=no
                   9617:        hardcode_direct_absolute=yes
                   9618:        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   9619:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   9620:          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
                   9621:          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   9622:          export_dynamic_flag_spec='${wl}-E'
                   9623:        else
                   9624:          case $host_os in
                   9625:           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
                   9626:             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   9627:             hardcode_libdir_flag_spec='-R$libdir'
                   9628:             ;;
                   9629:           *)
                   9630:             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   9631:             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   9632:             ;;
                   9633:          esac
                   9634:        fi
                   9635:       else
                   9636:        ld_shlibs=no
                   9637:       fi
                   9638:       ;;
                   9639: 
                   9640:     os2*)
                   9641:       hardcode_libdir_flag_spec='-L$libdir'
                   9642:       hardcode_minus_L=yes
                   9643:       allow_undefined_flag=unsupported
                   9644:       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'
                   9645:       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
                   9646:       ;;
                   9647: 
                   9648:     osf3*)
                   9649:       if test "$GCC" = yes; then
                   9650:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   9651:        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'
                   9652:       else
                   9653:        allow_undefined_flag=' -expect_unresolved \*'
                   9654:        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'
                   9655:       fi
                   9656:       archive_cmds_need_lc='no'
                   9657:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9658:       hardcode_libdir_separator=:
                   9659:       ;;
                   9660: 
                   9661:     osf4* | osf5*)     # as osf3* with the addition of -msym flag
                   9662:       if test "$GCC" = yes; then
                   9663:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   9664:        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'
                   9665:        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9666:       else
                   9667:        allow_undefined_flag=' -expect_unresolved \*'
                   9668:        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'
                   9669:        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~
                   9670:        $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'
                   9671: 
                   9672:        # Both c and cxx compiler support -rpath directly
                   9673:        hardcode_libdir_flag_spec='-rpath $libdir'
                   9674:       fi
                   9675:       archive_cmds_need_lc='no'
                   9676:       hardcode_libdir_separator=:
                   9677:       ;;
                   9678: 
                   9679:     solaris*)
                   9680:       no_undefined_flag=' -z defs'
                   9681:       if test "$GCC" = yes; then
                   9682:        wlarc='${wl}'
                   9683:        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9684:        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   9685:          $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'
                   9686:       else
                   9687:        case `$CC -V 2>&1` in
                   9688:        *"Compilers 5.0"*)
                   9689:          wlarc=''
                   9690:          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9691:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   9692:          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
                   9693:          ;;
                   9694:        *)
                   9695:          wlarc='${wl}'
                   9696:          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   9697:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   9698:          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
                   9699:          ;;
                   9700:        esac
                   9701:       fi
                   9702:       hardcode_libdir_flag_spec='-R$libdir'
                   9703:       hardcode_shlibpath_var=no
                   9704:       case $host_os in
                   9705:       solaris2.[0-5] | solaris2.[0-5].*) ;;
                   9706:       *)
                   9707:        # The compiler driver will combine and reorder linker options,
                   9708:        # but understands `-z linker_flag'.  GCC discards it without `$wl',
                   9709:        # but is careful enough not to reorder.
                   9710:        # Supported since Solaris 2.6 (maybe 2.5.1?)
                   9711:        if test "$GCC" = yes; then
                   9712:          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
1.1       misha    9713:        else
1.5       moko     9714:          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
1.1       misha    9715:        fi
1.5       moko     9716:        ;;
                   9717:       esac
                   9718:       link_all_deplibs=yes
                   9719:       ;;
                   9720: 
                   9721:     sunos4*)
                   9722:       if test "x$host_vendor" = xsequent; then
                   9723:        # Use $CC to link under sequent, because it throws in some extra .o
                   9724:        # files that make .init and .fini sections work.
                   9725:        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   9726:       else
                   9727:        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   9728:       fi
                   9729:       hardcode_libdir_flag_spec='-L$libdir'
                   9730:       hardcode_direct=yes
                   9731:       hardcode_minus_L=yes
                   9732:       hardcode_shlibpath_var=no
                   9733:       ;;
                   9734: 
                   9735:     sysv4)
                   9736:       case $host_vendor in
                   9737:        sni)
                   9738:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9739:          hardcode_direct=yes # is this really true???
                   9740:        ;;
                   9741:        siemens)
                   9742:          ## LD is ld it makes a PLAMLIB
                   9743:          ## CC just makes a GrossModule.
                   9744:          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   9745:          reload_cmds='$CC -r -o $output$reload_objs'
                   9746:          hardcode_direct=no
                   9747:         ;;
                   9748:        motorola)
                   9749:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9750:          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   9751:        ;;
1.1       misha    9752:       esac
1.5       moko     9753:       runpath_var='LD_RUN_PATH'
                   9754:       hardcode_shlibpath_var=no
                   9755:       ;;
                   9756: 
                   9757:     sysv4.3*)
                   9758:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9759:       hardcode_shlibpath_var=no
                   9760:       export_dynamic_flag_spec='-Bexport'
                   9761:       ;;
                   9762: 
                   9763:     sysv4*MP*)
                   9764:       if test -d /usr/nec; then
                   9765:        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9766:        hardcode_shlibpath_var=no
                   9767:        runpath_var=LD_RUN_PATH
                   9768:        hardcode_runpath_var=yes
                   9769:        ld_shlibs=yes
                   9770:       fi
                   9771:       ;;
                   9772: 
                   9773:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   9774:       no_undefined_flag='${wl}-z,text'
                   9775:       archive_cmds_need_lc=no
                   9776:       hardcode_shlibpath_var=no
                   9777:       runpath_var='LD_RUN_PATH'
1.1       misha    9778: 
1.5       moko     9779:       if test "$GCC" = yes; then
                   9780:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9781:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.1       misha    9782:       else
1.5       moko     9783:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9784:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.1       misha    9785:       fi
1.5       moko     9786:       ;;
1.1       misha    9787: 
1.5       moko     9788:     sysv5* | sco3.2v5* | sco5v6*)
                   9789:       # Note: We can NOT use -z defs as we might desire, because we do not
                   9790:       # link with -lc, and that would cause any symbols used from libc to
                   9791:       # always be unresolved, which means just about no library would
                   9792:       # ever link correctly.  If we're not using GNU ld we use -z text
                   9793:       # though, which does catch some bad symbols but isn't as heavy-handed
                   9794:       # as -z defs.
                   9795:       no_undefined_flag='${wl}-z,text'
                   9796:       allow_undefined_flag='${wl}-z,nodefs'
                   9797:       archive_cmds_need_lc=no
                   9798:       hardcode_shlibpath_var=no
                   9799:       hardcode_libdir_flag_spec='${wl}-R,$libdir'
                   9800:       hardcode_libdir_separator=':'
                   9801:       link_all_deplibs=yes
                   9802:       export_dynamic_flag_spec='${wl}-Bexport'
                   9803:       runpath_var='LD_RUN_PATH'
                   9804: 
                   9805:       if test "$GCC" = yes; then
                   9806:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9807:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.1       misha    9808:       else
1.5       moko     9809:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9810:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
1.1       misha    9811:       fi
1.5       moko     9812:       ;;
                   9813: 
                   9814:     uts4*)
                   9815:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9816:       hardcode_libdir_flag_spec='-L$libdir'
                   9817:       hardcode_shlibpath_var=no
                   9818:       ;;
                   9819: 
                   9820:     *)
                   9821:       ld_shlibs=no
                   9822:       ;;
                   9823:     esac
                   9824: 
                   9825:     if test x$host_vendor = xsni; then
                   9826:       case $host in
                   9827:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   9828:        export_dynamic_flag_spec='${wl}-Blargedynsym'
                   9829:        ;;
                   9830:       esac
1.1       misha    9831:     fi
1.5       moko     9832:   fi
                   9833: 
                   9834: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
                   9835: $as_echo "$ld_shlibs" >&6; }
                   9836: test "$ld_shlibs" = no && can_build_shared=no
                   9837: 
                   9838: with_gnu_ld=$with_gnu_ld
                   9839: 
                   9840: 
                   9841: 
                   9842: 
                   9843: 
                   9844: 
                   9845: 
                   9846: 
                   9847: 
                   9848: 
                   9849: 
                   9850: 
                   9851: 
1.1       misha    9852: 
                   9853: 
1.5       moko     9854: #
                   9855: # Do we need to explicitly link libc?
                   9856: #
                   9857: case "x$archive_cmds_need_lc" in
                   9858: x|xyes)
                   9859:   # Assume -lc should be added
                   9860:   archive_cmds_need_lc=yes
1.1       misha    9861: 
1.5       moko     9862:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   9863:     case $archive_cmds in
                   9864:     *'~'*)
                   9865:       # FIXME: we may have to deal with multi-command sequences.
1.1       misha    9866:       ;;
1.5       moko     9867:     '$CC '*)
                   9868:       # Test whether the compiler implicitly links with -lc since on some
                   9869:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   9870:       # to ld, don't add -lc before -lgcc.
                   9871:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
                   9872: $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
                   9873: if ${lt_cv_archive_cmds_need_lc+:} false; then :
                   9874:   $as_echo_n "(cached) " >&6
                   9875: else
                   9876:   $RM conftest*
                   9877:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9878: 
                   9879:        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   9880:   (eval $ac_compile) 2>&5
                   9881:   ac_status=$?
                   9882:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   9883:   test $ac_status = 0; } 2>conftest.err; then
                   9884:          soname=conftest
                   9885:          lib=conftest
                   9886:          libobjs=conftest.$ac_objext
                   9887:          deplibs=
                   9888:          wl=$lt_prog_compiler_wl
                   9889:          pic_flag=$lt_prog_compiler_pic
                   9890:          compiler_flags=-v
                   9891:          linker_flags=-v
                   9892:          verstring=
                   9893:          output_objdir=.
                   9894:          libname=conftest
                   9895:          lt_save_allow_undefined_flag=$allow_undefined_flag
                   9896:          allow_undefined_flag=
                   9897:          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
                   9898:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   9899:   ac_status=$?
                   9900:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   9901:   test $ac_status = 0; }
                   9902:          then
                   9903:            lt_cv_archive_cmds_need_lc=no
                   9904:          else
                   9905:            lt_cv_archive_cmds_need_lc=yes
                   9906:          fi
                   9907:          allow_undefined_flag=$lt_save_allow_undefined_flag
                   9908:        else
                   9909:          cat conftest.err 1>&5
                   9910:        fi
                   9911:        $RM conftest*
                   9912: 
                   9913: fi
                   9914: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
                   9915: $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
                   9916:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
1.1       misha    9917:       ;;
                   9918:     esac
1.5       moko     9919:   fi
                   9920:   ;;
                   9921: esac
                   9922: 
                   9923: 
                   9924: 
                   9925: 
                   9926: 
                   9927: 
                   9928: 
                   9929: 
                   9930: 
                   9931: 
                   9932: 
                   9933: 
                   9934: 
                   9935: 
                   9936: 
                   9937: 
                   9938: 
                   9939: 
                   9940: 
                   9941: 
                   9942: 
                   9943: 
                   9944: 
                   9945: 
                   9946: 
                   9947: 
                   9948: 
                   9949: 
                   9950: 
                   9951: 
                   9952: 
                   9953: 
                   9954: 
                   9955: 
                   9956: 
                   9957: 
                   9958: 
                   9959: 
                   9960: 
                   9961: 
                   9962: 
                   9963: 
                   9964: 
                   9965: 
                   9966: 
                   9967: 
                   9968: 
                   9969: 
                   9970: 
                   9971: 
                   9972: 
                   9973: 
                   9974: 
                   9975: 
                   9976: 
                   9977: 
                   9978: 
                   9979: 
                   9980: 
                   9981: 
                   9982: 
                   9983: 
                   9984: 
                   9985: 
                   9986: 
                   9987: 
                   9988: 
                   9989: 
                   9990: 
                   9991: 
                   9992: 
                   9993: 
                   9994: 
                   9995: 
                   9996: 
                   9997: 
                   9998: 
                   9999: 
                   10000: 
                   10001: 
                   10002: 
                   10003: 
                   10004: 
                   10005: 
                   10006: 
                   10007: 
                   10008: 
                   10009: 
                   10010: 
                   10011: 
                   10012: 
                   10013: 
                   10014: 
                   10015: 
                   10016: 
                   10017: 
                   10018: 
                   10019: 
                   10020: 
                   10021: 
                   10022: 
                   10023: 
                   10024: 
                   10025: 
                   10026: 
                   10027: 
                   10028: 
                   10029: 
                   10030: 
                   10031: 
                   10032: 
                   10033: 
                   10034: 
                   10035: 
                   10036: 
                   10037: 
                   10038: 
                   10039: 
                   10040: 
                   10041: 
                   10042: 
                   10043: 
                   10044: 
                   10045: 
                   10046: 
                   10047: 
                   10048: 
                   10049: 
1.1       misha    10050: 
                   10051: 
                   10052: 
                   10053: 
                   10054: 
                   10055: 
                   10056: 
                   10057: 
                   10058: 
                   10059: 
                   10060: 
                   10061: 
                   10062: 
                   10063: 
                   10064: 
                   10065: 
                   10066: 
                   10067: 
                   10068: 
                   10069: 
                   10070: 
                   10071: 
                   10072: 
                   10073: 
1.5       moko     10074:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
                   10075: $as_echo_n "checking dynamic linker characteristics... " >&6; }
1.1       misha    10076: 
1.5       moko     10077: if test "$GCC" = yes; then
                   10078:   case $host_os in
                   10079:     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
                   10080:     *) lt_awk_arg="/^libraries:/" ;;
                   10081:   esac
                   10082:   case $host_os in
                   10083:     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
                   10084:     *) lt_sed_strip_eq="s,=/,/,g" ;;
                   10085:   esac
                   10086:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
                   10087:   case $lt_search_path_spec in
                   10088:   *\;*)
                   10089:     # if the path contains ";" then we assume it to be the separator
                   10090:     # otherwise default to the standard path separator (i.e. ":") - it is
                   10091:     # assumed that no part of a normal pathname contains ";" but that should
                   10092:     # okay in the real world where ";" in dirpaths is itself problematic.
                   10093:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
1.1       misha    10094:     ;;
                   10095:   *)
1.5       moko     10096:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
1.1       misha    10097:     ;;
                   10098:   esac
1.5       moko     10099:   # Ok, now we have the path, separated by spaces, we can step through it
                   10100:   # and add multilib dir if necessary.
                   10101:   lt_tmp_lt_search_path_spec=
                   10102:   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
                   10103:   for lt_sys_path in $lt_search_path_spec; do
                   10104:     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
                   10105:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
                   10106:     else
                   10107:       test -d "$lt_sys_path" && \
                   10108:        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
                   10109:     fi
                   10110:   done
                   10111:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
                   10112: BEGIN {RS=" "; FS="/|\n";} {
                   10113:   lt_foo="";
                   10114:   lt_count=0;
                   10115:   for (lt_i = NF; lt_i > 0; lt_i--) {
                   10116:     if ($lt_i != "" && $lt_i != ".") {
                   10117:       if ($lt_i == "..") {
                   10118:         lt_count++;
                   10119:       } else {
                   10120:         if (lt_count == 0) {
                   10121:           lt_foo="/" $lt_i lt_foo;
                   10122:         } else {
                   10123:           lt_count--;
                   10124:         }
                   10125:       }
                   10126:     }
                   10127:   }
                   10128:   if (lt_foo != "") { lt_freq[lt_foo]++; }
                   10129:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
                   10130: }'`
                   10131:   # AWK program above erroneously prepends '/' to C:/dos/paths
                   10132:   # for these hosts.
                   10133:   case $host_os in
                   10134:     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
                   10135:       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
                   10136:   esac
                   10137:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
1.1       misha    10138: else
1.5       moko     10139:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
1.1       misha    10140: fi
                   10141: library_names_spec=
                   10142: libname_spec='lib$name'
                   10143: soname_spec=
1.5       moko     10144: shrext_cmds=".so"
1.1       misha    10145: postinstall_cmds=
                   10146: postuninstall_cmds=
                   10147: finish_cmds=
                   10148: finish_eval=
                   10149: shlibpath_var=
                   10150: shlibpath_overrides_runpath=unknown
                   10151: version_type=none
                   10152: dynamic_linker="$host_os ld.so"
                   10153: sys_lib_dlsearch_path_spec="/lib /usr/lib"
1.5       moko     10154: need_lib_prefix=unknown
                   10155: hardcode_into_libs=no
                   10156: 
                   10157: # when you set need_version to no, make sure it does not cause -set_version
                   10158: # flags to be left without arguments
                   10159: need_version=unknown
1.1       misha    10160: 
                   10161: case $host_os in
                   10162: aix3*)
1.5       moko     10163:   version_type=linux # correct to gnu/linux during the next big refactor
                   10164:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
1.1       misha    10165:   shlibpath_var=LIBPATH
                   10166: 
1.5       moko     10167:   # AIX 3 has no versioning support, so we append a major version to the name.
                   10168:   soname_spec='${libname}${release}${shared_ext}$major'
1.1       misha    10169:   ;;
                   10170: 
1.5       moko     10171: aix[4-9]*)
                   10172:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misha    10173:   need_lib_prefix=no
                   10174:   need_version=no
                   10175:   hardcode_into_libs=yes
                   10176:   if test "$host_cpu" = ia64; then
                   10177:     # AIX 5 supports IA64
1.5       moko     10178:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
1.1       misha    10179:     shlibpath_var=LD_LIBRARY_PATH
                   10180:   else
                   10181:     # With GCC up to 2.95.x, collect2 would create an import file
                   10182:     # for dependence libraries.  The import file would start with
                   10183:     # the line `#! .'.  This would cause the generated library to
                   10184:     # depend on `.', always an invalid library.  This was fixed in
                   10185:     # development snapshots of GCC prior to 3.0.
                   10186:     case $host_os in
                   10187:       aix4 | aix4.[01] | aix4.[01].*)
1.5       moko     10188:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   10189:           echo ' yes '
                   10190:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   10191:        :
                   10192:       else
                   10193:        can_build_shared=no
                   10194:       fi
                   10195:       ;;
1.1       misha    10196:     esac
1.5       moko     10197:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   10198:     # soname into executable. Probably we can add versioning support to
                   10199:     # collect2, so additional links can be useful in future.
1.1       misha    10200:     if test "$aix_use_runtimelinking" = yes; then
                   10201:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   10202:       # instead of lib<name>.a to let people know that these are not
                   10203:       # typical AIX shared libraries.
1.5       moko     10204:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.1       misha    10205:     else
                   10206:       # We preserve .a as extension for shared libraries through AIX4.2
                   10207:       # and later when we are not doing run time linking.
                   10208:       library_names_spec='${libname}${release}.a $libname.a'
1.5       moko     10209:       soname_spec='${libname}${release}${shared_ext}$major'
1.1       misha    10210:     fi
                   10211:     shlibpath_var=LIBPATH
                   10212:   fi
                   10213:   ;;
                   10214: 
                   10215: amigaos*)
1.5       moko     10216:   case $host_cpu in
                   10217:   powerpc)
                   10218:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   10219:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   10220:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10221:     ;;
                   10222:   m68k)
                   10223:     library_names_spec='$libname.ixlibrary $libname.a'
                   10224:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   10225:     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'
                   10226:     ;;
                   10227:   esac
1.1       misha    10228:   ;;
                   10229: 
                   10230: beos*)
1.5       moko     10231:   library_names_spec='${libname}${shared_ext}'
1.1       misha    10232:   dynamic_linker="$host_os ld.so"
                   10233:   shlibpath_var=LIBRARY_PATH
                   10234:   ;;
                   10235: 
1.5       moko     10236: bsdi[45]*)
                   10237:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misha    10238:   need_version=no
1.5       moko     10239:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10240:   soname_spec='${libname}${release}${shared_ext}$major'
1.1       misha    10241:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   10242:   shlibpath_var=LD_LIBRARY_PATH
                   10243:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   10244:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   10245:   # the default ld.so.conf also contains /usr/contrib/lib and
                   10246:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   10247:   # libtool to hard-code these into programs
                   10248:   ;;
                   10249: 
1.5       moko     10250: cygwin* | mingw* | pw32* | cegcc*)
1.1       misha    10251:   version_type=windows
1.5       moko     10252:   shrext_cmds=".dll"
1.1       misha    10253:   need_version=no
                   10254:   need_lib_prefix=no
1.5       moko     10255: 
                   10256:   case $GCC,$cc_basename in
                   10257:   yes,*)
                   10258:     # gcc
1.1       misha    10259:     library_names_spec='$libname.dll.a'
1.5       moko     10260:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   10261:     postinstall_cmds='base_file=`basename \${file}`~
                   10262:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
1.1       misha    10263:       dldir=$destdir/`dirname \$dlpath`~
                   10264:       test -d \$dldir || mkdir -p \$dldir~
1.5       moko     10265:       $install_prog $dir/$dlname \$dldir/$dlname~
                   10266:       chmod a+x \$dldir/$dlname~
                   10267:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   10268:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   10269:       fi'
                   10270:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
1.1       misha    10271:       dlpath=$dir/\$dldll~
1.5       moko     10272:        $RM \$dlpath'
                   10273:     shlibpath_overrides_runpath=yes
                   10274: 
                   10275:     case $host_os in
                   10276:     cygwin*)
                   10277:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   10278:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10279: 
                   10280:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
                   10281:       ;;
                   10282:     mingw* | cegcc*)
                   10283:       # MinGW DLLs use traditional 'lib' prefix
                   10284:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10285:       ;;
                   10286:     pw32*)
                   10287:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   10288:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10289:       ;;
                   10290:     esac
                   10291:     dynamic_linker='Win32 ld.exe'
1.1       misha    10292:     ;;
1.5       moko     10293: 
                   10294:   *,cl*)
                   10295:     # Native MSVC
                   10296:     libname_spec='$name'
                   10297:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10298:     library_names_spec='${libname}.dll.lib'
                   10299: 
                   10300:     case $build_os in
                   10301:     mingw*)
                   10302:       sys_lib_search_path_spec=
                   10303:       lt_save_ifs=$IFS
                   10304:       IFS=';'
                   10305:       for lt_path in $LIB
                   10306:       do
                   10307:         IFS=$lt_save_ifs
                   10308:         # Let DOS variable expansion print the short 8.3 style file name.
                   10309:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   10310:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   10311:       done
                   10312:       IFS=$lt_save_ifs
                   10313:       # Convert to MSYS style.
                   10314:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   10315:       ;;
                   10316:     cygwin*)
                   10317:       # Convert to unix form, then to dos form, then back to unix form
                   10318:       # but this time dos style (no spaces!) so that the unix form looks
                   10319:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   10320:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   10321:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   10322:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   10323:       ;;
                   10324:     *)
                   10325:       sys_lib_search_path_spec="$LIB"
                   10326:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   10327:         # It is most probably a Windows format PATH.
                   10328:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   10329:       else
                   10330:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   10331:       fi
                   10332:       # FIXME: find the short name or the path components, as spaces are
                   10333:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   10334:       ;;
                   10335:     esac
                   10336: 
                   10337:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   10338:     postinstall_cmds='base_file=`basename \${file}`~
                   10339:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   10340:       dldir=$destdir/`dirname \$dlpath`~
                   10341:       test -d \$dldir || mkdir -p \$dldir~
                   10342:       $install_prog $dir/$dlname \$dldir/$dlname'
                   10343:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   10344:       dlpath=$dir/\$dldll~
                   10345:        $RM \$dlpath'
                   10346:     shlibpath_overrides_runpath=yes
                   10347:     dynamic_linker='Win32 link.exe'
1.1       misha    10348:     ;;
1.5       moko     10349: 
1.1       misha    10350:   *)
1.5       moko     10351:     # Assume MSVC wrapper
                   10352:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   10353:     dynamic_linker='Win32 ld.exe'
1.1       misha    10354:     ;;
                   10355:   esac
                   10356:   # FIXME: first we should search . and the directory the executable is in
                   10357:   shlibpath_var=PATH
                   10358:   ;;
                   10359: 
                   10360: darwin* | rhapsody*)
                   10361:   dynamic_linker="$host_os dyld"
                   10362:   version_type=darwin
                   10363:   need_lib_prefix=no
                   10364:   need_version=no
1.5       moko     10365:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   10366:   soname_spec='${libname}${release}${major}$shared_ext'
1.1       misha    10367:   shlibpath_overrides_runpath=yes
                   10368:   shlibpath_var=DYLD_LIBRARY_PATH
1.5       moko     10369:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   10370: 
                   10371:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
                   10372:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
1.1       misha    10373:   ;;
                   10374: 
1.5       moko     10375: dgux*)
                   10376:   version_type=linux # correct to gnu/linux during the next big refactor
                   10377:   need_lib_prefix=no
                   10378:   need_version=no
                   10379:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   10380:   soname_spec='${libname}${release}${shared_ext}$major'
                   10381:   shlibpath_var=LD_LIBRARY_PATH
1.1       misha    10382:   ;;
                   10383: 
1.5       moko     10384: freebsd* | dragonfly*)
                   10385:   # DragonFly does not have aout.  When/if they implement a new
                   10386:   # versioning mechanism, adjust this.
                   10387:   if test -x /usr/bin/objformat; then
                   10388:     objformat=`/usr/bin/objformat`
                   10389:   else
                   10390:     case $host_os in
                   10391:     freebsd[23].*) objformat=aout ;;
                   10392:     *) objformat=elf ;;
                   10393:     esac
                   10394:   fi
1.1       misha    10395:   version_type=freebsd-$objformat
                   10396:   case $version_type in
                   10397:     freebsd-elf*)
1.5       moko     10398:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
1.1       misha    10399:       need_version=no
                   10400:       need_lib_prefix=no
                   10401:       ;;
                   10402:     freebsd-*)
1.5       moko     10403:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
1.1       misha    10404:       need_version=yes
                   10405:       ;;
                   10406:   esac
                   10407:   shlibpath_var=LD_LIBRARY_PATH
                   10408:   case $host_os in
1.5       moko     10409:   freebsd2.*)
                   10410:     shlibpath_overrides_runpath=yes
                   10411:     ;;
                   10412:   freebsd3.[01]* | freebsdelf3.[01]*)
1.1       misha    10413:     shlibpath_overrides_runpath=yes
1.5       moko     10414:     hardcode_into_libs=yes
1.1       misha    10415:     ;;
1.5       moko     10416:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   10417:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
1.1       misha    10418:     shlibpath_overrides_runpath=no
                   10419:     hardcode_into_libs=yes
                   10420:     ;;
1.5       moko     10421:   *) # from 4.6 on, and DragonFly
                   10422:     shlibpath_overrides_runpath=yes
                   10423:     hardcode_into_libs=yes
                   10424:     ;;
1.1       misha    10425:   esac
                   10426:   ;;
                   10427: 
                   10428: gnu*)
1.5       moko     10429:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misha    10430:   need_lib_prefix=no
                   10431:   need_version=no
1.5       moko     10432:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   10433:   soname_spec='${libname}${release}${shared_ext}$major'
1.1       misha    10434:   shlibpath_var=LD_LIBRARY_PATH
1.5       moko     10435:   shlibpath_overrides_runpath=no
                   10436:   hardcode_into_libs=yes
                   10437:   ;;
                   10438: 
                   10439: haiku*)
                   10440:   version_type=linux # correct to gnu/linux during the next big refactor
                   10441:   need_lib_prefix=no
                   10442:   need_version=no
                   10443:   dynamic_linker="$host_os runtime_loader"
                   10444:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   10445:   soname_spec='${libname}${release}${shared_ext}$major'
                   10446:   shlibpath_var=LIBRARY_PATH
                   10447:   shlibpath_overrides_runpath=yes
                   10448:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
1.1       misha    10449:   hardcode_into_libs=yes
                   10450:   ;;
                   10451: 
                   10452: hpux9* | hpux10* | hpux11*)
                   10453:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   10454:   # link against other versions.
                   10455:   version_type=sunos
                   10456:   need_lib_prefix=no
                   10457:   need_version=no
1.5       moko     10458:   case $host_cpu in
                   10459:   ia64*)
                   10460:     shrext_cmds='.so'
                   10461:     hardcode_into_libs=yes
                   10462:     dynamic_linker="$host_os dld.so"
                   10463:     shlibpath_var=LD_LIBRARY_PATH
                   10464:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   10465:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10466:     soname_spec='${libname}${release}${shared_ext}$major'
                   10467:     if test "X$HPUX_IA64_MODE" = X32; then
                   10468:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   10469:     else
                   10470:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   10471:     fi
                   10472:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   10473:     ;;
                   10474:   hppa*64*)
                   10475:     shrext_cmds='.sl'
                   10476:     hardcode_into_libs=yes
                   10477:     dynamic_linker="$host_os dld.sl"
                   10478:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   10479:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   10480:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10481:     soname_spec='${libname}${release}${shared_ext}$major'
                   10482:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   10483:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   10484:     ;;
                   10485:   *)
                   10486:     shrext_cmds='.sl'
                   10487:     dynamic_linker="$host_os dld.sl"
                   10488:     shlibpath_var=SHLIB_PATH
                   10489:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   10490:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10491:     soname_spec='${libname}${release}${shared_ext}$major'
                   10492:     ;;
                   10493:   esac
                   10494:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
1.1       misha    10495:   postinstall_cmds='chmod 555 $lib'
1.5       moko     10496:   # or fails outright, so override atomically:
                   10497:   install_override_mode=555
                   10498:   ;;
                   10499: 
                   10500: interix[3-9]*)
                   10501:   version_type=linux # correct to gnu/linux during the next big refactor
                   10502:   need_lib_prefix=no
                   10503:   need_version=no
                   10504:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   10505:   soname_spec='${libname}${release}${shared_ext}$major'
                   10506:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   10507:   shlibpath_var=LD_LIBRARY_PATH
                   10508:   shlibpath_overrides_runpath=no
                   10509:   hardcode_into_libs=yes
1.1       misha    10510:   ;;
                   10511: 
                   10512: irix5* | irix6* | nonstopux*)
                   10513:   case $host_os in
                   10514:     nonstopux*) version_type=nonstopux ;;
1.5       moko     10515:     *)
                   10516:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   10517:                version_type=linux # correct to gnu/linux during the next big refactor
                   10518:        else
                   10519:                version_type=irix
                   10520:        fi ;;
1.1       misha    10521:   esac
                   10522:   need_lib_prefix=no
                   10523:   need_version=no
1.5       moko     10524:   soname_spec='${libname}${release}${shared_ext}$major'
                   10525:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
1.1       misha    10526:   case $host_os in
                   10527:   irix5* | nonstopux*)
                   10528:     libsuff= shlibsuff=
                   10529:     ;;
                   10530:   *)
                   10531:     case $LD in # libtool.m4 will add one of these switches to LD
1.5       moko     10532:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   10533:       libsuff= shlibsuff= libmagic=32-bit;;
                   10534:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   10535:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   10536:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   10537:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
1.1       misha    10538:     *) libsuff= shlibsuff= libmagic=never-match;;
                   10539:     esac
                   10540:     ;;
                   10541:   esac
                   10542:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   10543:   shlibpath_overrides_runpath=no
                   10544:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   10545:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
1.5       moko     10546:   hardcode_into_libs=yes
1.1       misha    10547:   ;;
                   10548: 
                   10549: # No shared lib support for Linux oldld, aout, or coff.
1.5       moko     10550: linux*oldld* | linux*aout* | linux*coff*)
1.1       misha    10551:   dynamic_linker=no
                   10552:   ;;
                   10553: 
1.5       moko     10554: # This must be glibc/ELF.
                   10555: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   10556:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misha    10557:   need_lib_prefix=no
                   10558:   need_version=no
1.5       moko     10559:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10560:   soname_spec='${libname}${release}${shared_ext}$major'
1.1       misha    10561:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   10562:   shlibpath_var=LD_LIBRARY_PATH
                   10563:   shlibpath_overrides_runpath=no
1.5       moko     10564: 
                   10565:   # Some binutils ld are patched to set DT_RUNPATH
                   10566:   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
                   10567:   $as_echo_n "(cached) " >&6
                   10568: else
                   10569:   lt_cv_shlibpath_overrides_runpath=no
                   10570:     save_LDFLAGS=$LDFLAGS
                   10571:     save_libdir=$libdir
                   10572:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
                   10573:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
                   10574:     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   10575: /* end confdefs.h.  */
                   10576: 
                   10577: int
                   10578: main ()
                   10579: {
                   10580: 
                   10581:   ;
                   10582:   return 0;
                   10583: }
                   10584: _ACEOF
                   10585: if ac_fn_c_try_link "$LINENO"; then :
                   10586:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
                   10587:   lt_cv_shlibpath_overrides_runpath=yes
                   10588: fi
                   10589: fi
                   10590: rm -f core conftest.err conftest.$ac_objext \
                   10591:     conftest$ac_exeext conftest.$ac_ext
                   10592:     LDFLAGS=$save_LDFLAGS
                   10593:     libdir=$save_libdir
                   10594: 
                   10595: fi
                   10596: 
                   10597:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   10598: 
1.1       misha    10599:   # This implies no fast_install, which is unacceptable.
                   10600:   # Some rework will be needed to allow for fast_install
                   10601:   # before this can be enabled.
                   10602:   hardcode_into_libs=yes
                   10603: 
1.5       moko     10604:   # Append ld.so.conf contents to the search path
                   10605:   if test -f /etc/ld.so.conf; then
                   10606:     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' ' '`
                   10607:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   10608:   fi
                   10609: 
1.1       misha    10610:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   10611:   # powerpc, because MkLinux only supported shared libraries with the
                   10612:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   10613:   # most powerpc-linux boxes support dynamic linking these days and
                   10614:   # people can always --disable-shared, the test was removed, and we
                   10615:   # assume the GNU/Linux dynamic linker is in use.
                   10616:   dynamic_linker='GNU/Linux ld.so'
                   10617:   ;;
                   10618: 
                   10619: netbsd*)
                   10620:   version_type=sunos
                   10621:   need_lib_prefix=no
                   10622:   need_version=no
1.5       moko     10623:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   10624:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1.1       misha    10625:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   10626:     dynamic_linker='NetBSD (a.out) ld.so'
                   10627:   else
1.5       moko     10628:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   10629:     soname_spec='${libname}${release}${shared_ext}$major'
1.1       misha    10630:     dynamic_linker='NetBSD ld.elf_so'
                   10631:   fi
                   10632:   shlibpath_var=LD_LIBRARY_PATH
                   10633:   shlibpath_overrides_runpath=yes
                   10634:   hardcode_into_libs=yes
                   10635:   ;;
                   10636: 
                   10637: newsos6)
1.5       moko     10638:   version_type=linux # correct to gnu/linux during the next big refactor
                   10639:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.1       misha    10640:   shlibpath_var=LD_LIBRARY_PATH
                   10641:   shlibpath_overrides_runpath=yes
                   10642:   ;;
                   10643: 
1.5       moko     10644: *nto* | *qnx*)
                   10645:   version_type=qnx
                   10646:   need_lib_prefix=no
                   10647:   need_version=no
                   10648:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10649:   soname_spec='${libname}${release}${shared_ext}$major'
                   10650:   shlibpath_var=LD_LIBRARY_PATH
                   10651:   shlibpath_overrides_runpath=no
                   10652:   hardcode_into_libs=yes
                   10653:   dynamic_linker='ldqnx.so'
                   10654:   ;;
                   10655: 
1.1       misha    10656: openbsd*)
                   10657:   version_type=sunos
1.5       moko     10658:   sys_lib_dlsearch_path_spec="/usr/lib"
1.1       misha    10659:   need_lib_prefix=no
1.5       moko     10660:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   10661:   case $host_os in
                   10662:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   10663:     *)                         need_version=no  ;;
                   10664:   esac
                   10665:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   10666:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   10667:   shlibpath_var=LD_LIBRARY_PATH
                   10668:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   10669:     case $host_os in
                   10670:       openbsd2.[89] | openbsd2.[89].*)
                   10671:        shlibpath_overrides_runpath=no
                   10672:        ;;
                   10673:       *)
                   10674:        shlibpath_overrides_runpath=yes
                   10675:        ;;
                   10676:       esac
1.1       misha    10677:   else
                   10678:     shlibpath_overrides_runpath=yes
                   10679:   fi
                   10680:   ;;
                   10681: 
                   10682: os2*)
                   10683:   libname_spec='$name'
1.5       moko     10684:   shrext_cmds=".dll"
1.1       misha    10685:   need_lib_prefix=no
1.5       moko     10686:   library_names_spec='$libname${shared_ext} $libname.a'
1.1       misha    10687:   dynamic_linker='OS/2 ld.exe'
                   10688:   shlibpath_var=LIBPATH
                   10689:   ;;
                   10690: 
                   10691: osf3* | osf4* | osf5*)
                   10692:   version_type=osf
1.5       moko     10693:   need_lib_prefix=no
1.1       misha    10694:   need_version=no
1.5       moko     10695:   soname_spec='${libname}${release}${shared_ext}$major'
                   10696:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.1       misha    10697:   shlibpath_var=LD_LIBRARY_PATH
                   10698:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   10699:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   10700:   ;;
                   10701: 
1.5       moko     10702: rdos*)
                   10703:   dynamic_linker=no
1.1       misha    10704:   ;;
                   10705: 
                   10706: solaris*)
1.5       moko     10707:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misha    10708:   need_lib_prefix=no
                   10709:   need_version=no
1.5       moko     10710:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10711:   soname_spec='${libname}${release}${shared_ext}$major'
1.1       misha    10712:   shlibpath_var=LD_LIBRARY_PATH
                   10713:   shlibpath_overrides_runpath=yes
                   10714:   hardcode_into_libs=yes
                   10715:   # ldd complains unless libraries are executable
                   10716:   postinstall_cmds='chmod +x $lib'
                   10717:   ;;
                   10718: 
                   10719: sunos4*)
                   10720:   version_type=sunos
1.5       moko     10721:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
1.1       misha    10722:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   10723:   shlibpath_var=LD_LIBRARY_PATH
                   10724:   shlibpath_overrides_runpath=yes
                   10725:   if test "$with_gnu_ld" = yes; then
                   10726:     need_lib_prefix=no
                   10727:   fi
                   10728:   need_version=yes
                   10729:   ;;
                   10730: 
1.5       moko     10731: sysv4 | sysv4.3*)
                   10732:   version_type=linux # correct to gnu/linux during the next big refactor
                   10733:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10734:   soname_spec='${libname}${release}${shared_ext}$major'
1.1       misha    10735:   shlibpath_var=LD_LIBRARY_PATH
                   10736:   case $host_vendor in
                   10737:     sni)
                   10738:       shlibpath_overrides_runpath=no
                   10739:       need_lib_prefix=no
                   10740:       runpath_var=LD_RUN_PATH
                   10741:       ;;
                   10742:     siemens)
                   10743:       need_lib_prefix=no
                   10744:       ;;
                   10745:     motorola)
                   10746:       need_lib_prefix=no
                   10747:       need_version=no
                   10748:       shlibpath_overrides_runpath=no
                   10749:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   10750:       ;;
                   10751:   esac
                   10752:   ;;
                   10753: 
1.5       moko     10754: sysv4*MP*)
                   10755:   if test -d /usr/nec ;then
                   10756:     version_type=linux # correct to gnu/linux during the next big refactor
                   10757:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   10758:     soname_spec='$libname${shared_ext}.$major'
                   10759:     shlibpath_var=LD_LIBRARY_PATH
                   10760:   fi
                   10761:   ;;
                   10762: 
                   10763: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   10764:   version_type=freebsd-elf
                   10765:   need_lib_prefix=no
                   10766:   need_version=no
                   10767:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   10768:   soname_spec='${libname}${release}${shared_ext}$major'
                   10769:   shlibpath_var=LD_LIBRARY_PATH
                   10770:   shlibpath_overrides_runpath=yes
                   10771:   hardcode_into_libs=yes
                   10772:   if test "$with_gnu_ld" = yes; then
                   10773:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   10774:   else
                   10775:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   10776:     case $host_os in
                   10777:       sco3.2v5*)
                   10778:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   10779:        ;;
                   10780:     esac
                   10781:   fi
                   10782:   sys_lib_dlsearch_path_spec='/usr/lib'
1.1       misha    10783:   ;;
                   10784: 
1.5       moko     10785: tpf*)
                   10786:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   10787:   version_type=linux # correct to gnu/linux during the next big refactor
1.1       misha    10788:   need_lib_prefix=no
                   10789:   need_version=no
1.5       moko     10790:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1.1       misha    10791:   shlibpath_var=LD_LIBRARY_PATH
1.5       moko     10792:   shlibpath_overrides_runpath=no
                   10793:   hardcode_into_libs=yes
1.1       misha    10794:   ;;
                   10795: 
1.5       moko     10796: uts4*)
                   10797:   version_type=linux # correct to gnu/linux during the next big refactor
                   10798:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10799:   soname_spec='${libname}${release}${shared_ext}$major'
                   10800:   shlibpath_var=LD_LIBRARY_PATH
1.1       misha    10801:   ;;
                   10802: 
                   10803: *)
                   10804:   dynamic_linker=no
                   10805:   ;;
                   10806: esac
1.5       moko     10807: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
                   10808: $as_echo "$dynamic_linker" >&6; }
1.1       misha    10809: test "$dynamic_linker" = no && can_build_shared=no
                   10810: 
1.5       moko     10811: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   10812: if test "$GCC" = yes; then
                   10813:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   10814: fi
                   10815: 
                   10816: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   10817:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   10818: fi
                   10819: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   10820:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   10821: fi
                   10822: 
                   10823: 
                   10824: 
                   10825: 
                   10826: 
                   10827: 
                   10828: 
                   10829: 
                   10830: 
                   10831: 
                   10832: 
                   10833: 
                   10834: 
                   10835: 
                   10836: 
                   10837: 
                   10838: 
                   10839: 
                   10840: 
                   10841: 
                   10842: 
                   10843: 
                   10844: 
                   10845: 
                   10846: 
                   10847: 
                   10848: 
                   10849: 
                   10850: 
                   10851: 
                   10852: 
                   10853: 
                   10854: 
                   10855: 
                   10856: 
                   10857: 
                   10858: 
                   10859: 
                   10860: 
                   10861: 
                   10862: 
                   10863: 
                   10864: 
                   10865: 
                   10866: 
                   10867: 
                   10868: 
                   10869: 
                   10870: 
                   10871: 
                   10872: 
                   10873: 
                   10874: 
                   10875: 
                   10876: 
                   10877: 
                   10878: 
                   10879: 
                   10880: 
                   10881: 
                   10882: 
                   10883: 
                   10884: 
                   10885: 
                   10886: 
                   10887: 
                   10888: 
                   10889: 
                   10890: 
                   10891: 
                   10892: 
                   10893: 
                   10894: 
                   10895: 
                   10896: 
                   10897: 
                   10898: 
                   10899: 
                   10900: 
                   10901: 
                   10902: 
                   10903: 
                   10904: 
                   10905: 
                   10906: 
                   10907: 
                   10908: 
                   10909: 
                   10910: 
                   10911: 
                   10912: 
                   10913: 
                   10914:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
                   10915: $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
                   10916: hardcode_action=
                   10917: if test -n "$hardcode_libdir_flag_spec" ||
                   10918:    test -n "$runpath_var" ||
                   10919:    test "X$hardcode_automatic" = "Xyes" ; then
1.1       misha    10920: 
1.5       moko     10921:   # We can hardcode non-existent directories.
                   10922:   if test "$hardcode_direct" != no &&
                   10923:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   10924:      # have to relink, otherwise we might link with an installed library
                   10925:      # when we should be linking with a yet-to-be-installed one
                   10926:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
                   10927:      test "$hardcode_minus_L" != no; then
                   10928:     # Linking always hardcodes the temporary library directory.
                   10929:     hardcode_action=relink
                   10930:   else
                   10931:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   10932:     hardcode_action=immediate
1.1       misha    10933:   fi
1.5       moko     10934: else
                   10935:   # We cannot hardcode anything, or else we can only hardcode existing
                   10936:   # directories.
                   10937:   hardcode_action=unsupported
                   10938: fi
                   10939: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
                   10940: $as_echo "$hardcode_action" >&6; }
1.1       misha    10941: 
1.5       moko     10942: if test "$hardcode_action" = relink ||
                   10943:    test "$inherit_rpath" = yes; then
1.1       misha    10944:   # Fast installation is not supported
                   10945:   enable_fast_install=no
                   10946: elif test "$shlibpath_overrides_runpath" = yes ||
                   10947:      test "$enable_shared" = no; then
                   10948:   # Fast installation is not necessary
                   10949:   enable_fast_install=needless
                   10950: fi
                   10951: 
                   10952: 
1.5       moko     10953: 
                   10954: 
                   10955: 
                   10956: 
                   10957:   if test "x$enable_dlopen" != xyes; then
1.1       misha    10958:   enable_dlopen=unknown
                   10959:   enable_dlopen_self=unknown
                   10960:   enable_dlopen_self_static=unknown
                   10961: else
                   10962:   lt_cv_dlopen=no
                   10963:   lt_cv_dlopen_libs=
                   10964: 
                   10965:   case $host_os in
                   10966:   beos*)
                   10967:     lt_cv_dlopen="load_add_on"
                   10968:     lt_cv_dlopen_libs=
                   10969:     lt_cv_dlopen_self=yes
                   10970:     ;;
                   10971: 
1.5       moko     10972:   mingw* | pw32* | cegcc*)
1.1       misha    10973:     lt_cv_dlopen="LoadLibrary"
                   10974:     lt_cv_dlopen_libs=
1.5       moko     10975:     ;;
                   10976: 
                   10977:   cygwin*)
                   10978:     lt_cv_dlopen="dlopen"
                   10979:     lt_cv_dlopen_libs=
                   10980:     ;;
1.1       misha    10981: 
1.5       moko     10982:   darwin*)
                   10983:   # if libdl is installed we need to link against it
                   10984:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   10985: $as_echo_n "checking for dlopen in -ldl... " >&6; }
                   10986: if ${ac_cv_lib_dl_dlopen+:} false; then :
                   10987:   $as_echo_n "(cached) " >&6
1.1       misha    10988: else
1.5       moko     10989:   ac_check_lib_save_LIBS=$LIBS
                   10990: LIBS="-ldl  $LIBS"
                   10991: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misha    10992: /* end confdefs.h.  */
1.5       moko     10993: 
                   10994: /* Override any GCC internal prototype to avoid an error.
                   10995:    Use char because int might match the return type of a GCC
                   10996:    builtin and then its argument prototype would still apply.  */
1.1       misha    10997: #ifdef __cplusplus
                   10998: extern "C"
                   10999: #endif
1.5       moko     11000: char dlopen ();
1.1       misha    11001: int
                   11002: main ()
                   11003: {
1.5       moko     11004: return dlopen ();
1.1       misha    11005:   ;
                   11006:   return 0;
                   11007: }
                   11008: _ACEOF
1.5       moko     11009: if ac_fn_c_try_link "$LINENO"; then :
                   11010:   ac_cv_lib_dl_dlopen=yes
                   11011: else
                   11012:   ac_cv_lib_dl_dlopen=no
                   11013: fi
                   11014: rm -f core conftest.err conftest.$ac_objext \
                   11015:     conftest$ac_exeext conftest.$ac_ext
                   11016: LIBS=$ac_check_lib_save_LIBS
                   11017: fi
                   11018: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   11019: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
                   11020: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
                   11021:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
1.1       misha    11022: else
                   11023: 
1.5       moko     11024:     lt_cv_dlopen="dyld"
                   11025:     lt_cv_dlopen_libs=
                   11026:     lt_cv_dlopen_self=yes
                   11027: 
1.1       misha    11028: fi
1.5       moko     11029: 
                   11030:     ;;
                   11031: 
                   11032:   *)
                   11033:     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
                   11034: if test "x$ac_cv_func_shl_load" = xyes; then :
1.1       misha    11035:   lt_cv_dlopen="shl_load"
                   11036: else
1.5       moko     11037:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   11038: $as_echo_n "checking for shl_load in -ldld... " >&6; }
                   11039: if ${ac_cv_lib_dld_shl_load+:} false; then :
                   11040:   $as_echo_n "(cached) " >&6
1.1       misha    11041: else
                   11042:   ac_check_lib_save_LIBS=$LIBS
                   11043: LIBS="-ldld  $LIBS"
1.5       moko     11044: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misha    11045: /* end confdefs.h.  */
                   11046: 
1.5       moko     11047: /* Override any GCC internal prototype to avoid an error.
                   11048:    Use char because int might match the return type of a GCC
                   11049:    builtin and then its argument prototype would still apply.  */
1.1       misha    11050: #ifdef __cplusplus
                   11051: extern "C"
                   11052: #endif
                   11053: char shl_load ();
                   11054: int
                   11055: main ()
                   11056: {
1.5       moko     11057: return shl_load ();
1.1       misha    11058:   ;
                   11059:   return 0;
                   11060: }
                   11061: _ACEOF
1.5       moko     11062: if ac_fn_c_try_link "$LINENO"; then :
1.1       misha    11063:   ac_cv_lib_dld_shl_load=yes
                   11064: else
1.5       moko     11065:   ac_cv_lib_dld_shl_load=no
1.1       misha    11066: fi
1.5       moko     11067: rm -f core conftest.err conftest.$ac_objext \
                   11068:     conftest$ac_exeext conftest.$ac_ext
1.1       misha    11069: LIBS=$ac_check_lib_save_LIBS
                   11070: fi
1.5       moko     11071: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   11072: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
                   11073: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
                   11074:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
1.1       misha    11075: else
1.5       moko     11076:   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
                   11077: if test "x$ac_cv_func_dlopen" = xyes; then :
1.1       misha    11078:   lt_cv_dlopen="dlopen"
                   11079: else
1.5       moko     11080:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
                   11081: $as_echo_n "checking for dlopen in -ldl... " >&6; }
                   11082: if ${ac_cv_lib_dl_dlopen+:} false; then :
                   11083:   $as_echo_n "(cached) " >&6
1.1       misha    11084: else
                   11085:   ac_check_lib_save_LIBS=$LIBS
                   11086: LIBS="-ldl  $LIBS"
1.5       moko     11087: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misha    11088: /* end confdefs.h.  */
                   11089: 
1.5       moko     11090: /* Override any GCC internal prototype to avoid an error.
                   11091:    Use char because int might match the return type of a GCC
                   11092:    builtin and then its argument prototype would still apply.  */
1.1       misha    11093: #ifdef __cplusplus
                   11094: extern "C"
                   11095: #endif
                   11096: char dlopen ();
                   11097: int
                   11098: main ()
                   11099: {
1.5       moko     11100: return dlopen ();
1.1       misha    11101:   ;
                   11102:   return 0;
                   11103: }
                   11104: _ACEOF
1.5       moko     11105: if ac_fn_c_try_link "$LINENO"; then :
1.1       misha    11106:   ac_cv_lib_dl_dlopen=yes
                   11107: else
1.5       moko     11108:   ac_cv_lib_dl_dlopen=no
1.1       misha    11109: fi
1.5       moko     11110: rm -f core conftest.err conftest.$ac_objext \
                   11111:     conftest$ac_exeext conftest.$ac_ext
1.1       misha    11112: LIBS=$ac_check_lib_save_LIBS
                   11113: fi
1.5       moko     11114: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
                   11115: $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
                   11116: if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
1.1       misha    11117:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   11118: else
1.5       moko     11119:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   11120: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
                   11121: if ${ac_cv_lib_svld_dlopen+:} false; then :
                   11122:   $as_echo_n "(cached) " >&6
1.1       misha    11123: else
                   11124:   ac_check_lib_save_LIBS=$LIBS
                   11125: LIBS="-lsvld  $LIBS"
1.5       moko     11126: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misha    11127: /* end confdefs.h.  */
                   11128: 
1.5       moko     11129: /* Override any GCC internal prototype to avoid an error.
                   11130:    Use char because int might match the return type of a GCC
                   11131:    builtin and then its argument prototype would still apply.  */
1.1       misha    11132: #ifdef __cplusplus
                   11133: extern "C"
                   11134: #endif
                   11135: char dlopen ();
                   11136: int
                   11137: main ()
                   11138: {
1.5       moko     11139: return dlopen ();
1.1       misha    11140:   ;
                   11141:   return 0;
                   11142: }
                   11143: _ACEOF
1.5       moko     11144: if ac_fn_c_try_link "$LINENO"; then :
1.1       misha    11145:   ac_cv_lib_svld_dlopen=yes
                   11146: else
1.5       moko     11147:   ac_cv_lib_svld_dlopen=no
1.1       misha    11148: fi
1.5       moko     11149: rm -f core conftest.err conftest.$ac_objext \
                   11150:     conftest$ac_exeext conftest.$ac_ext
1.1       misha    11151: LIBS=$ac_check_lib_save_LIBS
                   11152: fi
1.5       moko     11153: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   11154: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
                   11155: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
1.1       misha    11156:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
                   11157: else
1.5       moko     11158:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   11159: $as_echo_n "checking for dld_link in -ldld... " >&6; }
                   11160: if ${ac_cv_lib_dld_dld_link+:} false; then :
                   11161:   $as_echo_n "(cached) " >&6
1.1       misha    11162: else
                   11163:   ac_check_lib_save_LIBS=$LIBS
                   11164: LIBS="-ldld  $LIBS"
1.5       moko     11165: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misha    11166: /* end confdefs.h.  */
                   11167: 
1.5       moko     11168: /* Override any GCC internal prototype to avoid an error.
                   11169:    Use char because int might match the return type of a GCC
                   11170:    builtin and then its argument prototype would still apply.  */
1.1       misha    11171: #ifdef __cplusplus
                   11172: extern "C"
                   11173: #endif
                   11174: char dld_link ();
                   11175: int
                   11176: main ()
                   11177: {
1.5       moko     11178: return dld_link ();
1.1       misha    11179:   ;
                   11180:   return 0;
                   11181: }
                   11182: _ACEOF
1.5       moko     11183: if ac_fn_c_try_link "$LINENO"; then :
1.1       misha    11184:   ac_cv_lib_dld_dld_link=yes
                   11185: else
1.5       moko     11186:   ac_cv_lib_dld_dld_link=no
1.1       misha    11187: fi
1.5       moko     11188: rm -f core conftest.err conftest.$ac_objext \
                   11189:     conftest$ac_exeext conftest.$ac_ext
1.1       misha    11190: LIBS=$ac_check_lib_save_LIBS
                   11191: fi
1.5       moko     11192: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   11193: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
                   11194: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
                   11195:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
1.1       misha    11196: fi
                   11197: 
                   11198: 
                   11199: fi
                   11200: 
                   11201: 
                   11202: fi
                   11203: 
                   11204: 
                   11205: fi
                   11206: 
                   11207: 
                   11208: fi
                   11209: 
                   11210: 
                   11211: fi
                   11212: 
                   11213:     ;;
                   11214:   esac
                   11215: 
                   11216:   if test "x$lt_cv_dlopen" != xno; then
                   11217:     enable_dlopen=yes
                   11218:   else
                   11219:     enable_dlopen=no
                   11220:   fi
                   11221: 
                   11222:   case $lt_cv_dlopen in
                   11223:   dlopen)
                   11224:     save_CPPFLAGS="$CPPFLAGS"
1.5       moko     11225:     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
1.1       misha    11226: 
                   11227:     save_LDFLAGS="$LDFLAGS"
1.5       moko     11228:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
1.1       misha    11229: 
                   11230:     save_LIBS="$LIBS"
                   11231:     LIBS="$lt_cv_dlopen_libs $LIBS"
                   11232: 
1.5       moko     11233:     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
                   11234: $as_echo_n "checking whether a program can dlopen itself... " >&6; }
                   11235: if ${lt_cv_dlopen_self+:} false; then :
                   11236:   $as_echo_n "(cached) " >&6
1.1       misha    11237: else
                   11238:          if test "$cross_compiling" = yes; then :
                   11239:   lt_cv_dlopen_self=cross
                   11240: else
1.5       moko     11241:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1.1       misha    11242:   lt_status=$lt_dlunknown
1.5       moko     11243:   cat > conftest.$ac_ext <<_LT_EOF
                   11244: #line $LINENO "configure"
1.1       misha    11245: #include "confdefs.h"
                   11246: 
                   11247: #if HAVE_DLFCN_H
                   11248: #include <dlfcn.h>
                   11249: #endif
                   11250: 
                   11251: #include <stdio.h>
                   11252: 
                   11253: #ifdef RTLD_GLOBAL
                   11254: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   11255: #else
                   11256: #  ifdef DL_GLOBAL
                   11257: #    define LT_DLGLOBAL                DL_GLOBAL
                   11258: #  else
                   11259: #    define LT_DLGLOBAL                0
                   11260: #  endif
                   11261: #endif
                   11262: 
                   11263: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   11264:    find out it does not work in some platform. */
                   11265: #ifndef LT_DLLAZY_OR_NOW
                   11266: #  ifdef RTLD_LAZY
                   11267: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   11268: #  else
                   11269: #    ifdef DL_LAZY
                   11270: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   11271: #    else
                   11272: #      ifdef RTLD_NOW
                   11273: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   11274: #      else
                   11275: #        ifdef DL_NOW
                   11276: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   11277: #        else
                   11278: #          define LT_DLLAZY_OR_NOW     0
                   11279: #        endif
                   11280: #      endif
                   11281: #    endif
                   11282: #  endif
                   11283: #endif
                   11284: 
1.5       moko     11285: /* When -fvisbility=hidden is used, assume the code has been annotated
                   11286:    correspondingly for the symbols needed.  */
                   11287: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   11288: int fnord () __attribute__((visibility("default")));
1.1       misha    11289: #endif
                   11290: 
1.5       moko     11291: int fnord () { return 42; }
1.1       misha    11292: int main ()
                   11293: {
                   11294:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   11295:   int status = $lt_dlunknown;
                   11296: 
                   11297:   if (self)
                   11298:     {
                   11299:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
1.5       moko     11300:       else
                   11301:         {
                   11302:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   11303:           else puts (dlerror ());
                   11304:        }
1.1       misha    11305:       /* dlclose (self); */
                   11306:     }
1.5       moko     11307:   else
                   11308:     puts (dlerror ());
1.1       misha    11309: 
1.5       moko     11310:   return status;
1.1       misha    11311: }
1.5       moko     11312: _LT_EOF
                   11313:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.1       misha    11314:   (eval $ac_link) 2>&5
                   11315:   ac_status=$?
1.5       moko     11316:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   11317:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
                   11318:     (./conftest; exit; ) >&5 2>/dev/null
1.1       misha    11319:     lt_status=$?
                   11320:     case x$lt_status in
                   11321:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   11322:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
1.5       moko     11323:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
1.1       misha    11324:     esac
                   11325:   else :
                   11326:     # compilation failed
                   11327:     lt_cv_dlopen_self=no
                   11328:   fi
                   11329: fi
                   11330: rm -fr conftest*
                   11331: 
                   11332: 
                   11333: fi
1.5       moko     11334: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
                   11335: $as_echo "$lt_cv_dlopen_self" >&6; }
1.1       misha    11336: 
                   11337:     if test "x$lt_cv_dlopen_self" = xyes; then
1.5       moko     11338:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
                   11339:       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
                   11340: $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
                   11341: if ${lt_cv_dlopen_self_static+:} false; then :
                   11342:   $as_echo_n "(cached) " >&6
1.1       misha    11343: else
                   11344:          if test "$cross_compiling" = yes; then :
                   11345:   lt_cv_dlopen_self_static=cross
                   11346: else
1.5       moko     11347:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1.1       misha    11348:   lt_status=$lt_dlunknown
1.5       moko     11349:   cat > conftest.$ac_ext <<_LT_EOF
                   11350: #line $LINENO "configure"
1.1       misha    11351: #include "confdefs.h"
                   11352: 
                   11353: #if HAVE_DLFCN_H
                   11354: #include <dlfcn.h>
                   11355: #endif
                   11356: 
                   11357: #include <stdio.h>
                   11358: 
                   11359: #ifdef RTLD_GLOBAL
                   11360: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   11361: #else
                   11362: #  ifdef DL_GLOBAL
                   11363: #    define LT_DLGLOBAL                DL_GLOBAL
                   11364: #  else
                   11365: #    define LT_DLGLOBAL                0
                   11366: #  endif
                   11367: #endif
                   11368: 
                   11369: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   11370:    find out it does not work in some platform. */
                   11371: #ifndef LT_DLLAZY_OR_NOW
                   11372: #  ifdef RTLD_LAZY
                   11373: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   11374: #  else
                   11375: #    ifdef DL_LAZY
                   11376: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   11377: #    else
                   11378: #      ifdef RTLD_NOW
                   11379: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   11380: #      else
                   11381: #        ifdef DL_NOW
                   11382: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   11383: #        else
                   11384: #          define LT_DLLAZY_OR_NOW     0
                   11385: #        endif
                   11386: #      endif
                   11387: #    endif
                   11388: #  endif
                   11389: #endif
                   11390: 
1.5       moko     11391: /* When -fvisbility=hidden is used, assume the code has been annotated
                   11392:    correspondingly for the symbols needed.  */
                   11393: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   11394: int fnord () __attribute__((visibility("default")));
1.1       misha    11395: #endif
                   11396: 
1.5       moko     11397: int fnord () { return 42; }
1.1       misha    11398: int main ()
                   11399: {
                   11400:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   11401:   int status = $lt_dlunknown;
                   11402: 
                   11403:   if (self)
                   11404:     {
                   11405:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
1.5       moko     11406:       else
                   11407:         {
                   11408:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   11409:           else puts (dlerror ());
                   11410:        }
1.1       misha    11411:       /* dlclose (self); */
                   11412:     }
1.5       moko     11413:   else
                   11414:     puts (dlerror ());
1.1       misha    11415: 
1.5       moko     11416:   return status;
1.1       misha    11417: }
1.5       moko     11418: _LT_EOF
                   11419:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.1       misha    11420:   (eval $ac_link) 2>&5
                   11421:   ac_status=$?
1.5       moko     11422:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   11423:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
                   11424:     (./conftest; exit; ) >&5 2>/dev/null
1.1       misha    11425:     lt_status=$?
                   11426:     case x$lt_status in
                   11427:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   11428:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
1.5       moko     11429:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
1.1       misha    11430:     esac
                   11431:   else :
                   11432:     # compilation failed
                   11433:     lt_cv_dlopen_self_static=no
                   11434:   fi
                   11435: fi
                   11436: rm -fr conftest*
                   11437: 
                   11438: 
                   11439: fi
1.5       moko     11440: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
                   11441: $as_echo "$lt_cv_dlopen_self_static" >&6; }
1.1       misha    11442:     fi
                   11443: 
                   11444:     CPPFLAGS="$save_CPPFLAGS"
                   11445:     LDFLAGS="$save_LDFLAGS"
                   11446:     LIBS="$save_LIBS"
                   11447:     ;;
                   11448:   esac
                   11449: 
                   11450:   case $lt_cv_dlopen_self in
                   11451:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   11452:   *) enable_dlopen_self=unknown ;;
                   11453:   esac
                   11454: 
                   11455:   case $lt_cv_dlopen_self_static in
                   11456:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   11457:   *) enable_dlopen_self_static=unknown ;;
                   11458:   esac
                   11459: fi
                   11460: 
                   11461: 
                   11462: 
                   11463: 
                   11464: 
                   11465: 
                   11466: 
                   11467: 
                   11468: 
                   11469: 
                   11470: 
                   11471: 
                   11472: 
                   11473: 
                   11474: 
                   11475: 
                   11476: 
1.5       moko     11477: striplib=
                   11478: old_striplib=
                   11479: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
                   11480: $as_echo_n "checking whether stripping libraries is possible... " >&6; }
                   11481: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
                   11482:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
                   11483:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
                   11484:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   11485: $as_echo "yes" >&6; }
                   11486: else
                   11487: # FIXME - insert some real tests, host_os isn't really good enough
                   11488:   case $host_os in
                   11489:   darwin*)
                   11490:     if test -n "$STRIP" ; then
                   11491:       striplib="$STRIP -x"
                   11492:       old_striplib="$STRIP -S"
                   11493:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
                   11494: $as_echo "yes" >&6; }
                   11495:     else
                   11496:       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   11497: $as_echo "no" >&6; }
                   11498:     fi
                   11499:     ;;
                   11500:   *)
                   11501:     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
                   11502: $as_echo "no" >&6; }
                   11503:     ;;
                   11504:   esac
                   11505: fi
1.1       misha    11506: 
                   11507: 
                   11508: 
                   11509: 
                   11510: 
                   11511: 
                   11512: 
                   11513: 
                   11514: 
                   11515: 
                   11516: 
                   11517: 
1.5       moko     11518:   # Report which library types will actually be built
                   11519:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
                   11520: $as_echo_n "checking if libtool supports shared libraries... " >&6; }
                   11521:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
                   11522: $as_echo "$can_build_shared" >&6; }
1.1       misha    11523: 
1.5       moko     11524:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
                   11525: $as_echo_n "checking whether to build shared libraries... " >&6; }
                   11526:   test "$can_build_shared" = "no" && enable_shared=no
1.1       misha    11527: 
1.5       moko     11528:   # On AIX, shared libraries and static libraries use the same namespace, and
                   11529:   # are all built from PIC.
                   11530:   case $host_os in
                   11531:   aix3*)
                   11532:     test "$enable_shared" = yes && enable_static=no
                   11533:     if test -n "$RANLIB"; then
                   11534:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   11535:       postinstall_cmds='$RANLIB $lib'
                   11536:     fi
                   11537:     ;;
1.1       misha    11538: 
1.5       moko     11539:   aix[4-9]*)
                   11540:     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
                   11541:       test "$enable_shared" = yes && enable_static=no
                   11542:     fi
                   11543:     ;;
                   11544:   esac
                   11545:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
                   11546: $as_echo "$enable_shared" >&6; }
1.1       misha    11547: 
1.5       moko     11548:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
                   11549: $as_echo_n "checking whether to build static libraries... " >&6; }
                   11550:   # Make sure either enable_shared or enable_static is yes.
                   11551:   test "$enable_shared" = yes || enable_static=yes
                   11552:   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
                   11553: $as_echo "$enable_static" >&6; }
1.1       misha    11554: 
                   11555: 
                   11556: 
                   11557: 
1.5       moko     11558: fi
                   11559: ac_ext=c
                   11560: ac_cpp='$CPP $CPPFLAGS'
                   11561: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   11562: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   11563: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misha    11564: 
1.5       moko     11565: CC="$lt_save_CC"
1.1       misha    11566: 
                   11567: 
                   11568: 
                   11569: 
                   11570: 
                   11571: 
                   11572: 
                   11573: 
                   11574: 
                   11575: 
                   11576: 
                   11577: 
                   11578: 
                   11579: 
                   11580: 
1.5       moko     11581:         ac_config_commands="$ac_config_commands libtool"
1.1       misha    11582: 
                   11583: 
                   11584: 
                   11585: 
1.5       moko     11586: # Only expand once:
1.1       misha    11587: 
                   11588: 
1.5       moko     11589: { $as_echo "$as_me:${as_lineno-$LINENO}: checking which extension is used for runtime loadable modules" >&5
                   11590: $as_echo_n "checking which extension is used for runtime loadable modules... " >&6; }
                   11591: if ${libltdl_cv_shlibext+:} false; then :
                   11592:   $as_echo_n "(cached) " >&6
                   11593: else
1.1       misha    11594: 
1.5       moko     11595: module=yes
                   11596: eval libltdl_cv_shlibext=$shrext_cmds
                   11597: module=no
                   11598: eval libltdl_cv_shrext=$shrext_cmds
1.1       misha    11599: 
                   11600: fi
1.5       moko     11601: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_shlibext" >&5
                   11602: $as_echo "$libltdl_cv_shlibext" >&6; }
                   11603: if test -n "$libltdl_cv_shlibext"; then
1.1       misha    11604: 
1.5       moko     11605: cat >>confdefs.h <<_ACEOF
                   11606: #define LT_MODULE_EXT "$libltdl_cv_shlibext"
                   11607: _ACEOF
1.1       misha    11608: 
1.5       moko     11609: fi
                   11610: if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
1.1       misha    11611: 
1.5       moko     11612: cat >>confdefs.h <<_ACEOF
                   11613: #define LT_SHARED_EXT "$libltdl_cv_shrext"
                   11614: _ACEOF
1.1       misha    11615: 
                   11616: fi
                   11617: 
1.5       moko     11618: { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variable specifies run-time module search path" >&5
                   11619: $as_echo_n "checking which variable specifies run-time module search path... " >&6; }
                   11620: if ${lt_cv_module_path_var+:} false; then :
                   11621:   $as_echo_n "(cached) " >&6
                   11622: else
                   11623:   lt_cv_module_path_var="$shlibpath_var"
                   11624: fi
                   11625: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_module_path_var" >&5
                   11626: $as_echo "$lt_cv_module_path_var" >&6; }
                   11627: if test -n "$lt_cv_module_path_var"; then
1.1       misha    11628: 
1.5       moko     11629: cat >>confdefs.h <<_ACEOF
                   11630: #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
                   11631: _ACEOF
1.1       misha    11632: 
1.5       moko     11633: fi
1.1       misha    11634: 
1.5       moko     11635: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the default library search path" >&5
                   11636: $as_echo_n "checking for the default library search path... " >&6; }
                   11637: if ${lt_cv_sys_dlsearch_path+:} false; then :
                   11638:   $as_echo_n "(cached) " >&6
                   11639: else
                   11640:   lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
                   11641: fi
                   11642: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlsearch_path" >&5
                   11643: $as_echo "$lt_cv_sys_dlsearch_path" >&6; }
                   11644: if test -n "$lt_cv_sys_dlsearch_path"; then
                   11645:   sys_dlsearch_path=
                   11646:   for dir in $lt_cv_sys_dlsearch_path; do
                   11647:     if test -z "$sys_dlsearch_path"; then
                   11648:       sys_dlsearch_path="$dir"
                   11649:     else
                   11650:       sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
                   11651:     fi
                   11652:   done
1.1       misha    11653: 
1.5       moko     11654: cat >>confdefs.h <<_ACEOF
                   11655: #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
                   11656: _ACEOF
1.1       misha    11657: 
1.5       moko     11658: fi
1.1       misha    11659: 
                   11660: 
1.5       moko     11661: LT_DLLOADERS=
1.1       misha    11662: 
                   11663: 
1.5       moko     11664: ac_ext=c
                   11665: ac_cpp='$CPP $CPPFLAGS'
                   11666: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   11667: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   11668: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       misha    11669: 
                   11670: 
1.5       moko     11671: LIBADD_DLOPEN=
                   11672: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
                   11673: $as_echo_n "checking for library containing dlopen... " >&6; }
                   11674: if ${ac_cv_search_dlopen+:} false; then :
                   11675:   $as_echo_n "(cached) " >&6
                   11676: else
                   11677:   ac_func_search_save_LIBS=$LIBS
                   11678: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11679: /* end confdefs.h.  */
1.1       misha    11680: 
1.5       moko     11681: /* Override any GCC internal prototype to avoid an error.
                   11682:    Use char because int might match the return type of a GCC
                   11683:    builtin and then its argument prototype would still apply.  */
                   11684: #ifdef __cplusplus
                   11685: extern "C"
                   11686: #endif
                   11687: char dlopen ();
                   11688: int
                   11689: main ()
                   11690: {
                   11691: return dlopen ();
                   11692:   ;
                   11693:   return 0;
                   11694: }
                   11695: _ACEOF
                   11696: for ac_lib in '' dl; do
                   11697:   if test -z "$ac_lib"; then
                   11698:     ac_res="none required"
                   11699:   else
                   11700:     ac_res=-l$ac_lib
                   11701:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   11702:   fi
                   11703:   if ac_fn_c_try_link "$LINENO"; then :
                   11704:   ac_cv_search_dlopen=$ac_res
                   11705: fi
                   11706: rm -f core conftest.err conftest.$ac_objext \
                   11707:     conftest$ac_exeext
                   11708:   if ${ac_cv_search_dlopen+:} false; then :
                   11709:   break
                   11710: fi
                   11711: done
                   11712: if ${ac_cv_search_dlopen+:} false; then :
1.1       misha    11713: 
1.5       moko     11714: else
                   11715:   ac_cv_search_dlopen=no
                   11716: fi
                   11717: rm conftest.$ac_ext
                   11718: LIBS=$ac_func_search_save_LIBS
                   11719: fi
                   11720: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
                   11721: $as_echo "$ac_cv_search_dlopen" >&6; }
                   11722: ac_res=$ac_cv_search_dlopen
                   11723: if test "$ac_res" != no; then :
                   11724:   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
1.1       misha    11725: 
1.5       moko     11726: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
1.1       misha    11727: 
1.5       moko     11728:        if test "$ac_cv_search_dlopen" != "none required" ; then
                   11729:          LIBADD_DLOPEN="-ldl"
                   11730:        fi
                   11731:        libltdl_cv_lib_dl_dlopen="yes"
                   11732:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
1.1       misha    11733: else
1.5       moko     11734:   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11735: /* end confdefs.h.  */
                   11736: #if HAVE_DLFCN_H
                   11737: #  include <dlfcn.h>
                   11738: #endif
                   11739: 
                   11740: int
                   11741: main ()
                   11742: {
                   11743: dlopen(0, 0);
                   11744:   ;
                   11745:   return 0;
                   11746: }
1.1       misha    11747: _ACEOF
1.5       moko     11748: if ac_fn_c_try_link "$LINENO"; then :
                   11749: 
                   11750: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
                   11751: 
                   11752:            libltdl_cv_func_dlopen="yes"
                   11753:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   11754: else
                   11755:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
                   11756: $as_echo_n "checking for dlopen in -lsvld... " >&6; }
                   11757: if ${ac_cv_lib_svld_dlopen+:} false; then :
                   11758:   $as_echo_n "(cached) " >&6
                   11759: else
                   11760:   ac_check_lib_save_LIBS=$LIBS
                   11761: LIBS="-lsvld  $LIBS"
                   11762: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misha    11763: /* end confdefs.h.  */
                   11764: 
1.5       moko     11765: /* Override any GCC internal prototype to avoid an error.
                   11766:    Use char because int might match the return type of a GCC
                   11767:    builtin and then its argument prototype would still apply.  */
                   11768: #ifdef __cplusplus
                   11769: extern "C"
                   11770: #endif
                   11771: char dlopen ();
1.1       misha    11772: int
                   11773: main ()
                   11774: {
1.5       moko     11775: return dlopen ();
1.1       misha    11776:   ;
                   11777:   return 0;
                   11778: }
                   11779: _ACEOF
1.5       moko     11780: if ac_fn_c_try_link "$LINENO"; then :
                   11781:   ac_cv_lib_svld_dlopen=yes
1.1       misha    11782: else
1.5       moko     11783:   ac_cv_lib_svld_dlopen=no
                   11784: fi
                   11785: rm -f core conftest.err conftest.$ac_objext \
                   11786:     conftest$ac_exeext conftest.$ac_ext
                   11787: LIBS=$ac_check_lib_save_LIBS
                   11788: fi
                   11789: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
                   11790: $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
                   11791: if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
                   11792: 
                   11793: $as_echo "#define HAVE_LIBDL 1" >>confdefs.h
                   11794: 
                   11795:                LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
                   11796:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   11797: fi
1.1       misha    11798: 
                   11799: fi
1.5       moko     11800: rm -f core conftest.err conftest.$ac_objext \
                   11801:     conftest$ac_exeext conftest.$ac_ext
1.1       misha    11802: fi
1.5       moko     11803: 
                   11804: if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
                   11805: then
                   11806:   lt_save_LIBS="$LIBS"
                   11807:   LIBS="$LIBS $LIBADD_DLOPEN"
                   11808:   for ac_func in dlerror
                   11809: do :
                   11810:   ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
                   11811: if test "x$ac_cv_func_dlerror" = xyes; then :
1.1       misha    11812:   cat >>confdefs.h <<_ACEOF
1.5       moko     11813: #define HAVE_DLERROR 1
                   11814: _ACEOF
                   11815: 
                   11816: fi
                   11817: done
                   11818: 
                   11819:   LIBS="$lt_save_LIBS"
                   11820: fi
                   11821: 
                   11822: 
                   11823: LIBADD_SHL_LOAD=
                   11824: ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
                   11825: if test "x$ac_cv_func_shl_load" = xyes; then :
                   11826: 
                   11827: $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
                   11828: 
                   11829:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
                   11830: else
                   11831:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
                   11832: $as_echo_n "checking for shl_load in -ldld... " >&6; }
                   11833: if ${ac_cv_lib_dld_shl_load+:} false; then :
                   11834:   $as_echo_n "(cached) " >&6
                   11835: else
                   11836:   ac_check_lib_save_LIBS=$LIBS
                   11837: LIBS="-ldld  $LIBS"
                   11838: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
                   11839: /* end confdefs.h.  */
                   11840: 
                   11841: /* Override any GCC internal prototype to avoid an error.
                   11842:    Use char because int might match the return type of a GCC
                   11843:    builtin and then its argument prototype would still apply.  */
                   11844: #ifdef __cplusplus
                   11845: extern "C"
                   11846: #endif
                   11847: char shl_load ();
                   11848: int
                   11849: main ()
                   11850: {
                   11851: return shl_load ();
                   11852:   ;
                   11853:   return 0;
                   11854: }
1.1       misha    11855: _ACEOF
1.5       moko     11856: if ac_fn_c_try_link "$LINENO"; then :
                   11857:   ac_cv_lib_dld_shl_load=yes
                   11858: else
                   11859:   ac_cv_lib_dld_shl_load=no
                   11860: fi
                   11861: rm -f core conftest.err conftest.$ac_objext \
                   11862:     conftest$ac_exeext conftest.$ac_ext
                   11863: LIBS=$ac_check_lib_save_LIBS
                   11864: fi
                   11865: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
                   11866: $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
                   11867: if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
                   11868: 
                   11869: $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
                   11870: 
                   11871:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
                   11872:            LIBADD_SHL_LOAD="-ldld"
                   11873: fi
                   11874: 
                   11875: fi
                   11876: 
                   11877: 
1.1       misha    11878: 
1.5       moko     11879: case $host_os in
                   11880: darwin[1567].*)
                   11881: # We only want this for pre-Mac OS X 10.4.
                   11882:   ac_fn_c_check_func "$LINENO" "_dyld_func_lookup" "ac_cv_func__dyld_func_lookup"
                   11883: if test "x$ac_cv_func__dyld_func_lookup" = xyes; then :
                   11884: 
                   11885: $as_echo "#define HAVE_DYLD 1" >>confdefs.h
                   11886: 
                   11887:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
1.1       misha    11888: fi
                   11889: 
1.5       moko     11890:   ;;
                   11891: beos*)
                   11892:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
                   11893:   ;;
                   11894: cygwin* | mingw* | os2* | pw32*)
                   11895:   ac_fn_c_check_decl "$LINENO" "cygwin_conv_path" "ac_cv_have_decl_cygwin_conv_path" "#include <sys/cygwin.h>
                   11896: "
                   11897: if test "x$ac_cv_have_decl_cygwin_conv_path" = xyes; then :
                   11898:   ac_have_decl=1
1.1       misha    11899: else
1.5       moko     11900:   ac_have_decl=0
                   11901: fi
                   11902: 
                   11903: cat >>confdefs.h <<_ACEOF
                   11904: #define HAVE_DECL_CYGWIN_CONV_PATH $ac_have_decl
1.1       misha    11905: _ACEOF
1.5       moko     11906: 
                   11907:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
                   11908:   ;;
                   11909: esac
                   11910: 
                   11911: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
                   11912: $as_echo_n "checking for dld_link in -ldld... " >&6; }
                   11913: if ${ac_cv_lib_dld_dld_link+:} false; then :
                   11914:   $as_echo_n "(cached) " >&6
                   11915: else
                   11916:   ac_check_lib_save_LIBS=$LIBS
                   11917: LIBS="-ldld  $LIBS"
                   11918: cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1.1       misha    11919: /* end confdefs.h.  */
                   11920: 
1.5       moko     11921: /* Override any GCC internal prototype to avoid an error.
                   11922:    Use char because int might match the return type of a GCC
                   11923:    builtin and then its argument prototype would still apply.  */
1.1       misha    11924: #ifdef __cplusplus
                   11925: extern "C"
                   11926: #endif
1.5       moko     11927: char dld_link ();
1.1       misha    11928: int
                   11929: main ()
                   11930: {
1.5       moko     11931: return dld_link ();
1.1       misha    11932:   ;
                   11933:   return 0;
                   11934: }
                   11935: _ACEOF
1.5       moko     11936: if ac_fn_c_try_link "$LINENO"; then :
                   11937:   ac_cv_lib_dld_dld_link=yes
                   11938: else
                   11939:   ac_cv_lib_dld_dld_link=no
                   11940: fi
                   11941: rm -f core conftest.err conftest.$ac_objext \
                   11942:     conftest$ac_exeext conftest.$ac_ext
                   11943: LIBS=$ac_check_lib_save_LIBS
                   11944: fi
                   11945: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
                   11946: $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
                   11947: if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
                   11948: 
                   11949: $as_echo "#define HAVE_DLD 1" >>confdefs.h
                   11950: 
                   11951:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
                   11952: fi
                   11953: 
                   11954: 
                   11955: 
                   11956: 
                   11957: LT_DLPREOPEN=
                   11958: if test -n "$LT_DLLOADERS"
                   11959: then
                   11960:   for lt_loader in $LT_DLLOADERS; do
                   11961:     LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
                   11962:   done
                   11963: 
                   11964: $as_echo "#define HAVE_LIBDLLOADER 1" >>confdefs.h
                   11965: 
                   11966: fi
                   11967: 
                   11968: 
                   11969: LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
                   11970: 
                   11971: 
                   11972: ac_ext=c
                   11973: ac_cpp='$CPP $CPPFLAGS'
                   11974: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   11975: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   11976: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   11977: 
                   11978: 
                   11979: { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ prefix in compiled symbols" >&5
                   11980: $as_echo_n "checking for _ prefix in compiled symbols... " >&6; }
                   11981: if ${lt_cv_sys_symbol_underscore+:} false; then :
                   11982:   $as_echo_n "(cached) " >&6
                   11983: else
                   11984:   lt_cv_sys_symbol_underscore=no
                   11985:   cat > conftest.$ac_ext <<_LT_EOF
                   11986: void nm_test_func(){}
                   11987: int main(){nm_test_func;return 0;}
                   11988: _LT_EOF
                   11989:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
                   11990:   (eval $ac_compile) 2>&5
1.1       misha    11991:   ac_status=$?
1.5       moko     11992:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   11993:   test $ac_status = 0; }; then
                   11994:     # Now try to grab the symbols.
                   11995:     ac_nlist=conftest.nm
                   11996:     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\""; } >&5
                   11997:   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
                   11998:   ac_status=$?
                   11999:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   12000:   test $ac_status = 0; } && test -s "$ac_nlist"; then
                   12001:       # See whether the symbols have a leading underscore.
                   12002:       if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
                   12003:         lt_cv_sys_symbol_underscore=yes
                   12004:       else
                   12005:         if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
                   12006:          :
                   12007:         else
                   12008:          echo "configure: cannot find nm_test_func in $ac_nlist" >&5
                   12009:         fi
                   12010:       fi
                   12011:     else
                   12012:       echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   12013:     fi
                   12014:   else
                   12015:     echo "configure: failed program was:" >&5
                   12016:     cat conftest.c >&5
                   12017:   fi
                   12018:   rm -rf conftest*
                   12019: 
                   12020: fi
                   12021: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_symbol_underscore" >&5
                   12022: $as_echo "$lt_cv_sys_symbol_underscore" >&6; }
                   12023:   sys_symbol_underscore=$lt_cv_sys_symbol_underscore
                   12024: 
                   12025: 
                   12026: if test x"$lt_cv_sys_symbol_underscore" = xyes; then
                   12027:   if test x"$libltdl_cv_func_dlopen" = xyes ||
                   12028:      test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
                   12029:        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have to add an underscore for dlsym" >&5
                   12030: $as_echo_n "checking whether we have to add an underscore for dlsym... " >&6; }
                   12031: if ${libltdl_cv_need_uscore+:} false; then :
                   12032:   $as_echo_n "(cached) " >&6
                   12033: else
                   12034:   libltdl_cv_need_uscore=unknown
                   12035:           save_LIBS="$LIBS"
                   12036:           LIBS="$LIBS $LIBADD_DLOPEN"
                   12037:          if test "$cross_compiling" = yes; then :
                   12038:   libltdl_cv_need_uscore=cross
1.1       misha    12039: else
1.5       moko     12040:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   12041:   lt_status=$lt_dlunknown
                   12042:   cat > conftest.$ac_ext <<_LT_EOF
                   12043: #line $LINENO "configure"
                   12044: #include "confdefs.h"
                   12045: 
                   12046: #if HAVE_DLFCN_H
                   12047: #include <dlfcn.h>
                   12048: #endif
                   12049: 
                   12050: #include <stdio.h>
                   12051: 
                   12052: #ifdef RTLD_GLOBAL
                   12053: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   12054: #else
                   12055: #  ifdef DL_GLOBAL
                   12056: #    define LT_DLGLOBAL                DL_GLOBAL
                   12057: #  else
                   12058: #    define LT_DLGLOBAL                0
                   12059: #  endif
                   12060: #endif
1.1       misha    12061: 
1.5       moko     12062: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   12063:    find out it does not work in some platform. */
                   12064: #ifndef LT_DLLAZY_OR_NOW
                   12065: #  ifdef RTLD_LAZY
                   12066: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   12067: #  else
                   12068: #    ifdef DL_LAZY
                   12069: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   12070: #    else
                   12071: #      ifdef RTLD_NOW
                   12072: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   12073: #      else
                   12074: #        ifdef DL_NOW
                   12075: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   12076: #        else
                   12077: #          define LT_DLLAZY_OR_NOW     0
                   12078: #        endif
                   12079: #      endif
                   12080: #    endif
                   12081: #  endif
                   12082: #endif
1.1       misha    12083: 
1.5       moko     12084: /* When -fvisbility=hidden is used, assume the code has been annotated
                   12085:    correspondingly for the symbols needed.  */
                   12086: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   12087: int fnord () __attribute__((visibility("default")));
1.1       misha    12088: #endif
1.5       moko     12089: 
                   12090: int fnord () { return 42; }
                   12091: int main ()
1.1       misha    12092: {
1.5       moko     12093:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   12094:   int status = $lt_dlunknown;
1.1       misha    12095: 
1.5       moko     12096:   if (self)
                   12097:     {
                   12098:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   12099:       else
                   12100:         {
                   12101:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   12102:           else puts (dlerror ());
                   12103:        }
                   12104:       /* dlclose (self); */
                   12105:     }
                   12106:   else
                   12107:     puts (dlerror ());
1.1       misha    12108: 
1.5       moko     12109:   return status;
1.1       misha    12110: }
1.5       moko     12111: _LT_EOF
                   12112:   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1.1       misha    12113:   (eval $ac_link) 2>&5
                   12114:   ac_status=$?
1.5       moko     12115:   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
                   12116:   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
                   12117:     (./conftest; exit; ) >&5 2>/dev/null
                   12118:     lt_status=$?
                   12119:     case x$lt_status in
                   12120:       x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
                   12121:       x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
                   12122:       x$lt_dlunknown|x*)  ;;
                   12123:     esac
                   12124:   else :
                   12125:     # compilation failed
1.1       misha    12126: 
1.5       moko     12127:   fi
1.1       misha    12128: fi
1.5       moko     12129: rm -fr conftest*
1.1       misha    12130: 
1.5       moko     12131:          LIBS="$save_LIBS"
1.1       misha    12132: 
                   12133: fi
1.5       moko     12134: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_need_uscore" >&5
                   12135: $as_echo "$libltdl_cv_need_uscore" >&6; }
                   12136:   fi
1.1       misha    12137: fi
                   12138: 
1.5       moko     12139: if test x"$libltdl_cv_need_uscore" = xyes; then
                   12140: 
                   12141: $as_echo "#define NEED_USCORE 1" >>confdefs.h
1.1       misha    12142: 
                   12143: fi
                   12144: 
1.5       moko     12145: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether deplibs are loaded by dlopen" >&5
                   12146: $as_echo_n "checking whether deplibs are loaded by dlopen... " >&6; }
                   12147: if ${lt_cv_sys_dlopen_deplibs+:} false; then :
                   12148:   $as_echo_n "(cached) " >&6
1.1       misha    12149: else
1.5       moko     12150:   # PORTME does your system automatically load deplibs for dlopen?
                   12151:   # or its logical equivalent (e.g. shl_load for HP-UX < 11)
                   12152:   # For now, we just catch OSes we know something about -- in the
                   12153:   # future, we'll try test this programmatically.
                   12154:   lt_cv_sys_dlopen_deplibs=unknown
                   12155:   case $host_os in
                   12156:   aix3*|aix4.1.*|aix4.2.*)
                   12157:     # Unknown whether this is true for these versions of AIX, but
                   12158:     # we want this `case' here to explicitly catch those versions.
                   12159:     lt_cv_sys_dlopen_deplibs=unknown
                   12160:     ;;
                   12161:   aix[4-9]*)
                   12162:     lt_cv_sys_dlopen_deplibs=yes
                   12163:     ;;
                   12164:   amigaos*)
                   12165:     case $host_cpu in
                   12166:     powerpc)
                   12167:       lt_cv_sys_dlopen_deplibs=no
1.1       misha    12168:       ;;
                   12169:     esac
1.5       moko     12170:     ;;
                   12171:   darwin*)
                   12172:     # Assuming the user has installed a libdl from somewhere, this is true
                   12173:     # If you are looking for one http://www.opendarwin.org/projects/dlcompat
                   12174:     lt_cv_sys_dlopen_deplibs=yes
                   12175:     ;;
                   12176:   freebsd* | dragonfly*)
                   12177:     lt_cv_sys_dlopen_deplibs=yes
                   12178:     ;;
                   12179:   gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   12180:     # GNU and its variants, using gnu ld.so (Glibc)
                   12181:     lt_cv_sys_dlopen_deplibs=yes
                   12182:     ;;
                   12183:   hpux10*|hpux11*)
                   12184:     lt_cv_sys_dlopen_deplibs=yes
                   12185:     ;;
                   12186:   interix*)
                   12187:     lt_cv_sys_dlopen_deplibs=yes
                   12188:     ;;
                   12189:   irix[12345]*|irix6.[01]*)
                   12190:     # Catch all versions of IRIX before 6.2, and indicate that we don't
                   12191:     # know how it worked for any of those versions.
                   12192:     lt_cv_sys_dlopen_deplibs=unknown
                   12193:     ;;
                   12194:   irix*)
                   12195:     # The case above catches anything before 6.2, and it's known that
                   12196:     # at 6.2 and later dlopen does load deplibs.
                   12197:     lt_cv_sys_dlopen_deplibs=yes
                   12198:     ;;
                   12199:   netbsd*)
                   12200:     lt_cv_sys_dlopen_deplibs=yes
                   12201:     ;;
                   12202:   openbsd*)
                   12203:     lt_cv_sys_dlopen_deplibs=yes
                   12204:     ;;
                   12205:   osf[1234]*)
                   12206:     # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
                   12207:     # it did *not* use an RPATH in a shared library to find objects the
                   12208:     # library depends on, so we explicitly say `no'.
                   12209:     lt_cv_sys_dlopen_deplibs=no
                   12210:     ;;
                   12211:   osf5.0|osf5.0a|osf5.1)
                   12212:     # dlopen *does* load deplibs and with the right loader patch applied
                   12213:     # it even uses RPATH in a shared library to search for shared objects
                   12214:     # that the library depends on, but there's no easy way to know if that
                   12215:     # patch is installed.  Since this is the case, all we can really
                   12216:     # say is unknown -- it depends on the patch being installed.  If
                   12217:     # it is, this changes to `yes'.  Without it, it would be `no'.
                   12218:     lt_cv_sys_dlopen_deplibs=unknown
                   12219:     ;;
                   12220:   osf*)
                   12221:     # the two cases above should catch all versions of osf <= 5.1.  Read
                   12222:     # the comments above for what we know about them.
                   12223:     # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
                   12224:     # is used to find them so we can finally say `yes'.
                   12225:     lt_cv_sys_dlopen_deplibs=yes
                   12226:     ;;
                   12227:   qnx*)
                   12228:     lt_cv_sys_dlopen_deplibs=yes
                   12229:     ;;
                   12230:   solaris*)
                   12231:     lt_cv_sys_dlopen_deplibs=yes
                   12232:     ;;
                   12233:   sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   12234:     libltdl_cv_sys_dlopen_deplibs=yes
                   12235:     ;;
                   12236:   esac
                   12237: 
1.1       misha    12238: fi
1.5       moko     12239: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_dlopen_deplibs" >&5
                   12240: $as_echo "$lt_cv_sys_dlopen_deplibs" >&6; }
                   12241: if test "$lt_cv_sys_dlopen_deplibs" != yes; then
1.1       misha    12242: 
1.5       moko     12243: $as_echo "#define LTDL_DLOPEN_DEPLIBS 1" >>confdefs.h
1.1       misha    12244: 
                   12245: fi
                   12246: 
1.5       moko     12247: :
1.1       misha    12248: 
1.5       moko     12249: for ac_header in argz.h
                   12250: do :
                   12251:   ac_fn_c_check_header_compile "$LINENO" "argz.h" "ac_cv_header_argz_h" "$ac_includes_default
                   12252: "
                   12253: if test "x$ac_cv_header_argz_h" = xyes; then :
1.1       misha    12254:   cat >>confdefs.h <<_ACEOF
1.5       moko     12255: #define HAVE_ARGZ_H 1
1.1       misha    12256: _ACEOF
                   12257: 
                   12258: fi
                   12259: 
                   12260: done
                   12261: 
                   12262: 
1.5       moko     12263: ac_fn_c_check_type "$LINENO" "error_t" "ac_cv_type_error_t" "#if defined(HAVE_ARGZ_H)
                   12264: #  include <argz.h>
                   12265: #endif
                   12266: "
                   12267: if test "x$ac_cv_type_error_t" = xyes; then :
1.1       misha    12268: 
1.5       moko     12269: cat >>confdefs.h <<_ACEOF
                   12270: #define HAVE_ERROR_T 1
                   12271: _ACEOF
1.1       misha    12272: 
                   12273: 
1.5       moko     12274: else
1.1       misha    12275: 
1.5       moko     12276: $as_echo "#define error_t int" >>confdefs.h
1.1       misha    12277: 
                   12278: 
1.5       moko     12279: $as_echo "#define __error_t_defined 1" >>confdefs.h
1.1       misha    12280: 
                   12281: fi
                   12282: 
                   12283: 
1.5       moko     12284: ARGZ_H=
                   12285: for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
                   12286:        argz_next argz_stringify
                   12287: do :
                   12288:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   12289: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   12290: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   12291:   cat >>confdefs.h <<_ACEOF
                   12292: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   12293: _ACEOF
1.1       misha    12294: 
1.5       moko     12295: else
                   12296:   ARGZ_H=argz.h; case " $LIBOBJS " in
                   12297:   *" argz.$ac_objext "* ) ;;
                   12298:   *) LIBOBJS="$LIBOBJS argz.$ac_objext"
                   12299:  ;;
                   12300: esac
1.1       misha    12301: 
                   12302: fi
1.5       moko     12303: done
1.1       misha    12304: 
                   12305: 
1.5       moko     12306: if test -z "$ARGZ_H"; then :
                   12307:   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if argz actually works" >&5
                   12308: $as_echo_n "checking if argz actually works... " >&6; }
                   12309: if ${lt_cv_sys_argz_works+:} false; then :
                   12310:   $as_echo_n "(cached) " >&6
                   12311: else
                   12312:   case $host_os in #(
                   12313:         *cygwin*)
                   12314:           lt_cv_sys_argz_works=no
                   12315:           if test "$cross_compiling" != no; then
                   12316:             lt_cv_sys_argz_works="guessing no"
                   12317:           else
                   12318:             lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
                   12319:             save_IFS=$IFS
                   12320:             IFS=-.
                   12321:             set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
                   12322:             IFS=$save_IFS
                   12323:             lt_os_major=${2-0}
                   12324:             lt_os_minor=${3-0}
                   12325:             lt_os_micro=${4-0}
                   12326:             if test "$lt_os_major" -gt 1 \
                   12327:                || { test "$lt_os_major" -eq 1 \
                   12328:                  && { test "$lt_os_minor" -gt 5 \
                   12329:                    || { test "$lt_os_minor" -eq 5 \
                   12330:                      && test "$lt_os_micro" -gt 24; }; }; }; then
                   12331:               lt_cv_sys_argz_works=yes
                   12332:             fi
                   12333:           fi
                   12334:           ;; #(
                   12335:         *) lt_cv_sys_argz_works=yes ;;
                   12336:         esac
1.1       misha    12337: fi
1.5       moko     12338: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_argz_works" >&5
                   12339: $as_echo "$lt_cv_sys_argz_works" >&6; }
                   12340:      if test "$lt_cv_sys_argz_works" = yes; then :
1.1       misha    12341: 
1.5       moko     12342: $as_echo "#define HAVE_WORKING_ARGZ 1" >>confdefs.h
1.1       misha    12343: 
                   12344: else
1.5       moko     12345:   ARGZ_H=argz.h
                   12346:         case " $LIBOBJS " in
                   12347:   *" argz.$ac_objext "* ) ;;
                   12348:   *) LIBOBJS="$LIBOBJS argz.$ac_objext"
                   12349:  ;;
                   12350: esac
                   12351: 
1.1       misha    12352: fi
1.5       moko     12353: fi
                   12354: 
1.1       misha    12355: 
1.5       moko     12356: 
                   12357: { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool supports -dlopen/-dlpreopen" >&5
                   12358: $as_echo_n "checking whether libtool supports -dlopen/-dlpreopen... " >&6; }
                   12359: if ${libltdl_cv_preloaded_symbols+:} false; then :
                   12360:   $as_echo_n "(cached) " >&6
                   12361: else
                   12362:   if test -n "$lt_cv_sys_global_symbol_pipe"; then
                   12363:     libltdl_cv_preloaded_symbols=yes
                   12364:   else
                   12365:     libltdl_cv_preloaded_symbols=no
                   12366:   fi
1.1       misha    12367: 
                   12368: fi
1.5       moko     12369: { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libltdl_cv_preloaded_symbols" >&5
                   12370: $as_echo "$libltdl_cv_preloaded_symbols" >&6; }
                   12371: if test x"$libltdl_cv_preloaded_symbols" = xyes; then
1.1       misha    12372: 
1.5       moko     12373: $as_echo "#define HAVE_PRELOADED_SYMBOLS 1" >>confdefs.h
1.1       misha    12374: 
                   12375: fi
                   12376: 
                   12377: 
1.5       moko     12378: 
                   12379: # Check whether --enable-ltdl-install was given.
                   12380: if test "${enable_ltdl_install+set}" = set; then :
                   12381:   enableval=$enable_ltdl_install;
1.1       misha    12382: fi
                   12383: 
1.5       moko     12384: 
                   12385: case ,${enable_ltdl_install},${enable_ltdl_convenience} in
                   12386:   *yes*) ;;
                   12387:   *) enable_ltdl_convenience=yes ;;
                   12388: esac
                   12389: 
                   12390:  if test x"${enable_ltdl_install-no}" != xno; then
                   12391:   INSTALL_LTDL_TRUE=
                   12392:   INSTALL_LTDL_FALSE='#'
1.1       misha    12393: else
1.5       moko     12394:   INSTALL_LTDL_TRUE='#'
                   12395:   INSTALL_LTDL_FALSE=
                   12396: fi
                   12397: 
                   12398:   if test x"${enable_ltdl_convenience-no}" != xno; then
                   12399:   CONVENIENCE_LTDL_TRUE=
                   12400:   CONVENIENCE_LTDL_FALSE='#'
1.1       misha    12401: else
1.5       moko     12402:   CONVENIENCE_LTDL_TRUE='#'
                   12403:   CONVENIENCE_LTDL_FALSE=
1.1       misha    12404: fi
                   12405: 
                   12406: 
                   12407: 
                   12408: 
                   12409: 
                   12410: 
1.5       moko     12411: # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
                   12412: # the user used.  This is so that ltdl.h can pick up the parent projects
                   12413: # config.h file, The first file in AC_CONFIG_HEADERS must contain the
                   12414: # definitions required by ltdl.c.
                   12415: # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
1.1       misha    12416: 
                   12417: 
                   12418: 
1.5       moko     12419: for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
                   12420: do :
                   12421:   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   12422: ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
                   12423: "
                   12424: if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
                   12425:   cat >>confdefs.h <<_ACEOF
                   12426: #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.1       misha    12427: _ACEOF
                   12428: 
                   12429: fi
                   12430: 
1.5       moko     12431: done
                   12432: 
                   12433: 
                   12434: for ac_func in closedir opendir readdir
                   12435: do :
                   12436:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   12437: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   12438: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   12439:   cat >>confdefs.h <<_ACEOF
                   12440: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.1       misha    12441: _ACEOF
                   12442: 
                   12443: else
1.5       moko     12444:   case " $LIBOBJS " in
                   12445:   *" lt__dirent.$ac_objext "* ) ;;
                   12446:   *) LIBOBJS="$LIBOBJS lt__dirent.$ac_objext"
                   12447:  ;;
                   12448: esac
                   12449: 
                   12450: fi
                   12451: done
                   12452: 
                   12453: for ac_func in strlcat strlcpy
                   12454: do :
                   12455:   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   12456: ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
                   12457: if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
                   12458:   cat >>confdefs.h <<_ACEOF
                   12459: #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1.1       misha    12460: _ACEOF
                   12461: 
                   12462: else
1.5       moko     12463:   case " $LIBOBJS " in
                   12464:   *" lt__strl.$ac_objext "* ) ;;
                   12465:   *) LIBOBJS="$LIBOBJS lt__strl.$ac_objext"
                   12466:  ;;
                   12467: esac
1.1       misha    12468: 
                   12469: fi
1.5       moko     12470: done
                   12471: 
                   12472: 
1.1       misha    12473: 
1.5       moko     12474: cat >>confdefs.h <<_ACEOF
                   12475: #define LT_LIBEXT "$libext"
1.1       misha    12476: _ACEOF
                   12477: 
1.5       moko     12478: 
                   12479: name=
                   12480: eval "lt_libprefix=\"$libname_spec\""
                   12481: 
                   12482: cat >>confdefs.h <<_ACEOF
                   12483: #define LT_LIBPREFIX "$lt_libprefix"
1.1       misha    12484: _ACEOF
                   12485: 
1.5       moko     12486: 
                   12487: name=ltdl
                   12488: eval "LTDLOPEN=\"$libname_spec\""
                   12489: 
                   12490: 
                   12491: 
                   12492: 
                   12493: ## -------- ##
                   12494: ## Outputs. ##
                   12495: ## -------- ##
                   12496: ac_config_files="$ac_config_files Makefile"
                   12497: 
                   12498: cat >confcache <<\_ACEOF
                   12499: # This file is a shell script that caches the results of configure
                   12500: # tests run on this system so they can be shared between configure
                   12501: # scripts and configure runs, see configure's option --config-cache.
                   12502: # It is not useful on other systems.  If it contains results you don't
                   12503: # want to keep, you may remove or edit it.
                   12504: #
                   12505: # config.status only pays attention to the cache file if you give it
                   12506: # the --recheck option to rerun configure.
                   12507: #
                   12508: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   12509: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   12510: # following values.
                   12511: 
1.1       misha    12512: _ACEOF
                   12513: 
1.5       moko     12514: # The following way of writing the cache mishandles newlines in values,
                   12515: # but we know of no workaround that is simple, portable, and efficient.
                   12516: # So, we kill variables containing newlines.
                   12517: # Ultrix sh set writes to stderr and can't be redirected directly,
                   12518: # and sets the high bit in the cache file unless we assign to the vars.
                   12519: (
                   12520:   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
                   12521:     eval ac_val=\$$ac_var
                   12522:     case $ac_val in #(
                   12523:     *${as_nl}*)
                   12524:       case $ac_var in #(
                   12525:       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
                   12526: $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
                   12527:       esac
                   12528:       case $ac_var in #(
                   12529:       _ | IFS | as_nl) ;; #(
                   12530:       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
                   12531:       *) { eval $ac_var=; unset $ac_var;} ;;
                   12532:       esac ;;
                   12533:     esac
                   12534:   done
                   12535: 
                   12536:   (set) 2>&1 |
                   12537:     case $as_nl`(ac_space=' '; set) 2>&1` in #(
                   12538:     *${as_nl}ac_space=\ *)
                   12539:       # `set' does not quote correctly, so add quotes: double-quote
                   12540:       # substitution turns \\\\ into \\, and sed turns \\ into \.
                   12541:       sed -n \
                   12542:        "s/'/'\\\\''/g;
                   12543:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
                   12544:       ;; #(
                   12545:     *)
                   12546:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   12547:       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
                   12548:       ;;
                   12549:     esac |
                   12550:     sort
                   12551: ) |
                   12552:   sed '
                   12553:      /^ac_cv_env_/b end
                   12554:      t clear
                   12555:      :clear
                   12556:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   12557:      t end
                   12558:      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   12559:      :end' >>confcache
                   12560: if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
                   12561:   if test -w "$cache_file"; then
                   12562:     if test "x$cache_file" != "x/dev/null"; then
                   12563:       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
                   12564: $as_echo "$as_me: updating cache $cache_file" >&6;}
                   12565:       if test ! -f "$cache_file" || test -h "$cache_file"; then
                   12566:        cat confcache >"$cache_file"
                   12567:       else
                   12568:         case $cache_file in #(
                   12569:         */* | ?:*)
                   12570:          mv -f confcache "$cache_file"$$ &&
                   12571:          mv -f "$cache_file"$$ "$cache_file" ;; #(
                   12572:         *)
                   12573:          mv -f confcache "$cache_file" ;;
                   12574:        esac
                   12575:       fi
                   12576:     fi
                   12577:   else
                   12578:     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
                   12579: $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
                   12580:   fi
1.1       misha    12581: fi
1.5       moko     12582: rm -f confcache
                   12583: 
                   12584: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   12585: # Let make expand exec_prefix.
                   12586: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   12587: 
                   12588: DEFS=-DHAVE_CONFIG_H
                   12589: 
                   12590: ac_libobjs=
                   12591: ac_ltlibobjs=
                   12592: U=
                   12593: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   12594:   # 1. Remove the extension, and $U if already installed.
                   12595:   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
                   12596:   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
                   12597:   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
                   12598:   #    will be set to the directory where LIBOBJS objects are built.
                   12599:   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
                   12600:   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
                   12601: done
                   12602: LIBOBJS=$ac_libobjs
                   12603: 
                   12604: LTLIBOBJS=$ac_ltlibobjs
1.1       misha    12605: 
                   12606: 
1.5       moko     12607:  if test -n "$EXEEXT"; then
                   12608:   am__EXEEXT_TRUE=
                   12609:   am__EXEEXT_FALSE='#'
1.1       misha    12610: else
1.5       moko     12611:   am__EXEEXT_TRUE='#'
                   12612:   am__EXEEXT_FALSE=
                   12613: fi
1.1       misha    12614: 
1.5       moko     12615: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
                   12616:   as_fn_error $? "conditional \"AMDEP\" was never defined.
                   12617: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   12618: fi
                   12619: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
                   12620:   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
                   12621: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   12622: fi
                   12623: if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
                   12624:   as_fn_error $? "conditional \"INSTALL_LTDL\" was never defined.
                   12625: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   12626: fi
                   12627: if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
                   12628:   as_fn_error $? "conditional \"CONVENIENCE_LTDL\" was never defined.
                   12629: Usually this means the macro was only invoked conditionally." "$LINENO" 5
                   12630: fi
                   12631: LT_CONFIG_H=config.h
1.1       misha    12632: 
1.5       moko     12633: : "${CONFIG_STATUS=./config.status}"
                   12634: ac_write_fail=0
                   12635: ac_clean_files_save=$ac_clean_files
                   12636: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
                   12637: { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
                   12638: $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   12639: as_write_fail=0
                   12640: cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
                   12641: #! $SHELL
                   12642: # Generated by $as_me.
                   12643: # Run this file to recreate the current configuration.
                   12644: # Compiler output produced by configure, useful for debugging
                   12645: # configure, is in config.log if it exists.
1.1       misha    12646: 
1.5       moko     12647: debug=false
                   12648: ac_cs_recheck=false
                   12649: ac_cs_silent=false
1.1       misha    12650: 
1.5       moko     12651: SHELL=\${CONFIG_SHELL-$SHELL}
                   12652: export SHELL
                   12653: _ASEOF
                   12654: cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
                   12655: ## -------------------- ##
                   12656: ## M4sh Initialization. ##
                   12657: ## -------------------- ##
                   12658: 
                   12659: # Be more Bourne compatible
                   12660: DUALCASE=1; export DUALCASE # for MKS sh
                   12661: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
                   12662:   emulate sh
                   12663:   NULLCMD=:
                   12664:   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
                   12665:   # is contrary to our usage.  Disable this feature.
                   12666:   alias -g '${1+"$@"}'='"$@"'
                   12667:   setopt NO_GLOB_SUBST
1.1       misha    12668: else
1.5       moko     12669:   case `(set -o) 2>/dev/null` in #(
                   12670:   *posix*) :
                   12671:     set -o posix ;; #(
                   12672:   *) :
                   12673:      ;;
                   12674: esac
                   12675: fi
1.1       misha    12676: 
                   12677: 
1.5       moko     12678: as_nl='
                   12679: '
                   12680: export as_nl
                   12681: # Printing a long string crashes Solaris 7 /usr/bin/printf.
                   12682: as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   12683: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
                   12684: as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
                   12685: # Prefer a ksh shell builtin over an external printf program on Solaris,
                   12686: # but without wasting forks for bash or zsh.
                   12687: if test -z "$BASH_VERSION$ZSH_VERSION" \
                   12688:     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
                   12689:   as_echo='print -r --'
                   12690:   as_echo_n='print -rn --'
                   12691: elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
                   12692:   as_echo='printf %s\n'
                   12693:   as_echo_n='printf %s'
                   12694: else
                   12695:   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
                   12696:     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
                   12697:     as_echo_n='/usr/ucb/echo -n'
                   12698:   else
                   12699:     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
                   12700:     as_echo_n_body='eval
                   12701:       arg=$1;
                   12702:       case $arg in #(
                   12703:       *"$as_nl"*)
                   12704:        expr "X$arg" : "X\\(.*\\)$as_nl";
                   12705:        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
                   12706:       esac;
                   12707:       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
                   12708:     '
                   12709:     export as_echo_n_body
                   12710:     as_echo_n='sh -c $as_echo_n_body as_echo'
                   12711:   fi
                   12712:   export as_echo_body
                   12713:   as_echo='sh -c $as_echo_body as_echo'
1.1       misha    12714: fi
1.5       moko     12715: 
                   12716: # The user is always right.
                   12717: if test "${PATH_SEPARATOR+set}" != set; then
                   12718:   PATH_SEPARATOR=:
                   12719:   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
                   12720:     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
                   12721:       PATH_SEPARATOR=';'
                   12722:   }
1.1       misha    12723: fi
                   12724: 
                   12725: 
1.5       moko     12726: # IFS
                   12727: # We need space, tab and new line, in precisely that order.  Quoting is
                   12728: # there to prevent editors from complaining about space-tab.
                   12729: # (If _AS_PATH_WALK were called with IFS unset, it would disable word
                   12730: # splitting by setting IFS to empty value.)
                   12731: IFS=" ""       $as_nl"
                   12732: 
                   12733: # Find who we are.  Look in the path if we contain no directory separator.
                   12734: as_myself=
                   12735: case $0 in #((
                   12736:   *[\\/]* ) as_myself=$0 ;;
                   12737:   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   12738: for as_dir in $PATH
                   12739: do
                   12740:   IFS=$as_save_IFS
                   12741:   test -z "$as_dir" && as_dir=.
                   12742:     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   12743:   done
                   12744: IFS=$as_save_IFS
                   12745: 
                   12746:      ;;
                   12747: esac
                   12748: # We did not find ourselves, most probably we were run as `sh COMMAND'
                   12749: # in which case we are not to be found in the path.
                   12750: if test "x$as_myself" = x; then
                   12751:   as_myself=$0
                   12752: fi
                   12753: if test ! -f "$as_myself"; then
                   12754:   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
                   12755:   exit 1
                   12756: fi
                   12757: 
                   12758: # Unset variables that we do not need and which cause bugs (e.g. in
                   12759: # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
                   12760: # suppresses any "Segmentation fault" message there.  '((' could
                   12761: # trigger a bug in pdksh 5.2.14.
                   12762: for as_var in BASH_ENV ENV MAIL MAILPATH
                   12763: do eval test x\${$as_var+set} = xset \
                   12764:   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
                   12765: done
                   12766: PS1='$ '
                   12767: PS2='> '
                   12768: PS4='+ '
1.1       misha    12769: 
1.5       moko     12770: # NLS nuisances.
                   12771: LC_ALL=C
                   12772: export LC_ALL
                   12773: LANGUAGE=C
                   12774: export LANGUAGE
1.1       misha    12775: 
1.5       moko     12776: # CDPATH.
                   12777: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1.1       misha    12778: 
                   12779: 
1.5       moko     12780: # as_fn_error STATUS ERROR [LINENO LOG_FD]
                   12781: # ----------------------------------------
                   12782: # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
                   12783: # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
                   12784: # script with STATUS, using 1 if that was 0.
                   12785: as_fn_error ()
                   12786: {
                   12787:   as_status=$1; test $as_status -eq 0 && as_status=1
                   12788:   if test "$4"; then
                   12789:     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
                   12790:     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
                   12791:   fi
                   12792:   $as_echo "$as_me: error: $2" >&2
                   12793:   as_fn_exit $as_status
                   12794: } # as_fn_error
                   12795: 
                   12796: 
                   12797: # as_fn_set_status STATUS
                   12798: # -----------------------
                   12799: # Set $? to STATUS, without forking.
                   12800: as_fn_set_status ()
                   12801: {
                   12802:   return $1
                   12803: } # as_fn_set_status
                   12804: 
                   12805: # as_fn_exit STATUS
                   12806: # -----------------
                   12807: # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
                   12808: as_fn_exit ()
                   12809: {
                   12810:   set +e
                   12811:   as_fn_set_status $1
                   12812:   exit $1
                   12813: } # as_fn_exit
                   12814: 
                   12815: # as_fn_unset VAR
                   12816: # ---------------
                   12817: # Portably unset VAR.
                   12818: as_fn_unset ()
                   12819: {
                   12820:   { eval $1=; unset $1;}
                   12821: }
                   12822: as_unset=as_fn_unset
                   12823: # as_fn_append VAR VALUE
                   12824: # ----------------------
                   12825: # Append the text in VALUE to the end of the definition contained in VAR. Take
                   12826: # advantage of any shell optimizations that allow amortized linear growth over
                   12827: # repeated appends, instead of the typical quadratic growth present in naive
                   12828: # implementations.
                   12829: if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
                   12830:   eval 'as_fn_append ()
                   12831:   {
                   12832:     eval $1+=\$2
                   12833:   }'
                   12834: else
                   12835:   as_fn_append ()
                   12836:   {
                   12837:     eval $1=\$$1\$2
                   12838:   }
                   12839: fi # as_fn_append
1.1       misha    12840: 
1.5       moko     12841: # as_fn_arith ARG...
                   12842: # ------------------
                   12843: # Perform arithmetic evaluation on the ARGs, and store the result in the
                   12844: # global $as_val. Take advantage of shells that can avoid forks. The arguments
                   12845: # must be portable across $(()) and expr.
                   12846: if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
                   12847:   eval 'as_fn_arith ()
                   12848:   {
                   12849:     as_val=$(( $* ))
                   12850:   }'
                   12851: else
                   12852:   as_fn_arith ()
                   12853:   {
                   12854:     as_val=`expr "$@" || test $? -eq 1`
                   12855:   }
                   12856: fi # as_fn_arith
1.1       misha    12857: 
                   12858: 
1.5       moko     12859: if expr a : '\(a\)' >/dev/null 2>&1 &&
                   12860:    test "X`expr 00001 : '.*\(...\)'`" = X001; then
                   12861:   as_expr=expr
                   12862: else
                   12863:   as_expr=false
1.1       misha    12864: fi
                   12865: 
1.5       moko     12866: if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
                   12867:   as_basename=basename
                   12868: else
                   12869:   as_basename=false
1.1       misha    12870: fi
                   12871: 
1.5       moko     12872: if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
                   12873:   as_dirname=dirname
                   12874: else
                   12875:   as_dirname=false
1.1       misha    12876: fi
                   12877: 
1.5       moko     12878: as_me=`$as_basename -- "$0" ||
                   12879: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   12880:         X"$0" : 'X\(//\)$' \| \
                   12881:         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
                   12882: $as_echo X/"$0" |
                   12883:     sed '/^.*\/\([^/][^/]*\)\/*$/{
                   12884:            s//\1/
                   12885:            q
                   12886:          }
                   12887:          /^X\/\(\/\/\)$/{
                   12888:            s//\1/
                   12889:            q
                   12890:          }
                   12891:          /^X\/\(\/\).*/{
                   12892:            s//\1/
                   12893:            q
                   12894:          }
                   12895:          s/.*/./; q'`
1.1       misha    12896: 
1.5       moko     12897: # Avoid depending upon Character Ranges.
                   12898: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   12899: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   12900: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   12901: as_cr_digits='0123456789'
                   12902: as_cr_alnum=$as_cr_Letters$as_cr_digits
1.1       misha    12903: 
1.5       moko     12904: ECHO_C= ECHO_N= ECHO_T=
                   12905: case `echo -n x` in #(((((
                   12906: -n*)
                   12907:   case `echo 'xy\c'` in
                   12908:   *c*) ECHO_T='        ';;     # ECHO_T is single tab character.
                   12909:   xy)  ECHO_C='\c';;
                   12910:   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
                   12911:        ECHO_T='        ';;
                   12912:   esac;;
                   12913: *)
                   12914:   ECHO_N='-n';;
                   12915: esac
1.1       misha    12916: 
1.5       moko     12917: rm -f conf$$ conf$$.exe conf$$.file
                   12918: if test -d conf$$.dir; then
                   12919:   rm -f conf$$.dir/conf$$.file
                   12920: else
                   12921:   rm -f conf$$.dir
                   12922:   mkdir conf$$.dir 2>/dev/null
                   12923: fi
                   12924: if (echo >conf$$.file) 2>/dev/null; then
                   12925:   if ln -s conf$$.file conf$$ 2>/dev/null; then
                   12926:     as_ln_s='ln -s'
                   12927:     # ... but there are two gotchas:
                   12928:     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
                   12929:     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
                   12930:     # In both cases, we have to default to `cp -p'.
                   12931:     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
                   12932:       as_ln_s='cp -p'
                   12933:   elif ln conf$$.file conf$$ 2>/dev/null; then
                   12934:     as_ln_s=ln
                   12935:   else
                   12936:     as_ln_s='cp -p'
                   12937:   fi
                   12938: else
                   12939:   as_ln_s='cp -p'
1.1       misha    12940: fi
1.5       moko     12941: rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
                   12942: rmdir conf$$.dir 2>/dev/null
1.1       misha    12943: 
                   12944: 
1.5       moko     12945: # as_fn_mkdir_p
                   12946: # -------------
                   12947: # Create "$as_dir" as a directory, including parents if necessary.
                   12948: as_fn_mkdir_p ()
1.1       misha    12949: {
                   12950: 
1.5       moko     12951:   case $as_dir in #(
                   12952:   -*) as_dir=./$as_dir;;
                   12953:   esac
                   12954:   test -d "$as_dir" || eval $as_mkdir_p || {
                   12955:     as_dirs=
                   12956:     while :; do
                   12957:       case $as_dir in #(
                   12958:       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
                   12959:       *) as_qdir=$as_dir;;
                   12960:       esac
                   12961:       as_dirs="'$as_qdir' $as_dirs"
                   12962:       as_dir=`$as_dirname -- "$as_dir" ||
                   12963: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   12964:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   12965:         X"$as_dir" : 'X\(//\)$' \| \
                   12966:         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
                   12967: $as_echo X"$as_dir" |
                   12968:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   12969:            s//\1/
                   12970:            q
                   12971:          }
                   12972:          /^X\(\/\/\)[^/].*/{
                   12973:            s//\1/
                   12974:            q
                   12975:          }
                   12976:          /^X\(\/\/\)$/{
                   12977:            s//\1/
                   12978:            q
                   12979:          }
                   12980:          /^X\(\/\).*/{
                   12981:            s//\1/
                   12982:            q
                   12983:          }
                   12984:          s/.*/./; q'`
                   12985:       test -d "$as_dir" && break
                   12986:     done
                   12987:     test -z "$as_dirs" || eval "mkdir $as_dirs"
                   12988:   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
1.1       misha    12989: 
                   12990: 
1.5       moko     12991: } # as_fn_mkdir_p
                   12992: if mkdir -p . 2>/dev/null; then
                   12993:   as_mkdir_p='mkdir -p "$as_dir"'
                   12994: else
                   12995:   test -d ./-p && rmdir ./-p
                   12996:   as_mkdir_p=false
1.1       misha    12997: fi
                   12998: 
1.5       moko     12999: if test -x / >/dev/null 2>&1; then
                   13000:   as_test_x='test -x'
1.1       misha    13001: else
1.5       moko     13002:   if ls -dL / >/dev/null 2>&1; then
                   13003:     as_ls_L_option=L
1.1       misha    13004:   else
1.5       moko     13005:     as_ls_L_option=
1.1       misha    13006:   fi
1.5       moko     13007:   as_test_x='
                   13008:     eval sh -c '\''
                   13009:       if test -d "$1"; then
                   13010:        test -d "$1/.";
                   13011:       else
                   13012:        case $1 in #(
                   13013:        -*)set "./$1";;
                   13014:        esac;
                   13015:        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
                   13016:        ???[sx]*):;;*)false;;esac;fi
                   13017:     '\'' sh
                   13018:   '
1.1       misha    13019: fi
1.5       moko     13020: as_executable_p=$as_test_x
1.1       misha    13021: 
1.5       moko     13022: # Sed expression to map a string onto a valid CPP name.
                   13023: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.1       misha    13024: 
1.5       moko     13025: # Sed expression to map a string onto a valid variable name.
                   13026: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.1       misha    13027: 
                   13028: 
1.5       moko     13029: exec 6>&1
                   13030: ## ----------------------------------- ##
                   13031: ## Main body of $CONFIG_STATUS script. ##
                   13032: ## ----------------------------------- ##
                   13033: _ASEOF
                   13034: test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
1.1       misha    13035: 
1.5       moko     13036: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   13037: # Save the log message, to keep $0 and so on meaningful, and to
                   13038: # report actual input values of CONFIG_FILES etc. instead of their
                   13039: # values after options handling.
                   13040: ac_log="
                   13041: This file was extended by libltdl $as_me 2.4.2, which was
                   13042: generated by GNU Autoconf 2.68.  Invocation command line was
1.1       misha    13043: 
1.5       moko     13044:   CONFIG_FILES    = $CONFIG_FILES
                   13045:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   13046:   CONFIG_LINKS    = $CONFIG_LINKS
                   13047:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   13048:   $ $0 $@
1.1       misha    13049: 
1.5       moko     13050: on `(hostname || uname -n) 2>/dev/null | sed 1q`
                   13051: "
1.1       misha    13052: 
1.5       moko     13053: _ACEOF
1.1       misha    13054: 
1.5       moko     13055: case $ac_config_files in *"
                   13056: "*) set x $ac_config_files; shift; ac_config_files=$*;;
                   13057: esac
1.1       misha    13058: 
1.5       moko     13059: case $ac_config_headers in *"
                   13060: "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
                   13061: esac
1.1       misha    13062: 
                   13063: 
1.5       moko     13064: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   13065: # Files that config.status was made for.
                   13066: config_files="$ac_config_files"
                   13067: config_headers="$ac_config_headers"
                   13068: config_commands="$ac_config_commands"
1.1       misha    13069: 
1.5       moko     13070: _ACEOF
1.1       misha    13071: 
1.5       moko     13072: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   13073: ac_cs_usage="\
                   13074: \`$as_me' instantiates files and other configuration actions
                   13075: from templates according to the current configuration.  Unless the files
                   13076: and actions are specified as TAGs, all are instantiated by default.
1.1       misha    13077: 
1.5       moko     13078: Usage: $0 [OPTION]... [TAG]...
1.1       misha    13079: 
1.5       moko     13080:   -h, --help       print this help, then exit
                   13081:   -V, --version    print version number and configuration settings, then exit
                   13082:       --config     print configuration, then exit
                   13083:   -q, --quiet, --silent
                   13084:                    do not print progress messages
                   13085:   -d, --debug      don't remove temporary files
                   13086:       --recheck    update $as_me by reconfiguring in the same conditions
                   13087:       --file=FILE[:TEMPLATE]
                   13088:                    instantiate the configuration file FILE
                   13089:       --header=FILE[:TEMPLATE]
                   13090:                    instantiate the configuration header FILE
1.1       misha    13091: 
1.5       moko     13092: Configuration files:
                   13093: $config_files
1.1       misha    13094: 
1.5       moko     13095: Configuration headers:
                   13096: $config_headers
1.1       misha    13097: 
1.5       moko     13098: Configuration commands:
                   13099: $config_commands
1.1       misha    13100: 
1.5       moko     13101: Report bugs to <bug-libtool@gnu.org>."
1.1       misha    13102: 
                   13103: _ACEOF
1.5       moko     13104: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   13105: ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
                   13106: ac_cs_version="\\
                   13107: libltdl config.status 2.4.2
                   13108: configured by $0, generated by GNU Autoconf 2.68,
                   13109:   with options \\"\$ac_cs_config\\"
1.1       misha    13110: 
1.5       moko     13111: Copyright (C) 2010 Free Software Foundation, Inc.
                   13112: This config.status script is free software; the Free Software Foundation
                   13113: gives unlimited permission to copy, distribute and modify it."
1.1       misha    13114: 
1.5       moko     13115: ac_pwd='$ac_pwd'
                   13116: srcdir='$srcdir'
                   13117: INSTALL='$INSTALL'
                   13118: MKDIR_P='$MKDIR_P'
                   13119: AWK='$AWK'
                   13120: test -n "\$AWK" || AWK=awk
                   13121: _ACEOF
1.1       misha    13122: 
1.5       moko     13123: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   13124: # The default lists apply if the user does not specify any file.
                   13125: ac_need_defaults=:
                   13126: while test $# != 0
1.1       misha    13127: do
1.5       moko     13128:   case $1 in
                   13129:   --*=?*)
                   13130:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   13131:     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
                   13132:     ac_shift=:
                   13133:     ;;
                   13134:   --*=)
                   13135:     ac_option=`expr "X$1" : 'X\([^=]*\)='`
                   13136:     ac_optarg=
                   13137:     ac_shift=:
1.1       misha    13138:     ;;
1.5       moko     13139:   *)
                   13140:     ac_option=$1
                   13141:     ac_optarg=$2
                   13142:     ac_shift=shift
1.1       misha    13143:     ;;
1.5       moko     13144:   esac
                   13145: 
                   13146:   case $ac_option in
                   13147:   # Handling of the options.
                   13148:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   13149:     ac_cs_recheck=: ;;
                   13150:   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
                   13151:     $as_echo "$ac_cs_version"; exit ;;
                   13152:   --config | --confi | --conf | --con | --co | --c )
                   13153:     $as_echo "$ac_cs_config"; exit ;;
                   13154:   --debug | --debu | --deb | --de | --d | -d )
                   13155:     debug=: ;;
                   13156:   --file | --fil | --fi | --f )
                   13157:     $ac_shift
                   13158:     case $ac_optarg in
                   13159:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   13160:     '') as_fn_error $? "missing file argument" ;;
                   13161:     esac
                   13162:     as_fn_append CONFIG_FILES " '$ac_optarg'"
                   13163:     ac_need_defaults=false;;
                   13164:   --header | --heade | --head | --hea )
                   13165:     $ac_shift
                   13166:     case $ac_optarg in
                   13167:     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   13168:     esac
                   13169:     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
                   13170:     ac_need_defaults=false;;
                   13171:   --he | --h)
                   13172:     # Conflict between --help and --header
                   13173:     as_fn_error $? "ambiguous option: \`$1'
                   13174: Try \`$0 --help' for more information.";;
                   13175:   --help | --hel | -h )
                   13176:     $as_echo "$ac_cs_usage"; exit ;;
                   13177:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   13178:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   13179:     ac_cs_silent=: ;;
1.1       misha    13180: 
1.5       moko     13181:   # This is an error.
                   13182:   -*) as_fn_error $? "unrecognized option: \`$1'
                   13183: Try \`$0 --help' for more information." ;;
1.1       misha    13184: 
1.5       moko     13185:   *) as_fn_append ac_config_targets " $1"
                   13186:      ac_need_defaults=false ;;
1.1       misha    13187: 
1.5       moko     13188:   esac
                   13189:   shift
1.1       misha    13190: done
                   13191: 
1.5       moko     13192: ac_configure_extra_args=
                   13193: 
                   13194: if $ac_cs_silent; then
                   13195:   exec 6>/dev/null
                   13196:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   13197: fi
1.1       misha    13198: 
                   13199: _ACEOF
1.5       moko     13200: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   13201: if \$ac_cs_recheck; then
                   13202:   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
                   13203:   shift
                   13204:   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
                   13205:   CONFIG_SHELL='$SHELL'
                   13206:   export CONFIG_SHELL
                   13207:   exec "\$@"
                   13208: fi
1.1       misha    13209: 
1.5       moko     13210: _ACEOF
                   13211: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   13212: exec 5>>config.log
1.1       misha    13213: {
1.5       moko     13214:   echo
                   13215:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   13216: ## Running $as_me. ##
                   13217: _ASBOX
                   13218:   $as_echo "$ac_log"
                   13219: } >&5
                   13220: 
1.1       misha    13221: _ACEOF
1.5       moko     13222: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   13223: #
                   13224: # INIT-COMMANDS
                   13225: #
                   13226: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
1.1       misha    13227: 
                   13228: 
1.5       moko     13229: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   13230: # if CDPATH is set.
                   13231: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1.1       misha    13232: 
1.5       moko     13233: sed_quote_subst='$sed_quote_subst'
                   13234: double_quote_subst='$double_quote_subst'
                   13235: delay_variable_subst='$delay_variable_subst'
                   13236: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
                   13237: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
                   13238: AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
                   13239: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
                   13240: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
                   13241: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
                   13242: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
                   13243: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
                   13244: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
                   13245: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
                   13246: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
                   13247: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
                   13248: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
                   13249: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
                   13250: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
                   13251: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
                   13252: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
                   13253: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
                   13254: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
                   13255: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
                   13256: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
                   13257: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
                   13258: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
                   13259: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
                   13260: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
                   13261: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
                   13262: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
                   13263: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
                   13264: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
                   13265: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
                   13266: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
                   13267: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
                   13268: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
                   13269: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
                   13270: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
                   13271: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
                   13272: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
                   13273: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
                   13274: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
                   13275: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
                   13276: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
                   13277: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
                   13278: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
                   13279: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
                   13280: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
                   13281: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
                   13282: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   13283: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   13284: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
                   13285: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
                   13286: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
                   13287: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
                   13288: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
                   13289: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
                   13290: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
                   13291: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
                   13292: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
                   13293: 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"`'
                   13294: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
                   13295: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
                   13296: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
                   13297: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
                   13298: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
                   13299: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
                   13300: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
                   13301: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
                   13302: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
                   13303: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
                   13304: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
                   13305: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
                   13306: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
                   13307: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
                   13308: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
                   13309: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
                   13310: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
                   13311: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
                   13312: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   13313: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
                   13314: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
                   13315: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
                   13316: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
                   13317: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
                   13318: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
                   13319: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   13320: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
                   13321: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   13322: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
                   13323: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   13324: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
                   13325: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   13326: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   13327: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
                   13328: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
                   13329: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
                   13330: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
                   13331: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
                   13332: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   13333: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
                   13334: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
                   13335: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
                   13336: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
                   13337: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
                   13338: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
                   13339: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
                   13340: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
                   13341: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
                   13342: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
                   13343: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
                   13344: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
                   13345: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
                   13346: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
                   13347: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
                   13348: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   13349: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
                   13350: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
                   13351: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
                   13352: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
                   13353: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
                   13354: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   13355: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   13356: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
                   13357: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
                   13358: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
                   13359: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
                   13360: sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
                   13361: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
                   13362: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
                   13363: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
                   13364: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
                   13365: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
                   13366: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
                   13367: 
                   13368: LTCC='$LTCC'
                   13369: LTCFLAGS='$LTCFLAGS'
                   13370: compiler='$compiler_DEFAULT'
                   13371: 
                   13372: # A function that is used when there is no print builtin or printf.
                   13373: func_fallback_echo ()
                   13374: {
                   13375:   eval 'cat <<_LTECHO_EOF
                   13376: \$1
                   13377: _LTECHO_EOF'
                   13378: }
                   13379: 
                   13380: # Quote evaled strings.
                   13381: for var in AS \
                   13382: DLLTOOL \
                   13383: OBJDUMP \
                   13384: SHELL \
                   13385: ECHO \
                   13386: PATH_SEPARATOR \
                   13387: SED \
                   13388: GREP \
                   13389: EGREP \
                   13390: FGREP \
                   13391: LD \
                   13392: NM \
                   13393: LN_S \
                   13394: lt_SP2NL \
                   13395: lt_NL2SP \
                   13396: reload_flag \
                   13397: deplibs_check_method \
                   13398: file_magic_cmd \
                   13399: file_magic_glob \
                   13400: want_nocaseglob \
                   13401: sharedlib_from_linklib_cmd \
                   13402: AR \
                   13403: AR_FLAGS \
                   13404: archiver_list_spec \
                   13405: STRIP \
                   13406: RANLIB \
                   13407: CC \
                   13408: CFLAGS \
                   13409: compiler \
                   13410: lt_cv_sys_global_symbol_pipe \
                   13411: lt_cv_sys_global_symbol_to_cdecl \
                   13412: lt_cv_sys_global_symbol_to_c_name_address \
                   13413: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
                   13414: nm_file_list_spec \
                   13415: lt_prog_compiler_no_builtin_flag \
                   13416: lt_prog_compiler_pic \
                   13417: lt_prog_compiler_wl \
                   13418: lt_prog_compiler_static \
                   13419: lt_cv_prog_compiler_c_o \
                   13420: need_locks \
                   13421: MANIFEST_TOOL \
                   13422: DSYMUTIL \
                   13423: NMEDIT \
                   13424: LIPO \
                   13425: OTOOL \
                   13426: OTOOL64 \
                   13427: shrext_cmds \
                   13428: export_dynamic_flag_spec \
                   13429: whole_archive_flag_spec \
                   13430: compiler_needs_object \
                   13431: with_gnu_ld \
                   13432: allow_undefined_flag \
                   13433: no_undefined_flag \
                   13434: hardcode_libdir_flag_spec \
                   13435: hardcode_libdir_separator \
                   13436: exclude_expsyms \
                   13437: include_expsyms \
                   13438: file_list_spec \
                   13439: variables_saved_for_relink \
                   13440: libname_spec \
                   13441: library_names_spec \
                   13442: soname_spec \
                   13443: install_override_mode \
                   13444: finish_eval \
                   13445: old_striplib \
                   13446: striplib; do
                   13447:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   13448:     *[\\\\\\\`\\"\\\$]*)
                   13449:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
                   13450:       ;;
                   13451:     *)
                   13452:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   13453:       ;;
                   13454:     esac
                   13455: done
1.1       misha    13456: 
1.5       moko     13457: # Double-quote double-evaled strings.
                   13458: for var in reload_cmds \
                   13459: old_postinstall_cmds \
                   13460: old_postuninstall_cmds \
                   13461: old_archive_cmds \
                   13462: extract_expsyms_cmds \
                   13463: old_archive_from_new_cmds \
                   13464: old_archive_from_expsyms_cmds \
                   13465: archive_cmds \
                   13466: archive_expsym_cmds \
                   13467: module_cmds \
                   13468: module_expsym_cmds \
                   13469: export_symbols_cmds \
                   13470: prelink_cmds \
                   13471: postlink_cmds \
                   13472: postinstall_cmds \
                   13473: postuninstall_cmds \
                   13474: finish_cmds \
                   13475: sys_lib_search_path_spec \
                   13476: sys_lib_dlsearch_path_spec; do
                   13477:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   13478:     *[\\\\\\\`\\"\\\$]*)
                   13479:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
                   13480:       ;;
                   13481:     *)
                   13482:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   13483:       ;;
                   13484:     esac
                   13485: done
1.1       misha    13486: 
1.5       moko     13487: ac_aux_dir='$ac_aux_dir'
                   13488: xsi_shell='$xsi_shell'
                   13489: lt_shell_append='$lt_shell_append'
1.1       misha    13490: 
1.5       moko     13491: # See if we are running on zsh, and set the options which allow our
                   13492: # commands through without removal of \ escapes INIT.
                   13493: if test -n "\${ZSH_VERSION+set}" ; then
                   13494:    setopt NO_GLOB_SUBST
1.1       misha    13495: fi
                   13496: 
                   13497: 
1.5       moko     13498:     PACKAGE='$PACKAGE'
                   13499:     VERSION='$VERSION'
                   13500:     TIMESTAMP='$TIMESTAMP'
                   13501:     RM='$RM'
                   13502:     ofile='$ofile'
1.1       misha    13503: 
                   13504: 
                   13505: 
                   13506: 
                   13507: _ACEOF
                   13508: 
1.5       moko     13509: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1.1       misha    13510: 
1.5       moko     13511: # Handling of arguments.
                   13512: for ac_config_target in $ac_config_targets
                   13513: do
                   13514:   case $ac_config_target in
                   13515:     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config-h.in" ;;
                   13516:     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   13517:     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
                   13518:     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
1.1       misha    13519: 
1.5       moko     13520:   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
                   13521:   esac
1.1       misha    13522: done
                   13523: 
                   13524: 
1.5       moko     13525: # If the user did not use the arguments to specify the items to instantiate,
                   13526: # then the envvar interface is used.  Set only those that are not.
                   13527: # We use the long form for the default assignment because of an extremely
                   13528: # bizarre bug on SunOS 4.1.3.
                   13529: if $ac_need_defaults; then
                   13530:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   13531:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   13532:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   13533: fi
1.1       misha    13534: 
1.5       moko     13535: # Have a temporary directory for convenience.  Make it in the build tree
                   13536: # simply because there is no reason against having it here, and in addition,
                   13537: # creating and moving files from /tmp can sometimes cause problems.
                   13538: # Hook for its removal unless debugging.
                   13539: # Note that there is a small window in which the directory will not be cleaned:
                   13540: # after its creation but before its name has been assigned to `$tmp'.
                   13541: $debug ||
                   13542: {
                   13543:   tmp= ac_tmp=
                   13544:   trap 'exit_status=$?
                   13545:   : "${ac_tmp:=$tmp}"
                   13546:   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
                   13547: ' 0
                   13548:   trap 'as_fn_exit 1' 1 2 13 15
                   13549: }
                   13550: # Create a (secure) tmp directory for tmp files.
1.1       misha    13551: 
1.5       moko     13552: {
                   13553:   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
                   13554:   test -d "$tmp"
                   13555: }  ||
                   13556: {
                   13557:   tmp=./conf$$-$RANDOM
                   13558:   (umask 077 && mkdir "$tmp")
                   13559: } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
                   13560: ac_tmp=$tmp
1.1       misha    13561: 
1.5       moko     13562: # Set up the scripts for CONFIG_FILES section.
                   13563: # No need to generate them if there are no CONFIG_FILES.
                   13564: # This happens for instance with `./config.status config.h'.
                   13565: if test -n "$CONFIG_FILES"; then
1.1       misha    13566: 
                   13567: 
1.5       moko     13568: ac_cr=`echo X | tr X '\015'`
                   13569: # On cygwin, bash can eat \r inside `` if the user requested igncr.
                   13570: # But we know of no other shell where ac_cr would be empty at this
                   13571: # point, so we can use a bashism as a fallback.
                   13572: if test "x$ac_cr" = x; then
                   13573:   eval ac_cr=\$\'\\r\'
                   13574: fi
                   13575: ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
                   13576: if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
                   13577:   ac_cs_awk_cr='\\r'
                   13578: else
                   13579:   ac_cs_awk_cr=$ac_cr
                   13580: fi
1.1       misha    13581: 
1.5       moko     13582: echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
                   13583: _ACEOF
1.1       misha    13584: 
                   13585: 
1.5       moko     13586: {
                   13587:   echo "cat >conf$$subs.awk <<_ACEOF" &&
                   13588:   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
                   13589:   echo "_ACEOF"
                   13590: } >conf$$subs.sh ||
                   13591:   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   13592: ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
                   13593: ac_delim='%!_!# '
                   13594: for ac_last_try in false false false false false :; do
                   13595:   . ./conf$$subs.sh ||
                   13596:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
1.1       misha    13597: 
1.5       moko     13598:   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
                   13599:   if test $ac_delim_n = $ac_delim_num; then
                   13600:     break
                   13601:   elif $ac_last_try; then
                   13602:     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
                   13603:   else
                   13604:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   13605:   fi
                   13606: done
                   13607: rm -f conf$$subs.sh
1.1       misha    13608: 
1.5       moko     13609: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   13610: cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
                   13611: _ACEOF
                   13612: sed -n '
                   13613: h
                   13614: s/^/S["/; s/!.*/"]=/
                   13615: p
                   13616: g
                   13617: s/^[^!]*!//
                   13618: :repl
                   13619: t repl
                   13620: s/'"$ac_delim"'$//
                   13621: t delim
                   13622: :nl
                   13623: h
                   13624: s/\(.\{148\}\)..*/\1/
                   13625: t more1
                   13626: s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
                   13627: p
                   13628: n
                   13629: b repl
                   13630: :more1
                   13631: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   13632: p
                   13633: g
                   13634: s/.\{148\}//
                   13635: t nl
                   13636: :delim
                   13637: h
                   13638: s/\(.\{148\}\)..*/\1/
                   13639: t more2
                   13640: s/["\\]/\\&/g; s/^/"/; s/$/"/
                   13641: p
                   13642: b
                   13643: :more2
                   13644: s/["\\]/\\&/g; s/^/"/; s/$/"\\/
                   13645: p
                   13646: g
                   13647: s/.\{148\}//
                   13648: t delim
                   13649: ' <conf$$subs.awk | sed '
                   13650: /^[^""]/{
                   13651:   N
                   13652:   s/\n//
                   13653: }
                   13654: ' >>$CONFIG_STATUS || ac_write_fail=1
                   13655: rm -f conf$$subs.awk
                   13656: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   13657: _ACAWK
                   13658: cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
                   13659:   for (key in S) S_is_set[key] = 1
                   13660:   FS = ""
                   13661: 
                   13662: }
                   13663: {
                   13664:   line = $ 0
                   13665:   nfields = split(line, field, "@")
                   13666:   substed = 0
                   13667:   len = length(field[1])
                   13668:   for (i = 2; i < nfields; i++) {
                   13669:     key = field[i]
                   13670:     keylen = length(key)
                   13671:     if (S_is_set[key]) {
                   13672:       value = S[key]
                   13673:       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
                   13674:       len += length(value) + length(field[++i])
                   13675:       substed = 1
                   13676:     } else
                   13677:       len += 1 + keylen
                   13678:   }
1.1       misha    13679: 
1.5       moko     13680:   print line
                   13681: }
1.1       misha    13682: 
1.5       moko     13683: _ACAWK
                   13684: _ACEOF
                   13685: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   13686: if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
                   13687:   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
                   13688: else
                   13689:   cat
                   13690: fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
                   13691:   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
                   13692: _ACEOF
1.1       misha    13693: 
1.5       moko     13694: # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
                   13695: # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
                   13696: # trailing colons and then remove the whole line if VPATH becomes empty
                   13697: # (actually we leave an empty line to preserve line numbers).
                   13698: if test "x$srcdir" = x.; then
                   13699:   ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
                   13700: h
                   13701: s///
                   13702: s/^/:/
                   13703: s/[     ]*$/:/
                   13704: s/:\$(srcdir):/:/g
                   13705: s/:\${srcdir}:/:/g
                   13706: s/:@srcdir@:/:/g
                   13707: s/^:*//
                   13708: s/:*$//
                   13709: x
                   13710: s/\(=[  ]*\).*/\1/
                   13711: G
                   13712: s/\n//
                   13713: s/^[^=]*=[      ]*$//
                   13714: }'
                   13715: fi
1.1       misha    13716: 
1.5       moko     13717: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   13718: fi # test -n "$CONFIG_FILES"
1.1       misha    13719: 
1.5       moko     13720: # Set up the scripts for CONFIG_HEADERS section.
                   13721: # No need to generate them if there are no CONFIG_HEADERS.
                   13722: # This happens for instance with `./config.status Makefile'.
                   13723: if test -n "$CONFIG_HEADERS"; then
                   13724: cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
                   13725: BEGIN {
                   13726: _ACEOF
                   13727: 
                   13728: # Transform confdefs.h into an awk script `defines.awk', embedded as
                   13729: # here-document in config.status, that substitutes the proper values into
                   13730: # config.h.in to produce config.h.
                   13731: 
                   13732: # Create a delimiter string that does not exist in confdefs.h, to ease
                   13733: # handling of long lines.
                   13734: ac_delim='%!_!# '
                   13735: for ac_last_try in false false :; do
                   13736:   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
                   13737:   if test -z "$ac_tt"; then
                   13738:     break
                   13739:   elif $ac_last_try; then
                   13740:     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
                   13741:   else
                   13742:     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
                   13743:   fi
                   13744: done
1.1       misha    13745: 
1.5       moko     13746: # For the awk script, D is an array of macro values keyed by name,
                   13747: # likewise P contains macro parameters if any.  Preserve backslash
                   13748: # newline sequences.
                   13749: 
                   13750: ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
                   13751: sed -n '
                   13752: s/.\{148\}/&'"$ac_delim"'/g
                   13753: t rset
                   13754: :rset
                   13755: s/^[    ]*#[    ]*define[       ][      ]*/ /
                   13756: t def
                   13757: d
                   13758: :def
                   13759: s/\\$//
                   13760: t bsnl
                   13761: s/["\\]/\\&/g
                   13762: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   13763: D["\1"]=" \3"/p
                   13764: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2"/p
                   13765: d
                   13766: :bsnl
                   13767: s/["\\]/\\&/g
                   13768: s/^ \('"$ac_word_re"'\)\(([^()]*)\)[    ]*\(.*\)/P["\1"]="\2"\
                   13769: D["\1"]=" \3\\\\\\n"\\/p
                   13770: t cont
                   13771: s/^ \('"$ac_word_re"'\)[        ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
                   13772: t cont
                   13773: d
                   13774: :cont
                   13775: n
                   13776: s/.\{148\}/&'"$ac_delim"'/g
                   13777: t clear
                   13778: :clear
                   13779: s/\\$//
                   13780: t bsnlc
                   13781: s/["\\]/\\&/g; s/^/"/; s/$/"/p
                   13782: d
                   13783: :bsnlc
                   13784: s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
                   13785: b cont
                   13786: ' <confdefs.h | sed '
                   13787: s/'"$ac_delim"'/"\\\
                   13788: "/g' >>$CONFIG_STATUS || ac_write_fail=1
                   13789: 
                   13790: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   13791:   for (key in D) D_is_set[key] = 1
                   13792:   FS = ""
                   13793: }
                   13794: /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
                   13795:   line = \$ 0
                   13796:   split(line, arg, " ")
                   13797:   if (arg[1] == "#") {
                   13798:     defundef = arg[2]
                   13799:     mac1 = arg[3]
                   13800:   } else {
                   13801:     defundef = substr(arg[1], 2)
                   13802:     mac1 = arg[2]
                   13803:   }
                   13804:   split(mac1, mac2, "(") #)
                   13805:   macro = mac2[1]
                   13806:   prefix = substr(line, 1, index(line, defundef) - 1)
                   13807:   if (D_is_set[macro]) {
                   13808:     # Preserve the white space surrounding the "#".
                   13809:     print prefix "define", macro P[macro] D[macro]
                   13810:     next
                   13811:   } else {
                   13812:     # Replace #undef with comments.  This is necessary, for example,
                   13813:     # in the case of _POSIX_SOURCE, which is predefined and required
                   13814:     # on some systems where configure will not decide to define it.
                   13815:     if (defundef == "undef") {
                   13816:       print "/*", prefix defundef, macro, "*/"
                   13817:       next
                   13818:     }
                   13819:   }
                   13820: }
                   13821: { print }
                   13822: _ACAWK
                   13823: _ACEOF
                   13824: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   13825:   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
                   13826: fi # test -n "$CONFIG_HEADERS"
                   13827: 
                   13828: 
                   13829: eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
                   13830: shift
                   13831: for ac_tag
                   13832: do
                   13833:   case $ac_tag in
                   13834:   :[FHLC]) ac_mode=$ac_tag; continue;;
                   13835:   esac
                   13836:   case $ac_mode$ac_tag in
                   13837:   :[FHL]*:*);;
                   13838:   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
                   13839:   :[FH]-) ac_tag=-:-;;
                   13840:   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
                   13841:   esac
                   13842:   ac_save_IFS=$IFS
                   13843:   IFS=:
                   13844:   set x $ac_tag
                   13845:   IFS=$ac_save_IFS
                   13846:   shift
                   13847:   ac_file=$1
                   13848:   shift
1.1       misha    13849: 
1.5       moko     13850:   case $ac_mode in
                   13851:   :L) ac_source=$1;;
                   13852:   :[FH])
                   13853:     ac_file_inputs=
                   13854:     for ac_f
                   13855:     do
                   13856:       case $ac_f in
                   13857:       -) ac_f="$ac_tmp/stdin";;
                   13858:       *) # Look for the file first in the build tree, then in the source tree
                   13859:         # (if the path is not absolute).  The absolute path cannot be DOS-style,
                   13860:         # because $ac_f cannot contain `:'.
                   13861:         test -f "$ac_f" ||
                   13862:           case $ac_f in
                   13863:           [\\/$]*) false;;
                   13864:           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
                   13865:           esac ||
                   13866:           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
                   13867:       esac
                   13868:       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
                   13869:       as_fn_append ac_file_inputs " '$ac_f'"
                   13870:     done
1.1       misha    13871: 
1.5       moko     13872:     # Let's still pretend it is `configure' which instantiates (i.e., don't
                   13873:     # use $as_me), people would be surprised to read:
                   13874:     #    /* config.h.  Generated by config.status.  */
                   13875:     configure_input='Generated from '`
                   13876:          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
                   13877:        `' by configure.'
                   13878:     if test x"$ac_file" != x-; then
                   13879:       configure_input="$ac_file.  $configure_input"
                   13880:       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
                   13881: $as_echo "$as_me: creating $ac_file" >&6;}
                   13882:     fi
                   13883:     # Neutralize special characters interpreted by sed in replacement strings.
                   13884:     case $configure_input in #(
                   13885:     *\&* | *\|* | *\\* )
                   13886:        ac_sed_conf_input=`$as_echo "$configure_input" |
                   13887:        sed 's/[\\\\&|]/\\\\&/g'`;; #(
                   13888:     *) ac_sed_conf_input=$configure_input;;
                   13889:     esac
1.1       misha    13890: 
1.5       moko     13891:     case $ac_tag in
                   13892:     *:-:* | *:-) cat >"$ac_tmp/stdin" \
                   13893:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
                   13894:     esac
                   13895:     ;;
                   13896:   esac
1.1       misha    13897: 
1.5       moko     13898:   ac_dir=`$as_dirname -- "$ac_file" ||
                   13899: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   13900:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   13901:         X"$ac_file" : 'X\(//\)$' \| \
                   13902:         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
                   13903: $as_echo X"$ac_file" |
                   13904:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   13905:            s//\1/
                   13906:            q
                   13907:          }
                   13908:          /^X\(\/\/\)[^/].*/{
                   13909:            s//\1/
                   13910:            q
                   13911:          }
                   13912:          /^X\(\/\/\)$/{
                   13913:            s//\1/
                   13914:            q
                   13915:          }
                   13916:          /^X\(\/\).*/{
                   13917:            s//\1/
                   13918:            q
                   13919:          }
                   13920:          s/.*/./; q'`
                   13921:   as_dir="$ac_dir"; as_fn_mkdir_p
                   13922:   ac_builddir=.
1.1       misha    13923: 
1.5       moko     13924: case "$ac_dir" in
                   13925: .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   13926: *)
                   13927:   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
                   13928:   # A ".." for each directory in $ac_dir_suffix.
                   13929:   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
                   13930:   case $ac_top_builddir_sub in
                   13931:   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
                   13932:   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
                   13933:   esac ;;
                   13934: esac
                   13935: ac_abs_top_builddir=$ac_pwd
                   13936: ac_abs_builddir=$ac_pwd$ac_dir_suffix
                   13937: # for backward compatibility:
                   13938: ac_top_builddir=$ac_top_build_prefix
1.1       misha    13939: 
1.5       moko     13940: case $srcdir in
                   13941:   .)  # We are building in place.
                   13942:     ac_srcdir=.
                   13943:     ac_top_srcdir=$ac_top_builddir_sub
                   13944:     ac_abs_top_srcdir=$ac_pwd ;;
                   13945:   [\\/]* | ?:[\\/]* )  # Absolute name.
                   13946:     ac_srcdir=$srcdir$ac_dir_suffix;
                   13947:     ac_top_srcdir=$srcdir
                   13948:     ac_abs_top_srcdir=$srcdir ;;
                   13949:   *) # Relative name.
                   13950:     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
                   13951:     ac_top_srcdir=$ac_top_build_prefix$srcdir
                   13952:     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
                   13953: esac
                   13954: ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1.1       misha    13955: 
                   13956: 
1.5       moko     13957:   case $ac_mode in
                   13958:   :F)
                   13959:   #
                   13960:   # CONFIG_FILE
                   13961:   #
1.1       misha    13962: 
1.5       moko     13963:   case $INSTALL in
                   13964:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   13965:   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
                   13966:   esac
                   13967:   ac_MKDIR_P=$MKDIR_P
                   13968:   case $MKDIR_P in
                   13969:   [\\/$]* | ?:[\\/]* ) ;;
                   13970:   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
                   13971:   esac
1.1       misha    13972: _ACEOF
                   13973: 
1.5       moko     13974: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   13975: # If the template does not know about datarootdir, expand it.
                   13976: # FIXME: This hack should be removed a few years after 2.60.
                   13977: ac_datarootdir_hack=; ac_datarootdir_seen=
                   13978: ac_sed_dataroot='
                   13979: /datarootdir/ {
                   13980:   p
                   13981:   q
                   13982: }
                   13983: /@datadir@/p
                   13984: /@docdir@/p
                   13985: /@infodir@/p
                   13986: /@localedir@/p
                   13987: /@mandir@/p'
                   13988: case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
                   13989: *datarootdir*) ac_datarootdir_seen=yes;;
                   13990: *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
                   13991:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
                   13992: $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
                   13993: _ACEOF
                   13994: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   13995:   ac_datarootdir_hack='
                   13996:   s&@datadir@&$datadir&g
                   13997:   s&@docdir@&$docdir&g
                   13998:   s&@infodir@&$infodir&g
                   13999:   s&@localedir@&$localedir&g
                   14000:   s&@mandir@&$mandir&g
                   14001:   s&\\\${datarootdir}&$datarootdir&g' ;;
                   14002: esac
1.1       misha    14003: _ACEOF
                   14004: 
1.5       moko     14005: # Neutralize VPATH when `$srcdir' = `.'.
                   14006: # Shell code in configure.ac might set extrasub.
                   14007: # FIXME: do we really want to maintain this feature?
                   14008: cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
                   14009: ac_sed_extra="$ac_vpsub
                   14010: $extrasub
1.1       misha    14011: _ACEOF
1.5       moko     14012: cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
                   14013: :t
                   14014: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   14015: s|@configure_input@|$ac_sed_conf_input|;t t
                   14016: s&@top_builddir@&$ac_top_builddir_sub&;t t
                   14017: s&@top_build_prefix@&$ac_top_build_prefix&;t t
                   14018: s&@srcdir@&$ac_srcdir&;t t
                   14019: s&@abs_srcdir@&$ac_abs_srcdir&;t t
                   14020: s&@top_srcdir@&$ac_top_srcdir&;t t
                   14021: s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
                   14022: s&@builddir@&$ac_builddir&;t t
                   14023: s&@abs_builddir@&$ac_abs_builddir&;t t
                   14024: s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
                   14025: s&@INSTALL@&$ac_INSTALL&;t t
                   14026: s&@MKDIR_P@&$ac_MKDIR_P&;t t
                   14027: $ac_datarootdir_hack
                   14028: "
                   14029: eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
                   14030:   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   14031: 
                   14032: test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
                   14033:   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
                   14034:   { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
                   14035:       "$ac_tmp/out"`; test -z "$ac_out"; } &&
                   14036:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   14037: which seems to be undefined.  Please make sure it is defined" >&5
                   14038: $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
                   14039: which seems to be undefined.  Please make sure it is defined" >&2;}
1.1       misha    14040: 
1.5       moko     14041:   rm -f "$ac_tmp/stdin"
                   14042:   case $ac_file in
                   14043:   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
                   14044:   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
                   14045:   esac \
                   14046:   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   14047:  ;;
                   14048:   :H)
                   14049:   #
                   14050:   # CONFIG_HEADER
                   14051:   #
                   14052:   if test x"$ac_file" != x-; then
                   14053:     {
                   14054:       $as_echo "/* $configure_input  */" \
                   14055:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
                   14056:     } >"$ac_tmp/config.h" \
                   14057:       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   14058:     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
                   14059:       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
                   14060: $as_echo "$as_me: $ac_file is unchanged" >&6;}
                   14061:     else
                   14062:       rm -f "$ac_file"
                   14063:       mv "$ac_tmp/config.h" "$ac_file" \
                   14064:        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
                   14065:     fi
                   14066:   else
                   14067:     $as_echo "/* $configure_input  */" \
                   14068:       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
                   14069:       || as_fn_error $? "could not create -" "$LINENO" 5
                   14070:   fi
                   14071: # Compute "$ac_file"'s index in $config_headers.
                   14072: _am_arg="$ac_file"
                   14073: _am_stamp_count=1
                   14074: for _am_header in $config_headers :; do
                   14075:   case $_am_header in
                   14076:     $_am_arg | $_am_arg:* )
                   14077:       break ;;
                   14078:     * )
                   14079:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   14080:   esac
1.1       misha    14081: done
1.5       moko     14082: echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
                   14083: $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   14084:         X"$_am_arg" : 'X\(//\)[^/]' \| \
                   14085:         X"$_am_arg" : 'X\(//\)$' \| \
                   14086:         X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
                   14087: $as_echo X"$_am_arg" |
                   14088:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   14089:            s//\1/
                   14090:            q
                   14091:          }
                   14092:          /^X\(\/\/\)[^/].*/{
                   14093:            s//\1/
                   14094:            q
                   14095:          }
                   14096:          /^X\(\/\/\)$/{
                   14097:            s//\1/
                   14098:            q
                   14099:          }
                   14100:          /^X\(\/\).*/{
                   14101:            s//\1/
                   14102:            q
                   14103:          }
                   14104:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   14105:  ;;
1.1       misha    14106: 
1.5       moko     14107:   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
                   14108: $as_echo "$as_me: executing $ac_file commands" >&6;}
                   14109:  ;;
                   14110:   esac
1.1       misha    14111: 
                   14112: 
1.5       moko     14113:   case $ac_file$ac_mode in
                   14114:     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
                   14115:   # Autoconf 2.62 quotes --file arguments for eval, but not when files
                   14116:   # are listed without --file.  Let's play safe and only enable the eval
                   14117:   # if we detect the quoting.
                   14118:   case $CONFIG_FILES in
                   14119:   *\'*) eval set x "$CONFIG_FILES" ;;
                   14120:   *)   set x $CONFIG_FILES ;;
                   14121:   esac
                   14122:   shift
                   14123:   for mf
                   14124:   do
                   14125:     # Strip MF so we end up with the name of the file.
                   14126:     mf=`echo "$mf" | sed -e 's/:.*$//'`
                   14127:     # Check whether this is an Automake generated Makefile or not.
                   14128:     # We used to match only the files named `Makefile.in', but
                   14129:     # some people rename them; so instead we look at the file content.
                   14130:     # Grep'ing the first line is not enough: some people post-process
                   14131:     # each Makefile.in and add a new line on top of each file to say so.
                   14132:     # Grep'ing the whole file is not good either: AIX grep has a line
                   14133:     # limit of 2048, but all sed's we know have understand at least 4000.
                   14134:     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
                   14135:       dirpart=`$as_dirname -- "$mf" ||
                   14136: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   14137:         X"$mf" : 'X\(//\)[^/]' \| \
                   14138:         X"$mf" : 'X\(//\)$' \| \
                   14139:         X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
                   14140: $as_echo X"$mf" |
                   14141:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   14142:            s//\1/
                   14143:            q
                   14144:          }
                   14145:          /^X\(\/\/\)[^/].*/{
                   14146:            s//\1/
                   14147:            q
                   14148:          }
                   14149:          /^X\(\/\/\)$/{
                   14150:            s//\1/
                   14151:            q
                   14152:          }
                   14153:          /^X\(\/\).*/{
                   14154:            s//\1/
                   14155:            q
                   14156:          }
                   14157:          s/.*/./; q'`
                   14158:     else
                   14159:       continue
                   14160:     fi
                   14161:     # Extract the definition of DEPDIR, am__include, and am__quote
                   14162:     # from the Makefile without running `make'.
                   14163:     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
                   14164:     test -z "$DEPDIR" && continue
                   14165:     am__include=`sed -n 's/^am__include = //p' < "$mf"`
                   14166:     test -z "am__include" && continue
                   14167:     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
                   14168:     # When using ansi2knr, U may be empty or an underscore; expand it
                   14169:     U=`sed -n 's/^U = //p' < "$mf"`
                   14170:     # Find all dependency output files, they are included files with
                   14171:     # $(DEPDIR) in their names.  We invoke sed twice because it is the
                   14172:     # simplest approach to changing $(DEPDIR) to its actual value in the
                   14173:     # expansion.
                   14174:     for file in `sed -n "
                   14175:       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
                   14176:         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
                   14177:       # Make sure the directory exists.
                   14178:       test -f "$dirpart/$file" && continue
                   14179:       fdir=`$as_dirname -- "$file" ||
                   14180: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   14181:         X"$file" : 'X\(//\)[^/]' \| \
                   14182:         X"$file" : 'X\(//\)$' \| \
                   14183:         X"$file" : 'X\(/\)' \| . 2>/dev/null ||
                   14184: $as_echo X"$file" |
                   14185:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
                   14186:            s//\1/
                   14187:            q
                   14188:          }
                   14189:          /^X\(\/\/\)[^/].*/{
                   14190:            s//\1/
                   14191:            q
                   14192:          }
                   14193:          /^X\(\/\/\)$/{
                   14194:            s//\1/
                   14195:            q
                   14196:          }
                   14197:          /^X\(\/\).*/{
                   14198:            s//\1/
                   14199:            q
                   14200:          }
                   14201:          s/.*/./; q'`
                   14202:       as_dir=$dirpart/$fdir; as_fn_mkdir_p
                   14203:       # echo "creating $dirpart/$file"
                   14204:       echo '# dummy' > "$dirpart/$file"
                   14205:     done
                   14206:   done
                   14207: }
                   14208:  ;;
                   14209:     "libtool":C)
1.1       misha    14210: 
1.5       moko     14211:     # See if we are running on zsh, and set the options which allow our
                   14212:     # commands through without removal of \ escapes.
                   14213:     if test -n "${ZSH_VERSION+set}" ; then
                   14214:       setopt NO_GLOB_SUBST
                   14215:     fi
1.1       misha    14216: 
1.5       moko     14217:     cfgfile="${ofile}T"
                   14218:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
                   14219:     $RM "$cfgfile"
1.1       misha    14220: 
1.5       moko     14221:     cat <<_LT_EOF >> "$cfgfile"
                   14222: #! $SHELL
1.1       misha    14223: 
1.5       moko     14224: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
                   14225: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
                   14226: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
                   14227: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
                   14228: #
                   14229: #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
                   14230: #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
                   14231: #                 Foundation, Inc.
                   14232: #   Written by Gordon Matzigkeit, 1996
                   14233: #
                   14234: #   This file is part of GNU Libtool.
                   14235: #
                   14236: # GNU Libtool is free software; you can redistribute it and/or
                   14237: # modify it under the terms of the GNU General Public License as
                   14238: # published by the Free Software Foundation; either version 2 of
                   14239: # the License, or (at your option) any later version.
                   14240: #
                   14241: # As a special exception to the GNU General Public License,
                   14242: # if you distribute this file as part of a program or library that
                   14243: # is built using GNU Libtool, you may include this file under the
                   14244: # same distribution terms that you use for the rest of that program.
                   14245: #
                   14246: # GNU Libtool is distributed in the hope that it will be useful,
                   14247: # but WITHOUT ANY WARRANTY; without even the implied warranty of
                   14248: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   14249: # GNU General Public License for more details.
                   14250: #
                   14251: # You should have received a copy of the GNU General Public License
                   14252: # along with GNU Libtool; see the file COPYING.  If not, a copy
                   14253: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
                   14254: # obtained by writing to the Free Software Foundation, Inc.,
                   14255: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
1.1       misha    14256: 
                   14257: 
1.5       moko     14258: # The names of the tagged configurations supported by this script.
                   14259: available_tags=""
1.1       misha    14260: 
1.5       moko     14261: # ### BEGIN LIBTOOL CONFIG
1.1       misha    14262: 
1.5       moko     14263: # Which release of libtool.m4 was used?
                   14264: macro_version=$macro_version
                   14265: macro_revision=$macro_revision
1.1       misha    14266: 
1.5       moko     14267: # Assembler program.
                   14268: AS=$lt_AS
1.1       misha    14269: 
1.5       moko     14270: # DLL creation program.
                   14271: DLLTOOL=$lt_DLLTOOL
1.1       misha    14272: 
1.5       moko     14273: # Object dumper program.
                   14274: OBJDUMP=$lt_OBJDUMP
1.1       misha    14275: 
1.5       moko     14276: # Whether or not to build shared libraries.
                   14277: build_libtool_libs=$enable_shared
1.1       misha    14278: 
1.5       moko     14279: # Whether or not to build static libraries.
                   14280: build_old_libs=$enable_static
1.1       misha    14281: 
1.5       moko     14282: # What type of objects to build.
                   14283: pic_mode=$pic_mode
1.1       misha    14284: 
1.5       moko     14285: # Whether or not to optimize for fast installation.
                   14286: fast_install=$enable_fast_install
1.1       misha    14287: 
1.5       moko     14288: # Shell to use when invoking shell scripts.
                   14289: SHELL=$lt_SHELL
1.1       misha    14290: 
1.5       moko     14291: # An echo program that protects backslashes.
                   14292: ECHO=$lt_ECHO
1.1       misha    14293: 
1.5       moko     14294: # The PATH separator for the build system.
                   14295: PATH_SEPARATOR=$lt_PATH_SEPARATOR
1.1       misha    14296: 
1.5       moko     14297: # The host system.
                   14298: host_alias=$host_alias
                   14299: host=$host
                   14300: host_os=$host_os
1.1       misha    14301: 
1.5       moko     14302: # The build system.
                   14303: build_alias=$build_alias
                   14304: build=$build
                   14305: build_os=$build_os
1.1       misha    14306: 
1.5       moko     14307: # A sed program that does not truncate output.
                   14308: SED=$lt_SED
1.1       misha    14309: 
1.5       moko     14310: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   14311: Xsed="\$SED -e 1s/^X//"
1.1       misha    14312: 
1.5       moko     14313: # A grep program that handles long lines.
                   14314: GREP=$lt_GREP
1.1       misha    14315: 
1.5       moko     14316: # An ERE matcher.
                   14317: EGREP=$lt_EGREP
1.1       misha    14318: 
1.5       moko     14319: # A literal string matcher.
                   14320: FGREP=$lt_FGREP
1.1       misha    14321: 
1.5       moko     14322: # A BSD- or MS-compatible name lister.
                   14323: NM=$lt_NM
1.1       misha    14324: 
1.5       moko     14325: # Whether we need soft or hard links.
                   14326: LN_S=$lt_LN_S
1.1       misha    14327: 
1.5       moko     14328: # What is the maximum length of a command?
                   14329: max_cmd_len=$max_cmd_len
1.1       misha    14330: 
1.5       moko     14331: # Object file suffix (normally "o").
                   14332: objext=$ac_objext
1.1       misha    14333: 
1.5       moko     14334: # Executable file suffix (normally "").
                   14335: exeext=$exeext
1.1       misha    14336: 
1.5       moko     14337: # whether the shell understands "unset".
                   14338: lt_unset=$lt_unset
1.1       misha    14339: 
1.5       moko     14340: # turn spaces into newlines.
                   14341: SP2NL=$lt_lt_SP2NL
1.1       misha    14342: 
1.5       moko     14343: # turn newlines into spaces.
                   14344: NL2SP=$lt_lt_NL2SP
1.1       misha    14345: 
1.5       moko     14346: # convert \$build file names to \$host format.
                   14347: to_host_file_cmd=$lt_cv_to_host_file_cmd
1.1       misha    14348: 
1.5       moko     14349: # convert \$build files to toolchain format.
                   14350: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
1.1       misha    14351: 
1.5       moko     14352: # Method to check whether dependent libraries are shared objects.
                   14353: deplibs_check_method=$lt_deplibs_check_method
1.1       misha    14354: 
1.5       moko     14355: # Command to use when deplibs_check_method = "file_magic".
                   14356: file_magic_cmd=$lt_file_magic_cmd
1.1       misha    14357: 
1.5       moko     14358: # How to find potential files when deplibs_check_method = "file_magic".
                   14359: file_magic_glob=$lt_file_magic_glob
1.1       misha    14360: 
1.5       moko     14361: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
                   14362: want_nocaseglob=$lt_want_nocaseglob
1.1       misha    14363: 
1.5       moko     14364: # Command to associate shared and link libraries.
                   14365: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
1.1       misha    14366: 
1.5       moko     14367: # The archiver.
                   14368: AR=$lt_AR
1.1       misha    14369: 
1.5       moko     14370: # Flags to create an archive.
                   14371: AR_FLAGS=$lt_AR_FLAGS
1.1       misha    14372: 
1.5       moko     14373: # How to feed a file listing to the archiver.
                   14374: archiver_list_spec=$lt_archiver_list_spec
1.1       misha    14375: 
1.5       moko     14376: # A symbol stripping program.
                   14377: STRIP=$lt_STRIP
1.1       misha    14378: 
1.5       moko     14379: # Commands used to install an old-style archive.
                   14380: RANLIB=$lt_RANLIB
                   14381: old_postinstall_cmds=$lt_old_postinstall_cmds
                   14382: old_postuninstall_cmds=$lt_old_postuninstall_cmds
1.1       misha    14383: 
1.5       moko     14384: # Whether to use a lock for old archive extraction.
                   14385: lock_old_archive_extraction=$lock_old_archive_extraction
1.1       misha    14386: 
1.5       moko     14387: # A C compiler.
                   14388: LTCC=$lt_CC
1.1       misha    14389: 
1.5       moko     14390: # LTCC compiler flags.
                   14391: LTCFLAGS=$lt_CFLAGS
1.1       misha    14392: 
1.5       moko     14393: # Take the output of nm and produce a listing of raw symbols and C names.
                   14394: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
1.1       misha    14395: 
1.5       moko     14396: # Transform the output of nm in a proper C declaration.
                   14397: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
1.1       misha    14398: 
1.5       moko     14399: # Transform the output of nm in a C name address pair.
                   14400: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
1.1       misha    14401: 
1.5       moko     14402: # Transform the output of nm in a C name address pair when lib prefix is needed.
                   14403: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
1.1       misha    14404: 
1.5       moko     14405: # Specify filename containing input files for \$NM.
                   14406: nm_file_list_spec=$lt_nm_file_list_spec
1.1       misha    14407: 
1.5       moko     14408: # The root where to search for dependent libraries,and in which our libraries should be installed.
                   14409: lt_sysroot=$lt_sysroot
1.1       misha    14410: 
1.5       moko     14411: # The name of the directory that contains temporary libtool files.
                   14412: objdir=$objdir
1.1       misha    14413: 
1.5       moko     14414: # Used to examine libraries when file_magic_cmd begins with "file".
                   14415: MAGIC_CMD=$MAGIC_CMD
1.1       misha    14416: 
1.5       moko     14417: # Must we lock files when doing compilation?
                   14418: need_locks=$lt_need_locks
1.1       misha    14419: 
1.5       moko     14420: # Manifest tool.
                   14421: MANIFEST_TOOL=$lt_MANIFEST_TOOL
1.1       misha    14422: 
1.5       moko     14423: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
                   14424: DSYMUTIL=$lt_DSYMUTIL
1.1       misha    14425: 
1.5       moko     14426: # Tool to change global to local symbols on Mac OS X.
                   14427: NMEDIT=$lt_NMEDIT
1.1       misha    14428: 
1.5       moko     14429: # Tool to manipulate fat objects and archives on Mac OS X.
                   14430: LIPO=$lt_LIPO
1.1       misha    14431: 
1.5       moko     14432: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
                   14433: OTOOL=$lt_OTOOL
1.1       misha    14434: 
1.5       moko     14435: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
                   14436: OTOOL64=$lt_OTOOL64
1.1       misha    14437: 
1.5       moko     14438: # Old archive suffix (normally "a").
                   14439: libext=$libext
1.1       misha    14440: 
1.5       moko     14441: # Shared library suffix (normally ".so").
                   14442: shrext_cmds=$lt_shrext_cmds
1.1       misha    14443: 
1.5       moko     14444: # The commands to extract the exported symbol list from a shared archive.
                   14445: extract_expsyms_cmds=$lt_extract_expsyms_cmds
1.1       misha    14446: 
1.5       moko     14447: # Variables whose values should be saved in libtool wrapper scripts and
                   14448: # restored at link time.
                   14449: variables_saved_for_relink=$lt_variables_saved_for_relink
1.1       misha    14450: 
1.5       moko     14451: # Do we need the "lib" prefix for modules?
                   14452: need_lib_prefix=$need_lib_prefix
1.1       misha    14453: 
1.5       moko     14454: # Do we need a version for libraries?
                   14455: need_version=$need_version
1.1       misha    14456: 
1.5       moko     14457: # Library versioning type.
                   14458: version_type=$version_type
1.1       misha    14459: 
1.5       moko     14460: # Shared library runtime path variable.
                   14461: runpath_var=$runpath_var
1.1       misha    14462: 
1.5       moko     14463: # Shared library path variable.
                   14464: shlibpath_var=$shlibpath_var
1.1       misha    14465: 
1.5       moko     14466: # Is shlibpath searched before the hard-coded library search path?
                   14467: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
1.1       misha    14468: 
1.5       moko     14469: # Format of library name prefix.
                   14470: libname_spec=$lt_libname_spec
1.1       misha    14471: 
1.5       moko     14472: # List of archive names.  First name is the real one, the rest are links.
                   14473: # The last name is the one that the linker finds with -lNAME
                   14474: library_names_spec=$lt_library_names_spec
1.1       misha    14475: 
1.5       moko     14476: # The coded name of the library, if different from the real name.
                   14477: soname_spec=$lt_soname_spec
1.1       misha    14478: 
1.5       moko     14479: # Permission mode override for installation of shared libraries.
                   14480: install_override_mode=$lt_install_override_mode
1.1       misha    14481: 
1.5       moko     14482: # Command to use after installation of a shared archive.
                   14483: postinstall_cmds=$lt_postinstall_cmds
1.1       misha    14484: 
1.5       moko     14485: # Command to use after uninstallation of a shared archive.
                   14486: postuninstall_cmds=$lt_postuninstall_cmds
1.1       misha    14487: 
1.5       moko     14488: # Commands used to finish a libtool library installation in a directory.
                   14489: finish_cmds=$lt_finish_cmds
1.1       misha    14490: 
1.5       moko     14491: # As "finish_cmds", except a single script fragment to be evaled but
                   14492: # not shown.
                   14493: finish_eval=$lt_finish_eval
1.1       misha    14494: 
1.5       moko     14495: # Whether we should hardcode library paths into libraries.
                   14496: hardcode_into_libs=$hardcode_into_libs
1.1       misha    14497: 
1.5       moko     14498: # Compile-time system search path for libraries.
                   14499: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
1.1       misha    14500: 
1.5       moko     14501: # Run-time system search path for libraries.
                   14502: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
1.1       misha    14503: 
1.5       moko     14504: # Whether dlopen is supported.
                   14505: dlopen_support=$enable_dlopen
1.1       misha    14506: 
1.5       moko     14507: # Whether dlopen of programs is supported.
                   14508: dlopen_self=$enable_dlopen_self
1.1       misha    14509: 
1.5       moko     14510: # Whether dlopen of statically linked programs is supported.
                   14511: dlopen_self_static=$enable_dlopen_self_static
1.1       misha    14512: 
1.5       moko     14513: # Commands to strip libraries.
                   14514: old_striplib=$lt_old_striplib
                   14515: striplib=$lt_striplib
1.1       misha    14516: 
                   14517: 
1.5       moko     14518: # The linker used to build libraries.
                   14519: LD=$lt_LD
1.1       misha    14520: 
1.5       moko     14521: # How to create reloadable object files.
                   14522: reload_flag=$lt_reload_flag
                   14523: reload_cmds=$lt_reload_cmds
1.1       misha    14524: 
1.5       moko     14525: # Commands used to build an old-style archive.
                   14526: old_archive_cmds=$lt_old_archive_cmds
1.1       misha    14527: 
1.5       moko     14528: # A language specific compiler.
                   14529: CC=$lt_compiler
1.1       misha    14530: 
1.5       moko     14531: # Is the compiler the GNU compiler?
                   14532: with_gcc=$GCC
1.1       misha    14533: 
1.5       moko     14534: # Compiler flag to turn off builtin functions.
                   14535: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
1.1       misha    14536: 
1.5       moko     14537: # Additional compiler flags for building library objects.
                   14538: pic_flag=$lt_lt_prog_compiler_pic
1.1       misha    14539: 
1.5       moko     14540: # How to pass a linker flag through the compiler.
                   14541: wl=$lt_lt_prog_compiler_wl
1.1       misha    14542: 
1.5       moko     14543: # Compiler flag to prevent dynamic linking.
                   14544: link_static_flag=$lt_lt_prog_compiler_static
1.1       misha    14545: 
1.5       moko     14546: # Does compiler simultaneously support -c and -o options?
                   14547: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
1.1       misha    14548: 
1.5       moko     14549: # Whether or not to add -lc for building shared libraries.
                   14550: build_libtool_need_lc=$archive_cmds_need_lc
1.1       misha    14551: 
1.5       moko     14552: # Whether or not to disallow shared libs when runtime libs are static.
                   14553: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
1.1       misha    14554: 
1.5       moko     14555: # Compiler flag to allow reflexive dlopens.
                   14556: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
1.1       misha    14557: 
1.5       moko     14558: # Compiler flag to generate shared objects directly from archives.
                   14559: whole_archive_flag_spec=$lt_whole_archive_flag_spec
1.1       misha    14560: 
1.5       moko     14561: # Whether the compiler copes with passing no objects directly.
                   14562: compiler_needs_object=$lt_compiler_needs_object
1.1       misha    14563: 
1.5       moko     14564: # Create an old-style archive from a shared archive.
                   14565: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
1.1       misha    14566: 
1.5       moko     14567: # Create a temporary old-style archive to link instead of a shared archive.
                   14568: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
1.1       misha    14569: 
1.5       moko     14570: # Commands used to build a shared archive.
                   14571: archive_cmds=$lt_archive_cmds
                   14572: archive_expsym_cmds=$lt_archive_expsym_cmds
1.1       misha    14573: 
1.5       moko     14574: # Commands used to build a loadable module if different from building
                   14575: # a shared archive.
                   14576: module_cmds=$lt_module_cmds
                   14577: module_expsym_cmds=$lt_module_expsym_cmds
1.1       misha    14578: 
1.5       moko     14579: # Whether we are building with GNU ld or not.
                   14580: with_gnu_ld=$lt_with_gnu_ld
1.1       misha    14581: 
1.5       moko     14582: # Flag that allows shared libraries with undefined symbols to be built.
                   14583: allow_undefined_flag=$lt_allow_undefined_flag
1.1       misha    14584: 
1.5       moko     14585: # Flag that enforces no undefined symbols.
                   14586: no_undefined_flag=$lt_no_undefined_flag
1.1       misha    14587: 
1.5       moko     14588: # Flag to hardcode \$libdir into a binary during linking.
                   14589: # This must work even if \$libdir does not exist
                   14590: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
1.1       misha    14591: 
1.5       moko     14592: # Whether we need a single "-rpath" flag with a separated argument.
                   14593: hardcode_libdir_separator=$lt_hardcode_libdir_separator
1.1       misha    14594: 
1.5       moko     14595: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   14596: # DIR into the resulting binary.
                   14597: hardcode_direct=$hardcode_direct
1.1       misha    14598: 
1.5       moko     14599: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   14600: # DIR into the resulting binary and the resulting library dependency is
                   14601: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   14602: # library is relocated.
                   14603: hardcode_direct_absolute=$hardcode_direct_absolute
1.1       misha    14604: 
1.5       moko     14605: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   14606: # into the resulting binary.
                   14607: hardcode_minus_L=$hardcode_minus_L
1.1       misha    14608: 
1.5       moko     14609: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   14610: # into the resulting binary.
                   14611: hardcode_shlibpath_var=$hardcode_shlibpath_var
1.1       misha    14612: 
1.5       moko     14613: # Set to "yes" if building a shared library automatically hardcodes DIR
                   14614: # into the library and all subsequent libraries and executables linked
                   14615: # against it.
                   14616: hardcode_automatic=$hardcode_automatic
                   14617: 
                   14618: # Set to yes if linker adds runtime paths of dependent libraries
                   14619: # to runtime path list.
                   14620: inherit_rpath=$inherit_rpath
1.1       misha    14621: 
1.5       moko     14622: # Whether libtool must link a program against all its dependency libraries.
                   14623: link_all_deplibs=$link_all_deplibs
1.1       misha    14624: 
1.5       moko     14625: # Set to "yes" if exported symbols are required.
                   14626: always_export_symbols=$always_export_symbols
1.1       misha    14627: 
1.5       moko     14628: # The commands to list exported symbols.
                   14629: export_symbols_cmds=$lt_export_symbols_cmds
1.1       misha    14630: 
1.5       moko     14631: # Symbols that should not be listed in the preloaded symbols.
                   14632: exclude_expsyms=$lt_exclude_expsyms
1.1       misha    14633: 
1.5       moko     14634: # Symbols that must always be exported.
                   14635: include_expsyms=$lt_include_expsyms
1.1       misha    14636: 
1.5       moko     14637: # Commands necessary for linking programs (against libraries) with templates.
                   14638: prelink_cmds=$lt_prelink_cmds
1.1       misha    14639: 
1.5       moko     14640: # Commands necessary for finishing linking programs.
                   14641: postlink_cmds=$lt_postlink_cmds
1.1       misha    14642: 
1.5       moko     14643: # Specify filename containing input files.
                   14644: file_list_spec=$lt_file_list_spec
1.1       misha    14645: 
1.5       moko     14646: # How to hardcode a shared library path into an executable.
                   14647: hardcode_action=$hardcode_action
1.1       misha    14648: 
1.5       moko     14649: # ### END LIBTOOL CONFIG
1.1       misha    14650: 
1.5       moko     14651: _LT_EOF
1.1       misha    14652: 
1.5       moko     14653:   case $host_os in
                   14654:   aix3*)
                   14655:     cat <<\_LT_EOF >> "$cfgfile"
                   14656: # AIX sometimes has problems with the GCC collect2 program.  For some
                   14657: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   14658: # vanish in a puff of smoke.
                   14659: if test "X${COLLECT_NAMES+set}" != Xset; then
                   14660:   COLLECT_NAMES=
                   14661:   export COLLECT_NAMES
                   14662: fi
                   14663: _LT_EOF
                   14664:     ;;
                   14665:   esac
1.1       misha    14666: 
                   14667: 
1.5       moko     14668: ltmain="$ac_aux_dir/ltmain.sh"
1.1       misha    14669: 
                   14670: 
1.5       moko     14671:   # We use sed instead of cat because bash on DJGPP gets confused if
                   14672:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   14673:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   14674:   # is reportedly fixed, but why not run on old versions too?
                   14675:   sed '$q' "$ltmain" >> "$cfgfile" \
                   14676:      || (rm -f "$cfgfile"; exit 1)
1.1       misha    14677: 
1.5       moko     14678:   if test x"$xsi_shell" = xyes; then
                   14679:   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
                   14680: func_dirname ()\
                   14681: {\
                   14682: \    case ${1} in\
                   14683: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   14684: \      *  ) func_dirname_result="${3}" ;;\
                   14685: \    esac\
                   14686: } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
                   14687:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   14688:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   14689: test 0 -eq $? || _lt_function_replace_fail=:
                   14690: 
                   14691: 
                   14692:   sed -e '/^func_basename ()$/,/^} # func_basename /c\
                   14693: func_basename ()\
                   14694: {\
                   14695: \    func_basename_result="${1##*/}"\
                   14696: } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   14697:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   14698:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   14699: test 0 -eq $? || _lt_function_replace_fail=:
                   14700: 
                   14701: 
                   14702:   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
                   14703: func_dirname_and_basename ()\
                   14704: {\
                   14705: \    case ${1} in\
                   14706: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   14707: \      *  ) func_dirname_result="${3}" ;;\
                   14708: \    esac\
                   14709: \    func_basename_result="${1##*/}"\
                   14710: } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   14711:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   14712:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   14713: test 0 -eq $? || _lt_function_replace_fail=:
                   14714: 
                   14715: 
                   14716:   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
                   14717: func_stripname ()\
                   14718: {\
                   14719: \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
                   14720: \    # positional parameters, so assign one to ordinary parameter first.\
                   14721: \    func_stripname_result=${3}\
                   14722: \    func_stripname_result=${func_stripname_result#"${1}"}\
                   14723: \    func_stripname_result=${func_stripname_result%"${2}"}\
                   14724: } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
                   14725:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   14726:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   14727: test 0 -eq $? || _lt_function_replace_fail=:
                   14728: 
                   14729: 
                   14730:   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
                   14731: func_split_long_opt ()\
                   14732: {\
                   14733: \    func_split_long_opt_name=${1%%=*}\
                   14734: \    func_split_long_opt_arg=${1#*=}\
                   14735: } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   14736:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   14737:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   14738: test 0 -eq $? || _lt_function_replace_fail=:
                   14739: 
                   14740: 
                   14741:   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
                   14742: func_split_short_opt ()\
                   14743: {\
                   14744: \    func_split_short_opt_arg=${1#??}\
                   14745: \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
                   14746: } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   14747:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   14748:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   14749: test 0 -eq $? || _lt_function_replace_fail=:
                   14750: 
                   14751: 
                   14752:   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
                   14753: func_lo2o ()\
                   14754: {\
                   14755: \    case ${1} in\
                   14756: \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
                   14757: \      *)    func_lo2o_result=${1} ;;\
                   14758: \    esac\
                   14759: } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
                   14760:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   14761:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   14762: test 0 -eq $? || _lt_function_replace_fail=:
                   14763: 
                   14764: 
                   14765:   sed -e '/^func_xform ()$/,/^} # func_xform /c\
                   14766: func_xform ()\
                   14767: {\
                   14768:     func_xform_result=${1%.*}.lo\
                   14769: } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
                   14770:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   14771:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   14772: test 0 -eq $? || _lt_function_replace_fail=:
                   14773: 
                   14774: 
                   14775:   sed -e '/^func_arith ()$/,/^} # func_arith /c\
                   14776: func_arith ()\
                   14777: {\
                   14778:     func_arith_result=$(( $* ))\
                   14779: } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
                   14780:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   14781:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   14782: test 0 -eq $? || _lt_function_replace_fail=:
                   14783: 
                   14784: 
                   14785:   sed -e '/^func_len ()$/,/^} # func_len /c\
                   14786: func_len ()\
                   14787: {\
                   14788:     func_len_result=${#1}\
                   14789: } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
                   14790:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   14791:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   14792: test 0 -eq $? || _lt_function_replace_fail=:
                   14793: 
                   14794: fi
                   14795: 
                   14796: if test x"$lt_shell_append" = xyes; then
                   14797:   sed -e '/^func_append ()$/,/^} # func_append /c\
                   14798: func_append ()\
                   14799: {\
                   14800:     eval "${1}+=\\${2}"\
                   14801: } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
                   14802:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   14803:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   14804: test 0 -eq $? || _lt_function_replace_fail=:
                   14805: 
                   14806: 
                   14807:   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
                   14808: func_append_quoted ()\
                   14809: {\
                   14810: \    func_quote_for_eval "${2}"\
                   14811: \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
                   14812: } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
                   14813:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   14814:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   14815: test 0 -eq $? || _lt_function_replace_fail=:
                   14816: 
                   14817: 
                   14818:   # Save a `func_append' function call where possible by direct use of '+='
                   14819:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
                   14820:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   14821:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   14822:   test 0 -eq $? || _lt_function_replace_fail=:
                   14823: else
                   14824:   # Save a `func_append' function call even when '+=' is not available
                   14825:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
                   14826:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   14827:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   14828:   test 0 -eq $? || _lt_function_replace_fail=:
                   14829: fi
                   14830: 
                   14831: if test x"$_lt_function_replace_fail" = x":"; then
                   14832:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
                   14833: $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
1.1       misha    14834: fi
                   14835: 
                   14836: 
1.5       moko     14837:    mv -f "$cfgfile" "$ofile" ||
                   14838:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
                   14839:   chmod +x "$ofile"
                   14840: 
1.1       misha    14841:  ;;
1.5       moko     14842: 
1.1       misha    14843:   esac
1.5       moko     14844: done # for ac_tag
1.1       misha    14845: 
                   14846: 
1.5       moko     14847: as_fn_exit 0
1.1       misha    14848: _ACEOF
                   14849: ac_clean_files=$ac_clean_files_save
                   14850: 
1.5       moko     14851: test $ac_write_fail = 0 ||
                   14852:   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
                   14853: 
1.1       misha    14854: 
                   14855: # configure is writing to config.log, and then calls config.status.
                   14856: # config.status does its own redirection, appending to config.log.
                   14857: # Unfortunately, on DOS this fails, as config.log is still kept open
                   14858: # by configure, so config.status won't be able to write to it; its
                   14859: # output is simply discarded.  So we exec the FD to /dev/null,
                   14860: # effectively closing config.log, so it can be properly (re)opened and
                   14861: # appended to by config.status.  When coming back to configure, we
                   14862: # need to make the FD available again.
                   14863: if test "$no_create" != yes; then
                   14864:   ac_cs_success=:
                   14865:   ac_config_status_args=
                   14866:   test "$silent" = yes &&
                   14867:     ac_config_status_args="$ac_config_status_args --quiet"
                   14868:   exec 5>/dev/null
                   14869:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   14870:   exec 5>>config.log
                   14871:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   14872:   # would make configure fail if this is the last instruction.
1.5       moko     14873:   $ac_cs_success || as_fn_exit 1
                   14874: fi
                   14875: if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
                   14876:   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
                   14877: $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
1.1       misha    14878: fi
                   14879: 

E-mail: