Annotation of sql/oracle/configure, revision 1.31

1.1       parser      1: #! /bin/sh
                      2: # Guess values for system-dependent variables and create Makefiles.
1.25      moko        3: # Generated by GNU Autoconf 2.59 for parser3 10.2.
1.1       parser      4: #
1.18      paf         5: # Copyright (C) 2003 Free Software Foundation, Inc.
1.1       parser      6: # This configure script is free software; the Free Software Foundation
                      7: # gives unlimited permission to copy, distribute and modify it.
1.11      paf         8: ## --------------------- ##
                      9: ## M4sh Initialization.  ##
                     10: ## --------------------- ##
                     11: 
                     12: # Be Bourne compatible
                     13: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
                     14:   emulate sh
                     15:   NULLCMD=:
                     16:   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
                     17:   # is contrary to our usage.  Disable this feature.
                     18:   alias -g '${1+"$@"}'='"$@"'
                     19: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
                     20:   set -o posix
                     21: fi
1.18      paf        22: DUALCASE=1; export DUALCASE # for MKS sh
1.11      paf        23: 
                     24: # Support unset when possible.
1.18      paf        25: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
1.11      paf        26:   as_unset=unset
                     27: else
                     28:   as_unset=false
                     29: fi
                     30: 
                     31: 
                     32: # Work around bugs in pre-3.0 UWIN ksh.
                     33: $as_unset ENV MAIL MAILPATH
                     34: PS1='$ '
                     35: PS2='> '
                     36: PS4='+ '
                     37: 
                     38: # NLS nuisances.
                     39: for as_var in \
                     40:   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
                     41:   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
                     42:   LC_TELEPHONE LC_TIME
                     43: do
1.18      paf        44:   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
1.11      paf        45:     eval $as_var=C; export $as_var
                     46:   else
                     47:     $as_unset $as_var
                     48:   fi
                     49: done
                     50: 
                     51: # Required to use basename.
                     52: if expr a : '\(a\)' >/dev/null 2>&1; then
                     53:   as_expr=expr
                     54: else
                     55:   as_expr=false
                     56: fi
                     57: 
                     58: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
                     59:   as_basename=basename
                     60: else
                     61:   as_basename=false
                     62: fi
                     63: 
                     64: 
                     65: # Name of the executable.
                     66: as_me=`$as_basename "$0" ||
                     67: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                     68:         X"$0" : 'X\(//\)$' \| \
                     69:         X"$0" : 'X\(/\)$' \| \
                     70:         .     : '\(.\)' 2>/dev/null ||
                     71: echo X/"$0" |
                     72:     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
                     73:          /^X\/\(\/\/\)$/{ s//\1/; q; }
                     74:          /^X\/\(\/\).*/{ s//\1/; q; }
                     75:          s/.*/./; q'`
                     76: 
                     77: 
                     78: # PATH needs CR, and LINENO needs CR and PATH.
                     79: # Avoid depending upon Character Ranges.
                     80: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                     81: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                     82: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                     83: as_cr_digits='0123456789'
                     84: as_cr_alnum=$as_cr_Letters$as_cr_digits
                     85: 
                     86: # The user is always right.
                     87: if test "${PATH_SEPARATOR+set}" != set; then
                     88:   echo "#! /bin/sh" >conf$$.sh
                     89:   echo  "exit 0"   >>conf$$.sh
                     90:   chmod +x conf$$.sh
                     91:   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
                     92:     PATH_SEPARATOR=';'
                     93:   else
                     94:     PATH_SEPARATOR=:
                     95:   fi
                     96:   rm -f conf$$.sh
                     97: fi
                     98: 
                     99: 
                    100:   as_lineno_1=$LINENO
                    101:   as_lineno_2=$LINENO
                    102:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                    103:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                    104:   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
                    105:   # Find who we are.  Look in the path if we contain no path at all
                    106:   # relative or not.
                    107:   case $0 in
                    108:     *[\\/]* ) as_myself=$0 ;;
                    109:     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                    110: for as_dir in $PATH
                    111: do
                    112:   IFS=$as_save_IFS
                    113:   test -z "$as_dir" && as_dir=.
                    114:   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                    115: done
                    116: 
                    117:        ;;
                    118:   esac
                    119:   # We did not find ourselves, most probably we were run as `sh COMMAND'
                    120:   # in which case we are not to be found in the path.
                    121:   if test "x$as_myself" = x; then
                    122:     as_myself=$0
                    123:   fi
                    124:   if test ! -f "$as_myself"; then
                    125:     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
                    126:    { (exit 1); exit 1; }; }
                    127:   fi
                    128:   case $CONFIG_SHELL in
                    129:   '')
                    130:     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                    131: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                    132: do
                    133:   IFS=$as_save_IFS
                    134:   test -z "$as_dir" && as_dir=.
                    135:   for as_base in sh bash ksh sh5; do
                    136:         case $as_dir in
                    137:         /*)
                    138:           if ("$as_dir/$as_base" -c '
                    139:   as_lineno_1=$LINENO
                    140:   as_lineno_2=$LINENO
                    141:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                    142:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                    143:   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
                    144:             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
                    145:             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
                    146:             CONFIG_SHELL=$as_dir/$as_base
                    147:             export CONFIG_SHELL
                    148:             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
                    149:           fi;;
                    150:         esac
                    151:        done
                    152: done
                    153: ;;
                    154:   esac
                    155: 
                    156:   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
                    157:   # uniformly replaced by the line number.  The first 'sed' inserts a
                    158:   # line-number line before each line; the second 'sed' does the real
                    159:   # work.  The second script uses 'N' to pair each line-number line
                    160:   # with the numbered line, and appends trailing '-' during
                    161:   # substitution so that $LINENO is not a special case at line end.
                    162:   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
                    163:   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
                    164:   sed '=' <$as_myself |
                    165:     sed '
                    166:       N
                    167:       s,$,-,
                    168:       : loop
                    169:       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
                    170:       t loop
                    171:       s,-$,,
                    172:       s,^['$as_cr_digits']*\n,,
                    173:     ' >$as_me.lineno &&
                    174:   chmod +x $as_me.lineno ||
                    175:     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
                    176:    { (exit 1); exit 1; }; }
                    177: 
                    178:   # Don't try to exec as it changes $[0], causing all sort of problems
                    179:   # (the dirname of $[0] is not the place where we might find the
                    180:   # original and so on.  Autoconf is especially sensible to this).
                    181:   . ./$as_me.lineno
                    182:   # Exit status is that of the last command.
                    183:   exit
                    184: }
                    185: 
                    186: 
                    187: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
                    188:   *c*,-n*) ECHO_N= ECHO_C='
                    189: ' ECHO_T='     ' ;;
                    190:   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
                    191:   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
                    192: esac
                    193: 
                    194: if expr a : '\(a\)' >/dev/null 2>&1; then
                    195:   as_expr=expr
                    196: else
                    197:   as_expr=false
                    198: fi
                    199: 
                    200: rm -f conf$$ conf$$.exe conf$$.file
                    201: echo >conf$$.file
                    202: if ln -s conf$$.file conf$$ 2>/dev/null; then
                    203:   # We could just check for DJGPP; but this test a) works b) is more generic
                    204:   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
                    205:   if test -f conf$$.exe; then
                    206:     # Don't use ln at all; we don't have any links
                    207:     as_ln_s='cp -p'
                    208:   else
                    209:     as_ln_s='ln -s'
                    210:   fi
                    211: elif ln conf$$.file conf$$ 2>/dev/null; then
                    212:   as_ln_s=ln
                    213: else
                    214:   as_ln_s='cp -p'
                    215: fi
                    216: rm -f conf$$ conf$$.exe conf$$.file
                    217: 
                    218: if mkdir -p . 2>/dev/null; then
                    219:   as_mkdir_p=:
                    220: else
1.18      paf       221:   test -d ./-p && rmdir ./-p
1.11      paf       222:   as_mkdir_p=false
                    223: fi
                    224: 
                    225: as_executable_p="test -f"
                    226: 
                    227: # Sed expression to map a string onto a valid CPP name.
1.18      paf       228: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
1.11      paf       229: 
                    230: # Sed expression to map a string onto a valid variable name.
1.18      paf       231: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
1.11      paf       232: 
                    233: 
                    234: # IFS
                    235: # We need space, tab and new line, in precisely that order.
                    236: as_nl='
                    237: '
                    238: IFS="  $as_nl"
                    239: 
                    240: # CDPATH.
                    241: $as_unset CDPATH
                    242: 
1.25      moko      243: lt_ltdl_dir='libltdl'
1.11      paf       244: 
                    245: SHELL=${CONFIG_SHELL-/bin/sh}
                    246: 
1.25      moko      247: lt_dlopen_dir="$lt_ltdl_dir"
1.11      paf       248: 
                    249: 
                    250: # Name of the host.
                    251: # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
                    252: # so uname gets run too.
                    253: ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
1.1       parser    254: 
1.11      paf       255: exec 6>&1
                    256: 
                    257: #
                    258: # Initializations.
                    259: #
1.1       parser    260: ac_default_prefix=/usr/local
1.11      paf       261: ac_config_libobj_dir=.
                    262: cross_compiling=no
                    263: subdirs=
                    264: MFLAGS=
                    265: MAKEFLAGS=
                    266: SHELL=${CONFIG_SHELL-/bin/sh}
                    267: 
                    268: # Maximum number of lines to put in a shell here document.
                    269: # This variable seems obsolete.  It should probably be removed, and
                    270: # only ac_max_sed_lines should be used.
                    271: : ${ac_max_here_lines=38}
                    272: 
                    273: # Identity of this package.
1.25      moko      274: PACKAGE_NAME='parser3'
                    275: PACKAGE_TARNAME='parser3'
                    276: PACKAGE_VERSION='10.2'
                    277: PACKAGE_STRING='parser3 10.2'
                    278: PACKAGE_BUGREPORT=''
1.11      paf       279: 
                    280: ac_unique_file="parser3oracle.C"
                    281: # Factoring default headers for most tests.
                    282: ac_includes_default="\
                    283: #include <stdio.h>
                    284: #if HAVE_SYS_TYPES_H
                    285: # include <sys/types.h>
                    286: #endif
                    287: #if HAVE_SYS_STAT_H
                    288: # include <sys/stat.h>
                    289: #endif
                    290: #if STDC_HEADERS
                    291: # include <stdlib.h>
                    292: # include <stddef.h>
                    293: #else
                    294: # if HAVE_STDLIB_H
                    295: #  include <stdlib.h>
                    296: # endif
                    297: #endif
                    298: #if HAVE_STRING_H
                    299: # if !STDC_HEADERS && HAVE_MEMORY_H
                    300: #  include <memory.h>
                    301: # endif
                    302: # include <string.h>
                    303: #endif
                    304: #if HAVE_STRINGS_H
                    305: # include <strings.h>
                    306: #endif
                    307: #if HAVE_INTTYPES_H
                    308: # include <inttypes.h>
                    309: #else
                    310: # if HAVE_STDINT_H
                    311: #  include <stdint.h>
                    312: # endif
                    313: #endif
                    314: #if HAVE_UNISTD_H
                    315: # include <unistd.h>
                    316: #endif"
                    317: 
                    318: ac_subdirs_all="$ac_subdirs_all libltdl"
1.29      moko      319: ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar ORACLE_OCI_INC ORACLE_PUBLIC_INC CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CC CFLAGS ac_ct_CC CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AS ac_ct_AS DLLTOOL ac_ct_DLLTOOL OBJDUMP ac_ct_OBJDUMP LIBTOOL build build_cpu build_vendor build_os host host_cpu host_vendor host_os SED EGREP FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S AR ac_ct_AR RANLIB ac_ct_RANLIB MANIFEST_TOOL ac_ct_MANIFEST_TOOL DSYMUTIL ac_ct_DSYMUTIL NMEDIT ac_ct_NMEDIT LIPO ac_ct_LIPO OTOOL ac_ct_OTOOL OTOOL64 ac_ct_OTOOL64 CPP CXXCPP LIBLTDL LTDLDEPS LTDLINCL INCLTDL LT_DLLOADERS LIBADD_DLOPEN LIBADD_SHL_LOAD LIBADD_DLD_LINK LT_DLPREOPEN LIBADD_DL sys_symbol_underscore ARGZ_H INSTALL_LTDL_TRUE INSTALL_LTDL_FALSE CONVENIENCE_LTDL_TRUE CONVENIENCE_LTDL_FALSE subdirs LT_CONFIG_H LTDLOPEN LIBOBJS LTLIBOBJS ltdl_LIBOBJS ltdl_LTLIBOBJS'
1.11      paf       320: ac_subst_files=''
1.1       parser    321: 
                    322: # Initialize some variables set by options.
1.11      paf       323: ac_init_help=
                    324: ac_init_version=false
1.1       parser    325: # The variables have the same names as the options, with
                    326: # dashes changed to underlines.
1.11      paf       327: cache_file=/dev/null
1.1       parser    328: exec_prefix=NONE
                    329: no_create=
                    330: no_recursion=
                    331: prefix=NONE
                    332: program_prefix=NONE
                    333: program_suffix=NONE
                    334: program_transform_name=s,x,x,
                    335: silent=
                    336: site=
                    337: srcdir=
                    338: verbose=
                    339: x_includes=NONE
                    340: x_libraries=NONE
1.11      paf       341: 
                    342: # Installation directory options.
                    343: # These are left unexpanded so users can "make install exec_prefix=/foo"
                    344: # and all the variables that are supposed to be based on exec_prefix
                    345: # by default will actually change.
                    346: # Use braces instead of parens because sh, perl, etc. also accept them.
1.1       parser    347: bindir='${exec_prefix}/bin'
                    348: sbindir='${exec_prefix}/sbin'
                    349: libexecdir='${exec_prefix}/libexec'
                    350: datadir='${prefix}/share'
                    351: sysconfdir='${prefix}/etc'
                    352: sharedstatedir='${prefix}/com'
                    353: localstatedir='${prefix}/var'
                    354: libdir='${exec_prefix}/lib'
                    355: includedir='${prefix}/include'
                    356: oldincludedir='/usr/include'
                    357: infodir='${prefix}/info'
                    358: mandir='${prefix}/man'
                    359: 
                    360: ac_prev=
                    361: for ac_option
                    362: do
                    363:   # If the previous option needs an argument, assign it.
                    364:   if test -n "$ac_prev"; then
                    365:     eval "$ac_prev=\$ac_option"
                    366:     ac_prev=
                    367:     continue
                    368:   fi
                    369: 
1.11      paf       370:   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
1.1       parser    371: 
                    372:   # Accept the important Cygnus configure options, so we can diagnose typos.
                    373: 
1.11      paf       374:   case $ac_option in
1.1       parser    375: 
                    376:   -bindir | --bindir | --bindi | --bind | --bin | --bi)
                    377:     ac_prev=bindir ;;
                    378:   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1.11      paf       379:     bindir=$ac_optarg ;;
1.1       parser    380: 
                    381:   -build | --build | --buil | --bui | --bu)
1.11      paf       382:     ac_prev=build_alias ;;
1.1       parser    383:   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1.11      paf       384:     build_alias=$ac_optarg ;;
1.1       parser    385: 
                    386:   -cache-file | --cache-file | --cache-fil | --cache-fi \
                    387:   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                    388:     ac_prev=cache_file ;;
                    389:   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
                    390:   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1.11      paf       391:     cache_file=$ac_optarg ;;
                    392: 
                    393:   --config-cache | -C)
                    394:     cache_file=config.cache ;;
1.1       parser    395: 
                    396:   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
                    397:     ac_prev=datadir ;;
                    398:   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
                    399:   | --da=*)
1.11      paf       400:     datadir=$ac_optarg ;;
1.1       parser    401: 
                    402:   -disable-* | --disable-*)
1.11      paf       403:     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1       parser    404:     # Reject names that are not valid shell variable names.
1.11      paf       405:     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    406:       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
                    407:    { (exit 1); exit 1; }; }
                    408:     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
                    409:     eval "enable_$ac_feature=no" ;;
1.1       parser    410: 
                    411:   -enable-* | --enable-*)
1.11      paf       412:     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1       parser    413:     # Reject names that are not valid shell variable names.
1.11      paf       414:     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    415:       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
                    416:    { (exit 1); exit 1; }; }
                    417:     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
                    418:     case $ac_option in
                    419:       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1.1       parser    420:       *) ac_optarg=yes ;;
                    421:     esac
1.11      paf       422:     eval "enable_$ac_feature='$ac_optarg'" ;;
1.1       parser    423: 
                    424:   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
                    425:   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
                    426:   | --exec | --exe | --ex)
                    427:     ac_prev=exec_prefix ;;
                    428:   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
                    429:   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
                    430:   | --exec=* | --exe=* | --ex=*)
1.11      paf       431:     exec_prefix=$ac_optarg ;;
1.1       parser    432: 
                    433:   -gas | --gas | --ga | --g)
                    434:     # Obsolete; use --with-gas.
                    435:     with_gas=yes ;;
                    436: 
1.11      paf       437:   -help | --help | --hel | --he | -h)
                    438:     ac_init_help=long ;;
                    439:   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
                    440:     ac_init_help=recursive ;;
                    441:   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
                    442:     ac_init_help=short ;;
1.1       parser    443: 
                    444:   -host | --host | --hos | --ho)
1.11      paf       445:     ac_prev=host_alias ;;
1.1       parser    446:   -host=* | --host=* | --hos=* | --ho=*)
1.11      paf       447:     host_alias=$ac_optarg ;;
1.1       parser    448: 
                    449:   -includedir | --includedir | --includedi | --included | --include \
                    450:   | --includ | --inclu | --incl | --inc)
                    451:     ac_prev=includedir ;;
                    452:   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
                    453:   | --includ=* | --inclu=* | --incl=* | --inc=*)
1.11      paf       454:     includedir=$ac_optarg ;;
1.1       parser    455: 
                    456:   -infodir | --infodir | --infodi | --infod | --info | --inf)
                    457:     ac_prev=infodir ;;
                    458:   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1.11      paf       459:     infodir=$ac_optarg ;;
1.1       parser    460: 
                    461:   -libdir | --libdir | --libdi | --libd)
                    462:     ac_prev=libdir ;;
                    463:   -libdir=* | --libdir=* | --libdi=* | --libd=*)
1.11      paf       464:     libdir=$ac_optarg ;;
1.1       parser    465: 
                    466:   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
                    467:   | --libexe | --libex | --libe)
                    468:     ac_prev=libexecdir ;;
                    469:   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
                    470:   | --libexe=* | --libex=* | --libe=*)
1.11      paf       471:     libexecdir=$ac_optarg ;;
1.1       parser    472: 
                    473:   -localstatedir | --localstatedir | --localstatedi | --localstated \
                    474:   | --localstate | --localstat | --localsta | --localst \
                    475:   | --locals | --local | --loca | --loc | --lo)
                    476:     ac_prev=localstatedir ;;
                    477:   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
                    478:   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
                    479:   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
1.11      paf       480:     localstatedir=$ac_optarg ;;
1.1       parser    481: 
                    482:   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
                    483:     ac_prev=mandir ;;
                    484:   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1.11      paf       485:     mandir=$ac_optarg ;;
1.1       parser    486: 
                    487:   -nfp | --nfp | --nf)
                    488:     # Obsolete; use --without-fp.
                    489:     with_fp=no ;;
                    490: 
                    491:   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1.11      paf       492:   | --no-cr | --no-c | -n)
1.1       parser    493:     no_create=yes ;;
                    494: 
                    495:   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
                    496:   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
                    497:     no_recursion=yes ;;
                    498: 
                    499:   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
                    500:   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
                    501:   | --oldin | --oldi | --old | --ol | --o)
                    502:     ac_prev=oldincludedir ;;
                    503:   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
                    504:   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
                    505:   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1.11      paf       506:     oldincludedir=$ac_optarg ;;
1.1       parser    507: 
                    508:   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                    509:     ac_prev=prefix ;;
                    510:   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1.11      paf       511:     prefix=$ac_optarg ;;
1.1       parser    512: 
                    513:   -program-prefix | --program-prefix | --program-prefi | --program-pref \
                    514:   | --program-pre | --program-pr | --program-p)
                    515:     ac_prev=program_prefix ;;
                    516:   -program-prefix=* | --program-prefix=* | --program-prefi=* \
                    517:   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1.11      paf       518:     program_prefix=$ac_optarg ;;
1.1       parser    519: 
                    520:   -program-suffix | --program-suffix | --program-suffi | --program-suff \
                    521:   | --program-suf | --program-su | --program-s)
                    522:     ac_prev=program_suffix ;;
                    523:   -program-suffix=* | --program-suffix=* | --program-suffi=* \
                    524:   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1.11      paf       525:     program_suffix=$ac_optarg ;;
1.1       parser    526: 
                    527:   -program-transform-name | --program-transform-name \
                    528:   | --program-transform-nam | --program-transform-na \
                    529:   | --program-transform-n | --program-transform- \
                    530:   | --program-transform | --program-transfor \
                    531:   | --program-transfo | --program-transf \
                    532:   | --program-trans | --program-tran \
                    533:   | --progr-tra | --program-tr | --program-t)
                    534:     ac_prev=program_transform_name ;;
                    535:   -program-transform-name=* | --program-transform-name=* \
                    536:   | --program-transform-nam=* | --program-transform-na=* \
                    537:   | --program-transform-n=* | --program-transform-=* \
                    538:   | --program-transform=* | --program-transfor=* \
                    539:   | --program-transfo=* | --program-transf=* \
                    540:   | --program-trans=* | --program-tran=* \
                    541:   | --progr-tra=* | --program-tr=* | --program-t=*)
1.11      paf       542:     program_transform_name=$ac_optarg ;;
1.1       parser    543: 
                    544:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                    545:   | -silent | --silent | --silen | --sile | --sil)
                    546:     silent=yes ;;
                    547: 
                    548:   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
                    549:     ac_prev=sbindir ;;
                    550:   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
                    551:   | --sbi=* | --sb=*)
1.11      paf       552:     sbindir=$ac_optarg ;;
1.1       parser    553: 
                    554:   -sharedstatedir | --sharedstatedir | --sharedstatedi \
                    555:   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
                    556:   | --sharedst | --shareds | --shared | --share | --shar \
                    557:   | --sha | --sh)
                    558:     ac_prev=sharedstatedir ;;
                    559:   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
                    560:   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
                    561:   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
                    562:   | --sha=* | --sh=*)
1.11      paf       563:     sharedstatedir=$ac_optarg ;;
1.1       parser    564: 
                    565:   -site | --site | --sit)
                    566:     ac_prev=site ;;
                    567:   -site=* | --site=* | --sit=*)
1.11      paf       568:     site=$ac_optarg ;;
1.1       parser    569: 
                    570:   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                    571:     ac_prev=srcdir ;;
                    572:   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1.11      paf       573:     srcdir=$ac_optarg ;;
1.1       parser    574: 
                    575:   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
                    576:   | --syscon | --sysco | --sysc | --sys | --sy)
                    577:     ac_prev=sysconfdir ;;
                    578:   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
                    579:   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1.11      paf       580:     sysconfdir=$ac_optarg ;;
1.1       parser    581: 
                    582:   -target | --target | --targe | --targ | --tar | --ta | --t)
1.11      paf       583:     ac_prev=target_alias ;;
1.1       parser    584:   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1.11      paf       585:     target_alias=$ac_optarg ;;
1.1       parser    586: 
                    587:   -v | -verbose | --verbose | --verbos | --verbo | --verb)
                    588:     verbose=yes ;;
                    589: 
1.11      paf       590:   -version | --version | --versio | --versi | --vers | -V)
                    591:     ac_init_version=: ;;
1.1       parser    592: 
                    593:   -with-* | --with-*)
1.11      paf       594:     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1       parser    595:     # Reject names that are not valid shell variable names.
1.11      paf       596:     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    597:       { echo "$as_me: error: invalid package name: $ac_package" >&2
                    598:    { (exit 1); exit 1; }; }
1.1       parser    599:     ac_package=`echo $ac_package| sed 's/-/_/g'`
1.11      paf       600:     case $ac_option in
                    601:       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1.1       parser    602:       *) ac_optarg=yes ;;
                    603:     esac
1.11      paf       604:     eval "with_$ac_package='$ac_optarg'" ;;
1.1       parser    605: 
                    606:   -without-* | --without-*)
1.11      paf       607:     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1       parser    608:     # Reject names that are not valid shell variable names.
1.11      paf       609:     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
                    610:       { echo "$as_me: error: invalid package name: $ac_package" >&2
                    611:    { (exit 1); exit 1; }; }
                    612:     ac_package=`echo $ac_package | sed 's/-/_/g'`
                    613:     eval "with_$ac_package=no" ;;
1.1       parser    614: 
                    615:   --x)
                    616:     # Obsolete; use --with-x.
                    617:     with_x=yes ;;
                    618: 
                    619:   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
                    620:   | --x-incl | --x-inc | --x-in | --x-i)
                    621:     ac_prev=x_includes ;;
                    622:   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
                    623:   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1.11      paf       624:     x_includes=$ac_optarg ;;
1.1       parser    625: 
                    626:   -x-libraries | --x-libraries | --x-librarie | --x-librari \
                    627:   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
                    628:     ac_prev=x_libraries ;;
                    629:   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
                    630:   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1.11      paf       631:     x_libraries=$ac_optarg ;;
1.1       parser    632: 
1.11      paf       633:   -*) { echo "$as_me: error: unrecognized option: $ac_option
                    634: Try \`$0 --help' for more information." >&2
                    635:    { (exit 1); exit 1; }; }
1.1       parser    636:     ;;
                    637: 
1.11      paf       638:   *=*)
                    639:     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
                    640:     # Reject names that are not valid shell variable names.
                    641:     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
                    642:       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
                    643:    { (exit 1); exit 1; }; }
                    644:     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
                    645:     eval "$ac_envvar='$ac_optarg'"
                    646:     export $ac_envvar ;;
                    647: 
1.1       parser    648:   *)
1.11      paf       649:     # FIXME: should be removed in autoconf 3.0.
                    650:     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
                    651:     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
                    652:       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
                    653:     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1.1       parser    654:     ;;
                    655: 
                    656:   esac
                    657: done
                    658: 
                    659: if test -n "$ac_prev"; then
1.11      paf       660:   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
                    661:   { echo "$as_me: error: missing argument to $ac_option" >&2
                    662:    { (exit 1); exit 1; }; }
1.1       parser    663: fi
                    664: 
1.11      paf       665: # Be sure to have absolute paths.
                    666: for ac_var in exec_prefix prefix
                    667: do
                    668:   eval ac_val=$`echo $ac_var`
                    669:   case $ac_val in
                    670:     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
                    671:     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
                    672:    { (exit 1); exit 1; }; };;
                    673:   esac
                    674: done
1.1       parser    675: 
1.11      paf       676: # Be sure to have absolute paths.
                    677: for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
1.18      paf       678:              localstatedir libdir includedir oldincludedir infodir mandir
1.1       parser    679: do
1.11      paf       680:   eval ac_val=$`echo $ac_var`
                    681:   case $ac_val in
                    682:     [\\/$]* | ?:[\\/]* ) ;;
                    683:     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
                    684:    { (exit 1); exit 1; }; };;
1.1       parser    685:   esac
                    686: done
                    687: 
1.11      paf       688: # There might be people who depend on the old broken behavior: `$host'
                    689: # used to hold the argument of --host etc.
                    690: # FIXME: To remove some day.
                    691: build=$build_alias
                    692: host=$host_alias
                    693: target=$target_alias
                    694: 
                    695: # FIXME: To remove some day.
                    696: if test "x$host_alias" != x; then
                    697:   if test "x$build_alias" = x; then
                    698:     cross_compiling=maybe
                    699:     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
                    700:     If a cross compiler is detected then cross compile mode will be used." >&2
                    701:   elif test "x$build_alias" != "x$host_alias"; then
                    702:     cross_compiling=yes
                    703:   fi
                    704: fi
                    705: 
                    706: ac_tool_prefix=
                    707: test -n "$host_alias" && ac_tool_prefix=$host_alias-
1.1       parser    708: 
1.11      paf       709: test "$silent" = yes && exec 6>/dev/null
1.1       parser    710: 
                    711: 
                    712: # Find the source files, if location was not specified.
                    713: if test -z "$srcdir"; then
                    714:   ac_srcdir_defaulted=yes
                    715:   # Try the directory containing this script, then its parent.
1.11      paf       716:   ac_confdir=`(dirname "$0") 2>/dev/null ||
                    717: $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.18      paf       718:         X"$0" : 'X\(//\)[^/]' \| \
                    719:         X"$0" : 'X\(//\)$' \| \
                    720:         X"$0" : 'X\(/\)' \| \
                    721:         .     : '\(.\)' 2>/dev/null ||
1.11      paf       722: echo X"$0" |
                    723:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                    724:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                    725:          /^X\(\/\/\)$/{ s//\1/; q; }
                    726:          /^X\(\/\).*/{ s//\1/; q; }
                    727:          s/.*/./; q'`
1.1       parser    728:   srcdir=$ac_confdir
                    729:   if test ! -r $srcdir/$ac_unique_file; then
                    730:     srcdir=..
                    731:   fi
                    732: else
                    733:   ac_srcdir_defaulted=no
                    734: fi
                    735: if test ! -r $srcdir/$ac_unique_file; then
                    736:   if test "$ac_srcdir_defaulted" = yes; then
1.11      paf       737:     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
                    738:    { (exit 1); exit 1; }; }
1.1       parser    739:   else
1.11      paf       740:     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
                    741:    { (exit 1); exit 1; }; }
1.1       parser    742:   fi
                    743: fi
1.11      paf       744: (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
                    745:   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
                    746:    { (exit 1); exit 1; }; }
                    747: srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
                    748: ac_env_build_alias_set=${build_alias+set}
                    749: ac_env_build_alias_value=$build_alias
                    750: ac_cv_env_build_alias_set=${build_alias+set}
                    751: ac_cv_env_build_alias_value=$build_alias
                    752: ac_env_host_alias_set=${host_alias+set}
                    753: ac_env_host_alias_value=$host_alias
                    754: ac_cv_env_host_alias_set=${host_alias+set}
                    755: ac_cv_env_host_alias_value=$host_alias
                    756: ac_env_target_alias_set=${target_alias+set}
                    757: ac_env_target_alias_value=$target_alias
                    758: ac_cv_env_target_alias_set=${target_alias+set}
                    759: ac_cv_env_target_alias_value=$target_alias
                    760: ac_env_CXX_set=${CXX+set}
                    761: ac_env_CXX_value=$CXX
                    762: ac_cv_env_CXX_set=${CXX+set}
                    763: ac_cv_env_CXX_value=$CXX
                    764: ac_env_CXXFLAGS_set=${CXXFLAGS+set}
                    765: ac_env_CXXFLAGS_value=$CXXFLAGS
                    766: ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
                    767: ac_cv_env_CXXFLAGS_value=$CXXFLAGS
                    768: ac_env_LDFLAGS_set=${LDFLAGS+set}
                    769: ac_env_LDFLAGS_value=$LDFLAGS
                    770: ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
                    771: ac_cv_env_LDFLAGS_value=$LDFLAGS
                    772: ac_env_CPPFLAGS_set=${CPPFLAGS+set}
                    773: ac_env_CPPFLAGS_value=$CPPFLAGS
                    774: ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
                    775: ac_cv_env_CPPFLAGS_value=$CPPFLAGS
                    776: ac_env_CC_set=${CC+set}
                    777: ac_env_CC_value=$CC
                    778: ac_cv_env_CC_set=${CC+set}
                    779: ac_cv_env_CC_value=$CC
                    780: ac_env_CFLAGS_set=${CFLAGS+set}
                    781: ac_env_CFLAGS_value=$CFLAGS
                    782: ac_cv_env_CFLAGS_set=${CFLAGS+set}
                    783: ac_cv_env_CFLAGS_value=$CFLAGS
1.15      paf       784: ac_env_CPP_set=${CPP+set}
                    785: ac_env_CPP_value=$CPP
                    786: ac_cv_env_CPP_set=${CPP+set}
                    787: ac_cv_env_CPP_value=$CPP
1.25      moko      788: ac_env_CXXCPP_set=${CXXCPP+set}
                    789: ac_env_CXXCPP_value=$CXXCPP
                    790: ac_cv_env_CXXCPP_set=${CXXCPP+set}
                    791: ac_cv_env_CXXCPP_value=$CXXCPP
1.11      paf       792: 
                    793: #
                    794: # Report the --help message.
                    795: #
                    796: if test "$ac_init_help" = "long"; then
                    797:   # Omit some internal or obsolete options to make the list less imposing.
                    798:   # This message is too long to be a string in the A/UX 3.1 sh.
                    799:   cat <<_ACEOF
1.25      moko      800: \`configure' configures parser3 10.2 to adapt to many kinds of systems.
1.11      paf       801: 
                    802: Usage: $0 [OPTION]... [VAR=VALUE]...
                    803: 
                    804: To assign environment variables (e.g., CC, CFLAGS...), specify them as
                    805: VAR=VALUE.  See below for descriptions of some of the useful variables.
                    806: 
                    807: Defaults for the options are specified in brackets.
                    808: 
                    809: Configuration:
                    810:   -h, --help              display this help and exit
                    811:       --help=short        display options specific to this package
                    812:       --help=recursive    display the short help of all the included packages
                    813:   -V, --version           display version information and exit
                    814:   -q, --quiet, --silent   do not print \`checking...' messages
                    815:       --cache-file=FILE   cache test results in FILE [disabled]
                    816:   -C, --config-cache      alias for \`--cache-file=config.cache'
                    817:   -n, --no-create         do not create output files
                    818:       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
                    819: 
                    820: _ACEOF
                    821: 
                    822:   cat <<_ACEOF
                    823: Installation directories:
                    824:   --prefix=PREFIX         install architecture-independent files in PREFIX
1.18      paf       825:                          [$ac_default_prefix]
1.11      paf       826:   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1.18      paf       827:                          [PREFIX]
1.11      paf       828: 
                    829: By default, \`make install' will install all the files in
                    830: \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
                    831: an installation prefix other than \`$ac_default_prefix' using \`--prefix',
                    832: for instance \`--prefix=\$HOME'.
                    833: 
                    834: For better control, use the options below.
                    835: 
                    836: Fine tuning of the installation directories:
                    837:   --bindir=DIR           user executables [EPREFIX/bin]
                    838:   --sbindir=DIR          system admin executables [EPREFIX/sbin]
                    839:   --libexecdir=DIR       program executables [EPREFIX/libexec]
                    840:   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
                    841:   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
                    842:   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
                    843:   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
                    844:   --libdir=DIR           object code libraries [EPREFIX/lib]
                    845:   --includedir=DIR       C header files [PREFIX/include]
                    846:   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
                    847:   --infodir=DIR          info documentation [PREFIX/info]
                    848:   --mandir=DIR           man documentation [PREFIX/man]
                    849: _ACEOF
                    850: 
                    851:   cat <<\_ACEOF
                    852: 
                    853: Program names:
                    854:   --program-prefix=PREFIX            prepend PREFIX to installed program names
                    855:   --program-suffix=SUFFIX            append SUFFIX to installed program names
                    856:   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
                    857: 
                    858: System types:
                    859:   --build=BUILD     configure for building on BUILD [guessed]
                    860:   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
                    861: _ACEOF
                    862: fi
                    863: 
                    864: if test -n "$ac_init_help"; then
1.25      moko      865:   case $ac_init_help in
                    866:      short | recursive ) echo "Configuration of parser3 10.2:";;
                    867:    esac
1.11      paf       868:   cat <<\_ACEOF
                    869: 
                    870: Optional Features:
                    871:   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
                    872:   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1.18      paf       873:   --disable-dependency-tracking  speeds up one-time build
                    874:   --enable-dependency-tracking   do not reject slow dependency extractors
1.31    ! moko      875:   --enable-static[=PKGS]
        !           876:                           build static libraries [default=no]
1.25      moko      877:   --enable-shared[=PKGS]
                    878:                           build shared libraries [default=yes]
                    879:   --enable-fast-install[=PKGS]
                    880:                           optimize for fast installation [default=yes]
1.11      paf       881:   --disable-libtool-lock  avoid locking (might break parallel builds)
1.25      moko      882:   --enable-ltdl-install   install libltdl
1.11      paf       883: 
                    884: Optional Packages:
                    885:   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
                    886:   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
                    887:   --with-oracleoci-inc=DIR      DIR is the Oracle OCI includes directory
                    888:   --with-oraclepublic-inc=DIR      DIR is the Oracle public includes directory
1.25      moko      889:   --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
                    890:                           both]
                    891:   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
                    892:   --with-sysroot=DIR Search for dependent libraries within DIR
                    893:                         (or the compiler's sysroot if not specified).
                    894:   --with-included-ltdl    use the GNU ltdl sources included here
                    895:   --with-ltdl-include=DIR use the ltdl headers installed in DIR
                    896:   --with-ltdl-lib=DIR     use the libltdl.la installed in DIR
1.11      paf       897: 
                    898: Some influential environment variables:
                    899:   CXX         C++ compiler command
                    900:   CXXFLAGS    C++ compiler flags
                    901:   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
                    902:               nonstandard directory <lib dir>
                    903:   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
                    904:               headers in a nonstandard directory <include dir>
                    905:   CC          C compiler command
                    906:   CFLAGS      C compiler flags
1.15      paf       907:   CPP         C preprocessor
1.25      moko      908:   CXXCPP      C++ preprocessor
1.11      paf       909: 
                    910: Use these variables to override the choices made by `configure' or to help
                    911: it to find libraries and programs with nonstandard names/locations.
                    912: 
                    913: _ACEOF
                    914: fi
                    915: 
                    916: if test "$ac_init_help" = "recursive"; then
                    917:   # If there are subdirs, report their specific --help.
                    918:   ac_popdir=`pwd`
                    919:   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
                    920:     test -d $ac_dir || continue
                    921:     ac_builddir=.
                    922: 
                    923: if test "$ac_dir" != .; then
                    924:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                    925:   # A "../" for each directory in $ac_dir_suffix.
                    926:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                    927: else
                    928:   ac_dir_suffix= ac_top_builddir=
                    929: fi
                    930: 
                    931: case $srcdir in
                    932:   .)  # No --srcdir option.  We are building in place.
                    933:     ac_srcdir=.
                    934:     if test -z "$ac_top_builddir"; then
                    935:        ac_top_srcdir=.
                    936:     else
                    937:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                    938:     fi ;;
                    939:   [\\/]* | ?:[\\/]* )  # Absolute path.
                    940:     ac_srcdir=$srcdir$ac_dir_suffix;
                    941:     ac_top_srcdir=$srcdir ;;
                    942:   *) # Relative path.
                    943:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                    944:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                    945: esac
1.18      paf       946: 
                    947: # Do not use `cd foo && pwd` to compute absolute paths, because
                    948: # the directories may not exist.
                    949: case `pwd` in
                    950: .) ac_abs_builddir="$ac_dir";;
                    951: *)
                    952:   case "$ac_dir" in
                    953:   .) ac_abs_builddir=`pwd`;;
                    954:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
                    955:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
                    956:   esac;;
                    957: esac
                    958: case $ac_abs_builddir in
                    959: .) ac_abs_top_builddir=${ac_top_builddir}.;;
                    960: *)
                    961:   case ${ac_top_builddir}. in
                    962:   .) ac_abs_top_builddir=$ac_abs_builddir;;
                    963:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
                    964:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
                    965:   esac;;
                    966: esac
                    967: case $ac_abs_builddir in
                    968: .) ac_abs_srcdir=$ac_srcdir;;
                    969: *)
                    970:   case $ac_srcdir in
                    971:   .) ac_abs_srcdir=$ac_abs_builddir;;
                    972:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
                    973:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
                    974:   esac;;
                    975: esac
                    976: case $ac_abs_builddir in
                    977: .) ac_abs_top_srcdir=$ac_top_srcdir;;
                    978: *)
                    979:   case $ac_top_srcdir in
                    980:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
                    981:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
                    982:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
                    983:   esac;;
                    984: esac
1.11      paf       985: 
                    986:     cd $ac_dir
                    987:     # Check for guested configure; otherwise get Cygnus style configure.
                    988:     if test -f $ac_srcdir/configure.gnu; then
                    989:       echo
                    990:       $SHELL $ac_srcdir/configure.gnu  --help=recursive
                    991:     elif test -f $ac_srcdir/configure; then
                    992:       echo
                    993:       $SHELL $ac_srcdir/configure  --help=recursive
                    994:     elif test -f $ac_srcdir/configure.ac ||
1.18      paf       995:           test -f $ac_srcdir/configure.in; then
1.11      paf       996:       echo
                    997:       $ac_configure --help
                    998:     else
                    999:       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
                   1000:     fi
                   1001:     cd $ac_popdir
                   1002:   done
                   1003: fi
1.1       parser   1004: 
1.11      paf      1005: test -n "$ac_init_help" && exit 0
                   1006: if $ac_init_version; then
                   1007:   cat <<\_ACEOF
1.25      moko     1008: parser3 configure 10.2
                   1009: generated by GNU Autoconf 2.59
1.11      paf      1010: 
1.18      paf      1011: Copyright (C) 2003 Free Software Foundation, Inc.
1.11      paf      1012: This configure script is free software; the Free Software Foundation
                   1013: gives unlimited permission to copy, distribute and modify it.
                   1014: _ACEOF
                   1015:   exit 0
                   1016: fi
                   1017: exec 5>config.log
                   1018: cat >&5 <<_ACEOF
                   1019: This file contains any messages produced by compilers while
                   1020: running configure, to aid debugging if configure makes a mistake.
                   1021: 
1.25      moko     1022: It was created by parser3 $as_me 10.2, which was
1.18      paf      1023: generated by GNU Autoconf 2.59.  Invocation command line was
1.11      paf      1024: 
                   1025:   $ $0 $@
                   1026: 
                   1027: _ACEOF
                   1028: {
                   1029: cat <<_ASUNAME
                   1030: ## --------- ##
                   1031: ## Platform. ##
                   1032: ## --------- ##
                   1033: 
                   1034: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
                   1035: uname -m = `(uname -m) 2>/dev/null || echo unknown`
                   1036: uname -r = `(uname -r) 2>/dev/null || echo unknown`
                   1037: uname -s = `(uname -s) 2>/dev/null || echo unknown`
                   1038: uname -v = `(uname -v) 2>/dev/null || echo unknown`
                   1039: 
                   1040: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
                   1041: /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
                   1042: 
                   1043: /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
                   1044: /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
                   1045: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
                   1046: hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
                   1047: /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
                   1048: /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
                   1049: /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
                   1050: 
                   1051: _ASUNAME
                   1052: 
                   1053: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1054: for as_dir in $PATH
                   1055: do
                   1056:   IFS=$as_save_IFS
                   1057:   test -z "$as_dir" && as_dir=.
                   1058:   echo "PATH: $as_dir"
                   1059: done
                   1060: 
                   1061: } >&5
                   1062: 
                   1063: cat >&5 <<_ACEOF
                   1064: 
                   1065: 
                   1066: ## ----------- ##
                   1067: ## Core tests. ##
                   1068: ## ----------- ##
                   1069: 
                   1070: _ACEOF
                   1071: 
                   1072: 
                   1073: # Keep a trace of the command line.
                   1074: # Strip out --no-create and --no-recursion so they do not pile up.
                   1075: # Strip out --silent because we don't want to record it for future runs.
                   1076: # Also quote any args containing shell meta-characters.
                   1077: # Make two passes to allow for proper duplicate-argument suppression.
                   1078: ac_configure_args=
                   1079: ac_configure_args0=
                   1080: ac_configure_args1=
                   1081: ac_sep=
                   1082: ac_must_keep_next=false
                   1083: for ac_pass in 1 2
                   1084: do
                   1085:   for ac_arg
                   1086:   do
                   1087:     case $ac_arg in
                   1088:     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
                   1089:     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   1090:     | -silent | --silent | --silen | --sile | --sil)
                   1091:       continue ;;
                   1092:     *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
                   1093:       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
                   1094:     esac
                   1095:     case $ac_pass in
                   1096:     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
                   1097:     2)
                   1098:       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
                   1099:       if test $ac_must_keep_next = true; then
1.18      paf      1100:        ac_must_keep_next=false # Got value, back to normal.
1.11      paf      1101:       else
1.18      paf      1102:        case $ac_arg in
                   1103:          *=* | --config-cache | -C | -disable-* | --disable-* \
                   1104:          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
                   1105:          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
                   1106:          | -with-* | --with-* | -without-* | --without-* | --x)
                   1107:            case "$ac_configure_args0 " in
                   1108:              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
                   1109:            esac
                   1110:            ;;
                   1111:          -* ) ac_must_keep_next=true ;;
                   1112:        esac
1.11      paf      1113:       fi
                   1114:       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
                   1115:       # Get rid of the leading space.
                   1116:       ac_sep=" "
                   1117:       ;;
                   1118:     esac
                   1119:   done
                   1120: done
                   1121: $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
                   1122: $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
                   1123: 
                   1124: # When interrupted or exit'd, cleanup temporary files, and complete
                   1125: # config.log.  We remove comments because anyway the quotes in there
                   1126: # would cause problems or look ugly.
                   1127: # WARNING: Be sure not to use single quotes in there, as some shells,
                   1128: # such as our DU 5.0 friend, will then `close' the trap.
                   1129: trap 'exit_status=$?
                   1130:   # Save into config.log some information that might help in debugging.
                   1131:   {
                   1132:     echo
                   1133: 
                   1134:     cat <<\_ASBOX
                   1135: ## ---------------- ##
                   1136: ## Cache variables. ##
                   1137: ## ---------------- ##
                   1138: _ASBOX
                   1139:     echo
                   1140:     # The following way of writing the cache mishandles newlines in values,
                   1141: {
                   1142:   (set) 2>&1 |
                   1143:     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
                   1144:     *ac_space=\ *)
                   1145:       sed -n \
1.18      paf      1146:        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
                   1147:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1.11      paf      1148:       ;;
                   1149:     *)
                   1150:       sed -n \
1.18      paf      1151:        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1.11      paf      1152:       ;;
                   1153:     esac;
                   1154: }
                   1155:     echo
                   1156: 
                   1157:     cat <<\_ASBOX
                   1158: ## ----------------- ##
                   1159: ## Output variables. ##
                   1160: ## ----------------- ##
                   1161: _ASBOX
                   1162:     echo
                   1163:     for ac_var in $ac_subst_vars
                   1164:     do
                   1165:       eval ac_val=$`echo $ac_var`
                   1166:       echo "$ac_var='"'"'$ac_val'"'"'"
                   1167:     done | sort
                   1168:     echo
                   1169: 
                   1170:     if test -n "$ac_subst_files"; then
                   1171:       cat <<\_ASBOX
                   1172: ## ------------- ##
                   1173: ## Output files. ##
                   1174: ## ------------- ##
                   1175: _ASBOX
                   1176:       echo
                   1177:       for ac_var in $ac_subst_files
                   1178:       do
                   1179:        eval ac_val=$`echo $ac_var`
1.18      paf      1180:        echo "$ac_var='"'"'$ac_val'"'"'"
1.11      paf      1181:       done | sort
                   1182:       echo
                   1183:     fi
                   1184: 
                   1185:     if test -s confdefs.h; then
                   1186:       cat <<\_ASBOX
                   1187: ## ----------- ##
                   1188: ## confdefs.h. ##
                   1189: ## ----------- ##
                   1190: _ASBOX
                   1191:       echo
                   1192:       sed "/^$/d" confdefs.h | sort
                   1193:       echo
                   1194:     fi
                   1195:     test "$ac_signal" != 0 &&
                   1196:       echo "$as_me: caught signal $ac_signal"
                   1197:     echo "$as_me: exit $exit_status"
                   1198:   } >&5
1.18      paf      1199:   rm -f core *.core &&
1.11      paf      1200:   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
                   1201:     exit $exit_status
                   1202:      ' 0
                   1203: for ac_signal in 1 2 13 15; do
                   1204:   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
                   1205: done
                   1206: ac_signal=0
                   1207: 
                   1208: # confdefs.h avoids OS command line length limits that DEFS can exceed.
                   1209: rm -rf conftest* confdefs.h
                   1210: # AIX cpp loses on an empty file, so make sure it contains at least a newline.
                   1211: echo >confdefs.h
                   1212: 
                   1213: # Predefined preprocessor variables.
                   1214: 
                   1215: cat >>confdefs.h <<_ACEOF
                   1216: #define PACKAGE_NAME "$PACKAGE_NAME"
                   1217: _ACEOF
                   1218: 
                   1219: 
                   1220: cat >>confdefs.h <<_ACEOF
                   1221: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
                   1222: _ACEOF
                   1223: 
                   1224: 
                   1225: cat >>confdefs.h <<_ACEOF
                   1226: #define PACKAGE_VERSION "$PACKAGE_VERSION"
                   1227: _ACEOF
                   1228: 
                   1229: 
                   1230: cat >>confdefs.h <<_ACEOF
                   1231: #define PACKAGE_STRING "$PACKAGE_STRING"
                   1232: _ACEOF
                   1233: 
                   1234: 
                   1235: cat >>confdefs.h <<_ACEOF
                   1236: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
                   1237: _ACEOF
                   1238: 
                   1239: 
                   1240: # Let the site file select an alternate cache file if it wants to.
1.1       parser   1241: # Prefer explicitly selected file to automatically selected ones.
                   1242: if test -z "$CONFIG_SITE"; then
                   1243:   if test "x$prefix" != xNONE; then
                   1244:     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
                   1245:   else
                   1246:     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
                   1247:   fi
                   1248: fi
                   1249: for ac_site_file in $CONFIG_SITE; do
                   1250:   if test -r "$ac_site_file"; then
1.11      paf      1251:     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
                   1252: echo "$as_me: loading site script $ac_site_file" >&6;}
                   1253:     sed 's/^/| /' "$ac_site_file" >&5
1.1       parser   1254:     . "$ac_site_file"
                   1255:   fi
                   1256: done
                   1257: 
                   1258: if test -r "$cache_file"; then
1.11      paf      1259:   # Some versions of bash will fail to source /dev/null (special
                   1260:   # files actually), so we avoid doing that.
                   1261:   if test -f "$cache_file"; then
                   1262:     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
                   1263: echo "$as_me: loading cache $cache_file" >&6;}
                   1264:     case $cache_file in
                   1265:       [\\/]* | ?:[\\/]* ) . $cache_file;;
                   1266:       *)                      . ./$cache_file;;
                   1267:     esac
                   1268:   fi
1.1       parser   1269: else
1.11      paf      1270:   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
                   1271: echo "$as_me: creating cache $cache_file" >&6;}
                   1272:   >$cache_file
                   1273: fi
                   1274: 
                   1275: # Check that the precious variables saved in the cache have kept the same
                   1276: # value.
                   1277: ac_cache_corrupted=false
                   1278: for ac_var in `(set) 2>&1 |
1.18      paf      1279:               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1.11      paf      1280:   eval ac_old_set=\$ac_cv_env_${ac_var}_set
                   1281:   eval ac_new_set=\$ac_env_${ac_var}_set
                   1282:   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
                   1283:   eval ac_new_val="\$ac_env_${ac_var}_value"
                   1284:   case $ac_old_set,$ac_new_set in
                   1285:     set,)
                   1286:       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
                   1287: echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
                   1288:       ac_cache_corrupted=: ;;
                   1289:     ,set)
                   1290:       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
                   1291: echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
                   1292:       ac_cache_corrupted=: ;;
                   1293:     ,);;
                   1294:     *)
                   1295:       if test "x$ac_old_val" != "x$ac_new_val"; then
1.18      paf      1296:        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1.11      paf      1297: echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1.18      paf      1298:        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1.11      paf      1299: echo "$as_me:   former value:  $ac_old_val" >&2;}
1.18      paf      1300:        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1.11      paf      1301: echo "$as_me:   current value: $ac_new_val" >&2;}
1.18      paf      1302:        ac_cache_corrupted=:
1.11      paf      1303:       fi;;
                   1304:   esac
                   1305:   # Pass precious variables to config.status.
                   1306:   if test "$ac_new_set" = set; then
                   1307:     case $ac_new_val in
                   1308:     *" "*|*"   "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
                   1309:       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
                   1310:     *) ac_arg=$ac_var=$ac_new_val ;;
                   1311:     esac
                   1312:     case " $ac_configure_args " in
                   1313:       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
                   1314:       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
                   1315:     esac
                   1316:   fi
                   1317: done
                   1318: if $ac_cache_corrupted; then
                   1319:   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
                   1320: echo "$as_me: error: changes in the environment can compromise the build" >&2;}
                   1321:   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
                   1322: echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
                   1323:    { (exit 1); exit 1; }; }
1.1       parser   1324: fi
                   1325: 
                   1326: ac_ext=c
                   1327: ac_cpp='$CPP $CPPFLAGS'
1.11      paf      1328: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   1329: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   1330: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       parser   1331: 
                   1332: 
1.11      paf      1333: 
                   1334: 
                   1335: 
                   1336: 
                   1337: 
                   1338: 
                   1339: 
                   1340: 
                   1341: 
                   1342: 
                   1343: 
                   1344: 
                   1345: 
                   1346: 
                   1347: 
                   1348: 
                   1349: 
1.25      moko     1350: 
                   1351: 
                   1352: 
                   1353: 
                   1354: 
                   1355: 
                   1356: 
                   1357: 
                   1358: 
                   1359:           ac_config_headers="$ac_config_headers config_auto.h"
                   1360: 
                   1361: 
1.18      paf      1362: am__api_version="1.9"
1.1       parser   1363: ac_aux_dir=
                   1364: for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
                   1365:   if test -f $ac_dir/install-sh; then
                   1366:     ac_aux_dir=$ac_dir
                   1367:     ac_install_sh="$ac_aux_dir/install-sh -c"
                   1368:     break
                   1369:   elif test -f $ac_dir/install.sh; then
                   1370:     ac_aux_dir=$ac_dir
                   1371:     ac_install_sh="$ac_aux_dir/install.sh -c"
                   1372:     break
1.11      paf      1373:   elif test -f $ac_dir/shtool; then
                   1374:     ac_aux_dir=$ac_dir
                   1375:     ac_install_sh="$ac_aux_dir/shtool install -c"
                   1376:     break
1.1       parser   1377:   fi
                   1378: done
                   1379: if test -z "$ac_aux_dir"; then
1.11      paf      1380:   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
                   1381: echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
                   1382:    { (exit 1); exit 1; }; }
                   1383: fi
                   1384: ac_config_guess="$SHELL $ac_aux_dir/config.guess"
                   1385: ac_config_sub="$SHELL $ac_aux_dir/config.sub"
                   1386: ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1.1       parser   1387: 
                   1388: # Find a good install program.  We prefer a C program (faster),
                   1389: # so one script is as good as another.  But avoid the broken or
                   1390: # incompatible versions:
                   1391: # SysV /etc/install, /usr/sbin/install
                   1392: # SunOS /usr/etc/install
                   1393: # IRIX /sbin/install
                   1394: # AIX /bin/install
1.11      paf      1395: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1       parser   1396: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   1397: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   1398: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.18      paf      1399: # OS/2's system install, which has a completely different semantic
1.1       parser   1400: # ./install, which can be erroneously created by make from ./install.sh.
1.11      paf      1401: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
                   1402: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1.1       parser   1403: if test -z "$INSTALL"; then
1.11      paf      1404: if test "${ac_cv_path_install+set}" = set; then
                   1405:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   1406: else
1.11      paf      1407:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1408: for as_dir in $PATH
                   1409: do
                   1410:   IFS=$as_save_IFS
                   1411:   test -z "$as_dir" && as_dir=.
                   1412:   # Account for people who put trailing slashes in PATH elements.
                   1413: case $as_dir/ in
                   1414:   ./ | .// | /cC/* | \
                   1415:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.18      paf      1416:   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1.11      paf      1417:   /usr/ucb/* ) ;;
                   1418:   *)
                   1419:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   1420:     # Don't use installbsd from OSF since it installs stuff as root
                   1421:     # by default.
                   1422:     for ac_prog in ginstall scoinst install; do
                   1423:       for ac_exec_ext in '' $ac_executable_extensions; do
1.18      paf      1424:        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
                   1425:          if test $ac_prog = install &&
                   1426:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1427:            # AIX install.  It has an incompatible calling convention.
                   1428:            :
                   1429:          elif test $ac_prog = install &&
                   1430:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1431:            # program-specific install script used by HP pwplus--don't use.
                   1432:            :
                   1433:          else
                   1434:            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   1435:            break 3
                   1436:          fi
                   1437:        fi
1.1       parser   1438:       done
1.11      paf      1439:     done
                   1440:     ;;
                   1441: esac
                   1442: done
                   1443: 
1.1       parser   1444: 
                   1445: fi
                   1446:   if test "${ac_cv_path_install+set}" = set; then
1.11      paf      1447:     INSTALL=$ac_cv_path_install
1.1       parser   1448:   else
                   1449:     # As a last resort, use the slow shell script.  We don't cache a
                   1450:     # path for INSTALL within a source directory, because that will
                   1451:     # break other packages using the cache if that directory is
                   1452:     # removed, or if the path is relative.
1.11      paf      1453:     INSTALL=$ac_install_sh
1.1       parser   1454:   fi
                   1455: fi
1.11      paf      1456: echo "$as_me:$LINENO: result: $INSTALL" >&5
                   1457: echo "${ECHO_T}$INSTALL" >&6
1.1       parser   1458: 
                   1459: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   1460: # It thinks the first close brace ends the variable substitution.
                   1461: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   1462: 
1.11      paf      1463: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1       parser   1464: 
                   1465: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   1466: 
1.11      paf      1467: echo "$as_me:$LINENO: checking whether build environment is sane" >&5
                   1468: echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1.1       parser   1469: # Just in case
                   1470: sleep 1
1.11      paf      1471: echo timestamp > conftest.file
1.1       parser   1472: # Do `set' in a subshell so we don't clobber the current shell's
                   1473: # arguments.  Must try -L first in case configure is actually a
                   1474: # symlink; some systems play weird games with the mod time of symlinks
                   1475: # (eg FreeBSD returns the mod time of the symlink's containing
                   1476: # directory).
                   1477: if (
1.11      paf      1478:    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1.1       parser   1479:    if test "$*" = "X"; then
                   1480:       # -L didn't work.
1.11      paf      1481:       set X `ls -t $srcdir/configure conftest.file`
1.1       parser   1482:    fi
1.11      paf      1483:    rm -f conftest.file
                   1484:    if test "$*" != "X $srcdir/configure conftest.file" \
                   1485:       && test "$*" != "X conftest.file $srcdir/configure"; then
1.1       parser   1486: 
                   1487:       # If neither matched, then we have a broken ls.  This can happen
                   1488:       # if, for instance, CONFIG_SHELL is bash and it inherits a
                   1489:       # broken ls alias from the environment.  This has actually
                   1490:       # happened.  Such a system could not be considered "sane".
1.11      paf      1491:       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
                   1492: alias in your environment" >&5
                   1493: echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
                   1494: alias in your environment" >&2;}
                   1495:    { (exit 1); exit 1; }; }
1.1       parser   1496:    fi
                   1497: 
1.11      paf      1498:    test "$2" = conftest.file
1.1       parser   1499:    )
                   1500: then
                   1501:    # Ok.
                   1502:    :
                   1503: else
1.11      paf      1504:    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
                   1505: Check your system clock" >&5
                   1506: echo "$as_me: error: newly created file is older than distributed files!
                   1507: Check your system clock" >&2;}
                   1508:    { (exit 1); exit 1; }; }
1.1       parser   1509: fi
1.11      paf      1510: echo "$as_me:$LINENO: result: yes" >&5
                   1511: echo "${ECHO_T}yes" >&6
1.1       parser   1512: test "$program_prefix" != NONE &&
1.11      paf      1513:   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1.1       parser   1514: # Use a double $ so make ignores it.
                   1515: test "$program_suffix" != NONE &&
1.11      paf      1516:   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
                   1517: # Double any \ or $.  echo might interpret backslashes.
                   1518: # By default was `s,x,x', remove it if useless.
                   1519: cat <<\_ACEOF >conftest.sed
                   1520: s/[\\$]/&&/g;s/;s,x,x,$//
                   1521: _ACEOF
                   1522: program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
                   1523: rm conftest.sed
                   1524: 
                   1525: # expand $ac_aux_dir to an absolute path
                   1526: am_aux_dir=`cd $ac_aux_dir && pwd`
                   1527: 
                   1528: test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
                   1529: # Use eval to expand $SHELL
                   1530: if eval "$MISSING --run true"; then
                   1531:   am_missing_run="$MISSING --run "
                   1532: else
                   1533:   am_missing_run=
                   1534:   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
                   1535: echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
                   1536: fi
                   1537: 
1.18      paf      1538: if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
                   1539:   # We used to keeping the `.' as first argument, in order to
                   1540:   # allow $(mkdir_p) to be used without argument.  As in
                   1541:   #   $(mkdir_p) $(somedir)
                   1542:   # where $(somedir) is conditionally defined.  However this is wrong
                   1543:   # for two reasons:
                   1544:   #  1. if the package is installed by a user who cannot write `.'
                   1545:   #     make install will fail,
                   1546:   #  2. the above comment should most certainly read
                   1547:   #     $(mkdir_p) $(DESTDIR)$(somedir)
                   1548:   #     so it does not work when $(somedir) is undefined and
                   1549:   #     $(DESTDIR) is not.
                   1550:   #  To support the latter case, we have to write
                   1551:   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
                   1552:   #  so the `.' trick is pointless.
                   1553:   mkdir_p='mkdir -p --'
                   1554: else
                   1555:   # On NextStep and OpenStep, the `mkdir' command does not
                   1556:   # recognize any option.  It will interpret all options as
                   1557:   # directories to create, and then abort because `.' already
                   1558:   # exists.
                   1559:   for d in ./-p ./--version;
                   1560:   do
                   1561:     test -d $d && rmdir $d
                   1562:   done
                   1563:   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
                   1564:   if test -f "$ac_aux_dir/mkinstalldirs"; then
                   1565:     mkdir_p='$(mkinstalldirs)'
                   1566:   else
                   1567:     mkdir_p='$(install_sh) -d'
                   1568:   fi
                   1569: fi
                   1570: 
1.11      paf      1571: for ac_prog in gawk mawk nawk awk
                   1572: do
                   1573:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   1574: set dummy $ac_prog; ac_word=$2
                   1575: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1576: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1577: if test "${ac_cv_prog_AWK+set}" = set; then
                   1578:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1579: else
                   1580:   if test -n "$AWK"; then
                   1581:   ac_cv_prog_AWK="$AWK" # Let the user override the test.
                   1582: else
                   1583: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1584: for as_dir in $PATH
                   1585: do
                   1586:   IFS=$as_save_IFS
                   1587:   test -z "$as_dir" && as_dir=.
                   1588:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1589:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1590:     ac_cv_prog_AWK="$ac_prog"
                   1591:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1592:     break 2
                   1593:   fi
                   1594: done
                   1595: done
                   1596: 
                   1597: fi
                   1598: fi
                   1599: AWK=$ac_cv_prog_AWK
                   1600: if test -n "$AWK"; then
                   1601:   echo "$as_me:$LINENO: result: $AWK" >&5
                   1602: echo "${ECHO_T}$AWK" >&6
                   1603: else
                   1604:   echo "$as_me:$LINENO: result: no" >&5
                   1605: echo "${ECHO_T}no" >&6
                   1606: fi
1.1       parser   1607: 
1.11      paf      1608:   test -n "$AWK" && break
                   1609: done
1.1       parser   1610: 
1.11      paf      1611: echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
                   1612: echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1.18      paf      1613: set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1.11      paf      1614: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
                   1615:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   1616: else
1.11      paf      1617:   cat >conftest.make <<\_ACEOF
1.1       parser   1618: all:
1.11      paf      1619:        @echo 'ac_maketemp="$(MAKE)"'
                   1620: _ACEOF
1.1       parser   1621: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1.11      paf      1622: eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1.1       parser   1623: if test -n "$ac_maketemp"; then
                   1624:   eval ac_cv_prog_make_${ac_make}_set=yes
                   1625: else
                   1626:   eval ac_cv_prog_make_${ac_make}_set=no
                   1627: fi
1.11      paf      1628: rm -f conftest.make
1.1       parser   1629: fi
                   1630: if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1.11      paf      1631:   echo "$as_me:$LINENO: result: yes" >&5
                   1632: echo "${ECHO_T}yes" >&6
1.1       parser   1633:   SET_MAKE=
                   1634: else
1.11      paf      1635:   echo "$as_me:$LINENO: result: no" >&5
                   1636: echo "${ECHO_T}no" >&6
1.1       parser   1637:   SET_MAKE="MAKE=${MAKE-make}"
                   1638: fi
                   1639: 
1.18      paf      1640: rm -rf .tst 2>/dev/null
                   1641: mkdir .tst 2>/dev/null
                   1642: if test -d .tst; then
                   1643:   am__leading_dot=.
                   1644: else
                   1645:   am__leading_dot=_
                   1646: fi
                   1647: rmdir .tst 2>/dev/null
                   1648: 
                   1649: # test to see if srcdir already configured
1.11      paf      1650: if test "`cd $srcdir && pwd`" != "`pwd`" &&
                   1651:    test -f $srcdir/config.status; then
                   1652:   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
                   1653: echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
                   1654:    { (exit 1); exit 1; }; }
                   1655: fi
                   1656: 
                   1657: # test whether we have cygpath
                   1658: if test -z "$CYGPATH_W"; then
                   1659:   if (cygpath --version) >/dev/null 2>/dev/null; then
                   1660:     CYGPATH_W='cygpath -w'
                   1661:   else
                   1662:     CYGPATH_W=echo
                   1663:   fi
                   1664: fi
                   1665: 
                   1666: 
                   1667: # Define the identity of the package.
1.25      moko     1668:  PACKAGE='parser3'
                   1669:  VERSION='10.2'
1.1       parser   1670: 
                   1671: 
1.25      moko     1672: cat >>confdefs.h <<_ACEOF
                   1673: #define PACKAGE "$PACKAGE"
                   1674: _ACEOF
                   1675: 
                   1676: 
                   1677: cat >>confdefs.h <<_ACEOF
                   1678: #define VERSION "$VERSION"
                   1679: _ACEOF
                   1680: 
1.11      paf      1681: # Some tools Automake needs.
                   1682: 
                   1683: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
                   1684: 
                   1685: 
                   1686: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
                   1687: 
                   1688: 
                   1689: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
                   1690: 
                   1691: 
                   1692: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
                   1693: 
                   1694: 
                   1695: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1.1       parser   1696: 
1.11      paf      1697: install_sh=${install_sh-"$am_aux_dir/install-sh"}
1.1       parser   1698: 
1.11      paf      1699: # Installed binaries are usually stripped using `strip' when the user
                   1700: # run `make install-strip'.  However `strip' might not be the right
                   1701: # tool to use in cross-compilation environments, therefore Automake
                   1702: # will honor the `STRIP' environment variable to overrule this program.
                   1703: if test "$cross_compiling" != no; then
                   1704:   if test -n "$ac_tool_prefix"; then
                   1705:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   1706: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   1707: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1708: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1709: if test "${ac_cv_prog_STRIP+set}" = set; then
                   1710:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   1711: else
1.11      paf      1712:   if test -n "$STRIP"; then
                   1713:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   1714: else
                   1715: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1716: for as_dir in $PATH
                   1717: do
                   1718:   IFS=$as_save_IFS
                   1719:   test -z "$as_dir" && as_dir=.
                   1720:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1721:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1722:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   1723:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1724:     break 2
                   1725:   fi
                   1726: done
                   1727: done
                   1728: 
                   1729: fi
                   1730: fi
                   1731: STRIP=$ac_cv_prog_STRIP
                   1732: if test -n "$STRIP"; then
                   1733:   echo "$as_me:$LINENO: result: $STRIP" >&5
                   1734: echo "${ECHO_T}$STRIP" >&6
                   1735: else
                   1736:   echo "$as_me:$LINENO: result: no" >&5
                   1737: echo "${ECHO_T}no" >&6
1.1       parser   1738: fi
                   1739: 
1.11      paf      1740: fi
                   1741: if test -z "$ac_cv_prog_STRIP"; then
                   1742:   ac_ct_STRIP=$STRIP
                   1743:   # Extract the first word of "strip", so it can be a program name with args.
                   1744: set dummy strip; ac_word=$2
                   1745: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1746: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1747: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
                   1748:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1749: else
                   1750:   if test -n "$ac_ct_STRIP"; then
                   1751:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1.1       parser   1752: else
1.11      paf      1753: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1754: for as_dir in $PATH
                   1755: do
                   1756:   IFS=$as_save_IFS
                   1757:   test -z "$as_dir" && as_dir=.
                   1758:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1759:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1760:     ac_cv_prog_ac_ct_STRIP="strip"
                   1761:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1762:     break 2
                   1763:   fi
                   1764: done
                   1765: done
                   1766: 
                   1767:   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
                   1768: fi
1.1       parser   1769: fi
1.11      paf      1770: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   1771: if test -n "$ac_ct_STRIP"; then
                   1772:   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
                   1773: echo "${ECHO_T}$ac_ct_STRIP" >&6
1.1       parser   1774: else
1.11      paf      1775:   echo "$as_me:$LINENO: result: no" >&5
                   1776: echo "${ECHO_T}no" >&6
1.1       parser   1777: fi
                   1778: 
1.11      paf      1779:   STRIP=$ac_ct_STRIP
1.1       parser   1780: else
1.11      paf      1781:   STRIP="$ac_cv_prog_STRIP"
1.1       parser   1782: fi
                   1783: 
                   1784: fi
1.11      paf      1785: INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1.1       parser   1786: 
1.11      paf      1787: # We need awk for the "check" target.  The system "awk" is bad on
                   1788: # some platforms.
1.18      paf      1789: # Always define AMTAR for backward compatibility.
                   1790: 
                   1791: AMTAR=${AMTAR-"${am_missing_run}tar"}
                   1792: 
                   1793: am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
                   1794: 
                   1795: 
1.1       parser   1796: 
                   1797: 
                   1798: 
                   1799: 
                   1800: 
1.2       parser   1801: # Check whether --with-oracleoci-inc or --without-oracleoci-inc was given.
1.1       parser   1802: if test "${with_oracleoci_inc+set}" = set; then
                   1803:   withval="$with_oracleoci_inc"
1.11      paf      1804: 
1.1       parser   1805: else
                   1806:   withval="$ORACLE_HOME/rdbms/demo"
                   1807: 
1.11      paf      1808: fi;
1.25      moko     1809: 
1.2       parser   1810: ORACLE_OCI_INC=$withval
1.1       parser   1811: 
                   1812: 
1.2       parser   1813: if test \! -f "$ORACLE_OCI_INC/oci.h"; then
1.11      paf      1814:        { { echo "$as_me:$LINENO: error: $ORACLE_OCI_INC does not seem to be valid Oracle OCI includes directory" >&5
                   1815: echo "$as_me: error: $ORACLE_OCI_INC does not seem to be valid Oracle OCI includes directory" >&2;}
                   1816:    { (exit 1); exit 1; }; }
1.2       parser   1817: fi
                   1818: 
                   1819: 
                   1820: # Check whether --with-oraclepublic-inc or --without-oraclepublic-inc was given.
1.1       parser   1821: if test "${with_oraclepublic_inc+set}" = set; then
                   1822:   withval="$with_oraclepublic_inc"
1.11      paf      1823: 
1.1       parser   1824: else
                   1825:   withval="$ORACLE_HOME/network/public"
                   1826: 
1.11      paf      1827: fi;
1.25      moko     1828: 
1.2       parser   1829: ORACLE_PUBLIC_INC=$withval
1.1       parser   1830: 
                   1831: 
1.2       parser   1832: if test \! -f "$ORACLE_PUBLIC_INC/nzt.h"; then
1.11      paf      1833:        { { echo "$as_me:$LINENO: error: $ORACLE_PUBLIC_INC does not seem to be valid Oracle public includes directory" >&5
                   1834: echo "$as_me: error: $ORACLE_PUBLIC_INC does not seem to be valid Oracle public includes directory" >&2;}
                   1835:    { (exit 1); exit 1; }; }
1.2       parser   1836: fi
                   1837: 
1.1       parser   1838: # Find a good install program.  We prefer a C program (faster),
                   1839: # so one script is as good as another.  But avoid the broken or
                   1840: # incompatible versions:
                   1841: # SysV /etc/install, /usr/sbin/install
                   1842: # SunOS /usr/etc/install
                   1843: # IRIX /sbin/install
                   1844: # AIX /bin/install
1.11      paf      1845: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1       parser   1846: # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
                   1847: # AFS /usr/afsws/bin/install, which mishandles nonexistent args
                   1848: # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1.18      paf      1849: # OS/2's system install, which has a completely different semantic
1.1       parser   1850: # ./install, which can be erroneously created by make from ./install.sh.
1.11      paf      1851: echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
                   1852: echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1.1       parser   1853: if test -z "$INSTALL"; then
1.11      paf      1854: if test "${ac_cv_path_install+set}" = set; then
                   1855:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   1856: else
1.11      paf      1857:   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1858: for as_dir in $PATH
                   1859: do
                   1860:   IFS=$as_save_IFS
                   1861:   test -z "$as_dir" && as_dir=.
                   1862:   # Account for people who put trailing slashes in PATH elements.
                   1863: case $as_dir/ in
                   1864:   ./ | .// | /cC/* | \
                   1865:   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1.18      paf      1866:   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1.11      paf      1867:   /usr/ucb/* ) ;;
                   1868:   *)
                   1869:     # OSF1 and SCO ODT 3.0 have their own names for install.
                   1870:     # Don't use installbsd from OSF since it installs stuff as root
                   1871:     # by default.
                   1872:     for ac_prog in ginstall scoinst install; do
                   1873:       for ac_exec_ext in '' $ac_executable_extensions; do
1.18      paf      1874:        if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
                   1875:          if test $ac_prog = install &&
                   1876:            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1877:            # AIX install.  It has an incompatible calling convention.
                   1878:            :
                   1879:          elif test $ac_prog = install &&
                   1880:            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
                   1881:            # program-specific install script used by HP pwplus--don't use.
                   1882:            :
                   1883:          else
                   1884:            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
                   1885:            break 3
                   1886:          fi
                   1887:        fi
1.1       parser   1888:       done
1.11      paf      1889:     done
                   1890:     ;;
                   1891: esac
                   1892: done
                   1893: 
1.1       parser   1894: 
                   1895: fi
                   1896:   if test "${ac_cv_path_install+set}" = set; then
1.11      paf      1897:     INSTALL=$ac_cv_path_install
1.1       parser   1898:   else
                   1899:     # As a last resort, use the slow shell script.  We don't cache a
                   1900:     # path for INSTALL within a source directory, because that will
                   1901:     # break other packages using the cache if that directory is
                   1902:     # removed, or if the path is relative.
1.11      paf      1903:     INSTALL=$ac_install_sh
1.1       parser   1904:   fi
                   1905: fi
1.11      paf      1906: echo "$as_me:$LINENO: result: $INSTALL" >&5
                   1907: echo "${ECHO_T}$INSTALL" >&6
1.1       parser   1908: 
                   1909: # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
                   1910: # It thinks the first close brace ends the variable substitution.
                   1911: test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
                   1912: 
1.11      paf      1913: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1       parser   1914: 
                   1915: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
                   1916: 
1.11      paf      1917: ac_ext=cc
1.1       parser   1918: ac_cpp='$CXXCPP $CPPFLAGS'
1.11      paf      1919: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   1920: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   1921: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   1922: if test -n "$ac_tool_prefix"; then
                   1923:   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
                   1924:   do
                   1925:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   1926: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   1927: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1928: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1929: if test "${ac_cv_prog_CXX+set}" = set; then
                   1930:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   1931: else
                   1932:   if test -n "$CXX"; then
                   1933:   ac_cv_prog_CXX="$CXX" # Let the user override the test.
                   1934: else
1.11      paf      1935: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1936: for as_dir in $PATH
                   1937: do
                   1938:   IFS=$as_save_IFS
                   1939:   test -z "$as_dir" && as_dir=.
                   1940:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1941:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1942:     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
                   1943:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1944:     break 2
                   1945:   fi
                   1946: done
                   1947: done
                   1948: 
1.1       parser   1949: fi
                   1950: fi
1.11      paf      1951: CXX=$ac_cv_prog_CXX
1.1       parser   1952: if test -n "$CXX"; then
1.11      paf      1953:   echo "$as_me:$LINENO: result: $CXX" >&5
                   1954: echo "${ECHO_T}$CXX" >&6
1.1       parser   1955: else
1.11      paf      1956:   echo "$as_me:$LINENO: result: no" >&5
                   1957: echo "${ECHO_T}no" >&6
1.1       parser   1958: fi
                   1959: 
1.11      paf      1960:     test -n "$CXX" && break
                   1961:   done
                   1962: fi
                   1963: if test -z "$CXX"; then
                   1964:   ac_ct_CXX=$CXX
                   1965:   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
                   1966: do
                   1967:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   1968: set dummy $ac_prog; ac_word=$2
                   1969: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   1970: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   1971: if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
                   1972:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   1973: else
                   1974:   if test -n "$ac_ct_CXX"; then
                   1975:   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
                   1976: else
                   1977: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   1978: for as_dir in $PATH
                   1979: do
                   1980:   IFS=$as_save_IFS
                   1981:   test -z "$as_dir" && as_dir=.
                   1982:   for ac_exec_ext in '' $ac_executable_extensions; do
                   1983:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   1984:     ac_cv_prog_ac_ct_CXX="$ac_prog"
                   1985:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   1986:     break 2
                   1987:   fi
                   1988: done
1.1       parser   1989: done
                   1990: 
1.11      paf      1991: fi
                   1992: fi
                   1993: ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
                   1994: if test -n "$ac_ct_CXX"; then
                   1995:   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
                   1996: echo "${ECHO_T}$ac_ct_CXX" >&6
                   1997: else
                   1998:   echo "$as_me:$LINENO: result: no" >&5
                   1999: echo "${ECHO_T}no" >&6
                   2000: fi
1.1       parser   2001: 
1.11      paf      2002:   test -n "$ac_ct_CXX" && break
                   2003: done
                   2004: test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1.1       parser   2005: 
1.11      paf      2006:   CXX=$ac_ct_CXX
                   2007: fi
1.1       parser   2008: 
                   2009: 
1.11      paf      2010: # Provide some information about the compiler.
                   2011: echo "$as_me:$LINENO:" \
                   2012:      "checking for C++ compiler version" >&5
                   2013: ac_compiler=`set X $ac_compile; echo $2`
                   2014: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
                   2015:   (eval $ac_compiler --version </dev/null >&5) 2>&5
                   2016:   ac_status=$?
                   2017:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2018:   (exit $ac_status); }
                   2019: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
                   2020:   (eval $ac_compiler -v </dev/null >&5) 2>&5
                   2021:   ac_status=$?
                   2022:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2023:   (exit $ac_status); }
                   2024: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
                   2025:   (eval $ac_compiler -V </dev/null >&5) 2>&5
                   2026:   ac_status=$?
                   2027:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2028:   (exit $ac_status); }
                   2029: 
                   2030: cat >conftest.$ac_ext <<_ACEOF
                   2031: /* confdefs.h.  */
                   2032: _ACEOF
                   2033: cat confdefs.h >>conftest.$ac_ext
                   2034: cat >>conftest.$ac_ext <<_ACEOF
                   2035: /* end confdefs.h.  */
                   2036: 
                   2037: int
                   2038: main ()
                   2039: {
                   2040: 
                   2041:   ;
                   2042:   return 0;
                   2043: }
                   2044: _ACEOF
                   2045: ac_clean_files_save=$ac_clean_files
                   2046: ac_clean_files="$ac_clean_files a.out a.exe b.out"
                   2047: # Try to create an executable without -o first, disregard a.out.
                   2048: # It will help us diagnose broken compilers, and finding out an intuition
                   2049: # of exeext.
1.18      paf      2050: echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
                   2051: echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
1.11      paf      2052: ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
                   2053: if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
                   2054:   (eval $ac_link_default) 2>&5
                   2055:   ac_status=$?
                   2056:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2057:   (exit $ac_status); }; then
                   2058:   # Find the output, starting from the most likely.  This scheme is
                   2059: # not robust to junk in `.', hence go to wildcards (a.*) only as a last
                   2060: # resort.
                   2061: 
                   2062: # Be careful to initialize this variable, since it used to be cached.
                   2063: # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
                   2064: ac_cv_exeext=
                   2065: # b.out is created by i960 compilers.
                   2066: for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
                   2067: do
                   2068:   test -f "$ac_file" || continue
                   2069:   case $ac_file in
                   2070:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1.18      paf      2071:        ;;
1.11      paf      2072:     conftest.$ac_ext )
1.18      paf      2073:        # This is the source file.
                   2074:        ;;
1.11      paf      2075:     [ab].out )
1.18      paf      2076:        # We found the default executable, but exeext='' is most
                   2077:        # certainly right.
                   2078:        break;;
1.11      paf      2079:     *.* )
1.18      paf      2080:        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
                   2081:        # FIXME: I believe we export ac_cv_exeext for Libtool,
                   2082:        # but it would be cool to find out if it's true.  Does anybody
                   2083:        # maintain Libtool? --akim.
                   2084:        export ac_cv_exeext
                   2085:        break;;
1.11      paf      2086:     * )
1.18      paf      2087:        break;;
1.11      paf      2088:   esac
                   2089: done
                   2090: else
                   2091:   echo "$as_me: failed program was:" >&5
                   2092: sed 's/^/| /' conftest.$ac_ext >&5
1.1       parser   2093: 
1.11      paf      2094: { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
                   2095: See \`config.log' for more details." >&5
                   2096: echo "$as_me: error: C++ compiler cannot create executables
                   2097: See \`config.log' for more details." >&2;}
                   2098:    { (exit 77); exit 77; }; }
                   2099: fi
                   2100: 
                   2101: ac_exeext=$ac_cv_exeext
                   2102: echo "$as_me:$LINENO: result: $ac_file" >&5
                   2103: echo "${ECHO_T}$ac_file" >&6
                   2104: 
                   2105: # Check the compiler produces executables we can run.  If not, either
                   2106: # the compiler is broken, or we cross compile.
                   2107: echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
                   2108: echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
                   2109: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
                   2110: # If not cross compiling, check that we can run a simple program.
                   2111: if test "$cross_compiling" != yes; then
                   2112:   if { ac_try='./$ac_file'
                   2113:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2114:   (eval $ac_try) 2>&5
                   2115:   ac_status=$?
                   2116:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2117:   (exit $ac_status); }; }; then
                   2118:     cross_compiling=no
                   2119:   else
                   2120:     if test "$cross_compiling" = maybe; then
                   2121:        cross_compiling=yes
                   2122:     else
                   2123:        { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
                   2124: If you meant to cross compile, use \`--host'.
                   2125: See \`config.log' for more details." >&5
                   2126: echo "$as_me: error: cannot run C++ compiled programs.
                   2127: If you meant to cross compile, use \`--host'.
                   2128: See \`config.log' for more details." >&2;}
                   2129:    { (exit 1); exit 1; }; }
                   2130:     fi
1.1       parser   2131:   fi
1.11      paf      2132: fi
                   2133: echo "$as_me:$LINENO: result: yes" >&5
                   2134: echo "${ECHO_T}yes" >&6
                   2135: 
                   2136: rm -f a.out a.exe conftest$ac_cv_exeext b.out
                   2137: ac_clean_files=$ac_clean_files_save
                   2138: # Check the compiler produces executables we can run.  If not, either
                   2139: # the compiler is broken, or we cross compile.
                   2140: echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
                   2141: echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
                   2142: echo "$as_me:$LINENO: result: $cross_compiling" >&5
                   2143: echo "${ECHO_T}$cross_compiling" >&6
                   2144: 
                   2145: echo "$as_me:$LINENO: checking for suffix of executables" >&5
                   2146: echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
                   2147: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   2148:   (eval $ac_link) 2>&5
                   2149:   ac_status=$?
                   2150:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2151:   (exit $ac_status); }; then
                   2152:   # If both `conftest.exe' and `conftest' are `present' (well, observable)
                   2153: # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
                   2154: # work properly (i.e., refer to `conftest.exe'), while it won't with
                   2155: # `rm'.
                   2156: for ac_file in conftest.exe conftest conftest.*; do
                   2157:   test -f "$ac_file" || continue
                   2158:   case $ac_file in
                   2159:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
                   2160:     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1.18      paf      2161:          export ac_cv_exeext
                   2162:          break;;
1.11      paf      2163:     * ) break;;
                   2164:   esac
                   2165: done
1.1       parser   2166: else
1.11      paf      2167:   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
                   2168: See \`config.log' for more details." >&5
                   2169: echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
                   2170: See \`config.log' for more details." >&2;}
                   2171:    { (exit 1); exit 1; }; }
                   2172: fi
                   2173: 
                   2174: rm -f conftest$ac_cv_exeext
                   2175: echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
                   2176: echo "${ECHO_T}$ac_cv_exeext" >&6
                   2177: 
                   2178: rm -f conftest.$ac_ext
                   2179: EXEEXT=$ac_cv_exeext
                   2180: ac_exeext=$EXEEXT
                   2181: echo "$as_me:$LINENO: checking for suffix of object files" >&5
                   2182: echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
                   2183: if test "${ac_cv_objext+set}" = set; then
                   2184:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2185: else
                   2186:   cat >conftest.$ac_ext <<_ACEOF
                   2187: /* confdefs.h.  */
                   2188: _ACEOF
                   2189: cat confdefs.h >>conftest.$ac_ext
                   2190: cat >>conftest.$ac_ext <<_ACEOF
                   2191: /* end confdefs.h.  */
                   2192: 
                   2193: int
                   2194: main ()
                   2195: {
                   2196: 
                   2197:   ;
                   2198:   return 0;
                   2199: }
                   2200: _ACEOF
                   2201: rm -f conftest.o conftest.obj
                   2202: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   2203:   (eval $ac_compile) 2>&5
                   2204:   ac_status=$?
                   2205:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2206:   (exit $ac_status); }; then
                   2207:   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
                   2208:   case $ac_file in
                   2209:     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
                   2210:     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
                   2211:        break;;
                   2212:   esac
                   2213: done
1.1       parser   2214: else
1.11      paf      2215:   echo "$as_me: failed program was:" >&5
                   2216: sed 's/^/| /' conftest.$ac_ext >&5
1.1       parser   2217: 
1.11      paf      2218: { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
                   2219: See \`config.log' for more details." >&5
                   2220: echo "$as_me: error: cannot compute suffix of object files: cannot compile
                   2221: See \`config.log' for more details." >&2;}
                   2222:    { (exit 1); exit 1; }; }
                   2223: fi
                   2224: 
                   2225: rm -f conftest.$ac_cv_objext conftest.$ac_ext
                   2226: fi
                   2227: echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
                   2228: echo "${ECHO_T}$ac_cv_objext" >&6
                   2229: OBJEXT=$ac_cv_objext
                   2230: ac_objext=$OBJEXT
                   2231: echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
                   2232: echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
                   2233: if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
                   2234:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2235: else
                   2236:   cat >conftest.$ac_ext <<_ACEOF
                   2237: /* confdefs.h.  */
                   2238: _ACEOF
                   2239: cat confdefs.h >>conftest.$ac_ext
                   2240: cat >>conftest.$ac_ext <<_ACEOF
                   2241: /* end confdefs.h.  */
                   2242: 
                   2243: int
                   2244: main ()
                   2245: {
                   2246: #ifndef __GNUC__
                   2247:        choke me
                   2248: #endif
1.1       parser   2249: 
1.11      paf      2250:   ;
                   2251:   return 0;
                   2252: }
                   2253: _ACEOF
                   2254: rm -f conftest.$ac_objext
                   2255: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.18      paf      2256:   (eval $ac_compile) 2>conftest.er1
1.11      paf      2257:   ac_status=$?
1.18      paf      2258:   grep -v '^ *+' conftest.er1 >conftest.err
                   2259:   rm -f conftest.er1
                   2260:   cat conftest.err >&5
1.11      paf      2261:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2262:   (exit $ac_status); } &&
1.18      paf      2263:         { ac_try='test -z "$ac_cxx_werror_flag"
                   2264:                         || test ! -s conftest.err'
                   2265:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2266:   (eval $ac_try) 2>&5
                   2267:   ac_status=$?
                   2268:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2269:   (exit $ac_status); }; } &&
                   2270:         { ac_try='test -s conftest.$ac_objext'
1.11      paf      2271:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2272:   (eval $ac_try) 2>&5
                   2273:   ac_status=$?
                   2274:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2275:   (exit $ac_status); }; }; then
                   2276:   ac_compiler_gnu=yes
                   2277: else
                   2278:   echo "$as_me: failed program was:" >&5
                   2279: sed 's/^/| /' conftest.$ac_ext >&5
                   2280: 
                   2281: ac_compiler_gnu=no
                   2282: fi
1.18      paf      2283: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.11      paf      2284: ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
                   2285: 
                   2286: fi
                   2287: echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
                   2288: echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
                   2289: GXX=`test $ac_compiler_gnu = yes && echo yes`
                   2290: ac_test_CXXFLAGS=${CXXFLAGS+set}
                   2291: ac_save_CXXFLAGS=$CXXFLAGS
                   2292: CXXFLAGS="-g"
                   2293: echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
                   2294: echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
                   2295: if test "${ac_cv_prog_cxx_g+set}" = set; then
                   2296:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2297: else
                   2298:   cat >conftest.$ac_ext <<_ACEOF
                   2299: /* confdefs.h.  */
                   2300: _ACEOF
                   2301: cat confdefs.h >>conftest.$ac_ext
                   2302: cat >>conftest.$ac_ext <<_ACEOF
                   2303: /* end confdefs.h.  */
                   2304: 
                   2305: int
                   2306: main ()
                   2307: {
                   2308: 
                   2309:   ;
                   2310:   return 0;
                   2311: }
                   2312: _ACEOF
                   2313: rm -f conftest.$ac_objext
                   2314: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.18      paf      2315:   (eval $ac_compile) 2>conftest.er1
1.11      paf      2316:   ac_status=$?
1.18      paf      2317:   grep -v '^ *+' conftest.er1 >conftest.err
                   2318:   rm -f conftest.er1
                   2319:   cat conftest.err >&5
1.11      paf      2320:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2321:   (exit $ac_status); } &&
1.18      paf      2322:         { ac_try='test -z "$ac_cxx_werror_flag"
                   2323:                         || test ! -s conftest.err'
                   2324:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2325:   (eval $ac_try) 2>&5
                   2326:   ac_status=$?
                   2327:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2328:   (exit $ac_status); }; } &&
                   2329:         { ac_try='test -s conftest.$ac_objext'
1.11      paf      2330:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2331:   (eval $ac_try) 2>&5
                   2332:   ac_status=$?
                   2333:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2334:   (exit $ac_status); }; }; then
                   2335:   ac_cv_prog_cxx_g=yes
1.1       parser   2336: else
1.11      paf      2337:   echo "$as_me: failed program was:" >&5
                   2338: sed 's/^/| /' conftest.$ac_ext >&5
1.1       parser   2339: 
1.11      paf      2340: ac_cv_prog_cxx_g=no
1.1       parser   2341: fi
1.18      paf      2342: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       parser   2343: fi
1.11      paf      2344: echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
                   2345: echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
1.1       parser   2346: if test "$ac_test_CXXFLAGS" = set; then
1.11      paf      2347:   CXXFLAGS=$ac_save_CXXFLAGS
1.1       parser   2348: elif test $ac_cv_prog_cxx_g = yes; then
                   2349:   if test "$GXX" = yes; then
                   2350:     CXXFLAGS="-g -O2"
                   2351:   else
                   2352:     CXXFLAGS="-g"
                   2353:   fi
                   2354: else
                   2355:   if test "$GXX" = yes; then
                   2356:     CXXFLAGS="-O2"
                   2357:   else
                   2358:     CXXFLAGS=
                   2359:   fi
                   2360: fi
1.11      paf      2361: for ac_declaration in \
1.18      paf      2362:    '' \
1.11      paf      2363:    'extern "C" void std::exit (int) throw (); using std::exit;' \
                   2364:    'extern "C" void std::exit (int); using std::exit;' \
                   2365:    'extern "C" void exit (int) throw ();' \
                   2366:    'extern "C" void exit (int);' \
                   2367:    'void exit (int);'
                   2368: do
                   2369:   cat >conftest.$ac_ext <<_ACEOF
                   2370: /* confdefs.h.  */
                   2371: _ACEOF
                   2372: cat confdefs.h >>conftest.$ac_ext
                   2373: cat >>conftest.$ac_ext <<_ACEOF
                   2374: /* end confdefs.h.  */
1.18      paf      2375: $ac_declaration
1.11      paf      2376: #include <stdlib.h>
                   2377: int
                   2378: main ()
                   2379: {
                   2380: exit (42);
                   2381:   ;
                   2382:   return 0;
                   2383: }
                   2384: _ACEOF
                   2385: rm -f conftest.$ac_objext
                   2386: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.18      paf      2387:   (eval $ac_compile) 2>conftest.er1
1.11      paf      2388:   ac_status=$?
1.18      paf      2389:   grep -v '^ *+' conftest.er1 >conftest.err
                   2390:   rm -f conftest.er1
                   2391:   cat conftest.err >&5
1.11      paf      2392:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2393:   (exit $ac_status); } &&
1.18      paf      2394:         { ac_try='test -z "$ac_cxx_werror_flag"
                   2395:                         || test ! -s conftest.err'
                   2396:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2397:   (eval $ac_try) 2>&5
                   2398:   ac_status=$?
                   2399:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2400:   (exit $ac_status); }; } &&
                   2401:         { ac_try='test -s conftest.$ac_objext'
1.11      paf      2402:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2403:   (eval $ac_try) 2>&5
                   2404:   ac_status=$?
                   2405:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2406:   (exit $ac_status); }; }; then
                   2407:   :
                   2408: else
                   2409:   echo "$as_me: failed program was:" >&5
                   2410: sed 's/^/| /' conftest.$ac_ext >&5
                   2411: 
                   2412: continue
                   2413: fi
1.18      paf      2414: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.11      paf      2415:   cat >conftest.$ac_ext <<_ACEOF
                   2416: /* confdefs.h.  */
                   2417: _ACEOF
                   2418: cat confdefs.h >>conftest.$ac_ext
                   2419: cat >>conftest.$ac_ext <<_ACEOF
                   2420: /* end confdefs.h.  */
                   2421: $ac_declaration
                   2422: int
                   2423: main ()
                   2424: {
                   2425: exit (42);
                   2426:   ;
                   2427:   return 0;
                   2428: }
                   2429: _ACEOF
                   2430: rm -f conftest.$ac_objext
                   2431: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.18      paf      2432:   (eval $ac_compile) 2>conftest.er1
1.11      paf      2433:   ac_status=$?
1.18      paf      2434:   grep -v '^ *+' conftest.er1 >conftest.err
                   2435:   rm -f conftest.er1
                   2436:   cat conftest.err >&5
1.11      paf      2437:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2438:   (exit $ac_status); } &&
1.18      paf      2439:         { ac_try='test -z "$ac_cxx_werror_flag"
                   2440:                         || test ! -s conftest.err'
                   2441:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2442:   (eval $ac_try) 2>&5
                   2443:   ac_status=$?
                   2444:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2445:   (exit $ac_status); }; } &&
                   2446:         { ac_try='test -s conftest.$ac_objext'
1.11      paf      2447:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   2448:   (eval $ac_try) 2>&5
                   2449:   ac_status=$?
                   2450:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2451:   (exit $ac_status); }; }; then
                   2452:   break
                   2453: else
                   2454:   echo "$as_me: failed program was:" >&5
                   2455: sed 's/^/| /' conftest.$ac_ext >&5
                   2456: 
                   2457: fi
1.18      paf      2458: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.11      paf      2459: done
                   2460: rm -f conftest*
                   2461: if test -n "$ac_declaration"; then
                   2462:   echo '#ifdef __cplusplus' >>confdefs.h
                   2463:   echo $ac_declaration      >>confdefs.h
                   2464:   echo '#endif'             >>confdefs.h
                   2465: fi
                   2466: 
1.15      paf      2467: ac_ext=c
                   2468: ac_cpp='$CPP $CPPFLAGS'
                   2469: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2470: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2471: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.18      paf      2472: DEPDIR="${am__leading_dot}deps"
1.11      paf      2473: 
                   2474:           ac_config_commands="$ac_config_commands depfiles"
                   2475: 
                   2476: 
                   2477: am_make=${MAKE-make}
                   2478: cat > confinc << 'END'
1.18      paf      2479: am__doit:
1.11      paf      2480:        @echo done
1.18      paf      2481: .PHONY: am__doit
1.11      paf      2482: END
                   2483: # If we don't find an include directive, just comment out the code.
                   2484: echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
                   2485: echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
                   2486: am__include="#"
                   2487: am__quote=
                   2488: _am_result=none
                   2489: # First try GNU make style include.
                   2490: echo "include confinc" > confmf
                   2491: # We grep out `Entering directory' and `Leaving directory'
                   2492: # messages which can occur if `w' ends up in MAKEFLAGS.
                   2493: # In particular we don't look at `^make:' because GNU make might
                   2494: # be invoked under some other name (usually "gmake"), in which
                   2495: # case it prints its new name instead of `make'.
                   2496: if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
                   2497:    am__include=include
                   2498:    am__quote=
                   2499:    _am_result=GNU
                   2500: fi
                   2501: # Now try BSD make style include.
                   2502: if test "$am__include" = "#"; then
                   2503:    echo '.include "confinc"' > confmf
                   2504:    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
                   2505:       am__include=.include
                   2506:       am__quote="\""
                   2507:       _am_result=BSD
                   2508:    fi
                   2509: fi
                   2510: 
                   2511: 
                   2512: echo "$as_me:$LINENO: result: $_am_result" >&5
                   2513: echo "${ECHO_T}$_am_result" >&6
                   2514: rm -f confinc confmf
                   2515: 
                   2516: # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
                   2517: if test "${enable_dependency_tracking+set}" = set; then
                   2518:   enableval="$enable_dependency_tracking"
                   2519: 
                   2520: fi;
                   2521: if test "x$enable_dependency_tracking" != xno; then
                   2522:   am_depcomp="$ac_aux_dir/depcomp"
                   2523:   AMDEPBACKSLASH='\'
                   2524: fi
                   2525: 
                   2526: 
                   2527: if test "x$enable_dependency_tracking" != xno; then
                   2528:   AMDEP_TRUE=
                   2529:   AMDEP_FALSE='#'
                   2530: else
                   2531:   AMDEP_TRUE='#'
                   2532:   AMDEP_FALSE=
                   2533: fi
                   2534: 
                   2535: 
                   2536: 
                   2537: 
                   2538: depcc="$CXX"  am_compiler_list=
                   2539: 
                   2540: echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
                   2541: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
                   2542: if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
                   2543:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2544: else
                   2545:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   2546:   # We make a subdir and do the tests there.  Otherwise we can end up
                   2547:   # making bogus files that we don't know about and never remove.  For
                   2548:   # instance it was reported that on HP-UX the gcc test will end up
                   2549:   # making a dummy file named `D' -- because `-MD' means `put the output
                   2550:   # in D'.
                   2551:   mkdir conftest.dir
                   2552:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   2553:   # using a relative directory.
                   2554:   cp "$am_depcomp" conftest.dir
                   2555:   cd conftest.dir
1.18      paf      2556:   # We will build objects and dependencies in a subdirectory because
                   2557:   # it helps to detect inapplicable dependency modes.  For instance
                   2558:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   2559:   # side effect of compilation, but ICC will put the dependencies in
                   2560:   # the current directory while Tru64 will put them in the object
                   2561:   # directory.
                   2562:   mkdir sub
1.11      paf      2563: 
                   2564:   am_cv_CXX_dependencies_compiler_type=none
                   2565:   if test "$am_compiler_list" = ""; then
                   2566:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   2567:   fi
                   2568:   for depmode in $am_compiler_list; do
1.18      paf      2569:     # Setup a source with many dependencies, because some compilers
                   2570:     # like to wrap large dependency lists on column 80 (with \), and
                   2571:     # we should not choose a depcomp mode which is confused by this.
                   2572:     #
1.11      paf      2573:     # We need to recreate these files for each test, as the compiler may
                   2574:     # overwrite some of them when testing with obscure command lines.
                   2575:     # This happens at least with the AIX C compiler.
1.18      paf      2576:     : > sub/conftest.c
                   2577:     for i in 1 2 3 4 5 6; do
                   2578:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   2579:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   2580:       # Solaris 8's {/usr,}/bin/sh.
                   2581:       touch sub/conftst$i.h
                   2582:     done
                   2583:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.11      paf      2584: 
                   2585:     case $depmode in
                   2586:     nosideeffect)
                   2587:       # after this tag, mechanisms are not by side-effect, so they'll
                   2588:       # only be used when explicitly requested
                   2589:       if test "x$enable_dependency_tracking" = xyes; then
                   2590:        continue
                   2591:       else
                   2592:        break
                   2593:       fi
                   2594:       ;;
                   2595:     none) break ;;
                   2596:     esac
                   2597:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   2598:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   2599:     # handle `-M -o', and we need to detect this.
                   2600:     if depmode=$depmode \
1.18      paf      2601:        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
                   2602:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
                   2603:        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
                   2604:          >/dev/null 2>conftest.err &&
                   2605:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
                   2606:        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.11      paf      2607:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.18      paf      2608:       # icc doesn't choke on unknown options, it will just issue warnings
                   2609:       # or remarks (even with -Werror).  So we grep stderr for any message
                   2610:       # that says an option was ignored or not supported.
                   2611:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   2612:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   2613:       # The diagnosis changed in icc 8.0:
                   2614:       #   icc: Command line remark: option '-MP' not supported
                   2615:       if (grep 'ignoring option' conftest.err ||
                   2616:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   2617:         am_cv_CXX_dependencies_compiler_type=$depmode
                   2618:         break
                   2619:       fi
1.11      paf      2620:     fi
                   2621:   done
                   2622: 
                   2623:   cd ..
                   2624:   rm -rf conftest.dir
                   2625: else
                   2626:   am_cv_CXX_dependencies_compiler_type=none
                   2627: fi
                   2628: 
                   2629: fi
                   2630: echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
                   2631: echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
                   2632: CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
                   2633: 
1.1       parser   2634: 
                   2635: 
1.11      paf      2636: if
                   2637:   test "x$enable_dependency_tracking" != xno \
                   2638:   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
                   2639:   am__fastdepCXX_TRUE=
                   2640:   am__fastdepCXX_FALSE='#'
                   2641: else
                   2642:   am__fastdepCXX_TRUE='#'
                   2643:   am__fastdepCXX_FALSE=
                   2644: fi
                   2645: 
                   2646: 
                   2647: ac_ext=c
                   2648: ac_cpp='$CPP $CPPFLAGS'
                   2649: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   2650: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   2651: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   2652: if test -n "$ac_tool_prefix"; then
                   2653:   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
                   2654: set dummy ${ac_tool_prefix}gcc; ac_word=$2
                   2655: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2656: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2657: if test "${ac_cv_prog_CC+set}" = set; then
                   2658:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2659: else
                   2660:   if test -n "$CC"; then
                   2661:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2662: else
                   2663: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2664: for as_dir in $PATH
                   2665: do
                   2666:   IFS=$as_save_IFS
                   2667:   test -z "$as_dir" && as_dir=.
                   2668:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2669:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2670:     ac_cv_prog_CC="${ac_tool_prefix}gcc"
                   2671:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2672:     break 2
                   2673:   fi
                   2674: done
                   2675: done
1.1       parser   2676: 
1.11      paf      2677: fi
                   2678: fi
                   2679: CC=$ac_cv_prog_CC
                   2680: if test -n "$CC"; then
                   2681:   echo "$as_me:$LINENO: result: $CC" >&5
                   2682: echo "${ECHO_T}$CC" >&6
                   2683: else
                   2684:   echo "$as_me:$LINENO: result: no" >&5
                   2685: echo "${ECHO_T}no" >&6
                   2686: fi
1.1       parser   2687: 
1.11      paf      2688: fi
                   2689: if test -z "$ac_cv_prog_CC"; then
                   2690:   ac_ct_CC=$CC
                   2691:   # Extract the first word of "gcc", so it can be a program name with args.
                   2692: set dummy gcc; ac_word=$2
                   2693: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2694: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2695: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   2696:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   2697: else
1.11      paf      2698:   if test -n "$ac_ct_CC"; then
                   2699:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1.1       parser   2700: else
1.11      paf      2701: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2702: for as_dir in $PATH
                   2703: do
                   2704:   IFS=$as_save_IFS
                   2705:   test -z "$as_dir" && as_dir=.
                   2706:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2707:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2708:     ac_cv_prog_ac_ct_CC="gcc"
                   2709:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2710:     break 2
                   2711:   fi
                   2712: done
                   2713: done
                   2714: 
                   2715: fi
1.1       parser   2716: fi
1.11      paf      2717: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2718: if test -n "$ac_ct_CC"; then
                   2719:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   2720: echo "${ECHO_T}$ac_ct_CC" >&6
                   2721: else
                   2722:   echo "$as_me:$LINENO: result: no" >&5
                   2723: echo "${ECHO_T}no" >&6
1.1       parser   2724: fi
1.11      paf      2725: 
                   2726:   CC=$ac_ct_CC
1.1       parser   2727: else
1.11      paf      2728:   CC="$ac_cv_prog_CC"
1.1       parser   2729: fi
                   2730: 
1.11      paf      2731: if test -z "$CC"; then
                   2732:   if test -n "$ac_tool_prefix"; then
                   2733:   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
                   2734: set dummy ${ac_tool_prefix}cc; ac_word=$2
                   2735: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2736: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2737: if test "${ac_cv_prog_CC+set}" = set; then
                   2738:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   2739: else
                   2740:   if test -n "$CC"; then
                   2741:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2742: else
1.11      paf      2743: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2744: for as_dir in $PATH
                   2745: do
                   2746:   IFS=$as_save_IFS
                   2747:   test -z "$as_dir" && as_dir=.
                   2748:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2749:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2750:     ac_cv_prog_CC="${ac_tool_prefix}cc"
                   2751:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2752:     break 2
                   2753:   fi
                   2754: done
                   2755: done
                   2756: 
1.1       parser   2757: fi
                   2758: fi
1.11      paf      2759: CC=$ac_cv_prog_CC
1.1       parser   2760: if test -n "$CC"; then
1.11      paf      2761:   echo "$as_me:$LINENO: result: $CC" >&5
                   2762: echo "${ECHO_T}$CC" >&6
                   2763: else
                   2764:   echo "$as_me:$LINENO: result: no" >&5
                   2765: echo "${ECHO_T}no" >&6
                   2766: fi
                   2767: 
                   2768: fi
                   2769: if test -z "$ac_cv_prog_CC"; then
                   2770:   ac_ct_CC=$CC
                   2771:   # Extract the first word of "cc", so it can be a program name with args.
                   2772: set dummy cc; ac_word=$2
                   2773: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2774: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2775: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   2776:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2777: else
                   2778:   if test -n "$ac_ct_CC"; then
                   2779:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   2780: else
                   2781: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2782: for as_dir in $PATH
                   2783: do
                   2784:   IFS=$as_save_IFS
                   2785:   test -z "$as_dir" && as_dir=.
                   2786:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2787:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2788:     ac_cv_prog_ac_ct_CC="cc"
                   2789:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2790:     break 2
                   2791:   fi
                   2792: done
                   2793: done
                   2794: 
                   2795: fi
                   2796: fi
                   2797: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2798: if test -n "$ac_ct_CC"; then
                   2799:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   2800: echo "${ECHO_T}$ac_ct_CC" >&6
                   2801: else
                   2802:   echo "$as_me:$LINENO: result: no" >&5
                   2803: echo "${ECHO_T}no" >&6
                   2804: fi
                   2805: 
                   2806:   CC=$ac_ct_CC
1.1       parser   2807: else
1.11      paf      2808:   CC="$ac_cv_prog_CC"
1.1       parser   2809: fi
                   2810: 
1.11      paf      2811: fi
1.1       parser   2812: if test -z "$CC"; then
                   2813:   # Extract the first word of "cc", so it can be a program name with args.
                   2814: set dummy cc; ac_word=$2
1.11      paf      2815: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2816: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2817: if test "${ac_cv_prog_CC+set}" = set; then
                   2818:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   2819: else
                   2820:   if test -n "$CC"; then
                   2821:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2822: else
                   2823:   ac_prog_rejected=no
1.11      paf      2824: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2825: for as_dir in $PATH
                   2826: do
                   2827:   IFS=$as_save_IFS
                   2828:   test -z "$as_dir" && as_dir=.
                   2829:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2830:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2831:     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
                   2832:        ac_prog_rejected=yes
                   2833:        continue
                   2834:      fi
                   2835:     ac_cv_prog_CC="cc"
                   2836:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2837:     break 2
                   2838:   fi
                   2839: done
                   2840: done
                   2841: 
1.1       parser   2842: if test $ac_prog_rejected = yes; then
                   2843:   # We found a bogon in the path, so make sure we never use it.
                   2844:   set dummy $ac_cv_prog_CC
                   2845:   shift
1.11      paf      2846:   if test $# != 0; then
1.1       parser   2847:     # We chose a different compiler from the bogus one.
                   2848:     # However, it has the same basename, so the bogon will be chosen
                   2849:     # first if we set CC to just the basename; use the full file name.
                   2850:     shift
1.11      paf      2851:     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1.1       parser   2852:   fi
                   2853: fi
                   2854: fi
                   2855: fi
1.11      paf      2856: CC=$ac_cv_prog_CC
1.1       parser   2857: if test -n "$CC"; then
1.11      paf      2858:   echo "$as_me:$LINENO: result: $CC" >&5
                   2859: echo "${ECHO_T}$CC" >&6
1.1       parser   2860: else
1.11      paf      2861:   echo "$as_me:$LINENO: result: no" >&5
                   2862: echo "${ECHO_T}no" >&6
1.1       parser   2863: fi
                   2864: 
1.11      paf      2865: fi
                   2866: if test -z "$CC"; then
                   2867:   if test -n "$ac_tool_prefix"; then
                   2868:   for ac_prog in cl
                   2869:   do
                   2870:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   2871: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   2872: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2873: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2874: if test "${ac_cv_prog_CC+set}" = set; then
                   2875:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   2876: else
                   2877:   if test -n "$CC"; then
                   2878:   ac_cv_prog_CC="$CC" # Let the user override the test.
                   2879: else
1.11      paf      2880: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2881: for as_dir in $PATH
                   2882: do
                   2883:   IFS=$as_save_IFS
                   2884:   test -z "$as_dir" && as_dir=.
                   2885:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2886:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2887:     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
                   2888:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2889:     break 2
                   2890:   fi
                   2891: done
                   2892: done
                   2893: 
1.1       parser   2894: fi
                   2895: fi
1.11      paf      2896: CC=$ac_cv_prog_CC
1.1       parser   2897: if test -n "$CC"; then
1.11      paf      2898:   echo "$as_me:$LINENO: result: $CC" >&5
                   2899: echo "${ECHO_T}$CC" >&6
1.1       parser   2900: else
1.11      paf      2901:   echo "$as_me:$LINENO: result: no" >&5
                   2902: echo "${ECHO_T}no" >&6
1.1       parser   2903: fi
1.11      paf      2904: 
                   2905:     test -n "$CC" && break
                   2906:   done
                   2907: fi
                   2908: if test -z "$CC"; then
                   2909:   ac_ct_CC=$CC
                   2910:   for ac_prog in cl
                   2911: do
                   2912:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   2913: set dummy $ac_prog; ac_word=$2
                   2914: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   2915: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   2916: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
                   2917:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2918: else
                   2919:   if test -n "$ac_ct_CC"; then
                   2920:   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
                   2921: else
                   2922: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   2923: for as_dir in $PATH
                   2924: do
                   2925:   IFS=$as_save_IFS
                   2926:   test -z "$as_dir" && as_dir=.
                   2927:   for ac_exec_ext in '' $ac_executable_extensions; do
                   2928:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   2929:     ac_cv_prog_ac_ct_CC="$ac_prog"
                   2930:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   2931:     break 2
1.1       parser   2932:   fi
1.11      paf      2933: done
                   2934: done
                   2935: 
                   2936: fi
                   2937: fi
                   2938: ac_ct_CC=$ac_cv_prog_ac_ct_CC
                   2939: if test -n "$ac_ct_CC"; then
                   2940:   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
                   2941: echo "${ECHO_T}$ac_ct_CC" >&6
                   2942: else
                   2943:   echo "$as_me:$LINENO: result: no" >&5
                   2944: echo "${ECHO_T}no" >&6
1.1       parser   2945: fi
                   2946: 
1.11      paf      2947:   test -n "$ac_ct_CC" && break
                   2948: done
1.1       parser   2949: 
1.11      paf      2950:   CC=$ac_ct_CC
                   2951: fi
1.1       parser   2952: 
1.11      paf      2953: fi
1.1       parser   2954: 
                   2955: 
1.11      paf      2956: test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
                   2957: See \`config.log' for more details." >&5
                   2958: echo "$as_me: error: no acceptable C compiler found in \$PATH
                   2959: See \`config.log' for more details." >&2;}
                   2960:    { (exit 1); exit 1; }; }
                   2961: 
                   2962: # Provide some information about the compiler.
                   2963: echo "$as_me:$LINENO:" \
                   2964:      "checking for C compiler version" >&5
                   2965: ac_compiler=`set X $ac_compile; echo $2`
                   2966: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
                   2967:   (eval $ac_compiler --version </dev/null >&5) 2>&5
                   2968:   ac_status=$?
                   2969:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2970:   (exit $ac_status); }
                   2971: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
                   2972:   (eval $ac_compiler -v </dev/null >&5) 2>&5
                   2973:   ac_status=$?
                   2974:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2975:   (exit $ac_status); }
                   2976: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
                   2977:   (eval $ac_compiler -V </dev/null >&5) 2>&5
                   2978:   ac_status=$?
                   2979:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   2980:   (exit $ac_status); }
                   2981: 
                   2982: echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
                   2983: echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
                   2984: if test "${ac_cv_c_compiler_gnu+set}" = set; then
                   2985:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   2986: else
                   2987:   cat >conftest.$ac_ext <<_ACEOF
                   2988: /* confdefs.h.  */
                   2989: _ACEOF
                   2990: cat confdefs.h >>conftest.$ac_ext
                   2991: cat >>conftest.$ac_ext <<_ACEOF
                   2992: /* end confdefs.h.  */
                   2993: 
                   2994: int
                   2995: main ()
                   2996: {
                   2997: #ifndef __GNUC__
                   2998:        choke me
1.1       parser   2999: #endif
                   3000: 
1.11      paf      3001:   ;
                   3002:   return 0;
                   3003: }
                   3004: _ACEOF
                   3005: rm -f conftest.$ac_objext
                   3006: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.18      paf      3007:   (eval $ac_compile) 2>conftest.er1
1.11      paf      3008:   ac_status=$?
1.18      paf      3009:   grep -v '^ *+' conftest.er1 >conftest.err
                   3010:   rm -f conftest.er1
                   3011:   cat conftest.err >&5
1.11      paf      3012:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3013:   (exit $ac_status); } &&
1.18      paf      3014:         { ac_try='test -z "$ac_c_werror_flag"
                   3015:                         || test ! -s conftest.err'
                   3016:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3017:   (eval $ac_try) 2>&5
                   3018:   ac_status=$?
                   3019:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3020:   (exit $ac_status); }; } &&
                   3021:         { ac_try='test -s conftest.$ac_objext'
1.11      paf      3022:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3023:   (eval $ac_try) 2>&5
                   3024:   ac_status=$?
                   3025:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3026:   (exit $ac_status); }; }; then
                   3027:   ac_compiler_gnu=yes
                   3028: else
                   3029:   echo "$as_me: failed program was:" >&5
                   3030: sed 's/^/| /' conftest.$ac_ext >&5
                   3031: 
                   3032: ac_compiler_gnu=no
                   3033: fi
1.18      paf      3034: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.11      paf      3035: ac_cv_c_compiler_gnu=$ac_compiler_gnu
                   3036: 
                   3037: fi
                   3038: echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
                   3039: echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
                   3040: GCC=`test $ac_compiler_gnu = yes && echo yes`
                   3041: ac_test_CFLAGS=${CFLAGS+set}
                   3042: ac_save_CFLAGS=$CFLAGS
                   3043: CFLAGS="-g"
                   3044: echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
                   3045: echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
                   3046: if test "${ac_cv_prog_cc_g+set}" = set; then
                   3047:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3048: else
                   3049:   cat >conftest.$ac_ext <<_ACEOF
                   3050: /* confdefs.h.  */
                   3051: _ACEOF
                   3052: cat confdefs.h >>conftest.$ac_ext
                   3053: cat >>conftest.$ac_ext <<_ACEOF
                   3054: /* end confdefs.h.  */
                   3055: 
                   3056: int
                   3057: main ()
                   3058: {
                   3059: 
                   3060:   ;
                   3061:   return 0;
                   3062: }
                   3063: _ACEOF
                   3064: rm -f conftest.$ac_objext
                   3065: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.18      paf      3066:   (eval $ac_compile) 2>conftest.er1
1.11      paf      3067:   ac_status=$?
1.18      paf      3068:   grep -v '^ *+' conftest.er1 >conftest.err
                   3069:   rm -f conftest.er1
                   3070:   cat conftest.err >&5
1.11      paf      3071:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3072:   (exit $ac_status); } &&
1.18      paf      3073:         { ac_try='test -z "$ac_c_werror_flag"
                   3074:                         || test ! -s conftest.err'
                   3075:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3076:   (eval $ac_try) 2>&5
                   3077:   ac_status=$?
                   3078:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3079:   (exit $ac_status); }; } &&
                   3080:         { ac_try='test -s conftest.$ac_objext'
1.11      paf      3081:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3082:   (eval $ac_try) 2>&5
                   3083:   ac_status=$?
                   3084:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3085:   (exit $ac_status); }; }; then
                   3086:   ac_cv_prog_cc_g=yes
1.1       parser   3087: else
1.11      paf      3088:   echo "$as_me: failed program was:" >&5
                   3089: sed 's/^/| /' conftest.$ac_ext >&5
1.1       parser   3090: 
1.11      paf      3091: ac_cv_prog_cc_g=no
1.1       parser   3092: fi
1.18      paf      3093: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.1       parser   3094: fi
1.11      paf      3095: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
                   3096: echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1.1       parser   3097: if test "$ac_test_CFLAGS" = set; then
1.11      paf      3098:   CFLAGS=$ac_save_CFLAGS
1.1       parser   3099: elif test $ac_cv_prog_cc_g = yes; then
                   3100:   if test "$GCC" = yes; then
                   3101:     CFLAGS="-g -O2"
                   3102:   else
                   3103:     CFLAGS="-g"
                   3104:   fi
                   3105: else
                   3106:   if test "$GCC" = yes; then
                   3107:     CFLAGS="-O2"
                   3108:   else
                   3109:     CFLAGS=
                   3110:   fi
                   3111: fi
1.11      paf      3112: echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
                   3113: echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
                   3114: if test "${ac_cv_prog_cc_stdc+set}" = set; then
                   3115:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3116: else
                   3117:   ac_cv_prog_cc_stdc=no
                   3118: ac_save_CC=$CC
                   3119: cat >conftest.$ac_ext <<_ACEOF
                   3120: /* confdefs.h.  */
                   3121: _ACEOF
                   3122: cat confdefs.h >>conftest.$ac_ext
                   3123: cat >>conftest.$ac_ext <<_ACEOF
                   3124: /* end confdefs.h.  */
                   3125: #include <stdarg.h>
                   3126: #include <stdio.h>
                   3127: #include <sys/types.h>
                   3128: #include <sys/stat.h>
                   3129: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
                   3130: struct buf { int x; };
                   3131: FILE * (*rcsopen) (struct buf *, struct stat *, int);
                   3132: static char *e (p, i)
                   3133:      char **p;
                   3134:      int i;
                   3135: {
                   3136:   return p[i];
                   3137: }
                   3138: static char *f (char * (*g) (char **, int), char **p, ...)
                   3139: {
                   3140:   char *s;
                   3141:   va_list v;
                   3142:   va_start (v,p);
                   3143:   s = g (p, va_arg (v,int));
                   3144:   va_end (v);
                   3145:   return s;
                   3146: }
1.18      paf      3147: 
                   3148: /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
                   3149:    function prototypes and stuff, but not '\xHH' hex character constants.
                   3150:    These don't provoke an error unfortunately, instead are silently treated
                   3151:    as 'x'.  The following induces an error, until -std1 is added to get
                   3152:    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
                   3153:    array size at least.  It's necessary to write '\x00'==0 to get something
                   3154:    that's true only with -std1.  */
                   3155: int osf4_cc_array ['\x00' == 0 ? 1 : -1];
                   3156: 
1.11      paf      3157: int test (int i, double x);
                   3158: struct s1 {int (*f) (int a);};
                   3159: struct s2 {int (*f) (double a);};
                   3160: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
                   3161: int argc;
                   3162: char **argv;
                   3163: int
                   3164: main ()
                   3165: {
                   3166: return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
                   3167:   ;
                   3168:   return 0;
                   3169: }
                   3170: _ACEOF
                   3171: # Don't try gcc -ansi; that turns off useful extensions and
                   3172: # breaks some systems' header files.
                   3173: # AIX                  -qlanglvl=ansi
                   3174: # Ultrix and OSF/1     -std1
                   3175: # HP-UX 10.20 and later        -Ae
                   3176: # HP-UX older versions -Aa -D_HPUX_SOURCE
                   3177: # SVR4                 -Xc -D__EXTENSIONS__
                   3178: for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
                   3179: do
                   3180:   CC="$ac_save_CC $ac_arg"
                   3181:   rm -f conftest.$ac_objext
                   3182: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.18      paf      3183:   (eval $ac_compile) 2>conftest.er1
1.11      paf      3184:   ac_status=$?
1.18      paf      3185:   grep -v '^ *+' conftest.er1 >conftest.err
                   3186:   rm -f conftest.er1
                   3187:   cat conftest.err >&5
1.11      paf      3188:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3189:   (exit $ac_status); } &&
1.18      paf      3190:         { ac_try='test -z "$ac_c_werror_flag"
                   3191:                         || test ! -s conftest.err'
                   3192:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3193:   (eval $ac_try) 2>&5
                   3194:   ac_status=$?
                   3195:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3196:   (exit $ac_status); }; } &&
                   3197:         { ac_try='test -s conftest.$ac_objext'
1.11      paf      3198:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3199:   (eval $ac_try) 2>&5
                   3200:   ac_status=$?
                   3201:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3202:   (exit $ac_status); }; }; then
                   3203:   ac_cv_prog_cc_stdc=$ac_arg
                   3204: break
                   3205: else
                   3206:   echo "$as_me: failed program was:" >&5
                   3207: sed 's/^/| /' conftest.$ac_ext >&5
                   3208: 
                   3209: fi
1.18      paf      3210: rm -f conftest.err conftest.$ac_objext
1.11      paf      3211: done
                   3212: rm -f conftest.$ac_ext conftest.$ac_objext
                   3213: CC=$ac_save_CC
                   3214: 
                   3215: fi
                   3216: 
                   3217: case "x$ac_cv_prog_cc_stdc" in
                   3218:   x|xno)
                   3219:     echo "$as_me:$LINENO: result: none needed" >&5
                   3220: echo "${ECHO_T}none needed" >&6 ;;
                   3221:   *)
                   3222:     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
                   3223: echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
                   3224:     CC="$CC $ac_cv_prog_cc_stdc" ;;
                   3225: esac
                   3226: 
                   3227: # Some people use a C++ compiler to compile C.  Since we use `exit',
                   3228: # in C++ we need to declare it.  In case someone uses the same compiler
                   3229: # for both compiling C and C++ we need to have the C++ compiler decide
                   3230: # the declaration of exit, since it's the most demanding environment.
                   3231: cat >conftest.$ac_ext <<_ACEOF
                   3232: #ifndef __cplusplus
                   3233:   choke me
                   3234: #endif
                   3235: _ACEOF
                   3236: rm -f conftest.$ac_objext
                   3237: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.18      paf      3238:   (eval $ac_compile) 2>conftest.er1
1.11      paf      3239:   ac_status=$?
1.18      paf      3240:   grep -v '^ *+' conftest.er1 >conftest.err
                   3241:   rm -f conftest.er1
                   3242:   cat conftest.err >&5
1.11      paf      3243:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3244:   (exit $ac_status); } &&
1.18      paf      3245:         { ac_try='test -z "$ac_c_werror_flag"
                   3246:                         || test ! -s conftest.err'
                   3247:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3248:   (eval $ac_try) 2>&5
                   3249:   ac_status=$?
                   3250:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3251:   (exit $ac_status); }; } &&
                   3252:         { ac_try='test -s conftest.$ac_objext'
1.11      paf      3253:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3254:   (eval $ac_try) 2>&5
                   3255:   ac_status=$?
                   3256:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3257:   (exit $ac_status); }; }; then
                   3258:   for ac_declaration in \
1.18      paf      3259:    '' \
1.11      paf      3260:    'extern "C" void std::exit (int) throw (); using std::exit;' \
                   3261:    'extern "C" void std::exit (int); using std::exit;' \
                   3262:    'extern "C" void exit (int) throw ();' \
                   3263:    'extern "C" void exit (int);' \
                   3264:    'void exit (int);'
                   3265: do
                   3266:   cat >conftest.$ac_ext <<_ACEOF
                   3267: /* confdefs.h.  */
                   3268: _ACEOF
                   3269: cat confdefs.h >>conftest.$ac_ext
                   3270: cat >>conftest.$ac_ext <<_ACEOF
                   3271: /* end confdefs.h.  */
1.18      paf      3272: $ac_declaration
1.11      paf      3273: #include <stdlib.h>
                   3274: int
                   3275: main ()
                   3276: {
                   3277: exit (42);
                   3278:   ;
                   3279:   return 0;
                   3280: }
                   3281: _ACEOF
                   3282: rm -f conftest.$ac_objext
                   3283: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.18      paf      3284:   (eval $ac_compile) 2>conftest.er1
1.11      paf      3285:   ac_status=$?
1.18      paf      3286:   grep -v '^ *+' conftest.er1 >conftest.err
                   3287:   rm -f conftest.er1
                   3288:   cat conftest.err >&5
1.11      paf      3289:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3290:   (exit $ac_status); } &&
1.18      paf      3291:         { ac_try='test -z "$ac_c_werror_flag"
                   3292:                         || test ! -s conftest.err'
                   3293:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3294:   (eval $ac_try) 2>&5
                   3295:   ac_status=$?
                   3296:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3297:   (exit $ac_status); }; } &&
                   3298:         { ac_try='test -s conftest.$ac_objext'
1.11      paf      3299:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3300:   (eval $ac_try) 2>&5
                   3301:   ac_status=$?
                   3302:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3303:   (exit $ac_status); }; }; then
                   3304:   :
                   3305: else
                   3306:   echo "$as_me: failed program was:" >&5
                   3307: sed 's/^/| /' conftest.$ac_ext >&5
                   3308: 
                   3309: continue
                   3310: fi
1.18      paf      3311: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.11      paf      3312:   cat >conftest.$ac_ext <<_ACEOF
                   3313: /* confdefs.h.  */
                   3314: _ACEOF
                   3315: cat confdefs.h >>conftest.$ac_ext
                   3316: cat >>conftest.$ac_ext <<_ACEOF
                   3317: /* end confdefs.h.  */
                   3318: $ac_declaration
                   3319: int
                   3320: main ()
                   3321: {
                   3322: exit (42);
                   3323:   ;
                   3324:   return 0;
                   3325: }
                   3326: _ACEOF
                   3327: rm -f conftest.$ac_objext
                   3328: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.18      paf      3329:   (eval $ac_compile) 2>conftest.er1
1.11      paf      3330:   ac_status=$?
1.18      paf      3331:   grep -v '^ *+' conftest.er1 >conftest.err
                   3332:   rm -f conftest.er1
                   3333:   cat conftest.err >&5
1.11      paf      3334:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3335:   (exit $ac_status); } &&
1.18      paf      3336:         { ac_try='test -z "$ac_c_werror_flag"
                   3337:                         || test ! -s conftest.err'
                   3338:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3339:   (eval $ac_try) 2>&5
                   3340:   ac_status=$?
                   3341:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3342:   (exit $ac_status); }; } &&
                   3343:         { ac_try='test -s conftest.$ac_objext'
1.11      paf      3344:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   3345:   (eval $ac_try) 2>&5
                   3346:   ac_status=$?
                   3347:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   3348:   (exit $ac_status); }; }; then
                   3349:   break
                   3350: else
                   3351:   echo "$as_me: failed program was:" >&5
                   3352: sed 's/^/| /' conftest.$ac_ext >&5
                   3353: 
                   3354: fi
1.18      paf      3355: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.11      paf      3356: done
                   3357: rm -f conftest*
                   3358: if test -n "$ac_declaration"; then
                   3359:   echo '#ifdef __cplusplus' >>confdefs.h
                   3360:   echo $ac_declaration      >>confdefs.h
                   3361:   echo '#endif'             >>confdefs.h
                   3362: fi
                   3363: 
                   3364: else
                   3365:   echo "$as_me: failed program was:" >&5
                   3366: sed 's/^/| /' conftest.$ac_ext >&5
                   3367: 
                   3368: fi
1.18      paf      3369: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.15      paf      3370: ac_ext=c
                   3371: ac_cpp='$CPP $CPPFLAGS'
                   3372: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   3373: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   3374: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.11      paf      3375: 
                   3376: depcc="$CC"   am_compiler_list=
                   3377: 
                   3378: echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
                   3379: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
                   3380: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
                   3381:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3382: else
                   3383:   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
                   3384:   # We make a subdir and do the tests there.  Otherwise we can end up
                   3385:   # making bogus files that we don't know about and never remove.  For
                   3386:   # instance it was reported that on HP-UX the gcc test will end up
                   3387:   # making a dummy file named `D' -- because `-MD' means `put the output
                   3388:   # in D'.
                   3389:   mkdir conftest.dir
                   3390:   # Copy depcomp to subdir because otherwise we won't find it if we're
                   3391:   # using a relative directory.
                   3392:   cp "$am_depcomp" conftest.dir
                   3393:   cd conftest.dir
1.18      paf      3394:   # We will build objects and dependencies in a subdirectory because
                   3395:   # it helps to detect inapplicable dependency modes.  For instance
                   3396:   # both Tru64's cc and ICC support -MD to output dependencies as a
                   3397:   # side effect of compilation, but ICC will put the dependencies in
                   3398:   # the current directory while Tru64 will put them in the object
                   3399:   # directory.
                   3400:   mkdir sub
1.11      paf      3401: 
                   3402:   am_cv_CC_dependencies_compiler_type=none
                   3403:   if test "$am_compiler_list" = ""; then
                   3404:      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
                   3405:   fi
                   3406:   for depmode in $am_compiler_list; do
1.18      paf      3407:     # Setup a source with many dependencies, because some compilers
                   3408:     # like to wrap large dependency lists on column 80 (with \), and
                   3409:     # we should not choose a depcomp mode which is confused by this.
                   3410:     #
1.11      paf      3411:     # We need to recreate these files for each test, as the compiler may
                   3412:     # overwrite some of them when testing with obscure command lines.
                   3413:     # This happens at least with the AIX C compiler.
1.18      paf      3414:     : > sub/conftest.c
                   3415:     for i in 1 2 3 4 5 6; do
                   3416:       echo '#include "conftst'$i'.h"' >> sub/conftest.c
                   3417:       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
                   3418:       # Solaris 8's {/usr,}/bin/sh.
                   3419:       touch sub/conftst$i.h
                   3420:     done
                   3421:     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
1.11      paf      3422: 
                   3423:     case $depmode in
                   3424:     nosideeffect)
                   3425:       # after this tag, mechanisms are not by side-effect, so they'll
                   3426:       # only be used when explicitly requested
                   3427:       if test "x$enable_dependency_tracking" = xyes; then
                   3428:        continue
                   3429:       else
                   3430:        break
                   3431:       fi
                   3432:       ;;
                   3433:     none) break ;;
                   3434:     esac
                   3435:     # We check with `-c' and `-o' for the sake of the "dashmstdout"
                   3436:     # mode.  It turns out that the SunPro C++ compiler does not properly
                   3437:     # handle `-M -o', and we need to detect this.
                   3438:     if depmode=$depmode \
1.18      paf      3439:        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
                   3440:        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
                   3441:        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
                   3442:          >/dev/null 2>conftest.err &&
                   3443:        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
                   3444:        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
1.11      paf      3445:        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
1.18      paf      3446:       # icc doesn't choke on unknown options, it will just issue warnings
                   3447:       # or remarks (even with -Werror).  So we grep stderr for any message
                   3448:       # that says an option was ignored or not supported.
                   3449:       # When given -MP, icc 7.0 and 7.1 complain thusly:
                   3450:       #   icc: Command line warning: ignoring option '-M'; no argument required
                   3451:       # The diagnosis changed in icc 8.0:
                   3452:       #   icc: Command line remark: option '-MP' not supported
                   3453:       if (grep 'ignoring option' conftest.err ||
                   3454:           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
                   3455:         am_cv_CC_dependencies_compiler_type=$depmode
                   3456:         break
                   3457:       fi
1.11      paf      3458:     fi
                   3459:   done
                   3460: 
                   3461:   cd ..
                   3462:   rm -rf conftest.dir
                   3463: else
                   3464:   am_cv_CC_dependencies_compiler_type=none
                   3465: fi
                   3466: 
                   3467: fi
                   3468: echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
                   3469: echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
                   3470: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
                   3471: 
                   3472: 
                   3473: 
                   3474: if
                   3475:   test "x$enable_dependency_tracking" != xno \
                   3476:   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
                   3477:   am__fastdepCC_TRUE=
                   3478:   am__fastdepCC_FALSE='#'
                   3479: else
                   3480:   am__fastdepCC_TRUE='#'
                   3481:   am__fastdepCC_FALSE=
                   3482: fi
                   3483: 
                   3484: 
1.15      paf      3485: 
                   3486: 
                   3487: 
                   3488: 
                   3489: 
                   3490: 
                   3491: 
                   3492: 
1.25      moko     3493: case `pwd` in
                   3494:   *\ * | *\    *)
                   3495:     { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
                   3496: echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
1.15      paf      3497: esac
                   3498: 
1.25      moko     3499: 
                   3500: 
                   3501: macro_version='2.4.2'
                   3502: macro_revision='1.3337'
                   3503: 
                   3504: 
                   3505: 
                   3506: 
                   3507: 
                   3508: 
                   3509: 
                   3510: 
                   3511: 
                   3512: 
                   3513: 
                   3514: 
                   3515: 
                   3516: ltmain="$ac_aux_dir/ltmain.sh"
                   3517: 
1.15      paf      3518: # Make sure we can run config.sub.
                   3519: $ac_config_sub sun4 >/dev/null 2>&1 ||
                   3520:   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
                   3521: echo "$as_me: error: cannot run $ac_config_sub" >&2;}
                   3522:    { (exit 1); exit 1; }; }
                   3523: 
                   3524: echo "$as_me:$LINENO: checking build system type" >&5
                   3525: echo $ECHO_N "checking build system type... $ECHO_C" >&6
                   3526: if test "${ac_cv_build+set}" = set; then
                   3527:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3528: else
                   3529:   ac_cv_build_alias=$build_alias
                   3530: test -z "$ac_cv_build_alias" &&
                   3531:   ac_cv_build_alias=`$ac_config_guess`
                   3532: test -z "$ac_cv_build_alias" &&
                   3533:   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
                   3534: echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
                   3535:    { (exit 1); exit 1; }; }
                   3536: ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
                   3537:   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
                   3538: echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
                   3539:    { (exit 1); exit 1; }; }
                   3540: 
                   3541: fi
                   3542: echo "$as_me:$LINENO: result: $ac_cv_build" >&5
                   3543: echo "${ECHO_T}$ac_cv_build" >&6
                   3544: build=$ac_cv_build
                   3545: build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
                   3546: build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
                   3547: build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
                   3548: 
                   3549: 
                   3550: echo "$as_me:$LINENO: checking host system type" >&5
                   3551: echo $ECHO_N "checking host system type... $ECHO_C" >&6
                   3552: if test "${ac_cv_host+set}" = set; then
                   3553:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3554: else
                   3555:   ac_cv_host_alias=$host_alias
                   3556: test -z "$ac_cv_host_alias" &&
                   3557:   ac_cv_host_alias=$ac_cv_build_alias
                   3558: ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
                   3559:   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
                   3560: echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
                   3561:    { (exit 1); exit 1; }; }
                   3562: 
                   3563: fi
                   3564: echo "$as_me:$LINENO: result: $ac_cv_host" >&5
                   3565: echo "${ECHO_T}$ac_cv_host" >&6
                   3566: host=$ac_cv_host
                   3567: host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
                   3568: host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
                   3569: host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
                   3570: 
                   3571: 
1.25      moko     3572: # Backslashify metacharacters that are still active within
                   3573: # double-quoted strings.
                   3574: sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
                   3575: 
                   3576: # Same as above, but do not quote variable references.
                   3577: double_quote_subst='s/\(["`\\]\)/\\\1/g'
                   3578: 
                   3579: # Sed substitution to delay expansion of an escaped shell variable in a
                   3580: # double_quote_subst'ed string.
                   3581: delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
                   3582: 
                   3583: # Sed substitution to delay expansion of an escaped single quote.
                   3584: delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
                   3585: 
                   3586: # Sed substitution to avoid accidental globbing in evaled expressions
                   3587: no_glob_subst='s/\*/\\\*/g'
                   3588: 
                   3589: ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
                   3590: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
                   3591: ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
                   3592: 
                   3593: echo "$as_me:$LINENO: checking how to print strings" >&5
                   3594: echo $ECHO_N "checking how to print strings... $ECHO_C" >&6
                   3595: # Test print first, because it will be a builtin if present.
                   3596: if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
                   3597:    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
                   3598:   ECHO='print -r --'
                   3599: elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
                   3600:   ECHO='printf %s\n'
                   3601: else
                   3602:   # Use this function as a fallback that always works.
                   3603:   func_fallback_echo ()
                   3604:   {
                   3605:     eval 'cat <<_LTECHO_EOF
                   3606: $1
                   3607: _LTECHO_EOF'
                   3608:   }
                   3609:   ECHO='func_fallback_echo'
1.11      paf      3610: fi
                   3611: 
1.25      moko     3612: # func_echo_all arg...
                   3613: # Invoke $ECHO with all args, space-separated.
                   3614: func_echo_all ()
                   3615: {
                   3616:     $ECHO ""
                   3617: }
                   3618: 
                   3619: case "$ECHO" in
                   3620:   printf*) echo "$as_me:$LINENO: result: printf" >&5
                   3621: echo "${ECHO_T}printf" >&6 ;;
                   3622:   print*) echo "$as_me:$LINENO: result: print -r" >&5
                   3623: echo "${ECHO_T}print -r" >&6 ;;
                   3624:   *) echo "$as_me:$LINENO: result: cat" >&5
                   3625: echo "${ECHO_T}cat" >&6 ;;
                   3626: esac
                   3627: 
                   3628: 
                   3629: 
                   3630: 
                   3631: 
                   3632: 
                   3633: 
                   3634: 
                   3635: 
                   3636: 
                   3637: 
                   3638: 
1.1       parser   3639: 
1.25      moko     3640: 
                   3641: echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
                   3642: echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
                   3643: if test "${lt_cv_path_SED+set}" = set; then
                   3644:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3645: else
                   3646:   # Loop through the user's path and test for sed and gsed.
                   3647: # Then use that list of sed's as ones to test for truncation.
                   3648: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3649: for as_dir in $PATH
                   3650: do
                   3651:   IFS=$as_save_IFS
                   3652:   test -z "$as_dir" && as_dir=.
                   3653:   for lt_ac_prog in sed gsed; do
                   3654:     for ac_exec_ext in '' $ac_executable_extensions; do
                   3655:       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
                   3656:         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
                   3657:       fi
                   3658:     done
                   3659:   done
                   3660: done
                   3661: IFS=$as_save_IFS
                   3662: lt_ac_max=0
                   3663: lt_ac_count=0
                   3664: # Add /usr/xpg4/bin/sed as it is typically found on Solaris
                   3665: # along with /bin/sed that truncates output.
                   3666: for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
                   3667:   test ! -f $lt_ac_sed && continue
                   3668:   cat /dev/null > conftest.in
                   3669:   lt_ac_count=0
                   3670:   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
                   3671:   # Check for GNU sed and select it if it is found.
                   3672:   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
                   3673:     lt_cv_path_SED=$lt_ac_sed
                   3674:     break
                   3675:   fi
                   3676:   while true; do
                   3677:     cat conftest.in conftest.in >conftest.tmp
                   3678:     mv conftest.tmp conftest.in
                   3679:     cp conftest.in conftest.nl
                   3680:     echo >>conftest.nl
                   3681:     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
                   3682:     cmp -s conftest.out conftest.nl || break
                   3683:     # 10000 chars as input seems more than enough
                   3684:     test $lt_ac_count -gt 10 && break
                   3685:     lt_ac_count=`expr $lt_ac_count + 1`
                   3686:     if test $lt_ac_count -gt $lt_ac_max; then
                   3687:       lt_ac_max=$lt_ac_count
                   3688:       lt_cv_path_SED=$lt_ac_sed
                   3689:     fi
                   3690:   done
                   3691: done
                   3692: 
                   3693: fi
                   3694: 
                   3695: SED=$lt_cv_path_SED
                   3696: 
                   3697: echo "$as_me:$LINENO: result: $SED" >&5
                   3698: echo "${ECHO_T}$SED" >&6
                   3699: 
                   3700: test -z "$SED" && SED=sed
                   3701: Xsed="$SED -e 1s/^X//"
                   3702: 
                   3703: 
                   3704: 
                   3705: 
                   3706: 
                   3707: 
                   3708: 
                   3709: 
                   3710: 
                   3711: 
                   3712: 
                   3713: echo "$as_me:$LINENO: checking for egrep" >&5
                   3714: echo $ECHO_N "checking for egrep... $ECHO_C" >&6
                   3715: if test "${ac_cv_prog_egrep+set}" = set; then
                   3716:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3717: else
                   3718:   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
                   3719:     then ac_cv_prog_egrep='grep -E'
                   3720:     else ac_cv_prog_egrep='egrep'
                   3721:     fi
                   3722: fi
                   3723: echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
                   3724: echo "${ECHO_T}$ac_cv_prog_egrep" >&6
                   3725:  EGREP=$ac_cv_prog_egrep
                   3726: 
                   3727: 
                   3728: echo "$as_me:$LINENO: checking for fgrep" >&5
                   3729: echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
                   3730: if test "${ac_cv_prog_fgrep+set}" = set; then
                   3731:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3732: else
                   3733:   if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
                   3734:     then ac_cv_prog_fgrep='grep -F'
                   3735:     else ac_cv_prog_fgrep='fgrep'
                   3736:     fi
                   3737: fi
                   3738: echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
                   3739: echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
                   3740:  FGREP=$ac_cv_prog_fgrep
                   3741: 
                   3742: 
                   3743: test -z "$GREP" && GREP=grep
                   3744: 
                   3745: 
                   3746: 
                   3747: 
                   3748: 
                   3749: 
                   3750: 
                   3751: 
                   3752: 
                   3753: 
                   3754: 
                   3755: 
                   3756: 
                   3757: 
                   3758: 
                   3759: 
                   3760: 
                   3761: 
                   3762: 
                   3763: # Check whether --with-gnu-ld or --without-gnu-ld was given.
                   3764: if test "${with_gnu_ld+set}" = set; then
                   3765:   withval="$with_gnu_ld"
                   3766:   test "$withval" = no || with_gnu_ld=yes
1.1       parser   3767: else
                   3768:   with_gnu_ld=no
1.11      paf      3769: fi;
1.1       parser   3770: ac_prog=ld
1.11      paf      3771: if test "$GCC" = yes; then
1.1       parser   3772:   # Check if gcc -print-prog-name=ld gives a path.
1.25      moko     3773:   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
                   3774: echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
1.11      paf      3775:   case $host in
                   3776:   *-*-mingw*)
                   3777:     # gcc leaves a trailing carriage return which upsets mingw
                   3778:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   3779:   *)
                   3780:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   3781:   esac
                   3782:   case $ac_prog in
1.1       parser   3783:     # Accept absolute paths.
1.25      moko     3784:     [\\/]* | ?:[\\/]*)
1.1       parser   3785:       re_direlt='/[^/][^/]*/\.\./'
1.25      moko     3786:       # Canonicalize the pathname of ld
                   3787:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   3788:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   3789:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
1.1       parser   3790:       done
                   3791:       test -z "$LD" && LD="$ac_prog"
                   3792:       ;;
                   3793:   "")
                   3794:     # If it fails, then pretend we aren't using GCC.
                   3795:     ac_prog=ld
                   3796:     ;;
                   3797:   *)
                   3798:     # If it is relative, then search for the first ld in PATH.
                   3799:     with_gnu_ld=unknown
                   3800:     ;;
                   3801:   esac
                   3802: elif test "$with_gnu_ld" = yes; then
1.11      paf      3803:   echo "$as_me:$LINENO: checking for GNU ld" >&5
                   3804: echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
1.1       parser   3805: else
1.11      paf      3806:   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
                   3807: echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
1.1       parser   3808: fi
1.11      paf      3809: if test "${lt_cv_path_LD+set}" = set; then
                   3810:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   3811: else
                   3812:   if test -z "$LD"; then
1.25      moko     3813:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1.1       parser   3814:   for ac_dir in $PATH; do
1.25      moko     3815:     IFS="$lt_save_ifs"
1.1       parser   3816:     test -z "$ac_dir" && ac_dir=.
                   3817:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1.11      paf      3818:       lt_cv_path_LD="$ac_dir/$ac_prog"
1.1       parser   3819:       # Check to see if the program is GNU ld.  I'd rather use --version,
1.25      moko     3820:       # but apparently some variants of GNU ld only accept -v.
1.1       parser   3821:       # Break only if it was the GNU/non-GNU ld that we prefer.
1.25      moko     3822:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   3823:       *GNU* | *'with BFD'*)
1.1       parser   3824:        test "$with_gnu_ld" != no && break
1.25      moko     3825:        ;;
                   3826:       *)
1.1       parser   3827:        test "$with_gnu_ld" != yes && break
1.25      moko     3828:        ;;
                   3829:       esac
1.1       parser   3830:     fi
                   3831:   done
1.25      moko     3832:   IFS="$lt_save_ifs"
1.1       parser   3833: else
1.11      paf      3834:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
1.1       parser   3835: fi
                   3836: fi
                   3837: 
1.11      paf      3838: LD="$lt_cv_path_LD"
1.1       parser   3839: if test -n "$LD"; then
1.11      paf      3840:   echo "$as_me:$LINENO: result: $LD" >&5
                   3841: echo "${ECHO_T}$LD" >&6
1.1       parser   3842: else
1.11      paf      3843:   echo "$as_me:$LINENO: result: no" >&5
                   3844: echo "${ECHO_T}no" >&6
1.1       parser   3845: fi
1.11      paf      3846: test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
                   3847: echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
                   3848:    { (exit 1); exit 1; }; }
                   3849: echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
                   3850: echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
                   3851: if test "${lt_cv_prog_gnu_ld+set}" = set; then
                   3852:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   3853: else
1.25      moko     3854:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   3855: case `$LD -v 2>&1 </dev/null` in
                   3856: *GNU* | *'with BFD'*)
1.11      paf      3857:   lt_cv_prog_gnu_ld=yes
1.25      moko     3858:   ;;
                   3859: *)
1.11      paf      3860:   lt_cv_prog_gnu_ld=no
1.25      moko     3861:   ;;
                   3862: esac
1.1       parser   3863: fi
1.11      paf      3864: echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
                   3865: echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
                   3866: with_gnu_ld=$lt_cv_prog_gnu_ld
1.1       parser   3867: 
                   3868: 
                   3869: 
1.25      moko     3870: 
                   3871: 
                   3872: 
                   3873: 
                   3874: 
                   3875: 
                   3876: echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
                   3877: echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
1.11      paf      3878: if test "${lt_cv_path_NM+set}" = set; then
                   3879:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   3880: else
                   3881:   if test -n "$NM"; then
                   3882:   # Let the user override the test.
1.11      paf      3883:   lt_cv_path_NM="$NM"
1.1       parser   3884: else
1.25      moko     3885:   lt_nm_to_check="${ac_tool_prefix}nm"
                   3886:   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
                   3887:     lt_nm_to_check="$lt_nm_to_check nm"
                   3888:   fi
                   3889:   for lt_tmp_nm in $lt_nm_to_check; do
                   3890:     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   3891:     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
                   3892:       IFS="$lt_save_ifs"
                   3893:       test -z "$ac_dir" && ac_dir=.
                   3894:       tmp_nm="$ac_dir/$lt_tmp_nm"
                   3895:       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
                   3896:        # Check to see if the nm accepts a BSD-compat flag.
                   3897:        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
                   3898:        #   nm: unknown option "B" ignored
                   3899:        # Tru64's nm complains that /dev/null is an invalid object file
                   3900:        case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
                   3901:        */dev/null* | *'Invalid file or object type'*)
                   3902:          lt_cv_path_NM="$tmp_nm -B"
                   3903:          break
                   3904:          ;;
                   3905:        *)
                   3906:          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
                   3907:          */dev/null*)
                   3908:            lt_cv_path_NM="$tmp_nm -p"
                   3909:            break
                   3910:            ;;
                   3911:          *)
                   3912:            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
                   3913:            continue # so that we can try to find one that supports BSD flags
                   3914:            ;;
                   3915:          esac
                   3916:          ;;
                   3917:        esac
1.1       parser   3918:       fi
1.25      moko     3919:     done
                   3920:     IFS="$lt_save_ifs"
1.1       parser   3921:   done
1.25      moko     3922:   : ${lt_cv_path_NM=no}
1.1       parser   3923: fi
                   3924: fi
1.25      moko     3925: echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
                   3926: echo "${ECHO_T}$lt_cv_path_NM" >&6
                   3927: if test "$lt_cv_path_NM" != "no"; then
                   3928:   NM="$lt_cv_path_NM"
                   3929: else
                   3930:   # Didn't find any BSD compatible name lister, look for dumpbin.
                   3931:   if test -n "$DUMPBIN"; then :
                   3932:     # Let the user override the test.
                   3933:   else
                   3934:     if test -n "$ac_tool_prefix"; then
                   3935:   for ac_prog in dumpbin "link -dump"
                   3936:   do
                   3937:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   3938: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   3939: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   3940: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   3941: if test "${ac_cv_prog_DUMPBIN+set}" = set; then
                   3942:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   3943: else
                   3944:   if test -n "$DUMPBIN"; then
                   3945:   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
                   3946: else
                   3947: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3948: for as_dir in $PATH
                   3949: do
                   3950:   IFS=$as_save_IFS
                   3951:   test -z "$as_dir" && as_dir=.
                   3952:   for ac_exec_ext in '' $ac_executable_extensions; do
                   3953:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   3954:     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
                   3955:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3956:     break 2
                   3957:   fi
                   3958: done
                   3959: done
1.1       parser   3960: 
1.25      moko     3961: fi
                   3962: fi
                   3963: DUMPBIN=$ac_cv_prog_DUMPBIN
                   3964: if test -n "$DUMPBIN"; then
                   3965:   echo "$as_me:$LINENO: result: $DUMPBIN" >&5
                   3966: echo "${ECHO_T}$DUMPBIN" >&6
                   3967: else
                   3968:   echo "$as_me:$LINENO: result: no" >&5
                   3969: echo "${ECHO_T}no" >&6
                   3970: fi
1.1       parser   3971: 
1.25      moko     3972:     test -n "$DUMPBIN" && break
                   3973:   done
                   3974: fi
                   3975: if test -z "$DUMPBIN"; then
                   3976:   ac_ct_DUMPBIN=$DUMPBIN
                   3977:   for ac_prog in dumpbin "link -dump"
                   3978: do
                   3979:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   3980: set dummy $ac_prog; ac_word=$2
                   3981: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   3982: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   3983: if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
1.11      paf      3984:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   3985: else
1.25      moko     3986:   if test -n "$ac_ct_DUMPBIN"; then
                   3987:   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
                   3988: else
1.11      paf      3989: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   3990: for as_dir in $PATH
                   3991: do
                   3992:   IFS=$as_save_IFS
                   3993:   test -z "$as_dir" && as_dir=.
1.25      moko     3994:   for ac_exec_ext in '' $ac_executable_extensions; do
                   3995:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   3996:     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
                   3997:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   3998:     break 2
                   3999:   fi
                   4000: done
                   4001: done
                   4002: 
                   4003: fi
                   4004: fi
                   4005: ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
                   4006: if test -n "$ac_ct_DUMPBIN"; then
                   4007:   echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
                   4008: echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
                   4009: else
                   4010:   echo "$as_me:$LINENO: result: no" >&5
                   4011: echo "${ECHO_T}no" >&6
                   4012: fi
                   4013: 
                   4014:   test -n "$ac_ct_DUMPBIN" && break
1.11      paf      4015: done
1.25      moko     4016: test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
1.11      paf      4017: 
1.25      moko     4018:   DUMPBIN=$ac_ct_DUMPBIN
                   4019: fi
1.11      paf      4020: 
1.25      moko     4021:     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
                   4022:     *COFF*)
                   4023:       DUMPBIN="$DUMPBIN -symbols"
                   4024:       ;;
                   4025:     *)
                   4026:       DUMPBIN=:
                   4027:       ;;
                   4028:     esac
                   4029:   fi
1.11      paf      4030: 
1.25      moko     4031:   if test "$DUMPBIN" != ":"; then
                   4032:     NM="$DUMPBIN"
                   4033:   fi
1.1       parser   4034: fi
1.25      moko     4035: test -z "$NM" && NM=nm
                   4036: 
                   4037: 
                   4038: 
                   4039: 
                   4040: 
1.1       parser   4041: 
1.25      moko     4042: echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
                   4043: echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
                   4044: if test "${lt_cv_nm_interface+set}" = set; then
                   4045:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.7       paf      4046: else
1.25      moko     4047:   lt_cv_nm_interface="BSD nm"
                   4048:   echo "int some_variable = 0;" > conftest.$ac_ext
                   4049:   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
                   4050:   (eval "$ac_compile" 2>conftest.err)
                   4051:   cat conftest.err >&5
                   4052:   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
                   4053:   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
                   4054:   cat conftest.err >&5
                   4055:   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
                   4056:   cat conftest.out >&5
                   4057:   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
                   4058:     lt_cv_nm_interface="MS dumpbin"
                   4059:   fi
                   4060:   rm -f conftest*
1.7       paf      4061: fi
1.25      moko     4062: echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
                   4063: echo "${ECHO_T}$lt_cv_nm_interface" >&6
1.11      paf      4064: 
                   4065: echo "$as_me:$LINENO: checking whether ln -s works" >&5
                   4066: echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
                   4067: LN_S=$as_ln_s
                   4068: if test "$LN_S" = "ln -s"; then
                   4069:   echo "$as_me:$LINENO: result: yes" >&5
                   4070: echo "${ECHO_T}yes" >&6
                   4071: else
                   4072:   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
                   4073: echo "${ECHO_T}no, using $LN_S" >&6
                   4074: fi
                   4075: 
1.25      moko     4076: # find the maximum length of command line arguments
                   4077: echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
                   4078: echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
                   4079: if test "${lt_cv_sys_max_cmd_len+set}" = set; then
1.11      paf      4080:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4081: else
1.25      moko     4082:     i=0
                   4083:   teststring="ABCD"
                   4084: 
                   4085:   case $build_os in
                   4086:   msdosdjgpp*)
                   4087:     # On DJGPP, this test can blow up pretty badly due to problems in libc
                   4088:     # (any single argument exceeding 2000 bytes causes a buffer overrun
                   4089:     # during glob expansion).  Even if it were fixed, the result of this
                   4090:     # check would be larger than it should be.
                   4091:     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
                   4092:     ;;
1.11      paf      4093: 
1.25      moko     4094:   gnu*)
                   4095:     # Under GNU Hurd, this test is not required because there is
                   4096:     # no limit to the length of command line arguments.
                   4097:     # Libtool will interpret -1 as no limit whatsoever
                   4098:     lt_cv_sys_max_cmd_len=-1;
                   4099:     ;;
1.7       paf      4100: 
1.25      moko     4101:   cygwin* | mingw* | cegcc*)
                   4102:     # On Win9x/ME, this test blows up -- it succeeds, but takes
                   4103:     # about 5 minutes as the teststring grows exponentially.
                   4104:     # Worse, since 9x/ME are not pre-emptively multitasking,
                   4105:     # you end up with a "frozen" computer, even though with patience
                   4106:     # the test eventually succeeds (with a max line length of 256k).
                   4107:     # Instead, let's just punt: use the minimum linelength reported by
                   4108:     # all of the supported platforms: 8192 (on NT/2K/XP).
                   4109:     lt_cv_sys_max_cmd_len=8192;
                   4110:     ;;
1.1       parser   4111: 
1.25      moko     4112:   mint*)
                   4113:     # On MiNT this can take a long time and run out of memory.
                   4114:     lt_cv_sys_max_cmd_len=8192;
                   4115:     ;;
1.1       parser   4116: 
1.25      moko     4117:   amigaos*)
                   4118:     # On AmigaOS with pdksh, this test takes hours, literally.
                   4119:     # So we just punt and use a minimum line length of 8192.
                   4120:     lt_cv_sys_max_cmd_len=8192;
                   4121:     ;;
1.1       parser   4122: 
1.25      moko     4123:   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
                   4124:     # This has been around since 386BSD, at least.  Likely further.
                   4125:     if test -x /sbin/sysctl; then
                   4126:       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
                   4127:     elif test -x /usr/sbin/sysctl; then
                   4128:       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
                   4129:     else
                   4130:       lt_cv_sys_max_cmd_len=65536      # usable default for all BSDs
                   4131:     fi
                   4132:     # And add a safety zone
                   4133:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   4134:     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
1.11      paf      4135:     ;;
1.25      moko     4136: 
                   4137:   interix*)
                   4138:     # We know the value 262144 and hardcode it with a safety zone (like BSD)
                   4139:     lt_cv_sys_max_cmd_len=196608
1.11      paf      4140:     ;;
1.1       parser   4141: 
1.25      moko     4142:   os2*)
                   4143:     # The test takes a long time on OS/2.
                   4144:     lt_cv_sys_max_cmd_len=8192
                   4145:     ;;
                   4146: 
                   4147:   osf*)
                   4148:     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
                   4149:     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
                   4150:     # nice to cause kernel panics so lets avoid the loop below.
                   4151:     # First set a reasonable default.
                   4152:     lt_cv_sys_max_cmd_len=16384
                   4153:     #
                   4154:     if test -x /sbin/sysconfig; then
                   4155:       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
                   4156:         *1*) lt_cv_sys_max_cmd_len=-1 ;;
                   4157:       esac
                   4158:     fi
                   4159:     ;;
                   4160:   sco3.2v5*)
                   4161:     lt_cv_sys_max_cmd_len=102400
                   4162:     ;;
                   4163:   sysv5* | sco5v6* | sysv4.2uw2*)
                   4164:     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
                   4165:     if test -n "$kargmax"; then
                   4166:       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[         ]//'`
                   4167:     else
                   4168:       lt_cv_sys_max_cmd_len=32768
                   4169:     fi
                   4170:     ;;
                   4171:   *)
                   4172:     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
                   4173:     if test -n "$lt_cv_sys_max_cmd_len"; then
                   4174:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
                   4175:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
                   4176:     else
                   4177:       # Make teststring a little bigger before we do anything with it.
                   4178:       # a 1K string should be a reasonable start.
                   4179:       for i in 1 2 3 4 5 6 7 8 ; do
                   4180:         teststring=$teststring$teststring
                   4181:       done
                   4182:       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
                   4183:       # If test is not a shell built-in, we'll probably end up computing a
                   4184:       # maximum length that is only half of the actual maximum length, but
                   4185:       # we can't tell.
                   4186:       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
                   4187:                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
                   4188:              test $i != 17 # 1/2 MB should be enough
                   4189:       do
                   4190:         i=`expr $i + 1`
                   4191:         teststring=$teststring$teststring
                   4192:       done
                   4193:       # Only check the string length outside the loop.
                   4194:       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
                   4195:       teststring=
                   4196:       # Add a significant safety factor because C++ compilers can tack on
                   4197:       # massive amounts of additional arguments before passing them to the
                   4198:       # linker.  It appears as though 1/2 is a usable value.
                   4199:       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
                   4200:     fi
                   4201:     ;;
                   4202:   esac
                   4203: 
                   4204: fi
                   4205: 
                   4206: if test -n $lt_cv_sys_max_cmd_len ; then
                   4207:   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
                   4208: echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
                   4209: else
                   4210:   echo "$as_me:$LINENO: result: none" >&5
                   4211: echo "${ECHO_T}none" >&6
                   4212: fi
                   4213: max_cmd_len=$lt_cv_sys_max_cmd_len
                   4214: 
                   4215: 
                   4216: 
                   4217: 
                   4218: 
                   4219: 
                   4220: : ${CP="cp -f"}
                   4221: : ${MV="mv -f"}
                   4222: : ${RM="rm -f"}
                   4223: 
                   4224: echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
                   4225: echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
                   4226: # Try some XSI features
                   4227: xsi_shell=no
                   4228: ( _lt_dummy="a/b/c"
                   4229:   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
                   4230:       = c,a/b,b/c, \
                   4231:     && eval 'test $(( 1 + 1 )) -eq 2 \
                   4232:     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
                   4233:   && xsi_shell=yes
                   4234: echo "$as_me:$LINENO: result: $xsi_shell" >&5
                   4235: echo "${ECHO_T}$xsi_shell" >&6
                   4236: 
                   4237: 
                   4238: echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
                   4239: echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
                   4240: lt_shell_append=no
                   4241: ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
                   4242:     >/dev/null 2>&1 \
                   4243:   && lt_shell_append=yes
                   4244: echo "$as_me:$LINENO: result: $lt_shell_append" >&5
                   4245: echo "${ECHO_T}$lt_shell_append" >&6
                   4246: 
                   4247: 
                   4248: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                   4249:   lt_unset=unset
                   4250: else
                   4251:   lt_unset=false
                   4252: fi
                   4253: 
                   4254: 
                   4255: 
                   4256: 
                   4257: 
                   4258: # test EBCDIC or ASCII
                   4259: case `echo X|tr X '\101'` in
                   4260:  A) # ASCII based system
                   4261:     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
                   4262:   lt_SP2NL='tr \040 \012'
                   4263:   lt_NL2SP='tr \015\012 \040\040'
                   4264:   ;;
                   4265:  *) # EBCDIC based system
                   4266:   lt_SP2NL='tr \100 \n'
                   4267:   lt_NL2SP='tr \r\n \100\100'
                   4268:   ;;
                   4269: esac
                   4270: 
                   4271: 
                   4272: 
                   4273: 
                   4274: 
                   4275: 
                   4276: 
                   4277: 
                   4278: 
                   4279: echo "$as_me:$LINENO: checking how to convert $build file names to $host format" >&5
                   4280: echo $ECHO_N "checking how to convert $build file names to $host format... $ECHO_C" >&6
                   4281: if test "${lt_cv_to_host_file_cmd+set}" = set; then
                   4282:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4283: else
                   4284:   case $host in
                   4285:   *-*-mingw* )
                   4286:     case $build in
                   4287:       *-*-mingw* ) # actually msys
                   4288:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
                   4289:         ;;
                   4290:       *-*-cygwin* )
                   4291:         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
                   4292:         ;;
                   4293:       * ) # otherwise, assume *nix
                   4294:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
                   4295:         ;;
                   4296:     esac
                   4297:     ;;
                   4298:   *-*-cygwin* )
                   4299:     case $build in
                   4300:       *-*-mingw* ) # actually msys
                   4301:         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
                   4302:         ;;
                   4303:       *-*-cygwin* )
                   4304:         lt_cv_to_host_file_cmd=func_convert_file_noop
                   4305:         ;;
                   4306:       * ) # otherwise, assume *nix
                   4307:         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
                   4308:         ;;
                   4309:     esac
                   4310:     ;;
                   4311:   * ) # unhandled hosts (and "normal" native builds)
                   4312:     lt_cv_to_host_file_cmd=func_convert_file_noop
                   4313:     ;;
                   4314: esac
                   4315: 
                   4316: fi
                   4317: 
                   4318: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   4319: echo "$as_me:$LINENO: result: $lt_cv_to_host_file_cmd" >&5
                   4320: echo "${ECHO_T}$lt_cv_to_host_file_cmd" >&6
                   4321: 
                   4322: 
                   4323: 
                   4324: 
                   4325: 
                   4326: echo "$as_me:$LINENO: checking how to convert $build file names to toolchain format" >&5
                   4327: echo $ECHO_N "checking how to convert $build file names to toolchain format... $ECHO_C" >&6
                   4328: if test "${lt_cv_to_tool_file_cmd+set}" = set; then
                   4329:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4330: else
                   4331:   #assume ordinary cross tools, or native build.
                   4332: lt_cv_to_tool_file_cmd=func_convert_file_noop
                   4333: case $host in
                   4334:   *-*-mingw* )
                   4335:     case $build in
                   4336:       *-*-mingw* ) # actually msys
                   4337:         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
                   4338:         ;;
                   4339:     esac
                   4340:     ;;
                   4341: esac
                   4342: 
                   4343: fi
                   4344: 
                   4345: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   4346: echo "$as_me:$LINENO: result: $lt_cv_to_tool_file_cmd" >&5
                   4347: echo "${ECHO_T}$lt_cv_to_tool_file_cmd" >&6
                   4348: 
                   4349: 
                   4350: 
                   4351: 
                   4352: 
                   4353: echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
                   4354: echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
                   4355: if test "${lt_cv_ld_reload_flag+set}" = set; then
                   4356:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4357: else
                   4358:   lt_cv_ld_reload_flag='-r'
                   4359: fi
                   4360: echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
                   4361: echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
                   4362: reload_flag=$lt_cv_ld_reload_flag
                   4363: case $reload_flag in
                   4364: "" | " "*) ;;
                   4365: *) reload_flag=" $reload_flag" ;;
                   4366: esac
                   4367: reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   4368: case $host_os in
                   4369:   cygwin* | mingw* | pw32* | cegcc*)
                   4370:     if test "$GCC" != yes; then
                   4371:       reload_cmds=false
                   4372:     fi
                   4373:     ;;
                   4374:   darwin*)
                   4375:     if test "$GCC" = yes; then
                   4376:       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
                   4377:     else
                   4378:       reload_cmds='$LD$reload_flag -o $output$reload_objs'
                   4379:     fi
                   4380:     ;;
                   4381: esac
                   4382: 
                   4383: 
                   4384: 
                   4385: 
                   4386: 
                   4387: 
                   4388: 
                   4389: 
                   4390: 
                   4391: if test -n "$ac_tool_prefix"; then
                   4392:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   4393: set dummy ${ac_tool_prefix}objdump; ac_word=$2
                   4394: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   4395: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   4396: if test "${ac_cv_prog_OBJDUMP+set}" = set; then
                   4397:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4398: else
                   4399:   if test -n "$OBJDUMP"; then
                   4400:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   4401: else
                   4402: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4403: for as_dir in $PATH
                   4404: do
                   4405:   IFS=$as_save_IFS
                   4406:   test -z "$as_dir" && as_dir=.
                   4407:   for ac_exec_ext in '' $ac_executable_extensions; do
                   4408:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   4409:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
                   4410:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4411:     break 2
                   4412:   fi
                   4413: done
                   4414: done
                   4415: 
                   4416: fi
                   4417: fi
                   4418: OBJDUMP=$ac_cv_prog_OBJDUMP
                   4419: if test -n "$OBJDUMP"; then
                   4420:   echo "$as_me:$LINENO: result: $OBJDUMP" >&5
                   4421: echo "${ECHO_T}$OBJDUMP" >&6
                   4422: else
                   4423:   echo "$as_me:$LINENO: result: no" >&5
                   4424: echo "${ECHO_T}no" >&6
                   4425: fi
                   4426: 
                   4427: fi
                   4428: if test -z "$ac_cv_prog_OBJDUMP"; then
                   4429:   ac_ct_OBJDUMP=$OBJDUMP
                   4430:   # Extract the first word of "objdump", so it can be a program name with args.
                   4431: set dummy objdump; ac_word=$2
                   4432: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   4433: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   4434: if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
                   4435:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4436: else
                   4437:   if test -n "$ac_ct_OBJDUMP"; then
                   4438:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
                   4439: else
                   4440: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4441: for as_dir in $PATH
                   4442: do
                   4443:   IFS=$as_save_IFS
                   4444:   test -z "$as_dir" && as_dir=.
                   4445:   for ac_exec_ext in '' $ac_executable_extensions; do
                   4446:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   4447:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
                   4448:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4449:     break 2
                   4450:   fi
                   4451: done
                   4452: done
                   4453: 
                   4454:   test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
                   4455: fi
                   4456: fi
                   4457: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   4458: if test -n "$ac_ct_OBJDUMP"; then
                   4459:   echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
                   4460: echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
                   4461: else
                   4462:   echo "$as_me:$LINENO: result: no" >&5
                   4463: echo "${ECHO_T}no" >&6
                   4464: fi
                   4465: 
                   4466:   OBJDUMP=$ac_ct_OBJDUMP
                   4467: else
                   4468:   OBJDUMP="$ac_cv_prog_OBJDUMP"
                   4469: fi
                   4470: 
                   4471: test -z "$OBJDUMP" && OBJDUMP=objdump
                   4472: 
                   4473: 
                   4474: 
                   4475: 
                   4476: 
                   4477: 
                   4478: echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
                   4479: echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
                   4480: if test "${lt_cv_deplibs_check_method+set}" = set; then
                   4481:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4482: else
                   4483:   lt_cv_file_magic_cmd='$MAGIC_CMD'
                   4484: lt_cv_file_magic_test_file=
                   4485: lt_cv_deplibs_check_method='unknown'
                   4486: # Need to set the preceding variable on all platforms that support
                   4487: # interlibrary dependencies.
                   4488: # 'none' -- dependencies not supported.
                   4489: # `unknown' -- same as none, but documents that we really don't know.
                   4490: # 'pass_all' -- all dependencies passed with no checks.
                   4491: # 'test_compile' -- check by making test program.
                   4492: # 'file_magic [[regex]]' -- check by looking for files in library path
                   4493: # which responds to the $file_magic_cmd with a given extended regex.
                   4494: # If you have `file' or equivalent on your system and you're not sure
                   4495: # whether `pass_all' will *always* work, you probably want this one.
                   4496: 
                   4497: case $host_os in
                   4498: aix[4-9]*)
                   4499:   lt_cv_deplibs_check_method=pass_all
                   4500:   ;;
                   4501: 
                   4502: beos*)
                   4503:   lt_cv_deplibs_check_method=pass_all
                   4504:   ;;
                   4505: 
                   4506: bsdi[45]*)
                   4507:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
                   4508:   lt_cv_file_magic_cmd='/usr/bin/file -L'
                   4509:   lt_cv_file_magic_test_file=/shlib/libc.so
                   4510:   ;;
                   4511: 
                   4512: cygwin*)
                   4513:   # func_win32_libid is a shell function defined in ltmain.sh
                   4514:   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   4515:   lt_cv_file_magic_cmd='func_win32_libid'
                   4516:   ;;
                   4517: 
                   4518: mingw* | pw32*)
                   4519:   # Base MSYS/MinGW do not provide the 'file' command needed by
                   4520:   # func_win32_libid shell function, so use a weaker test based on 'objdump',
                   4521:   # unless we find 'file', for example because we are cross-compiling.
                   4522:   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
                   4523:   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
                   4524:     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
                   4525:     lt_cv_file_magic_cmd='func_win32_libid'
                   4526:   else
                   4527:     # Keep this pattern in sync with the one in func_win32_libid.
                   4528:     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
                   4529:     lt_cv_file_magic_cmd='$OBJDUMP -f'
                   4530:   fi
                   4531:   ;;
                   4532: 
                   4533: cegcc*)
                   4534:   # use the weaker test based on 'objdump'. See mingw*.
                   4535:   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
                   4536:   lt_cv_file_magic_cmd='$OBJDUMP -f'
                   4537:   ;;
                   4538: 
                   4539: darwin* | rhapsody*)
                   4540:   lt_cv_deplibs_check_method=pass_all
                   4541:   ;;
                   4542: 
                   4543: freebsd* | dragonfly*)
                   4544:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
1.11      paf      4545:     case $host_cpu in
                   4546:     i*86 )
                   4547:       # Not sure whether the presence of OpenBSD here was a mistake.
                   4548:       # Let's accept both of them until this is cleared up.
1.25      moko     4549:       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
1.11      paf      4550:       lt_cv_file_magic_cmd=/usr/bin/file
                   4551:       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
1.1       parser   4552:       ;;
                   4553:     esac
1.11      paf      4554:   else
                   4555:     lt_cv_deplibs_check_method=pass_all
1.1       parser   4556:   fi
                   4557:   ;;
                   4558: 
1.11      paf      4559: gnu*)
                   4560:   lt_cv_deplibs_check_method=pass_all
                   4561:   ;;
1.1       parser   4562: 
1.25      moko     4563: haiku*)
                   4564:   lt_cv_deplibs_check_method=pass_all
1.11      paf      4565:   ;;
1.1       parser   4566: 
1.25      moko     4567: hpux10.20* | hpux11*)
                   4568:   lt_cv_file_magic_cmd=/usr/bin/file
                   4569:   case $host_cpu in
                   4570:   ia64*)
                   4571:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
                   4572:     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
                   4573:     ;;
                   4574:   hppa*64*)
                   4575:     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]'
                   4576:     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
1.11      paf      4577:     ;;
                   4578:   *)
1.25      moko     4579:     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
                   4580:     lt_cv_file_magic_test_file=/usr/lib/libc.sl
1.11      paf      4581:     ;;
                   4582:   esac
1.25      moko     4583:   ;;
                   4584: 
                   4585: interix[3-9]*)
                   4586:   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
                   4587:   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
                   4588:   ;;
                   4589: 
                   4590: irix5* | irix6* | nonstopux*)
                   4591:   case $LD in
                   4592:   *-32|*"-32 ") libmagic=32-bit;;
                   4593:   *-n32|*"-n32 ") libmagic=N32;;
                   4594:   *-64|*"-64 ") libmagic=64-bit;;
                   4595:   *) libmagic=never-match;;
                   4596:   esac
1.11      paf      4597:   lt_cv_deplibs_check_method=pass_all
                   4598:   ;;
                   4599: 
1.25      moko     4600: # This must be glibc/ELF.
                   4601: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   4602:   lt_cv_deplibs_check_method=pass_all
1.11      paf      4603:   ;;
                   4604: 
                   4605: netbsd*)
1.25      moko     4606:   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
                   4607:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
1.11      paf      4608:   else
1.25      moko     4609:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
1.11      paf      4610:   fi
                   4611:   ;;
                   4612: 
                   4613: newos6*)
                   4614:   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
                   4615:   lt_cv_file_magic_cmd=/usr/bin/file
                   4616:   lt_cv_file_magic_test_file=/usr/lib/libnls.so
                   4617:   ;;
                   4618: 
1.25      moko     4619: *nto* | *qnx*)
                   4620:   lt_cv_deplibs_check_method=pass_all
                   4621:   ;;
                   4622: 
1.11      paf      4623: openbsd*)
1.25      moko     4624:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   4625:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
1.11      paf      4626:   else
1.25      moko     4627:     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
1.11      paf      4628:   fi
                   4629:   ;;
                   4630: 
                   4631: osf3* | osf4* | osf5*)
                   4632:   lt_cv_deplibs_check_method=pass_all
                   4633:   ;;
                   4634: 
1.25      moko     4635: rdos*)
1.11      paf      4636:   lt_cv_deplibs_check_method=pass_all
                   4637:   ;;
                   4638: 
                   4639: solaris*)
                   4640:   lt_cv_deplibs_check_method=pass_all
                   4641:   ;;
                   4642: 
1.25      moko     4643: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
1.11      paf      4644:   lt_cv_deplibs_check_method=pass_all
                   4645:   ;;
                   4646: 
1.25      moko     4647: sysv4 | sysv4.3*)
1.11      paf      4648:   case $host_vendor in
                   4649:   motorola)
                   4650:     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]'
                   4651:     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
                   4652:     ;;
                   4653:   ncr)
                   4654:     lt_cv_deplibs_check_method=pass_all
                   4655:     ;;
                   4656:   sequent)
                   4657:     lt_cv_file_magic_cmd='/bin/file'
                   4658:     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
                   4659:     ;;
                   4660:   sni)
                   4661:     lt_cv_file_magic_cmd='/bin/file'
                   4662:     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
                   4663:     lt_cv_file_magic_test_file=/lib/libc.so
                   4664:     ;;
                   4665:   siemens)
                   4666:     lt_cv_deplibs_check_method=pass_all
                   4667:     ;;
1.25      moko     4668:   pc)
                   4669:     lt_cv_deplibs_check_method=pass_all
                   4670:     ;;
1.11      paf      4671:   esac
                   4672:   ;;
1.25      moko     4673: 
                   4674: tpf*)
                   4675:   lt_cv_deplibs_check_method=pass_all
                   4676:   ;;
                   4677: esac
1.11      paf      4678: 
                   4679: fi
                   4680: echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
                   4681: echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
1.25      moko     4682: 
                   4683: file_magic_glob=
                   4684: want_nocaseglob=no
                   4685: if test "$build" = "$host"; then
                   4686:   case $host_os in
                   4687:   mingw* | pw32*)
                   4688:     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
                   4689:       want_nocaseglob=yes
                   4690:     else
                   4691:       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
                   4692:     fi
                   4693:     ;;
                   4694:   esac
                   4695: fi
                   4696: 
1.11      paf      4697: file_magic_cmd=$lt_cv_file_magic_cmd
                   4698: deplibs_check_method=$lt_cv_deplibs_check_method
1.25      moko     4699: test -z "$deplibs_check_method" && deplibs_check_method=unknown
                   4700: 
                   4701: 
                   4702: 
1.11      paf      4703: 
                   4704: 
                   4705: 
                   4706: 
                   4707: 
                   4708: 
                   4709: 
                   4710: 
1.25      moko     4711: 
                   4712: 
                   4713: 
                   4714: 
                   4715: 
                   4716: 
                   4717: 
                   4718: 
                   4719: 
                   4720: 
                   4721: 
                   4722: if test -n "$ac_tool_prefix"; then
                   4723:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   4724: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
                   4725: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   4726: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   4727: if test "${ac_cv_prog_DLLTOOL+set}" = set; then
                   4728:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4729: else
                   4730:   if test -n "$DLLTOOL"; then
                   4731:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
                   4732: else
                   4733: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4734: for as_dir in $PATH
                   4735: do
                   4736:   IFS=$as_save_IFS
                   4737:   test -z "$as_dir" && as_dir=.
                   4738:   for ac_exec_ext in '' $ac_executable_extensions; do
                   4739:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   4740:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
                   4741:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4742:     break 2
                   4743:   fi
                   4744: done
                   4745: done
                   4746: 
                   4747: fi
                   4748: fi
                   4749: DLLTOOL=$ac_cv_prog_DLLTOOL
                   4750: if test -n "$DLLTOOL"; then
                   4751:   echo "$as_me:$LINENO: result: $DLLTOOL" >&5
                   4752: echo "${ECHO_T}$DLLTOOL" >&6
                   4753: else
                   4754:   echo "$as_me:$LINENO: result: no" >&5
                   4755: echo "${ECHO_T}no" >&6
                   4756: fi
                   4757: 
                   4758: fi
                   4759: if test -z "$ac_cv_prog_DLLTOOL"; then
                   4760:   ac_ct_DLLTOOL=$DLLTOOL
                   4761:   # Extract the first word of "dlltool", so it can be a program name with args.
                   4762: set dummy dlltool; ac_word=$2
                   4763: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   4764: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   4765: if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
1.11      paf      4766:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4767: else
1.25      moko     4768:   if test -n "$ac_ct_DLLTOOL"; then
                   4769:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
                   4770: else
                   4771: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4772: for as_dir in $PATH
                   4773: do
                   4774:   IFS=$as_save_IFS
                   4775:   test -z "$as_dir" && as_dir=.
                   4776:   for ac_exec_ext in '' $ac_executable_extensions; do
                   4777:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   4778:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
                   4779:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4780:     break 2
                   4781:   fi
                   4782: done
                   4783: done
                   4784: 
                   4785:   test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
                   4786: fi
                   4787: fi
                   4788: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   4789: if test -n "$ac_ct_DLLTOOL"; then
                   4790:   echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
                   4791: echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
                   4792: else
                   4793:   echo "$as_me:$LINENO: result: no" >&5
                   4794: echo "${ECHO_T}no" >&6
                   4795: fi
                   4796: 
                   4797:   DLLTOOL=$ac_ct_DLLTOOL
                   4798: else
                   4799:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   4800: fi
                   4801: 
                   4802: test -z "$DLLTOOL" && DLLTOOL=dlltool
                   4803: 
1.11      paf      4804: 
                   4805: 
                   4806: 
                   4807: 
                   4808: 
                   4809: 
1.25      moko     4810: echo "$as_me:$LINENO: checking how to associate runtime and link libraries" >&5
                   4811: echo $ECHO_N "checking how to associate runtime and link libraries... $ECHO_C" >&6
                   4812: if test "${lt_cv_sharedlib_from_linklib_cmd+set}" = set; then
                   4813:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4814: else
                   4815:   lt_cv_sharedlib_from_linklib_cmd='unknown'
1.11      paf      4816: 
                   4817: case $host_os in
1.25      moko     4818: cygwin* | mingw* | pw32* | cegcc*)
                   4819:   # two different shell functions defined in ltmain.sh
                   4820:   # decide which to use based on capabilities of $DLLTOOL
                   4821:   case `$DLLTOOL --help 2>&1` in
                   4822:   *--identify-strict*)
                   4823:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
                   4824:     ;;
                   4825:   *)
                   4826:     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
                   4827:     ;;
                   4828:   esac
1.11      paf      4829:   ;;
1.25      moko     4830: *)
                   4831:   # fallback: assume linklib IS sharedlib
                   4832:   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
1.11      paf      4833:   ;;
                   4834: esac
                   4835: 
                   4836: fi
1.25      moko     4837: echo "$as_me:$LINENO: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
                   4838: echo "${ECHO_T}$lt_cv_sharedlib_from_linklib_cmd" >&6
                   4839: sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
                   4840: test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
1.11      paf      4841: 
                   4842: 
                   4843: 
                   4844: 
                   4845: 
                   4846: 
                   4847: 
                   4848: 
1.25      moko     4849: if test -n "$ac_tool_prefix"; then
                   4850:   for ac_prog in ar
                   4851:   do
                   4852:     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
                   4853: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
                   4854: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   4855: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   4856: if test "${ac_cv_prog_AR+set}" = set; then
                   4857:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4858: else
                   4859:   if test -n "$AR"; then
                   4860:   ac_cv_prog_AR="$AR" # Let the user override the test.
                   4861: else
                   4862: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4863: for as_dir in $PATH
                   4864: do
                   4865:   IFS=$as_save_IFS
                   4866:   test -z "$as_dir" && as_dir=.
                   4867:   for ac_exec_ext in '' $ac_executable_extensions; do
                   4868:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   4869:     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
                   4870:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4871:     break 2
1.11      paf      4872:   fi
                   4873: done
1.25      moko     4874: done
1.11      paf      4875: 
                   4876: fi
                   4877: fi
1.25      moko     4878: AR=$ac_cv_prog_AR
                   4879: if test -n "$AR"; then
                   4880:   echo "$as_me:$LINENO: result: $AR" >&5
                   4881: echo "${ECHO_T}$AR" >&6
1.11      paf      4882: else
1.25      moko     4883:   echo "$as_me:$LINENO: result: no" >&5
                   4884: echo "${ECHO_T}no" >&6
1.11      paf      4885: fi
                   4886: 
1.25      moko     4887:     test -n "$AR" && break
                   4888:   done
1.15      paf      4889: fi
1.25      moko     4890: if test -z "$AR"; then
                   4891:   ac_ct_AR=$AR
                   4892:   for ac_prog in ar
                   4893: do
                   4894:   # Extract the first word of "$ac_prog", so it can be a program name with args.
                   4895: set dummy $ac_prog; ac_word=$2
                   4896: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   4897: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   4898: if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
1.11      paf      4899:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4900: else
1.25      moko     4901:   if test -n "$ac_ct_AR"; then
                   4902:   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
                   4903: else
                   4904: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   4905: for as_dir in $PATH
1.11      paf      4906: do
1.25      moko     4907:   IFS=$as_save_IFS
                   4908:   test -z "$as_dir" && as_dir=.
                   4909:   for ac_exec_ext in '' $ac_executable_extensions; do
                   4910:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   4911:     ac_cv_prog_ac_ct_AR="$ac_prog"
                   4912:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   4913:     break 2
1.11      paf      4914:   fi
1.25      moko     4915: done
                   4916: done
1.11      paf      4917: 
                   4918: fi
                   4919: fi
1.25      moko     4920: ac_ct_AR=$ac_cv_prog_ac_ct_AR
                   4921: if test -n "$ac_ct_AR"; then
                   4922:   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
                   4923: echo "${ECHO_T}$ac_ct_AR" >&6
1.1       parser   4924: else
1.25      moko     4925:   echo "$as_me:$LINENO: result: no" >&5
                   4926: echo "${ECHO_T}no" >&6
1.1       parser   4927: fi
1.11      paf      4928: 
1.25      moko     4929:   test -n "$ac_ct_AR" && break
1.11      paf      4930: done
1.25      moko     4931: test -n "$ac_ct_AR" || ac_ct_AR="false"
                   4932: 
                   4933:   AR=$ac_ct_AR
1.1       parser   4934: fi
                   4935: 
1.25      moko     4936: : ${AR=ar}
                   4937: : ${AR_FLAGS=cru}
                   4938: 
1.11      paf      4939: 
                   4940: 
1.1       parser   4941: 
1.11      paf      4942: 
                   4943: 
                   4944: 
                   4945: 
                   4946: 
                   4947: 
                   4948: 
1.25      moko     4949: echo "$as_me:$LINENO: checking for archiver @FILE support" >&5
                   4950: echo $ECHO_N "checking for archiver @FILE support... $ECHO_C" >&6
                   4951: if test "${lt_cv_ar_at_file+set}" = set; then
1.11      paf      4952:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   4953: else
1.25      moko     4954:   lt_cv_ar_at_file=no
                   4955:    cat >conftest.$ac_ext <<_ACEOF
1.11      paf      4956: /* confdefs.h.  */
                   4957: _ACEOF
                   4958: cat confdefs.h >>conftest.$ac_ext
                   4959: cat >>conftest.$ac_ext <<_ACEOF
                   4960: /* end confdefs.h.  */
                   4961: 
                   4962: int
                   4963: main ()
                   4964: {
                   4965: 
                   4966:   ;
                   4967:   return 0;
                   4968: }
                   4969: _ACEOF
                   4970: rm -f conftest.$ac_objext
                   4971: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1.18      paf      4972:   (eval $ac_compile) 2>conftest.er1
1.11      paf      4973:   ac_status=$?
1.18      paf      4974:   grep -v '^ *+' conftest.er1 >conftest.err
                   4975:   rm -f conftest.er1
                   4976:   cat conftest.err >&5
1.11      paf      4977:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4978:   (exit $ac_status); } &&
1.18      paf      4979:         { ac_try='test -z "$ac_c_werror_flag"
                   4980:                         || test ! -s conftest.err'
                   4981:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4982:   (eval $ac_try) 2>&5
                   4983:   ac_status=$?
                   4984:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4985:   (exit $ac_status); }; } &&
                   4986:         { ac_try='test -s conftest.$ac_objext'
1.11      paf      4987:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   4988:   (eval $ac_try) 2>&5
                   4989:   ac_status=$?
                   4990:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4991:   (exit $ac_status); }; }; then
1.25      moko     4992:   echo conftest.$ac_objext > conftest.lst
                   4993:       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
                   4994:       { (eval echo "$as_me:$LINENO: \"$lt_ar_try\"") >&5
                   4995:   (eval $lt_ar_try) 2>&5
                   4996:   ac_status=$?
                   4997:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   4998:   (exit $ac_status); }
                   4999:       if test "$ac_status" -eq 0; then
                   5000:        # Ensure the archiver fails upon bogus file names.
                   5001:        rm -f conftest.$ac_objext libconftest.a
                   5002:        { (eval echo "$as_me:$LINENO: \"$lt_ar_try\"") >&5
                   5003:   (eval $lt_ar_try) 2>&5
                   5004:   ac_status=$?
                   5005:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5006:   (exit $ac_status); }
                   5007:        if test "$ac_status" -ne 0; then
                   5008:           lt_cv_ar_at_file=@
                   5009:         fi
                   5010:       fi
                   5011:       rm -f conftest.* libconftest.a
                   5012: 
1.11      paf      5013: else
                   5014:   echo "$as_me: failed program was:" >&5
                   5015: sed 's/^/| /' conftest.$ac_ext >&5
                   5016: 
                   5017: fi
1.18      paf      5018: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.11      paf      5019: 
1.25      moko     5020: fi
                   5021: echo "$as_me:$LINENO: result: $lt_cv_ar_at_file" >&5
                   5022: echo "${ECHO_T}$lt_cv_ar_at_file" >&6
1.11      paf      5023: 
1.25      moko     5024: if test "x$lt_cv_ar_at_file" = xno; then
                   5025:   archiver_list_spec=
1.11      paf      5026: else
1.25      moko     5027:   archiver_list_spec=$lt_cv_ar_at_file
1.11      paf      5028: fi
                   5029: 
                   5030: 
                   5031: 
1.25      moko     5032: 
                   5033: 
                   5034: 
                   5035: 
                   5036: if test -n "$ac_tool_prefix"; then
                   5037:   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
                   5038: set dummy ${ac_tool_prefix}strip; ac_word=$2
                   5039: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5040: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5041: if test "${ac_cv_prog_STRIP+set}" = set; then
                   5042:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5043: else
                   5044:   if test -n "$STRIP"; then
                   5045:   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
                   5046: else
                   5047: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5048: for as_dir in $PATH
                   5049: do
                   5050:   IFS=$as_save_IFS
                   5051:   test -z "$as_dir" && as_dir=.
                   5052:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5053:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5054:     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
                   5055:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5056:     break 2
                   5057:   fi
                   5058: done
                   5059: done
                   5060: 
                   5061: fi
                   5062: fi
                   5063: STRIP=$ac_cv_prog_STRIP
                   5064: if test -n "$STRIP"; then
                   5065:   echo "$as_me:$LINENO: result: $STRIP" >&5
                   5066: echo "${ECHO_T}$STRIP" >&6
1.7       paf      5067: else
1.25      moko     5068:   echo "$as_me:$LINENO: result: no" >&5
                   5069: echo "${ECHO_T}no" >&6
1.11      paf      5070: fi
                   5071: 
1.7       paf      5072: fi
1.25      moko     5073: if test -z "$ac_cv_prog_STRIP"; then
                   5074:   ac_ct_STRIP=$STRIP
                   5075:   # Extract the first word of "strip", so it can be a program name with args.
                   5076: set dummy strip; ac_word=$2
                   5077: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5078: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5079: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
                   5080:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.11      paf      5081: else
1.25      moko     5082:   if test -n "$ac_ct_STRIP"; then
                   5083:   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1.7       paf      5084: else
1.25      moko     5085: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5086: for as_dir in $PATH
                   5087: do
                   5088:   IFS=$as_save_IFS
                   5089:   test -z "$as_dir" && as_dir=.
                   5090:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5091:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5092:     ac_cv_prog_ac_ct_STRIP="strip"
                   5093:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5094:     break 2
                   5095:   fi
                   5096: done
                   5097: done
1.11      paf      5098: 
1.25      moko     5099:   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1.11      paf      5100: fi
                   5101: fi
1.25      moko     5102: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
                   5103: if test -n "$ac_ct_STRIP"; then
                   5104:   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
                   5105: echo "${ECHO_T}$ac_ct_STRIP" >&6
                   5106: else
                   5107:   echo "$as_me:$LINENO: result: no" >&5
                   5108: echo "${ECHO_T}no" >&6
1.11      paf      5109: fi
                   5110: 
1.25      moko     5111:   STRIP=$ac_ct_STRIP
                   5112: else
                   5113:   STRIP="$ac_cv_prog_STRIP"
1.11      paf      5114: fi
                   5115: 
1.25      moko     5116: test -z "$STRIP" && STRIP=:
1.11      paf      5117: 
                   5118: 
                   5119: 
                   5120: 
                   5121: 
                   5122: 
1.25      moko     5123: if test -n "$ac_tool_prefix"; then
                   5124:   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
                   5125: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
                   5126: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5127: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5128: if test "${ac_cv_prog_RANLIB+set}" = set; then
1.11      paf      5129:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5130: else
1.25      moko     5131:   if test -n "$RANLIB"; then
                   5132:   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1.11      paf      5133: else
1.25      moko     5134: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5135: for as_dir in $PATH
                   5136: do
                   5137:   IFS=$as_save_IFS
                   5138:   test -z "$as_dir" && as_dir=.
                   5139:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5140:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5141:     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
                   5142:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5143:     break 2
                   5144:   fi
                   5145: done
                   5146: done
1.11      paf      5147: 
                   5148: fi
                   5149: fi
1.25      moko     5150: RANLIB=$ac_cv_prog_RANLIB
                   5151: if test -n "$RANLIB"; then
                   5152:   echo "$as_me:$LINENO: result: $RANLIB" >&5
                   5153: echo "${ECHO_T}$RANLIB" >&6
                   5154: else
                   5155:   echo "$as_me:$LINENO: result: no" >&5
                   5156: echo "${ECHO_T}no" >&6
                   5157: fi
1.11      paf      5158: 
                   5159: fi
1.25      moko     5160: if test -z "$ac_cv_prog_RANLIB"; then
                   5161:   ac_ct_RANLIB=$RANLIB
                   5162:   # Extract the first word of "ranlib", so it can be a program name with args.
                   5163: set dummy ranlib; ac_word=$2
                   5164: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5165: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5166: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
                   5167:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5168: else
                   5169:   if test -n "$ac_ct_RANLIB"; then
                   5170:   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
                   5171: else
                   5172: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5173: for as_dir in $PATH
                   5174: do
                   5175:   IFS=$as_save_IFS
                   5176:   test -z "$as_dir" && as_dir=.
                   5177:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5178:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5179:     ac_cv_prog_ac_ct_RANLIB="ranlib"
                   5180:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5181:     break 2
                   5182:   fi
                   5183: done
1.11      paf      5184: done
                   5185: 
1.25      moko     5186:   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
                   5187: fi
                   5188: fi
                   5189: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
                   5190: if test -n "$ac_ct_RANLIB"; then
                   5191:   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
                   5192: echo "${ECHO_T}$ac_ct_RANLIB" >&6
1.11      paf      5193: else
1.25      moko     5194:   echo "$as_me:$LINENO: result: no" >&5
                   5195: echo "${ECHO_T}no" >&6
1.11      paf      5196: fi
                   5197: 
1.25      moko     5198:   RANLIB=$ac_ct_RANLIB
1.7       paf      5199: else
1.25      moko     5200:   RANLIB="$ac_cv_prog_RANLIB"
1.7       paf      5201: fi
1.11      paf      5202: 
1.25      moko     5203: test -z "$RANLIB" && RANLIB=:
                   5204: 
                   5205: 
                   5206: 
                   5207: 
                   5208: 
                   5209: 
                   5210: # Determine commands to create old-style static archives.
                   5211: old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
                   5212: old_postinstall_cmds='chmod 644 $oldlib'
                   5213: old_postuninstall_cmds=
1.11      paf      5214: 
1.25      moko     5215: if test -n "$RANLIB"; then
                   5216:   case $host_os in
                   5217:   openbsd*)
                   5218:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
1.11      paf      5219:     ;;
1.25      moko     5220:   *)
                   5221:     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
1.11      paf      5222:     ;;
1.25      moko     5223:   esac
                   5224:   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
1.11      paf      5225: fi
                   5226: 
1.25      moko     5227: case $host_os in
                   5228:   darwin*)
                   5229:     lock_old_archive_extraction=yes ;;
                   5230:   *)
                   5231:     lock_old_archive_extraction=no ;;
                   5232: esac
1.11      paf      5233: 
                   5234: 
                   5235: 
                   5236: 
                   5237: 
                   5238: 
                   5239: 
                   5240: 
                   5241: 
                   5242: 
                   5243: 
                   5244: 
                   5245: 
                   5246: 
                   5247: 
                   5248: 
                   5249: 
                   5250: 
                   5251: 
                   5252: 
                   5253: 
                   5254: 
                   5255: 
                   5256: 
                   5257: 
                   5258: 
                   5259: 
                   5260: 
                   5261: 
                   5262: 
                   5263: 
                   5264: 
                   5265: 
                   5266: 
                   5267: 
                   5268: 
                   5269: 
                   5270: 
                   5271: 
1.25      moko     5272: # If no C compiler was specified, use CC.
                   5273: LTCC=${LTCC-"$CC"}
1.11      paf      5274: 
1.25      moko     5275: # If no C compiler flags were specified, use CFLAGS.
                   5276: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
1.11      paf      5277: 
1.25      moko     5278: # Allow CC to be a program name with arguments.
                   5279: compiler=$CC
1.11      paf      5280: 
                   5281: 
1.25      moko     5282: # Check for command to grab the raw symbol name followed by C symbol from nm.
                   5283: echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
                   5284: echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
                   5285: if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
                   5286:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5287: else
                   5288: 
                   5289: # These are sane defaults that work on at least a few old systems.
                   5290: # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
1.11      paf      5291: 
1.25      moko     5292: # Character class describing NM global symbol codes.
                   5293: symcode='[BCDEGRST]'
1.11      paf      5294: 
1.25      moko     5295: # Regexp to match symbols that can be accessed directly from C.
                   5296: sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
1.11      paf      5297: 
1.25      moko     5298: # Define system-specific variables.
                   5299: case $host_os in
                   5300: aix*)
                   5301:   symcode='[BCDT]'
                   5302:   ;;
                   5303: cygwin* | mingw* | pw32* | cegcc*)
                   5304:   symcode='[ABCDGISTW]'
                   5305:   ;;
                   5306: hpux*)
                   5307:   if test "$host_cpu" = ia64; then
                   5308:     symcode='[ABCDEGRST]'
                   5309:   fi
                   5310:   ;;
                   5311: irix* | nonstopux*)
                   5312:   symcode='[BCDEGRST]'
                   5313:   ;;
                   5314: osf*)
                   5315:   symcode='[BCDEGQRST]'
                   5316:   ;;
                   5317: solaris*)
                   5318:   symcode='[BDRT]'
                   5319:   ;;
                   5320: sco3.2v5*)
                   5321:   symcode='[DT]'
                   5322:   ;;
                   5323: sysv4.2uw2*)
                   5324:   symcode='[DT]'
                   5325:   ;;
                   5326: sysv5* | sco5v6* | unixware* | OpenUNIX*)
                   5327:   symcode='[ABDT]'
                   5328:   ;;
                   5329: sysv4)
                   5330:   symcode='[DFNSTU]'
                   5331:   ;;
                   5332: esac
1.11      paf      5333: 
1.25      moko     5334: # If we're using GNU nm, then use its standard symbol codes.
                   5335: case `$NM -V 2>&1` in
                   5336: *GNU* | *'with BFD'*)
                   5337:   symcode='[ABCDGIRSTW]' ;;
                   5338: esac
1.11      paf      5339: 
1.25      moko     5340: # Transform an extracted symbol line into a proper C declaration.
                   5341: # Some systems (esp. on ia64) link data and code symbols differently,
                   5342: # so use this general approach.
                   5343: lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
1.11      paf      5344: 
1.25      moko     5345: # Transform an extracted symbol line into symbol name and symbol address
                   5346: lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
                   5347: 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.11      paf      5348: 
1.25      moko     5349: # Handle CRLF in mingw tool chain
                   5350: opt_cr=
                   5351: case $build_os in
                   5352: mingw*)
                   5353:   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
                   5354:   ;;
                   5355: esac
1.11      paf      5356: 
1.25      moko     5357: # Try without a prefix underscore, then with it.
                   5358: for ac_symprfx in "" "_"; do
1.11      paf      5359: 
1.25      moko     5360:   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
                   5361:   symxfrm="\\1 $ac_symprfx\\2 \\2"
1.11      paf      5362: 
1.25      moko     5363:   # Write the raw and C identifiers.
                   5364:   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   5365:     # Fake it for dumpbin and say T for any non-static function
                   5366:     # and D for any global variable.
                   5367:     # Also find C++ and __fastcall symbols from MSVC++,
                   5368:     # which start with @ or ?.
                   5369:     lt_cv_sys_global_symbol_pipe="$AWK '"\
                   5370: "     {last_section=section; section=\$ 3};"\
                   5371: "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
                   5372: "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
                   5373: "     \$ 0!~/External *\|/{next};"\
                   5374: "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
                   5375: "     {if(hide[section]) next};"\
                   5376: "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
                   5377: "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
                   5378: "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
                   5379: "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
                   5380: "     ' prfx=^$ac_symprfx"
                   5381:   else
                   5382:     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[     ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
1.11      paf      5383:   fi
1.25      moko     5384:   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
1.11      paf      5385: 
1.25      moko     5386:   # Check to see that the pipe works correctly.
                   5387:   pipe_works=no
1.11      paf      5388: 
1.25      moko     5389:   rm -f conftest*
                   5390:   cat > conftest.$ac_ext <<_LT_EOF
                   5391: #ifdef __cplusplus
                   5392: extern "C" {
                   5393: #endif
                   5394: char nm_test_var;
                   5395: void nm_test_func(void);
                   5396: void nm_test_func(void){}
                   5397: #ifdef __cplusplus
                   5398: }
                   5399: #endif
                   5400: int main(){nm_test_var='a';nm_test_func();return(0);}
                   5401: _LT_EOF
1.11      paf      5402: 
1.25      moko     5403:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5404:   (eval $ac_compile) 2>&5
                   5405:   ac_status=$?
                   5406:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5407:   (exit $ac_status); }; then
                   5408:     # Now try to grab the symbols.
                   5409:     nlist=conftest.nm
                   5410:     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\"") >&5
                   5411:   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
                   5412:   ac_status=$?
                   5413:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5414:   (exit $ac_status); } && test -s "$nlist"; then
                   5415:       # Try sorting and uniquifying the output.
                   5416:       if sort "$nlist" | uniq > "$nlist"T; then
                   5417:        mv -f "$nlist"T "$nlist"
                   5418:       else
                   5419:        rm -f "$nlist"T
                   5420:       fi
1.11      paf      5421: 
1.25      moko     5422:       # Make sure that we snagged all the symbols we need.
                   5423:       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
                   5424:        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
                   5425:          cat <<_LT_EOF > conftest.$ac_ext
                   5426: /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
                   5427: #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
                   5428: /* DATA imports from DLLs on WIN32 con't be const, because runtime
                   5429:    relocations are performed -- see ld's documentation on pseudo-relocs.  */
                   5430: # define LT_DLSYM_CONST
                   5431: #elif defined(__osf__)
                   5432: /* This system does not cope well with relocations in const data.  */
                   5433: # define LT_DLSYM_CONST
                   5434: #else
                   5435: # define LT_DLSYM_CONST const
                   5436: #endif
1.11      paf      5437: 
1.25      moko     5438: #ifdef __cplusplus
                   5439: extern "C" {
                   5440: #endif
1.11      paf      5441: 
1.25      moko     5442: _LT_EOF
                   5443:          # Now generate the symbol file.
                   5444:          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
1.11      paf      5445: 
1.25      moko     5446:          cat <<_LT_EOF >> conftest.$ac_ext
1.11      paf      5447: 
1.25      moko     5448: /* The mapping between symbol names and symbols.  */
                   5449: LT_DLSYM_CONST struct {
                   5450:   const char *name;
                   5451:   void       *address;
                   5452: }
                   5453: lt__PROGRAM__LTX_preloaded_symbols[] =
                   5454: {
                   5455:   { "@PROGRAM@", (void *) 0 },
                   5456: _LT_EOF
                   5457:          $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
                   5458:          cat <<\_LT_EOF >> conftest.$ac_ext
                   5459:   {0, (void *) 0}
                   5460: };
1.11      paf      5461: 
1.25      moko     5462: /* This works around a problem in FreeBSD linker */
                   5463: #ifdef FREEBSD_WORKAROUND
                   5464: static const void *lt_preloaded_setup() {
                   5465:   return lt__PROGRAM__LTX_preloaded_symbols;
                   5466: }
                   5467: #endif
1.11      paf      5468: 
1.25      moko     5469: #ifdef __cplusplus
                   5470: }
                   5471: #endif
                   5472: _LT_EOF
                   5473:          # Now try linking the two files.
                   5474:          mv conftest.$ac_objext conftstm.$ac_objext
                   5475:          lt_globsym_save_LIBS=$LIBS
                   5476:          lt_globsym_save_CFLAGS=$CFLAGS
                   5477:          LIBS="conftstm.$ac_objext"
                   5478:          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
                   5479:          if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   5480:   (eval $ac_link) 2>&5
                   5481:   ac_status=$?
                   5482:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5483:   (exit $ac_status); } && test -s conftest${ac_exeext}; then
                   5484:            pipe_works=yes
                   5485:          fi
                   5486:          LIBS=$lt_globsym_save_LIBS
                   5487:          CFLAGS=$lt_globsym_save_CFLAGS
                   5488:        else
                   5489:          echo "cannot find nm_test_func in $nlist" >&5
                   5490:        fi
                   5491:       else
                   5492:        echo "cannot find nm_test_var in $nlist" >&5
1.11      paf      5493:       fi
1.25      moko     5494:     else
                   5495:       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   5496:     fi
                   5497:   else
                   5498:     echo "$progname: failed program was:" >&5
                   5499:     cat conftest.$ac_ext >&5
                   5500:   fi
                   5501:   rm -rf conftest* conftst*
                   5502: 
                   5503:   # Do not use the global_symbol_pipe unless it works.
                   5504:   if test "$pipe_works" = yes; then
                   5505:     break
1.11      paf      5506:   else
1.25      moko     5507:     lt_cv_sys_global_symbol_pipe=
                   5508:   fi
                   5509: done
                   5510: 
                   5511: fi
1.11      paf      5512: 
1.25      moko     5513: if test -z "$lt_cv_sys_global_symbol_pipe"; then
                   5514:   lt_cv_sys_global_symbol_to_cdecl=
                   5515: fi
                   5516: if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
                   5517:   echo "$as_me:$LINENO: result: failed" >&5
                   5518: echo "${ECHO_T}failed" >&6
                   5519: else
                   5520:   echo "$as_me:$LINENO: result: ok" >&5
                   5521: echo "${ECHO_T}ok" >&6
                   5522: fi
1.11      paf      5523: 
1.25      moko     5524: # Response file support.
                   5525: if test "$lt_cv_nm_interface" = "MS dumpbin"; then
                   5526:   nm_file_list_spec='@'
                   5527: elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
                   5528:   nm_file_list_spec='@'
                   5529: fi
1.11      paf      5530: 
                   5531: 
                   5532: 
                   5533: 
                   5534: 
                   5535: 
                   5536: 
                   5537: 
                   5538: 
                   5539: 
                   5540: 
                   5541: 
1.25      moko     5542: 
                   5543: 
                   5544: 
                   5545: 
                   5546: 
                   5547: 
                   5548: 
                   5549: 
                   5550: 
                   5551: 
                   5552: 
                   5553: 
                   5554: 
                   5555: 
                   5556: 
                   5557: echo "$as_me:$LINENO: checking for sysroot" >&5
                   5558: echo $ECHO_N "checking for sysroot... $ECHO_C" >&6
                   5559: 
                   5560: # Check whether --with-sysroot or --without-sysroot was given.
                   5561: if test "${with_sysroot+set}" = set; then
                   5562:   withval="$with_sysroot"
                   5563: 
1.11      paf      5564: else
1.25      moko     5565:   with_sysroot=no
                   5566: fi;
                   5567: 
                   5568: lt_sysroot=
                   5569: case ${with_sysroot} in #(
                   5570:  yes)
                   5571:    if test "$GCC" = yes; then
                   5572:      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
                   5573:    fi
                   5574:    ;; #(
                   5575:  /*)
                   5576:    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
                   5577:    ;; #(
                   5578:  no|'')
                   5579:    ;; #(
                   5580:  *)
                   5581:    echo "$as_me:$LINENO: result: ${with_sysroot}" >&5
                   5582: echo "${ECHO_T}${with_sysroot}" >&6
                   5583:    { { echo "$as_me:$LINENO: error: The sysroot must be an absolute path." >&5
                   5584: echo "$as_me: error: The sysroot must be an absolute path." >&2;}
                   5585:    { (exit 1); exit 1; }; }
                   5586:    ;;
                   5587: esac
                   5588: 
                   5589:  echo "$as_me:$LINENO: result: ${lt_sysroot:-no}" >&5
                   5590: echo "${ECHO_T}${lt_sysroot:-no}" >&6
                   5591: 
                   5592: 
1.11      paf      5593: 
                   5594: 
                   5595: 
1.25      moko     5596: # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
                   5597: if test "${enable_libtool_lock+set}" = set; then
                   5598:   enableval="$enable_libtool_lock"
                   5599: 
                   5600: fi;
                   5601: test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
                   5602: 
                   5603: # Some flags need to be propagated to the compiler or linker for good
                   5604: # libtool support.
                   5605: case $host in
                   5606: ia64-*-hpux*)
                   5607:   # Find out which ABI we are using.
                   5608:   echo 'int i;' > conftest.$ac_ext
                   5609:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5610:   (eval $ac_compile) 2>&5
1.11      paf      5611:   ac_status=$?
                   5612:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.25      moko     5613:   (exit $ac_status); }; then
                   5614:     case `/usr/bin/file conftest.$ac_objext` in
                   5615:       *ELF-32*)
                   5616:        HPUX_IA64_MODE="32"
                   5617:        ;;
                   5618:       *ELF-64*)
                   5619:        HPUX_IA64_MODE="64"
                   5620:        ;;
                   5621:     esac
                   5622:   fi
                   5623:   rm -rf conftest*
                   5624:   ;;
                   5625: *-*-irix6*)
                   5626:   # Find out which ABI we are using.
                   5627:   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
                   5628:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5629:   (eval $ac_compile) 2>&5
1.18      paf      5630:   ac_status=$?
                   5631:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.25      moko     5632:   (exit $ac_status); }; then
                   5633:     if test "$lt_cv_prog_gnu_ld" = yes; then
                   5634:       case `/usr/bin/file conftest.$ac_objext` in
                   5635:        *32-bit*)
                   5636:          LD="${LD-ld} -melf32bsmip"
                   5637:          ;;
                   5638:        *N32*)
                   5639:          LD="${LD-ld} -melf32bmipn32"
                   5640:          ;;
                   5641:        *64-bit*)
                   5642:          LD="${LD-ld} -melf64bmip"
                   5643:        ;;
                   5644:       esac
                   5645:     else
                   5646:       case `/usr/bin/file conftest.$ac_objext` in
                   5647:        *32-bit*)
                   5648:          LD="${LD-ld} -32"
                   5649:          ;;
                   5650:        *N32*)
                   5651:          LD="${LD-ld} -n32"
                   5652:          ;;
                   5653:        *64-bit*)
                   5654:          LD="${LD-ld} -64"
                   5655:          ;;
                   5656:       esac
                   5657:     fi
                   5658:   fi
                   5659:   rm -rf conftest*
                   5660:   ;;
                   5661: 
                   5662: x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
                   5663: s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
                   5664:   # Find out which ABI we are using.
                   5665:   echo 'int i;' > conftest.$ac_ext
                   5666:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5667:   (eval $ac_compile) 2>&5
1.11      paf      5668:   ac_status=$?
                   5669:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1.25      moko     5670:   (exit $ac_status); }; then
                   5671:     case `/usr/bin/file conftest.o` in
                   5672:       *32-bit*)
                   5673:        case $host in
                   5674:          x86_64-*kfreebsd*-gnu)
                   5675:            LD="${LD-ld} -m elf_i386_fbsd"
                   5676:            ;;
                   5677:          x86_64-*linux*)
                   5678:            LD="${LD-ld} -m elf_i386"
                   5679:            ;;
                   5680:          ppc64-*linux*|powerpc64-*linux*)
                   5681:            LD="${LD-ld} -m elf32ppclinux"
                   5682:            ;;
                   5683:          s390x-*linux*)
                   5684:            LD="${LD-ld} -m elf_s390"
                   5685:            ;;
                   5686:          sparc64-*linux*)
                   5687:            LD="${LD-ld} -m elf32_sparc"
                   5688:            ;;
                   5689:        esac
1.11      paf      5690:        ;;
1.25      moko     5691:       *64-bit*)
                   5692:        case $host in
                   5693:          x86_64-*kfreebsd*-gnu)
                   5694:            LD="${LD-ld} -m elf_x86_64_fbsd"
                   5695:            ;;
                   5696:          x86_64-*linux*)
                   5697:            LD="${LD-ld} -m elf_x86_64"
                   5698:            ;;
                   5699:          ppc*-*linux*|powerpc*-*linux*)
                   5700:            LD="${LD-ld} -m elf64ppc"
                   5701:            ;;
                   5702:          s390*-*linux*|s390*-*tpf*)
                   5703:            LD="${LD-ld} -m elf64_s390"
                   5704:            ;;
                   5705:          sparc*-*linux*)
                   5706:            LD="${LD-ld} -m elf64_sparc"
                   5707:            ;;
                   5708:        esac
1.11      paf      5709:        ;;
1.25      moko     5710:     esac
1.11      paf      5711:   fi
1.25      moko     5712:   rm -rf conftest*
                   5713:   ;;
1.11      paf      5714: 
1.25      moko     5715: *-*-sco3.2v5*)
                   5716:   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
                   5717:   SAVE_CFLAGS="$CFLAGS"
                   5718:   CFLAGS="$CFLAGS -belf"
                   5719:   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
                   5720: echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
                   5721: if test "${lt_cv_cc_needs_belf+set}" = set; then
1.11      paf      5722:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5723: else
1.25      moko     5724:   ac_ext=c
                   5725: ac_cpp='$CPP $CPPFLAGS'
                   5726: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   5727: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   5728: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   5729: 
                   5730:      cat >conftest.$ac_ext <<_ACEOF
1.11      paf      5731: /* confdefs.h.  */
                   5732: _ACEOF
                   5733: cat confdefs.h >>conftest.$ac_ext
                   5734: cat >>conftest.$ac_ext <<_ACEOF
                   5735: /* end confdefs.h.  */
                   5736: 
                   5737: int
                   5738: main ()
                   5739: {
                   5740: 
                   5741:   ;
                   5742:   return 0;
                   5743: }
                   5744: _ACEOF
                   5745: rm -f conftest.$ac_objext conftest$ac_exeext
                   5746: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.18      paf      5747:   (eval $ac_link) 2>conftest.er1
1.11      paf      5748:   ac_status=$?
1.18      paf      5749:   grep -v '^ *+' conftest.er1 >conftest.err
                   5750:   rm -f conftest.er1
                   5751:   cat conftest.err >&5
1.11      paf      5752:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5753:   (exit $ac_status); } &&
1.18      paf      5754:         { ac_try='test -z "$ac_c_werror_flag"
                   5755:                         || test ! -s conftest.err'
                   5756:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5757:   (eval $ac_try) 2>&5
                   5758:   ac_status=$?
                   5759:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5760:   (exit $ac_status); }; } &&
                   5761:         { ac_try='test -s conftest$ac_exeext'
1.11      paf      5762:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   5763:   (eval $ac_try) 2>&5
                   5764:   ac_status=$?
                   5765:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5766:   (exit $ac_status); }; }; then
1.25      moko     5767:   lt_cv_cc_needs_belf=yes
1.11      paf      5768: else
                   5769:   echo "$as_me: failed program was:" >&5
                   5770: sed 's/^/| /' conftest.$ac_ext >&5
                   5771: 
1.25      moko     5772: lt_cv_cc_needs_belf=no
1.11      paf      5773: fi
1.18      paf      5774: rm -f conftest.err conftest.$ac_objext \
                   5775:       conftest$ac_exeext conftest.$ac_ext
1.25      moko     5776:      ac_ext=c
                   5777: ac_cpp='$CPP $CPPFLAGS'
                   5778: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   5779: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   5780: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.11      paf      5781: 
                   5782: fi
1.25      moko     5783: echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
                   5784: echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
                   5785:   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
                   5786:     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
                   5787:     CFLAGS="$SAVE_CFLAGS"
                   5788:   fi
                   5789:   ;;
                   5790: *-*solaris*)
                   5791:   # Find out which ABI we are using.
                   5792:   echo 'int i;' > conftest.$ac_ext
                   5793:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   5794:   (eval $ac_compile) 2>&5
                   5795:   ac_status=$?
                   5796:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   5797:   (exit $ac_status); }; then
                   5798:     case `/usr/bin/file conftest.o` in
                   5799:     *64-bit*)
                   5800:       case $lt_cv_prog_gnu_ld in
                   5801:       yes*)
                   5802:         case $host in
                   5803:         i?86-*-solaris*)
                   5804:           LD="${LD-ld} -m elf_x86_64"
                   5805:           ;;
                   5806:         sparc*-*-solaris*)
                   5807:           LD="${LD-ld} -m elf64_sparc"
                   5808:           ;;
                   5809:         esac
                   5810:         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
                   5811:         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
                   5812:           LD="${LD-ld}_sol2"
                   5813:         fi
                   5814:         ;;
                   5815:       *)
                   5816:        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
                   5817:          LD="${LD-ld} -64"
                   5818:        fi
                   5819:        ;;
                   5820:       esac
                   5821:       ;;
                   5822:     esac
                   5823:   fi
                   5824:   rm -rf conftest*
                   5825:   ;;
                   5826: esac
1.11      paf      5827: 
1.25      moko     5828: need_locks="$enable_libtool_lock"
1.11      paf      5829: 
1.25      moko     5830: if test -n "$ac_tool_prefix"; then
                   5831:   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
                   5832: set dummy ${ac_tool_prefix}mt; ac_word=$2
                   5833: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5834: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5835: if test "${ac_cv_prog_MANIFEST_TOOL+set}" = set; then
                   5836:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5837: else
                   5838:   if test -n "$MANIFEST_TOOL"; then
                   5839:   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
                   5840: else
                   5841: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5842: for as_dir in $PATH
                   5843: do
                   5844:   IFS=$as_save_IFS
                   5845:   test -z "$as_dir" && as_dir=.
                   5846:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5847:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5848:     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
                   5849:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5850:     break 2
                   5851:   fi
                   5852: done
                   5853: done
1.11      paf      5854: 
1.25      moko     5855: fi
                   5856: fi
                   5857: MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
                   5858: if test -n "$MANIFEST_TOOL"; then
                   5859:   echo "$as_me:$LINENO: result: $MANIFEST_TOOL" >&5
                   5860: echo "${ECHO_T}$MANIFEST_TOOL" >&6
                   5861: else
                   5862:   echo "$as_me:$LINENO: result: no" >&5
                   5863: echo "${ECHO_T}no" >&6
                   5864: fi
1.11      paf      5865: 
1.25      moko     5866: fi
                   5867: if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
                   5868:   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
                   5869:   # Extract the first word of "mt", so it can be a program name with args.
                   5870: set dummy mt; ac_word=$2
                   5871: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5872: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5873: if test "${ac_cv_prog_ac_ct_MANIFEST_TOOL+set}" = set; then
1.11      paf      5874:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5875: else
1.25      moko     5876:   if test -n "$ac_ct_MANIFEST_TOOL"; then
                   5877:   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
                   5878: else
                   5879: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5880: for as_dir in $PATH
                   5881: do
                   5882:   IFS=$as_save_IFS
                   5883:   test -z "$as_dir" && as_dir=.
                   5884:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5885:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5886:     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
                   5887:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5888:     break 2
                   5889:   fi
                   5890: done
                   5891: done
1.11      paf      5892: 
1.25      moko     5893:   test -z "$ac_cv_prog_ac_ct_MANIFEST_TOOL" && ac_cv_prog_ac_ct_MANIFEST_TOOL=":"
                   5894: fi
                   5895: fi
                   5896: ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
                   5897: if test -n "$ac_ct_MANIFEST_TOOL"; then
                   5898:   echo "$as_me:$LINENO: result: $ac_ct_MANIFEST_TOOL" >&5
                   5899: echo "${ECHO_T}$ac_ct_MANIFEST_TOOL" >&6
1.11      paf      5900: else
1.25      moko     5901:   echo "$as_me:$LINENO: result: no" >&5
                   5902: echo "${ECHO_T}no" >&6
1.11      paf      5903: fi
                   5904: 
1.25      moko     5905:   MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
                   5906: else
                   5907:   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
1.11      paf      5908: fi
                   5909: 
1.25      moko     5910: test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
                   5911: echo "$as_me:$LINENO: checking if $MANIFEST_TOOL is a manifest tool" >&5
                   5912: echo $ECHO_N "checking if $MANIFEST_TOOL is a manifest tool... $ECHO_C" >&6
                   5913: if test "${lt_cv_path_mainfest_tool+set}" = set; then
1.11      paf      5914:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5915: else
1.25      moko     5916:   lt_cv_path_mainfest_tool=no
                   5917:   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
                   5918:   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
                   5919:   cat conftest.err >&5
                   5920:   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
                   5921:     lt_cv_path_mainfest_tool=yes
                   5922:   fi
                   5923:   rm -f conftest*
                   5924: fi
                   5925: echo "$as_me:$LINENO: result: $lt_cv_path_mainfest_tool" >&5
                   5926: echo "${ECHO_T}$lt_cv_path_mainfest_tool" >&6
                   5927: if test "x$lt_cv_path_mainfest_tool" != xyes; then
                   5928:   MANIFEST_TOOL=:
                   5929: fi
                   5930: 
                   5931: 
                   5932: 
                   5933: 
1.11      paf      5934: 
                   5935: 
1.25      moko     5936:   case $host_os in
                   5937:     rhapsody* | darwin*)
                   5938:     if test -n "$ac_tool_prefix"; then
                   5939:   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
                   5940: set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
                   5941: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5942: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5943: if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
                   5944:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5945: else
                   5946:   if test -n "$DSYMUTIL"; then
                   5947:   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
                   5948: else
                   5949: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5950: for as_dir in $PATH
                   5951: do
                   5952:   IFS=$as_save_IFS
                   5953:   test -z "$as_dir" && as_dir=.
                   5954:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5955:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5956:     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
                   5957:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5958:     break 2
                   5959:   fi
                   5960: done
                   5961: done
1.11      paf      5962: 
1.25      moko     5963: fi
                   5964: fi
                   5965: DSYMUTIL=$ac_cv_prog_DSYMUTIL
                   5966: if test -n "$DSYMUTIL"; then
                   5967:   echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
                   5968: echo "${ECHO_T}$DSYMUTIL" >&6
1.11      paf      5969: else
1.25      moko     5970:   echo "$as_me:$LINENO: result: no" >&5
                   5971: echo "${ECHO_T}no" >&6
                   5972: fi
1.11      paf      5973: 
                   5974: fi
1.25      moko     5975: if test -z "$ac_cv_prog_DSYMUTIL"; then
                   5976:   ac_ct_DSYMUTIL=$DSYMUTIL
                   5977:   # Extract the first word of "dsymutil", so it can be a program name with args.
                   5978: set dummy dsymutil; ac_word=$2
                   5979: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   5980: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   5981: if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
                   5982:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   5983: else
                   5984:   if test -n "$ac_ct_DSYMUTIL"; then
                   5985:   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
                   5986: else
                   5987: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   5988: for as_dir in $PATH
                   5989: do
                   5990:   IFS=$as_save_IFS
                   5991:   test -z "$as_dir" && as_dir=.
                   5992:   for ac_exec_ext in '' $ac_executable_extensions; do
                   5993:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   5994:     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
                   5995:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   5996:     break 2
                   5997:   fi
                   5998: done
                   5999: done
1.11      paf      6000: 
1.25      moko     6001:   test -z "$ac_cv_prog_ac_ct_DSYMUTIL" && ac_cv_prog_ac_ct_DSYMUTIL=":"
                   6002: fi
                   6003: fi
                   6004: ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
                   6005: if test -n "$ac_ct_DSYMUTIL"; then
                   6006:   echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
                   6007: echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6
                   6008: else
                   6009:   echo "$as_me:$LINENO: result: no" >&5
                   6010: echo "${ECHO_T}no" >&6
1.11      paf      6011: fi
                   6012: 
1.25      moko     6013:   DSYMUTIL=$ac_ct_DSYMUTIL
1.11      paf      6014: else
1.25      moko     6015:   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
1.11      paf      6016: fi
                   6017: 
1.25      moko     6018:     if test -n "$ac_tool_prefix"; then
                   6019:   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
                   6020: set dummy ${ac_tool_prefix}nmedit; ac_word=$2
                   6021: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6022: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6023: if test "${ac_cv_prog_NMEDIT+set}" = set; then
                   6024:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6025: else
                   6026:   if test -n "$NMEDIT"; then
                   6027:   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
                   6028: else
                   6029: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6030: for as_dir in $PATH
                   6031: do
                   6032:   IFS=$as_save_IFS
                   6033:   test -z "$as_dir" && as_dir=.
                   6034:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6035:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6036:     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
                   6037:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6038:     break 2
1.11      paf      6039:   fi
1.25      moko     6040: done
                   6041: done
                   6042: 
                   6043: fi
                   6044: fi
                   6045: NMEDIT=$ac_cv_prog_NMEDIT
                   6046: if test -n "$NMEDIT"; then
                   6047:   echo "$as_me:$LINENO: result: $NMEDIT" >&5
                   6048: echo "${ECHO_T}$NMEDIT" >&6
1.11      paf      6049: else
1.25      moko     6050:   echo "$as_me:$LINENO: result: no" >&5
                   6051: echo "${ECHO_T}no" >&6
1.11      paf      6052: fi
                   6053: 
1.25      moko     6054: fi
                   6055: if test -z "$ac_cv_prog_NMEDIT"; then
                   6056:   ac_ct_NMEDIT=$NMEDIT
                   6057:   # Extract the first word of "nmedit", so it can be a program name with args.
                   6058: set dummy nmedit; ac_word=$2
                   6059: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6060: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6061: if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
                   6062:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6063: else
                   6064:   if test -n "$ac_ct_NMEDIT"; then
                   6065:   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
                   6066: else
                   6067: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6068: for as_dir in $PATH
                   6069: do
                   6070:   IFS=$as_save_IFS
                   6071:   test -z "$as_dir" && as_dir=.
                   6072:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6073:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6074:     ac_cv_prog_ac_ct_NMEDIT="nmedit"
                   6075:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6076:     break 2
                   6077:   fi
                   6078: done
                   6079: done
1.11      paf      6080: 
1.25      moko     6081:   test -z "$ac_cv_prog_ac_ct_NMEDIT" && ac_cv_prog_ac_ct_NMEDIT=":"
                   6082: fi
                   6083: fi
                   6084: ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
                   6085: if test -n "$ac_ct_NMEDIT"; then
                   6086:   echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
                   6087: echo "${ECHO_T}$ac_ct_NMEDIT" >&6
                   6088: else
                   6089:   echo "$as_me:$LINENO: result: no" >&5
                   6090: echo "${ECHO_T}no" >&6
                   6091: fi
1.11      paf      6092: 
1.25      moko     6093:   NMEDIT=$ac_ct_NMEDIT
1.11      paf      6094: else
1.25      moko     6095:   NMEDIT="$ac_cv_prog_NMEDIT"
1.11      paf      6096: fi
                   6097: 
1.25      moko     6098:     if test -n "$ac_tool_prefix"; then
                   6099:   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
                   6100: set dummy ${ac_tool_prefix}lipo; ac_word=$2
                   6101: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6102: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6103: if test "${ac_cv_prog_LIPO+set}" = set; then
                   6104:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6105: else
                   6106:   if test -n "$LIPO"; then
                   6107:   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
                   6108: else
                   6109: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6110: for as_dir in $PATH
                   6111: do
                   6112:   IFS=$as_save_IFS
                   6113:   test -z "$as_dir" && as_dir=.
                   6114:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6115:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6116:     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
                   6117:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6118:     break 2
1.11      paf      6119:   fi
1.25      moko     6120: done
                   6121: done
                   6122: 
                   6123: fi
                   6124: fi
                   6125: LIPO=$ac_cv_prog_LIPO
                   6126: if test -n "$LIPO"; then
                   6127:   echo "$as_me:$LINENO: result: $LIPO" >&5
                   6128: echo "${ECHO_T}$LIPO" >&6
                   6129: else
                   6130:   echo "$as_me:$LINENO: result: no" >&5
                   6131: echo "${ECHO_T}no" >&6
1.11      paf      6132: fi
                   6133: 
1.25      moko     6134: fi
                   6135: if test -z "$ac_cv_prog_LIPO"; then
                   6136:   ac_ct_LIPO=$LIPO
                   6137:   # Extract the first word of "lipo", so it can be a program name with args.
                   6138: set dummy lipo; ac_word=$2
                   6139: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6140: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6141: if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
                   6142:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6143: else
                   6144:   if test -n "$ac_ct_LIPO"; then
                   6145:   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
                   6146: else
                   6147: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6148: for as_dir in $PATH
                   6149: do
                   6150:   IFS=$as_save_IFS
                   6151:   test -z "$as_dir" && as_dir=.
                   6152:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6153:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6154:     ac_cv_prog_ac_ct_LIPO="lipo"
                   6155:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6156:     break 2
1.11      paf      6157:   fi
1.25      moko     6158: done
                   6159: done
1.11      paf      6160: 
1.25      moko     6161:   test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
                   6162: fi
                   6163: fi
                   6164: ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
                   6165: if test -n "$ac_ct_LIPO"; then
                   6166:   echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
                   6167: echo "${ECHO_T}$ac_ct_LIPO" >&6
                   6168: else
                   6169:   echo "$as_me:$LINENO: result: no" >&5
                   6170: echo "${ECHO_T}no" >&6
                   6171: fi
1.11      paf      6172: 
1.25      moko     6173:   LIPO=$ac_ct_LIPO
                   6174: else
                   6175:   LIPO="$ac_cv_prog_LIPO"
                   6176: fi
1.11      paf      6177: 
1.25      moko     6178:     if test -n "$ac_tool_prefix"; then
                   6179:   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
                   6180: set dummy ${ac_tool_prefix}otool; ac_word=$2
                   6181: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6182: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6183: if test "${ac_cv_prog_OTOOL+set}" = set; then
                   6184:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6185: else
                   6186:   if test -n "$OTOOL"; then
                   6187:   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
                   6188: else
                   6189: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6190: for as_dir in $PATH
                   6191: do
                   6192:   IFS=$as_save_IFS
                   6193:   test -z "$as_dir" && as_dir=.
                   6194:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6195:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6196:     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
                   6197:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6198:     break 2
                   6199:   fi
                   6200: done
                   6201: done
1.11      paf      6202: 
1.25      moko     6203: fi
                   6204: fi
                   6205: OTOOL=$ac_cv_prog_OTOOL
                   6206: if test -n "$OTOOL"; then
                   6207:   echo "$as_me:$LINENO: result: $OTOOL" >&5
                   6208: echo "${ECHO_T}$OTOOL" >&6
                   6209: else
                   6210:   echo "$as_me:$LINENO: result: no" >&5
                   6211: echo "${ECHO_T}no" >&6
                   6212: fi
1.11      paf      6213: 
1.25      moko     6214: fi
                   6215: if test -z "$ac_cv_prog_OTOOL"; then
                   6216:   ac_ct_OTOOL=$OTOOL
                   6217:   # Extract the first word of "otool", so it can be a program name with args.
                   6218: set dummy otool; ac_word=$2
                   6219: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6220: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6221: if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
                   6222:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6223: else
                   6224:   if test -n "$ac_ct_OTOOL"; then
                   6225:   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
                   6226: else
                   6227: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6228: for as_dir in $PATH
                   6229: do
                   6230:   IFS=$as_save_IFS
                   6231:   test -z "$as_dir" && as_dir=.
                   6232:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6233:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6234:     ac_cv_prog_ac_ct_OTOOL="otool"
                   6235:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6236:     break 2
                   6237:   fi
                   6238: done
                   6239: done
1.11      paf      6240: 
1.25      moko     6241:   test -z "$ac_cv_prog_ac_ct_OTOOL" && ac_cv_prog_ac_ct_OTOOL=":"
                   6242: fi
                   6243: fi
                   6244: ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
                   6245: if test -n "$ac_ct_OTOOL"; then
                   6246:   echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
                   6247: echo "${ECHO_T}$ac_ct_OTOOL" >&6
                   6248: else
                   6249:   echo "$as_me:$LINENO: result: no" >&5
                   6250: echo "${ECHO_T}no" >&6
                   6251: fi
1.11      paf      6252: 
1.25      moko     6253:   OTOOL=$ac_ct_OTOOL
                   6254: else
                   6255:   OTOOL="$ac_cv_prog_OTOOL"
                   6256: fi
1.11      paf      6257: 
1.25      moko     6258:     if test -n "$ac_tool_prefix"; then
                   6259:   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
                   6260: set dummy ${ac_tool_prefix}otool64; ac_word=$2
                   6261: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6262: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6263: if test "${ac_cv_prog_OTOOL64+set}" = set; then
                   6264:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6265: else
                   6266:   if test -n "$OTOOL64"; then
                   6267:   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
                   6268: else
                   6269: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6270: for as_dir in $PATH
                   6271: do
                   6272:   IFS=$as_save_IFS
                   6273:   test -z "$as_dir" && as_dir=.
                   6274:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6275:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6276:     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
                   6277:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6278:     break 2
                   6279:   fi
                   6280: done
                   6281: done
1.11      paf      6282: 
1.25      moko     6283: fi
                   6284: fi
                   6285: OTOOL64=$ac_cv_prog_OTOOL64
                   6286: if test -n "$OTOOL64"; then
                   6287:   echo "$as_me:$LINENO: result: $OTOOL64" >&5
                   6288: echo "${ECHO_T}$OTOOL64" >&6
                   6289: else
                   6290:   echo "$as_me:$LINENO: result: no" >&5
                   6291: echo "${ECHO_T}no" >&6
                   6292: fi
1.11      paf      6293: 
1.25      moko     6294: fi
                   6295: if test -z "$ac_cv_prog_OTOOL64"; then
                   6296:   ac_ct_OTOOL64=$OTOOL64
                   6297:   # Extract the first word of "otool64", so it can be a program name with args.
                   6298: set dummy otool64; ac_word=$2
                   6299: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   6300: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   6301: if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
                   6302:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6303: else
                   6304:   if test -n "$ac_ct_OTOOL64"; then
                   6305:   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
                   6306: else
                   6307: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   6308: for as_dir in $PATH
                   6309: do
                   6310:   IFS=$as_save_IFS
                   6311:   test -z "$as_dir" && as_dir=.
                   6312:   for ac_exec_ext in '' $ac_executable_extensions; do
                   6313:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   6314:     ac_cv_prog_ac_ct_OTOOL64="otool64"
                   6315:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   6316:     break 2
                   6317:   fi
                   6318: done
                   6319: done
1.11      paf      6320: 
1.25      moko     6321:   test -z "$ac_cv_prog_ac_ct_OTOOL64" && ac_cv_prog_ac_ct_OTOOL64=":"
                   6322: fi
                   6323: fi
                   6324: ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
                   6325: if test -n "$ac_ct_OTOOL64"; then
                   6326:   echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
                   6327: echo "${ECHO_T}$ac_ct_OTOOL64" >&6
                   6328: else
                   6329:   echo "$as_me:$LINENO: result: no" >&5
                   6330: echo "${ECHO_T}no" >&6
                   6331: fi
1.11      paf      6332: 
1.25      moko     6333:   OTOOL64=$ac_ct_OTOOL64
                   6334: else
                   6335:   OTOOL64="$ac_cv_prog_OTOOL64"
                   6336: fi
1.11      paf      6337: 
                   6338: 
                   6339: 
                   6340: 
                   6341: 
                   6342: 
                   6343: 
                   6344: 
                   6345: 
                   6346: 
                   6347: 
                   6348: 
                   6349: 
                   6350: 
                   6351: 
                   6352: 
                   6353: 
                   6354: 
                   6355: 
                   6356: 
                   6357: 
                   6358: 
                   6359: 
                   6360: 
                   6361: 
                   6362: 
                   6363: 
1.25      moko     6364:     echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
                   6365: echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6
                   6366: if test "${lt_cv_apple_cc_single_mod+set}" = set; then
                   6367:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6368: else
                   6369:   lt_cv_apple_cc_single_mod=no
                   6370:       if test -z "${LT_MULTI_MODULE}"; then
                   6371:        # By default we will add the -single_module flag. You can override
                   6372:        # by either setting the environment variable LT_MULTI_MODULE
                   6373:        # non-empty at configure time, or by adding -multi_module to the
                   6374:        # link flags.
                   6375:        rm -rf libconftest.dylib*
                   6376:        echo "int foo(void){return 1;}" > conftest.c
                   6377:        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   6378: -dynamiclib -Wl,-single_module conftest.c" >&5
                   6379:        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
                   6380:          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
                   6381:         _lt_result=$?
                   6382:        # If there is a non-empty error log, and "single_module"
                   6383:        # appears in it, assume the flag caused a linker warning
                   6384:         if test -s conftest.err && $GREP single_module conftest.err; then
                   6385:          cat conftest.err >&5
                   6386:        # Otherwise, if the output was created with a 0 exit code from
                   6387:        # the compiler, it worked.
                   6388:        elif test -f libconftest.dylib && test $_lt_result -eq 0; then
                   6389:          lt_cv_apple_cc_single_mod=yes
                   6390:        else
                   6391:          cat conftest.err >&5
                   6392:        fi
                   6393:        rm -rf libconftest.dylib*
                   6394:        rm -f conftest.*
                   6395:       fi
                   6396: fi
                   6397: echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
                   6398: echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6
1.11      paf      6399: 
1.25      moko     6400:     echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
                   6401: echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6
                   6402: if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
                   6403:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6404: else
                   6405:   lt_cv_ld_exported_symbols_list=no
                   6406:       save_LDFLAGS=$LDFLAGS
                   6407:       echo "_main" > conftest.sym
                   6408:       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
                   6409:       cat >conftest.$ac_ext <<_ACEOF
                   6410: /* confdefs.h.  */
                   6411: _ACEOF
                   6412: cat confdefs.h >>conftest.$ac_ext
                   6413: cat >>conftest.$ac_ext <<_ACEOF
                   6414: /* end confdefs.h.  */
1.11      paf      6415: 
1.25      moko     6416: int
                   6417: main ()
                   6418: {
1.11      paf      6419: 
1.25      moko     6420:   ;
                   6421:   return 0;
                   6422: }
                   6423: _ACEOF
                   6424: rm -f conftest.$ac_objext conftest$ac_exeext
                   6425: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   6426:   (eval $ac_link) 2>conftest.er1
                   6427:   ac_status=$?
                   6428:   grep -v '^ *+' conftest.er1 >conftest.err
                   6429:   rm -f conftest.er1
                   6430:   cat conftest.err >&5
                   6431:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6432:   (exit $ac_status); } &&
                   6433:         { ac_try='test -z "$ac_c_werror_flag"
                   6434:                         || test ! -s conftest.err'
                   6435:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6436:   (eval $ac_try) 2>&5
                   6437:   ac_status=$?
                   6438:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6439:   (exit $ac_status); }; } &&
                   6440:         { ac_try='test -s conftest$ac_exeext'
                   6441:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6442:   (eval $ac_try) 2>&5
                   6443:   ac_status=$?
                   6444:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6445:   (exit $ac_status); }; }; then
                   6446:   lt_cv_ld_exported_symbols_list=yes
                   6447: else
                   6448:   echo "$as_me: failed program was:" >&5
                   6449: sed 's/^/| /' conftest.$ac_ext >&5
1.11      paf      6450: 
1.25      moko     6451: lt_cv_ld_exported_symbols_list=no
                   6452: fi
                   6453: rm -f conftest.err conftest.$ac_objext \
                   6454:       conftest$ac_exeext conftest.$ac_ext
                   6455:        LDFLAGS="$save_LDFLAGS"
1.11      paf      6456: 
1.25      moko     6457: fi
                   6458: echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
                   6459: echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6
1.11      paf      6460: 
1.25      moko     6461:     echo "$as_me:$LINENO: checking for -force_load linker flag" >&5
                   6462: echo $ECHO_N "checking for -force_load linker flag... $ECHO_C" >&6
                   6463: if test "${lt_cv_ld_force_load+set}" = set; then
                   6464:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6465: else
                   6466:   lt_cv_ld_force_load=no
                   6467:       cat > conftest.c << _LT_EOF
                   6468: int forced_loaded() { return 2;}
                   6469: _LT_EOF
                   6470:       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
                   6471:       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
                   6472:       echo "$AR cru libconftest.a conftest.o" >&5
                   6473:       $AR cru libconftest.a conftest.o 2>&5
                   6474:       echo "$RANLIB libconftest.a" >&5
                   6475:       $RANLIB libconftest.a 2>&5
                   6476:       cat > conftest.c << _LT_EOF
                   6477: int main() { return 0;}
                   6478: _LT_EOF
                   6479:       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
                   6480:       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
                   6481:       _lt_result=$?
                   6482:       if test -s conftest.err && $GREP force_load conftest.err; then
                   6483:        cat conftest.err >&5
                   6484:       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
                   6485:        lt_cv_ld_force_load=yes
                   6486:       else
                   6487:        cat conftest.err >&5
                   6488:       fi
                   6489:         rm -f conftest.err libconftest.a conftest conftest.c
                   6490:         rm -rf conftest.dSYM
1.11      paf      6491: 
1.25      moko     6492: fi
                   6493: echo "$as_me:$LINENO: result: $lt_cv_ld_force_load" >&5
                   6494: echo "${ECHO_T}$lt_cv_ld_force_load" >&6
                   6495:     case $host_os in
                   6496:     rhapsody* | darwin1.[012])
                   6497:       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
                   6498:     darwin1.*)
                   6499:       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   6500:     darwin*) # darwin 5.x on
                   6501:       # if running on 10.5 or later, the deployment target defaults
                   6502:       # to the OS version, if on x86, and 10.4, the deployment
                   6503:       # target defaults to 10.4. Don't you love it?
                   6504:       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
                   6505:        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
                   6506:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   6507:        10.[012]*)
                   6508:          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
                   6509:        10.*)
                   6510:          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
                   6511:       esac
1.11      paf      6512:     ;;
1.25      moko     6513:   esac
                   6514:     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
                   6515:       _lt_dar_single_mod='$single_module'
                   6516:     fi
                   6517:     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
                   6518:       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
                   6519:     else
                   6520:       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
1.11      paf      6521:     fi
1.25      moko     6522:     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
                   6523:       _lt_dsymutil='~$DSYMUTIL $lib || :'
1.11      paf      6524:     else
1.25      moko     6525:       _lt_dsymutil=
1.11      paf      6526:     fi
                   6527:     ;;
1.25      moko     6528:   esac
1.11      paf      6529: 
1.25      moko     6530: ac_ext=c
                   6531: ac_cpp='$CPP $CPPFLAGS'
                   6532: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   6533: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   6534: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   6535: echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
                   6536: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
                   6537: # On Suns, sometimes $CPP names a directory.
                   6538: if test -n "$CPP" && test -d "$CPP"; then
                   6539:   CPP=
                   6540: fi
                   6541: if test -z "$CPP"; then
                   6542:   if test "${ac_cv_prog_CPP+set}" = set; then
                   6543:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6544: else
                   6545:       # Double quotes because CPP needs to be expanded
                   6546:     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
                   6547:     do
                   6548:       ac_preproc_ok=false
                   6549: for ac_c_preproc_warn_flag in '' yes
                   6550: do
                   6551:   # Use a header file that comes with gcc, so configuring glibc
                   6552:   # with a fresh cross-compiler works.
                   6553:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   6554:   # <limits.h> exists even on freestanding compilers.
                   6555:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   6556:   # not just through cpp. "Syntax error" is here to catch this case.
                   6557:   cat >conftest.$ac_ext <<_ACEOF
                   6558: /* confdefs.h.  */
                   6559: _ACEOF
                   6560: cat confdefs.h >>conftest.$ac_ext
                   6561: cat >>conftest.$ac_ext <<_ACEOF
                   6562: /* end confdefs.h.  */
                   6563: #ifdef __STDC__
                   6564: # include <limits.h>
                   6565: #else
                   6566: # include <assert.h>
                   6567: #endif
                   6568:                     Syntax error
                   6569: _ACEOF
                   6570: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   6571:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   6572:   ac_status=$?
                   6573:   grep -v '^ *+' conftest.er1 >conftest.err
                   6574:   rm -f conftest.er1
                   6575:   cat conftest.err >&5
                   6576:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6577:   (exit $ac_status); } >/dev/null; then
                   6578:   if test -s conftest.err; then
                   6579:     ac_cpp_err=$ac_c_preproc_warn_flag
                   6580:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   6581:   else
                   6582:     ac_cpp_err=
                   6583:   fi
                   6584: else
                   6585:   ac_cpp_err=yes
1.11      paf      6586: fi
1.25      moko     6587: if test -z "$ac_cpp_err"; then
                   6588:   :
                   6589: else
                   6590:   echo "$as_me: failed program was:" >&5
                   6591: sed 's/^/| /' conftest.$ac_ext >&5
1.11      paf      6592: 
1.25      moko     6593:   # Broken: fails on valid input.
                   6594: continue
                   6595: fi
                   6596: rm -f conftest.err conftest.$ac_ext
1.11      paf      6597: 
1.25      moko     6598:   # OK, works on sane cases.  Now check whether non-existent headers
                   6599:   # can be detected and how.
                   6600:   cat >conftest.$ac_ext <<_ACEOF
                   6601: /* confdefs.h.  */
                   6602: _ACEOF
                   6603: cat confdefs.h >>conftest.$ac_ext
                   6604: cat >>conftest.$ac_ext <<_ACEOF
                   6605: /* end confdefs.h.  */
                   6606: #include <ac_nonexistent.h>
                   6607: _ACEOF
                   6608: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   6609:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   6610:   ac_status=$?
                   6611:   grep -v '^ *+' conftest.er1 >conftest.err
                   6612:   rm -f conftest.er1
                   6613:   cat conftest.err >&5
                   6614:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6615:   (exit $ac_status); } >/dev/null; then
                   6616:   if test -s conftest.err; then
                   6617:     ac_cpp_err=$ac_c_preproc_warn_flag
                   6618:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1.11      paf      6619:   else
1.25      moko     6620:     ac_cpp_err=
1.11      paf      6621:   fi
                   6622: else
1.25      moko     6623:   ac_cpp_err=yes
1.11      paf      6624: fi
1.25      moko     6625: if test -z "$ac_cpp_err"; then
                   6626:   # Broken: success on invalid input.
                   6627: continue
                   6628: else
                   6629:   echo "$as_me: failed program was:" >&5
                   6630: sed 's/^/| /' conftest.$ac_ext >&5
1.11      paf      6631: 
1.25      moko     6632:   # Passes both tests.
                   6633: ac_preproc_ok=:
                   6634: break
1.11      paf      6635: fi
1.25      moko     6636: rm -f conftest.err conftest.$ac_ext
1.11      paf      6637: 
1.25      moko     6638: done
                   6639: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   6640: rm -f conftest.err conftest.$ac_ext
                   6641: if $ac_preproc_ok; then
                   6642:   break
                   6643: fi
1.11      paf      6644: 
1.25      moko     6645:     done
                   6646:     ac_cv_prog_CPP=$CPP
1.11      paf      6647: 
1.25      moko     6648: fi
                   6649:   CPP=$ac_cv_prog_CPP
                   6650: else
                   6651:   ac_cv_prog_CPP=$CPP
                   6652: fi
                   6653: echo "$as_me:$LINENO: result: $CPP" >&5
                   6654: echo "${ECHO_T}$CPP" >&6
                   6655: ac_preproc_ok=false
                   6656: for ac_c_preproc_warn_flag in '' yes
                   6657: do
                   6658:   # Use a header file that comes with gcc, so configuring glibc
                   6659:   # with a fresh cross-compiler works.
                   6660:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   6661:   # <limits.h> exists even on freestanding compilers.
                   6662:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   6663:   # not just through cpp. "Syntax error" is here to catch this case.
                   6664:   cat >conftest.$ac_ext <<_ACEOF
                   6665: /* confdefs.h.  */
                   6666: _ACEOF
                   6667: cat confdefs.h >>conftest.$ac_ext
                   6668: cat >>conftest.$ac_ext <<_ACEOF
                   6669: /* end confdefs.h.  */
                   6670: #ifdef __STDC__
                   6671: # include <limits.h>
                   6672: #else
                   6673: # include <assert.h>
                   6674: #endif
                   6675:                     Syntax error
                   6676: _ACEOF
                   6677: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   6678:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   6679:   ac_status=$?
                   6680:   grep -v '^ *+' conftest.er1 >conftest.err
                   6681:   rm -f conftest.er1
                   6682:   cat conftest.err >&5
                   6683:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6684:   (exit $ac_status); } >/dev/null; then
                   6685:   if test -s conftest.err; then
                   6686:     ac_cpp_err=$ac_c_preproc_warn_flag
                   6687:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   6688:   else
                   6689:     ac_cpp_err=
                   6690:   fi
                   6691: else
                   6692:   ac_cpp_err=yes
                   6693: fi
                   6694: if test -z "$ac_cpp_err"; then
                   6695:   :
                   6696: else
                   6697:   echo "$as_me: failed program was:" >&5
                   6698: sed 's/^/| /' conftest.$ac_ext >&5
1.11      paf      6699: 
1.25      moko     6700:   # Broken: fails on valid input.
                   6701: continue
                   6702: fi
                   6703: rm -f conftest.err conftest.$ac_ext
1.11      paf      6704: 
1.25      moko     6705:   # OK, works on sane cases.  Now check whether non-existent headers
                   6706:   # can be detected and how.
                   6707:   cat >conftest.$ac_ext <<_ACEOF
                   6708: /* confdefs.h.  */
                   6709: _ACEOF
                   6710: cat confdefs.h >>conftest.$ac_ext
                   6711: cat >>conftest.$ac_ext <<_ACEOF
                   6712: /* end confdefs.h.  */
                   6713: #include <ac_nonexistent.h>
                   6714: _ACEOF
                   6715: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   6716:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   6717:   ac_status=$?
                   6718:   grep -v '^ *+' conftest.er1 >conftest.err
                   6719:   rm -f conftest.er1
                   6720:   cat conftest.err >&5
                   6721:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6722:   (exit $ac_status); } >/dev/null; then
                   6723:   if test -s conftest.err; then
                   6724:     ac_cpp_err=$ac_c_preproc_warn_flag
                   6725:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1.11      paf      6726:   else
1.25      moko     6727:     ac_cpp_err=
1.11      paf      6728:   fi
1.25      moko     6729: else
                   6730:   ac_cpp_err=yes
                   6731: fi
                   6732: if test -z "$ac_cpp_err"; then
                   6733:   # Broken: success on invalid input.
                   6734: continue
                   6735: else
                   6736:   echo "$as_me: failed program was:" >&5
                   6737: sed 's/^/| /' conftest.$ac_ext >&5
1.11      paf      6738: 
1.25      moko     6739:   # Passes both tests.
                   6740: ac_preproc_ok=:
                   6741: break
                   6742: fi
                   6743: rm -f conftest.err conftest.$ac_ext
1.11      paf      6744: 
1.25      moko     6745: done
                   6746: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   6747: rm -f conftest.err conftest.$ac_ext
                   6748: if $ac_preproc_ok; then
                   6749:   :
                   6750: else
                   6751:   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
                   6752: See \`config.log' for more details." >&5
                   6753: echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
                   6754: See \`config.log' for more details." >&2;}
                   6755:    { (exit 1); exit 1; }; }
                   6756: fi
1.11      paf      6757: 
1.25      moko     6758: ac_ext=c
                   6759: ac_cpp='$CPP $CPPFLAGS'
                   6760: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   6761: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   6762: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.11      paf      6763: 
                   6764: 
1.25      moko     6765: echo "$as_me:$LINENO: checking for ANSI C header files" >&5
                   6766: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
                   6767: if test "${ac_cv_header_stdc+set}" = set; then
                   6768:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6769: else
                   6770:   cat >conftest.$ac_ext <<_ACEOF
                   6771: /* confdefs.h.  */
                   6772: _ACEOF
                   6773: cat confdefs.h >>conftest.$ac_ext
                   6774: cat >>conftest.$ac_ext <<_ACEOF
                   6775: /* end confdefs.h.  */
                   6776: #include <stdlib.h>
                   6777: #include <stdarg.h>
                   6778: #include <string.h>
                   6779: #include <float.h>
1.11      paf      6780: 
1.25      moko     6781: int
                   6782: main ()
                   6783: {
1.11      paf      6784: 
1.25      moko     6785:   ;
                   6786:   return 0;
                   6787: }
                   6788: _ACEOF
                   6789: rm -f conftest.$ac_objext
                   6790: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6791:   (eval $ac_compile) 2>conftest.er1
                   6792:   ac_status=$?
                   6793:   grep -v '^ *+' conftest.er1 >conftest.err
                   6794:   rm -f conftest.er1
                   6795:   cat conftest.err >&5
                   6796:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6797:   (exit $ac_status); } &&
                   6798:         { ac_try='test -z "$ac_c_werror_flag"
                   6799:                         || test ! -s conftest.err'
                   6800:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6801:   (eval $ac_try) 2>&5
                   6802:   ac_status=$?
                   6803:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6804:   (exit $ac_status); }; } &&
                   6805:         { ac_try='test -s conftest.$ac_objext'
                   6806:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6807:   (eval $ac_try) 2>&5
                   6808:   ac_status=$?
                   6809:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6810:   (exit $ac_status); }; }; then
                   6811:   ac_cv_header_stdc=yes
                   6812: else
                   6813:   echo "$as_me: failed program was:" >&5
                   6814: sed 's/^/| /' conftest.$ac_ext >&5
1.11      paf      6815: 
1.25      moko     6816: ac_cv_header_stdc=no
                   6817: fi
                   6818: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.11      paf      6819: 
1.25      moko     6820: if test $ac_cv_header_stdc = yes; then
                   6821:   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
                   6822:   cat >conftest.$ac_ext <<_ACEOF
                   6823: /* confdefs.h.  */
                   6824: _ACEOF
                   6825: cat confdefs.h >>conftest.$ac_ext
                   6826: cat >>conftest.$ac_ext <<_ACEOF
                   6827: /* end confdefs.h.  */
                   6828: #include <string.h>
1.11      paf      6829: 
1.25      moko     6830: _ACEOF
                   6831: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   6832:   $EGREP "memchr" >/dev/null 2>&1; then
                   6833:   :
                   6834: else
                   6835:   ac_cv_header_stdc=no
                   6836: fi
                   6837: rm -f conftest*
1.11      paf      6838: 
1.25      moko     6839: fi
1.11      paf      6840: 
1.25      moko     6841: if test $ac_cv_header_stdc = yes; then
                   6842:   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
                   6843:   cat >conftest.$ac_ext <<_ACEOF
                   6844: /* confdefs.h.  */
                   6845: _ACEOF
                   6846: cat confdefs.h >>conftest.$ac_ext
                   6847: cat >>conftest.$ac_ext <<_ACEOF
                   6848: /* end confdefs.h.  */
                   6849: #include <stdlib.h>
1.11      paf      6850: 
1.25      moko     6851: _ACEOF
                   6852: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
                   6853:   $EGREP "free" >/dev/null 2>&1; then
                   6854:   :
                   6855: else
                   6856:   ac_cv_header_stdc=no
                   6857: fi
                   6858: rm -f conftest*
1.11      paf      6859: 
1.25      moko     6860: fi
1.11      paf      6861: 
1.25      moko     6862: if test $ac_cv_header_stdc = yes; then
                   6863:   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
                   6864:   if test "$cross_compiling" = yes; then
                   6865:   :
                   6866: else
                   6867:   cat >conftest.$ac_ext <<_ACEOF
                   6868: /* confdefs.h.  */
                   6869: _ACEOF
                   6870: cat confdefs.h >>conftest.$ac_ext
                   6871: cat >>conftest.$ac_ext <<_ACEOF
                   6872: /* end confdefs.h.  */
                   6873: #include <ctype.h>
                   6874: #if ((' ' & 0x0FF) == 0x020)
                   6875: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
                   6876: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
                   6877: #else
                   6878: # define ISLOWER(c) \
                   6879:                   (('a' <= (c) && (c) <= 'i') \
                   6880:                     || ('j' <= (c) && (c) <= 'r') \
                   6881:                     || ('s' <= (c) && (c) <= 'z'))
                   6882: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
                   6883: #endif
1.11      paf      6884: 
1.25      moko     6885: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
                   6886: int
                   6887: main ()
                   6888: {
                   6889:   int i;
                   6890:   for (i = 0; i < 256; i++)
                   6891:     if (XOR (islower (i), ISLOWER (i))
                   6892:        || toupper (i) != TOUPPER (i))
                   6893:       exit(2);
                   6894:   exit (0);
                   6895: }
                   6896: _ACEOF
                   6897: rm -f conftest$ac_exeext
                   6898: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   6899:   (eval $ac_link) 2>&5
                   6900:   ac_status=$?
                   6901:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6902:   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
                   6903:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6904:   (eval $ac_try) 2>&5
                   6905:   ac_status=$?
                   6906:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6907:   (exit $ac_status); }; }; then
                   6908:   :
                   6909: else
                   6910:   echo "$as_me: program exited with status $ac_status" >&5
                   6911: echo "$as_me: failed program was:" >&5
                   6912: sed 's/^/| /' conftest.$ac_ext >&5
1.11      paf      6913: 
1.25      moko     6914: ( exit $ac_status )
                   6915: ac_cv_header_stdc=no
                   6916: fi
                   6917: rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
                   6918: fi
                   6919: fi
                   6920: fi
                   6921: echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
                   6922: echo "${ECHO_T}$ac_cv_header_stdc" >&6
                   6923: if test $ac_cv_header_stdc = yes; then
1.11      paf      6924: 
1.25      moko     6925: cat >>confdefs.h <<\_ACEOF
                   6926: #define STDC_HEADERS 1
                   6927: _ACEOF
1.11      paf      6928: 
1.25      moko     6929: fi
1.11      paf      6930: 
1.25      moko     6931: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
1.11      paf      6932: 
                   6933: 
                   6934: 
                   6935: 
                   6936: 
                   6937: 
                   6938: 
                   6939: 
                   6940: 
1.25      moko     6941: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
                   6942:                  inttypes.h stdint.h unistd.h
                   6943: do
                   6944: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   6945: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   6946: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   6947: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   6948:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   6949: else
                   6950:   cat >conftest.$ac_ext <<_ACEOF
                   6951: /* confdefs.h.  */
                   6952: _ACEOF
                   6953: cat confdefs.h >>conftest.$ac_ext
                   6954: cat >>conftest.$ac_ext <<_ACEOF
                   6955: /* end confdefs.h.  */
                   6956: $ac_includes_default
1.11      paf      6957: 
1.25      moko     6958: #include <$ac_header>
1.11      paf      6959: _ACEOF
1.25      moko     6960: rm -f conftest.$ac_objext
                   6961: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   6962:   (eval $ac_compile) 2>conftest.er1
1.11      paf      6963:   ac_status=$?
1.18      paf      6964:   grep -v '^ *+' conftest.er1 >conftest.err
                   6965:   rm -f conftest.er1
                   6966:   cat conftest.err >&5
1.11      paf      6967:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6968:   (exit $ac_status); } &&
1.18      paf      6969:         { ac_try='test -z "$ac_c_werror_flag"
                   6970:                         || test ! -s conftest.err'
                   6971:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6972:   (eval $ac_try) 2>&5
                   6973:   ac_status=$?
                   6974:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6975:   (exit $ac_status); }; } &&
1.25      moko     6976:         { ac_try='test -s conftest.$ac_objext'
1.11      paf      6977:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   6978:   (eval $ac_try) 2>&5
                   6979:   ac_status=$?
                   6980:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   6981:   (exit $ac_status); }; }; then
1.25      moko     6982:   eval "$as_ac_Header=yes"
1.11      paf      6983: else
                   6984:   echo "$as_me: failed program was:" >&5
                   6985: sed 's/^/| /' conftest.$ac_ext >&5
                   6986: 
1.25      moko     6987: eval "$as_ac_Header=no"
                   6988: fi
                   6989: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.11      paf      6990: fi
1.25      moko     6991: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   6992: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   6993: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   6994:   cat >>confdefs.h <<_ACEOF
                   6995: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   6996: _ACEOF
                   6997: 
1.11      paf      6998: fi
1.25      moko     6999: 
                   7000: done
                   7001: 
                   7002: 
                   7003: 
                   7004: for ac_header in dlfcn.h
                   7005: do
                   7006: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   7007: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   7008: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   7009: if eval "test \"\${$as_ac_Header+set}\" = set"; then
1.11      paf      7010:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7011: else
1.25      moko     7012:   cat >conftest.$ac_ext <<_ACEOF
1.11      paf      7013: /* confdefs.h.  */
                   7014: _ACEOF
                   7015: cat confdefs.h >>conftest.$ac_ext
                   7016: cat >>conftest.$ac_ext <<_ACEOF
                   7017: /* end confdefs.h.  */
1.25      moko     7018: $ac_includes_default
1.11      paf      7019: 
1.25      moko     7020: #include <$ac_header>
1.11      paf      7021: _ACEOF
1.25      moko     7022: rm -f conftest.$ac_objext
                   7023: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   7024:   (eval $ac_compile) 2>conftest.er1
1.11      paf      7025:   ac_status=$?
1.18      paf      7026:   grep -v '^ *+' conftest.er1 >conftest.err
                   7027:   rm -f conftest.er1
                   7028:   cat conftest.err >&5
1.11      paf      7029:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7030:   (exit $ac_status); } &&
1.18      paf      7031:         { ac_try='test -z "$ac_c_werror_flag"
                   7032:                         || test ! -s conftest.err'
                   7033:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7034:   (eval $ac_try) 2>&5
                   7035:   ac_status=$?
                   7036:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7037:   (exit $ac_status); }; } &&
1.25      moko     7038:         { ac_try='test -s conftest.$ac_objext'
1.11      paf      7039:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   7040:   (eval $ac_try) 2>&5
                   7041:   ac_status=$?
                   7042:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7043:   (exit $ac_status); }; }; then
1.25      moko     7044:   eval "$as_ac_Header=yes"
1.11      paf      7045: else
                   7046:   echo "$as_me: failed program was:" >&5
                   7047: sed 's/^/| /' conftest.$ac_ext >&5
                   7048: 
1.25      moko     7049: eval "$as_ac_Header=no"
1.11      paf      7050: fi
1.25      moko     7051: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1.11      paf      7052: fi
1.25      moko     7053: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   7054: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   7055: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   7056:   cat >>confdefs.h <<_ACEOF
                   7057: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1.11      paf      7058: _ACEOF
1.18      paf      7059: 
1.25      moko     7060: fi
                   7061: 
                   7062: done
                   7063: 
1.18      paf      7064: 
                   7065: 
                   7066: 
1.25      moko     7067: func_stripname_cnf ()
1.11      paf      7068: {
1.25      moko     7069:   case ${2} in
                   7070:   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
                   7071:   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
                   7072:   esac
                   7073: } # func_stripname_cnf
                   7074: 
                   7075: 
                   7076: 
                   7077: 
                   7078: 
                   7079: # Set options
1.31    ! moko     7080: # Check whether --enable-static or --disable-static was given.
        !          7081: if test "${enable_static+set}" = set; then
        !          7082:   enableval="$enable_static"
        !          7083:   p=${PACKAGE-default}
        !          7084:     case $enableval in
        !          7085:     yes) enable_static=yes ;;
        !          7086:     no) enable_static=no ;;
        !          7087:     *)
        !          7088:      enable_static=no
        !          7089:       # Look at the argument we got.  We use all the common list separators.
        !          7090:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
        !          7091:       for pkg in $enableval; do
        !          7092:        IFS="$lt_save_ifs"
        !          7093:        if test "X$pkg" = "X$p"; then
        !          7094:          enable_static=yes
        !          7095:        fi
        !          7096:       done
        !          7097:       IFS="$lt_save_ifs"
        !          7098:       ;;
        !          7099:     esac
        !          7100: else
        !          7101:   enable_static=no
        !          7102: fi;
        !          7103: 
        !          7104: 
        !          7105: 
        !          7106: 
        !          7107: 
        !          7108: 
1.25      moko     7109: enable_dlopen=yes
                   7110: enable_win32_dll=yes
                   7111: 
                   7112: case $host in
                   7113: *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
                   7114:   if test -n "$ac_tool_prefix"; then
                   7115:   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
                   7116: set dummy ${ac_tool_prefix}as; ac_word=$2
                   7117: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7118: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7119: if test "${ac_cv_prog_AS+set}" = set; then
                   7120:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7121: else
                   7122:   if test -n "$AS"; then
                   7123:   ac_cv_prog_AS="$AS" # Let the user override the test.
                   7124: else
                   7125: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7126: for as_dir in $PATH
                   7127: do
                   7128:   IFS=$as_save_IFS
                   7129:   test -z "$as_dir" && as_dir=.
                   7130:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7131:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7132:     ac_cv_prog_AS="${ac_tool_prefix}as"
                   7133:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7134:     break 2
                   7135:   fi
                   7136: done
                   7137: done
1.11      paf      7138: 
1.25      moko     7139: fi
                   7140: fi
                   7141: AS=$ac_cv_prog_AS
                   7142: if test -n "$AS"; then
                   7143:   echo "$as_me:$LINENO: result: $AS" >&5
                   7144: echo "${ECHO_T}$AS" >&6
                   7145: else
                   7146:   echo "$as_me:$LINENO: result: no" >&5
                   7147: echo "${ECHO_T}no" >&6
                   7148: fi
                   7149: 
                   7150: fi
                   7151: if test -z "$ac_cv_prog_AS"; then
                   7152:   ac_ct_AS=$AS
                   7153:   # Extract the first word of "as", so it can be a program name with args.
                   7154: set dummy as; ac_word=$2
                   7155: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7156: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7157: if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
                   7158:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7159: else
                   7160:   if test -n "$ac_ct_AS"; then
                   7161:   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
1.11      paf      7162: else
1.25      moko     7163: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7164: for as_dir in $PATH
                   7165: do
                   7166:   IFS=$as_save_IFS
                   7167:   test -z "$as_dir" && as_dir=.
                   7168:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7169:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7170:     ac_cv_prog_ac_ct_AS="as"
                   7171:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7172:     break 2
                   7173:   fi
                   7174: done
                   7175: done
1.11      paf      7176: 
1.25      moko     7177:   test -z "$ac_cv_prog_ac_ct_AS" && ac_cv_prog_ac_ct_AS="false"
                   7178: fi
1.11      paf      7179: fi
1.25      moko     7180: ac_ct_AS=$ac_cv_prog_ac_ct_AS
                   7181: if test -n "$ac_ct_AS"; then
                   7182:   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
                   7183: echo "${ECHO_T}$ac_ct_AS" >&6
                   7184: else
                   7185:   echo "$as_me:$LINENO: result: no" >&5
                   7186: echo "${ECHO_T}no" >&6
1.11      paf      7187: fi
1.25      moko     7188: 
                   7189:   AS=$ac_ct_AS
1.11      paf      7190: else
1.25      moko     7191:   AS="$ac_cv_prog_AS"
                   7192: fi
                   7193: 
                   7194:   if test -n "$ac_tool_prefix"; then
                   7195:   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
                   7196: set dummy ${ac_tool_prefix}dlltool; ac_word=$2
                   7197: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7198: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7199: if test "${ac_cv_prog_DLLTOOL+set}" = set; then
1.11      paf      7200:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7201: else
1.25      moko     7202:   if test -n "$DLLTOOL"; then
                   7203:   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
1.11      paf      7204: else
1.25      moko     7205: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7206: for as_dir in $PATH
                   7207: do
                   7208:   IFS=$as_save_IFS
                   7209:   test -z "$as_dir" && as_dir=.
                   7210:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7211:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7212:     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
                   7213:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7214:     break 2
                   7215:   fi
                   7216: done
                   7217: done
1.11      paf      7218: 
                   7219: fi
                   7220: fi
1.25      moko     7221: DLLTOOL=$ac_cv_prog_DLLTOOL
                   7222: if test -n "$DLLTOOL"; then
                   7223:   echo "$as_me:$LINENO: result: $DLLTOOL" >&5
                   7224: echo "${ECHO_T}$DLLTOOL" >&6
1.11      paf      7225: else
1.25      moko     7226:   echo "$as_me:$LINENO: result: no" >&5
                   7227: echo "${ECHO_T}no" >&6
                   7228: fi
                   7229: 
                   7230: fi
                   7231: if test -z "$ac_cv_prog_DLLTOOL"; then
                   7232:   ac_ct_DLLTOOL=$DLLTOOL
                   7233:   # Extract the first word of "dlltool", so it can be a program name with args.
                   7234: set dummy dlltool; ac_word=$2
                   7235: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7236: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7237: if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
1.11      paf      7238:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7239: else
1.25      moko     7240:   if test -n "$ac_ct_DLLTOOL"; then
                   7241:   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
1.11      paf      7242: else
1.25      moko     7243: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7244: for as_dir in $PATH
                   7245: do
                   7246:   IFS=$as_save_IFS
                   7247:   test -z "$as_dir" && as_dir=.
                   7248:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7249:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7250:     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
                   7251:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7252:     break 2
                   7253:   fi
                   7254: done
                   7255: done
1.11      paf      7256: 
1.25      moko     7257:   test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
                   7258: fi
1.11      paf      7259: fi
1.25      moko     7260: ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
                   7261: if test -n "$ac_ct_DLLTOOL"; then
                   7262:   echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
                   7263: echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
                   7264: else
                   7265:   echo "$as_me:$LINENO: result: no" >&5
                   7266: echo "${ECHO_T}no" >&6
1.11      paf      7267: fi
1.25      moko     7268: 
                   7269:   DLLTOOL=$ac_ct_DLLTOOL
1.11      paf      7270: else
1.25      moko     7271:   DLLTOOL="$ac_cv_prog_DLLTOOL"
                   7272: fi
                   7273: 
                   7274:   if test -n "$ac_tool_prefix"; then
                   7275:   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
                   7276: set dummy ${ac_tool_prefix}objdump; ac_word=$2
                   7277: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7278: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7279: if test "${ac_cv_prog_OBJDUMP+set}" = set; then
1.11      paf      7280:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7281: else
1.25      moko     7282:   if test -n "$OBJDUMP"; then
                   7283:   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
                   7284: else
                   7285: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7286: for as_dir in $PATH
                   7287: do
                   7288:   IFS=$as_save_IFS
                   7289:   test -z "$as_dir" && as_dir=.
                   7290:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7291:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7292:     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
                   7293:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7294:     break 2
                   7295:   fi
                   7296: done
                   7297: done
                   7298: 
                   7299: fi
                   7300: fi
                   7301: OBJDUMP=$ac_cv_prog_OBJDUMP
                   7302: if test -n "$OBJDUMP"; then
                   7303:   echo "$as_me:$LINENO: result: $OBJDUMP" >&5
                   7304: echo "${ECHO_T}$OBJDUMP" >&6
                   7305: else
                   7306:   echo "$as_me:$LINENO: result: no" >&5
                   7307: echo "${ECHO_T}no" >&6
                   7308: fi
1.11      paf      7309: 
1.25      moko     7310: fi
                   7311: if test -z "$ac_cv_prog_OBJDUMP"; then
                   7312:   ac_ct_OBJDUMP=$OBJDUMP
                   7313:   # Extract the first word of "objdump", so it can be a program name with args.
                   7314: set dummy objdump; ac_word=$2
                   7315: echo "$as_me:$LINENO: checking for $ac_word" >&5
                   7316: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
                   7317: if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
                   7318:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7319: else
                   7320:   if test -n "$ac_ct_OBJDUMP"; then
                   7321:   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
1.11      paf      7322: else
1.25      moko     7323: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   7324: for as_dir in $PATH
                   7325: do
                   7326:   IFS=$as_save_IFS
                   7327:   test -z "$as_dir" && as_dir=.
                   7328:   for ac_exec_ext in '' $ac_executable_extensions; do
                   7329:   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
                   7330:     ac_cv_prog_ac_ct_OBJDUMP="objdump"
                   7331:     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
                   7332:     break 2
                   7333:   fi
                   7334: done
                   7335: done
1.11      paf      7336: 
1.25      moko     7337:   test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
                   7338: fi
1.11      paf      7339: fi
1.25      moko     7340: ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
                   7341: if test -n "$ac_ct_OBJDUMP"; then
                   7342:   echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
                   7343: echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
                   7344: else
                   7345:   echo "$as_me:$LINENO: result: no" >&5
                   7346: echo "${ECHO_T}no" >&6
1.11      paf      7347: fi
1.25      moko     7348: 
                   7349:   OBJDUMP=$ac_ct_OBJDUMP
                   7350: else
                   7351:   OBJDUMP="$ac_cv_prog_OBJDUMP"
1.11      paf      7352: fi
                   7353: 
1.25      moko     7354:   ;;
                   7355: esac
                   7356: 
                   7357: test -z "$AS" && AS=as
                   7358: 
1.11      paf      7359: 
                   7360: 
                   7361: 
                   7362: 
1.25      moko     7363: test -z "$DLLTOOL" && DLLTOOL=dlltool
1.11      paf      7364: 
                   7365: 
                   7366: 
                   7367: 
                   7368: 
1.25      moko     7369: test -z "$OBJDUMP" && OBJDUMP=objdump
1.11      paf      7370: 
                   7371: 
                   7372: 
                   7373: 
                   7374: 
                   7375: 
                   7376: 
                   7377: 
                   7378: 
1.25      moko     7379:             # Check whether --enable-shared or --disable-shared was given.
                   7380: if test "${enable_shared+set}" = set; then
                   7381:   enableval="$enable_shared"
                   7382:   p=${PACKAGE-default}
                   7383:     case $enableval in
                   7384:     yes) enable_shared=yes ;;
                   7385:     no) enable_shared=no ;;
                   7386:     *)
                   7387:       enable_shared=no
                   7388:       # Look at the argument we got.  We use all the common list separators.
                   7389:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   7390:       for pkg in $enableval; do
                   7391:        IFS="$lt_save_ifs"
                   7392:        if test "X$pkg" = "X$p"; then
                   7393:          enable_shared=yes
                   7394:        fi
                   7395:       done
                   7396:       IFS="$lt_save_ifs"
                   7397:       ;;
                   7398:     esac
                   7399: else
                   7400:   enable_shared=yes
                   7401: fi;
1.11      paf      7402: 
                   7403: 
                   7404: 
                   7405: 
                   7406: 
                   7407: 
                   7408: 
                   7409: 
                   7410: 
                   7411: 
1.25      moko     7412: # Check whether --with-pic or --without-pic was given.
                   7413: if test "${with_pic+set}" = set; then
                   7414:   withval="$with_pic"
                   7415:   lt_p=${PACKAGE-default}
                   7416:     case $withval in
                   7417:     yes|no) pic_mode=$withval ;;
                   7418:     *)
                   7419:       pic_mode=default
                   7420:       # Look at the argument we got.  We use all the common list separators.
                   7421:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   7422:       for lt_pkg in $withval; do
                   7423:        IFS="$lt_save_ifs"
                   7424:        if test "X$lt_pkg" = "X$lt_p"; then
                   7425:          pic_mode=yes
                   7426:        fi
                   7427:       done
                   7428:       IFS="$lt_save_ifs"
                   7429:       ;;
1.11      paf      7430:     esac
1.25      moko     7431: else
                   7432:   pic_mode=default
                   7433: fi;
1.11      paf      7434: 
1.25      moko     7435: test -z "$pic_mode" && pic_mode=default
1.11      paf      7436: 
                   7437: 
                   7438: 
                   7439: 
                   7440: 
                   7441: 
                   7442: 
1.25      moko     7443:   # Check whether --enable-fast-install or --disable-fast-install was given.
                   7444: if test "${enable_fast_install+set}" = set; then
                   7445:   enableval="$enable_fast_install"
                   7446:   p=${PACKAGE-default}
                   7447:     case $enableval in
                   7448:     yes) enable_fast_install=yes ;;
                   7449:     no) enable_fast_install=no ;;
1.11      paf      7450:     *)
1.25      moko     7451:       enable_fast_install=no
                   7452:       # Look at the argument we got.  We use all the common list separators.
                   7453:       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
                   7454:       for pkg in $enableval; do
                   7455:        IFS="$lt_save_ifs"
                   7456:        if test "X$pkg" = "X$p"; then
                   7457:          enable_fast_install=yes
                   7458:        fi
                   7459:       done
                   7460:       IFS="$lt_save_ifs"
1.11      paf      7461:       ;;
                   7462:     esac
1.25      moko     7463: else
                   7464:   enable_fast_install=yes
                   7465: fi;
1.11      paf      7466: 
                   7467: 
                   7468: 
                   7469: 
                   7470: 
                   7471: 
                   7472: 
                   7473: 
                   7474: 
                   7475: 
1.25      moko     7476: # This can be used to rebuild libtool when needed
                   7477: LIBTOOL_DEPS="$ltmain"
1.11      paf      7478: 
1.25      moko     7479: # Always use our own libtool.
                   7480: LIBTOOL='$(SHELL) $(top_builddir)/libtool'
1.11      paf      7481: 
                   7482: 
                   7483: 
                   7484: 
                   7485: 
                   7486: 
                   7487: 
                   7488: 
                   7489: 
                   7490: 
                   7491: 
                   7492: 
                   7493: 
                   7494: 
                   7495: 
                   7496: 
                   7497: 
                   7498: 
                   7499: 
                   7500: 
                   7501: 
                   7502: 
                   7503: 
                   7504: 
                   7505: 
                   7506: 
                   7507: 
                   7508: 
                   7509: 
                   7510: 
1.25      moko     7511: test -z "$LN_S" && LN_S="ln -s"
1.11      paf      7512: 
                   7513: 
                   7514: 
                   7515: 
                   7516: 
                   7517: 
                   7518: 
                   7519: 
                   7520: 
                   7521: 
                   7522: 
                   7523: 
                   7524: 
                   7525: 
1.25      moko     7526: if test -n "${ZSH_VERSION+set}" ; then
                   7527:    setopt NO_GLOB_SUBST
                   7528: fi
1.11      paf      7529: 
1.25      moko     7530: echo "$as_me:$LINENO: checking for objdir" >&5
                   7531: echo $ECHO_N "checking for objdir... $ECHO_C" >&6
                   7532: if test "${lt_cv_objdir+set}" = set; then
                   7533:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7534: else
                   7535:   rm -f .libs 2>/dev/null
                   7536: mkdir .libs 2>/dev/null
                   7537: if test -d .libs; then
                   7538:   lt_cv_objdir=.libs
                   7539: else
                   7540:   # MS-DOS does not allow filenames that begin with a dot.
                   7541:   lt_cv_objdir=_libs
                   7542: fi
                   7543: rmdir .libs 2>/dev/null
                   7544: fi
                   7545: echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
                   7546: echo "${ECHO_T}$lt_cv_objdir" >&6
                   7547: objdir=$lt_cv_objdir
1.11      paf      7548: 
                   7549: 
                   7550: 
                   7551: 
                   7552: 
1.25      moko     7553: cat >>confdefs.h <<_ACEOF
                   7554: #define LT_OBJDIR "$lt_cv_objdir/"
                   7555: _ACEOF
1.11      paf      7556: 
                   7557: 
                   7558: 
                   7559: 
1.25      moko     7560: case $host_os in
                   7561: aix3*)
                   7562:   # AIX sometimes has problems with the GCC collect2 program.  For some
                   7563:   # reason, if we set the COLLECT_NAMES environment variable, the problems
                   7564:   # vanish in a puff of smoke.
                   7565:   if test "X${COLLECT_NAMES+set}" != Xset; then
                   7566:     COLLECT_NAMES=
                   7567:     export COLLECT_NAMES
                   7568:   fi
                   7569:   ;;
                   7570: esac
1.11      paf      7571: 
1.25      moko     7572: # Global variables:
                   7573: ofile=libtool
                   7574: can_build_shared=yes
1.11      paf      7575: 
1.25      moko     7576: # All known linkers require a `.a' archive for static linking (except MSVC,
                   7577: # which needs '.lib').
                   7578: libext=a
1.11      paf      7579: 
1.25      moko     7580: with_gnu_ld="$lt_cv_prog_gnu_ld"
1.11      paf      7581: 
1.25      moko     7582: old_CC="$CC"
                   7583: old_CFLAGS="$CFLAGS"
1.11      paf      7584: 
1.25      moko     7585: # Set sane defaults for various variables
                   7586: test -z "$CC" && CC=cc
                   7587: test -z "$LTCC" && LTCC=$CC
                   7588: test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
                   7589: test -z "$LD" && LD=ld
                   7590: test -z "$ac_objext" && ac_objext=o
1.11      paf      7591: 
1.25      moko     7592: for cc_temp in $compiler""; do
                   7593:   case $cc_temp in
                   7594:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   7595:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   7596:     \-*) ;;
                   7597:     *) break;;
                   7598:   esac
                   7599: done
                   7600: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
1.11      paf      7601: 
                   7602: 
1.25      moko     7603: # Only perform the check for file, if the check method requires it
                   7604: test -z "$MAGIC_CMD" && MAGIC_CMD=file
                   7605: case $deplibs_check_method in
                   7606: file_magic*)
                   7607:   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
                   7608:     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
                   7609: echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
                   7610: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
                   7611:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7612: else
                   7613:   case $MAGIC_CMD in
                   7614: [\\/*] |  ?:[\\/]*)
                   7615:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   7616:   ;;
                   7617: *)
                   7618:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   7619:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   7620:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   7621:   for ac_dir in $ac_dummy; do
                   7622:     IFS="$lt_save_ifs"
                   7623:     test -z "$ac_dir" && ac_dir=.
                   7624:     if test -f $ac_dir/${ac_tool_prefix}file; then
                   7625:       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
                   7626:       if test -n "$file_magic_test_file"; then
                   7627:        case $deplibs_check_method in
                   7628:        "file_magic "*)
                   7629:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   7630:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   7631:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   7632:            $EGREP "$file_magic_regex" > /dev/null; then
                   7633:            :
                   7634:          else
                   7635:            cat <<_LT_EOF 1>&2
1.11      paf      7636: 
1.25      moko     7637: *** Warning: the command libtool uses to detect shared libraries,
                   7638: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   7639: *** The result is that libtool may fail to recognize shared libraries
                   7640: *** as such.  This will affect the creation of libtool libraries that
                   7641: *** depend on shared libraries, but programs linked with such libtool
                   7642: *** libraries will work regardless of this problem.  Nevertheless, you
                   7643: *** may want to report the problem to your system manager and/or to
                   7644: *** bug-libtool@gnu.org
1.11      paf      7645: 
1.25      moko     7646: _LT_EOF
                   7647:          fi ;;
                   7648:        esac
                   7649:       fi
                   7650:       break
                   7651:     fi
                   7652:   done
                   7653:   IFS="$lt_save_ifs"
                   7654:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   7655:   ;;
                   7656: esac
                   7657: fi
1.7       paf      7658: 
1.25      moko     7659: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   7660: if test -n "$MAGIC_CMD"; then
                   7661:   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
                   7662: echo "${ECHO_T}$MAGIC_CMD" >&6
                   7663: else
                   7664:   echo "$as_me:$LINENO: result: no" >&5
                   7665: echo "${ECHO_T}no" >&6
                   7666: fi
1.7       paf      7667: 
                   7668: 
                   7669: 
                   7670: 
                   7671: 
1.25      moko     7672: if test -z "$lt_cv_path_MAGIC_CMD"; then
                   7673:   if test -n "$ac_tool_prefix"; then
                   7674:     echo "$as_me:$LINENO: checking for file" >&5
                   7675: echo $ECHO_N "checking for file... $ECHO_C" >&6
                   7676: if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
                   7677:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7678: else
                   7679:   case $MAGIC_CMD in
                   7680: [\\/*] |  ?:[\\/]*)
                   7681:   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
                   7682:   ;;
                   7683: *)
                   7684:   lt_save_MAGIC_CMD="$MAGIC_CMD"
                   7685:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   7686:   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
                   7687:   for ac_dir in $ac_dummy; do
                   7688:     IFS="$lt_save_ifs"
                   7689:     test -z "$ac_dir" && ac_dir=.
                   7690:     if test -f $ac_dir/file; then
                   7691:       lt_cv_path_MAGIC_CMD="$ac_dir/file"
                   7692:       if test -n "$file_magic_test_file"; then
                   7693:        case $deplibs_check_method in
                   7694:        "file_magic "*)
                   7695:          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
                   7696:          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   7697:          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
                   7698:            $EGREP "$file_magic_regex" > /dev/null; then
                   7699:            :
                   7700:          else
                   7701:            cat <<_LT_EOF 1>&2
1.7       paf      7702: 
1.25      moko     7703: *** Warning: the command libtool uses to detect shared libraries,
                   7704: *** $file_magic_cmd, produces output that libtool cannot recognize.
                   7705: *** The result is that libtool may fail to recognize shared libraries
                   7706: *** as such.  This will affect the creation of libtool libraries that
                   7707: *** depend on shared libraries, but programs linked with such libtool
                   7708: *** libraries will work regardless of this problem.  Nevertheless, you
                   7709: *** may want to report the problem to your system manager and/or to
                   7710: *** bug-libtool@gnu.org
1.7       paf      7711: 
1.25      moko     7712: _LT_EOF
                   7713:          fi ;;
                   7714:        esac
                   7715:       fi
                   7716:       break
                   7717:     fi
                   7718:   done
                   7719:   IFS="$lt_save_ifs"
                   7720:   MAGIC_CMD="$lt_save_MAGIC_CMD"
                   7721:   ;;
                   7722: esac
                   7723: fi
1.7       paf      7724: 
1.25      moko     7725: MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
                   7726: if test -n "$MAGIC_CMD"; then
                   7727:   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
                   7728: echo "${ECHO_T}$MAGIC_CMD" >&6
                   7729: else
                   7730:   echo "$as_me:$LINENO: result: no" >&5
                   7731: echo "${ECHO_T}no" >&6
1.11      paf      7732: fi
                   7733: 
                   7734: 
1.25      moko     7735:   else
                   7736:     MAGIC_CMD=:
                   7737:   fi
1.1       parser   7738: fi
                   7739: 
1.25      moko     7740:   fi
                   7741:   ;;
                   7742: esac
1.1       parser   7743: 
1.25      moko     7744: # Use C for the default configuration in the libtool script
1.1       parser   7745: 
1.25      moko     7746: lt_save_CC="$CC"
                   7747: ac_ext=c
                   7748: ac_cpp='$CPP $CPPFLAGS'
                   7749: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   7750: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   7751: ac_compiler_gnu=$ac_cv_c_compiler_gnu
1.1       parser   7752: 
                   7753: 
1.25      moko     7754: # Source file extension for C test sources.
                   7755: ac_ext=c
1.11      paf      7756: 
1.25      moko     7757: # Object file extension for compiled C test sources.
                   7758: objext=o
                   7759: objext=$objext
1.11      paf      7760: 
1.25      moko     7761: # Code to be used in simple compile tests
                   7762: lt_simple_compile_test_code="int some_variable = 0;"
1.11      paf      7763: 
1.25      moko     7764: # Code to be used in simple link tests
                   7765: lt_simple_link_test_code='int main(){return(0);}'
1.11      paf      7766: 
                   7767: 
                   7768: 
                   7769: 
                   7770: 
1.1       parser   7771: 
                   7772: 
1.25      moko     7773: # If no C compiler was specified, use CC.
                   7774: LTCC=${LTCC-"$CC"}
1.1       parser   7775: 
1.25      moko     7776: # If no C compiler flags were specified, use CFLAGS.
                   7777: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
1.1       parser   7778: 
1.25      moko     7779: # Allow CC to be a program name with arguments.
                   7780: compiler=$CC
1.1       parser   7781: 
1.25      moko     7782: # Save the default compiler, since it gets overwritten when the other
                   7783: # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
                   7784: compiler_DEFAULT=$CC
                   7785: 
                   7786: # save warnings/boilerplate of simple test code
                   7787: ac_outfile=conftest.$ac_objext
                   7788: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   7789: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   7790: _lt_compiler_boilerplate=`cat conftest.err`
                   7791: $RM conftest*
                   7792: 
                   7793: ac_outfile=conftest.$ac_objext
                   7794: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   7795: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   7796: _lt_linker_boilerplate=`cat conftest.err`
                   7797: $RM -r conftest*
                   7798: 
                   7799: 
                   7800: ## CAVEAT EMPTOR:
                   7801: ## There is no encapsulation within the following macros, do not change
                   7802: ## the running order or otherwise move them around unless you know exactly
                   7803: ## what you are doing...
                   7804: if test -n "$compiler"; then
1.1       parser   7805: 
1.25      moko     7806: lt_prog_compiler_no_builtin_flag=
1.1       parser   7807: 
1.25      moko     7808: if test "$GCC" = yes; then
                   7809:   case $cc_basename in
                   7810:   nvcc*)
                   7811:     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
                   7812:   *)
                   7813:     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
                   7814:   esac
1.1       parser   7815: 
1.25      moko     7816:   echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
                   7817: echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
                   7818: if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
1.11      paf      7819:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   7820: else
1.25      moko     7821:   lt_cv_prog_compiler_rtti_exceptions=no
                   7822:    ac_outfile=conftest.$ac_objext
                   7823:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   7824:    lt_compiler_flag="-fno-rtti -fno-exceptions"
                   7825:    # Insert the option either (1) after the last *FLAGS variable, or
                   7826:    # (2) before a word containing "conftest.", or (3) at the end.
                   7827:    # Note that $ac_compile itself does not contain backslashes and begins
                   7828:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   7829:    # The option is referenced via a variable to avoid confusing sed.
                   7830:    lt_compile=`echo "$ac_compile" | $SED \
                   7831:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   7832:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   7833:    -e 's:$: $lt_compiler_flag:'`
                   7834:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   7835:    (eval "$lt_compile" 2>conftest.err)
                   7836:    ac_status=$?
                   7837:    cat conftest.err >&5
                   7838:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   7839:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   7840:      # The compiler can only warn and ignore the option if not recognized
                   7841:      # So say no if there are warnings other than the usual output.
                   7842:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   7843:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   7844:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   7845:        lt_cv_prog_compiler_rtti_exceptions=yes
                   7846:      fi
                   7847:    fi
                   7848:    $RM conftest*
1.11      paf      7849: 
                   7850: fi
1.25      moko     7851: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
                   7852: echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
1.11      paf      7853: 
1.25      moko     7854: if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
                   7855:     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
1.11      paf      7856: else
1.25      moko     7857:     :
1.11      paf      7858: fi
                   7859: 
                   7860: fi
                   7861: 
1.25      moko     7862: 
                   7863: 
                   7864: 
                   7865: 
                   7866: 
                   7867:   lt_prog_compiler_wl=
                   7868: lt_prog_compiler_pic=
                   7869: lt_prog_compiler_static=
                   7870: 
                   7871: 
                   7872:   if test "$GCC" = yes; then
                   7873:     lt_prog_compiler_wl='-Wl,'
                   7874:     lt_prog_compiler_static='-static'
                   7875: 
                   7876:     case $host_os in
                   7877:       aix*)
                   7878:       # All AIX code is PIC.
                   7879:       if test "$host_cpu" = ia64; then
                   7880:        # AIX 5 now supports IA64 processor
                   7881:        lt_prog_compiler_static='-Bstatic'
                   7882:       fi
                   7883:       ;;
                   7884: 
                   7885:     amigaos*)
                   7886:       case $host_cpu in
                   7887:       powerpc)
                   7888:             # see comment about AmigaOS4 .so support
                   7889:             lt_prog_compiler_pic='-fPIC'
                   7890:         ;;
                   7891:       m68k)
                   7892:             # FIXME: we need at least 68020 code to build shared libraries, but
                   7893:             # adding the `-m68020' flag to GCC prevents building anything better,
                   7894:             # like `-m68040'.
                   7895:             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
                   7896:         ;;
                   7897:       esac
                   7898:       ;;
                   7899: 
                   7900:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   7901:       # PIC is the default for these OSes.
                   7902:       ;;
                   7903: 
                   7904:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   7905:       # This hack is so that the source file can tell whether it is being
                   7906:       # built for inclusion in a dll (and should export symbols for example).
                   7907:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   7908:       # (--disable-auto-import) libraries
                   7909:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   7910:       ;;
                   7911: 
                   7912:     darwin* | rhapsody*)
                   7913:       # PIC is the default on this platform
                   7914:       # Common symbols not allowed in MH_DYLIB files
                   7915:       lt_prog_compiler_pic='-fno-common'
                   7916:       ;;
                   7917: 
                   7918:     haiku*)
                   7919:       # PIC is the default for Haiku.
                   7920:       # The "-static" flag exists, but is broken.
                   7921:       lt_prog_compiler_static=
                   7922:       ;;
                   7923: 
                   7924:     hpux*)
                   7925:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   7926:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   7927:       # sets the default TLS model and affects inlining.
                   7928:       case $host_cpu in
                   7929:       hppa*64*)
                   7930:        # +Z the default
                   7931:        ;;
                   7932:       *)
                   7933:        lt_prog_compiler_pic='-fPIC'
                   7934:        ;;
                   7935:       esac
                   7936:       ;;
                   7937: 
                   7938:     interix[3-9]*)
                   7939:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   7940:       # Instead, we relocate shared libraries at runtime.
                   7941:       ;;
                   7942: 
                   7943:     msdosdjgpp*)
                   7944:       # Just because we use GCC doesn't mean we suddenly get shared libraries
                   7945:       # on systems that don't support them.
                   7946:       lt_prog_compiler_can_build_shared=no
                   7947:       enable_shared=no
                   7948:       ;;
                   7949: 
                   7950:     *nto* | *qnx*)
                   7951:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   7952:       # it will coredump.
                   7953:       lt_prog_compiler_pic='-fPIC -shared'
                   7954:       ;;
                   7955: 
                   7956:     sysv4*MP*)
                   7957:       if test -d /usr/nec; then
                   7958:        lt_prog_compiler_pic=-Kconform_pic
                   7959:       fi
                   7960:       ;;
                   7961: 
                   7962:     *)
                   7963:       lt_prog_compiler_pic='-fPIC'
                   7964:       ;;
                   7965:     esac
                   7966: 
                   7967:     case $cc_basename in
                   7968:     nvcc*) # Cuda Compiler Driver 2.2
                   7969:       lt_prog_compiler_wl='-Xlinker '
                   7970:       if test -n "$lt_prog_compiler_pic"; then
                   7971:         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
                   7972:       fi
                   7973:       ;;
                   7974:     esac
                   7975:   else
                   7976:     # PORTME Check for flag to pass linker flags through the system compiler.
                   7977:     case $host_os in
                   7978:     aix*)
                   7979:       lt_prog_compiler_wl='-Wl,'
                   7980:       if test "$host_cpu" = ia64; then
                   7981:        # AIX 5 now supports IA64 processor
                   7982:        lt_prog_compiler_static='-Bstatic'
                   7983:       else
                   7984:        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
                   7985:       fi
                   7986:       ;;
                   7987: 
                   7988:     mingw* | cygwin* | pw32* | os2* | cegcc*)
                   7989:       # This hack is so that the source file can tell whether it is being
                   7990:       # built for inclusion in a dll (and should export symbols for example).
                   7991:       lt_prog_compiler_pic='-DDLL_EXPORT'
                   7992:       ;;
                   7993: 
                   7994:     hpux9* | hpux10* | hpux11*)
                   7995:       lt_prog_compiler_wl='-Wl,'
                   7996:       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
                   7997:       # not for PA HP-UX.
                   7998:       case $host_cpu in
                   7999:       hppa*64*|ia64*)
                   8000:        # +Z the default
                   8001:        ;;
                   8002:       *)
                   8003:        lt_prog_compiler_pic='+Z'
                   8004:        ;;
                   8005:       esac
                   8006:       # Is there a better lt_prog_compiler_static that works with the bundled CC?
                   8007:       lt_prog_compiler_static='${wl}-a ${wl}archive'
                   8008:       ;;
                   8009: 
                   8010:     irix5* | irix6* | nonstopux*)
                   8011:       lt_prog_compiler_wl='-Wl,'
                   8012:       # PIC (with -KPIC) is the default.
                   8013:       lt_prog_compiler_static='-non_shared'
                   8014:       ;;
                   8015: 
                   8016:     linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   8017:       case $cc_basename in
                   8018:       # old Intel for x86_64 which still supported -KPIC.
                   8019:       ecc*)
                   8020:        lt_prog_compiler_wl='-Wl,'
                   8021:        lt_prog_compiler_pic='-KPIC'
                   8022:        lt_prog_compiler_static='-static'
                   8023:         ;;
                   8024:       # icc used to be incompatible with GCC.
                   8025:       # ICC 10 doesn't accept -KPIC any more.
                   8026:       icc* | ifort*)
                   8027:        lt_prog_compiler_wl='-Wl,'
                   8028:        lt_prog_compiler_pic='-fPIC'
                   8029:        lt_prog_compiler_static='-static'
                   8030:         ;;
                   8031:       # Lahey Fortran 8.1.
                   8032:       lf95*)
                   8033:        lt_prog_compiler_wl='-Wl,'
                   8034:        lt_prog_compiler_pic='--shared'
                   8035:        lt_prog_compiler_static='--static'
                   8036:        ;;
                   8037:       nagfor*)
                   8038:        # NAG Fortran compiler
                   8039:        lt_prog_compiler_wl='-Wl,-Wl,,'
                   8040:        lt_prog_compiler_pic='-PIC'
                   8041:        lt_prog_compiler_static='-Bstatic'
                   8042:        ;;
                   8043:       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
                   8044:         # Portland Group compilers (*not* the Pentium gcc compiler,
                   8045:        # which looks to be a dead project)
                   8046:        lt_prog_compiler_wl='-Wl,'
                   8047:        lt_prog_compiler_pic='-fpic'
                   8048:        lt_prog_compiler_static='-Bstatic'
                   8049:         ;;
                   8050:       ccc*)
                   8051:         lt_prog_compiler_wl='-Wl,'
                   8052:         # All Alpha code is PIC.
                   8053:         lt_prog_compiler_static='-non_shared'
                   8054:         ;;
                   8055:       xl* | bgxl* | bgf* | mpixl*)
                   8056:        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
                   8057:        lt_prog_compiler_wl='-Wl,'
                   8058:        lt_prog_compiler_pic='-qpic'
                   8059:        lt_prog_compiler_static='-qstaticlink'
                   8060:        ;;
                   8061:       *)
                   8062:        case `$CC -V 2>&1 | sed 5q` in
                   8063:        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
                   8064:          # Sun Fortran 8.3 passes all unrecognized flags to the linker
                   8065:          lt_prog_compiler_pic='-KPIC'
                   8066:          lt_prog_compiler_static='-Bstatic'
                   8067:          lt_prog_compiler_wl=''
                   8068:          ;;
                   8069:        *Sun\ F* | *Sun*Fortran*)
                   8070:          lt_prog_compiler_pic='-KPIC'
                   8071:          lt_prog_compiler_static='-Bstatic'
                   8072:          lt_prog_compiler_wl='-Qoption ld '
                   8073:          ;;
                   8074:        *Sun\ C*)
                   8075:          # Sun C 5.9
                   8076:          lt_prog_compiler_pic='-KPIC'
                   8077:          lt_prog_compiler_static='-Bstatic'
                   8078:          lt_prog_compiler_wl='-Wl,'
                   8079:          ;;
                   8080:         *Intel*\ [CF]*Compiler*)
                   8081:          lt_prog_compiler_wl='-Wl,'
                   8082:          lt_prog_compiler_pic='-fPIC'
                   8083:          lt_prog_compiler_static='-static'
                   8084:          ;;
                   8085:        *Portland\ Group*)
                   8086:          lt_prog_compiler_wl='-Wl,'
                   8087:          lt_prog_compiler_pic='-fpic'
                   8088:          lt_prog_compiler_static='-Bstatic'
                   8089:          ;;
                   8090:        esac
                   8091:        ;;
                   8092:       esac
                   8093:       ;;
                   8094: 
                   8095:     newsos6)
                   8096:       lt_prog_compiler_pic='-KPIC'
                   8097:       lt_prog_compiler_static='-Bstatic'
                   8098:       ;;
                   8099: 
                   8100:     *nto* | *qnx*)
                   8101:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   8102:       # it will coredump.
                   8103:       lt_prog_compiler_pic='-fPIC -shared'
                   8104:       ;;
                   8105: 
                   8106:     osf3* | osf4* | osf5*)
                   8107:       lt_prog_compiler_wl='-Wl,'
                   8108:       # All OSF/1 code is PIC.
                   8109:       lt_prog_compiler_static='-non_shared'
                   8110:       ;;
                   8111: 
                   8112:     rdos*)
                   8113:       lt_prog_compiler_static='-non_shared'
                   8114:       ;;
                   8115: 
                   8116:     solaris*)
                   8117:       lt_prog_compiler_pic='-KPIC'
                   8118:       lt_prog_compiler_static='-Bstatic'
                   8119:       case $cc_basename in
                   8120:       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
                   8121:        lt_prog_compiler_wl='-Qoption ld ';;
                   8122:       *)
                   8123:        lt_prog_compiler_wl='-Wl,';;
                   8124:       esac
                   8125:       ;;
                   8126: 
                   8127:     sunos4*)
                   8128:       lt_prog_compiler_wl='-Qoption ld '
                   8129:       lt_prog_compiler_pic='-PIC'
                   8130:       lt_prog_compiler_static='-Bstatic'
                   8131:       ;;
                   8132: 
                   8133:     sysv4 | sysv4.2uw2* | sysv4.3*)
                   8134:       lt_prog_compiler_wl='-Wl,'
                   8135:       lt_prog_compiler_pic='-KPIC'
                   8136:       lt_prog_compiler_static='-Bstatic'
                   8137:       ;;
                   8138: 
                   8139:     sysv4*MP*)
                   8140:       if test -d /usr/nec ;then
                   8141:        lt_prog_compiler_pic='-Kconform_pic'
                   8142:        lt_prog_compiler_static='-Bstatic'
                   8143:       fi
                   8144:       ;;
                   8145: 
                   8146:     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   8147:       lt_prog_compiler_wl='-Wl,'
                   8148:       lt_prog_compiler_pic='-KPIC'
                   8149:       lt_prog_compiler_static='-Bstatic'
                   8150:       ;;
                   8151: 
                   8152:     unicos*)
                   8153:       lt_prog_compiler_wl='-Wl,'
                   8154:       lt_prog_compiler_can_build_shared=no
                   8155:       ;;
                   8156: 
                   8157:     uts4*)
                   8158:       lt_prog_compiler_pic='-pic'
                   8159:       lt_prog_compiler_static='-Bstatic'
                   8160:       ;;
                   8161: 
                   8162:     *)
                   8163:       lt_prog_compiler_can_build_shared=no
                   8164:       ;;
                   8165:     esac
                   8166:   fi
                   8167: 
                   8168: case $host_os in
                   8169:   # For platforms which do not support PIC, -DPIC is meaningless:
                   8170:   *djgpp*)
                   8171:     lt_prog_compiler_pic=
1.11      paf      8172:     ;;
1.25      moko     8173:   *)
                   8174:     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
1.11      paf      8175:     ;;
                   8176: esac
1.25      moko     8177: 
                   8178: echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
                   8179: echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
                   8180: if test "${lt_cv_prog_compiler_pic+set}" = set; then
                   8181:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8182: else
                   8183:   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
                   8184: fi
                   8185: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic" >&5
                   8186: echo "${ECHO_T}$lt_cv_prog_compiler_pic" >&6
                   8187: lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
                   8188: 
                   8189: #
                   8190: # Check to make sure the PIC flag actually works.
                   8191: #
                   8192: if test -n "$lt_prog_compiler_pic"; then
                   8193:   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
                   8194: echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
                   8195: if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
1.11      paf      8196:   echo $ECHO_N "(cached) $ECHO_C" >&6
1.1       parser   8197: else
1.25      moko     8198:   lt_cv_prog_compiler_pic_works=no
                   8199:    ac_outfile=conftest.$ac_objext
                   8200:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8201:    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
                   8202:    # Insert the option either (1) after the last *FLAGS variable, or
                   8203:    # (2) before a word containing "conftest.", or (3) at the end.
                   8204:    # Note that $ac_compile itself does not contain backslashes and begins
                   8205:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8206:    # The option is referenced via a variable to avoid confusing sed.
                   8207:    lt_compile=`echo "$ac_compile" | $SED \
                   8208:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8209:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8210:    -e 's:$: $lt_compiler_flag:'`
                   8211:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8212:    (eval "$lt_compile" 2>conftest.err)
                   8213:    ac_status=$?
                   8214:    cat conftest.err >&5
                   8215:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8216:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   8217:      # The compiler can only warn and ignore the option if not recognized
                   8218:      # So say no if there are warnings other than the usual output.
                   8219:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   8220:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8221:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   8222:        lt_cv_prog_compiler_pic_works=yes
                   8223:      fi
                   8224:    fi
                   8225:    $RM conftest*
                   8226: 
1.1       parser   8227: fi
1.25      moko     8228: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
                   8229: echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6
1.11      paf      8230: 
1.25      moko     8231: if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
                   8232:     case $lt_prog_compiler_pic in
                   8233:      "" | " "*) ;;
                   8234:      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
                   8235:      esac
                   8236: else
                   8237:     lt_prog_compiler_pic=
                   8238:      lt_prog_compiler_can_build_shared=no
1.1       parser   8239: fi
1.11      paf      8240: 
1.1       parser   8241: fi
1.11      paf      8242: 
1.1       parser   8243: 
                   8244: 
1.4       paf      8245: 
                   8246: 
1.11      paf      8247: 
                   8248: 
1.4       paf      8249: 
                   8250: 
1.25      moko     8251: 
                   8252: 
                   8253: #
                   8254: # Check to make sure the static flag actually works.
                   8255: #
                   8256: wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
                   8257: echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   8258: echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
                   8259: if test "${lt_cv_prog_compiler_static_works+set}" = set; then
                   8260:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8261: else
                   8262:   lt_cv_prog_compiler_static_works=no
                   8263:    save_LDFLAGS="$LDFLAGS"
                   8264:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   8265:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   8266:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   8267:      # The linker can only warn and ignore the option if not recognized
                   8268:      # So say no if there are warnings
                   8269:      if test -s conftest.err; then
                   8270:        # Append any errors to the config.log.
                   8271:        cat conftest.err 1>&5
                   8272:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   8273:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   8274:        if diff conftest.exp conftest.er2 >/dev/null; then
                   8275:          lt_cv_prog_compiler_static_works=yes
                   8276:        fi
                   8277:      else
                   8278:        lt_cv_prog_compiler_static_works=yes
                   8279:      fi
                   8280:    fi
                   8281:    $RM -r conftest*
                   8282:    LDFLAGS="$save_LDFLAGS"
                   8283: 
                   8284: fi
                   8285: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
                   8286: echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6
                   8287: 
                   8288: if test x"$lt_cv_prog_compiler_static_works" = xyes; then
                   8289:     :
1.4       paf      8290: else
1.25      moko     8291:     lt_prog_compiler_static=
                   8292: fi
1.11      paf      8293: 
                   8294: 
1.25      moko     8295: 
                   8296: 
                   8297: 
                   8298: 
                   8299: 
                   8300:   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
                   8301: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
                   8302: if test "${lt_cv_prog_compiler_c_o+set}" = set; then
                   8303:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8304: else
                   8305:   lt_cv_prog_compiler_c_o=no
                   8306:    $RM -r conftest 2>/dev/null
                   8307:    mkdir conftest
                   8308:    cd conftest
                   8309:    mkdir out
                   8310:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8311: 
                   8312:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   8313:    # Insert the option either (1) after the last *FLAGS variable, or
                   8314:    # (2) before a word containing "conftest.", or (3) at the end.
                   8315:    # Note that $ac_compile itself does not contain backslashes and begins
                   8316:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8317:    lt_compile=`echo "$ac_compile" | $SED \
                   8318:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8319:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8320:    -e 's:$: $lt_compiler_flag:'`
                   8321:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8322:    (eval "$lt_compile" 2>out/conftest.err)
                   8323:    ac_status=$?
                   8324:    cat out/conftest.err >&5
                   8325:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8326:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   8327:    then
                   8328:      # The compiler can only warn and ignore the option if not recognized
                   8329:      # So say no if there are warnings
                   8330:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   8331:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   8332:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   8333:        lt_cv_prog_compiler_c_o=yes
                   8334:      fi
                   8335:    fi
                   8336:    chmod u+w . 2>&5
                   8337:    $RM conftest*
                   8338:    # SGI C++ compiler will create directory out/ii_files/ for
                   8339:    # template instantiation
                   8340:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   8341:    $RM out/* && rmdir out
                   8342:    cd ..
                   8343:    $RM -r conftest
                   8344:    $RM conftest*
                   8345: 
                   8346: fi
                   8347: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
                   8348: echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
                   8349: 
                   8350: 
                   8351: 
                   8352: 
                   8353: 
                   8354: 
                   8355:   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
                   8356: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
                   8357: if test "${lt_cv_prog_compiler_c_o+set}" = set; then
                   8358:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8359: else
                   8360:   lt_cv_prog_compiler_c_o=no
                   8361:    $RM -r conftest 2>/dev/null
                   8362:    mkdir conftest
                   8363:    cd conftest
                   8364:    mkdir out
                   8365:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   8366: 
                   8367:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   8368:    # Insert the option either (1) after the last *FLAGS variable, or
                   8369:    # (2) before a word containing "conftest.", or (3) at the end.
                   8370:    # Note that $ac_compile itself does not contain backslashes and begins
                   8371:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   8372:    lt_compile=`echo "$ac_compile" | $SED \
                   8373:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   8374:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   8375:    -e 's:$: $lt_compiler_flag:'`
                   8376:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   8377:    (eval "$lt_compile" 2>out/conftest.err)
                   8378:    ac_status=$?
                   8379:    cat out/conftest.err >&5
                   8380:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8381:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   8382:    then
                   8383:      # The compiler can only warn and ignore the option if not recognized
                   8384:      # So say no if there are warnings
                   8385:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   8386:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   8387:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   8388:        lt_cv_prog_compiler_c_o=yes
                   8389:      fi
                   8390:    fi
                   8391:    chmod u+w . 2>&5
                   8392:    $RM conftest*
                   8393:    # SGI C++ compiler will create directory out/ii_files/ for
                   8394:    # template instantiation
                   8395:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   8396:    $RM out/* && rmdir out
                   8397:    cd ..
                   8398:    $RM -r conftest
                   8399:    $RM conftest*
                   8400: 
                   8401: fi
                   8402: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
                   8403: echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
                   8404: 
                   8405: 
                   8406: 
                   8407: 
                   8408: hard_links="nottested"
                   8409: if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
                   8410:   # do not overwrite the value of need_locks provided by the user
                   8411:   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
                   8412: echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
                   8413:   hard_links=yes
                   8414:   $RM conftest*
                   8415:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   8416:   touch conftest.a
                   8417:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   8418:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   8419:   echo "$as_me:$LINENO: result: $hard_links" >&5
                   8420: echo "${ECHO_T}$hard_links" >&6
                   8421:   if test "$hard_links" = no; then
                   8422:     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   8423: echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
                   8424:     need_locks=warn
                   8425:   fi
                   8426: else
                   8427:   need_locks=no
                   8428: fi
                   8429: 
                   8430: 
                   8431: 
                   8432: 
                   8433: 
                   8434: 
                   8435:   echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   8436: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
                   8437: 
                   8438:   runpath_var=
                   8439:   allow_undefined_flag=
                   8440:   always_export_symbols=no
                   8441:   archive_cmds=
                   8442:   archive_expsym_cmds=
                   8443:   compiler_needs_object=no
                   8444:   enable_shared_with_static_runtimes=no
                   8445:   export_dynamic_flag_spec=
                   8446:   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   8447:   hardcode_automatic=no
                   8448:   hardcode_direct=no
                   8449:   hardcode_direct_absolute=no
                   8450:   hardcode_libdir_flag_spec=
                   8451:   hardcode_libdir_separator=
                   8452:   hardcode_minus_L=no
                   8453:   hardcode_shlibpath_var=unsupported
                   8454:   inherit_rpath=no
                   8455:   link_all_deplibs=unknown
                   8456:   module_cmds=
                   8457:   module_expsym_cmds=
                   8458:   old_archive_from_new_cmds=
                   8459:   old_archive_from_expsyms_cmds=
                   8460:   thread_safe_flag_spec=
                   8461:   whole_archive_flag_spec=
                   8462:   # include_expsyms should be a list of space-separated symbols to be *always*
                   8463:   # included in the symbol list
                   8464:   include_expsyms=
                   8465:   # exclude_expsyms can be an extended regexp of symbols to exclude
                   8466:   # it will be wrapped by ` (' and `)$', so one must not match beginning or
                   8467:   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
                   8468:   # as well as any symbol that contains `d'.
                   8469:   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   8470:   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
                   8471:   # platforms (ab)use it in PIC code, but their linkers get confused if
                   8472:   # the symbol is explicitly referenced.  Since portable code cannot
                   8473:   # rely on this symbol name, it's probably fine to never include it in
                   8474:   # preloaded symbol tables.
                   8475:   # Exclude shared library initialization/finalization symbols.
                   8476:   extract_expsyms_cmds=
                   8477: 
                   8478:   case $host_os in
                   8479:   cygwin* | mingw* | pw32* | cegcc*)
                   8480:     # FIXME: the MSVC++ port hasn't been tested in a loooong time
                   8481:     # When not using gcc, we currently assume that we are using
                   8482:     # Microsoft Visual C++.
                   8483:     if test "$GCC" != yes; then
                   8484:       with_gnu_ld=no
                   8485:     fi
                   8486:     ;;
                   8487:   interix*)
                   8488:     # we just hope/assume this is gcc and not c89 (= MSVC++)
                   8489:     with_gnu_ld=yes
                   8490:     ;;
                   8491:   openbsd*)
                   8492:     with_gnu_ld=no
                   8493:     ;;
                   8494:   esac
                   8495: 
                   8496:   ld_shlibs=yes
                   8497: 
                   8498:   # On some targets, GNU ld is compatible enough with the native linker
                   8499:   # that we're better off using the native interface for both.
                   8500:   lt_use_gnu_ld_interface=no
                   8501:   if test "$with_gnu_ld" = yes; then
                   8502:     case $host_os in
                   8503:       aix*)
                   8504:        # The AIX port of GNU ld has always aspired to compatibility
                   8505:        # with the native linker.  However, as the warning in the GNU ld
                   8506:        # block says, versions before 2.19.5* couldn't really create working
                   8507:        # shared libraries, regardless of the interface used.
                   8508:        case `$LD -v 2>&1` in
                   8509:          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
                   8510:          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
                   8511:          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
                   8512:          *)
                   8513:            lt_use_gnu_ld_interface=yes
                   8514:            ;;
                   8515:        esac
                   8516:        ;;
                   8517:       *)
                   8518:        lt_use_gnu_ld_interface=yes
                   8519:        ;;
                   8520:     esac
                   8521:   fi
                   8522: 
                   8523:   if test "$lt_use_gnu_ld_interface" = yes; then
                   8524:     # If archive_cmds runs LD, not CC, wlarc should be empty
                   8525:     wlarc='${wl}'
                   8526: 
                   8527:     # Set some defaults for GNU ld with shared library support. These
                   8528:     # are reset later if shared libraries are not supported. Putting them
                   8529:     # here allows them to be overridden if necessary.
                   8530:     runpath_var=LD_RUN_PATH
                   8531:     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   8532:     export_dynamic_flag_spec='${wl}--export-dynamic'
                   8533:     # ancient GNU ld didn't support --whole-archive et. al.
                   8534:     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
                   8535:       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   8536:     else
                   8537:       whole_archive_flag_spec=
                   8538:     fi
                   8539:     supports_anon_versioning=no
                   8540:     case `$LD -v 2>&1` in
                   8541:       *GNU\ gold*) supports_anon_versioning=yes ;;
                   8542:       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
                   8543:       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
                   8544:       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
                   8545:       *\ 2.11.*) ;; # other 2.11 versions
                   8546:       *) supports_anon_versioning=yes ;;
                   8547:     esac
                   8548: 
                   8549:     # See if GNU ld supports shared libraries.
                   8550:     case $host_os in
                   8551:     aix[3-9]*)
                   8552:       # On AIX/PPC, the GNU linker is very broken
                   8553:       if test "$host_cpu" != ia64; then
                   8554:        ld_shlibs=no
                   8555:        cat <<_LT_EOF 1>&2
                   8556: 
                   8557: *** Warning: the GNU linker, at least up to release 2.19, is reported
                   8558: *** to be unable to reliably create shared libraries on AIX.
                   8559: *** Therefore, libtool is disabling shared libraries support.  If you
                   8560: *** really care for shared libraries, you may want to install binutils
                   8561: *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
                   8562: *** You will then need to restart the configuration process.
                   8563: 
                   8564: _LT_EOF
                   8565:       fi
                   8566:       ;;
                   8567: 
                   8568:     amigaos*)
                   8569:       case $host_cpu in
                   8570:       powerpc)
                   8571:             # see comment about AmigaOS4 .so support
                   8572:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8573:             archive_expsym_cmds=''
                   8574:         ;;
                   8575:       m68k)
                   8576:             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)'
                   8577:             hardcode_libdir_flag_spec='-L$libdir'
                   8578:             hardcode_minus_L=yes
                   8579:         ;;
                   8580:       esac
                   8581:       ;;
                   8582: 
                   8583:     beos*)
                   8584:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   8585:        allow_undefined_flag=unsupported
                   8586:        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   8587:        # support --undefined.  This deserves some investigation.  FIXME
                   8588:        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8589:       else
                   8590:        ld_shlibs=no
                   8591:       fi
                   8592:       ;;
                   8593: 
                   8594:     cygwin* | mingw* | pw32* | cegcc*)
                   8595:       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
                   8596:       # as there is no search path for DLLs.
                   8597:       hardcode_libdir_flag_spec='-L$libdir'
                   8598:       export_dynamic_flag_spec='${wl}--export-all-symbols'
                   8599:       allow_undefined_flag=unsupported
                   8600:       always_export_symbols=no
                   8601:       enable_shared_with_static_runtimes=yes
                   8602:       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'
                   8603:       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   8604: 
                   8605:       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   8606:         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   8607:        # If the export-symbols file already is a .def file (1st line
                   8608:        # is EXPORTS), use it as is; otherwise, prepend...
                   8609:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   8610:          cp $export_symbols $output_objdir/$soname.def;
                   8611:        else
                   8612:          echo EXPORTS > $output_objdir/$soname.def;
                   8613:          cat $export_symbols >> $output_objdir/$soname.def;
                   8614:        fi~
                   8615:        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   8616:       else
                   8617:        ld_shlibs=no
                   8618:       fi
                   8619:       ;;
                   8620: 
                   8621:     haiku*)
                   8622:       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8623:       link_all_deplibs=yes
                   8624:       ;;
                   8625: 
                   8626:     interix[3-9]*)
                   8627:       hardcode_direct=no
                   8628:       hardcode_shlibpath_var=no
                   8629:       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   8630:       export_dynamic_flag_spec='${wl}-E'
                   8631:       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   8632:       # Instead, shared libraries are loaded at an image base (0x10000000 by
                   8633:       # default) and relocated if they conflict, which is a slow very memory
                   8634:       # consuming and fragmenting process.  To avoid this, we pick a random,
                   8635:       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   8636:       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   8637:       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   8638:       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'
                   8639:       ;;
                   8640: 
                   8641:     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
                   8642:       tmp_diet=no
                   8643:       if test "$host_os" = linux-dietlibc; then
                   8644:        case $cc_basename in
                   8645:          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
                   8646:        esac
                   8647:       fi
                   8648:       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
                   8649:         && test "$tmp_diet" = no
                   8650:       then
                   8651:        tmp_addflag=' $pic_flag'
                   8652:        tmp_sharedflag='-shared'
                   8653:        case $cc_basename,$host_cpu in
                   8654:         pgcc*)                         # Portland Group C compiler
                   8655:          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'
                   8656:          tmp_addflag=' $pic_flag'
                   8657:          ;;
                   8658:        pgf77* | pgf90* | pgf95* | pgfortran*)
                   8659:                                        # Portland Group f77 and f90 compilers
                   8660:          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'
                   8661:          tmp_addflag=' $pic_flag -Mnomain' ;;
                   8662:        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
                   8663:          tmp_addflag=' -i_dynamic' ;;
                   8664:        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
                   8665:          tmp_addflag=' -i_dynamic -nofor_main' ;;
                   8666:        ifc* | ifort*)                  # Intel Fortran compiler
                   8667:          tmp_addflag=' -nofor_main' ;;
                   8668:        lf95*)                          # Lahey Fortran 8.1
                   8669:          whole_archive_flag_spec=
                   8670:          tmp_sharedflag='--shared' ;;
                   8671:        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
                   8672:          tmp_sharedflag='-qmkshrobj'
                   8673:          tmp_addflag= ;;
                   8674:        nvcc*)  # Cuda Compiler Driver 2.2
                   8675:          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'
                   8676:          compiler_needs_object=yes
                   8677:          ;;
                   8678:        esac
                   8679:        case `$CC -V 2>&1 | sed 5q` in
                   8680:        *Sun\ C*)                       # Sun C 5.9
                   8681:          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'
                   8682:          compiler_needs_object=yes
                   8683:          tmp_sharedflag='-G' ;;
                   8684:        *Sun\ F*)                       # Sun Fortran 8.3
                   8685:          tmp_sharedflag='-G' ;;
                   8686:        esac
                   8687:        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8688: 
                   8689:         if test "x$supports_anon_versioning" = xyes; then
                   8690:           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   8691:            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   8692:            echo "local: *; };" >> $output_objdir/$libname.ver~
                   8693:            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   8694:         fi
                   8695: 
                   8696:        case $cc_basename in
                   8697:        xlf* | bgf* | bgxlf* | mpixlf*)
                   8698:          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
                   8699:          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
                   8700:          hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   8701:          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
                   8702:          if test "x$supports_anon_versioning" = xyes; then
                   8703:            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
                   8704:              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   8705:              echo "local: *; };" >> $output_objdir/$libname.ver~
                   8706:              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
                   8707:          fi
                   8708:          ;;
                   8709:        esac
                   8710:       else
                   8711:         ld_shlibs=no
                   8712:       fi
                   8713:       ;;
                   8714: 
                   8715:     netbsd*)
                   8716:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   8717:        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
                   8718:        wlarc=
                   8719:       else
                   8720:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8721:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   8722:       fi
                   8723:       ;;
                   8724: 
                   8725:     solaris*)
                   8726:       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
                   8727:        ld_shlibs=no
                   8728:        cat <<_LT_EOF 1>&2
                   8729: 
                   8730: *** Warning: The releases 2.8.* of the GNU linker cannot reliably
                   8731: *** create shared libraries on Solaris systems.  Therefore, libtool
                   8732: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   8733: *** binutils to release 2.9.1 or newer.  Another option is to modify
                   8734: *** your PATH or compiler configuration so that the native linker is
                   8735: *** used, and then restart.
                   8736: 
                   8737: _LT_EOF
                   8738:       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   8739:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8740:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   8741:       else
                   8742:        ld_shlibs=no
                   8743:       fi
                   8744:       ;;
                   8745: 
                   8746:     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
                   8747:       case `$LD -v 2>&1` in
                   8748:         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
                   8749:        ld_shlibs=no
                   8750:        cat <<_LT_EOF 1>&2
                   8751: 
                   8752: *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
                   8753: *** reliably create shared libraries on SCO systems.  Therefore, libtool
                   8754: *** is disabling shared libraries support.  We urge you to upgrade GNU
                   8755: *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
                   8756: *** your PATH or compiler configuration so that the native linker is
                   8757: *** used, and then restart.
                   8758: 
                   8759: _LT_EOF
                   8760:        ;;
                   8761:        *)
                   8762:          # For security reasons, it is highly recommended that you always
                   8763:          # use absolute paths for naming shared libraries, and exclude the
                   8764:          # DT_RUNPATH tag from executables and libraries.  But doing so
                   8765:          # requires that you compile everything twice, which is a pain.
                   8766:          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   8767:            hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   8768:            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8769:            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   8770:          else
                   8771:            ld_shlibs=no
                   8772:          fi
                   8773:        ;;
                   8774:       esac
                   8775:       ;;
                   8776: 
                   8777:     sunos4*)
                   8778:       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   8779:       wlarc=
                   8780:       hardcode_direct=yes
                   8781:       hardcode_shlibpath_var=no
                   8782:       ;;
                   8783: 
                   8784:     *)
                   8785:       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   8786:        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   8787:        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   8788:       else
                   8789:        ld_shlibs=no
                   8790:       fi
                   8791:       ;;
                   8792:     esac
                   8793: 
                   8794:     if test "$ld_shlibs" = no; then
                   8795:       runpath_var=
                   8796:       hardcode_libdir_flag_spec=
                   8797:       export_dynamic_flag_spec=
                   8798:       whole_archive_flag_spec=
                   8799:     fi
                   8800:   else
                   8801:     # PORTME fill in a description of your system's linker (not GNU ld)
                   8802:     case $host_os in
                   8803:     aix3*)
                   8804:       allow_undefined_flag=unsupported
                   8805:       always_export_symbols=yes
                   8806:       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'
                   8807:       # Note: this linker hardcodes the directories in LIBPATH if there
                   8808:       # are no directories specified by -L.
                   8809:       hardcode_minus_L=yes
                   8810:       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
                   8811:        # Neither direct hardcoding nor static linking is supported with a
                   8812:        # broken collect2.
                   8813:        hardcode_direct=unsupported
                   8814:       fi
                   8815:       ;;
                   8816: 
                   8817:     aix[4-9]*)
                   8818:       if test "$host_cpu" = ia64; then
                   8819:        # On IA64, the linker does run time linking by default, so we don't
                   8820:        # have to do anything special.
                   8821:        aix_use_runtimelinking=no
                   8822:        exp_sym_flag='-Bexport'
                   8823:        no_entry_flag=""
                   8824:       else
                   8825:        # If we're using GNU nm, then we don't want the "-C" option.
                   8826:        # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   8827:        # Also, AIX nm treats weak defined symbols like other global
                   8828:        # defined symbols, whereas GNU nm marks them as "W".
                   8829:        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   8830:          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'
                   8831:        else
                   8832:          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'
                   8833:        fi
                   8834:        aix_use_runtimelinking=no
                   8835: 
                   8836:        # Test if we are trying to use run time linking or normal
                   8837:        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   8838:        # need to do runtime linking.
                   8839:        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   8840:          for ld_flag in $LDFLAGS; do
                   8841:          if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
                   8842:            aix_use_runtimelinking=yes
                   8843:            break
                   8844:          fi
                   8845:          done
                   8846:          ;;
                   8847:        esac
                   8848: 
                   8849:        exp_sym_flag='-bexport'
                   8850:        no_entry_flag='-bnoentry'
                   8851:       fi
                   8852: 
                   8853:       # When large executables or shared objects are built, AIX ld can
                   8854:       # have problems creating the table of contents.  If linking a library
                   8855:       # or program results in "error TOC overflow" add -mminimal-toc to
                   8856:       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   8857:       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   8858: 
                   8859:       archive_cmds=''
                   8860:       hardcode_direct=yes
                   8861:       hardcode_direct_absolute=yes
                   8862:       hardcode_libdir_separator=':'
                   8863:       link_all_deplibs=yes
                   8864:       file_list_spec='${wl}-f,'
                   8865: 
                   8866:       if test "$GCC" = yes; then
                   8867:        case $host_os in aix4.[012]|aix4.[012].*)
                   8868:        # We only want to do this on AIX 4.2 and lower, the check
                   8869:        # below for broken collect2 doesn't work under 4.3+
                   8870:          collect2name=`${CC} -print-prog-name=collect2`
                   8871:          if test -f "$collect2name" &&
                   8872:           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   8873:          then
                   8874:          # We have reworked collect2
                   8875:          :
                   8876:          else
                   8877:          # We have old collect2
                   8878:          hardcode_direct=unsupported
                   8879:          # It fails to find uninstalled libraries when the uninstalled
                   8880:          # path is not listed in the libpath.  Setting hardcode_minus_L
                   8881:          # to unsupported forces relinking
                   8882:          hardcode_minus_L=yes
                   8883:          hardcode_libdir_flag_spec='-L$libdir'
                   8884:          hardcode_libdir_separator=
                   8885:          fi
                   8886:          ;;
                   8887:        esac
                   8888:        shared_flag='-shared'
                   8889:        if test "$aix_use_runtimelinking" = yes; then
                   8890:          shared_flag="$shared_flag "'${wl}-G'
                   8891:        fi
                   8892:       else
                   8893:        # not using gcc
                   8894:        if test "$host_cpu" = ia64; then
                   8895:        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   8896:        # chokes on -Wl,-G. The following line is correct:
                   8897:          shared_flag='-G'
                   8898:        else
                   8899:          if test "$aix_use_runtimelinking" = yes; then
                   8900:            shared_flag='${wl}-G'
                   8901:          else
                   8902:            shared_flag='${wl}-bM:SRE'
                   8903:          fi
                   8904:        fi
                   8905:       fi
                   8906: 
                   8907:       export_dynamic_flag_spec='${wl}-bexpall'
                   8908:       # It seems that -bexpall does not export symbols beginning with
                   8909:       # underscore (_), so it is better to generate a list of symbols to export.
                   8910:       always_export_symbols=yes
                   8911:       if test "$aix_use_runtimelinking" = yes; then
                   8912:        # Warning - without using the other runtime loading flags (-brtl),
                   8913:        # -berok will link without error, but may produce a broken library.
                   8914:        allow_undefined_flag='-berok'
                   8915:         # Determine the default libpath from the value encoded in an
                   8916:         # empty executable.
                   8917:         if test "${lt_cv_aix_libpath+set}" = set; then
                   8918:   aix_libpath=$lt_cv_aix_libpath
                   8919: else
                   8920:   if test "${lt_cv_aix_libpath_+set}" = set; then
                   8921:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   8922: else
                   8923:   cat >conftest.$ac_ext <<_ACEOF
1.11      paf      8924: /* confdefs.h.  */
                   8925: _ACEOF
                   8926: cat confdefs.h >>conftest.$ac_ext
                   8927: cat >>conftest.$ac_ext <<_ACEOF
                   8928: /* end confdefs.h.  */
1.1       parser   8929: 
1.11      paf      8930: int
                   8931: main ()
                   8932: {
1.1       parser   8933: 
1.11      paf      8934:   ;
                   8935:   return 0;
                   8936: }
                   8937: _ACEOF
1.17      paf      8938: rm -f conftest.$ac_objext conftest$ac_exeext
                   8939: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1.18      paf      8940:   (eval $ac_link) 2>conftest.er1
1.11      paf      8941:   ac_status=$?
1.18      paf      8942:   grep -v '^ *+' conftest.er1 >conftest.err
                   8943:   rm -f conftest.er1
                   8944:   cat conftest.err >&5
1.11      paf      8945:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8946:   (exit $ac_status); } &&
1.18      paf      8947:         { ac_try='test -z "$ac_c_werror_flag"
                   8948:                         || test ! -s conftest.err'
                   8949:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8950:   (eval $ac_try) 2>&5
                   8951:   ac_status=$?
                   8952:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8953:   (exit $ac_status); }; } &&
                   8954:         { ac_try='test -s conftest$ac_exeext'
1.11      paf      8955:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   8956:   (eval $ac_try) 2>&5
                   8957:   ac_status=$?
                   8958:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   8959:   (exit $ac_status); }; }; then
                   8960: 
1.25      moko     8961:   lt_aix_libpath_sed='
                   8962:       /Import File Strings/,/^$/ {
                   8963:          /^0/ {
                   8964:              s/^0  *\([^ ]*\) *$/\1/
                   8965:              p
                   8966:          }
                   8967:       }'
                   8968:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   8969:   # Check for a 64-bit object if we didn't find anything.
                   8970:   if test -z "$lt_cv_aix_libpath_"; then
                   8971:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   8972:   fi
1.11      paf      8973: else
                   8974:   echo "$as_me: failed program was:" >&5
                   8975: sed 's/^/| /' conftest.$ac_ext >&5
                   8976: 
                   8977: fi
1.18      paf      8978: rm -f conftest.err conftest.$ac_objext \
                   8979:       conftest$ac_exeext conftest.$ac_ext
1.25      moko     8980:   if test -z "$lt_cv_aix_libpath_"; then
                   8981:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   8982:   fi
1.11      paf      8983: 
                   8984: fi
                   8985: 
1.25      moko     8986:   aix_libpath=$lt_cv_aix_libpath_
                   8987: fi
1.11      paf      8988: 
1.25      moko     8989:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   8990:         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"
                   8991:       else
                   8992:        if test "$host_cpu" = ia64; then
                   8993:          hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
                   8994:          allow_undefined_flag="-z nodefs"
                   8995:          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"
                   8996:        else
                   8997:         # Determine the default libpath from the value encoded in an
                   8998:         # empty executable.
                   8999:         if test "${lt_cv_aix_libpath+set}" = set; then
                   9000:   aix_libpath=$lt_cv_aix_libpath
                   9001: else
                   9002:   if test "${lt_cv_aix_libpath_+set}" = set; then
1.11      paf      9003:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9004: else
                   9005:   cat >conftest.$ac_ext <<_ACEOF
                   9006: /* confdefs.h.  */
                   9007: _ACEOF
                   9008: cat confdefs.h >>conftest.$ac_ext
                   9009: cat >>conftest.$ac_ext <<_ACEOF
                   9010: /* end confdefs.h.  */
1.25      moko     9011: 
1.11      paf      9012: int
                   9013: main ()
                   9014: {
1.25      moko     9015: 
1.11      paf      9016:   ;
                   9017:   return 0;
                   9018: }
                   9019: _ACEOF
1.25      moko     9020: rm -f conftest.$ac_objext conftest$ac_exeext
                   9021: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   9022:   (eval $ac_link) 2>conftest.er1
1.11      paf      9023:   ac_status=$?
1.18      paf      9024:   grep -v '^ *+' conftest.er1 >conftest.err
                   9025:   rm -f conftest.er1
                   9026:   cat conftest.err >&5
1.11      paf      9027:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9028:   (exit $ac_status); } &&
1.18      paf      9029:         { ac_try='test -z "$ac_c_werror_flag"
                   9030:                         || test ! -s conftest.err'
                   9031:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9032:   (eval $ac_try) 2>&5
                   9033:   ac_status=$?
                   9034:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9035:   (exit $ac_status); }; } &&
1.25      moko     9036:         { ac_try='test -s conftest$ac_exeext'
1.11      paf      9037:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9038:   (eval $ac_try) 2>&5
                   9039:   ac_status=$?
                   9040:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9041:   (exit $ac_status); }; }; then
1.25      moko     9042: 
                   9043:   lt_aix_libpath_sed='
                   9044:       /Import File Strings/,/^$/ {
                   9045:          /^0/ {
                   9046:              s/^0  *\([^ ]*\) *$/\1/
                   9047:              p
                   9048:          }
                   9049:       }'
                   9050:   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9051:   # Check for a 64-bit object if we didn't find anything.
                   9052:   if test -z "$lt_cv_aix_libpath_"; then
                   9053:     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   9054:   fi
1.1       parser   9055: else
1.11      paf      9056:   echo "$as_me: failed program was:" >&5
                   9057: sed 's/^/| /' conftest.$ac_ext >&5
                   9058: 
                   9059: fi
1.25      moko     9060: rm -f conftest.err conftest.$ac_objext \
                   9061:       conftest$ac_exeext conftest.$ac_ext
                   9062:   if test -z "$lt_cv_aix_libpath_"; then
                   9063:     lt_cv_aix_libpath_="/usr/lib:/lib"
                   9064:   fi
                   9065: 
                   9066: fi
                   9067: 
                   9068:   aix_libpath=$lt_cv_aix_libpath_
1.1       parser   9069: fi
                   9070: 
1.25      moko     9071:         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
                   9072:          # Warning - without using the other run time loading flags,
                   9073:          # -berok will link without error, but may produce a broken library.
                   9074:          no_undefined_flag=' ${wl}-bernotok'
                   9075:          allow_undefined_flag=' ${wl}-berok'
                   9076:          if test "$with_gnu_ld" = yes; then
                   9077:            # We only use this code for GNU lds that support --whole-archive.
                   9078:            whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   9079:          else
                   9080:            # Exported symbols can be pulled into shared objects from archives
                   9081:            whole_archive_flag_spec='$convenience'
                   9082:          fi
                   9083:          archive_cmds_need_lc=yes
                   9084:          # This is similar to how AIX traditionally builds its shared libraries.
                   9085:          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'
                   9086:        fi
                   9087:       fi
                   9088:       ;;
1.1       parser   9089: 
1.25      moko     9090:     amigaos*)
                   9091:       case $host_cpu in
                   9092:       powerpc)
                   9093:             # see comment about AmigaOS4 .so support
                   9094:             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   9095:             archive_expsym_cmds=''
                   9096:         ;;
                   9097:       m68k)
                   9098:             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)'
                   9099:             hardcode_libdir_flag_spec='-L$libdir'
                   9100:             hardcode_minus_L=yes
                   9101:         ;;
                   9102:       esac
                   9103:       ;;
1.1       parser   9104: 
1.25      moko     9105:     bsdi[45]*)
                   9106:       export_dynamic_flag_spec=-rdynamic
                   9107:       ;;
1.1       parser   9108: 
1.25      moko     9109:     cygwin* | mingw* | pw32* | cegcc*)
                   9110:       # When not using gcc, we currently assume that we are using
                   9111:       # Microsoft Visual C++.
                   9112:       # hardcode_libdir_flag_spec is actually meaningless, as there is
                   9113:       # no search path for DLLs.
                   9114:       case $cc_basename in
                   9115:       cl*)
                   9116:        # Native MSVC
                   9117:        hardcode_libdir_flag_spec=' '
                   9118:        allow_undefined_flag=unsupported
                   9119:        always_export_symbols=yes
                   9120:        file_list_spec='@'
                   9121:        # Tell ltmain to make .lib files, not .a files.
                   9122:        libext=lib
                   9123:        # Tell ltmain to make .dll files, not .so files.
                   9124:        shrext_cmds=".dll"
                   9125:        # FIXME: Setting linknames here is a bad hack.
                   9126:        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   9127:        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   9128:            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   9129:          else
                   9130:            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   9131:          fi~
                   9132:          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   9133:          linknames='
                   9134:        # The linker will not automatically build a static lib if we build a DLL.
                   9135:        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
                   9136:        enable_shared_with_static_runtimes=yes
                   9137:        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   9138:        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
                   9139:        # Don't use ranlib
                   9140:        old_postinstall_cmds='chmod 644 $oldlib'
                   9141:        postlink_cmds='lt_outputfile="@OUTPUT@"~
                   9142:          lt_tool_outputfile="@TOOL_OUTPUT@"~
                   9143:          case $lt_outputfile in
                   9144:            *.exe|*.EXE) ;;
                   9145:            *)
                   9146:              lt_outputfile="$lt_outputfile.exe"
                   9147:              lt_tool_outputfile="$lt_tool_outputfile.exe"
                   9148:              ;;
                   9149:          esac~
                   9150:          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   9151:            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   9152:            $RM "$lt_outputfile.manifest";
                   9153:          fi'
                   9154:        ;;
                   9155:       *)
                   9156:        # Assume MSVC wrapper
                   9157:        hardcode_libdir_flag_spec=' '
                   9158:        allow_undefined_flag=unsupported
                   9159:        # Tell ltmain to make .lib files, not .a files.
                   9160:        libext=lib
                   9161:        # Tell ltmain to make .dll files, not .so files.
                   9162:        shrext_cmds=".dll"
                   9163:        # FIXME: Setting linknames here is a bad hack.
                   9164:        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
                   9165:        # The linker will automatically build a .lib file if we build a DLL.
                   9166:        old_archive_from_new_cmds='true'
                   9167:        # FIXME: Should let the user specify the lib program.
                   9168:        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
                   9169:        enable_shared_with_static_runtimes=yes
                   9170:        ;;
                   9171:       esac
                   9172:       ;;
1.1       parser   9173: 
1.25      moko     9174:     darwin* | rhapsody*)
1.1       parser   9175: 
1.11      paf      9176: 
1.25      moko     9177:   archive_cmds_need_lc=no
                   9178:   hardcode_direct=no
                   9179:   hardcode_automatic=yes
                   9180:   hardcode_shlibpath_var=unsupported
                   9181:   if test "$lt_cv_ld_force_load" = "yes"; then
                   9182:     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
1.11      paf      9183: 
1.1       parser   9184:   else
1.25      moko     9185:     whole_archive_flag_spec=''
1.1       parser   9186:   fi
1.25      moko     9187:   link_all_deplibs=yes
                   9188:   allow_undefined_flag="$_lt_dar_allow_undefined"
                   9189:   case $cc_basename in
                   9190:      ifort*) _lt_dar_can_shared=yes ;;
                   9191:      *) _lt_dar_can_shared=$GCC ;;
                   9192:   esac
                   9193:   if test "$_lt_dar_can_shared" = "yes"; then
                   9194:     output_verbose_link_cmd=func_echo_all
                   9195:     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
                   9196:     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   9197:     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}"
                   9198:     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}"
1.1       parser   9199: 
1.25      moko     9200:   else
                   9201:   ld_shlibs=no
                   9202:   fi
1.1       parser   9203: 
1.25      moko     9204:       ;;
1.1       parser   9205: 
1.25      moko     9206:     dgux*)
                   9207:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9208:       hardcode_libdir_flag_spec='-L$libdir'
                   9209:       hardcode_shlibpath_var=no
                   9210:       ;;
1.11      paf      9211: 
1.25      moko     9212:     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
                   9213:     # support.  Future versions do this automatically, but an explicit c++rt0.o
                   9214:     # does not break anything, and helps significantly (at the cost of a little
                   9215:     # extra space).
                   9216:     freebsd2.2*)
                   9217:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
                   9218:       hardcode_libdir_flag_spec='-R$libdir'
                   9219:       hardcode_direct=yes
                   9220:       hardcode_shlibpath_var=no
                   9221:       ;;
1.11      paf      9222: 
1.25      moko     9223:     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
                   9224:     freebsd2.*)
                   9225:       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   9226:       hardcode_direct=yes
                   9227:       hardcode_minus_L=yes
                   9228:       hardcode_shlibpath_var=no
                   9229:       ;;
1.11      paf      9230: 
1.25      moko     9231:     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
                   9232:     freebsd* | dragonfly*)
                   9233:       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   9234:       hardcode_libdir_flag_spec='-R$libdir'
                   9235:       hardcode_direct=yes
                   9236:       hardcode_shlibpath_var=no
                   9237:       ;;
1.1       parser   9238: 
1.25      moko     9239:     hpux9*)
                   9240:       if test "$GCC" = yes; then
                   9241:        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'
                   9242:       else
                   9243:        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'
                   9244:       fi
                   9245:       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   9246:       hardcode_libdir_separator=:
                   9247:       hardcode_direct=yes
                   9248: 
                   9249:       # hardcode_minus_L: Not really in the search PATH,
                   9250:       # but as the default location of the library.
                   9251:       hardcode_minus_L=yes
                   9252:       export_dynamic_flag_spec='${wl}-E'
                   9253:       ;;
1.1       parser   9254: 
1.25      moko     9255:     hpux10*)
                   9256:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   9257:        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   9258:       else
                   9259:        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
                   9260:       fi
                   9261:       if test "$with_gnu_ld" = no; then
                   9262:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   9263:        hardcode_libdir_separator=:
                   9264:        hardcode_direct=yes
                   9265:        hardcode_direct_absolute=yes
                   9266:        export_dynamic_flag_spec='${wl}-E'
                   9267:        # hardcode_minus_L: Not really in the search PATH,
                   9268:        # but as the default location of the library.
                   9269:        hardcode_minus_L=yes
                   9270:       fi
                   9271:       ;;
1.11      paf      9272: 
1.25      moko     9273:     hpux11*)
                   9274:       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
                   9275:        case $host_cpu in
                   9276:        hppa*64*)
                   9277:          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9278:          ;;
                   9279:        ia64*)
                   9280:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   9281:          ;;
                   9282:        *)
                   9283:          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
                   9284:          ;;
                   9285:        esac
                   9286:       else
                   9287:        case $host_cpu in
                   9288:        hppa*64*)
                   9289:          archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9290:          ;;
                   9291:        ia64*)
                   9292:          archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
                   9293:          ;;
                   9294:        *)
1.11      paf      9295: 
1.25      moko     9296:          # Older versions of the 11.00 compiler do not understand -b yet
                   9297:          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
                   9298:          echo "$as_me:$LINENO: checking if $CC understands -b" >&5
                   9299: echo $ECHO_N "checking if $CC understands -b... $ECHO_C" >&6
                   9300: if test "${lt_cv_prog_compiler__b+set}" = set; then
                   9301:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9302: else
                   9303:   lt_cv_prog_compiler__b=no
                   9304:    save_LDFLAGS="$LDFLAGS"
                   9305:    LDFLAGS="$LDFLAGS -b"
                   9306:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   9307:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   9308:      # The linker can only warn and ignore the option if not recognized
                   9309:      # So say no if there are warnings
                   9310:      if test -s conftest.err; then
                   9311:        # Append any errors to the config.log.
                   9312:        cat conftest.err 1>&5
                   9313:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   9314:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   9315:        if diff conftest.exp conftest.er2 >/dev/null; then
                   9316:          lt_cv_prog_compiler__b=yes
                   9317:        fi
                   9318:      else
                   9319:        lt_cv_prog_compiler__b=yes
                   9320:      fi
                   9321:    fi
                   9322:    $RM -r conftest*
                   9323:    LDFLAGS="$save_LDFLAGS"
1.11      paf      9324: 
                   9325: fi
1.25      moko     9326: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler__b" >&5
                   9327: echo "${ECHO_T}$lt_cv_prog_compiler__b" >&6
1.11      paf      9328: 
1.25      moko     9329: if test x"$lt_cv_prog_compiler__b" = xyes; then
                   9330:     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
1.11      paf      9331: else
1.25      moko     9332:     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
1.11      paf      9333: fi
                   9334: 
1.25      moko     9335:          ;;
                   9336:        esac
                   9337:       fi
                   9338:       if test "$with_gnu_ld" = no; then
                   9339:        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
                   9340:        hardcode_libdir_separator=:
                   9341: 
                   9342:        case $host_cpu in
                   9343:        hppa*64*|ia64*)
                   9344:          hardcode_direct=no
                   9345:          hardcode_shlibpath_var=no
                   9346:          ;;
                   9347:        *)
                   9348:          hardcode_direct=yes
                   9349:          hardcode_direct_absolute=yes
                   9350:          export_dynamic_flag_spec='${wl}-E'
1.11      paf      9351: 
1.25      moko     9352:          # hardcode_minus_L: Not really in the search PATH,
                   9353:          # but as the default location of the library.
                   9354:          hardcode_minus_L=yes
                   9355:          ;;
                   9356:        esac
                   9357:       fi
                   9358:       ;;
1.11      paf      9359: 
1.25      moko     9360:     irix5* | irix6* | nonstopux*)
                   9361:       if test "$GCC" = yes; then
                   9362:        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'
                   9363:        # Try to use the -exported_symbol ld option, if it does not
                   9364:        # work, assume that -exports_file does not work either and
                   9365:        # implicitly export all symbols.
                   9366:        # This should be the same for all languages, so no per-tag cache variable.
                   9367:        echo "$as_me:$LINENO: checking whether the $host_os linker accepts -exported_symbol" >&5
                   9368: echo $ECHO_N "checking whether the $host_os linker accepts -exported_symbol... $ECHO_C" >&6
                   9369: if test "${lt_cv_irix_exported_symbol+set}" = set; then
                   9370:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9371: else
                   9372:   save_LDFLAGS="$LDFLAGS"
                   9373:           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
                   9374:           cat >conftest.$ac_ext <<_ACEOF
                   9375: /* confdefs.h.  */
                   9376: _ACEOF
                   9377: cat confdefs.h >>conftest.$ac_ext
                   9378: cat >>conftest.$ac_ext <<_ACEOF
                   9379: /* end confdefs.h.  */
                   9380: int foo (void) { return 0; }
                   9381: _ACEOF
                   9382: rm -f conftest.$ac_objext conftest$ac_exeext
                   9383: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   9384:   (eval $ac_link) 2>conftest.er1
                   9385:   ac_status=$?
                   9386:   grep -v '^ *+' conftest.er1 >conftest.err
                   9387:   rm -f conftest.er1
                   9388:   cat conftest.err >&5
                   9389:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9390:   (exit $ac_status); } &&
                   9391:         { ac_try='test -z "$ac_c_werror_flag"
                   9392:                         || test ! -s conftest.err'
                   9393:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9394:   (eval $ac_try) 2>&5
                   9395:   ac_status=$?
                   9396:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9397:   (exit $ac_status); }; } &&
                   9398:         { ac_try='test -s conftest$ac_exeext'
                   9399:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   9400:   (eval $ac_try) 2>&5
                   9401:   ac_status=$?
                   9402:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9403:   (exit $ac_status); }; }; then
                   9404:   lt_cv_irix_exported_symbol=yes
                   9405: else
                   9406:   echo "$as_me: failed program was:" >&5
                   9407: sed 's/^/| /' conftest.$ac_ext >&5
1.11      paf      9408: 
1.25      moko     9409: lt_cv_irix_exported_symbol=no
1.11      paf      9410: fi
1.25      moko     9411: rm -f conftest.err conftest.$ac_objext \
                   9412:       conftest$ac_exeext conftest.$ac_ext
                   9413:            LDFLAGS="$save_LDFLAGS"
1.11      paf      9414: fi
1.25      moko     9415: echo "$as_me:$LINENO: result: $lt_cv_irix_exported_symbol" >&5
                   9416: echo "${ECHO_T}$lt_cv_irix_exported_symbol" >&6
                   9417:        if test "$lt_cv_irix_exported_symbol" = yes; then
                   9418:           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'
                   9419:        fi
                   9420:       else
                   9421:        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'
                   9422:        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'
                   9423:       fi
                   9424:       archive_cmds_need_lc='no'
                   9425:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9426:       hardcode_libdir_separator=:
                   9427:       inherit_rpath=yes
                   9428:       link_all_deplibs=yes
                   9429:       ;;
1.11      paf      9430: 
1.25      moko     9431:     netbsd*)
                   9432:       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   9433:        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
                   9434:       else
                   9435:        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
                   9436:       fi
                   9437:       hardcode_libdir_flag_spec='-R$libdir'
                   9438:       hardcode_direct=yes
                   9439:       hardcode_shlibpath_var=no
                   9440:       ;;
1.11      paf      9441: 
1.25      moko     9442:     newsos6)
                   9443:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9444:       hardcode_direct=yes
                   9445:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9446:       hardcode_libdir_separator=:
                   9447:       hardcode_shlibpath_var=no
                   9448:       ;;
1.11      paf      9449: 
1.25      moko     9450:     *nto* | *qnx*)
                   9451:       ;;
1.11      paf      9452: 
1.25      moko     9453:     openbsd*)
                   9454:       if test -f /usr/libexec/ld.so; then
                   9455:        hardcode_direct=yes
                   9456:        hardcode_shlibpath_var=no
                   9457:        hardcode_direct_absolute=yes
                   9458:        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   9459:          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   9460:          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
                   9461:          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   9462:          export_dynamic_flag_spec='${wl}-E'
                   9463:        else
                   9464:          case $host_os in
                   9465:           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
                   9466:             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
                   9467:             hardcode_libdir_flag_spec='-R$libdir'
                   9468:             ;;
                   9469:           *)
                   9470:             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
                   9471:             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
                   9472:             ;;
                   9473:          esac
                   9474:        fi
                   9475:       else
                   9476:        ld_shlibs=no
                   9477:       fi
                   9478:       ;;
                   9479: 
                   9480:     os2*)
                   9481:       hardcode_libdir_flag_spec='-L$libdir'
                   9482:       hardcode_minus_L=yes
                   9483:       allow_undefined_flag=unsupported
                   9484:       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'
                   9485:       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
                   9486:       ;;
                   9487: 
                   9488:     osf3*)
                   9489:       if test "$GCC" = yes; then
                   9490:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   9491:        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'
                   9492:       else
                   9493:        allow_undefined_flag=' -expect_unresolved \*'
                   9494:        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'
                   9495:       fi
                   9496:       archive_cmds_need_lc='no'
                   9497:       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9498:       hardcode_libdir_separator=:
                   9499:       ;;
                   9500: 
                   9501:     osf4* | osf5*)     # as osf3* with the addition of -msym flag
                   9502:       if test "$GCC" = yes; then
                   9503:        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
                   9504:        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'
                   9505:        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
                   9506:       else
                   9507:        allow_undefined_flag=' -expect_unresolved \*'
                   9508:        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'
                   9509:        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~
                   9510:        $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'
                   9511: 
                   9512:        # Both c and cxx compiler support -rpath directly
                   9513:        hardcode_libdir_flag_spec='-rpath $libdir'
                   9514:       fi
                   9515:       archive_cmds_need_lc='no'
                   9516:       hardcode_libdir_separator=:
                   9517:       ;;
                   9518: 
                   9519:     solaris*)
                   9520:       no_undefined_flag=' -z defs'
                   9521:       if test "$GCC" = yes; then
                   9522:        wlarc='${wl}'
                   9523:        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9524:        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   9525:          $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'
                   9526:       else
                   9527:        case `$CC -V 2>&1` in
                   9528:        *"Compilers 5.0"*)
                   9529:          wlarc=''
                   9530:          archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9531:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   9532:          $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
                   9533:          ;;
                   9534:        *)
                   9535:          wlarc='${wl}'
                   9536:          archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   9537:          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   9538:          $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
                   9539:          ;;
                   9540:        esac
                   9541:       fi
                   9542:       hardcode_libdir_flag_spec='-R$libdir'
                   9543:       hardcode_shlibpath_var=no
                   9544:       case $host_os in
                   9545:       solaris2.[0-5] | solaris2.[0-5].*) ;;
                   9546:       *)
                   9547:        # The compiler driver will combine and reorder linker options,
                   9548:        # but understands `-z linker_flag'.  GCC discards it without `$wl',
                   9549:        # but is careful enough not to reorder.
                   9550:        # Supported since Solaris 2.6 (maybe 2.5.1?)
                   9551:        if test "$GCC" = yes; then
                   9552:          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   9553:        else
                   9554:          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
                   9555:        fi
                   9556:        ;;
                   9557:       esac
                   9558:       link_all_deplibs=yes
                   9559:       ;;
                   9560: 
                   9561:     sunos4*)
                   9562:       if test "x$host_vendor" = xsequent; then
                   9563:        # Use $CC to link under sequent, because it throws in some extra .o
                   9564:        # files that make .init and .fini sections work.
                   9565:        archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
                   9566:       else
                   9567:        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
                   9568:       fi
                   9569:       hardcode_libdir_flag_spec='-L$libdir'
                   9570:       hardcode_direct=yes
                   9571:       hardcode_minus_L=yes
                   9572:       hardcode_shlibpath_var=no
                   9573:       ;;
                   9574: 
                   9575:     sysv4)
                   9576:       case $host_vendor in
                   9577:        sni)
                   9578:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9579:          hardcode_direct=yes # is this really true???
                   9580:        ;;
                   9581:        siemens)
                   9582:          ## LD is ld it makes a PLAMLIB
                   9583:          ## CC just makes a GrossModule.
                   9584:          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
                   9585:          reload_cmds='$CC -r -o $output$reload_objs'
                   9586:          hardcode_direct=no
                   9587:         ;;
                   9588:        motorola)
                   9589:          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9590:          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
                   9591:        ;;
                   9592:       esac
                   9593:       runpath_var='LD_RUN_PATH'
                   9594:       hardcode_shlibpath_var=no
                   9595:       ;;
                   9596: 
                   9597:     sysv4.3*)
                   9598:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9599:       hardcode_shlibpath_var=no
                   9600:       export_dynamic_flag_spec='-Bexport'
                   9601:       ;;
                   9602: 
                   9603:     sysv4*MP*)
                   9604:       if test -d /usr/nec; then
                   9605:        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9606:        hardcode_shlibpath_var=no
                   9607:        runpath_var=LD_RUN_PATH
                   9608:        hardcode_runpath_var=yes
                   9609:        ld_shlibs=yes
                   9610:       fi
                   9611:       ;;
                   9612: 
                   9613:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   9614:       no_undefined_flag='${wl}-z,text'
                   9615:       archive_cmds_need_lc=no
                   9616:       hardcode_shlibpath_var=no
                   9617:       runpath_var='LD_RUN_PATH'
                   9618: 
                   9619:       if test "$GCC" = yes; then
                   9620:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9621:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9622:       else
                   9623:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9624:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9625:       fi
                   9626:       ;;
                   9627: 
                   9628:     sysv5* | sco3.2v5* | sco5v6*)
                   9629:       # Note: We can NOT use -z defs as we might desire, because we do not
                   9630:       # link with -lc, and that would cause any symbols used from libc to
                   9631:       # always be unresolved, which means just about no library would
                   9632:       # ever link correctly.  If we're not using GNU ld we use -z text
                   9633:       # though, which does catch some bad symbols but isn't as heavy-handed
                   9634:       # as -z defs.
                   9635:       no_undefined_flag='${wl}-z,text'
                   9636:       allow_undefined_flag='${wl}-z,nodefs'
                   9637:       archive_cmds_need_lc=no
                   9638:       hardcode_shlibpath_var=no
                   9639:       hardcode_libdir_flag_spec='${wl}-R,$libdir'
                   9640:       hardcode_libdir_separator=':'
                   9641:       link_all_deplibs=yes
                   9642:       export_dynamic_flag_spec='${wl}-Bexport'
                   9643:       runpath_var='LD_RUN_PATH'
                   9644: 
                   9645:       if test "$GCC" = yes; then
                   9646:        archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9647:        archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9648:       else
                   9649:        archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9650:        archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   9651:       fi
                   9652:       ;;
                   9653: 
                   9654:     uts4*)
                   9655:       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
                   9656:       hardcode_libdir_flag_spec='-L$libdir'
                   9657:       hardcode_shlibpath_var=no
                   9658:       ;;
                   9659: 
                   9660:     *)
                   9661:       ld_shlibs=no
                   9662:       ;;
                   9663:     esac
                   9664: 
                   9665:     if test x$host_vendor = xsni; then
                   9666:       case $host in
                   9667:       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
                   9668:        export_dynamic_flag_spec='${wl}-Blargedynsym'
                   9669:        ;;
                   9670:       esac
                   9671:     fi
                   9672:   fi
                   9673: 
                   9674: echo "$as_me:$LINENO: result: $ld_shlibs" >&5
                   9675: echo "${ECHO_T}$ld_shlibs" >&6
                   9676: test "$ld_shlibs" = no && can_build_shared=no
                   9677: 
                   9678: with_gnu_ld=$with_gnu_ld
                   9679: 
                   9680: 
                   9681: 
                   9682: 
                   9683: 
                   9684: 
                   9685: 
                   9686: 
                   9687: 
                   9688: 
                   9689: 
                   9690: 
                   9691: 
                   9692: 
                   9693: 
                   9694: #
                   9695: # Do we need to explicitly link libc?
                   9696: #
                   9697: case "x$archive_cmds_need_lc" in
                   9698: x|xyes)
                   9699:   # Assume -lc should be added
                   9700:   archive_cmds_need_lc=yes
                   9701: 
                   9702:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   9703:     case $archive_cmds in
                   9704:     *'~'*)
                   9705:       # FIXME: we may have to deal with multi-command sequences.
                   9706:       ;;
                   9707:     '$CC '*)
                   9708:       # Test whether the compiler implicitly links with -lc since on some
                   9709:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   9710:       # to ld, don't add -lc before -lgcc.
                   9711:       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
                   9712: echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
                   9713: if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
                   9714:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   9715: else
                   9716:   $RM conftest*
                   9717:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   9718: 
                   9719:        if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   9720:   (eval $ac_compile) 2>&5
                   9721:   ac_status=$?
                   9722:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9723:   (exit $ac_status); } 2>conftest.err; then
                   9724:          soname=conftest
                   9725:          lib=conftest
                   9726:          libobjs=conftest.$ac_objext
                   9727:          deplibs=
                   9728:          wl=$lt_prog_compiler_wl
                   9729:          pic_flag=$lt_prog_compiler_pic
                   9730:          compiler_flags=-v
                   9731:          linker_flags=-v
                   9732:          verstring=
                   9733:          output_objdir=.
                   9734:          libname=conftest
                   9735:          lt_save_allow_undefined_flag=$allow_undefined_flag
                   9736:          allow_undefined_flag=
                   9737:          if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
                   9738:   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   9739:   ac_status=$?
                   9740:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   9741:   (exit $ac_status); }
                   9742:          then
                   9743:            lt_cv_archive_cmds_need_lc=no
                   9744:          else
                   9745:            lt_cv_archive_cmds_need_lc=yes
                   9746:          fi
                   9747:          allow_undefined_flag=$lt_save_allow_undefined_flag
                   9748:        else
                   9749:          cat conftest.err 1>&5
                   9750:        fi
                   9751:        $RM conftest*
                   9752: 
                   9753: fi
                   9754: echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
                   9755: echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
                   9756:       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
                   9757:       ;;
                   9758:     esac
                   9759:   fi
                   9760:   ;;
                   9761: esac
1.11      paf      9762: 
                   9763: 
                   9764: 
                   9765: 
                   9766: 
                   9767: 
                   9768: 
                   9769: 
                   9770: 
                   9771: 
                   9772: 
                   9773: 
                   9774: 
                   9775: 
                   9776: 
                   9777: 
                   9778: 
                   9779: 
                   9780: 
                   9781: 
                   9782: 
                   9783: 
                   9784: 
                   9785: 
                   9786: 
                   9787: 
                   9788: 
                   9789: 
                   9790: 
                   9791: 
                   9792: 
                   9793: 
                   9794: 
                   9795: 
                   9796: 
                   9797: 
                   9798: 
                   9799: 
                   9800: 
                   9801: 
1.1       parser   9802: 
1.11      paf      9803: 
                   9804: 
                   9805: 
                   9806: 
                   9807: 
1.1       parser   9808: 
1.11      paf      9809: 
                   9810: 
                   9811: 
                   9812: 
1.1       parser   9813: 
1.11      paf      9814: 
                   9815: 
                   9816: 
                   9817: 
1.1       parser   9818: 
                   9819: 
                   9820: 
                   9821: 
                   9822: 
                   9823: 
                   9824: 
1.11      paf      9825: 
                   9826: 
                   9827: 
1.18      paf      9828: 
1.11      paf      9829: 
                   9830: 
1.1       parser   9831: 
1.11      paf      9832: 
                   9833: 
                   9834: 
1.1       parser   9835: 
                   9836: 
                   9837: 
                   9838: 
1.11      paf      9839: 
                   9840: 
1.1       parser   9841: 
1.11      paf      9842: 
                   9843: 
                   9844: 
1.25      moko     9845: 
                   9846: 
                   9847: 
                   9848: 
                   9849: 
                   9850: 
                   9851: 
                   9852: 
                   9853: 
                   9854: 
                   9855: 
                   9856: 
                   9857: 
                   9858: 
                   9859: 
                   9860: 
                   9861: 
                   9862: 
                   9863: 
                   9864: 
                   9865: 
                   9866: 
                   9867: 
                   9868: 
                   9869: 
                   9870: 
                   9871: 
                   9872: 
                   9873: 
                   9874: 
                   9875: 
                   9876: 
                   9877: 
                   9878: 
                   9879: 
                   9880: 
                   9881: 
                   9882: 
                   9883: 
                   9884: 
                   9885: 
                   9886: 
                   9887: 
                   9888: 
                   9889: 
                   9890: 
                   9891: 
                   9892: 
                   9893: 
                   9894: 
                   9895: 
                   9896: 
                   9897: 
                   9898: 
                   9899: 
                   9900: 
                   9901: 
                   9902: 
                   9903: 
                   9904: 
                   9905: 
                   9906: 
                   9907: 
                   9908: 
                   9909: 
                   9910: 
                   9911: 
                   9912: 
                   9913: 
                   9914:   echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
                   9915: echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
                   9916: 
                   9917: if test "$GCC" = yes; then
                   9918:   case $host_os in
                   9919:     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
                   9920:     *) lt_awk_arg="/^libraries:/" ;;
                   9921:   esac
                   9922:   case $host_os in
                   9923:     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
                   9924:     *) lt_sed_strip_eq="s,=/,/,g" ;;
                   9925:   esac
                   9926:   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
                   9927:   case $lt_search_path_spec in
                   9928:   *\;*)
                   9929:     # if the path contains ";" then we assume it to be the separator
                   9930:     # otherwise default to the standard path separator (i.e. ":") - it is
                   9931:     # assumed that no part of a normal pathname contains ";" but that should
                   9932:     # okay in the real world where ";" in dirpaths is itself problematic.
                   9933:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
                   9934:     ;;
                   9935:   *)
                   9936:     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
                   9937:     ;;
                   9938:   esac
                   9939:   # Ok, now we have the path, separated by spaces, we can step through it
                   9940:   # and add multilib dir if necessary.
                   9941:   lt_tmp_lt_search_path_spec=
                   9942:   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
                   9943:   for lt_sys_path in $lt_search_path_spec; do
                   9944:     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
                   9945:       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
                   9946:     else
                   9947:       test -d "$lt_sys_path" && \
                   9948:        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
                   9949:     fi
                   9950:   done
                   9951:   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
                   9952: BEGIN {RS=" "; FS="/|\n";} {
                   9953:   lt_foo="";
                   9954:   lt_count=0;
                   9955:   for (lt_i = NF; lt_i > 0; lt_i--) {
                   9956:     if ($lt_i != "" && $lt_i != ".") {
                   9957:       if ($lt_i == "..") {
                   9958:         lt_count++;
                   9959:       } else {
                   9960:         if (lt_count == 0) {
                   9961:           lt_foo="/" $lt_i lt_foo;
                   9962:         } else {
                   9963:           lt_count--;
                   9964:         }
                   9965:       }
                   9966:     }
                   9967:   }
                   9968:   if (lt_foo != "") { lt_freq[lt_foo]++; }
                   9969:   if (lt_freq[lt_foo] == 1) { print lt_foo; }
                   9970: }'`
                   9971:   # AWK program above erroneously prepends '/' to C:/dos/paths
                   9972:   # for these hosts.
                   9973:   case $host_os in
                   9974:     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
                   9975:       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
                   9976:   esac
                   9977:   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
                   9978: else
                   9979:   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
                   9980: fi
                   9981: library_names_spec=
                   9982: libname_spec='lib$name'
                   9983: soname_spec=
                   9984: shrext_cmds=".so"
                   9985: postinstall_cmds=
                   9986: postuninstall_cmds=
                   9987: finish_cmds=
                   9988: finish_eval=
                   9989: shlibpath_var=
                   9990: shlibpath_overrides_runpath=unknown
                   9991: version_type=none
                   9992: dynamic_linker="$host_os ld.so"
                   9993: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   9994: need_lib_prefix=unknown
                   9995: hardcode_into_libs=no
                   9996: 
                   9997: # when you set need_version to no, make sure it does not cause -set_version
                   9998: # flags to be left without arguments
                   9999: need_version=unknown
                   10000: 
                   10001: case $host_os in
                   10002: aix3*)
                   10003:   version_type=linux # correct to gnu/linux during the next big refactor
                   10004:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   10005:   shlibpath_var=LIBPATH
                   10006: 
                   10007:   # AIX 3 has no versioning support, so we append a major version to the name.
                   10008:   soname_spec='${libname}${release}${shared_ext}$major'
                   10009:   ;;
                   10010: 
                   10011: aix[4-9]*)
                   10012:   version_type=linux # correct to gnu/linux during the next big refactor
                   10013:   need_lib_prefix=no
                   10014:   need_version=no
                   10015:   hardcode_into_libs=yes
                   10016:   if test "$host_cpu" = ia64; then
                   10017:     # AIX 5 supports IA64
                   10018:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   10019:     shlibpath_var=LD_LIBRARY_PATH
                   10020:   else
                   10021:     # With GCC up to 2.95.x, collect2 would create an import file
                   10022:     # for dependence libraries.  The import file would start with
                   10023:     # the line `#! .'.  This would cause the generated library to
                   10024:     # depend on `.', always an invalid library.  This was fixed in
                   10025:     # development snapshots of GCC prior to 3.0.
                   10026:     case $host_os in
                   10027:       aix4 | aix4.[01] | aix4.[01].*)
                   10028:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   10029:           echo ' yes '
                   10030:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   10031:        :
                   10032:       else
                   10033:        can_build_shared=no
                   10034:       fi
                   10035:       ;;
                   10036:     esac
                   10037:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   10038:     # soname into executable. Probably we can add versioning support to
                   10039:     # collect2, so additional links can be useful in future.
                   10040:     if test "$aix_use_runtimelinking" = yes; then
                   10041:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   10042:       # instead of lib<name>.a to let people know that these are not
                   10043:       # typical AIX shared libraries.
                   10044:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10045:     else
                   10046:       # We preserve .a as extension for shared libraries through AIX4.2
                   10047:       # and later when we are not doing run time linking.
                   10048:       library_names_spec='${libname}${release}.a $libname.a'
                   10049:       soname_spec='${libname}${release}${shared_ext}$major'
                   10050:     fi
                   10051:     shlibpath_var=LIBPATH
                   10052:   fi
                   10053:   ;;
                   10054: 
                   10055: amigaos*)
                   10056:   case $host_cpu in
                   10057:   powerpc)
                   10058:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   10059:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   10060:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10061:     ;;
                   10062:   m68k)
                   10063:     library_names_spec='$libname.ixlibrary $libname.a'
                   10064:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   10065:     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'
                   10066:     ;;
                   10067:   esac
                   10068:   ;;
                   10069: 
                   10070: beos*)
                   10071:   library_names_spec='${libname}${shared_ext}'
                   10072:   dynamic_linker="$host_os ld.so"
                   10073:   shlibpath_var=LIBRARY_PATH
                   10074:   ;;
                   10075: 
                   10076: bsdi[45]*)
                   10077:   version_type=linux # correct to gnu/linux during the next big refactor
                   10078:   need_version=no
                   10079:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10080:   soname_spec='${libname}${release}${shared_ext}$major'
                   10081:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   10082:   shlibpath_var=LD_LIBRARY_PATH
                   10083:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   10084:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   10085:   # the default ld.so.conf also contains /usr/contrib/lib and
                   10086:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   10087:   # libtool to hard-code these into programs
                   10088:   ;;
                   10089: 
                   10090: cygwin* | mingw* | pw32* | cegcc*)
                   10091:   version_type=windows
                   10092:   shrext_cmds=".dll"
                   10093:   need_version=no
                   10094:   need_lib_prefix=no
                   10095: 
                   10096:   case $GCC,$cc_basename in
                   10097:   yes,*)
                   10098:     # gcc
                   10099:     library_names_spec='$libname.dll.a'
                   10100:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   10101:     postinstall_cmds='base_file=`basename \${file}`~
                   10102:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   10103:       dldir=$destdir/`dirname \$dlpath`~
                   10104:       test -d \$dldir || mkdir -p \$dldir~
                   10105:       $install_prog $dir/$dlname \$dldir/$dlname~
                   10106:       chmod a+x \$dldir/$dlname~
                   10107:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   10108:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   10109:       fi'
                   10110:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   10111:       dlpath=$dir/\$dldll~
                   10112:        $RM \$dlpath'
                   10113:     shlibpath_overrides_runpath=yes
                   10114: 
                   10115:     case $host_os in
                   10116:     cygwin*)
                   10117:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   10118:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10119: 
                   10120:       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
                   10121:       ;;
                   10122:     mingw* | cegcc*)
                   10123:       # MinGW DLLs use traditional 'lib' prefix
                   10124:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10125:       ;;
                   10126:     pw32*)
                   10127:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   10128:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10129:       ;;
                   10130:     esac
                   10131:     dynamic_linker='Win32 ld.exe'
                   10132:     ;;
                   10133: 
                   10134:   *,cl*)
                   10135:     # Native MSVC
                   10136:     libname_spec='$name'
                   10137:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   10138:     library_names_spec='${libname}.dll.lib'
                   10139: 
                   10140:     case $build_os in
                   10141:     mingw*)
                   10142:       sys_lib_search_path_spec=
                   10143:       lt_save_ifs=$IFS
                   10144:       IFS=';'
                   10145:       for lt_path in $LIB
                   10146:       do
                   10147:         IFS=$lt_save_ifs
                   10148:         # Let DOS variable expansion print the short 8.3 style file name.
                   10149:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   10150:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   10151:       done
                   10152:       IFS=$lt_save_ifs
                   10153:       # Convert to MSYS style.
                   10154:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   10155:       ;;
                   10156:     cygwin*)
                   10157:       # Convert to unix form, then to dos form, then back to unix form
                   10158:       # but this time dos style (no spaces!) so that the unix form looks
                   10159:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   10160:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   10161:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   10162:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   10163:       ;;
                   10164:     *)
                   10165:       sys_lib_search_path_spec="$LIB"
                   10166:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   10167:         # It is most probably a Windows format PATH.
                   10168:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   10169:       else
                   10170:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   10171:       fi
                   10172:       # FIXME: find the short name or the path components, as spaces are
                   10173:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   10174:       ;;
                   10175:     esac
                   10176: 
                   10177:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   10178:     postinstall_cmds='base_file=`basename \${file}`~
                   10179:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   10180:       dldir=$destdir/`dirname \$dlpath`~
                   10181:       test -d \$dldir || mkdir -p \$dldir~
                   10182:       $install_prog $dir/$dlname \$dldir/$dlname'
                   10183:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   10184:       dlpath=$dir/\$dldll~
                   10185:        $RM \$dlpath'
                   10186:     shlibpath_overrides_runpath=yes
                   10187:     dynamic_linker='Win32 link.exe'
                   10188:     ;;
                   10189: 
                   10190:   *)
                   10191:     # Assume MSVC wrapper
                   10192:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   10193:     dynamic_linker='Win32 ld.exe'
                   10194:     ;;
                   10195:   esac
                   10196:   # FIXME: first we should search . and the directory the executable is in
                   10197:   shlibpath_var=PATH
                   10198:   ;;
                   10199: 
                   10200: darwin* | rhapsody*)
                   10201:   dynamic_linker="$host_os dyld"
                   10202:   version_type=darwin
                   10203:   need_lib_prefix=no
                   10204:   need_version=no
                   10205:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   10206:   soname_spec='${libname}${release}${major}$shared_ext'
                   10207:   shlibpath_overrides_runpath=yes
                   10208:   shlibpath_var=DYLD_LIBRARY_PATH
                   10209:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   10210: 
                   10211:   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
                   10212:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   10213:   ;;
                   10214: 
                   10215: dgux*)
                   10216:   version_type=linux # correct to gnu/linux during the next big refactor
                   10217:   need_lib_prefix=no
                   10218:   need_version=no
                   10219:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   10220:   soname_spec='${libname}${release}${shared_ext}$major'
                   10221:   shlibpath_var=LD_LIBRARY_PATH
                   10222:   ;;
                   10223: 
                   10224: freebsd* | dragonfly*)
                   10225:   # DragonFly does not have aout.  When/if they implement a new
                   10226:   # versioning mechanism, adjust this.
                   10227:   if test -x /usr/bin/objformat; then
                   10228:     objformat=`/usr/bin/objformat`
1.11      paf      10229:   else
1.25      moko     10230:     case $host_os in
                   10231:     freebsd[23].*) objformat=aout ;;
                   10232:     *) objformat=elf ;;
                   10233:     esac
1.11      paf      10234:   fi
1.25      moko     10235:   version_type=freebsd-$objformat
                   10236:   case $version_type in
                   10237:     freebsd-elf*)
                   10238:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   10239:       need_version=no
                   10240:       need_lib_prefix=no
                   10241:       ;;
                   10242:     freebsd-*)
                   10243:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   10244:       need_version=yes
                   10245:       ;;
                   10246:   esac
                   10247:   shlibpath_var=LD_LIBRARY_PATH
                   10248:   case $host_os in
                   10249:   freebsd2.*)
                   10250:     shlibpath_overrides_runpath=yes
                   10251:     ;;
                   10252:   freebsd3.[01]* | freebsdelf3.[01]*)
                   10253:     shlibpath_overrides_runpath=yes
                   10254:     hardcode_into_libs=yes
                   10255:     ;;
                   10256:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   10257:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   10258:     shlibpath_overrides_runpath=no
                   10259:     hardcode_into_libs=yes
                   10260:     ;;
                   10261:   *) # from 4.6 on, and DragonFly
                   10262:     shlibpath_overrides_runpath=yes
                   10263:     hardcode_into_libs=yes
                   10264:     ;;
                   10265:   esac
                   10266:   ;;
                   10267: 
                   10268: gnu*)
                   10269:   version_type=linux # correct to gnu/linux during the next big refactor
                   10270:   need_lib_prefix=no
                   10271:   need_version=no
                   10272:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   10273:   soname_spec='${libname}${release}${shared_ext}$major'
                   10274:   shlibpath_var=LD_LIBRARY_PATH
                   10275:   shlibpath_overrides_runpath=no
                   10276:   hardcode_into_libs=yes
                   10277:   ;;
                   10278: 
                   10279: haiku*)
                   10280:   version_type=linux # correct to gnu/linux during the next big refactor
                   10281:   need_lib_prefix=no
                   10282:   need_version=no
                   10283:   dynamic_linker="$host_os runtime_loader"
                   10284:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   10285:   soname_spec='${libname}${release}${shared_ext}$major'
                   10286:   shlibpath_var=LIBRARY_PATH
                   10287:   shlibpath_overrides_runpath=yes
                   10288:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   10289:   hardcode_into_libs=yes
                   10290:   ;;
                   10291: 
                   10292: hpux9* | hpux10* | hpux11*)
                   10293:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   10294:   # link against other versions.
                   10295:   version_type=sunos
                   10296:   need_lib_prefix=no
                   10297:   need_version=no
                   10298:   case $host_cpu in
                   10299:   ia64*)
                   10300:     shrext_cmds='.so'
                   10301:     hardcode_into_libs=yes
                   10302:     dynamic_linker="$host_os dld.so"
                   10303:     shlibpath_var=LD_LIBRARY_PATH
                   10304:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   10305:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10306:     soname_spec='${libname}${release}${shared_ext}$major'
                   10307:     if test "X$HPUX_IA64_MODE" = X32; then
                   10308:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
1.11      paf      10309:     else
1.25      moko     10310:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   10311:     fi
                   10312:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   10313:     ;;
                   10314:   hppa*64*)
                   10315:     shrext_cmds='.sl'
                   10316:     hardcode_into_libs=yes
                   10317:     dynamic_linker="$host_os dld.sl"
                   10318:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   10319:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   10320:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10321:     soname_spec='${libname}${release}${shared_ext}$major'
                   10322:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   10323:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   10324:     ;;
                   10325:   *)
                   10326:     shrext_cmds='.sl'
                   10327:     dynamic_linker="$host_os dld.sl"
                   10328:     shlibpath_var=SHLIB_PATH
                   10329:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   10330:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10331:     soname_spec='${libname}${release}${shared_ext}$major'
                   10332:     ;;
                   10333:   esac
                   10334:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   10335:   postinstall_cmds='chmod 555 $lib'
                   10336:   # or fails outright, so override atomically:
                   10337:   install_override_mode=555
                   10338:   ;;
                   10339: 
                   10340: interix[3-9]*)
                   10341:   version_type=linux # correct to gnu/linux during the next big refactor
                   10342:   need_lib_prefix=no
                   10343:   need_version=no
                   10344:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   10345:   soname_spec='${libname}${release}${shared_ext}$major'
                   10346:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   10347:   shlibpath_var=LD_LIBRARY_PATH
                   10348:   shlibpath_overrides_runpath=no
                   10349:   hardcode_into_libs=yes
                   10350:   ;;
                   10351: 
                   10352: irix5* | irix6* | nonstopux*)
                   10353:   case $host_os in
                   10354:     nonstopux*) version_type=nonstopux ;;
                   10355:     *)
                   10356:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   10357:                version_type=linux # correct to gnu/linux during the next big refactor
                   10358:        else
                   10359:                version_type=irix
                   10360:        fi ;;
                   10361:   esac
                   10362:   need_lib_prefix=no
                   10363:   need_version=no
                   10364:   soname_spec='${libname}${release}${shared_ext}$major'
                   10365:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   10366:   case $host_os in
                   10367:   irix5* | nonstopux*)
                   10368:     libsuff= shlibsuff=
                   10369:     ;;
                   10370:   *)
                   10371:     case $LD in # libtool.m4 will add one of these switches to LD
                   10372:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   10373:       libsuff= shlibsuff= libmagic=32-bit;;
                   10374:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   10375:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   10376:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   10377:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   10378:     *) libsuff= shlibsuff= libmagic=never-match;;
                   10379:     esac
                   10380:     ;;
                   10381:   esac
                   10382:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   10383:   shlibpath_overrides_runpath=no
                   10384:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   10385:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   10386:   hardcode_into_libs=yes
                   10387:   ;;
                   10388: 
                   10389: # No shared lib support for Linux oldld, aout, or coff.
                   10390: linux*oldld* | linux*aout* | linux*coff*)
                   10391:   dynamic_linker=no
                   10392:   ;;
                   10393: 
                   10394: # This must be glibc/ELF.
                   10395: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   10396:   version_type=linux # correct to gnu/linux during the next big refactor
                   10397:   need_lib_prefix=no
                   10398:   need_version=no
                   10399:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10400:   soname_spec='${libname}${release}${shared_ext}$major'
                   10401:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   10402:   shlibpath_var=LD_LIBRARY_PATH
                   10403:   shlibpath_overrides_runpath=no
                   10404: 
                   10405:   # Some binutils ld are patched to set DT_RUNPATH
                   10406:   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
                   10407:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   10408: else
                   10409:   lt_cv_shlibpath_overrides_runpath=no
                   10410:     save_LDFLAGS=$LDFLAGS
                   10411:     save_libdir=$libdir
                   10412:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
                   10413:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
                   10414:     cat >conftest.$ac_ext <<_ACEOF
                   10415: /* confdefs.h.  */
                   10416: _ACEOF
                   10417: cat confdefs.h >>conftest.$ac_ext
                   10418: cat >>conftest.$ac_ext <<_ACEOF
                   10419: /* end confdefs.h.  */
                   10420: 
                   10421: int
                   10422: main ()
                   10423: {
                   10424: 
                   10425:   ;
                   10426:   return 0;
                   10427: }
                   10428: _ACEOF
                   10429: rm -f conftest.$ac_objext conftest$ac_exeext
                   10430: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   10431:   (eval $ac_link) 2>conftest.er1
                   10432:   ac_status=$?
                   10433:   grep -v '^ *+' conftest.er1 >conftest.err
                   10434:   rm -f conftest.er1
                   10435:   cat conftest.err >&5
                   10436:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10437:   (exit $ac_status); } &&
                   10438:         { ac_try='test -z "$ac_c_werror_flag"
                   10439:                         || test ! -s conftest.err'
                   10440:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10441:   (eval $ac_try) 2>&5
                   10442:   ac_status=$?
                   10443:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10444:   (exit $ac_status); }; } &&
                   10445:         { ac_try='test -s conftest$ac_exeext'
                   10446:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10447:   (eval $ac_try) 2>&5
                   10448:   ac_status=$?
                   10449:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10450:   (exit $ac_status); }; }; then
                   10451:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
                   10452:   lt_cv_shlibpath_overrides_runpath=yes
                   10453: fi
                   10454: 
                   10455: else
                   10456:   echo "$as_me: failed program was:" >&5
                   10457: sed 's/^/| /' conftest.$ac_ext >&5
                   10458: 
                   10459: fi
                   10460: rm -f conftest.err conftest.$ac_objext \
                   10461:       conftest$ac_exeext conftest.$ac_ext
                   10462:     LDFLAGS=$save_LDFLAGS
                   10463:     libdir=$save_libdir
                   10464: 
                   10465: fi
                   10466: 
                   10467:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   10468: 
                   10469:   # This implies no fast_install, which is unacceptable.
                   10470:   # Some rework will be needed to allow for fast_install
                   10471:   # before this can be enabled.
                   10472:   hardcode_into_libs=yes
                   10473: 
                   10474:   # Append ld.so.conf contents to the search path
                   10475:   if test -f /etc/ld.so.conf; then
                   10476:     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' ' '`
                   10477:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   10478:   fi
                   10479: 
                   10480:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   10481:   # powerpc, because MkLinux only supported shared libraries with the
                   10482:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   10483:   # most powerpc-linux boxes support dynamic linking these days and
                   10484:   # people can always --disable-shared, the test was removed, and we
                   10485:   # assume the GNU/Linux dynamic linker is in use.
                   10486:   dynamic_linker='GNU/Linux ld.so'
                   10487:   ;;
                   10488: 
                   10489: netbsd*)
                   10490:   version_type=sunos
                   10491:   need_lib_prefix=no
                   10492:   need_version=no
                   10493:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   10494:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   10495:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   10496:     dynamic_linker='NetBSD (a.out) ld.so'
                   10497:   else
                   10498:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   10499:     soname_spec='${libname}${release}${shared_ext}$major'
                   10500:     dynamic_linker='NetBSD ld.elf_so'
                   10501:   fi
                   10502:   shlibpath_var=LD_LIBRARY_PATH
                   10503:   shlibpath_overrides_runpath=yes
                   10504:   hardcode_into_libs=yes
                   10505:   ;;
                   10506: 
                   10507: newsos6)
                   10508:   version_type=linux # correct to gnu/linux during the next big refactor
                   10509:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10510:   shlibpath_var=LD_LIBRARY_PATH
                   10511:   shlibpath_overrides_runpath=yes
                   10512:   ;;
                   10513: 
                   10514: *nto* | *qnx*)
                   10515:   version_type=qnx
                   10516:   need_lib_prefix=no
                   10517:   need_version=no
                   10518:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10519:   soname_spec='${libname}${release}${shared_ext}$major'
                   10520:   shlibpath_var=LD_LIBRARY_PATH
                   10521:   shlibpath_overrides_runpath=no
                   10522:   hardcode_into_libs=yes
                   10523:   dynamic_linker='ldqnx.so'
                   10524:   ;;
                   10525: 
                   10526: openbsd*)
                   10527:   version_type=sunos
                   10528:   sys_lib_dlsearch_path_spec="/usr/lib"
                   10529:   need_lib_prefix=no
                   10530:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   10531:   case $host_os in
                   10532:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   10533:     *)                         need_version=no  ;;
                   10534:   esac
                   10535:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   10536:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   10537:   shlibpath_var=LD_LIBRARY_PATH
                   10538:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   10539:     case $host_os in
                   10540:       openbsd2.[89] | openbsd2.[89].*)
                   10541:        shlibpath_overrides_runpath=no
                   10542:        ;;
                   10543:       *)
                   10544:        shlibpath_overrides_runpath=yes
                   10545:        ;;
                   10546:       esac
                   10547:   else
                   10548:     shlibpath_overrides_runpath=yes
                   10549:   fi
                   10550:   ;;
                   10551: 
                   10552: os2*)
                   10553:   libname_spec='$name'
                   10554:   shrext_cmds=".dll"
                   10555:   need_lib_prefix=no
                   10556:   library_names_spec='$libname${shared_ext} $libname.a'
                   10557:   dynamic_linker='OS/2 ld.exe'
                   10558:   shlibpath_var=LIBPATH
                   10559:   ;;
                   10560: 
                   10561: osf3* | osf4* | osf5*)
                   10562:   version_type=osf
                   10563:   need_lib_prefix=no
                   10564:   need_version=no
                   10565:   soname_spec='${libname}${release}${shared_ext}$major'
                   10566:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10567:   shlibpath_var=LD_LIBRARY_PATH
                   10568:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   10569:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   10570:   ;;
                   10571: 
                   10572: rdos*)
                   10573:   dynamic_linker=no
                   10574:   ;;
                   10575: 
                   10576: solaris*)
                   10577:   version_type=linux # correct to gnu/linux during the next big refactor
                   10578:   need_lib_prefix=no
                   10579:   need_version=no
                   10580:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10581:   soname_spec='${libname}${release}${shared_ext}$major'
                   10582:   shlibpath_var=LD_LIBRARY_PATH
                   10583:   shlibpath_overrides_runpath=yes
                   10584:   hardcode_into_libs=yes
                   10585:   # ldd complains unless libraries are executable
                   10586:   postinstall_cmds='chmod +x $lib'
                   10587:   ;;
                   10588: 
                   10589: sunos4*)
                   10590:   version_type=sunos
                   10591:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   10592:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   10593:   shlibpath_var=LD_LIBRARY_PATH
                   10594:   shlibpath_overrides_runpath=yes
                   10595:   if test "$with_gnu_ld" = yes; then
                   10596:     need_lib_prefix=no
                   10597:   fi
                   10598:   need_version=yes
                   10599:   ;;
                   10600: 
                   10601: sysv4 | sysv4.3*)
                   10602:   version_type=linux # correct to gnu/linux during the next big refactor
                   10603:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10604:   soname_spec='${libname}${release}${shared_ext}$major'
                   10605:   shlibpath_var=LD_LIBRARY_PATH
                   10606:   case $host_vendor in
                   10607:     sni)
                   10608:       shlibpath_overrides_runpath=no
                   10609:       need_lib_prefix=no
                   10610:       runpath_var=LD_RUN_PATH
                   10611:       ;;
                   10612:     siemens)
                   10613:       need_lib_prefix=no
                   10614:       ;;
                   10615:     motorola)
                   10616:       need_lib_prefix=no
                   10617:       need_version=no
                   10618:       shlibpath_overrides_runpath=no
                   10619:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   10620:       ;;
                   10621:   esac
                   10622:   ;;
                   10623: 
                   10624: sysv4*MP*)
                   10625:   if test -d /usr/nec ;then
                   10626:     version_type=linux # correct to gnu/linux during the next big refactor
                   10627:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   10628:     soname_spec='$libname${shared_ext}.$major'
                   10629:     shlibpath_var=LD_LIBRARY_PATH
                   10630:   fi
                   10631:   ;;
                   10632: 
                   10633: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   10634:   version_type=freebsd-elf
                   10635:   need_lib_prefix=no
                   10636:   need_version=no
                   10637:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   10638:   soname_spec='${libname}${release}${shared_ext}$major'
                   10639:   shlibpath_var=LD_LIBRARY_PATH
                   10640:   shlibpath_overrides_runpath=yes
                   10641:   hardcode_into_libs=yes
                   10642:   if test "$with_gnu_ld" = yes; then
                   10643:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   10644:   else
                   10645:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   10646:     case $host_os in
                   10647:       sco3.2v5*)
                   10648:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   10649:        ;;
                   10650:     esac
                   10651:   fi
                   10652:   sys_lib_dlsearch_path_spec='/usr/lib'
                   10653:   ;;
                   10654: 
                   10655: tpf*)
                   10656:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   10657:   version_type=linux # correct to gnu/linux during the next big refactor
                   10658:   need_lib_prefix=no
                   10659:   need_version=no
                   10660:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10661:   shlibpath_var=LD_LIBRARY_PATH
                   10662:   shlibpath_overrides_runpath=no
                   10663:   hardcode_into_libs=yes
                   10664:   ;;
                   10665: 
                   10666: uts4*)
                   10667:   version_type=linux # correct to gnu/linux during the next big refactor
                   10668:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   10669:   soname_spec='${libname}${release}${shared_ext}$major'
                   10670:   shlibpath_var=LD_LIBRARY_PATH
                   10671:   ;;
                   10672: 
                   10673: *)
                   10674:   dynamic_linker=no
                   10675:   ;;
                   10676: esac
                   10677: echo "$as_me:$LINENO: result: $dynamic_linker" >&5
                   10678: echo "${ECHO_T}$dynamic_linker" >&6
                   10679: test "$dynamic_linker" = no && can_build_shared=no
                   10680: 
                   10681: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   10682: if test "$GCC" = yes; then
                   10683:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   10684: fi
                   10685: 
                   10686: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   10687:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   10688: fi
                   10689: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   10690:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   10691: fi
                   10692: 
                   10693: 
                   10694: 
                   10695: 
                   10696: 
                   10697: 
                   10698: 
                   10699: 
                   10700: 
                   10701: 
                   10702: 
                   10703: 
                   10704: 
                   10705: 
                   10706: 
                   10707: 
                   10708: 
                   10709: 
                   10710: 
                   10711: 
                   10712: 
                   10713: 
                   10714: 
                   10715: 
                   10716: 
                   10717: 
                   10718: 
                   10719: 
                   10720: 
                   10721: 
                   10722: 
                   10723: 
                   10724: 
                   10725: 
                   10726: 
                   10727: 
                   10728: 
                   10729: 
                   10730: 
                   10731: 
                   10732: 
                   10733: 
                   10734: 
                   10735: 
                   10736: 
                   10737: 
                   10738: 
                   10739: 
                   10740: 
                   10741: 
                   10742: 
                   10743: 
                   10744: 
                   10745: 
                   10746: 
                   10747: 
                   10748: 
                   10749: 
                   10750: 
                   10751: 
                   10752: 
                   10753: 
                   10754: 
                   10755: 
                   10756: 
                   10757: 
                   10758: 
                   10759: 
                   10760: 
                   10761: 
                   10762: 
                   10763: 
                   10764: 
                   10765: 
                   10766: 
                   10767: 
                   10768: 
                   10769: 
                   10770: 
                   10771: 
                   10772: 
                   10773: 
                   10774: 
                   10775: 
                   10776: 
                   10777: 
                   10778: 
                   10779: 
                   10780: 
                   10781: 
                   10782: 
                   10783: 
                   10784:   echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
                   10785: echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
                   10786: hardcode_action=
                   10787: if test -n "$hardcode_libdir_flag_spec" ||
                   10788:    test -n "$runpath_var" ||
                   10789:    test "X$hardcode_automatic" = "Xyes" ; then
                   10790: 
                   10791:   # We can hardcode non-existent directories.
                   10792:   if test "$hardcode_direct" != no &&
                   10793:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   10794:      # have to relink, otherwise we might link with an installed library
                   10795:      # when we should be linking with a yet-to-be-installed one
                   10796:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
                   10797:      test "$hardcode_minus_L" != no; then
                   10798:     # Linking always hardcodes the temporary library directory.
                   10799:     hardcode_action=relink
                   10800:   else
                   10801:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   10802:     hardcode_action=immediate
                   10803:   fi
                   10804: else
                   10805:   # We cannot hardcode anything, or else we can only hardcode existing
                   10806:   # directories.
                   10807:   hardcode_action=unsupported
                   10808: fi
                   10809: echo "$as_me:$LINENO: result: $hardcode_action" >&5
                   10810: echo "${ECHO_T}$hardcode_action" >&6
                   10811: 
                   10812: if test "$hardcode_action" = relink ||
                   10813:    test "$inherit_rpath" = yes; then
                   10814:   # Fast installation is not supported
                   10815:   enable_fast_install=no
                   10816: elif test "$shlibpath_overrides_runpath" = yes ||
                   10817:      test "$enable_shared" = no; then
                   10818:   # Fast installation is not necessary
                   10819:   enable_fast_install=needless
                   10820: fi
                   10821: 
                   10822: 
                   10823: 
                   10824: 
                   10825: 
                   10826: 
                   10827:   if test "x$enable_dlopen" != xyes; then
                   10828:   enable_dlopen=unknown
                   10829:   enable_dlopen_self=unknown
                   10830:   enable_dlopen_self_static=unknown
                   10831: else
                   10832:   lt_cv_dlopen=no
                   10833:   lt_cv_dlopen_libs=
                   10834: 
                   10835:   case $host_os in
                   10836:   beos*)
                   10837:     lt_cv_dlopen="load_add_on"
                   10838:     lt_cv_dlopen_libs=
                   10839:     lt_cv_dlopen_self=yes
                   10840:     ;;
                   10841: 
                   10842:   mingw* | pw32* | cegcc*)
                   10843:     lt_cv_dlopen="LoadLibrary"
                   10844:     lt_cv_dlopen_libs=
                   10845:     ;;
                   10846: 
                   10847:   cygwin*)
                   10848:     lt_cv_dlopen="dlopen"
                   10849:     lt_cv_dlopen_libs=
                   10850:     ;;
                   10851: 
                   10852:   darwin*)
                   10853:   # if libdl is installed we need to link against it
                   10854:     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
                   10855: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
                   10856: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
                   10857:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   10858: else
                   10859:   ac_check_lib_save_LIBS=$LIBS
                   10860: LIBS="-ldl  $LIBS"
                   10861: cat >conftest.$ac_ext <<_ACEOF
                   10862: /* confdefs.h.  */
                   10863: _ACEOF
                   10864: cat confdefs.h >>conftest.$ac_ext
                   10865: cat >>conftest.$ac_ext <<_ACEOF
                   10866: /* end confdefs.h.  */
                   10867: 
                   10868: /* Override any gcc2 internal prototype to avoid an error.  */
                   10869: #ifdef __cplusplus
                   10870: extern "C"
                   10871: #endif
                   10872: /* We use char because int might match the return type of a gcc2
                   10873:    builtin and then its argument prototype would still apply.  */
                   10874: char dlopen ();
                   10875: int
                   10876: main ()
                   10877: {
                   10878: dlopen ();
                   10879:   ;
                   10880:   return 0;
                   10881: }
                   10882: _ACEOF
                   10883: rm -f conftest.$ac_objext conftest$ac_exeext
                   10884: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   10885:   (eval $ac_link) 2>conftest.er1
                   10886:   ac_status=$?
                   10887:   grep -v '^ *+' conftest.er1 >conftest.err
                   10888:   rm -f conftest.er1
                   10889:   cat conftest.err >&5
                   10890:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10891:   (exit $ac_status); } &&
                   10892:         { ac_try='test -z "$ac_c_werror_flag"
                   10893:                         || test ! -s conftest.err'
                   10894:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10895:   (eval $ac_try) 2>&5
                   10896:   ac_status=$?
                   10897:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10898:   (exit $ac_status); }; } &&
                   10899:         { ac_try='test -s conftest$ac_exeext'
                   10900:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10901:   (eval $ac_try) 2>&5
                   10902:   ac_status=$?
                   10903:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10904:   (exit $ac_status); }; }; then
                   10905:   ac_cv_lib_dl_dlopen=yes
                   10906: else
                   10907:   echo "$as_me: failed program was:" >&5
                   10908: sed 's/^/| /' conftest.$ac_ext >&5
                   10909: 
                   10910: ac_cv_lib_dl_dlopen=no
                   10911: fi
                   10912: rm -f conftest.err conftest.$ac_objext \
                   10913:       conftest$ac_exeext conftest.$ac_ext
                   10914: LIBS=$ac_check_lib_save_LIBS
                   10915: fi
                   10916: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
                   10917: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
                   10918: if test $ac_cv_lib_dl_dlopen = yes; then
                   10919:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   10920: else
                   10921: 
                   10922:     lt_cv_dlopen="dyld"
                   10923:     lt_cv_dlopen_libs=
                   10924:     lt_cv_dlopen_self=yes
                   10925: 
                   10926: fi
                   10927: 
                   10928:     ;;
                   10929: 
                   10930:   *)
                   10931:     echo "$as_me:$LINENO: checking for shl_load" >&5
                   10932: echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
                   10933: if test "${ac_cv_func_shl_load+set}" = set; then
                   10934:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   10935: else
                   10936:   cat >conftest.$ac_ext <<_ACEOF
                   10937: /* confdefs.h.  */
                   10938: _ACEOF
                   10939: cat confdefs.h >>conftest.$ac_ext
                   10940: cat >>conftest.$ac_ext <<_ACEOF
                   10941: /* end confdefs.h.  */
                   10942: /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
                   10943:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   10944: #define shl_load innocuous_shl_load
                   10945: 
                   10946: /* System header to define __stub macros and hopefully few prototypes,
                   10947:     which can conflict with char shl_load (); below.
                   10948:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   10949:     <limits.h> exists even on freestanding compilers.  */
                   10950: 
                   10951: #ifdef __STDC__
                   10952: # include <limits.h>
                   10953: #else
                   10954: # include <assert.h>
                   10955: #endif
                   10956: 
                   10957: #undef shl_load
                   10958: 
                   10959: /* Override any gcc2 internal prototype to avoid an error.  */
                   10960: #ifdef __cplusplus
                   10961: extern "C"
                   10962: {
                   10963: #endif
                   10964: /* We use char because int might match the return type of a gcc2
                   10965:    builtin and then its argument prototype would still apply.  */
                   10966: char shl_load ();
                   10967: /* The GNU C library defines this for functions which it implements
                   10968:     to always fail with ENOSYS.  Some functions are actually named
                   10969:     something starting with __ and the normal name is an alias.  */
                   10970: #if defined (__stub_shl_load) || defined (__stub___shl_load)
                   10971: choke me
                   10972: #else
                   10973: char (*f) () = shl_load;
                   10974: #endif
                   10975: #ifdef __cplusplus
                   10976: }
                   10977: #endif
                   10978: 
                   10979: int
                   10980: main ()
                   10981: {
                   10982: return f != shl_load;
                   10983:   ;
                   10984:   return 0;
                   10985: }
                   10986: _ACEOF
                   10987: rm -f conftest.$ac_objext conftest$ac_exeext
                   10988: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   10989:   (eval $ac_link) 2>conftest.er1
                   10990:   ac_status=$?
                   10991:   grep -v '^ *+' conftest.er1 >conftest.err
                   10992:   rm -f conftest.er1
                   10993:   cat conftest.err >&5
                   10994:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   10995:   (exit $ac_status); } &&
                   10996:         { ac_try='test -z "$ac_c_werror_flag"
                   10997:                         || test ! -s conftest.err'
                   10998:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   10999:   (eval $ac_try) 2>&5
                   11000:   ac_status=$?
                   11001:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11002:   (exit $ac_status); }; } &&
                   11003:         { ac_try='test -s conftest$ac_exeext'
                   11004:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11005:   (eval $ac_try) 2>&5
                   11006:   ac_status=$?
                   11007:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11008:   (exit $ac_status); }; }; then
                   11009:   ac_cv_func_shl_load=yes
                   11010: else
                   11011:   echo "$as_me: failed program was:" >&5
                   11012: sed 's/^/| /' conftest.$ac_ext >&5
                   11013: 
                   11014: ac_cv_func_shl_load=no
                   11015: fi
                   11016: rm -f conftest.err conftest.$ac_objext \
                   11017:       conftest$ac_exeext conftest.$ac_ext
                   11018: fi
                   11019: echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
                   11020: echo "${ECHO_T}$ac_cv_func_shl_load" >&6
                   11021: if test $ac_cv_func_shl_load = yes; then
                   11022:   lt_cv_dlopen="shl_load"
                   11023: else
                   11024:   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
                   11025: echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
                   11026: if test "${ac_cv_lib_dld_shl_load+set}" = set; then
                   11027:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11028: else
                   11029:   ac_check_lib_save_LIBS=$LIBS
                   11030: LIBS="-ldld  $LIBS"
                   11031: cat >conftest.$ac_ext <<_ACEOF
                   11032: /* confdefs.h.  */
                   11033: _ACEOF
                   11034: cat confdefs.h >>conftest.$ac_ext
                   11035: cat >>conftest.$ac_ext <<_ACEOF
                   11036: /* end confdefs.h.  */
                   11037: 
                   11038: /* Override any gcc2 internal prototype to avoid an error.  */
                   11039: #ifdef __cplusplus
                   11040: extern "C"
                   11041: #endif
                   11042: /* We use char because int might match the return type of a gcc2
                   11043:    builtin and then its argument prototype would still apply.  */
                   11044: char shl_load ();
                   11045: int
                   11046: main ()
                   11047: {
                   11048: shl_load ();
                   11049:   ;
                   11050:   return 0;
                   11051: }
                   11052: _ACEOF
                   11053: rm -f conftest.$ac_objext conftest$ac_exeext
                   11054: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11055:   (eval $ac_link) 2>conftest.er1
                   11056:   ac_status=$?
                   11057:   grep -v '^ *+' conftest.er1 >conftest.err
                   11058:   rm -f conftest.er1
                   11059:   cat conftest.err >&5
                   11060:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11061:   (exit $ac_status); } &&
                   11062:         { ac_try='test -z "$ac_c_werror_flag"
                   11063:                         || test ! -s conftest.err'
                   11064:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11065:   (eval $ac_try) 2>&5
                   11066:   ac_status=$?
                   11067:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11068:   (exit $ac_status); }; } &&
                   11069:         { ac_try='test -s conftest$ac_exeext'
                   11070:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11071:   (eval $ac_try) 2>&5
                   11072:   ac_status=$?
                   11073:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11074:   (exit $ac_status); }; }; then
                   11075:   ac_cv_lib_dld_shl_load=yes
                   11076: else
                   11077:   echo "$as_me: failed program was:" >&5
                   11078: sed 's/^/| /' conftest.$ac_ext >&5
                   11079: 
                   11080: ac_cv_lib_dld_shl_load=no
                   11081: fi
                   11082: rm -f conftest.err conftest.$ac_objext \
                   11083:       conftest$ac_exeext conftest.$ac_ext
                   11084: LIBS=$ac_check_lib_save_LIBS
                   11085: fi
                   11086: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
                   11087: echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
                   11088: if test $ac_cv_lib_dld_shl_load = yes; then
                   11089:   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
                   11090: else
                   11091:   echo "$as_me:$LINENO: checking for dlopen" >&5
                   11092: echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
                   11093: if test "${ac_cv_func_dlopen+set}" = set; then
                   11094:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11095: else
                   11096:   cat >conftest.$ac_ext <<_ACEOF
                   11097: /* confdefs.h.  */
                   11098: _ACEOF
                   11099: cat confdefs.h >>conftest.$ac_ext
                   11100: cat >>conftest.$ac_ext <<_ACEOF
                   11101: /* end confdefs.h.  */
                   11102: /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
                   11103:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   11104: #define dlopen innocuous_dlopen
                   11105: 
                   11106: /* System header to define __stub macros and hopefully few prototypes,
                   11107:     which can conflict with char dlopen (); below.
                   11108:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   11109:     <limits.h> exists even on freestanding compilers.  */
                   11110: 
                   11111: #ifdef __STDC__
                   11112: # include <limits.h>
                   11113: #else
                   11114: # include <assert.h>
                   11115: #endif
                   11116: 
                   11117: #undef dlopen
                   11118: 
                   11119: /* Override any gcc2 internal prototype to avoid an error.  */
                   11120: #ifdef __cplusplus
                   11121: extern "C"
                   11122: {
                   11123: #endif
                   11124: /* We use char because int might match the return type of a gcc2
                   11125:    builtin and then its argument prototype would still apply.  */
                   11126: char dlopen ();
                   11127: /* The GNU C library defines this for functions which it implements
                   11128:     to always fail with ENOSYS.  Some functions are actually named
                   11129:     something starting with __ and the normal name is an alias.  */
                   11130: #if defined (__stub_dlopen) || defined (__stub___dlopen)
                   11131: choke me
                   11132: #else
                   11133: char (*f) () = dlopen;
                   11134: #endif
                   11135: #ifdef __cplusplus
                   11136: }
                   11137: #endif
                   11138: 
                   11139: int
                   11140: main ()
                   11141: {
                   11142: return f != dlopen;
                   11143:   ;
                   11144:   return 0;
                   11145: }
                   11146: _ACEOF
                   11147: rm -f conftest.$ac_objext conftest$ac_exeext
                   11148: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11149:   (eval $ac_link) 2>conftest.er1
                   11150:   ac_status=$?
                   11151:   grep -v '^ *+' conftest.er1 >conftest.err
                   11152:   rm -f conftest.er1
                   11153:   cat conftest.err >&5
                   11154:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11155:   (exit $ac_status); } &&
                   11156:         { ac_try='test -z "$ac_c_werror_flag"
                   11157:                         || test ! -s conftest.err'
                   11158:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11159:   (eval $ac_try) 2>&5
                   11160:   ac_status=$?
                   11161:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11162:   (exit $ac_status); }; } &&
                   11163:         { ac_try='test -s conftest$ac_exeext'
                   11164:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11165:   (eval $ac_try) 2>&5
                   11166:   ac_status=$?
                   11167:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11168:   (exit $ac_status); }; }; then
                   11169:   ac_cv_func_dlopen=yes
                   11170: else
                   11171:   echo "$as_me: failed program was:" >&5
                   11172: sed 's/^/| /' conftest.$ac_ext >&5
                   11173: 
                   11174: ac_cv_func_dlopen=no
                   11175: fi
                   11176: rm -f conftest.err conftest.$ac_objext \
                   11177:       conftest$ac_exeext conftest.$ac_ext
                   11178: fi
                   11179: echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
                   11180: echo "${ECHO_T}$ac_cv_func_dlopen" >&6
                   11181: if test $ac_cv_func_dlopen = yes; then
                   11182:   lt_cv_dlopen="dlopen"
                   11183: else
                   11184:   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
                   11185: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
                   11186: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
                   11187:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11188: else
                   11189:   ac_check_lib_save_LIBS=$LIBS
                   11190: LIBS="-ldl  $LIBS"
                   11191: cat >conftest.$ac_ext <<_ACEOF
                   11192: /* confdefs.h.  */
                   11193: _ACEOF
                   11194: cat confdefs.h >>conftest.$ac_ext
                   11195: cat >>conftest.$ac_ext <<_ACEOF
                   11196: /* end confdefs.h.  */
                   11197: 
                   11198: /* Override any gcc2 internal prototype to avoid an error.  */
                   11199: #ifdef __cplusplus
                   11200: extern "C"
                   11201: #endif
                   11202: /* We use char because int might match the return type of a gcc2
                   11203:    builtin and then its argument prototype would still apply.  */
                   11204: char dlopen ();
                   11205: int
                   11206: main ()
                   11207: {
                   11208: dlopen ();
                   11209:   ;
                   11210:   return 0;
                   11211: }
                   11212: _ACEOF
                   11213: rm -f conftest.$ac_objext conftest$ac_exeext
                   11214: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11215:   (eval $ac_link) 2>conftest.er1
                   11216:   ac_status=$?
                   11217:   grep -v '^ *+' conftest.er1 >conftest.err
                   11218:   rm -f conftest.er1
                   11219:   cat conftest.err >&5
                   11220:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11221:   (exit $ac_status); } &&
                   11222:         { ac_try='test -z "$ac_c_werror_flag"
                   11223:                         || test ! -s conftest.err'
                   11224:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11225:   (eval $ac_try) 2>&5
                   11226:   ac_status=$?
                   11227:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11228:   (exit $ac_status); }; } &&
                   11229:         { ac_try='test -s conftest$ac_exeext'
                   11230:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11231:   (eval $ac_try) 2>&5
                   11232:   ac_status=$?
                   11233:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11234:   (exit $ac_status); }; }; then
                   11235:   ac_cv_lib_dl_dlopen=yes
                   11236: else
                   11237:   echo "$as_me: failed program was:" >&5
                   11238: sed 's/^/| /' conftest.$ac_ext >&5
                   11239: 
                   11240: ac_cv_lib_dl_dlopen=no
                   11241: fi
                   11242: rm -f conftest.err conftest.$ac_objext \
                   11243:       conftest$ac_exeext conftest.$ac_ext
                   11244: LIBS=$ac_check_lib_save_LIBS
                   11245: fi
                   11246: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
                   11247: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
                   11248: if test $ac_cv_lib_dl_dlopen = yes; then
                   11249:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
                   11250: else
                   11251:   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
                   11252: echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
                   11253: if test "${ac_cv_lib_svld_dlopen+set}" = set; then
                   11254:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11255: else
                   11256:   ac_check_lib_save_LIBS=$LIBS
                   11257: LIBS="-lsvld  $LIBS"
                   11258: cat >conftest.$ac_ext <<_ACEOF
                   11259: /* confdefs.h.  */
                   11260: _ACEOF
                   11261: cat confdefs.h >>conftest.$ac_ext
                   11262: cat >>conftest.$ac_ext <<_ACEOF
                   11263: /* end confdefs.h.  */
                   11264: 
                   11265: /* Override any gcc2 internal prototype to avoid an error.  */
                   11266: #ifdef __cplusplus
                   11267: extern "C"
                   11268: #endif
                   11269: /* We use char because int might match the return type of a gcc2
                   11270:    builtin and then its argument prototype would still apply.  */
                   11271: char dlopen ();
                   11272: int
                   11273: main ()
                   11274: {
                   11275: dlopen ();
                   11276:   ;
                   11277:   return 0;
                   11278: }
                   11279: _ACEOF
                   11280: rm -f conftest.$ac_objext conftest$ac_exeext
                   11281: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11282:   (eval $ac_link) 2>conftest.er1
                   11283:   ac_status=$?
                   11284:   grep -v '^ *+' conftest.er1 >conftest.err
                   11285:   rm -f conftest.er1
                   11286:   cat conftest.err >&5
                   11287:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11288:   (exit $ac_status); } &&
                   11289:         { ac_try='test -z "$ac_c_werror_flag"
                   11290:                         || test ! -s conftest.err'
                   11291:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11292:   (eval $ac_try) 2>&5
                   11293:   ac_status=$?
                   11294:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11295:   (exit $ac_status); }; } &&
                   11296:         { ac_try='test -s conftest$ac_exeext'
                   11297:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11298:   (eval $ac_try) 2>&5
                   11299:   ac_status=$?
                   11300:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11301:   (exit $ac_status); }; }; then
                   11302:   ac_cv_lib_svld_dlopen=yes
                   11303: else
                   11304:   echo "$as_me: failed program was:" >&5
                   11305: sed 's/^/| /' conftest.$ac_ext >&5
                   11306: 
                   11307: ac_cv_lib_svld_dlopen=no
                   11308: fi
                   11309: rm -f conftest.err conftest.$ac_objext \
                   11310:       conftest$ac_exeext conftest.$ac_ext
                   11311: LIBS=$ac_check_lib_save_LIBS
                   11312: fi
                   11313: echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
                   11314: echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
                   11315: if test $ac_cv_lib_svld_dlopen = yes; then
                   11316:   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
                   11317: else
                   11318:   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
                   11319: echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
                   11320: if test "${ac_cv_lib_dld_dld_link+set}" = set; then
                   11321:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11322: else
                   11323:   ac_check_lib_save_LIBS=$LIBS
                   11324: LIBS="-ldld  $LIBS"
                   11325: cat >conftest.$ac_ext <<_ACEOF
                   11326: /* confdefs.h.  */
                   11327: _ACEOF
                   11328: cat confdefs.h >>conftest.$ac_ext
                   11329: cat >>conftest.$ac_ext <<_ACEOF
                   11330: /* end confdefs.h.  */
                   11331: 
                   11332: /* Override any gcc2 internal prototype to avoid an error.  */
                   11333: #ifdef __cplusplus
                   11334: extern "C"
                   11335: #endif
                   11336: /* We use char because int might match the return type of a gcc2
                   11337:    builtin and then its argument prototype would still apply.  */
                   11338: char dld_link ();
                   11339: int
                   11340: main ()
                   11341: {
                   11342: dld_link ();
                   11343:   ;
                   11344:   return 0;
                   11345: }
                   11346: _ACEOF
                   11347: rm -f conftest.$ac_objext conftest$ac_exeext
                   11348: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11349:   (eval $ac_link) 2>conftest.er1
                   11350:   ac_status=$?
                   11351:   grep -v '^ *+' conftest.er1 >conftest.err
                   11352:   rm -f conftest.er1
                   11353:   cat conftest.err >&5
                   11354:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11355:   (exit $ac_status); } &&
                   11356:         { ac_try='test -z "$ac_c_werror_flag"
                   11357:                         || test ! -s conftest.err'
                   11358:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11359:   (eval $ac_try) 2>&5
                   11360:   ac_status=$?
                   11361:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11362:   (exit $ac_status); }; } &&
                   11363:         { ac_try='test -s conftest$ac_exeext'
                   11364:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   11365:   (eval $ac_try) 2>&5
                   11366:   ac_status=$?
                   11367:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11368:   (exit $ac_status); }; }; then
                   11369:   ac_cv_lib_dld_dld_link=yes
                   11370: else
                   11371:   echo "$as_me: failed program was:" >&5
                   11372: sed 's/^/| /' conftest.$ac_ext >&5
                   11373: 
                   11374: ac_cv_lib_dld_dld_link=no
                   11375: fi
                   11376: rm -f conftest.err conftest.$ac_objext \
                   11377:       conftest$ac_exeext conftest.$ac_ext
                   11378: LIBS=$ac_check_lib_save_LIBS
                   11379: fi
                   11380: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
                   11381: echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
                   11382: if test $ac_cv_lib_dld_dld_link = yes; then
                   11383:   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
                   11384: fi
                   11385: 
                   11386: 
                   11387: fi
                   11388: 
                   11389: 
                   11390: fi
                   11391: 
                   11392: 
                   11393: fi
                   11394: 
                   11395: 
                   11396: fi
                   11397: 
                   11398: 
                   11399: fi
                   11400: 
                   11401:     ;;
                   11402:   esac
                   11403: 
                   11404:   if test "x$lt_cv_dlopen" != xno; then
                   11405:     enable_dlopen=yes
                   11406:   else
                   11407:     enable_dlopen=no
                   11408:   fi
                   11409: 
                   11410:   case $lt_cv_dlopen in
                   11411:   dlopen)
                   11412:     save_CPPFLAGS="$CPPFLAGS"
                   11413:     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
                   11414: 
                   11415:     save_LDFLAGS="$LDFLAGS"
                   11416:     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
                   11417: 
                   11418:     save_LIBS="$LIBS"
                   11419:     LIBS="$lt_cv_dlopen_libs $LIBS"
                   11420: 
                   11421:     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
                   11422: echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
                   11423: if test "${lt_cv_dlopen_self+set}" = set; then
                   11424:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11425: else
                   11426:          if test "$cross_compiling" = yes; then :
                   11427:   lt_cv_dlopen_self=cross
                   11428: else
                   11429:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   11430:   lt_status=$lt_dlunknown
                   11431:   cat > conftest.$ac_ext <<_LT_EOF
                   11432: #line $LINENO "configure"
                   11433: #include "confdefs.h"
                   11434: 
                   11435: #if HAVE_DLFCN_H
                   11436: #include <dlfcn.h>
                   11437: #endif
                   11438: 
                   11439: #include <stdio.h>
                   11440: 
                   11441: #ifdef RTLD_GLOBAL
                   11442: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   11443: #else
                   11444: #  ifdef DL_GLOBAL
                   11445: #    define LT_DLGLOBAL                DL_GLOBAL
                   11446: #  else
                   11447: #    define LT_DLGLOBAL                0
                   11448: #  endif
                   11449: #endif
                   11450: 
                   11451: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   11452:    find out it does not work in some platform. */
                   11453: #ifndef LT_DLLAZY_OR_NOW
                   11454: #  ifdef RTLD_LAZY
                   11455: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   11456: #  else
                   11457: #    ifdef DL_LAZY
                   11458: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   11459: #    else
                   11460: #      ifdef RTLD_NOW
                   11461: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   11462: #      else
                   11463: #        ifdef DL_NOW
                   11464: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   11465: #        else
                   11466: #          define LT_DLLAZY_OR_NOW     0
                   11467: #        endif
                   11468: #      endif
                   11469: #    endif
                   11470: #  endif
                   11471: #endif
                   11472: 
                   11473: /* When -fvisbility=hidden is used, assume the code has been annotated
                   11474:    correspondingly for the symbols needed.  */
                   11475: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   11476: int fnord () __attribute__((visibility("default")));
                   11477: #endif
                   11478: 
                   11479: int fnord () { return 42; }
                   11480: int main ()
                   11481: {
                   11482:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   11483:   int status = $lt_dlunknown;
                   11484: 
                   11485:   if (self)
                   11486:     {
                   11487:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   11488:       else
                   11489:         {
                   11490:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   11491:           else puts (dlerror ());
                   11492:        }
                   11493:       /* dlclose (self); */
                   11494:     }
                   11495:   else
                   11496:     puts (dlerror ());
                   11497: 
                   11498:   return status;
                   11499: }
                   11500: _LT_EOF
                   11501:   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11502:   (eval $ac_link) 2>&5
                   11503:   ac_status=$?
                   11504:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11505:   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
                   11506:     (./conftest; exit; ) >&5 2>/dev/null
                   11507:     lt_status=$?
                   11508:     case x$lt_status in
                   11509:       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
                   11510:       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
                   11511:       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
                   11512:     esac
                   11513:   else :
                   11514:     # compilation failed
                   11515:     lt_cv_dlopen_self=no
                   11516:   fi
                   11517: fi
                   11518: rm -fr conftest*
                   11519: 
                   11520: 
                   11521: fi
                   11522: echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
                   11523: echo "${ECHO_T}$lt_cv_dlopen_self" >&6
                   11524: 
                   11525:     if test "x$lt_cv_dlopen_self" = xyes; then
                   11526:       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
                   11527:       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
                   11528: echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
                   11529: if test "${lt_cv_dlopen_self_static+set}" = set; then
                   11530:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11531: else
                   11532:          if test "$cross_compiling" = yes; then :
                   11533:   lt_cv_dlopen_self_static=cross
                   11534: else
                   11535:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   11536:   lt_status=$lt_dlunknown
                   11537:   cat > conftest.$ac_ext <<_LT_EOF
                   11538: #line $LINENO "configure"
                   11539: #include "confdefs.h"
                   11540: 
                   11541: #if HAVE_DLFCN_H
                   11542: #include <dlfcn.h>
                   11543: #endif
                   11544: 
                   11545: #include <stdio.h>
                   11546: 
                   11547: #ifdef RTLD_GLOBAL
                   11548: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   11549: #else
                   11550: #  ifdef DL_GLOBAL
                   11551: #    define LT_DLGLOBAL                DL_GLOBAL
                   11552: #  else
                   11553: #    define LT_DLGLOBAL                0
                   11554: #  endif
                   11555: #endif
                   11556: 
                   11557: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   11558:    find out it does not work in some platform. */
                   11559: #ifndef LT_DLLAZY_OR_NOW
                   11560: #  ifdef RTLD_LAZY
                   11561: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   11562: #  else
                   11563: #    ifdef DL_LAZY
                   11564: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   11565: #    else
                   11566: #      ifdef RTLD_NOW
                   11567: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   11568: #      else
                   11569: #        ifdef DL_NOW
                   11570: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   11571: #        else
                   11572: #          define LT_DLLAZY_OR_NOW     0
                   11573: #        endif
                   11574: #      endif
                   11575: #    endif
                   11576: #  endif
                   11577: #endif
                   11578: 
                   11579: /* When -fvisbility=hidden is used, assume the code has been annotated
                   11580:    correspondingly for the symbols needed.  */
                   11581: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   11582: int fnord () __attribute__((visibility("default")));
                   11583: #endif
                   11584: 
                   11585: int fnord () { return 42; }
                   11586: int main ()
                   11587: {
                   11588:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   11589:   int status = $lt_dlunknown;
                   11590: 
                   11591:   if (self)
                   11592:     {
                   11593:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   11594:       else
                   11595:         {
                   11596:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   11597:           else puts (dlerror ());
                   11598:        }
                   11599:       /* dlclose (self); */
                   11600:     }
                   11601:   else
                   11602:     puts (dlerror ());
                   11603: 
                   11604:   return status;
                   11605: }
                   11606: _LT_EOF
                   11607:   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   11608:   (eval $ac_link) 2>&5
                   11609:   ac_status=$?
                   11610:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11611:   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
                   11612:     (./conftest; exit; ) >&5 2>/dev/null
                   11613:     lt_status=$?
                   11614:     case x$lt_status in
                   11615:       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
                   11616:       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
                   11617:       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
                   11618:     esac
                   11619:   else :
                   11620:     # compilation failed
                   11621:     lt_cv_dlopen_self_static=no
                   11622:   fi
                   11623: fi
                   11624: rm -fr conftest*
                   11625: 
                   11626: 
                   11627: fi
                   11628: echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
                   11629: echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
                   11630:     fi
                   11631: 
                   11632:     CPPFLAGS="$save_CPPFLAGS"
                   11633:     LDFLAGS="$save_LDFLAGS"
                   11634:     LIBS="$save_LIBS"
                   11635:     ;;
                   11636:   esac
                   11637: 
                   11638:   case $lt_cv_dlopen_self in
                   11639:   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
                   11640:   *) enable_dlopen_self=unknown ;;
                   11641:   esac
                   11642: 
                   11643:   case $lt_cv_dlopen_self_static in
                   11644:   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
                   11645:   *) enable_dlopen_self_static=unknown ;;
                   11646:   esac
                   11647: fi
                   11648: 
                   11649: 
                   11650: 
                   11651: 
                   11652: 
                   11653: 
                   11654: 
                   11655: 
                   11656: 
                   11657: 
                   11658: 
                   11659: 
                   11660: 
                   11661: 
                   11662: 
                   11663: 
                   11664: 
                   11665: striplib=
                   11666: old_striplib=
                   11667: echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
                   11668: echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
                   11669: if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
                   11670:   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
                   11671:   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
                   11672:   echo "$as_me:$LINENO: result: yes" >&5
                   11673: echo "${ECHO_T}yes" >&6
                   11674: else
                   11675: # FIXME - insert some real tests, host_os isn't really good enough
                   11676:   case $host_os in
                   11677:   darwin*)
                   11678:     if test -n "$STRIP" ; then
                   11679:       striplib="$STRIP -x"
                   11680:       old_striplib="$STRIP -S"
                   11681:       echo "$as_me:$LINENO: result: yes" >&5
                   11682: echo "${ECHO_T}yes" >&6
                   11683:     else
                   11684:       echo "$as_me:$LINENO: result: no" >&5
                   11685: echo "${ECHO_T}no" >&6
                   11686:     fi
                   11687:     ;;
                   11688:   *)
                   11689:     echo "$as_me:$LINENO: result: no" >&5
                   11690: echo "${ECHO_T}no" >&6
                   11691:     ;;
                   11692:   esac
                   11693: fi
                   11694: 
                   11695: 
                   11696: 
                   11697: 
                   11698: 
                   11699: 
                   11700: 
                   11701: 
                   11702: 
                   11703: 
                   11704: 
                   11705: 
                   11706:   # Report which library types will actually be built
                   11707:   echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
                   11708: echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
                   11709:   echo "$as_me:$LINENO: result: $can_build_shared" >&5
                   11710: echo "${ECHO_T}$can_build_shared" >&6
                   11711: 
                   11712:   echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
                   11713: echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
                   11714:   test "$can_build_shared" = "no" && enable_shared=no
                   11715: 
                   11716:   # On AIX, shared libraries and static libraries use the same namespace, and
                   11717:   # are all built from PIC.
                   11718:   case $host_os in
                   11719:   aix3*)
                   11720:     test "$enable_shared" = yes && enable_static=no
                   11721:     if test -n "$RANLIB"; then
                   11722:       archive_cmds="$archive_cmds~\$RANLIB \$lib"
                   11723:       postinstall_cmds='$RANLIB $lib'
                   11724:     fi
                   11725:     ;;
                   11726: 
                   11727:   aix[4-9]*)
                   11728:     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
                   11729:       test "$enable_shared" = yes && enable_static=no
                   11730:     fi
                   11731:     ;;
                   11732:   esac
                   11733:   echo "$as_me:$LINENO: result: $enable_shared" >&5
                   11734: echo "${ECHO_T}$enable_shared" >&6
                   11735: 
                   11736:   echo "$as_me:$LINENO: checking whether to build static libraries" >&5
                   11737: echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
                   11738:   # Make sure either enable_shared or enable_static is yes.
                   11739:   test "$enable_shared" = yes || enable_static=yes
                   11740:   echo "$as_me:$LINENO: result: $enable_static" >&5
                   11741: echo "${ECHO_T}$enable_static" >&6
                   11742: 
                   11743: 
                   11744: 
                   11745: 
                   11746: fi
                   11747: ac_ext=c
                   11748: ac_cpp='$CPP $CPPFLAGS'
                   11749: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   11750: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   11751: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   11752: 
                   11753: CC="$lt_save_CC"
                   11754: 
                   11755:       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
                   11756:     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
                   11757:     (test "X$CXX" != "Xg++"))) ; then
                   11758:   ac_ext=cc
                   11759: ac_cpp='$CXXCPP $CPPFLAGS'
                   11760: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   11761: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   11762: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   11763: echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
                   11764: echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
                   11765: if test -z "$CXXCPP"; then
                   11766:   if test "${ac_cv_prog_CXXCPP+set}" = set; then
                   11767:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   11768: else
                   11769:       # Double quotes because CXXCPP needs to be expanded
                   11770:     for CXXCPP in "$CXX -E" "/lib/cpp"
                   11771:     do
                   11772:       ac_preproc_ok=false
                   11773: for ac_cxx_preproc_warn_flag in '' yes
                   11774: do
                   11775:   # Use a header file that comes with gcc, so configuring glibc
                   11776:   # with a fresh cross-compiler works.
                   11777:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   11778:   # <limits.h> exists even on freestanding compilers.
                   11779:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   11780:   # not just through cpp. "Syntax error" is here to catch this case.
                   11781:   cat >conftest.$ac_ext <<_ACEOF
                   11782: /* confdefs.h.  */
                   11783: _ACEOF
                   11784: cat confdefs.h >>conftest.$ac_ext
                   11785: cat >>conftest.$ac_ext <<_ACEOF
                   11786: /* end confdefs.h.  */
                   11787: #ifdef __STDC__
                   11788: # include <limits.h>
                   11789: #else
                   11790: # include <assert.h>
                   11791: #endif
                   11792:                     Syntax error
                   11793: _ACEOF
                   11794: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   11795:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   11796:   ac_status=$?
                   11797:   grep -v '^ *+' conftest.er1 >conftest.err
                   11798:   rm -f conftest.er1
                   11799:   cat conftest.err >&5
                   11800:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11801:   (exit $ac_status); } >/dev/null; then
                   11802:   if test -s conftest.err; then
                   11803:     ac_cpp_err=$ac_cxx_preproc_warn_flag
                   11804:     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
                   11805:   else
                   11806:     ac_cpp_err=
                   11807:   fi
                   11808: else
                   11809:   ac_cpp_err=yes
                   11810: fi
                   11811: if test -z "$ac_cpp_err"; then
                   11812:   :
                   11813: else
                   11814:   echo "$as_me: failed program was:" >&5
                   11815: sed 's/^/| /' conftest.$ac_ext >&5
                   11816: 
                   11817:   # Broken: fails on valid input.
                   11818: continue
                   11819: fi
                   11820: rm -f conftest.err conftest.$ac_ext
                   11821: 
                   11822:   # OK, works on sane cases.  Now check whether non-existent headers
                   11823:   # can be detected and how.
                   11824:   cat >conftest.$ac_ext <<_ACEOF
                   11825: /* confdefs.h.  */
                   11826: _ACEOF
                   11827: cat confdefs.h >>conftest.$ac_ext
                   11828: cat >>conftest.$ac_ext <<_ACEOF
                   11829: /* end confdefs.h.  */
                   11830: #include <ac_nonexistent.h>
                   11831: _ACEOF
                   11832: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   11833:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   11834:   ac_status=$?
                   11835:   grep -v '^ *+' conftest.er1 >conftest.err
                   11836:   rm -f conftest.er1
                   11837:   cat conftest.err >&5
                   11838:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11839:   (exit $ac_status); } >/dev/null; then
                   11840:   if test -s conftest.err; then
                   11841:     ac_cpp_err=$ac_cxx_preproc_warn_flag
                   11842:     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
                   11843:   else
                   11844:     ac_cpp_err=
                   11845:   fi
                   11846: else
                   11847:   ac_cpp_err=yes
                   11848: fi
                   11849: if test -z "$ac_cpp_err"; then
                   11850:   # Broken: success on invalid input.
                   11851: continue
                   11852: else
                   11853:   echo "$as_me: failed program was:" >&5
                   11854: sed 's/^/| /' conftest.$ac_ext >&5
                   11855: 
                   11856:   # Passes both tests.
                   11857: ac_preproc_ok=:
                   11858: break
                   11859: fi
                   11860: rm -f conftest.err conftest.$ac_ext
                   11861: 
                   11862: done
                   11863: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   11864: rm -f conftest.err conftest.$ac_ext
                   11865: if $ac_preproc_ok; then
                   11866:   break
                   11867: fi
                   11868: 
                   11869:     done
                   11870:     ac_cv_prog_CXXCPP=$CXXCPP
                   11871: 
                   11872: fi
                   11873:   CXXCPP=$ac_cv_prog_CXXCPP
                   11874: else
                   11875:   ac_cv_prog_CXXCPP=$CXXCPP
                   11876: fi
                   11877: echo "$as_me:$LINENO: result: $CXXCPP" >&5
                   11878: echo "${ECHO_T}$CXXCPP" >&6
                   11879: ac_preproc_ok=false
                   11880: for ac_cxx_preproc_warn_flag in '' yes
                   11881: do
                   11882:   # Use a header file that comes with gcc, so configuring glibc
                   11883:   # with a fresh cross-compiler works.
                   11884:   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   11885:   # <limits.h> exists even on freestanding compilers.
                   11886:   # On the NeXT, cc -E runs the code through the compiler's parser,
                   11887:   # not just through cpp. "Syntax error" is here to catch this case.
                   11888:   cat >conftest.$ac_ext <<_ACEOF
                   11889: /* confdefs.h.  */
                   11890: _ACEOF
                   11891: cat confdefs.h >>conftest.$ac_ext
                   11892: cat >>conftest.$ac_ext <<_ACEOF
                   11893: /* end confdefs.h.  */
                   11894: #ifdef __STDC__
                   11895: # include <limits.h>
                   11896: #else
                   11897: # include <assert.h>
                   11898: #endif
                   11899:                     Syntax error
                   11900: _ACEOF
                   11901: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   11902:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   11903:   ac_status=$?
                   11904:   grep -v '^ *+' conftest.er1 >conftest.err
                   11905:   rm -f conftest.er1
                   11906:   cat conftest.err >&5
                   11907:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11908:   (exit $ac_status); } >/dev/null; then
                   11909:   if test -s conftest.err; then
                   11910:     ac_cpp_err=$ac_cxx_preproc_warn_flag
                   11911:     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
                   11912:   else
                   11913:     ac_cpp_err=
                   11914:   fi
                   11915: else
                   11916:   ac_cpp_err=yes
                   11917: fi
                   11918: if test -z "$ac_cpp_err"; then
                   11919:   :
                   11920: else
                   11921:   echo "$as_me: failed program was:" >&5
                   11922: sed 's/^/| /' conftest.$ac_ext >&5
                   11923: 
                   11924:   # Broken: fails on valid input.
                   11925: continue
                   11926: fi
                   11927: rm -f conftest.err conftest.$ac_ext
                   11928: 
                   11929:   # OK, works on sane cases.  Now check whether non-existent headers
                   11930:   # can be detected and how.
                   11931:   cat >conftest.$ac_ext <<_ACEOF
                   11932: /* confdefs.h.  */
                   11933: _ACEOF
                   11934: cat confdefs.h >>conftest.$ac_ext
                   11935: cat >>conftest.$ac_ext <<_ACEOF
                   11936: /* end confdefs.h.  */
                   11937: #include <ac_nonexistent.h>
                   11938: _ACEOF
                   11939: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   11940:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   11941:   ac_status=$?
                   11942:   grep -v '^ *+' conftest.er1 >conftest.err
                   11943:   rm -f conftest.er1
                   11944:   cat conftest.err >&5
                   11945:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   11946:   (exit $ac_status); } >/dev/null; then
                   11947:   if test -s conftest.err; then
                   11948:     ac_cpp_err=$ac_cxx_preproc_warn_flag
                   11949:     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
                   11950:   else
                   11951:     ac_cpp_err=
                   11952:   fi
                   11953: else
                   11954:   ac_cpp_err=yes
                   11955: fi
                   11956: if test -z "$ac_cpp_err"; then
                   11957:   # Broken: success on invalid input.
                   11958: continue
                   11959: else
                   11960:   echo "$as_me: failed program was:" >&5
                   11961: sed 's/^/| /' conftest.$ac_ext >&5
                   11962: 
                   11963:   # Passes both tests.
                   11964: ac_preproc_ok=:
                   11965: break
                   11966: fi
                   11967: rm -f conftest.err conftest.$ac_ext
                   11968: 
                   11969: done
                   11970: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
                   11971: rm -f conftest.err conftest.$ac_ext
                   11972: if $ac_preproc_ok; then
                   11973:   :
                   11974: else
                   11975:   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
                   11976: See \`config.log' for more details." >&5
                   11977: echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
                   11978: See \`config.log' for more details." >&2;}
                   11979:    { (exit 1); exit 1; }; }
                   11980: fi
                   11981: 
                   11982: ac_ext=c
                   11983: ac_cpp='$CPP $CPPFLAGS'
                   11984: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   11985: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   11986: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   11987: 
                   11988: else
                   11989:   _lt_caught_CXX_error=yes
                   11990: fi
                   11991: 
                   11992: ac_ext=cc
                   11993: ac_cpp='$CXXCPP $CPPFLAGS'
                   11994: ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   11995: ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   11996: ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
                   11997: 
                   11998: archive_cmds_need_lc_CXX=no
                   11999: allow_undefined_flag_CXX=
                   12000: always_export_symbols_CXX=no
                   12001: archive_expsym_cmds_CXX=
                   12002: compiler_needs_object_CXX=no
                   12003: export_dynamic_flag_spec_CXX=
                   12004: hardcode_direct_CXX=no
                   12005: hardcode_direct_absolute_CXX=no
                   12006: hardcode_libdir_flag_spec_CXX=
                   12007: hardcode_libdir_separator_CXX=
                   12008: hardcode_minus_L_CXX=no
                   12009: hardcode_shlibpath_var_CXX=unsupported
                   12010: hardcode_automatic_CXX=no
                   12011: inherit_rpath_CXX=no
                   12012: module_cmds_CXX=
                   12013: module_expsym_cmds_CXX=
                   12014: link_all_deplibs_CXX=unknown
                   12015: old_archive_cmds_CXX=$old_archive_cmds
                   12016: reload_flag_CXX=$reload_flag
                   12017: reload_cmds_CXX=$reload_cmds
                   12018: no_undefined_flag_CXX=
                   12019: whole_archive_flag_spec_CXX=
                   12020: enable_shared_with_static_runtimes_CXX=no
                   12021: 
                   12022: # Source file extension for C++ test sources.
                   12023: ac_ext=cpp
                   12024: 
                   12025: # Object file extension for compiled C++ test sources.
                   12026: objext=o
                   12027: objext_CXX=$objext
                   12028: 
                   12029: # No sense in running all these tests if we already determined that
                   12030: # the CXX compiler isn't working.  Some variables (like enable_shared)
                   12031: # are currently assumed to apply to all compilers on this platform,
                   12032: # and will be corrupted by setting them based on a non-working compiler.
                   12033: if test "$_lt_caught_CXX_error" != yes; then
                   12034:   # Code to be used in simple compile tests
                   12035:   lt_simple_compile_test_code="int some_variable = 0;"
                   12036: 
                   12037:   # Code to be used in simple link tests
                   12038:   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
                   12039: 
                   12040:   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
                   12041: 
                   12042: 
                   12043: 
                   12044: 
                   12045: 
                   12046: 
                   12047: # If no C compiler was specified, use CC.
                   12048: LTCC=${LTCC-"$CC"}
                   12049: 
                   12050: # If no C compiler flags were specified, use CFLAGS.
                   12051: LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
                   12052: 
                   12053: # Allow CC to be a program name with arguments.
                   12054: compiler=$CC
                   12055: 
                   12056: 
                   12057:   # save warnings/boilerplate of simple test code
                   12058:   ac_outfile=conftest.$ac_objext
                   12059: echo "$lt_simple_compile_test_code" >conftest.$ac_ext
                   12060: eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   12061: _lt_compiler_boilerplate=`cat conftest.err`
                   12062: $RM conftest*
                   12063: 
                   12064:   ac_outfile=conftest.$ac_objext
                   12065: echo "$lt_simple_link_test_code" >conftest.$ac_ext
                   12066: eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
                   12067: _lt_linker_boilerplate=`cat conftest.err`
                   12068: $RM -r conftest*
                   12069: 
                   12070: 
                   12071:   # Allow CC to be a program name with arguments.
                   12072:   lt_save_CC=$CC
                   12073:   lt_save_CFLAGS=$CFLAGS
                   12074:   lt_save_LD=$LD
                   12075:   lt_save_GCC=$GCC
                   12076:   GCC=$GXX
                   12077:   lt_save_with_gnu_ld=$with_gnu_ld
                   12078:   lt_save_path_LD=$lt_cv_path_LD
                   12079:   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
                   12080:     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
                   12081:   else
                   12082:     $as_unset lt_cv_prog_gnu_ld
                   12083:   fi
                   12084:   if test -n "${lt_cv_path_LDCXX+set}"; then
                   12085:     lt_cv_path_LD=$lt_cv_path_LDCXX
                   12086:   else
                   12087:     $as_unset lt_cv_path_LD
                   12088:   fi
                   12089:   test -z "${LDCXX+set}" || LD=$LDCXX
                   12090:   CC=${CXX-"c++"}
                   12091:   CFLAGS=$CXXFLAGS
                   12092:   compiler=$CC
                   12093:   compiler_CXX=$CC
                   12094:   for cc_temp in $compiler""; do
                   12095:   case $cc_temp in
                   12096:     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
                   12097:     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
                   12098:     \-*) ;;
                   12099:     *) break;;
                   12100:   esac
                   12101: done
                   12102: cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
                   12103: 
                   12104: 
                   12105:   if test -n "$compiler"; then
                   12106:     # We don't want -fno-exception when compiling C++ code, so set the
                   12107:     # no_builtin_flag separately
                   12108:     if test "$GXX" = yes; then
                   12109:       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
                   12110:     else
                   12111:       lt_prog_compiler_no_builtin_flag_CXX=
                   12112:     fi
                   12113: 
                   12114:     if test "$GXX" = yes; then
                   12115:       # Set up default GNU C++ configuration
                   12116: 
                   12117: 
                   12118: 
                   12119: # Check whether --with-gnu-ld or --without-gnu-ld was given.
                   12120: if test "${with_gnu_ld+set}" = set; then
                   12121:   withval="$with_gnu_ld"
                   12122:   test "$withval" = no || with_gnu_ld=yes
                   12123: else
                   12124:   with_gnu_ld=no
                   12125: fi;
                   12126: ac_prog=ld
                   12127: if test "$GCC" = yes; then
                   12128:   # Check if gcc -print-prog-name=ld gives a path.
                   12129:   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
                   12130: echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
                   12131:   case $host in
                   12132:   *-*-mingw*)
                   12133:     # gcc leaves a trailing carriage return which upsets mingw
                   12134:     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
                   12135:   *)
                   12136:     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
                   12137:   esac
                   12138:   case $ac_prog in
                   12139:     # Accept absolute paths.
                   12140:     [\\/]* | ?:[\\/]*)
                   12141:       re_direlt='/[^/][^/]*/\.\./'
                   12142:       # Canonicalize the pathname of ld
                   12143:       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
                   12144:       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
                   12145:        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
                   12146:       done
                   12147:       test -z "$LD" && LD="$ac_prog"
                   12148:       ;;
                   12149:   "")
                   12150:     # If it fails, then pretend we aren't using GCC.
                   12151:     ac_prog=ld
                   12152:     ;;
                   12153:   *)
                   12154:     # If it is relative, then search for the first ld in PATH.
                   12155:     with_gnu_ld=unknown
                   12156:     ;;
                   12157:   esac
                   12158: elif test "$with_gnu_ld" = yes; then
                   12159:   echo "$as_me:$LINENO: checking for GNU ld" >&5
                   12160: echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
                   12161: else
                   12162:   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
                   12163: echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
                   12164: fi
                   12165: if test "${lt_cv_path_LD+set}" = set; then
                   12166:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12167: else
                   12168:   if test -z "$LD"; then
                   12169:   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
                   12170:   for ac_dir in $PATH; do
                   12171:     IFS="$lt_save_ifs"
                   12172:     test -z "$ac_dir" && ac_dir=.
                   12173:     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
                   12174:       lt_cv_path_LD="$ac_dir/$ac_prog"
                   12175:       # Check to see if the program is GNU ld.  I'd rather use --version,
                   12176:       # but apparently some variants of GNU ld only accept -v.
                   12177:       # Break only if it was the GNU/non-GNU ld that we prefer.
                   12178:       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
                   12179:       *GNU* | *'with BFD'*)
                   12180:        test "$with_gnu_ld" != no && break
                   12181:        ;;
                   12182:       *)
                   12183:        test "$with_gnu_ld" != yes && break
                   12184:        ;;
                   12185:       esac
                   12186:     fi
                   12187:   done
                   12188:   IFS="$lt_save_ifs"
                   12189: else
                   12190:   lt_cv_path_LD="$LD" # Let the user override the test with a path.
                   12191: fi
                   12192: fi
                   12193: 
                   12194: LD="$lt_cv_path_LD"
                   12195: if test -n "$LD"; then
                   12196:   echo "$as_me:$LINENO: result: $LD" >&5
                   12197: echo "${ECHO_T}$LD" >&6
                   12198: else
                   12199:   echo "$as_me:$LINENO: result: no" >&5
                   12200: echo "${ECHO_T}no" >&6
                   12201: fi
                   12202: test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
                   12203: echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
                   12204:    { (exit 1); exit 1; }; }
                   12205: echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
                   12206: echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
                   12207: if test "${lt_cv_prog_gnu_ld+set}" = set; then
                   12208:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12209: else
                   12210:   # I'd rather use --version here, but apparently some GNU lds only accept -v.
                   12211: case `$LD -v 2>&1 </dev/null` in
                   12212: *GNU* | *'with BFD'*)
                   12213:   lt_cv_prog_gnu_ld=yes
                   12214:   ;;
                   12215: *)
                   12216:   lt_cv_prog_gnu_ld=no
                   12217:   ;;
                   12218: esac
                   12219: fi
                   12220: echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
                   12221: echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
                   12222: with_gnu_ld=$lt_cv_prog_gnu_ld
                   12223: 
                   12224: 
                   12225: 
                   12226: 
                   12227: 
                   12228: 
                   12229: 
                   12230:       # Check if GNU C++ uses GNU ld as the underlying linker, since the
                   12231:       # archiving commands below assume that GNU ld is being used.
                   12232:       if test "$with_gnu_ld" = yes; then
                   12233:         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12234:         archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   12235: 
                   12236:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   12237:         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   12238: 
                   12239:         # If archive_cmds runs LD, not CC, wlarc should be empty
                   12240:         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
                   12241:         #     investigate it a little bit more. (MM)
                   12242:         wlarc='${wl}'
                   12243: 
                   12244:         # ancient GNU ld didn't support --whole-archive et. al.
                   12245:         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
                   12246:          $GREP 'no-whole-archive' > /dev/null; then
                   12247:           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   12248:         else
                   12249:           whole_archive_flag_spec_CXX=
                   12250:         fi
                   12251:       else
                   12252:         with_gnu_ld=no
                   12253:         wlarc=
                   12254: 
                   12255:         # A generic and very simple default shared library creation
                   12256:         # command for GNU C++ for the case where it uses the native
                   12257:         # linker, instead of GNU ld.  If possible, this setting should
                   12258:         # overridden to take advantage of the native linker features on
                   12259:         # the platform it is being used on.
                   12260:         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   12261:       fi
                   12262: 
                   12263:       # Commands to make compiler produce verbose output that lists
                   12264:       # what "hidden" libraries, object files and flags are used when
                   12265:       # linking a shared library.
                   12266:       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   12267: 
                   12268:     else
                   12269:       GXX=no
                   12270:       with_gnu_ld=no
                   12271:       wlarc=
                   12272:     fi
                   12273: 
                   12274:     # PORTME: fill in a description of your system's C++ link characteristics
                   12275:     echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   12276: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
                   12277:     ld_shlibs_CXX=yes
                   12278:     case $host_os in
                   12279:       aix3*)
                   12280:         # FIXME: insert proper C++ library support
                   12281:         ld_shlibs_CXX=no
                   12282:         ;;
                   12283:       aix[4-9]*)
                   12284:         if test "$host_cpu" = ia64; then
                   12285:           # On IA64, the linker does run time linking by default, so we don't
                   12286:           # have to do anything special.
                   12287:           aix_use_runtimelinking=no
                   12288:           exp_sym_flag='-Bexport'
                   12289:           no_entry_flag=""
                   12290:         else
                   12291:           aix_use_runtimelinking=no
                   12292: 
                   12293:           # Test if we are trying to use run time linking or normal
                   12294:           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
                   12295:           # need to do runtime linking.
                   12296:           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
                   12297:            for ld_flag in $LDFLAGS; do
                   12298:              case $ld_flag in
                   12299:              *-brtl*)
                   12300:                aix_use_runtimelinking=yes
                   12301:                break
                   12302:                ;;
                   12303:              esac
                   12304:            done
                   12305:            ;;
                   12306:           esac
                   12307: 
                   12308:           exp_sym_flag='-bexport'
                   12309:           no_entry_flag='-bnoentry'
                   12310:         fi
                   12311: 
                   12312:         # When large executables or shared objects are built, AIX ld can
                   12313:         # have problems creating the table of contents.  If linking a library
                   12314:         # or program results in "error TOC overflow" add -mminimal-toc to
                   12315:         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
                   12316:         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
                   12317: 
                   12318:         archive_cmds_CXX=''
                   12319:         hardcode_direct_CXX=yes
                   12320:         hardcode_direct_absolute_CXX=yes
                   12321:         hardcode_libdir_separator_CXX=':'
                   12322:         link_all_deplibs_CXX=yes
                   12323:         file_list_spec_CXX='${wl}-f,'
                   12324: 
                   12325:         if test "$GXX" = yes; then
                   12326:           case $host_os in aix4.[012]|aix4.[012].*)
                   12327:           # We only want to do this on AIX 4.2 and lower, the check
                   12328:           # below for broken collect2 doesn't work under 4.3+
                   12329:          collect2name=`${CC} -print-prog-name=collect2`
                   12330:          if test -f "$collect2name" &&
                   12331:             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
                   12332:          then
                   12333:            # We have reworked collect2
                   12334:            :
                   12335:          else
                   12336:            # We have old collect2
                   12337:            hardcode_direct_CXX=unsupported
                   12338:            # It fails to find uninstalled libraries when the uninstalled
                   12339:            # path is not listed in the libpath.  Setting hardcode_minus_L
                   12340:            # to unsupported forces relinking
                   12341:            hardcode_minus_L_CXX=yes
                   12342:            hardcode_libdir_flag_spec_CXX='-L$libdir'
                   12343:            hardcode_libdir_separator_CXX=
                   12344:          fi
                   12345:           esac
                   12346:           shared_flag='-shared'
                   12347:          if test "$aix_use_runtimelinking" = yes; then
                   12348:            shared_flag="$shared_flag "'${wl}-G'
                   12349:          fi
                   12350:         else
                   12351:           # not using gcc
                   12352:           if test "$host_cpu" = ia64; then
                   12353:          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
                   12354:          # chokes on -Wl,-G. The following line is correct:
                   12355:          shared_flag='-G'
                   12356:           else
                   12357:            if test "$aix_use_runtimelinking" = yes; then
                   12358:              shared_flag='${wl}-G'
                   12359:            else
                   12360:              shared_flag='${wl}-bM:SRE'
                   12361:            fi
                   12362:           fi
                   12363:         fi
                   12364: 
                   12365:         export_dynamic_flag_spec_CXX='${wl}-bexpall'
                   12366:         # It seems that -bexpall does not export symbols beginning with
                   12367:         # underscore (_), so it is better to generate a list of symbols to
                   12368:        # export.
                   12369:         always_export_symbols_CXX=yes
                   12370:         if test "$aix_use_runtimelinking" = yes; then
                   12371:           # Warning - without using the other runtime loading flags (-brtl),
                   12372:           # -berok will link without error, but may produce a broken library.
                   12373:           allow_undefined_flag_CXX='-berok'
                   12374:           # Determine the default libpath from the value encoded in an empty
                   12375:           # executable.
                   12376:           if test "${lt_cv_aix_libpath+set}" = set; then
                   12377:   aix_libpath=$lt_cv_aix_libpath
                   12378: else
                   12379:   if test "${lt_cv_aix_libpath__CXX+set}" = set; then
                   12380:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12381: else
                   12382:   cat >conftest.$ac_ext <<_ACEOF
                   12383: /* confdefs.h.  */
                   12384: _ACEOF
                   12385: cat confdefs.h >>conftest.$ac_ext
                   12386: cat >>conftest.$ac_ext <<_ACEOF
                   12387: /* end confdefs.h.  */
                   12388: 
                   12389: int
                   12390: main ()
                   12391: {
                   12392: 
                   12393:   ;
                   12394:   return 0;
                   12395: }
                   12396: _ACEOF
                   12397: rm -f conftest.$ac_objext conftest$ac_exeext
                   12398: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   12399:   (eval $ac_link) 2>conftest.er1
                   12400:   ac_status=$?
                   12401:   grep -v '^ *+' conftest.er1 >conftest.err
                   12402:   rm -f conftest.er1
                   12403:   cat conftest.err >&5
                   12404:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12405:   (exit $ac_status); } &&
                   12406:         { ac_try='test -z "$ac_cxx_werror_flag"
                   12407:                         || test ! -s conftest.err'
                   12408:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   12409:   (eval $ac_try) 2>&5
                   12410:   ac_status=$?
                   12411:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12412:   (exit $ac_status); }; } &&
                   12413:         { ac_try='test -s conftest$ac_exeext'
                   12414:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   12415:   (eval $ac_try) 2>&5
                   12416:   ac_status=$?
                   12417:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12418:   (exit $ac_status); }; }; then
                   12419: 
                   12420:   lt_aix_libpath_sed='
                   12421:       /Import File Strings/,/^$/ {
                   12422:          /^0/ {
                   12423:              s/^0  *\([^ ]*\) *$/\1/
                   12424:              p
                   12425:          }
                   12426:       }'
                   12427:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   12428:   # Check for a 64-bit object if we didn't find anything.
                   12429:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   12430:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   12431:   fi
                   12432: else
                   12433:   echo "$as_me: failed program was:" >&5
                   12434: sed 's/^/| /' conftest.$ac_ext >&5
                   12435: 
                   12436: fi
                   12437: rm -f conftest.err conftest.$ac_objext \
                   12438:       conftest$ac_exeext conftest.$ac_ext
                   12439:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   12440:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   12441:   fi
                   12442: 
                   12443: fi
                   12444: 
                   12445:   aix_libpath=$lt_cv_aix_libpath__CXX
                   12446: fi
                   12447: 
                   12448:           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   12449: 
                   12450:           archive_expsym_cmds_CXX='$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"
                   12451:         else
                   12452:           if test "$host_cpu" = ia64; then
                   12453:            hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
                   12454:            allow_undefined_flag_CXX="-z nodefs"
                   12455:            archive_expsym_cmds_CXX="\$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"
                   12456:           else
                   12457:            # Determine the default libpath from the value encoded in an
                   12458:            # empty executable.
                   12459:            if test "${lt_cv_aix_libpath+set}" = set; then
                   12460:   aix_libpath=$lt_cv_aix_libpath
                   12461: else
                   12462:   if test "${lt_cv_aix_libpath__CXX+set}" = set; then
                   12463:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   12464: else
                   12465:   cat >conftest.$ac_ext <<_ACEOF
                   12466: /* confdefs.h.  */
                   12467: _ACEOF
                   12468: cat confdefs.h >>conftest.$ac_ext
                   12469: cat >>conftest.$ac_ext <<_ACEOF
                   12470: /* end confdefs.h.  */
                   12471: 
                   12472: int
                   12473: main ()
                   12474: {
                   12475: 
                   12476:   ;
                   12477:   return 0;
                   12478: }
                   12479: _ACEOF
                   12480: rm -f conftest.$ac_objext conftest$ac_exeext
                   12481: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   12482:   (eval $ac_link) 2>conftest.er1
                   12483:   ac_status=$?
                   12484:   grep -v '^ *+' conftest.er1 >conftest.err
                   12485:   rm -f conftest.er1
                   12486:   cat conftest.err >&5
                   12487:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12488:   (exit $ac_status); } &&
                   12489:         { ac_try='test -z "$ac_cxx_werror_flag"
                   12490:                         || test ! -s conftest.err'
                   12491:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   12492:   (eval $ac_try) 2>&5
                   12493:   ac_status=$?
                   12494:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12495:   (exit $ac_status); }; } &&
                   12496:         { ac_try='test -s conftest$ac_exeext'
                   12497:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   12498:   (eval $ac_try) 2>&5
                   12499:   ac_status=$?
                   12500:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   12501:   (exit $ac_status); }; }; then
                   12502: 
                   12503:   lt_aix_libpath_sed='
                   12504:       /Import File Strings/,/^$/ {
                   12505:          /^0/ {
                   12506:              s/^0  *\([^ ]*\) *$/\1/
                   12507:              p
                   12508:          }
                   12509:       }'
                   12510:   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   12511:   # Check for a 64-bit object if we didn't find anything.
                   12512:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   12513:     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
                   12514:   fi
                   12515: else
                   12516:   echo "$as_me: failed program was:" >&5
                   12517: sed 's/^/| /' conftest.$ac_ext >&5
                   12518: 
                   12519: fi
                   12520: rm -f conftest.err conftest.$ac_objext \
                   12521:       conftest$ac_exeext conftest.$ac_ext
                   12522:   if test -z "$lt_cv_aix_libpath__CXX"; then
                   12523:     lt_cv_aix_libpath__CXX="/usr/lib:/lib"
                   12524:   fi
                   12525: 
                   12526: fi
                   12527: 
                   12528:   aix_libpath=$lt_cv_aix_libpath__CXX
                   12529: fi
                   12530: 
                   12531:            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
                   12532:            # Warning - without using the other run time loading flags,
                   12533:            # -berok will link without error, but may produce a broken library.
                   12534:            no_undefined_flag_CXX=' ${wl}-bernotok'
                   12535:            allow_undefined_flag_CXX=' ${wl}-berok'
                   12536:            if test "$with_gnu_ld" = yes; then
                   12537:              # We only use this code for GNU lds that support --whole-archive.
                   12538:              whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   12539:            else
                   12540:              # Exported symbols can be pulled into shared objects from archives
                   12541:              whole_archive_flag_spec_CXX='$convenience'
                   12542:            fi
                   12543:            archive_cmds_need_lc_CXX=yes
                   12544:            # This is similar to how AIX traditionally builds its shared
                   12545:            # libraries.
                   12546:            archive_expsym_cmds_CXX="\$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'
                   12547:           fi
                   12548:         fi
                   12549:         ;;
                   12550: 
                   12551:       beos*)
                   12552:        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
                   12553:          allow_undefined_flag_CXX=unsupported
                   12554:          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
                   12555:          # support --undefined.  This deserves some investigation.  FIXME
                   12556:          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12557:        else
                   12558:          ld_shlibs_CXX=no
                   12559:        fi
                   12560:        ;;
                   12561: 
                   12562:       chorus*)
                   12563:         case $cc_basename in
                   12564:           *)
                   12565:          # FIXME: insert proper C++ library support
                   12566:          ld_shlibs_CXX=no
                   12567:          ;;
                   12568:         esac
                   12569:         ;;
                   12570: 
                   12571:       cygwin* | mingw* | pw32* | cegcc*)
                   12572:        case $GXX,$cc_basename in
                   12573:        ,cl* | no,cl*)
                   12574:          # Native MSVC
                   12575:          # hardcode_libdir_flag_spec is actually meaningless, as there is
                   12576:          # no search path for DLLs.
                   12577:          hardcode_libdir_flag_spec_CXX=' '
                   12578:          allow_undefined_flag_CXX=unsupported
                   12579:          always_export_symbols_CXX=yes
                   12580:          file_list_spec_CXX='@'
                   12581:          # Tell ltmain to make .lib files, not .a files.
                   12582:          libext=lib
                   12583:          # Tell ltmain to make .dll files, not .so files.
                   12584:          shrext_cmds=".dll"
                   12585:          # FIXME: Setting linknames here is a bad hack.
                   12586:          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
                   12587:          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   12588:              $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
                   12589:            else
                   12590:              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
                   12591:            fi~
                   12592:            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
                   12593:            linknames='
                   12594:          # The linker will not automatically build a static lib if we build a DLL.
                   12595:          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
                   12596:          enable_shared_with_static_runtimes_CXX=yes
                   12597:          # Don't use ranlib
                   12598:          old_postinstall_cmds_CXX='chmod 644 $oldlib'
                   12599:          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
                   12600:            lt_tool_outputfile="@TOOL_OUTPUT@"~
                   12601:            case $lt_outputfile in
                   12602:              *.exe|*.EXE) ;;
                   12603:              *)
                   12604:                lt_outputfile="$lt_outputfile.exe"
                   12605:                lt_tool_outputfile="$lt_tool_outputfile.exe"
                   12606:                ;;
                   12607:            esac~
                   12608:            func_to_tool_file "$lt_outputfile"~
                   12609:            if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
                   12610:              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
                   12611:              $RM "$lt_outputfile.manifest";
                   12612:            fi'
                   12613:          ;;
                   12614:        *)
                   12615:          # g++
                   12616:          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
                   12617:          # as there is no search path for DLLs.
                   12618:          hardcode_libdir_flag_spec_CXX='-L$libdir'
                   12619:          export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
                   12620:          allow_undefined_flag_CXX=unsupported
                   12621:          always_export_symbols_CXX=no
                   12622:          enable_shared_with_static_runtimes_CXX=yes
                   12623: 
                   12624:          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
                   12625:            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   12626:            # If the export-symbols file already is a .def file (1st line
                   12627:            # is EXPORTS), use it as is; otherwise, prepend...
                   12628:            archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
                   12629:              cp $export_symbols $output_objdir/$soname.def;
                   12630:            else
                   12631:              echo EXPORTS > $output_objdir/$soname.def;
                   12632:              cat $export_symbols >> $output_objdir/$soname.def;
                   12633:            fi~
                   12634:            $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
                   12635:          else
                   12636:            ld_shlibs_CXX=no
                   12637:          fi
                   12638:          ;;
                   12639:        esac
                   12640:        ;;
                   12641:       darwin* | rhapsody*)
                   12642: 
                   12643: 
                   12644:   archive_cmds_need_lc_CXX=no
                   12645:   hardcode_direct_CXX=no
                   12646:   hardcode_automatic_CXX=yes
                   12647:   hardcode_shlibpath_var_CXX=unsupported
                   12648:   if test "$lt_cv_ld_force_load" = "yes"; then
                   12649:     whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
                   12650: 
                   12651:   else
                   12652:     whole_archive_flag_spec_CXX=''
                   12653:   fi
                   12654:   link_all_deplibs_CXX=yes
                   12655:   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
                   12656:   case $cc_basename in
                   12657:      ifort*) _lt_dar_can_shared=yes ;;
                   12658:      *) _lt_dar_can_shared=$GCC ;;
                   12659:   esac
                   12660:   if test "$_lt_dar_can_shared" = "yes"; then
                   12661:     output_verbose_link_cmd=func_echo_all
                   12662:     archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
                   12663:     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
                   12664:     archive_expsym_cmds_CXX="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}"
                   12665:     module_expsym_cmds_CXX="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}"
                   12666:        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
                   12667:       archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
                   12668:       archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
                   12669:     fi
                   12670: 
                   12671:   else
                   12672:   ld_shlibs_CXX=no
                   12673:   fi
                   12674: 
                   12675:        ;;
                   12676: 
                   12677:       dgux*)
                   12678:         case $cc_basename in
                   12679:           ec++*)
                   12680:            # FIXME: insert proper C++ library support
                   12681:            ld_shlibs_CXX=no
                   12682:            ;;
                   12683:           ghcx*)
                   12684:            # Green Hills C++ Compiler
                   12685:            # FIXME: insert proper C++ library support
                   12686:            ld_shlibs_CXX=no
                   12687:            ;;
                   12688:           *)
                   12689:            # FIXME: insert proper C++ library support
                   12690:            ld_shlibs_CXX=no
                   12691:            ;;
                   12692:         esac
                   12693:         ;;
                   12694: 
                   12695:       freebsd2.*)
                   12696:         # C++ shared libraries reported to be fairly broken before
                   12697:        # switch to ELF
                   12698:         ld_shlibs_CXX=no
                   12699:         ;;
                   12700: 
                   12701:       freebsd-elf*)
                   12702:         archive_cmds_need_lc_CXX=no
                   12703:         ;;
                   12704: 
                   12705:       freebsd* | dragonfly*)
                   12706:         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
                   12707:         # conventions
                   12708:         ld_shlibs_CXX=yes
                   12709:         ;;
                   12710: 
                   12711:       gnu*)
                   12712:         ;;
                   12713: 
                   12714:       haiku*)
                   12715:         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12716:         link_all_deplibs_CXX=yes
                   12717:         ;;
                   12718: 
                   12719:       hpux9*)
                   12720:         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   12721:         hardcode_libdir_separator_CXX=:
                   12722:         export_dynamic_flag_spec_CXX='${wl}-E'
                   12723:         hardcode_direct_CXX=yes
                   12724:         hardcode_minus_L_CXX=yes # Not in the search PATH,
                   12725:                                             # but as the default
                   12726:                                             # location of the library.
                   12727: 
                   12728:         case $cc_basename in
                   12729:           CC*)
                   12730:             # FIXME: insert proper C++ library support
                   12731:             ld_shlibs_CXX=no
                   12732:             ;;
                   12733:           aCC*)
                   12734:             archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
                   12735:             # Commands to make compiler produce verbose output that lists
                   12736:             # what "hidden" libraries, object files and flags are used when
                   12737:             # linking a shared library.
                   12738:             #
                   12739:             # There doesn't appear to be a way to prevent this compiler from
                   12740:             # explicitly linking system object files so we need to strip them
                   12741:             # from the output so that they don't get included in the library
                   12742:             # dependencies.
                   12743:             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
                   12744:             ;;
                   12745:           *)
                   12746:             if test "$GXX" = yes; then
                   12747:               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
                   12748:             else
                   12749:               # FIXME: insert proper C++ library support
                   12750:               ld_shlibs_CXX=no
                   12751:             fi
                   12752:             ;;
                   12753:         esac
                   12754:         ;;
                   12755: 
                   12756:       hpux10*|hpux11*)
                   12757:         if test $with_gnu_ld = no; then
                   12758:          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
                   12759:          hardcode_libdir_separator_CXX=:
                   12760: 
                   12761:           case $host_cpu in
                   12762:             hppa*64*|ia64*)
                   12763:               ;;
                   12764:             *)
                   12765:              export_dynamic_flag_spec_CXX='${wl}-E'
                   12766:               ;;
                   12767:           esac
                   12768:         fi
                   12769:         case $host_cpu in
                   12770:           hppa*64*|ia64*)
                   12771:             hardcode_direct_CXX=no
                   12772:             hardcode_shlibpath_var_CXX=no
                   12773:             ;;
                   12774:           *)
                   12775:             hardcode_direct_CXX=yes
                   12776:             hardcode_direct_absolute_CXX=yes
                   12777:             hardcode_minus_L_CXX=yes # Not in the search PATH,
                   12778:                                                 # but as the default
                   12779:                                                 # location of the library.
                   12780:             ;;
                   12781:         esac
                   12782: 
                   12783:         case $cc_basename in
                   12784:           CC*)
                   12785:            # FIXME: insert proper C++ library support
                   12786:            ld_shlibs_CXX=no
                   12787:            ;;
                   12788:           aCC*)
                   12789:            case $host_cpu in
                   12790:              hppa*64*)
                   12791:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   12792:                ;;
                   12793:              ia64*)
                   12794:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   12795:                ;;
                   12796:              *)
                   12797:                archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   12798:                ;;
                   12799:            esac
                   12800:            # Commands to make compiler produce verbose output that lists
                   12801:            # what "hidden" libraries, object files and flags are used when
                   12802:            # linking a shared library.
                   12803:            #
                   12804:            # There doesn't appear to be a way to prevent this compiler from
                   12805:            # explicitly linking system object files so we need to strip them
                   12806:            # from the output so that they don't get included in the library
                   12807:            # dependencies.
                   12808:            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
                   12809:            ;;
                   12810:           *)
                   12811:            if test "$GXX" = yes; then
                   12812:              if test $with_gnu_ld = no; then
                   12813:                case $host_cpu in
                   12814:                  hppa*64*)
                   12815:                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   12816:                    ;;
                   12817:                  ia64*)
                   12818:                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   12819:                    ;;
                   12820:                  *)
                   12821:                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   12822:                    ;;
                   12823:                esac
                   12824:              fi
                   12825:            else
                   12826:              # FIXME: insert proper C++ library support
                   12827:              ld_shlibs_CXX=no
                   12828:            fi
                   12829:            ;;
                   12830:         esac
                   12831:         ;;
                   12832: 
                   12833:       interix[3-9]*)
                   12834:        hardcode_direct_CXX=no
                   12835:        hardcode_shlibpath_var_CXX=no
                   12836:        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   12837:        export_dynamic_flag_spec_CXX='${wl}-E'
                   12838:        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
                   12839:        # Instead, shared libraries are loaded at an image base (0x10000000 by
                   12840:        # default) and relocated if they conflict, which is a slow very memory
                   12841:        # consuming and fragmenting process.  To avoid this, we pick a random,
                   12842:        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
                   12843:        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
                   12844:        archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
                   12845:        archive_expsym_cmds_CXX='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'
                   12846:        ;;
                   12847:       irix5* | irix6*)
                   12848:         case $cc_basename in
                   12849:           CC*)
                   12850:            # SGI C++
                   12851:            archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
                   12852: 
                   12853:            # Archives containing C++ object files must be created using
                   12854:            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
                   12855:            # necessary to make sure instantiated templates are included
                   12856:            # in the archive.
                   12857:            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
                   12858:            ;;
                   12859:           *)
                   12860:            if test "$GXX" = yes; then
                   12861:              if test "$with_gnu_ld" = no; then
                   12862:                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
                   12863:              else
                   12864:                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
                   12865:              fi
                   12866:            fi
                   12867:            link_all_deplibs_CXX=yes
                   12868:            ;;
                   12869:         esac
                   12870:         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   12871:         hardcode_libdir_separator_CXX=:
                   12872:         inherit_rpath_CXX=yes
                   12873:         ;;
                   12874: 
                   12875:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   12876:         case $cc_basename in
                   12877:           KCC*)
                   12878:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   12879: 
                   12880:            # KCC will only create a shared library if the output file
                   12881:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   12882:            # to its proper name (with version) after linking.
                   12883:            archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
                   12884:            archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
                   12885:            # Commands to make compiler produce verbose output that lists
                   12886:            # what "hidden" libraries, object files and flags are used when
                   12887:            # linking a shared library.
                   12888:            #
                   12889:            # There doesn't appear to be a way to prevent this compiler from
                   12890:            # explicitly linking system object files so we need to strip them
                   12891:            # from the output so that they don't get included in the library
                   12892:            # dependencies.
                   12893:            output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
                   12894: 
                   12895:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   12896:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   12897: 
                   12898:            # Archives containing C++ object files must be created using
                   12899:            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
                   12900:            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
                   12901:            ;;
                   12902:          icpc* | ecpc* )
                   12903:            # Intel C++
                   12904:            with_gnu_ld=yes
                   12905:            # version 8.0 and above of icpc choke on multiply defined symbols
                   12906:            # if we add $predep_objects and $postdep_objects, however 7.1 and
                   12907:            # earlier do not add the objects themselves.
                   12908:            case `$CC -V 2>&1` in
                   12909:              *"Version 7."*)
                   12910:                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12911:                archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   12912:                ;;
                   12913:              *)  # Version 8.0 or newer
                   12914:                tmp_idyn=
                   12915:                case $host_cpu in
                   12916:                  ia64*) tmp_idyn=' -i_dynamic';;
                   12917:                esac
                   12918:                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12919:                archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
                   12920:                ;;
                   12921:            esac
                   12922:            archive_cmds_need_lc_CXX=no
                   12923:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   12924:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   12925:            whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
                   12926:            ;;
                   12927:           pgCC* | pgcpp*)
                   12928:             # Portland Group C++ compiler
                   12929:            case `$CC -V` in
                   12930:            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
                   12931:              prelink_cmds_CXX='tpldir=Template.dir~
                   12932:                rm -rf $tpldir~
                   12933:                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
                   12934:                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
                   12935:              old_archive_cmds_CXX='tpldir=Template.dir~
                   12936:                rm -rf $tpldir~
                   12937:                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
                   12938:                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
                   12939:                $RANLIB $oldlib'
                   12940:              archive_cmds_CXX='tpldir=Template.dir~
                   12941:                rm -rf $tpldir~
                   12942:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   12943:                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   12944:              archive_expsym_cmds_CXX='tpldir=Template.dir~
                   12945:                rm -rf $tpldir~
                   12946:                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
                   12947:                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
                   12948:              ;;
                   12949:            *) # Version 6 and above use weak symbols
                   12950:              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
                   12951:              archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
                   12952:              ;;
                   12953:            esac
                   12954: 
                   12955:            hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
                   12956:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   12957:            whole_archive_flag_spec_CXX='${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'
                   12958:             ;;
                   12959:          cxx*)
                   12960:            # Compaq C++
                   12961:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12962:            archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
                   12963: 
                   12964:            runpath_var=LD_RUN_PATH
                   12965:            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   12966:            hardcode_libdir_separator_CXX=:
                   12967: 
                   12968:            # Commands to make compiler produce verbose output that lists
                   12969:            # what "hidden" libraries, object files and flags are used when
                   12970:            # linking a shared library.
                   12971:            #
                   12972:            # There doesn't appear to be a way to prevent this compiler from
                   12973:            # explicitly linking system object files so we need to strip them
                   12974:            # from the output so that they don't get included in the library
                   12975:            # dependencies.
                   12976:            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
                   12977:            ;;
                   12978:          xl* | mpixl* | bgxl*)
                   12979:            # IBM XL 8.0 on PPC, with GNU ld
                   12980:            hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   12981:            export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
                   12982:            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
                   12983:            if test "x$supports_anon_versioning" = xyes; then
                   12984:              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
                   12985:                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
                   12986:                echo "local: *; };" >> $output_objdir/$libname.ver~
                   12987:                $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
                   12988:            fi
                   12989:            ;;
                   12990:          *)
                   12991:            case `$CC -V 2>&1 | sed 5q` in
                   12992:            *Sun\ C*)
                   12993:              # Sun C++ 5.9
                   12994:              no_undefined_flag_CXX=' -zdefs'
                   12995:              archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   12996:              archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
                   12997:              hardcode_libdir_flag_spec_CXX='-R$libdir'
                   12998:              whole_archive_flag_spec_CXX='${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'
                   12999:              compiler_needs_object_CXX=yes
                   13000: 
                   13001:              # Not sure whether something based on
                   13002:              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
                   13003:              # would be better.
                   13004:              output_verbose_link_cmd='func_echo_all'
                   13005: 
                   13006:              # Archives containing C++ object files must be created using
                   13007:              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   13008:              # necessary to make sure instantiated templates are included
                   13009:              # in the archive.
                   13010:              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   13011:              ;;
                   13012:            esac
                   13013:            ;;
                   13014:        esac
                   13015:        ;;
                   13016: 
                   13017:       lynxos*)
                   13018:         # FIXME: insert proper C++ library support
                   13019:        ld_shlibs_CXX=no
                   13020:        ;;
                   13021: 
                   13022:       m88k*)
                   13023:         # FIXME: insert proper C++ library support
                   13024:         ld_shlibs_CXX=no
                   13025:        ;;
                   13026: 
                   13027:       mvs*)
                   13028:         case $cc_basename in
                   13029:           cxx*)
                   13030:            # FIXME: insert proper C++ library support
                   13031:            ld_shlibs_CXX=no
                   13032:            ;;
                   13033:          *)
                   13034:            # FIXME: insert proper C++ library support
                   13035:            ld_shlibs_CXX=no
                   13036:            ;;
                   13037:        esac
                   13038:        ;;
                   13039: 
                   13040:       netbsd*)
                   13041:         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   13042:          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
                   13043:          wlarc=
                   13044:          hardcode_libdir_flag_spec_CXX='-R$libdir'
                   13045:          hardcode_direct_CXX=yes
                   13046:          hardcode_shlibpath_var_CXX=no
                   13047:        fi
                   13048:        # Workaround some broken pre-1.5 toolchains
                   13049:        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
                   13050:        ;;
                   13051: 
                   13052:       *nto* | *qnx*)
                   13053:         ld_shlibs_CXX=yes
                   13054:        ;;
                   13055: 
                   13056:       openbsd2*)
                   13057:         # C++ shared libraries are fairly broken
                   13058:        ld_shlibs_CXX=no
                   13059:        ;;
                   13060: 
                   13061:       openbsd*)
                   13062:        if test -f /usr/libexec/ld.so; then
                   13063:          hardcode_direct_CXX=yes
                   13064:          hardcode_shlibpath_var_CXX=no
                   13065:          hardcode_direct_absolute_CXX=yes
                   13066:          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
                   13067:          hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13068:          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   13069:            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
                   13070:            export_dynamic_flag_spec_CXX='${wl}-E'
                   13071:            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
                   13072:          fi
                   13073:          output_verbose_link_cmd=func_echo_all
                   13074:        else
                   13075:          ld_shlibs_CXX=no
                   13076:        fi
                   13077:        ;;
                   13078: 
                   13079:       osf3* | osf4* | osf5*)
                   13080:         case $cc_basename in
                   13081:           KCC*)
                   13082:            # Kuck and Associates, Inc. (KAI) C++ Compiler
                   13083: 
                   13084:            # KCC will only create a shared library if the output file
                   13085:            # ends with ".so" (or ".sl" for HP-UX), so rename the library
                   13086:            # to its proper name (with version) after linking.
                   13087:            archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
                   13088: 
                   13089:            hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
                   13090:            hardcode_libdir_separator_CXX=:
                   13091: 
                   13092:            # Archives containing C++ object files must be created using
                   13093:            # the KAI C++ compiler.
                   13094:            case $host in
                   13095:              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
                   13096:              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
                   13097:            esac
                   13098:            ;;
                   13099:           RCC*)
                   13100:            # Rational C++ 2.4.1
                   13101:            # FIXME: insert proper C++ library support
                   13102:            ld_shlibs_CXX=no
                   13103:            ;;
                   13104:           cxx*)
                   13105:            case $host in
                   13106:              osf3*)
                   13107:                allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   13108:                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
                   13109:                hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13110:                ;;
                   13111:              *)
                   13112:                allow_undefined_flag_CXX=' -expect_unresolved \*'
                   13113:                archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
                   13114:                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
                   13115:                  echo "-hidden">> $lib.exp~
                   13116:                  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
                   13117:                  $RM $lib.exp'
                   13118:                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
                   13119:                ;;
                   13120:            esac
                   13121: 
                   13122:            hardcode_libdir_separator_CXX=:
                   13123: 
                   13124:            # Commands to make compiler produce verbose output that lists
                   13125:            # what "hidden" libraries, object files and flags are used when
                   13126:            # linking a shared library.
                   13127:            #
                   13128:            # There doesn't appear to be a way to prevent this compiler from
                   13129:            # explicitly linking system object files so we need to strip them
                   13130:            # from the output so that they don't get included in the library
                   13131:            # dependencies.
                   13132:            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
                   13133:            ;;
                   13134:          *)
                   13135:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   13136:              allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
                   13137:              case $host in
                   13138:                osf3*)
                   13139:                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
                   13140:                  ;;
                   13141:                *)
                   13142:                  archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
                   13143:                  ;;
                   13144:              esac
                   13145: 
                   13146:              hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
                   13147:              hardcode_libdir_separator_CXX=:
                   13148: 
                   13149:              # Commands to make compiler produce verbose output that lists
                   13150:              # what "hidden" libraries, object files and flags are used when
                   13151:              # linking a shared library.
                   13152:              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13153: 
                   13154:            else
                   13155:              # FIXME: insert proper C++ library support
                   13156:              ld_shlibs_CXX=no
                   13157:            fi
                   13158:            ;;
                   13159:         esac
                   13160:         ;;
                   13161: 
                   13162:       psos*)
                   13163:         # FIXME: insert proper C++ library support
                   13164:         ld_shlibs_CXX=no
                   13165:         ;;
                   13166: 
                   13167:       sunos4*)
                   13168:         case $cc_basename in
                   13169:           CC*)
                   13170:            # Sun C++ 4.x
                   13171:            # FIXME: insert proper C++ library support
                   13172:            ld_shlibs_CXX=no
                   13173:            ;;
                   13174:           lcc*)
                   13175:            # Lucid
                   13176:            # FIXME: insert proper C++ library support
                   13177:            ld_shlibs_CXX=no
                   13178:            ;;
                   13179:           *)
                   13180:            # FIXME: insert proper C++ library support
                   13181:            ld_shlibs_CXX=no
                   13182:            ;;
                   13183:         esac
                   13184:         ;;
                   13185: 
                   13186:       solaris*)
                   13187:         case $cc_basename in
                   13188:           CC* | sunCC*)
                   13189:            # Sun C++ 4.2, 5.x and Centerline C++
                   13190:             archive_cmds_need_lc_CXX=yes
                   13191:            no_undefined_flag_CXX=' -zdefs'
                   13192:            archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
                   13193:            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   13194:              $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   13195: 
                   13196:            hardcode_libdir_flag_spec_CXX='-R$libdir'
                   13197:            hardcode_shlibpath_var_CXX=no
                   13198:            case $host_os in
                   13199:              solaris2.[0-5] | solaris2.[0-5].*) ;;
                   13200:              *)
                   13201:                # The compiler driver will combine and reorder linker options,
                   13202:                # but understands `-z linker_flag'.
                   13203:                # Supported since Solaris 2.6 (maybe 2.5.1?)
                   13204:                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
                   13205:                ;;
                   13206:            esac
                   13207:            link_all_deplibs_CXX=yes
                   13208: 
                   13209:            output_verbose_link_cmd='func_echo_all'
                   13210: 
                   13211:            # Archives containing C++ object files must be created using
                   13212:            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
                   13213:            # necessary to make sure instantiated templates are included
                   13214:            # in the archive.
                   13215:            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
                   13216:            ;;
                   13217:           gcx*)
                   13218:            # Green Hills C++ Compiler
                   13219:            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   13220: 
                   13221:            # The C++ compiler must be used to create the archive.
                   13222:            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
                   13223:            ;;
                   13224:           *)
                   13225:            # GNU C++ compiler with Solaris linker
                   13226:            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
                   13227:              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
                   13228:              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
                   13229:                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   13230:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   13231:                  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   13232: 
                   13233:                # Commands to make compiler produce verbose output that lists
                   13234:                # what "hidden" libraries, object files and flags are used when
                   13235:                # linking a shared library.
                   13236:                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13237:              else
                   13238:                # g++ 2.7 appears to require `-G' NOT `-shared' on this
                   13239:                # platform.
                   13240:                archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
                   13241:                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
                   13242:                  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
                   13243: 
                   13244:                # Commands to make compiler produce verbose output that lists
                   13245:                # what "hidden" libraries, object files and flags are used when
                   13246:                # linking a shared library.
                   13247:                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
                   13248:              fi
                   13249: 
                   13250:              hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
                   13251:              case $host_os in
                   13252:                solaris2.[0-5] | solaris2.[0-5].*) ;;
                   13253:                *)
                   13254:                  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
                   13255:                  ;;
                   13256:              esac
                   13257:            fi
                   13258:            ;;
                   13259:         esac
                   13260:         ;;
                   13261: 
                   13262:     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
                   13263:       no_undefined_flag_CXX='${wl}-z,text'
                   13264:       archive_cmds_need_lc_CXX=no
                   13265:       hardcode_shlibpath_var_CXX=no
                   13266:       runpath_var='LD_RUN_PATH'
                   13267: 
                   13268:       case $cc_basename in
                   13269:         CC*)
                   13270:          archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13271:          archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13272:          ;;
                   13273:        *)
                   13274:          archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13275:          archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13276:          ;;
                   13277:       esac
                   13278:       ;;
                   13279: 
                   13280:       sysv5* | sco3.2v5* | sco5v6*)
                   13281:        # Note: We can NOT use -z defs as we might desire, because we do not
                   13282:        # link with -lc, and that would cause any symbols used from libc to
                   13283:        # always be unresolved, which means just about no library would
                   13284:        # ever link correctly.  If we're not using GNU ld we use -z text
                   13285:        # though, which does catch some bad symbols but isn't as heavy-handed
                   13286:        # as -z defs.
                   13287:        no_undefined_flag_CXX='${wl}-z,text'
                   13288:        allow_undefined_flag_CXX='${wl}-z,nodefs'
                   13289:        archive_cmds_need_lc_CXX=no
                   13290:        hardcode_shlibpath_var_CXX=no
                   13291:        hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
                   13292:        hardcode_libdir_separator_CXX=':'
                   13293:        link_all_deplibs_CXX=yes
                   13294:        export_dynamic_flag_spec_CXX='${wl}-Bexport'
                   13295:        runpath_var='LD_RUN_PATH'
                   13296: 
                   13297:        case $cc_basename in
                   13298:           CC*)
                   13299:            archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13300:            archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13301:            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
                   13302:              '"$old_archive_cmds_CXX"
                   13303:            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
                   13304:              '"$reload_cmds_CXX"
                   13305:            ;;
                   13306:          *)
                   13307:            archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13308:            archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
                   13309:            ;;
                   13310:        esac
                   13311:       ;;
                   13312: 
                   13313:       tandem*)
                   13314:         case $cc_basename in
                   13315:           NCC*)
                   13316:            # NonStop-UX NCC 3.20
                   13317:            # FIXME: insert proper C++ library support
                   13318:            ld_shlibs_CXX=no
                   13319:            ;;
                   13320:           *)
                   13321:            # FIXME: insert proper C++ library support
                   13322:            ld_shlibs_CXX=no
                   13323:            ;;
                   13324:         esac
                   13325:         ;;
                   13326: 
                   13327:       vxworks*)
                   13328:         # FIXME: insert proper C++ library support
                   13329:         ld_shlibs_CXX=no
                   13330:         ;;
                   13331: 
                   13332:       *)
                   13333:         # FIXME: insert proper C++ library support
                   13334:         ld_shlibs_CXX=no
                   13335:         ;;
                   13336:     esac
                   13337: 
                   13338:     echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
                   13339: echo "${ECHO_T}$ld_shlibs_CXX" >&6
                   13340:     test "$ld_shlibs_CXX" = no && can_build_shared=no
                   13341: 
                   13342:     GCC_CXX="$GXX"
                   13343:     LD_CXX="$LD"
                   13344: 
                   13345:     ## CAVEAT EMPTOR:
                   13346:     ## There is no encapsulation within the following macros, do not change
                   13347:     ## the running order or otherwise move them around unless you know exactly
                   13348:     ## what you are doing...
                   13349:     # Dependencies to place before and after the object being linked:
                   13350: predep_objects_CXX=
                   13351: postdep_objects_CXX=
                   13352: predeps_CXX=
                   13353: postdeps_CXX=
                   13354: compiler_lib_search_path_CXX=
                   13355: 
                   13356: cat > conftest.$ac_ext <<_LT_EOF
                   13357: class Foo
                   13358: {
                   13359: public:
                   13360:   Foo (void) { a = 0; }
                   13361: private:
                   13362:   int a;
                   13363: };
                   13364: _LT_EOF
                   13365: 
                   13366: 
                   13367: _lt_libdeps_save_CFLAGS=$CFLAGS
                   13368: case "$CC $CFLAGS " in #(
                   13369: *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
                   13370: *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
                   13371: *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
                   13372: esac
                   13373: 
                   13374: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   13375:   (eval $ac_compile) 2>&5
                   13376:   ac_status=$?
                   13377:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13378:   (exit $ac_status); }; then
                   13379:   # Parse the compiler output and extract the necessary
                   13380:   # objects, libraries and library flags.
                   13381: 
                   13382:   # Sentinel used to keep track of whether or not we are before
                   13383:   # the conftest object file.
                   13384:   pre_test_object_deps_done=no
                   13385: 
                   13386:   for p in `eval "$output_verbose_link_cmd"`; do
                   13387:     case ${prev}${p} in
                   13388: 
                   13389:     -L* | -R* | -l*)
                   13390:        # Some compilers place space between "-{L,R}" and the path.
                   13391:        # Remove the space.
                   13392:        if test $p = "-L" ||
                   13393:           test $p = "-R"; then
                   13394:         prev=$p
                   13395:         continue
                   13396:        fi
                   13397: 
                   13398:        # Expand the sysroot to ease extracting the directories later.
                   13399:        if test -z "$prev"; then
                   13400:          case $p in
                   13401:          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
                   13402:          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
                   13403:          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
                   13404:          esac
                   13405:        fi
                   13406:        case $p in
                   13407:        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
                   13408:        esac
                   13409:        if test "$pre_test_object_deps_done" = no; then
                   13410:         case ${prev} in
                   13411:         -L | -R)
                   13412:           # Internal compiler library paths should come after those
                   13413:           # provided the user.  The postdeps already come after the
                   13414:           # user supplied libs so there is no need to process them.
                   13415:           if test -z "$compiler_lib_search_path_CXX"; then
                   13416:             compiler_lib_search_path_CXX="${prev}${p}"
                   13417:           else
                   13418:             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
                   13419:           fi
                   13420:           ;;
                   13421:         # The "-l" case would never come before the object being
                   13422:         # linked, so don't bother handling this case.
                   13423:         esac
                   13424:        else
                   13425:         if test -z "$postdeps_CXX"; then
                   13426:           postdeps_CXX="${prev}${p}"
                   13427:         else
                   13428:           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
                   13429:         fi
                   13430:        fi
                   13431:        prev=
                   13432:        ;;
                   13433: 
                   13434:     *.lto.$objext) ;; # Ignore GCC LTO objects
                   13435:     *.$objext)
                   13436:        # This assumes that the test object file only shows up
                   13437:        # once in the compiler output.
                   13438:        if test "$p" = "conftest.$objext"; then
                   13439:         pre_test_object_deps_done=yes
                   13440:         continue
                   13441:        fi
                   13442: 
                   13443:        if test "$pre_test_object_deps_done" = no; then
                   13444:         if test -z "$predep_objects_CXX"; then
                   13445:           predep_objects_CXX="$p"
                   13446:         else
                   13447:           predep_objects_CXX="$predep_objects_CXX $p"
                   13448:         fi
                   13449:        else
                   13450:         if test -z "$postdep_objects_CXX"; then
                   13451:           postdep_objects_CXX="$p"
                   13452:         else
                   13453:           postdep_objects_CXX="$postdep_objects_CXX $p"
                   13454:         fi
                   13455:        fi
                   13456:        ;;
                   13457: 
                   13458:     *) ;; # Ignore the rest.
                   13459: 
                   13460:     esac
                   13461:   done
                   13462: 
                   13463:   # Clean up.
                   13464:   rm -f a.out a.exe
                   13465: else
                   13466:   echo "libtool.m4: error: problem compiling CXX test program"
                   13467: fi
                   13468: 
                   13469: $RM -f confest.$objext
                   13470: CFLAGS=$_lt_libdeps_save_CFLAGS
                   13471: 
                   13472: # PORTME: override above test on systems where it is broken
                   13473: case $host_os in
                   13474: interix[3-9]*)
                   13475:   # Interix 3.5 installs completely hosed .la files for C++, so rather than
                   13476:   # hack all around it, let's just trust "g++" to DTRT.
                   13477:   predep_objects_CXX=
                   13478:   postdep_objects_CXX=
                   13479:   postdeps_CXX=
                   13480:   ;;
                   13481: 
                   13482: linux*)
                   13483:   case `$CC -V 2>&1 | sed 5q` in
                   13484:   *Sun\ C*)
                   13485:     # Sun C++ 5.9
                   13486: 
                   13487:     # The more standards-conforming stlport4 library is
                   13488:     # incompatible with the Cstd library. Avoid specifying
                   13489:     # it if it's in CXXFLAGS. Ignore libCrun as
                   13490:     # -library=stlport4 depends on it.
                   13491:     case " $CXX $CXXFLAGS " in
                   13492:     *" -library=stlport4 "*)
                   13493:       solaris_use_stlport4=yes
                   13494:       ;;
                   13495:     esac
                   13496: 
                   13497:     if test "$solaris_use_stlport4" != yes; then
                   13498:       postdeps_CXX='-library=Cstd -library=Crun'
                   13499:     fi
                   13500:     ;;
                   13501:   esac
                   13502:   ;;
                   13503: 
                   13504: solaris*)
                   13505:   case $cc_basename in
                   13506:   CC* | sunCC*)
                   13507:     # The more standards-conforming stlport4 library is
                   13508:     # incompatible with the Cstd library. Avoid specifying
                   13509:     # it if it's in CXXFLAGS. Ignore libCrun as
                   13510:     # -library=stlport4 depends on it.
                   13511:     case " $CXX $CXXFLAGS " in
                   13512:     *" -library=stlport4 "*)
                   13513:       solaris_use_stlport4=yes
                   13514:       ;;
                   13515:     esac
                   13516: 
                   13517:     # Adding this requires a known-good setup of shared libraries for
                   13518:     # Sun compiler versions before 5.6, else PIC objects from an old
                   13519:     # archive will be linked into the output, leading to subtle bugs.
                   13520:     if test "$solaris_use_stlport4" != yes; then
                   13521:       postdeps_CXX='-library=Cstd -library=Crun'
                   13522:     fi
                   13523:     ;;
                   13524:   esac
                   13525:   ;;
                   13526: esac
                   13527: 
                   13528: 
                   13529: case " $postdeps_CXX " in
                   13530: *" -lc "*) archive_cmds_need_lc_CXX=no ;;
                   13531: esac
                   13532:  compiler_lib_search_dirs_CXX=
                   13533: if test -n "${compiler_lib_search_path_CXX}"; then
                   13534:  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
                   13535: fi
                   13536: 
                   13537: 
                   13538: 
                   13539: 
                   13540: 
                   13541: 
                   13542: 
                   13543: 
                   13544: 
                   13545: 
                   13546: 
                   13547: 
                   13548: 
                   13549: 
                   13550: 
                   13551: 
                   13552: 
                   13553: 
                   13554: 
                   13555: 
                   13556: 
                   13557: 
                   13558: 
                   13559: 
                   13560: 
                   13561: 
                   13562: 
                   13563: 
                   13564: 
                   13565: 
                   13566: 
                   13567:     lt_prog_compiler_wl_CXX=
                   13568: lt_prog_compiler_pic_CXX=
                   13569: lt_prog_compiler_static_CXX=
                   13570: 
                   13571: 
                   13572:   # C++ specific cases for pic, static, wl, etc.
                   13573:   if test "$GXX" = yes; then
                   13574:     lt_prog_compiler_wl_CXX='-Wl,'
                   13575:     lt_prog_compiler_static_CXX='-static'
                   13576: 
                   13577:     case $host_os in
                   13578:     aix*)
                   13579:       # All AIX code is PIC.
                   13580:       if test "$host_cpu" = ia64; then
                   13581:        # AIX 5 now supports IA64 processor
                   13582:        lt_prog_compiler_static_CXX='-Bstatic'
                   13583:       fi
                   13584:       ;;
                   13585: 
                   13586:     amigaos*)
                   13587:       case $host_cpu in
                   13588:       powerpc)
                   13589:             # see comment about AmigaOS4 .so support
                   13590:             lt_prog_compiler_pic_CXX='-fPIC'
                   13591:         ;;
                   13592:       m68k)
                   13593:             # FIXME: we need at least 68020 code to build shared libraries, but
                   13594:             # adding the `-m68020' flag to GCC prevents building anything better,
                   13595:             # like `-m68040'.
                   13596:             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
                   13597:         ;;
                   13598:       esac
                   13599:       ;;
                   13600: 
                   13601:     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
                   13602:       # PIC is the default for these OSes.
                   13603:       ;;
                   13604:     mingw* | cygwin* | os2* | pw32* | cegcc*)
                   13605:       # This hack is so that the source file can tell whether it is being
                   13606:       # built for inclusion in a dll (and should export symbols for example).
                   13607:       # Although the cygwin gcc ignores -fPIC, still need this for old-style
                   13608:       # (--disable-auto-import) libraries
                   13609:       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   13610:       ;;
                   13611:     darwin* | rhapsody*)
                   13612:       # PIC is the default on this platform
                   13613:       # Common symbols not allowed in MH_DYLIB files
                   13614:       lt_prog_compiler_pic_CXX='-fno-common'
                   13615:       ;;
                   13616:     *djgpp*)
                   13617:       # DJGPP does not support shared libraries at all
                   13618:       lt_prog_compiler_pic_CXX=
                   13619:       ;;
                   13620:     haiku*)
                   13621:       # PIC is the default for Haiku.
                   13622:       # The "-static" flag exists, but is broken.
                   13623:       lt_prog_compiler_static_CXX=
                   13624:       ;;
                   13625:     interix[3-9]*)
                   13626:       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
                   13627:       # Instead, we relocate shared libraries at runtime.
                   13628:       ;;
                   13629:     sysv4*MP*)
                   13630:       if test -d /usr/nec; then
                   13631:        lt_prog_compiler_pic_CXX=-Kconform_pic
                   13632:       fi
                   13633:       ;;
                   13634:     hpux*)
                   13635:       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
                   13636:       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
                   13637:       # sets the default TLS model and affects inlining.
                   13638:       case $host_cpu in
                   13639:       hppa*64*)
                   13640:        ;;
                   13641:       *)
                   13642:        lt_prog_compiler_pic_CXX='-fPIC'
                   13643:        ;;
                   13644:       esac
                   13645:       ;;
                   13646:     *qnx* | *nto*)
                   13647:       # QNX uses GNU C++, but need to define -shared option too, otherwise
                   13648:       # it will coredump.
                   13649:       lt_prog_compiler_pic_CXX='-fPIC -shared'
                   13650:       ;;
                   13651:     *)
                   13652:       lt_prog_compiler_pic_CXX='-fPIC'
                   13653:       ;;
                   13654:     esac
                   13655:   else
                   13656:     case $host_os in
                   13657:       aix[4-9]*)
                   13658:        # All AIX code is PIC.
                   13659:        if test "$host_cpu" = ia64; then
                   13660:          # AIX 5 now supports IA64 processor
                   13661:          lt_prog_compiler_static_CXX='-Bstatic'
                   13662:        else
                   13663:          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
                   13664:        fi
                   13665:        ;;
                   13666:       chorus*)
                   13667:        case $cc_basename in
                   13668:        cxch68*)
                   13669:          # Green Hills C++ Compiler
                   13670:          # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
                   13671:          ;;
                   13672:        esac
                   13673:        ;;
                   13674:       mingw* | cygwin* | os2* | pw32* | cegcc*)
                   13675:        # This hack is so that the source file can tell whether it is being
                   13676:        # built for inclusion in a dll (and should export symbols for example).
                   13677:        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
                   13678:        ;;
                   13679:       dgux*)
                   13680:        case $cc_basename in
                   13681:          ec++*)
                   13682:            lt_prog_compiler_pic_CXX='-KPIC'
                   13683:            ;;
                   13684:          ghcx*)
                   13685:            # Green Hills C++ Compiler
                   13686:            lt_prog_compiler_pic_CXX='-pic'
                   13687:            ;;
                   13688:          *)
                   13689:            ;;
                   13690:        esac
                   13691:        ;;
                   13692:       freebsd* | dragonfly*)
                   13693:        # FreeBSD uses GNU C++
                   13694:        ;;
                   13695:       hpux9* | hpux10* | hpux11*)
                   13696:        case $cc_basename in
                   13697:          CC*)
                   13698:            lt_prog_compiler_wl_CXX='-Wl,'
                   13699:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   13700:            if test "$host_cpu" != ia64; then
                   13701:              lt_prog_compiler_pic_CXX='+Z'
                   13702:            fi
                   13703:            ;;
                   13704:          aCC*)
                   13705:            lt_prog_compiler_wl_CXX='-Wl,'
                   13706:            lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
                   13707:            case $host_cpu in
                   13708:            hppa*64*|ia64*)
                   13709:              # +Z the default
                   13710:              ;;
                   13711:            *)
                   13712:              lt_prog_compiler_pic_CXX='+Z'
                   13713:              ;;
                   13714:            esac
                   13715:            ;;
                   13716:          *)
                   13717:            ;;
                   13718:        esac
                   13719:        ;;
                   13720:       interix*)
                   13721:        # This is c89, which is MS Visual C++ (no shared libs)
                   13722:        # Anyone wants to do a port?
                   13723:        ;;
                   13724:       irix5* | irix6* | nonstopux*)
                   13725:        case $cc_basename in
                   13726:          CC*)
                   13727:            lt_prog_compiler_wl_CXX='-Wl,'
                   13728:            lt_prog_compiler_static_CXX='-non_shared'
                   13729:            # CC pic flag -KPIC is the default.
                   13730:            ;;
                   13731:          *)
                   13732:            ;;
                   13733:        esac
                   13734:        ;;
                   13735:       linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   13736:        case $cc_basename in
                   13737:          KCC*)
                   13738:            # KAI C++ Compiler
                   13739:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   13740:            lt_prog_compiler_pic_CXX='-fPIC'
                   13741:            ;;
                   13742:          ecpc* )
                   13743:            # old Intel C++ for x86_64 which still supported -KPIC.
                   13744:            lt_prog_compiler_wl_CXX='-Wl,'
                   13745:            lt_prog_compiler_pic_CXX='-KPIC'
                   13746:            lt_prog_compiler_static_CXX='-static'
                   13747:            ;;
                   13748:          icpc* )
                   13749:            # Intel C++, used to be incompatible with GCC.
                   13750:            # ICC 10 doesn't accept -KPIC any more.
                   13751:            lt_prog_compiler_wl_CXX='-Wl,'
                   13752:            lt_prog_compiler_pic_CXX='-fPIC'
                   13753:            lt_prog_compiler_static_CXX='-static'
                   13754:            ;;
                   13755:          pgCC* | pgcpp*)
                   13756:            # Portland Group C++ compiler
                   13757:            lt_prog_compiler_wl_CXX='-Wl,'
                   13758:            lt_prog_compiler_pic_CXX='-fpic'
                   13759:            lt_prog_compiler_static_CXX='-Bstatic'
                   13760:            ;;
                   13761:          cxx*)
                   13762:            # Compaq C++
                   13763:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   13764:            # Linux and Compaq Tru64 Unix objects are PIC.
                   13765:            lt_prog_compiler_pic_CXX=
                   13766:            lt_prog_compiler_static_CXX='-non_shared'
                   13767:            ;;
                   13768:          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
                   13769:            # IBM XL 8.0, 9.0 on PPC and BlueGene
                   13770:            lt_prog_compiler_wl_CXX='-Wl,'
                   13771:            lt_prog_compiler_pic_CXX='-qpic'
                   13772:            lt_prog_compiler_static_CXX='-qstaticlink'
                   13773:            ;;
                   13774:          *)
                   13775:            case `$CC -V 2>&1 | sed 5q` in
                   13776:            *Sun\ C*)
                   13777:              # Sun C++ 5.9
                   13778:              lt_prog_compiler_pic_CXX='-KPIC'
                   13779:              lt_prog_compiler_static_CXX='-Bstatic'
                   13780:              lt_prog_compiler_wl_CXX='-Qoption ld '
                   13781:              ;;
                   13782:            esac
                   13783:            ;;
                   13784:        esac
                   13785:        ;;
                   13786:       lynxos*)
                   13787:        ;;
                   13788:       m88k*)
                   13789:        ;;
                   13790:       mvs*)
                   13791:        case $cc_basename in
                   13792:          cxx*)
                   13793:            lt_prog_compiler_pic_CXX='-W c,exportall'
                   13794:            ;;
                   13795:          *)
                   13796:            ;;
                   13797:        esac
                   13798:        ;;
                   13799:       netbsd*)
                   13800:        ;;
                   13801:       *qnx* | *nto*)
                   13802:         # QNX uses GNU C++, but need to define -shared option too, otherwise
                   13803:         # it will coredump.
                   13804:         lt_prog_compiler_pic_CXX='-fPIC -shared'
                   13805:         ;;
                   13806:       osf3* | osf4* | osf5*)
                   13807:        case $cc_basename in
                   13808:          KCC*)
                   13809:            lt_prog_compiler_wl_CXX='--backend -Wl,'
                   13810:            ;;
                   13811:          RCC*)
                   13812:            # Rational C++ 2.4.1
                   13813:            lt_prog_compiler_pic_CXX='-pic'
                   13814:            ;;
                   13815:          cxx*)
                   13816:            # Digital/Compaq C++
                   13817:            lt_prog_compiler_wl_CXX='-Wl,'
                   13818:            # Make sure the PIC flag is empty.  It appears that all Alpha
                   13819:            # Linux and Compaq Tru64 Unix objects are PIC.
                   13820:            lt_prog_compiler_pic_CXX=
                   13821:            lt_prog_compiler_static_CXX='-non_shared'
                   13822:            ;;
                   13823:          *)
                   13824:            ;;
                   13825:        esac
                   13826:        ;;
                   13827:       psos*)
                   13828:        ;;
                   13829:       solaris*)
                   13830:        case $cc_basename in
                   13831:          CC* | sunCC*)
                   13832:            # Sun C++ 4.2, 5.x and Centerline C++
                   13833:            lt_prog_compiler_pic_CXX='-KPIC'
                   13834:            lt_prog_compiler_static_CXX='-Bstatic'
                   13835:            lt_prog_compiler_wl_CXX='-Qoption ld '
                   13836:            ;;
                   13837:          gcx*)
                   13838:            # Green Hills C++ Compiler
                   13839:            lt_prog_compiler_pic_CXX='-PIC'
                   13840:            ;;
                   13841:          *)
                   13842:            ;;
                   13843:        esac
                   13844:        ;;
                   13845:       sunos4*)
                   13846:        case $cc_basename in
                   13847:          CC*)
                   13848:            # Sun C++ 4.x
                   13849:            lt_prog_compiler_pic_CXX='-pic'
                   13850:            lt_prog_compiler_static_CXX='-Bstatic'
                   13851:            ;;
                   13852:          lcc*)
                   13853:            # Lucid
                   13854:            lt_prog_compiler_pic_CXX='-pic'
                   13855:            ;;
                   13856:          *)
                   13857:            ;;
                   13858:        esac
                   13859:        ;;
                   13860:       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
                   13861:        case $cc_basename in
                   13862:          CC*)
                   13863:            lt_prog_compiler_wl_CXX='-Wl,'
                   13864:            lt_prog_compiler_pic_CXX='-KPIC'
                   13865:            lt_prog_compiler_static_CXX='-Bstatic'
                   13866:            ;;
                   13867:        esac
                   13868:        ;;
                   13869:       tandem*)
                   13870:        case $cc_basename in
                   13871:          NCC*)
                   13872:            # NonStop-UX NCC 3.20
                   13873:            lt_prog_compiler_pic_CXX='-KPIC'
                   13874:            ;;
                   13875:          *)
                   13876:            ;;
                   13877:        esac
                   13878:        ;;
                   13879:       vxworks*)
                   13880:        ;;
                   13881:       *)
                   13882:        lt_prog_compiler_can_build_shared_CXX=no
                   13883:        ;;
                   13884:     esac
                   13885:   fi
                   13886: 
                   13887: case $host_os in
                   13888:   # For platforms which do not support PIC, -DPIC is meaningless:
                   13889:   *djgpp*)
                   13890:     lt_prog_compiler_pic_CXX=
                   13891:     ;;
                   13892:   *)
                   13893:     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
                   13894:     ;;
                   13895: esac
                   13896: 
                   13897: echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
                   13898: echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
                   13899: if test "${lt_cv_prog_compiler_pic_CXX+set}" = set; then
                   13900:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   13901: else
                   13902:   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
                   13903: fi
                   13904: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_CXX" >&5
                   13905: echo "${ECHO_T}$lt_cv_prog_compiler_pic_CXX" >&6
                   13906: lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
                   13907: 
                   13908: #
                   13909: # Check to make sure the PIC flag actually works.
                   13910: #
                   13911: if test -n "$lt_prog_compiler_pic_CXX"; then
                   13912:   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
                   13913: echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
                   13914: if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
                   13915:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   13916: else
                   13917:   lt_cv_prog_compiler_pic_works_CXX=no
                   13918:    ac_outfile=conftest.$ac_objext
                   13919:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   13920:    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
                   13921:    # Insert the option either (1) after the last *FLAGS variable, or
                   13922:    # (2) before a word containing "conftest.", or (3) at the end.
                   13923:    # Note that $ac_compile itself does not contain backslashes and begins
                   13924:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   13925:    # The option is referenced via a variable to avoid confusing sed.
                   13926:    lt_compile=`echo "$ac_compile" | $SED \
                   13927:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   13928:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   13929:    -e 's:$: $lt_compiler_flag:'`
                   13930:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   13931:    (eval "$lt_compile" 2>conftest.err)
                   13932:    ac_status=$?
                   13933:    cat conftest.err >&5
                   13934:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   13935:    if (exit $ac_status) && test -s "$ac_outfile"; then
                   13936:      # The compiler can only warn and ignore the option if not recognized
                   13937:      # So say no if there are warnings other than the usual output.
                   13938:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
                   13939:      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   13940:      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
                   13941:        lt_cv_prog_compiler_pic_works_CXX=yes
                   13942:      fi
                   13943:    fi
                   13944:    $RM conftest*
                   13945: 
                   13946: fi
                   13947: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
                   13948: echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6
                   13949: 
                   13950: if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
                   13951:     case $lt_prog_compiler_pic_CXX in
                   13952:      "" | " "*) ;;
                   13953:      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
                   13954:      esac
                   13955: else
                   13956:     lt_prog_compiler_pic_CXX=
                   13957:      lt_prog_compiler_can_build_shared_CXX=no
                   13958: fi
                   13959: 
                   13960: fi
                   13961: 
                   13962: 
                   13963: 
                   13964: 
                   13965: 
                   13966: #
                   13967: # Check to make sure the static flag actually works.
                   13968: #
                   13969: wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
                   13970: echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
                   13971: echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
                   13972: if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
                   13973:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   13974: else
                   13975:   lt_cv_prog_compiler_static_works_CXX=no
                   13976:    save_LDFLAGS="$LDFLAGS"
                   13977:    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
                   13978:    echo "$lt_simple_link_test_code" > conftest.$ac_ext
                   13979:    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
                   13980:      # The linker can only warn and ignore the option if not recognized
                   13981:      # So say no if there are warnings
                   13982:      if test -s conftest.err; then
                   13983:        # Append any errors to the config.log.
                   13984:        cat conftest.err 1>&5
                   13985:        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
                   13986:        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
                   13987:        if diff conftest.exp conftest.er2 >/dev/null; then
                   13988:          lt_cv_prog_compiler_static_works_CXX=yes
                   13989:        fi
                   13990:      else
                   13991:        lt_cv_prog_compiler_static_works_CXX=yes
                   13992:      fi
                   13993:    fi
                   13994:    $RM -r conftest*
                   13995:    LDFLAGS="$save_LDFLAGS"
                   13996: 
                   13997: fi
                   13998: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
                   13999: echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6
                   14000: 
                   14001: if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
                   14002:     :
                   14003: else
                   14004:     lt_prog_compiler_static_CXX=
                   14005: fi
                   14006: 
                   14007: 
                   14008: 
                   14009: 
                   14010:     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
                   14011: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
                   14012: if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
                   14013:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   14014: else
                   14015:   lt_cv_prog_compiler_c_o_CXX=no
                   14016:    $RM -r conftest 2>/dev/null
                   14017:    mkdir conftest
                   14018:    cd conftest
                   14019:    mkdir out
                   14020:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14021: 
                   14022:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   14023:    # Insert the option either (1) after the last *FLAGS variable, or
                   14024:    # (2) before a word containing "conftest.", or (3) at the end.
                   14025:    # Note that $ac_compile itself does not contain backslashes and begins
                   14026:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14027:    lt_compile=`echo "$ac_compile" | $SED \
                   14028:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14029:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14030:    -e 's:$: $lt_compiler_flag:'`
                   14031:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14032:    (eval "$lt_compile" 2>out/conftest.err)
                   14033:    ac_status=$?
                   14034:    cat out/conftest.err >&5
                   14035:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14036:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   14037:    then
                   14038:      # The compiler can only warn and ignore the option if not recognized
                   14039:      # So say no if there are warnings
                   14040:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   14041:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   14042:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   14043:        lt_cv_prog_compiler_c_o_CXX=yes
                   14044:      fi
                   14045:    fi
                   14046:    chmod u+w . 2>&5
                   14047:    $RM conftest*
                   14048:    # SGI C++ compiler will create directory out/ii_files/ for
                   14049:    # template instantiation
                   14050:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   14051:    $RM out/* && rmdir out
                   14052:    cd ..
                   14053:    $RM -r conftest
                   14054:    $RM conftest*
                   14055: 
                   14056: fi
                   14057: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   14058: echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
                   14059: 
                   14060: 
                   14061: 
                   14062:     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
                   14063: echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
                   14064: if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
                   14065:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   14066: else
                   14067:   lt_cv_prog_compiler_c_o_CXX=no
                   14068:    $RM -r conftest 2>/dev/null
                   14069:    mkdir conftest
                   14070:    cd conftest
                   14071:    mkdir out
                   14072:    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14073: 
                   14074:    lt_compiler_flag="-o out/conftest2.$ac_objext"
                   14075:    # Insert the option either (1) after the last *FLAGS variable, or
                   14076:    # (2) before a word containing "conftest.", or (3) at the end.
                   14077:    # Note that $ac_compile itself does not contain backslashes and begins
                   14078:    # with a dollar sign (not a hyphen), so the echo should work correctly.
                   14079:    lt_compile=`echo "$ac_compile" | $SED \
                   14080:    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
                   14081:    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
                   14082:    -e 's:$: $lt_compiler_flag:'`
                   14083:    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
                   14084:    (eval "$lt_compile" 2>out/conftest.err)
                   14085:    ac_status=$?
                   14086:    cat out/conftest.err >&5
                   14087:    echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14088:    if (exit $ac_status) && test -s out/conftest2.$ac_objext
                   14089:    then
                   14090:      # The compiler can only warn and ignore the option if not recognized
                   14091:      # So say no if there are warnings
                   14092:      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
                   14093:      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
                   14094:      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
                   14095:        lt_cv_prog_compiler_c_o_CXX=yes
                   14096:      fi
                   14097:    fi
                   14098:    chmod u+w . 2>&5
                   14099:    $RM conftest*
                   14100:    # SGI C++ compiler will create directory out/ii_files/ for
                   14101:    # template instantiation
                   14102:    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
                   14103:    $RM out/* && rmdir out
                   14104:    cd ..
                   14105:    $RM -r conftest
                   14106:    $RM conftest*
                   14107: 
                   14108: fi
                   14109: echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
                   14110: echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
                   14111: 
                   14112: 
                   14113: 
                   14114: 
                   14115: hard_links="nottested"
                   14116: if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
                   14117:   # do not overwrite the value of need_locks provided by the user
                   14118:   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
                   14119: echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
                   14120:   hard_links=yes
                   14121:   $RM conftest*
                   14122:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   14123:   touch conftest.a
                   14124:   ln conftest.a conftest.b 2>&5 || hard_links=no
                   14125:   ln conftest.a conftest.b 2>/dev/null && hard_links=no
                   14126:   echo "$as_me:$LINENO: result: $hard_links" >&5
                   14127: echo "${ECHO_T}$hard_links" >&6
                   14128:   if test "$hard_links" = no; then
                   14129:     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
                   14130: echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
                   14131:     need_locks=warn
                   14132:   fi
                   14133: else
                   14134:   need_locks=no
                   14135: fi
                   14136: 
                   14137: 
                   14138: 
                   14139:     echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
                   14140: echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
                   14141: 
                   14142:   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   14143:   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
                   14144:   case $host_os in
                   14145:   aix[4-9]*)
                   14146:     # If we're using GNU nm, then we don't want the "-C" option.
                   14147:     # -C means demangle to AIX nm, but means don't demangle with GNU nm
                   14148:     # Also, AIX nm treats weak defined symbols like other global defined
                   14149:     # symbols, whereas GNU nm marks them as "W".
                   14150:     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
                   14151:       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
                   14152:     else
                   14153:       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
                   14154:     fi
                   14155:     ;;
                   14156:   pw32*)
                   14157:     export_symbols_cmds_CXX="$ltdll_cmds"
                   14158:     ;;
                   14159:   cygwin* | mingw* | cegcc*)
                   14160:     case $cc_basename in
                   14161:     cl*)
                   14162:       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
                   14163:       ;;
                   14164:     *)
                   14165:       export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
                   14166:       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
                   14167:       ;;
                   14168:     esac
                   14169:     ;;
                   14170:   *)
                   14171:     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
                   14172:     ;;
                   14173:   esac
                   14174: 
                   14175: echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
                   14176: echo "${ECHO_T}$ld_shlibs_CXX" >&6
                   14177: test "$ld_shlibs_CXX" = no && can_build_shared=no
                   14178: 
                   14179: with_gnu_ld_CXX=$with_gnu_ld
                   14180: 
                   14181: 
                   14182: 
                   14183: 
                   14184: 
                   14185: 
                   14186: #
                   14187: # Do we need to explicitly link libc?
                   14188: #
                   14189: case "x$archive_cmds_need_lc_CXX" in
                   14190: x|xyes)
                   14191:   # Assume -lc should be added
                   14192:   archive_cmds_need_lc_CXX=yes
                   14193: 
                   14194:   if test "$enable_shared" = yes && test "$GCC" = yes; then
                   14195:     case $archive_cmds_CXX in
                   14196:     *'~'*)
                   14197:       # FIXME: we may have to deal with multi-command sequences.
                   14198:       ;;
                   14199:     '$CC '*)
                   14200:       # Test whether the compiler implicitly links with -lc since on some
                   14201:       # systems, -lgcc has to come before -lc. If gcc already passes -lc
                   14202:       # to ld, don't add -lc before -lgcc.
                   14203:       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
                   14204: echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
                   14205: if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then
                   14206:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   14207: else
                   14208:   $RM conftest*
                   14209:        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
                   14210: 
                   14211:        if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   14212:   (eval $ac_compile) 2>&5
                   14213:   ac_status=$?
                   14214:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14215:   (exit $ac_status); } 2>conftest.err; then
                   14216:          soname=conftest
                   14217:          lib=conftest
                   14218:          libobjs=conftest.$ac_objext
                   14219:          deplibs=
                   14220:          wl=$lt_prog_compiler_wl_CXX
                   14221:          pic_flag=$lt_prog_compiler_pic_CXX
                   14222:          compiler_flags=-v
                   14223:          linker_flags=-v
                   14224:          verstring=
                   14225:          output_objdir=.
                   14226:          libname=conftest
                   14227:          lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
                   14228:          allow_undefined_flag_CXX=
                   14229:          if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
                   14230:   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
                   14231:   ac_status=$?
                   14232:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14233:   (exit $ac_status); }
                   14234:          then
                   14235:            lt_cv_archive_cmds_need_lc_CXX=no
                   14236:          else
                   14237:            lt_cv_archive_cmds_need_lc_CXX=yes
                   14238:          fi
                   14239:          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
                   14240:        else
                   14241:          cat conftest.err 1>&5
                   14242:        fi
                   14243:        $RM conftest*
                   14244: 
                   14245: fi
                   14246: echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
                   14247: echo "${ECHO_T}$lt_cv_archive_cmds_need_lc_CXX" >&6
                   14248:       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
                   14249:       ;;
                   14250:     esac
                   14251:   fi
                   14252:   ;;
                   14253: esac
                   14254: 
                   14255: 
                   14256: 
                   14257: 
                   14258: 
                   14259: 
                   14260: 
                   14261: 
                   14262: 
                   14263: 
                   14264: 
                   14265: 
                   14266: 
                   14267: 
                   14268: 
                   14269: 
                   14270: 
                   14271: 
                   14272: 
                   14273: 
                   14274: 
                   14275: 
                   14276: 
                   14277: 
                   14278: 
                   14279: 
                   14280: 
                   14281: 
                   14282: 
                   14283: 
                   14284: 
                   14285: 
                   14286: 
                   14287: 
                   14288: 
                   14289: 
                   14290: 
                   14291: 
                   14292: 
                   14293: 
                   14294: 
                   14295: 
                   14296: 
                   14297: 
                   14298: 
                   14299: 
                   14300: 
                   14301: 
                   14302: 
                   14303: 
                   14304: 
                   14305: 
                   14306: 
                   14307: 
                   14308: 
                   14309: 
                   14310: 
                   14311: 
                   14312: 
                   14313: 
                   14314: 
                   14315: 
                   14316:     echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
                   14317: echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
                   14318: 
                   14319: library_names_spec=
                   14320: libname_spec='lib$name'
                   14321: soname_spec=
                   14322: shrext_cmds=".so"
                   14323: postinstall_cmds=
                   14324: postuninstall_cmds=
                   14325: finish_cmds=
                   14326: finish_eval=
                   14327: shlibpath_var=
                   14328: shlibpath_overrides_runpath=unknown
                   14329: version_type=none
                   14330: dynamic_linker="$host_os ld.so"
                   14331: sys_lib_dlsearch_path_spec="/lib /usr/lib"
                   14332: need_lib_prefix=unknown
                   14333: hardcode_into_libs=no
                   14334: 
                   14335: # when you set need_version to no, make sure it does not cause -set_version
                   14336: # flags to be left without arguments
                   14337: need_version=unknown
                   14338: 
                   14339: case $host_os in
                   14340: aix3*)
                   14341:   version_type=linux # correct to gnu/linux during the next big refactor
                   14342:   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
                   14343:   shlibpath_var=LIBPATH
                   14344: 
                   14345:   # AIX 3 has no versioning support, so we append a major version to the name.
                   14346:   soname_spec='${libname}${release}${shared_ext}$major'
                   14347:   ;;
                   14348: 
                   14349: aix[4-9]*)
                   14350:   version_type=linux # correct to gnu/linux during the next big refactor
                   14351:   need_lib_prefix=no
                   14352:   need_version=no
                   14353:   hardcode_into_libs=yes
                   14354:   if test "$host_cpu" = ia64; then
                   14355:     # AIX 5 supports IA64
                   14356:     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
                   14357:     shlibpath_var=LD_LIBRARY_PATH
                   14358:   else
                   14359:     # With GCC up to 2.95.x, collect2 would create an import file
                   14360:     # for dependence libraries.  The import file would start with
                   14361:     # the line `#! .'.  This would cause the generated library to
                   14362:     # depend on `.', always an invalid library.  This was fixed in
                   14363:     # development snapshots of GCC prior to 3.0.
                   14364:     case $host_os in
                   14365:       aix4 | aix4.[01] | aix4.[01].*)
                   14366:       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
                   14367:           echo ' yes '
                   14368:           echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
                   14369:        :
                   14370:       else
                   14371:        can_build_shared=no
                   14372:       fi
                   14373:       ;;
                   14374:     esac
                   14375:     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
                   14376:     # soname into executable. Probably we can add versioning support to
                   14377:     # collect2, so additional links can be useful in future.
                   14378:     if test "$aix_use_runtimelinking" = yes; then
                   14379:       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
                   14380:       # instead of lib<name>.a to let people know that these are not
                   14381:       # typical AIX shared libraries.
                   14382:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14383:     else
                   14384:       # We preserve .a as extension for shared libraries through AIX4.2
                   14385:       # and later when we are not doing run time linking.
                   14386:       library_names_spec='${libname}${release}.a $libname.a'
                   14387:       soname_spec='${libname}${release}${shared_ext}$major'
                   14388:     fi
                   14389:     shlibpath_var=LIBPATH
                   14390:   fi
                   14391:   ;;
                   14392: 
                   14393: amigaos*)
                   14394:   case $host_cpu in
                   14395:   powerpc)
                   14396:     # Since July 2007 AmigaOS4 officially supports .so libraries.
                   14397:     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
                   14398:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14399:     ;;
                   14400:   m68k)
                   14401:     library_names_spec='$libname.ixlibrary $libname.a'
                   14402:     # Create ${libname}_ixlibrary.a entries in /sys/libs.
                   14403:     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'
                   14404:     ;;
                   14405:   esac
                   14406:   ;;
                   14407: 
                   14408: beos*)
                   14409:   library_names_spec='${libname}${shared_ext}'
                   14410:   dynamic_linker="$host_os ld.so"
                   14411:   shlibpath_var=LIBRARY_PATH
                   14412:   ;;
                   14413: 
                   14414: bsdi[45]*)
                   14415:   version_type=linux # correct to gnu/linux during the next big refactor
                   14416:   need_version=no
                   14417:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14418:   soname_spec='${libname}${release}${shared_ext}$major'
                   14419:   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
                   14420:   shlibpath_var=LD_LIBRARY_PATH
                   14421:   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
                   14422:   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
                   14423:   # the default ld.so.conf also contains /usr/contrib/lib and
                   14424:   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
                   14425:   # libtool to hard-code these into programs
                   14426:   ;;
                   14427: 
                   14428: cygwin* | mingw* | pw32* | cegcc*)
                   14429:   version_type=windows
                   14430:   shrext_cmds=".dll"
                   14431:   need_version=no
                   14432:   need_lib_prefix=no
                   14433: 
                   14434:   case $GCC,$cc_basename in
                   14435:   yes,*)
                   14436:     # gcc
                   14437:     library_names_spec='$libname.dll.a'
                   14438:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   14439:     postinstall_cmds='base_file=`basename \${file}`~
                   14440:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   14441:       dldir=$destdir/`dirname \$dlpath`~
                   14442:       test -d \$dldir || mkdir -p \$dldir~
                   14443:       $install_prog $dir/$dlname \$dldir/$dlname~
                   14444:       chmod a+x \$dldir/$dlname~
                   14445:       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
                   14446:         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
                   14447:       fi'
                   14448:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   14449:       dlpath=$dir/\$dldll~
                   14450:        $RM \$dlpath'
                   14451:     shlibpath_overrides_runpath=yes
                   14452: 
                   14453:     case $host_os in
                   14454:     cygwin*)
                   14455:       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
                   14456:       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   14457: 
                   14458:       ;;
                   14459:     mingw* | cegcc*)
                   14460:       # MinGW DLLs use traditional 'lib' prefix
                   14461:       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   14462:       ;;
                   14463:     pw32*)
                   14464:       # pw32 DLLs use 'pw' prefix rather than 'lib'
                   14465:       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   14466:       ;;
                   14467:     esac
                   14468:     dynamic_linker='Win32 ld.exe'
                   14469:     ;;
                   14470: 
                   14471:   *,cl*)
                   14472:     # Native MSVC
                   14473:     libname_spec='$name'
                   14474:     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
                   14475:     library_names_spec='${libname}.dll.lib'
                   14476: 
                   14477:     case $build_os in
                   14478:     mingw*)
                   14479:       sys_lib_search_path_spec=
                   14480:       lt_save_ifs=$IFS
                   14481:       IFS=';'
                   14482:       for lt_path in $LIB
                   14483:       do
                   14484:         IFS=$lt_save_ifs
                   14485:         # Let DOS variable expansion print the short 8.3 style file name.
                   14486:         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
                   14487:         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
                   14488:       done
                   14489:       IFS=$lt_save_ifs
                   14490:       # Convert to MSYS style.
                   14491:       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
                   14492:       ;;
                   14493:     cygwin*)
                   14494:       # Convert to unix form, then to dos form, then back to unix form
                   14495:       # but this time dos style (no spaces!) so that the unix form looks
                   14496:       # like /cygdrive/c/PROGRA~1:/cygdr...
                   14497:       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
                   14498:       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
                   14499:       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   14500:       ;;
                   14501:     *)
                   14502:       sys_lib_search_path_spec="$LIB"
                   14503:       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
                   14504:         # It is most probably a Windows format PATH.
                   14505:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
                   14506:       else
                   14507:         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
                   14508:       fi
                   14509:       # FIXME: find the short name or the path components, as spaces are
                   14510:       # common. (e.g. "Program Files" -> "PROGRA~1")
                   14511:       ;;
                   14512:     esac
                   14513: 
                   14514:     # DLL is installed to $(libdir)/../bin by postinstall_cmds
                   14515:     postinstall_cmds='base_file=`basename \${file}`~
                   14516:       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
                   14517:       dldir=$destdir/`dirname \$dlpath`~
                   14518:       test -d \$dldir || mkdir -p \$dldir~
                   14519:       $install_prog $dir/$dlname \$dldir/$dlname'
                   14520:     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
                   14521:       dlpath=$dir/\$dldll~
                   14522:        $RM \$dlpath'
                   14523:     shlibpath_overrides_runpath=yes
                   14524:     dynamic_linker='Win32 link.exe'
                   14525:     ;;
                   14526: 
                   14527:   *)
                   14528:     # Assume MSVC wrapper
                   14529:     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
                   14530:     dynamic_linker='Win32 ld.exe'
                   14531:     ;;
                   14532:   esac
                   14533:   # FIXME: first we should search . and the directory the executable is in
                   14534:   shlibpath_var=PATH
                   14535:   ;;
                   14536: 
                   14537: darwin* | rhapsody*)
                   14538:   dynamic_linker="$host_os dyld"
                   14539:   version_type=darwin
                   14540:   need_lib_prefix=no
                   14541:   need_version=no
                   14542:   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
                   14543:   soname_spec='${libname}${release}${major}$shared_ext'
                   14544:   shlibpath_overrides_runpath=yes
                   14545:   shlibpath_var=DYLD_LIBRARY_PATH
                   14546:   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
                   14547: 
                   14548:   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
                   14549:   ;;
                   14550: 
                   14551: dgux*)
                   14552:   version_type=linux # correct to gnu/linux during the next big refactor
                   14553:   need_lib_prefix=no
                   14554:   need_version=no
                   14555:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
                   14556:   soname_spec='${libname}${release}${shared_ext}$major'
                   14557:   shlibpath_var=LD_LIBRARY_PATH
                   14558:   ;;
                   14559: 
                   14560: freebsd* | dragonfly*)
                   14561:   # DragonFly does not have aout.  When/if they implement a new
                   14562:   # versioning mechanism, adjust this.
                   14563:   if test -x /usr/bin/objformat; then
                   14564:     objformat=`/usr/bin/objformat`
                   14565:   else
                   14566:     case $host_os in
                   14567:     freebsd[23].*) objformat=aout ;;
                   14568:     *) objformat=elf ;;
                   14569:     esac
                   14570:   fi
                   14571:   version_type=freebsd-$objformat
                   14572:   case $version_type in
                   14573:     freebsd-elf*)
                   14574:       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   14575:       need_version=no
                   14576:       need_lib_prefix=no
                   14577:       ;;
                   14578:     freebsd-*)
                   14579:       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
                   14580:       need_version=yes
                   14581:       ;;
                   14582:   esac
                   14583:   shlibpath_var=LD_LIBRARY_PATH
                   14584:   case $host_os in
                   14585:   freebsd2.*)
                   14586:     shlibpath_overrides_runpath=yes
                   14587:     ;;
                   14588:   freebsd3.[01]* | freebsdelf3.[01]*)
                   14589:     shlibpath_overrides_runpath=yes
                   14590:     hardcode_into_libs=yes
                   14591:     ;;
                   14592:   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
                   14593:   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
                   14594:     shlibpath_overrides_runpath=no
                   14595:     hardcode_into_libs=yes
                   14596:     ;;
                   14597:   *) # from 4.6 on, and DragonFly
                   14598:     shlibpath_overrides_runpath=yes
                   14599:     hardcode_into_libs=yes
                   14600:     ;;
                   14601:   esac
                   14602:   ;;
                   14603: 
                   14604: gnu*)
                   14605:   version_type=linux # correct to gnu/linux during the next big refactor
                   14606:   need_lib_prefix=no
                   14607:   need_version=no
                   14608:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   14609:   soname_spec='${libname}${release}${shared_ext}$major'
                   14610:   shlibpath_var=LD_LIBRARY_PATH
                   14611:   shlibpath_overrides_runpath=no
                   14612:   hardcode_into_libs=yes
                   14613:   ;;
                   14614: 
                   14615: haiku*)
                   14616:   version_type=linux # correct to gnu/linux during the next big refactor
                   14617:   need_lib_prefix=no
                   14618:   need_version=no
                   14619:   dynamic_linker="$host_os runtime_loader"
                   14620:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
                   14621:   soname_spec='${libname}${release}${shared_ext}$major'
                   14622:   shlibpath_var=LIBRARY_PATH
                   14623:   shlibpath_overrides_runpath=yes
                   14624:   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
                   14625:   hardcode_into_libs=yes
                   14626:   ;;
                   14627: 
                   14628: hpux9* | hpux10* | hpux11*)
                   14629:   # Give a soname corresponding to the major version so that dld.sl refuses to
                   14630:   # link against other versions.
                   14631:   version_type=sunos
                   14632:   need_lib_prefix=no
                   14633:   need_version=no
                   14634:   case $host_cpu in
                   14635:   ia64*)
                   14636:     shrext_cmds='.so'
                   14637:     hardcode_into_libs=yes
                   14638:     dynamic_linker="$host_os dld.so"
                   14639:     shlibpath_var=LD_LIBRARY_PATH
                   14640:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   14641:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14642:     soname_spec='${libname}${release}${shared_ext}$major'
                   14643:     if test "X$HPUX_IA64_MODE" = X32; then
                   14644:       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
                   14645:     else
                   14646:       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
                   14647:     fi
                   14648:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   14649:     ;;
                   14650:   hppa*64*)
                   14651:     shrext_cmds='.sl'
                   14652:     hardcode_into_libs=yes
                   14653:     dynamic_linker="$host_os dld.sl"
                   14654:     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
                   14655:     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
                   14656:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14657:     soname_spec='${libname}${release}${shared_ext}$major'
                   14658:     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
                   14659:     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
                   14660:     ;;
                   14661:   *)
                   14662:     shrext_cmds='.sl'
                   14663:     dynamic_linker="$host_os dld.sl"
                   14664:     shlibpath_var=SHLIB_PATH
                   14665:     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
                   14666:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14667:     soname_spec='${libname}${release}${shared_ext}$major'
                   14668:     ;;
                   14669:   esac
                   14670:   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
                   14671:   postinstall_cmds='chmod 555 $lib'
                   14672:   # or fails outright, so override atomically:
                   14673:   install_override_mode=555
                   14674:   ;;
                   14675: 
                   14676: interix[3-9]*)
                   14677:   version_type=linux # correct to gnu/linux during the next big refactor
                   14678:   need_lib_prefix=no
                   14679:   need_version=no
                   14680:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   14681:   soname_spec='${libname}${release}${shared_ext}$major'
                   14682:   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
                   14683:   shlibpath_var=LD_LIBRARY_PATH
                   14684:   shlibpath_overrides_runpath=no
                   14685:   hardcode_into_libs=yes
                   14686:   ;;
                   14687: 
                   14688: irix5* | irix6* | nonstopux*)
                   14689:   case $host_os in
                   14690:     nonstopux*) version_type=nonstopux ;;
                   14691:     *)
                   14692:        if test "$lt_cv_prog_gnu_ld" = yes; then
                   14693:                version_type=linux # correct to gnu/linux during the next big refactor
                   14694:        else
                   14695:                version_type=irix
                   14696:        fi ;;
                   14697:   esac
                   14698:   need_lib_prefix=no
                   14699:   need_version=no
                   14700:   soname_spec='${libname}${release}${shared_ext}$major'
                   14701:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
                   14702:   case $host_os in
                   14703:   irix5* | nonstopux*)
                   14704:     libsuff= shlibsuff=
                   14705:     ;;
                   14706:   *)
                   14707:     case $LD in # libtool.m4 will add one of these switches to LD
                   14708:     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
                   14709:       libsuff= shlibsuff= libmagic=32-bit;;
                   14710:     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
                   14711:       libsuff=32 shlibsuff=N32 libmagic=N32;;
                   14712:     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
                   14713:       libsuff=64 shlibsuff=64 libmagic=64-bit;;
                   14714:     *) libsuff= shlibsuff= libmagic=never-match;;
                   14715:     esac
                   14716:     ;;
                   14717:   esac
                   14718:   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
                   14719:   shlibpath_overrides_runpath=no
                   14720:   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
                   14721:   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
                   14722:   hardcode_into_libs=yes
                   14723:   ;;
                   14724: 
                   14725: # No shared lib support for Linux oldld, aout, or coff.
                   14726: linux*oldld* | linux*aout* | linux*coff*)
                   14727:   dynamic_linker=no
                   14728:   ;;
                   14729: 
                   14730: # This must be glibc/ELF.
                   14731: linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   14732:   version_type=linux # correct to gnu/linux during the next big refactor
                   14733:   need_lib_prefix=no
                   14734:   need_version=no
                   14735:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14736:   soname_spec='${libname}${release}${shared_ext}$major'
                   14737:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
                   14738:   shlibpath_var=LD_LIBRARY_PATH
                   14739:   shlibpath_overrides_runpath=no
                   14740: 
                   14741:   # Some binutils ld are patched to set DT_RUNPATH
                   14742:   if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
                   14743:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   14744: else
                   14745:   lt_cv_shlibpath_overrides_runpath=no
                   14746:     save_LDFLAGS=$LDFLAGS
                   14747:     save_libdir=$libdir
                   14748:     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
                   14749:         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
                   14750:     cat >conftest.$ac_ext <<_ACEOF
                   14751: /* confdefs.h.  */
                   14752: _ACEOF
                   14753: cat confdefs.h >>conftest.$ac_ext
                   14754: cat >>conftest.$ac_ext <<_ACEOF
                   14755: /* end confdefs.h.  */
                   14756: 
                   14757: int
                   14758: main ()
                   14759: {
                   14760: 
                   14761:   ;
                   14762:   return 0;
                   14763: }
                   14764: _ACEOF
                   14765: rm -f conftest.$ac_objext conftest$ac_exeext
                   14766: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   14767:   (eval $ac_link) 2>conftest.er1
                   14768:   ac_status=$?
                   14769:   grep -v '^ *+' conftest.er1 >conftest.err
                   14770:   rm -f conftest.er1
                   14771:   cat conftest.err >&5
                   14772:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14773:   (exit $ac_status); } &&
                   14774:         { ac_try='test -z "$ac_cxx_werror_flag"
                   14775:                         || test ! -s conftest.err'
                   14776:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   14777:   (eval $ac_try) 2>&5
                   14778:   ac_status=$?
                   14779:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14780:   (exit $ac_status); }; } &&
                   14781:         { ac_try='test -s conftest$ac_exeext'
                   14782:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   14783:   (eval $ac_try) 2>&5
                   14784:   ac_status=$?
                   14785:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   14786:   (exit $ac_status); }; }; then
                   14787:   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
                   14788:   lt_cv_shlibpath_overrides_runpath=yes
                   14789: fi
                   14790: 
                   14791: else
                   14792:   echo "$as_me: failed program was:" >&5
                   14793: sed 's/^/| /' conftest.$ac_ext >&5
                   14794: 
                   14795: fi
                   14796: rm -f conftest.err conftest.$ac_objext \
                   14797:       conftest$ac_exeext conftest.$ac_ext
                   14798:     LDFLAGS=$save_LDFLAGS
                   14799:     libdir=$save_libdir
                   14800: 
                   14801: fi
                   14802: 
                   14803:   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
                   14804: 
                   14805:   # This implies no fast_install, which is unacceptable.
                   14806:   # Some rework will be needed to allow for fast_install
                   14807:   # before this can be enabled.
                   14808:   hardcode_into_libs=yes
                   14809: 
                   14810:   # Append ld.so.conf contents to the search path
                   14811:   if test -f /etc/ld.so.conf; then
                   14812:     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' ' '`
                   14813:     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
                   14814:   fi
                   14815: 
                   14816:   # We used to test for /lib/ld.so.1 and disable shared libraries on
                   14817:   # powerpc, because MkLinux only supported shared libraries with the
                   14818:   # GNU dynamic linker.  Since this was broken with cross compilers,
                   14819:   # most powerpc-linux boxes support dynamic linking these days and
                   14820:   # people can always --disable-shared, the test was removed, and we
                   14821:   # assume the GNU/Linux dynamic linker is in use.
                   14822:   dynamic_linker='GNU/Linux ld.so'
                   14823:   ;;
                   14824: 
                   14825: netbsd*)
                   14826:   version_type=sunos
                   14827:   need_lib_prefix=no
                   14828:   need_version=no
                   14829:   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
                   14830:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   14831:     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   14832:     dynamic_linker='NetBSD (a.out) ld.so'
                   14833:   else
                   14834:     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
                   14835:     soname_spec='${libname}${release}${shared_ext}$major'
                   14836:     dynamic_linker='NetBSD ld.elf_so'
                   14837:   fi
                   14838:   shlibpath_var=LD_LIBRARY_PATH
                   14839:   shlibpath_overrides_runpath=yes
                   14840:   hardcode_into_libs=yes
                   14841:   ;;
                   14842: 
                   14843: newsos6)
                   14844:   version_type=linux # correct to gnu/linux during the next big refactor
                   14845:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14846:   shlibpath_var=LD_LIBRARY_PATH
                   14847:   shlibpath_overrides_runpath=yes
                   14848:   ;;
                   14849: 
                   14850: *nto* | *qnx*)
                   14851:   version_type=qnx
                   14852:   need_lib_prefix=no
                   14853:   need_version=no
                   14854:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14855:   soname_spec='${libname}${release}${shared_ext}$major'
                   14856:   shlibpath_var=LD_LIBRARY_PATH
                   14857:   shlibpath_overrides_runpath=no
                   14858:   hardcode_into_libs=yes
                   14859:   dynamic_linker='ldqnx.so'
                   14860:   ;;
                   14861: 
                   14862: openbsd*)
                   14863:   version_type=sunos
                   14864:   sys_lib_dlsearch_path_spec="/usr/lib"
                   14865:   need_lib_prefix=no
                   14866:   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
                   14867:   case $host_os in
                   14868:     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
                   14869:     *)                         need_version=no  ;;
                   14870:   esac
                   14871:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   14872:   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
                   14873:   shlibpath_var=LD_LIBRARY_PATH
                   14874:   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
                   14875:     case $host_os in
                   14876:       openbsd2.[89] | openbsd2.[89].*)
                   14877:        shlibpath_overrides_runpath=no
                   14878:        ;;
                   14879:       *)
                   14880:        shlibpath_overrides_runpath=yes
                   14881:        ;;
                   14882:       esac
                   14883:   else
                   14884:     shlibpath_overrides_runpath=yes
                   14885:   fi
                   14886:   ;;
                   14887: 
                   14888: os2*)
                   14889:   libname_spec='$name'
                   14890:   shrext_cmds=".dll"
                   14891:   need_lib_prefix=no
                   14892:   library_names_spec='$libname${shared_ext} $libname.a'
                   14893:   dynamic_linker='OS/2 ld.exe'
                   14894:   shlibpath_var=LIBPATH
                   14895:   ;;
                   14896: 
                   14897: osf3* | osf4* | osf5*)
                   14898:   version_type=osf
                   14899:   need_lib_prefix=no
                   14900:   need_version=no
                   14901:   soname_spec='${libname}${release}${shared_ext}$major'
                   14902:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14903:   shlibpath_var=LD_LIBRARY_PATH
                   14904:   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
                   14905:   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
                   14906:   ;;
                   14907: 
                   14908: rdos*)
                   14909:   dynamic_linker=no
                   14910:   ;;
                   14911: 
                   14912: solaris*)
                   14913:   version_type=linux # correct to gnu/linux during the next big refactor
                   14914:   need_lib_prefix=no
                   14915:   need_version=no
                   14916:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14917:   soname_spec='${libname}${release}${shared_ext}$major'
                   14918:   shlibpath_var=LD_LIBRARY_PATH
                   14919:   shlibpath_overrides_runpath=yes
                   14920:   hardcode_into_libs=yes
                   14921:   # ldd complains unless libraries are executable
                   14922:   postinstall_cmds='chmod +x $lib'
                   14923:   ;;
                   14924: 
                   14925: sunos4*)
                   14926:   version_type=sunos
                   14927:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
                   14928:   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
                   14929:   shlibpath_var=LD_LIBRARY_PATH
                   14930:   shlibpath_overrides_runpath=yes
                   14931:   if test "$with_gnu_ld" = yes; then
                   14932:     need_lib_prefix=no
                   14933:   fi
                   14934:   need_version=yes
                   14935:   ;;
                   14936: 
                   14937: sysv4 | sysv4.3*)
                   14938:   version_type=linux # correct to gnu/linux during the next big refactor
                   14939:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14940:   soname_spec='${libname}${release}${shared_ext}$major'
                   14941:   shlibpath_var=LD_LIBRARY_PATH
                   14942:   case $host_vendor in
                   14943:     sni)
                   14944:       shlibpath_overrides_runpath=no
                   14945:       need_lib_prefix=no
                   14946:       runpath_var=LD_RUN_PATH
                   14947:       ;;
                   14948:     siemens)
                   14949:       need_lib_prefix=no
                   14950:       ;;
                   14951:     motorola)
                   14952:       need_lib_prefix=no
                   14953:       need_version=no
                   14954:       shlibpath_overrides_runpath=no
                   14955:       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
                   14956:       ;;
                   14957:   esac
                   14958:   ;;
                   14959: 
                   14960: sysv4*MP*)
                   14961:   if test -d /usr/nec ;then
                   14962:     version_type=linux # correct to gnu/linux during the next big refactor
                   14963:     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
                   14964:     soname_spec='$libname${shared_ext}.$major'
                   14965:     shlibpath_var=LD_LIBRARY_PATH
                   14966:   fi
                   14967:   ;;
                   14968: 
                   14969: sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   14970:   version_type=freebsd-elf
                   14971:   need_lib_prefix=no
                   14972:   need_version=no
                   14973:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
                   14974:   soname_spec='${libname}${release}${shared_ext}$major'
                   14975:   shlibpath_var=LD_LIBRARY_PATH
                   14976:   shlibpath_overrides_runpath=yes
                   14977:   hardcode_into_libs=yes
                   14978:   if test "$with_gnu_ld" = yes; then
                   14979:     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
                   14980:   else
                   14981:     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
                   14982:     case $host_os in
                   14983:       sco3.2v5*)
                   14984:         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
                   14985:        ;;
                   14986:     esac
                   14987:   fi
                   14988:   sys_lib_dlsearch_path_spec='/usr/lib'
                   14989:   ;;
                   14990: 
                   14991: tpf*)
                   14992:   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
                   14993:   version_type=linux # correct to gnu/linux during the next big refactor
                   14994:   need_lib_prefix=no
                   14995:   need_version=no
                   14996:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   14997:   shlibpath_var=LD_LIBRARY_PATH
                   14998:   shlibpath_overrides_runpath=no
                   14999:   hardcode_into_libs=yes
                   15000:   ;;
                   15001: 
                   15002: uts4*)
                   15003:   version_type=linux # correct to gnu/linux during the next big refactor
                   15004:   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
                   15005:   soname_spec='${libname}${release}${shared_ext}$major'
                   15006:   shlibpath_var=LD_LIBRARY_PATH
                   15007:   ;;
                   15008: 
                   15009: *)
                   15010:   dynamic_linker=no
                   15011:   ;;
                   15012: esac
                   15013: echo "$as_me:$LINENO: result: $dynamic_linker" >&5
                   15014: echo "${ECHO_T}$dynamic_linker" >&6
                   15015: test "$dynamic_linker" = no && can_build_shared=no
                   15016: 
                   15017: variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
                   15018: if test "$GCC" = yes; then
                   15019:   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
                   15020: fi
                   15021: 
                   15022: if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
                   15023:   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
                   15024: fi
                   15025: if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
                   15026:   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
                   15027: fi
                   15028: 
                   15029: 
                   15030: 
                   15031: 
                   15032: 
                   15033: 
                   15034: 
                   15035: 
                   15036: 
                   15037: 
                   15038: 
                   15039: 
                   15040: 
                   15041: 
                   15042: 
                   15043: 
                   15044: 
                   15045: 
                   15046: 
                   15047: 
                   15048: 
                   15049: 
                   15050: 
                   15051: 
                   15052: 
                   15053: 
                   15054: 
                   15055: 
                   15056: 
                   15057: 
                   15058: 
                   15059: 
                   15060: 
                   15061: 
                   15062: 
                   15063: 
                   15064: 
                   15065: 
                   15066:     echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
                   15067: echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
                   15068: hardcode_action_CXX=
                   15069: if test -n "$hardcode_libdir_flag_spec_CXX" ||
                   15070:    test -n "$runpath_var_CXX" ||
                   15071:    test "X$hardcode_automatic_CXX" = "Xyes" ; then
                   15072: 
                   15073:   # We can hardcode non-existent directories.
                   15074:   if test "$hardcode_direct_CXX" != no &&
                   15075:      # If the only mechanism to avoid hardcoding is shlibpath_var, we
                   15076:      # have to relink, otherwise we might link with an installed library
                   15077:      # when we should be linking with a yet-to-be-installed one
                   15078:      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
                   15079:      test "$hardcode_minus_L_CXX" != no; then
                   15080:     # Linking always hardcodes the temporary library directory.
                   15081:     hardcode_action_CXX=relink
                   15082:   else
                   15083:     # We can link without hardcoding, and we can hardcode nonexisting dirs.
                   15084:     hardcode_action_CXX=immediate
                   15085:   fi
                   15086: else
                   15087:   # We cannot hardcode anything, or else we can only hardcode existing
                   15088:   # directories.
                   15089:   hardcode_action_CXX=unsupported
                   15090: fi
                   15091: echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
                   15092: echo "${ECHO_T}$hardcode_action_CXX" >&6
                   15093: 
                   15094: if test "$hardcode_action_CXX" = relink ||
                   15095:    test "$inherit_rpath_CXX" = yes; then
                   15096:   # Fast installation is not supported
                   15097:   enable_fast_install=no
                   15098: elif test "$shlibpath_overrides_runpath" = yes ||
                   15099:      test "$enable_shared" = no; then
                   15100:   # Fast installation is not necessary
                   15101:   enable_fast_install=needless
                   15102: fi
                   15103: 
                   15104: 
                   15105: 
                   15106: 
                   15107: 
                   15108: 
                   15109: 
                   15110:   fi # test -n "$compiler"
                   15111: 
                   15112:   CC=$lt_save_CC
                   15113:   CFLAGS=$lt_save_CFLAGS
                   15114:   LDCXX=$LD
                   15115:   LD=$lt_save_LD
                   15116:   GCC=$lt_save_GCC
                   15117:   with_gnu_ld=$lt_save_with_gnu_ld
                   15118:   lt_cv_path_LDCXX=$lt_cv_path_LD
                   15119:   lt_cv_path_LD=$lt_save_path_LD
                   15120:   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
                   15121:   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
                   15122: fi # test "$_lt_caught_CXX_error" != yes
                   15123: 
                   15124: ac_ext=c
                   15125: ac_cpp='$CPP $CPPFLAGS'
                   15126: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   15127: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   15128: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   15129: 
                   15130: 
                   15131: 
                   15132: 
                   15133: 
                   15134: 
                   15135: 
                   15136: 
                   15137: 
                   15138: 
                   15139: 
                   15140: 
                   15141: 
                   15142: 
                   15143: 
                   15144:                   ac_config_commands="$ac_config_commands libtool"
                   15145: 
                   15146: 
                   15147: 
                   15148: 
                   15149: # Only expand once:
                   15150: 
                   15151: 
                   15152: echo "$as_me:$LINENO: checking which extension is used for runtime loadable modules" >&5
                   15153: echo $ECHO_N "checking which extension is used for runtime loadable modules... $ECHO_C" >&6
                   15154: if test "${libltdl_cv_shlibext+set}" = set; then
                   15155:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15156: else
                   15157: 
                   15158: module=yes
                   15159: eval libltdl_cv_shlibext=$shrext_cmds
                   15160: module=no
                   15161: eval libltdl_cv_shrext=$shrext_cmds
                   15162: 
                   15163: fi
                   15164: echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
                   15165: echo "${ECHO_T}$libltdl_cv_shlibext" >&6
                   15166: if test -n "$libltdl_cv_shlibext"; then
                   15167: 
                   15168: cat >>confdefs.h <<_ACEOF
                   15169: #define LT_MODULE_EXT "$libltdl_cv_shlibext"
                   15170: _ACEOF
                   15171: 
                   15172: fi
                   15173: if test "$libltdl_cv_shrext" != "$libltdl_cv_shlibext"; then
                   15174: 
                   15175: cat >>confdefs.h <<_ACEOF
                   15176: #define LT_SHARED_EXT "$libltdl_cv_shrext"
                   15177: _ACEOF
                   15178: 
                   15179: fi
                   15180: 
                   15181: echo "$as_me:$LINENO: checking which variable specifies run-time module search path" >&5
                   15182: echo $ECHO_N "checking which variable specifies run-time module search path... $ECHO_C" >&6
                   15183: if test "${lt_cv_module_path_var+set}" = set; then
                   15184:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15185: else
                   15186:   lt_cv_module_path_var="$shlibpath_var"
                   15187: fi
                   15188: echo "$as_me:$LINENO: result: $lt_cv_module_path_var" >&5
                   15189: echo "${ECHO_T}$lt_cv_module_path_var" >&6
                   15190: if test -n "$lt_cv_module_path_var"; then
                   15191: 
                   15192: cat >>confdefs.h <<_ACEOF
                   15193: #define LT_MODULE_PATH_VAR "$lt_cv_module_path_var"
                   15194: _ACEOF
                   15195: 
                   15196: fi
                   15197: 
                   15198: echo "$as_me:$LINENO: checking for the default library search path" >&5
                   15199: echo $ECHO_N "checking for the default library search path... $ECHO_C" >&6
                   15200: if test "${lt_cv_sys_dlsearch_path+set}" = set; then
                   15201:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15202: else
                   15203:   lt_cv_sys_dlsearch_path="$sys_lib_dlsearch_path_spec"
                   15204: fi
                   15205: echo "$as_me:$LINENO: result: $lt_cv_sys_dlsearch_path" >&5
                   15206: echo "${ECHO_T}$lt_cv_sys_dlsearch_path" >&6
                   15207: if test -n "$lt_cv_sys_dlsearch_path"; then
                   15208:   sys_dlsearch_path=
                   15209:   for dir in $lt_cv_sys_dlsearch_path; do
                   15210:     if test -z "$sys_dlsearch_path"; then
                   15211:       sys_dlsearch_path="$dir"
                   15212:     else
                   15213:       sys_dlsearch_path="$sys_dlsearch_path$PATH_SEPARATOR$dir"
                   15214:     fi
                   15215:   done
                   15216: 
                   15217: cat >>confdefs.h <<_ACEOF
                   15218: #define LT_DLSEARCH_PATH "$sys_dlsearch_path"
                   15219: _ACEOF
                   15220: 
                   15221: fi
                   15222: 
                   15223: 
                   15224: LT_DLLOADERS=
                   15225: 
                   15226: 
                   15227: ac_ext=c
                   15228: ac_cpp='$CPP $CPPFLAGS'
                   15229: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   15230: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   15231: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   15232: 
                   15233: 
                   15234: LIBADD_DLOPEN=
                   15235: echo "$as_me:$LINENO: checking for library containing dlopen" >&5
                   15236: echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
                   15237: if test "${ac_cv_search_dlopen+set}" = set; then
                   15238:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15239: else
                   15240:   ac_func_search_save_LIBS=$LIBS
                   15241: ac_cv_search_dlopen=no
                   15242: cat >conftest.$ac_ext <<_ACEOF
                   15243: /* confdefs.h.  */
                   15244: _ACEOF
                   15245: cat confdefs.h >>conftest.$ac_ext
                   15246: cat >>conftest.$ac_ext <<_ACEOF
                   15247: /* end confdefs.h.  */
                   15248: 
                   15249: /* Override any gcc2 internal prototype to avoid an error.  */
                   15250: #ifdef __cplusplus
                   15251: extern "C"
                   15252: #endif
                   15253: /* We use char because int might match the return type of a gcc2
                   15254:    builtin and then its argument prototype would still apply.  */
                   15255: char dlopen ();
                   15256: int
                   15257: main ()
                   15258: {
                   15259: dlopen ();
                   15260:   ;
                   15261:   return 0;
                   15262: }
                   15263: _ACEOF
                   15264: rm -f conftest.$ac_objext conftest$ac_exeext
                   15265: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15266:   (eval $ac_link) 2>conftest.er1
                   15267:   ac_status=$?
                   15268:   grep -v '^ *+' conftest.er1 >conftest.err
                   15269:   rm -f conftest.er1
                   15270:   cat conftest.err >&5
                   15271:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15272:   (exit $ac_status); } &&
                   15273:         { ac_try='test -z "$ac_c_werror_flag"
                   15274:                         || test ! -s conftest.err'
                   15275:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15276:   (eval $ac_try) 2>&5
                   15277:   ac_status=$?
                   15278:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15279:   (exit $ac_status); }; } &&
                   15280:         { ac_try='test -s conftest$ac_exeext'
                   15281:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15282:   (eval $ac_try) 2>&5
                   15283:   ac_status=$?
                   15284:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15285:   (exit $ac_status); }; }; then
                   15286:   ac_cv_search_dlopen="none required"
                   15287: else
                   15288:   echo "$as_me: failed program was:" >&5
                   15289: sed 's/^/| /' conftest.$ac_ext >&5
                   15290: 
                   15291: fi
                   15292: rm -f conftest.err conftest.$ac_objext \
                   15293:       conftest$ac_exeext conftest.$ac_ext
                   15294: if test "$ac_cv_search_dlopen" = no; then
                   15295:   for ac_lib in dl; do
                   15296:     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
                   15297:     cat >conftest.$ac_ext <<_ACEOF
                   15298: /* confdefs.h.  */
                   15299: _ACEOF
                   15300: cat confdefs.h >>conftest.$ac_ext
                   15301: cat >>conftest.$ac_ext <<_ACEOF
                   15302: /* end confdefs.h.  */
                   15303: 
                   15304: /* Override any gcc2 internal prototype to avoid an error.  */
                   15305: #ifdef __cplusplus
                   15306: extern "C"
                   15307: #endif
                   15308: /* We use char because int might match the return type of a gcc2
                   15309:    builtin and then its argument prototype would still apply.  */
                   15310: char dlopen ();
                   15311: int
                   15312: main ()
                   15313: {
                   15314: dlopen ();
                   15315:   ;
                   15316:   return 0;
                   15317: }
                   15318: _ACEOF
                   15319: rm -f conftest.$ac_objext conftest$ac_exeext
                   15320: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15321:   (eval $ac_link) 2>conftest.er1
                   15322:   ac_status=$?
                   15323:   grep -v '^ *+' conftest.er1 >conftest.err
                   15324:   rm -f conftest.er1
                   15325:   cat conftest.err >&5
                   15326:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15327:   (exit $ac_status); } &&
                   15328:         { ac_try='test -z "$ac_c_werror_flag"
                   15329:                         || test ! -s conftest.err'
                   15330:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15331:   (eval $ac_try) 2>&5
                   15332:   ac_status=$?
                   15333:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15334:   (exit $ac_status); }; } &&
                   15335:         { ac_try='test -s conftest$ac_exeext'
                   15336:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15337:   (eval $ac_try) 2>&5
                   15338:   ac_status=$?
                   15339:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15340:   (exit $ac_status); }; }; then
                   15341:   ac_cv_search_dlopen="-l$ac_lib"
                   15342: break
                   15343: else
                   15344:   echo "$as_me: failed program was:" >&5
                   15345: sed 's/^/| /' conftest.$ac_ext >&5
                   15346: 
                   15347: fi
                   15348: rm -f conftest.err conftest.$ac_objext \
                   15349:       conftest$ac_exeext conftest.$ac_ext
                   15350:   done
                   15351: fi
                   15352: LIBS=$ac_func_search_save_LIBS
                   15353: fi
                   15354: echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
                   15355: echo "${ECHO_T}$ac_cv_search_dlopen" >&6
                   15356: if test "$ac_cv_search_dlopen" != no; then
                   15357:   test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
                   15358: 
                   15359: cat >>confdefs.h <<\_ACEOF
                   15360: #define HAVE_LIBDL 1
                   15361: _ACEOF
                   15362: 
                   15363:        if test "$ac_cv_search_dlopen" != "none required" ; then
                   15364:          LIBADD_DLOPEN="-ldl"
                   15365:        fi
                   15366:        libltdl_cv_lib_dl_dlopen="yes"
                   15367:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   15368: else
                   15369:   cat >conftest.$ac_ext <<_ACEOF
                   15370: /* confdefs.h.  */
                   15371: _ACEOF
                   15372: cat confdefs.h >>conftest.$ac_ext
                   15373: cat >>conftest.$ac_ext <<_ACEOF
                   15374: /* end confdefs.h.  */
                   15375: #if HAVE_DLFCN_H
                   15376: #  include <dlfcn.h>
                   15377: #endif
                   15378: 
                   15379: int
                   15380: main ()
                   15381: {
                   15382: dlopen(0, 0);
                   15383:   ;
                   15384:   return 0;
                   15385: }
                   15386: _ACEOF
                   15387: rm -f conftest.$ac_objext conftest$ac_exeext
                   15388: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15389:   (eval $ac_link) 2>conftest.er1
                   15390:   ac_status=$?
                   15391:   grep -v '^ *+' conftest.er1 >conftest.err
                   15392:   rm -f conftest.er1
                   15393:   cat conftest.err >&5
                   15394:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15395:   (exit $ac_status); } &&
                   15396:         { ac_try='test -z "$ac_c_werror_flag"
                   15397:                         || test ! -s conftest.err'
                   15398:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15399:   (eval $ac_try) 2>&5
                   15400:   ac_status=$?
                   15401:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15402:   (exit $ac_status); }; } &&
                   15403:         { ac_try='test -s conftest$ac_exeext'
                   15404:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15405:   (eval $ac_try) 2>&5
                   15406:   ac_status=$?
                   15407:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15408:   (exit $ac_status); }; }; then
                   15409: 
                   15410: cat >>confdefs.h <<\_ACEOF
                   15411: #define HAVE_LIBDL 1
                   15412: _ACEOF
                   15413: 
                   15414:            libltdl_cv_func_dlopen="yes"
                   15415:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   15416: else
                   15417:   echo "$as_me: failed program was:" >&5
                   15418: sed 's/^/| /' conftest.$ac_ext >&5
                   15419: 
                   15420: echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
                   15421: echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
                   15422: if test "${ac_cv_lib_svld_dlopen+set}" = set; then
                   15423:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15424: else
                   15425:   ac_check_lib_save_LIBS=$LIBS
                   15426: LIBS="-lsvld  $LIBS"
                   15427: cat >conftest.$ac_ext <<_ACEOF
                   15428: /* confdefs.h.  */
                   15429: _ACEOF
                   15430: cat confdefs.h >>conftest.$ac_ext
                   15431: cat >>conftest.$ac_ext <<_ACEOF
                   15432: /* end confdefs.h.  */
                   15433: 
                   15434: /* Override any gcc2 internal prototype to avoid an error.  */
                   15435: #ifdef __cplusplus
                   15436: extern "C"
                   15437: #endif
                   15438: /* We use char because int might match the return type of a gcc2
                   15439:    builtin and then its argument prototype would still apply.  */
                   15440: char dlopen ();
                   15441: int
                   15442: main ()
                   15443: {
                   15444: dlopen ();
                   15445:   ;
                   15446:   return 0;
                   15447: }
                   15448: _ACEOF
                   15449: rm -f conftest.$ac_objext conftest$ac_exeext
                   15450: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15451:   (eval $ac_link) 2>conftest.er1
                   15452:   ac_status=$?
                   15453:   grep -v '^ *+' conftest.er1 >conftest.err
                   15454:   rm -f conftest.er1
                   15455:   cat conftest.err >&5
                   15456:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15457:   (exit $ac_status); } &&
                   15458:         { ac_try='test -z "$ac_c_werror_flag"
                   15459:                         || test ! -s conftest.err'
                   15460:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15461:   (eval $ac_try) 2>&5
                   15462:   ac_status=$?
                   15463:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15464:   (exit $ac_status); }; } &&
                   15465:         { ac_try='test -s conftest$ac_exeext'
                   15466:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15467:   (eval $ac_try) 2>&5
                   15468:   ac_status=$?
                   15469:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15470:   (exit $ac_status); }; }; then
                   15471:   ac_cv_lib_svld_dlopen=yes
                   15472: else
                   15473:   echo "$as_me: failed program was:" >&5
                   15474: sed 's/^/| /' conftest.$ac_ext >&5
                   15475: 
                   15476: ac_cv_lib_svld_dlopen=no
                   15477: fi
                   15478: rm -f conftest.err conftest.$ac_objext \
                   15479:       conftest$ac_exeext conftest.$ac_ext
                   15480: LIBS=$ac_check_lib_save_LIBS
                   15481: fi
                   15482: echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
                   15483: echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
                   15484: if test $ac_cv_lib_svld_dlopen = yes; then
                   15485: 
                   15486: cat >>confdefs.h <<\_ACEOF
                   15487: #define HAVE_LIBDL 1
                   15488: _ACEOF
                   15489: 
                   15490:                LIBADD_DLOPEN="-lsvld" libltdl_cv_func_dlopen="yes"
                   15491:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dlopen.la"
                   15492: fi
                   15493: 
                   15494: fi
                   15495: rm -f conftest.err conftest.$ac_objext \
                   15496:       conftest$ac_exeext conftest.$ac_ext
                   15497: fi
                   15498: 
                   15499: if test x"$libltdl_cv_func_dlopen" = xyes || test x"$libltdl_cv_lib_dl_dlopen" = xyes
                   15500: then
                   15501:   lt_save_LIBS="$LIBS"
                   15502:   LIBS="$LIBS $LIBADD_DLOPEN"
                   15503: 
                   15504: for ac_func in dlerror
                   15505: do
                   15506: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   15507: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   15508: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   15509: if eval "test \"\${$as_ac_var+set}\" = set"; then
                   15510:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15511: else
                   15512:   cat >conftest.$ac_ext <<_ACEOF
                   15513: /* confdefs.h.  */
                   15514: _ACEOF
                   15515: cat confdefs.h >>conftest.$ac_ext
                   15516: cat >>conftest.$ac_ext <<_ACEOF
                   15517: /* end confdefs.h.  */
                   15518: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   15519:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   15520: #define $ac_func innocuous_$ac_func
                   15521: 
                   15522: /* System header to define __stub macros and hopefully few prototypes,
                   15523:     which can conflict with char $ac_func (); below.
                   15524:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   15525:     <limits.h> exists even on freestanding compilers.  */
                   15526: 
                   15527: #ifdef __STDC__
                   15528: # include <limits.h>
                   15529: #else
                   15530: # include <assert.h>
                   15531: #endif
                   15532: 
                   15533: #undef $ac_func
                   15534: 
                   15535: /* Override any gcc2 internal prototype to avoid an error.  */
                   15536: #ifdef __cplusplus
                   15537: extern "C"
                   15538: {
                   15539: #endif
                   15540: /* We use char because int might match the return type of a gcc2
                   15541:    builtin and then its argument prototype would still apply.  */
                   15542: char $ac_func ();
                   15543: /* The GNU C library defines this for functions which it implements
                   15544:     to always fail with ENOSYS.  Some functions are actually named
                   15545:     something starting with __ and the normal name is an alias.  */
                   15546: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   15547: choke me
                   15548: #else
                   15549: char (*f) () = $ac_func;
                   15550: #endif
                   15551: #ifdef __cplusplus
                   15552: }
                   15553: #endif
                   15554: 
                   15555: int
                   15556: main ()
                   15557: {
                   15558: return f != $ac_func;
                   15559:   ;
                   15560:   return 0;
                   15561: }
                   15562: _ACEOF
                   15563: rm -f conftest.$ac_objext conftest$ac_exeext
                   15564: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15565:   (eval $ac_link) 2>conftest.er1
                   15566:   ac_status=$?
                   15567:   grep -v '^ *+' conftest.er1 >conftest.err
                   15568:   rm -f conftest.er1
                   15569:   cat conftest.err >&5
                   15570:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15571:   (exit $ac_status); } &&
                   15572:         { ac_try='test -z "$ac_c_werror_flag"
                   15573:                         || test ! -s conftest.err'
                   15574:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15575:   (eval $ac_try) 2>&5
                   15576:   ac_status=$?
                   15577:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15578:   (exit $ac_status); }; } &&
                   15579:         { ac_try='test -s conftest$ac_exeext'
                   15580:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15581:   (eval $ac_try) 2>&5
                   15582:   ac_status=$?
                   15583:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15584:   (exit $ac_status); }; }; then
                   15585:   eval "$as_ac_var=yes"
                   15586: else
                   15587:   echo "$as_me: failed program was:" >&5
                   15588: sed 's/^/| /' conftest.$ac_ext >&5
                   15589: 
                   15590: eval "$as_ac_var=no"
                   15591: fi
                   15592: rm -f conftest.err conftest.$ac_objext \
                   15593:       conftest$ac_exeext conftest.$ac_ext
                   15594: fi
                   15595: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   15596: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   15597: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   15598:   cat >>confdefs.h <<_ACEOF
                   15599: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   15600: _ACEOF
                   15601: 
                   15602: fi
                   15603: done
                   15604: 
                   15605:   LIBS="$lt_save_LIBS"
                   15606: fi
                   15607: 
                   15608: 
                   15609: LIBADD_SHL_LOAD=
                   15610: echo "$as_me:$LINENO: checking for shl_load" >&5
                   15611: echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
                   15612: if test "${ac_cv_func_shl_load+set}" = set; then
                   15613:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15614: else
                   15615:   cat >conftest.$ac_ext <<_ACEOF
                   15616: /* confdefs.h.  */
                   15617: _ACEOF
                   15618: cat confdefs.h >>conftest.$ac_ext
                   15619: cat >>conftest.$ac_ext <<_ACEOF
                   15620: /* end confdefs.h.  */
                   15621: /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
                   15622:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   15623: #define shl_load innocuous_shl_load
                   15624: 
                   15625: /* System header to define __stub macros and hopefully few prototypes,
                   15626:     which can conflict with char shl_load (); below.
                   15627:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   15628:     <limits.h> exists even on freestanding compilers.  */
                   15629: 
                   15630: #ifdef __STDC__
                   15631: # include <limits.h>
                   15632: #else
                   15633: # include <assert.h>
                   15634: #endif
                   15635: 
                   15636: #undef shl_load
                   15637: 
                   15638: /* Override any gcc2 internal prototype to avoid an error.  */
                   15639: #ifdef __cplusplus
                   15640: extern "C"
                   15641: {
                   15642: #endif
                   15643: /* We use char because int might match the return type of a gcc2
                   15644:    builtin and then its argument prototype would still apply.  */
                   15645: char shl_load ();
                   15646: /* The GNU C library defines this for functions which it implements
                   15647:     to always fail with ENOSYS.  Some functions are actually named
                   15648:     something starting with __ and the normal name is an alias.  */
                   15649: #if defined (__stub_shl_load) || defined (__stub___shl_load)
                   15650: choke me
                   15651: #else
                   15652: char (*f) () = shl_load;
                   15653: #endif
                   15654: #ifdef __cplusplus
                   15655: }
                   15656: #endif
                   15657: 
                   15658: int
                   15659: main ()
                   15660: {
                   15661: return f != shl_load;
                   15662:   ;
                   15663:   return 0;
                   15664: }
                   15665: _ACEOF
                   15666: rm -f conftest.$ac_objext conftest$ac_exeext
                   15667: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15668:   (eval $ac_link) 2>conftest.er1
                   15669:   ac_status=$?
                   15670:   grep -v '^ *+' conftest.er1 >conftest.err
                   15671:   rm -f conftest.er1
                   15672:   cat conftest.err >&5
                   15673:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15674:   (exit $ac_status); } &&
                   15675:         { ac_try='test -z "$ac_c_werror_flag"
                   15676:                         || test ! -s conftest.err'
                   15677:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15678:   (eval $ac_try) 2>&5
                   15679:   ac_status=$?
                   15680:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15681:   (exit $ac_status); }; } &&
                   15682:         { ac_try='test -s conftest$ac_exeext'
                   15683:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15684:   (eval $ac_try) 2>&5
                   15685:   ac_status=$?
                   15686:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15687:   (exit $ac_status); }; }; then
                   15688:   ac_cv_func_shl_load=yes
                   15689: else
                   15690:   echo "$as_me: failed program was:" >&5
                   15691: sed 's/^/| /' conftest.$ac_ext >&5
                   15692: 
                   15693: ac_cv_func_shl_load=no
                   15694: fi
                   15695: rm -f conftest.err conftest.$ac_objext \
                   15696:       conftest$ac_exeext conftest.$ac_ext
                   15697: fi
                   15698: echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
                   15699: echo "${ECHO_T}$ac_cv_func_shl_load" >&6
                   15700: if test $ac_cv_func_shl_load = yes; then
                   15701: 
                   15702: cat >>confdefs.h <<\_ACEOF
                   15703: #define HAVE_SHL_LOAD 1
                   15704: _ACEOF
                   15705: 
                   15706:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
                   15707: else
                   15708:   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
                   15709: echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
                   15710: if test "${ac_cv_lib_dld_shl_load+set}" = set; then
                   15711:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15712: else
                   15713:   ac_check_lib_save_LIBS=$LIBS
                   15714: LIBS="-ldld  $LIBS"
                   15715: cat >conftest.$ac_ext <<_ACEOF
                   15716: /* confdefs.h.  */
                   15717: _ACEOF
                   15718: cat confdefs.h >>conftest.$ac_ext
                   15719: cat >>conftest.$ac_ext <<_ACEOF
                   15720: /* end confdefs.h.  */
                   15721: 
                   15722: /* Override any gcc2 internal prototype to avoid an error.  */
                   15723: #ifdef __cplusplus
                   15724: extern "C"
                   15725: #endif
                   15726: /* We use char because int might match the return type of a gcc2
                   15727:    builtin and then its argument prototype would still apply.  */
                   15728: char shl_load ();
                   15729: int
                   15730: main ()
                   15731: {
                   15732: shl_load ();
                   15733:   ;
                   15734:   return 0;
                   15735: }
                   15736: _ACEOF
                   15737: rm -f conftest.$ac_objext conftest$ac_exeext
                   15738: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15739:   (eval $ac_link) 2>conftest.er1
                   15740:   ac_status=$?
                   15741:   grep -v '^ *+' conftest.er1 >conftest.err
                   15742:   rm -f conftest.er1
                   15743:   cat conftest.err >&5
                   15744:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15745:   (exit $ac_status); } &&
                   15746:         { ac_try='test -z "$ac_c_werror_flag"
                   15747:                         || test ! -s conftest.err'
                   15748:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15749:   (eval $ac_try) 2>&5
                   15750:   ac_status=$?
                   15751:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15752:   (exit $ac_status); }; } &&
                   15753:         { ac_try='test -s conftest$ac_exeext'
                   15754:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15755:   (eval $ac_try) 2>&5
                   15756:   ac_status=$?
                   15757:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15758:   (exit $ac_status); }; }; then
                   15759:   ac_cv_lib_dld_shl_load=yes
                   15760: else
                   15761:   echo "$as_me: failed program was:" >&5
                   15762: sed 's/^/| /' conftest.$ac_ext >&5
                   15763: 
                   15764: ac_cv_lib_dld_shl_load=no
                   15765: fi
                   15766: rm -f conftest.err conftest.$ac_objext \
                   15767:       conftest$ac_exeext conftest.$ac_ext
                   15768: LIBS=$ac_check_lib_save_LIBS
                   15769: fi
                   15770: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
                   15771: echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
                   15772: if test $ac_cv_lib_dld_shl_load = yes; then
                   15773: 
                   15774: cat >>confdefs.h <<\_ACEOF
                   15775: #define HAVE_SHL_LOAD 1
                   15776: _ACEOF
                   15777: 
                   15778:            LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}shl_load.la"
                   15779:            LIBADD_SHL_LOAD="-ldld"
                   15780: fi
                   15781: 
                   15782: fi
                   15783: 
                   15784: 
                   15785: 
                   15786: case $host_os in
                   15787: darwin[1567].*)
                   15788: # We only want this for pre-Mac OS X 10.4.
                   15789:   echo "$as_me:$LINENO: checking for _dyld_func_lookup" >&5
                   15790: echo $ECHO_N "checking for _dyld_func_lookup... $ECHO_C" >&6
                   15791: if test "${ac_cv_func__dyld_func_lookup+set}" = set; then
                   15792:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15793: else
                   15794:   cat >conftest.$ac_ext <<_ACEOF
                   15795: /* confdefs.h.  */
                   15796: _ACEOF
                   15797: cat confdefs.h >>conftest.$ac_ext
                   15798: cat >>conftest.$ac_ext <<_ACEOF
                   15799: /* end confdefs.h.  */
                   15800: /* Define _dyld_func_lookup to an innocuous variant, in case <limits.h> declares _dyld_func_lookup.
                   15801:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   15802: #define _dyld_func_lookup innocuous__dyld_func_lookup
                   15803: 
                   15804: /* System header to define __stub macros and hopefully few prototypes,
                   15805:     which can conflict with char _dyld_func_lookup (); below.
                   15806:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   15807:     <limits.h> exists even on freestanding compilers.  */
                   15808: 
                   15809: #ifdef __STDC__
                   15810: # include <limits.h>
                   15811: #else
                   15812: # include <assert.h>
                   15813: #endif
                   15814: 
                   15815: #undef _dyld_func_lookup
                   15816: 
                   15817: /* Override any gcc2 internal prototype to avoid an error.  */
                   15818: #ifdef __cplusplus
                   15819: extern "C"
                   15820: {
                   15821: #endif
                   15822: /* We use char because int might match the return type of a gcc2
                   15823:    builtin and then its argument prototype would still apply.  */
                   15824: char _dyld_func_lookup ();
                   15825: /* The GNU C library defines this for functions which it implements
                   15826:     to always fail with ENOSYS.  Some functions are actually named
                   15827:     something starting with __ and the normal name is an alias.  */
                   15828: #if defined (__stub__dyld_func_lookup) || defined (__stub____dyld_func_lookup)
                   15829: choke me
                   15830: #else
                   15831: char (*f) () = _dyld_func_lookup;
                   15832: #endif
                   15833: #ifdef __cplusplus
                   15834: }
                   15835: #endif
                   15836: 
                   15837: int
                   15838: main ()
                   15839: {
                   15840: return f != _dyld_func_lookup;
                   15841:   ;
                   15842:   return 0;
                   15843: }
                   15844: _ACEOF
                   15845: rm -f conftest.$ac_objext conftest$ac_exeext
                   15846: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   15847:   (eval $ac_link) 2>conftest.er1
                   15848:   ac_status=$?
                   15849:   grep -v '^ *+' conftest.er1 >conftest.err
                   15850:   rm -f conftest.er1
                   15851:   cat conftest.err >&5
                   15852:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15853:   (exit $ac_status); } &&
                   15854:         { ac_try='test -z "$ac_c_werror_flag"
                   15855:                         || test ! -s conftest.err'
                   15856:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15857:   (eval $ac_try) 2>&5
                   15858:   ac_status=$?
                   15859:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15860:   (exit $ac_status); }; } &&
                   15861:         { ac_try='test -s conftest$ac_exeext'
                   15862:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15863:   (eval $ac_try) 2>&5
                   15864:   ac_status=$?
                   15865:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15866:   (exit $ac_status); }; }; then
                   15867:   ac_cv_func__dyld_func_lookup=yes
                   15868: else
                   15869:   echo "$as_me: failed program was:" >&5
                   15870: sed 's/^/| /' conftest.$ac_ext >&5
                   15871: 
                   15872: ac_cv_func__dyld_func_lookup=no
                   15873: fi
                   15874: rm -f conftest.err conftest.$ac_objext \
                   15875:       conftest$ac_exeext conftest.$ac_ext
                   15876: fi
                   15877: echo "$as_me:$LINENO: result: $ac_cv_func__dyld_func_lookup" >&5
                   15878: echo "${ECHO_T}$ac_cv_func__dyld_func_lookup" >&6
                   15879: if test $ac_cv_func__dyld_func_lookup = yes; then
                   15880: 
                   15881: cat >>confdefs.h <<\_ACEOF
                   15882: #define HAVE_DYLD 1
                   15883: _ACEOF
                   15884: 
                   15885:        LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dyld.la"
                   15886: fi
                   15887: 
                   15888:   ;;
                   15889: beos*)
                   15890:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}load_add_on.la"
                   15891:   ;;
                   15892: cygwin* | mingw* | os2* | pw32*)
                   15893:   echo "$as_me:$LINENO: checking whether cygwin_conv_path is declared" >&5
                   15894: echo $ECHO_N "checking whether cygwin_conv_path is declared... $ECHO_C" >&6
                   15895: if test "${ac_cv_have_decl_cygwin_conv_path+set}" = set; then
                   15896:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15897: else
                   15898:   cat >conftest.$ac_ext <<_ACEOF
                   15899: /* confdefs.h.  */
                   15900: _ACEOF
                   15901: cat confdefs.h >>conftest.$ac_ext
                   15902: cat >>conftest.$ac_ext <<_ACEOF
                   15903: /* end confdefs.h.  */
                   15904: #include <sys/cygwin.h>
                   15905: 
                   15906: int
                   15907: main ()
                   15908: {
                   15909: #ifndef cygwin_conv_path
                   15910:   char *p = (char *) cygwin_conv_path;
                   15911: #endif
                   15912: 
                   15913:   ;
                   15914:   return 0;
                   15915: }
                   15916: _ACEOF
                   15917: rm -f conftest.$ac_objext
                   15918: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   15919:   (eval $ac_compile) 2>conftest.er1
                   15920:   ac_status=$?
                   15921:   grep -v '^ *+' conftest.er1 >conftest.err
                   15922:   rm -f conftest.er1
                   15923:   cat conftest.err >&5
                   15924:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15925:   (exit $ac_status); } &&
                   15926:         { ac_try='test -z "$ac_c_werror_flag"
                   15927:                         || test ! -s conftest.err'
                   15928:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15929:   (eval $ac_try) 2>&5
                   15930:   ac_status=$?
                   15931:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15932:   (exit $ac_status); }; } &&
                   15933:         { ac_try='test -s conftest.$ac_objext'
                   15934:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   15935:   (eval $ac_try) 2>&5
                   15936:   ac_status=$?
                   15937:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   15938:   (exit $ac_status); }; }; then
                   15939:   ac_cv_have_decl_cygwin_conv_path=yes
                   15940: else
                   15941:   echo "$as_me: failed program was:" >&5
                   15942: sed 's/^/| /' conftest.$ac_ext >&5
                   15943: 
                   15944: ac_cv_have_decl_cygwin_conv_path=no
                   15945: fi
                   15946: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   15947: fi
                   15948: echo "$as_me:$LINENO: result: $ac_cv_have_decl_cygwin_conv_path" >&5
                   15949: echo "${ECHO_T}$ac_cv_have_decl_cygwin_conv_path" >&6
                   15950: if test $ac_cv_have_decl_cygwin_conv_path = yes; then
                   15951: 
                   15952: cat >>confdefs.h <<_ACEOF
                   15953: #define HAVE_DECL_CYGWIN_CONV_PATH 1
                   15954: _ACEOF
                   15955: 
                   15956: 
                   15957: else
                   15958:   cat >>confdefs.h <<_ACEOF
                   15959: #define HAVE_DECL_CYGWIN_CONV_PATH 0
                   15960: _ACEOF
                   15961: 
                   15962: 
                   15963: fi
                   15964: 
                   15965: 
                   15966:   LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}loadlibrary.la"
                   15967:   ;;
                   15968: esac
                   15969: 
                   15970: echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
                   15971: echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
                   15972: if test "${ac_cv_lib_dld_dld_link+set}" = set; then
                   15973:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   15974: else
                   15975:   ac_check_lib_save_LIBS=$LIBS
                   15976: LIBS="-ldld  $LIBS"
                   15977: cat >conftest.$ac_ext <<_ACEOF
                   15978: /* confdefs.h.  */
                   15979: _ACEOF
                   15980: cat confdefs.h >>conftest.$ac_ext
                   15981: cat >>conftest.$ac_ext <<_ACEOF
                   15982: /* end confdefs.h.  */
                   15983: 
                   15984: /* Override any gcc2 internal prototype to avoid an error.  */
                   15985: #ifdef __cplusplus
                   15986: extern "C"
                   15987: #endif
                   15988: /* We use char because int might match the return type of a gcc2
                   15989:    builtin and then its argument prototype would still apply.  */
                   15990: char dld_link ();
                   15991: int
                   15992: main ()
                   15993: {
                   15994: dld_link ();
                   15995:   ;
                   15996:   return 0;
                   15997: }
                   15998: _ACEOF
                   15999: rm -f conftest.$ac_objext conftest$ac_exeext
                   16000: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16001:   (eval $ac_link) 2>conftest.er1
                   16002:   ac_status=$?
                   16003:   grep -v '^ *+' conftest.er1 >conftest.err
                   16004:   rm -f conftest.er1
                   16005:   cat conftest.err >&5
                   16006:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16007:   (exit $ac_status); } &&
                   16008:         { ac_try='test -z "$ac_c_werror_flag"
                   16009:                         || test ! -s conftest.err'
                   16010:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16011:   (eval $ac_try) 2>&5
                   16012:   ac_status=$?
                   16013:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16014:   (exit $ac_status); }; } &&
                   16015:         { ac_try='test -s conftest$ac_exeext'
                   16016:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16017:   (eval $ac_try) 2>&5
                   16018:   ac_status=$?
                   16019:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16020:   (exit $ac_status); }; }; then
                   16021:   ac_cv_lib_dld_dld_link=yes
                   16022: else
                   16023:   echo "$as_me: failed program was:" >&5
                   16024: sed 's/^/| /' conftest.$ac_ext >&5
                   16025: 
                   16026: ac_cv_lib_dld_dld_link=no
                   16027: fi
                   16028: rm -f conftest.err conftest.$ac_objext \
                   16029:       conftest$ac_exeext conftest.$ac_ext
                   16030: LIBS=$ac_check_lib_save_LIBS
                   16031: fi
                   16032: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
                   16033: echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
                   16034: if test $ac_cv_lib_dld_dld_link = yes; then
                   16035: 
                   16036: cat >>confdefs.h <<\_ACEOF
                   16037: #define HAVE_DLD 1
                   16038: _ACEOF
                   16039: 
                   16040:                LT_DLLOADERS="$LT_DLLOADERS ${lt_dlopen_dir+$lt_dlopen_dir/}dld_link.la"
                   16041: fi
                   16042: 
                   16043: 
                   16044: 
                   16045: 
                   16046: LT_DLPREOPEN=
                   16047: if test -n "$LT_DLLOADERS"
                   16048: then
                   16049:   for lt_loader in $LT_DLLOADERS; do
                   16050:     LT_DLPREOPEN="$LT_DLPREOPEN-dlpreopen $lt_loader "
                   16051:   done
                   16052: 
                   16053: cat >>confdefs.h <<\_ACEOF
                   16054: #define HAVE_LIBDLLOADER 1
                   16055: _ACEOF
                   16056: 
                   16057: fi
                   16058: 
                   16059: 
                   16060: LIBADD_DL="$LIBADD_DLOPEN $LIBADD_SHL_LOAD"
                   16061: 
                   16062: 
                   16063: ac_ext=c
                   16064: ac_cpp='$CPP $CPPFLAGS'
                   16065: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
                   16066: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
                   16067: ac_compiler_gnu=$ac_cv_c_compiler_gnu
                   16068: 
                   16069: 
                   16070: echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
                   16071: echo $ECHO_N "checking for _ prefix in compiled symbols... $ECHO_C" >&6
                   16072: if test "${lt_cv_sys_symbol_underscore+set}" = set; then
                   16073:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16074: else
                   16075:   lt_cv_sys_symbol_underscore=no
                   16076:   cat > conftest.$ac_ext <<_LT_EOF
                   16077: void nm_test_func(){}
                   16078: int main(){nm_test_func;return 0;}
                   16079: _LT_EOF
                   16080:   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   16081:   (eval $ac_compile) 2>&5
                   16082:   ac_status=$?
                   16083:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16084:   (exit $ac_status); }; then
                   16085:     # Now try to grab the symbols.
                   16086:     ac_nlist=conftest.nm
                   16087:     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist\"") >&5
                   16088:   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
                   16089:   ac_status=$?
                   16090:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16091:   (exit $ac_status); } && test -s "$ac_nlist"; then
                   16092:       # See whether the symbols have a leading underscore.
                   16093:       if grep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
                   16094:         lt_cv_sys_symbol_underscore=yes
                   16095:       else
                   16096:         if grep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
                   16097:          :
                   16098:         else
                   16099:          echo "configure: cannot find nm_test_func in $ac_nlist" >&5
                   16100:         fi
                   16101:       fi
                   16102:     else
                   16103:       echo "configure: cannot run $lt_cv_sys_global_symbol_pipe" >&5
                   16104:     fi
                   16105:   else
                   16106:     echo "configure: failed program was:" >&5
                   16107:     cat conftest.c >&5
                   16108:   fi
                   16109:   rm -rf conftest*
                   16110: 
                   16111: fi
                   16112: echo "$as_me:$LINENO: result: $lt_cv_sys_symbol_underscore" >&5
                   16113: echo "${ECHO_T}$lt_cv_sys_symbol_underscore" >&6
                   16114:   sys_symbol_underscore=$lt_cv_sys_symbol_underscore
                   16115: 
                   16116: 
                   16117: if test x"$lt_cv_sys_symbol_underscore" = xyes; then
                   16118:   if test x"$libltdl_cv_func_dlopen" = xyes ||
                   16119:      test x"$libltdl_cv_lib_dl_dlopen" = xyes ; then
                   16120:        echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
                   16121: echo $ECHO_N "checking whether we have to add an underscore for dlsym... $ECHO_C" >&6
                   16122: if test "${libltdl_cv_need_uscore+set}" = set; then
                   16123:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16124: else
                   16125:   libltdl_cv_need_uscore=unknown
                   16126:           save_LIBS="$LIBS"
                   16127:           LIBS="$LIBS $LIBADD_DLOPEN"
                   16128:          if test "$cross_compiling" = yes; then :
                   16129:   libltdl_cv_need_uscore=cross
                   16130: else
                   16131:   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
                   16132:   lt_status=$lt_dlunknown
                   16133:   cat > conftest.$ac_ext <<_LT_EOF
                   16134: #line $LINENO "configure"
                   16135: #include "confdefs.h"
                   16136: 
                   16137: #if HAVE_DLFCN_H
                   16138: #include <dlfcn.h>
                   16139: #endif
                   16140: 
                   16141: #include <stdio.h>
                   16142: 
                   16143: #ifdef RTLD_GLOBAL
                   16144: #  define LT_DLGLOBAL          RTLD_GLOBAL
                   16145: #else
                   16146: #  ifdef DL_GLOBAL
                   16147: #    define LT_DLGLOBAL                DL_GLOBAL
                   16148: #  else
                   16149: #    define LT_DLGLOBAL                0
                   16150: #  endif
                   16151: #endif
                   16152: 
                   16153: /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
                   16154:    find out it does not work in some platform. */
                   16155: #ifndef LT_DLLAZY_OR_NOW
                   16156: #  ifdef RTLD_LAZY
                   16157: #    define LT_DLLAZY_OR_NOW           RTLD_LAZY
                   16158: #  else
                   16159: #    ifdef DL_LAZY
                   16160: #      define LT_DLLAZY_OR_NOW         DL_LAZY
                   16161: #    else
                   16162: #      ifdef RTLD_NOW
                   16163: #        define LT_DLLAZY_OR_NOW       RTLD_NOW
                   16164: #      else
                   16165: #        ifdef DL_NOW
                   16166: #          define LT_DLLAZY_OR_NOW     DL_NOW
                   16167: #        else
                   16168: #          define LT_DLLAZY_OR_NOW     0
                   16169: #        endif
                   16170: #      endif
                   16171: #    endif
                   16172: #  endif
                   16173: #endif
                   16174: 
                   16175: /* When -fvisbility=hidden is used, assume the code has been annotated
                   16176:    correspondingly for the symbols needed.  */
                   16177: #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
                   16178: int fnord () __attribute__((visibility("default")));
                   16179: #endif
                   16180: 
                   16181: int fnord () { return 42; }
                   16182: int main ()
                   16183: {
                   16184:   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
                   16185:   int status = $lt_dlunknown;
                   16186: 
                   16187:   if (self)
                   16188:     {
                   16189:       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
                   16190:       else
                   16191:         {
                   16192:          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
                   16193:           else puts (dlerror ());
                   16194:        }
                   16195:       /* dlclose (self); */
                   16196:     }
                   16197:   else
                   16198:     puts (dlerror ());
                   16199: 
                   16200:   return status;
                   16201: }
                   16202: _LT_EOF
                   16203:   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16204:   (eval $ac_link) 2>&5
                   16205:   ac_status=$?
                   16206:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16207:   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
                   16208:     (./conftest; exit; ) >&5 2>/dev/null
                   16209:     lt_status=$?
                   16210:     case x$lt_status in
                   16211:       x$lt_dlno_uscore) libltdl_cv_need_uscore=no ;;
                   16212:       x$lt_dlneed_uscore) libltdl_cv_need_uscore=yes ;;
                   16213:       x$lt_dlunknown|x*)  ;;
                   16214:     esac
                   16215:   else :
                   16216:     # compilation failed
                   16217: 
                   16218:   fi
                   16219: fi
                   16220: rm -fr conftest*
                   16221: 
                   16222:          LIBS="$save_LIBS"
                   16223: 
                   16224: fi
                   16225: echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
                   16226: echo "${ECHO_T}$libltdl_cv_need_uscore" >&6
                   16227:   fi
                   16228: fi
                   16229: 
                   16230: if test x"$libltdl_cv_need_uscore" = xyes; then
                   16231: 
                   16232: cat >>confdefs.h <<\_ACEOF
                   16233: #define NEED_USCORE 1
                   16234: _ACEOF
                   16235: 
                   16236: fi
                   16237: 
                   16238: echo "$as_me:$LINENO: checking whether deplibs are loaded by dlopen" >&5
                   16239: echo $ECHO_N "checking whether deplibs are loaded by dlopen... $ECHO_C" >&6
                   16240: if test "${lt_cv_sys_dlopen_deplibs+set}" = set; then
                   16241:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16242: else
                   16243:   # PORTME does your system automatically load deplibs for dlopen?
                   16244:   # or its logical equivalent (e.g. shl_load for HP-UX < 11)
                   16245:   # For now, we just catch OSes we know something about -- in the
                   16246:   # future, we'll try test this programmatically.
                   16247:   lt_cv_sys_dlopen_deplibs=unknown
                   16248:   case $host_os in
                   16249:   aix3*|aix4.1.*|aix4.2.*)
                   16250:     # Unknown whether this is true for these versions of AIX, but
                   16251:     # we want this `case' here to explicitly catch those versions.
                   16252:     lt_cv_sys_dlopen_deplibs=unknown
                   16253:     ;;
                   16254:   aix[4-9]*)
                   16255:     lt_cv_sys_dlopen_deplibs=yes
                   16256:     ;;
                   16257:   amigaos*)
                   16258:     case $host_cpu in
                   16259:     powerpc)
                   16260:       lt_cv_sys_dlopen_deplibs=no
                   16261:       ;;
                   16262:     esac
                   16263:     ;;
                   16264:   darwin*)
                   16265:     # Assuming the user has installed a libdl from somewhere, this is true
                   16266:     # If you are looking for one http://www.opendarwin.org/projects/dlcompat
                   16267:     lt_cv_sys_dlopen_deplibs=yes
                   16268:     ;;
                   16269:   freebsd* | dragonfly*)
                   16270:     lt_cv_sys_dlopen_deplibs=yes
                   16271:     ;;
                   16272:   gnu* | linux* | k*bsd*-gnu | kopensolaris*-gnu)
                   16273:     # GNU and its variants, using gnu ld.so (Glibc)
                   16274:     lt_cv_sys_dlopen_deplibs=yes
                   16275:     ;;
                   16276:   hpux10*|hpux11*)
                   16277:     lt_cv_sys_dlopen_deplibs=yes
                   16278:     ;;
                   16279:   interix*)
                   16280:     lt_cv_sys_dlopen_deplibs=yes
                   16281:     ;;
                   16282:   irix[12345]*|irix6.[01]*)
                   16283:     # Catch all versions of IRIX before 6.2, and indicate that we don't
                   16284:     # know how it worked for any of those versions.
                   16285:     lt_cv_sys_dlopen_deplibs=unknown
                   16286:     ;;
                   16287:   irix*)
                   16288:     # The case above catches anything before 6.2, and it's known that
                   16289:     # at 6.2 and later dlopen does load deplibs.
                   16290:     lt_cv_sys_dlopen_deplibs=yes
                   16291:     ;;
                   16292:   netbsd*)
                   16293:     lt_cv_sys_dlopen_deplibs=yes
                   16294:     ;;
                   16295:   openbsd*)
                   16296:     lt_cv_sys_dlopen_deplibs=yes
                   16297:     ;;
                   16298:   osf[1234]*)
                   16299:     # dlopen did load deplibs (at least at 4.x), but until the 5.x series,
                   16300:     # it did *not* use an RPATH in a shared library to find objects the
                   16301:     # library depends on, so we explicitly say `no'.
                   16302:     lt_cv_sys_dlopen_deplibs=no
                   16303:     ;;
                   16304:   osf5.0|osf5.0a|osf5.1)
                   16305:     # dlopen *does* load deplibs and with the right loader patch applied
                   16306:     # it even uses RPATH in a shared library to search for shared objects
                   16307:     # that the library depends on, but there's no easy way to know if that
                   16308:     # patch is installed.  Since this is the case, all we can really
                   16309:     # say is unknown -- it depends on the patch being installed.  If
                   16310:     # it is, this changes to `yes'.  Without it, it would be `no'.
                   16311:     lt_cv_sys_dlopen_deplibs=unknown
                   16312:     ;;
                   16313:   osf*)
                   16314:     # the two cases above should catch all versions of osf <= 5.1.  Read
                   16315:     # the comments above for what we know about them.
                   16316:     # At > 5.1, deplibs are loaded *and* any RPATH in a shared library
                   16317:     # is used to find them so we can finally say `yes'.
                   16318:     lt_cv_sys_dlopen_deplibs=yes
                   16319:     ;;
                   16320:   qnx*)
                   16321:     lt_cv_sys_dlopen_deplibs=yes
                   16322:     ;;
                   16323:   solaris*)
                   16324:     lt_cv_sys_dlopen_deplibs=yes
                   16325:     ;;
                   16326:   sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
                   16327:     libltdl_cv_sys_dlopen_deplibs=yes
                   16328:     ;;
                   16329:   esac
                   16330: 
                   16331: fi
                   16332: echo "$as_me:$LINENO: result: $lt_cv_sys_dlopen_deplibs" >&5
                   16333: echo "${ECHO_T}$lt_cv_sys_dlopen_deplibs" >&6
                   16334: if test "$lt_cv_sys_dlopen_deplibs" != yes; then
                   16335: 
                   16336: cat >>confdefs.h <<\_ACEOF
                   16337: #define LTDL_DLOPEN_DEPLIBS 1
                   16338: _ACEOF
                   16339: 
                   16340: fi
                   16341: 
                   16342: :
                   16343: 
                   16344: 
                   16345: for ac_header in argz.h
                   16346: do
                   16347: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   16348: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   16349: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   16350: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   16351:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16352: else
                   16353:   cat >conftest.$ac_ext <<_ACEOF
                   16354: /* confdefs.h.  */
                   16355: _ACEOF
                   16356: cat confdefs.h >>conftest.$ac_ext
                   16357: cat >>conftest.$ac_ext <<_ACEOF
                   16358: /* end confdefs.h.  */
                   16359: $ac_includes_default
                   16360: 
                   16361: #include <$ac_header>
                   16362: _ACEOF
                   16363: rm -f conftest.$ac_objext
                   16364: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   16365:   (eval $ac_compile) 2>conftest.er1
                   16366:   ac_status=$?
                   16367:   grep -v '^ *+' conftest.er1 >conftest.err
                   16368:   rm -f conftest.er1
                   16369:   cat conftest.err >&5
                   16370:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16371:   (exit $ac_status); } &&
                   16372:         { ac_try='test -z "$ac_c_werror_flag"
                   16373:                         || test ! -s conftest.err'
                   16374:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16375:   (eval $ac_try) 2>&5
                   16376:   ac_status=$?
                   16377:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16378:   (exit $ac_status); }; } &&
                   16379:         { ac_try='test -s conftest.$ac_objext'
                   16380:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16381:   (eval $ac_try) 2>&5
                   16382:   ac_status=$?
                   16383:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16384:   (exit $ac_status); }; }; then
                   16385:   eval "$as_ac_Header=yes"
                   16386: else
                   16387:   echo "$as_me: failed program was:" >&5
                   16388: sed 's/^/| /' conftest.$ac_ext >&5
                   16389: 
                   16390: eval "$as_ac_Header=no"
                   16391: fi
                   16392: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   16393: fi
                   16394: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   16395: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   16396: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   16397:   cat >>confdefs.h <<_ACEOF
                   16398: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   16399: _ACEOF
                   16400: 
                   16401: fi
                   16402: 
                   16403: done
                   16404: 
                   16405: 
                   16406: echo "$as_me:$LINENO: checking for error_t" >&5
                   16407: echo $ECHO_N "checking for error_t... $ECHO_C" >&6
                   16408: if test "${ac_cv_type_error_t+set}" = set; then
                   16409:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16410: else
                   16411:   cat >conftest.$ac_ext <<_ACEOF
                   16412: /* confdefs.h.  */
                   16413: _ACEOF
                   16414: cat confdefs.h >>conftest.$ac_ext
                   16415: cat >>conftest.$ac_ext <<_ACEOF
                   16416: /* end confdefs.h.  */
                   16417: #if defined(HAVE_ARGZ_H)
                   16418: #  include <argz.h>
                   16419: #endif
                   16420: 
                   16421: int
                   16422: main ()
                   16423: {
                   16424: if ((error_t *) 0)
                   16425:   return 0;
                   16426: if (sizeof (error_t))
                   16427:   return 0;
                   16428:   ;
                   16429:   return 0;
                   16430: }
                   16431: _ACEOF
                   16432: rm -f conftest.$ac_objext
                   16433: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   16434:   (eval $ac_compile) 2>conftest.er1
                   16435:   ac_status=$?
                   16436:   grep -v '^ *+' conftest.er1 >conftest.err
                   16437:   rm -f conftest.er1
                   16438:   cat conftest.err >&5
                   16439:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16440:   (exit $ac_status); } &&
                   16441:         { ac_try='test -z "$ac_c_werror_flag"
                   16442:                         || test ! -s conftest.err'
                   16443:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16444:   (eval $ac_try) 2>&5
                   16445:   ac_status=$?
                   16446:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16447:   (exit $ac_status); }; } &&
                   16448:         { ac_try='test -s conftest.$ac_objext'
                   16449:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16450:   (eval $ac_try) 2>&5
                   16451:   ac_status=$?
                   16452:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16453:   (exit $ac_status); }; }; then
                   16454:   ac_cv_type_error_t=yes
                   16455: else
                   16456:   echo "$as_me: failed program was:" >&5
                   16457: sed 's/^/| /' conftest.$ac_ext >&5
                   16458: 
                   16459: ac_cv_type_error_t=no
                   16460: fi
                   16461: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   16462: fi
                   16463: echo "$as_me:$LINENO: result: $ac_cv_type_error_t" >&5
                   16464: echo "${ECHO_T}$ac_cv_type_error_t" >&6
                   16465: if test $ac_cv_type_error_t = yes; then
                   16466: 
                   16467: cat >>confdefs.h <<_ACEOF
                   16468: #define HAVE_ERROR_T 1
                   16469: _ACEOF
                   16470: 
                   16471: 
                   16472: else
                   16473: 
                   16474: cat >>confdefs.h <<\_ACEOF
                   16475: #define error_t int
                   16476: _ACEOF
                   16477: 
                   16478: 
                   16479: cat >>confdefs.h <<\_ACEOF
                   16480: #define __error_t_defined 1
                   16481: _ACEOF
                   16482: 
                   16483: fi
                   16484: 
                   16485: 
                   16486: ARGZ_H=
                   16487: 
                   16488: 
                   16489: 
                   16490: 
                   16491: 
                   16492: 
                   16493: 
                   16494: for ac_func in argz_add argz_append argz_count argz_create_sep argz_insert \
                   16495:        argz_next argz_stringify
                   16496: do
                   16497: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   16498: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   16499: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   16500: if eval "test \"\${$as_ac_var+set}\" = set"; then
                   16501:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16502: else
                   16503:   cat >conftest.$ac_ext <<_ACEOF
                   16504: /* confdefs.h.  */
                   16505: _ACEOF
                   16506: cat confdefs.h >>conftest.$ac_ext
                   16507: cat >>conftest.$ac_ext <<_ACEOF
                   16508: /* end confdefs.h.  */
                   16509: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   16510:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   16511: #define $ac_func innocuous_$ac_func
                   16512: 
                   16513: /* System header to define __stub macros and hopefully few prototypes,
                   16514:     which can conflict with char $ac_func (); below.
                   16515:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   16516:     <limits.h> exists even on freestanding compilers.  */
                   16517: 
                   16518: #ifdef __STDC__
                   16519: # include <limits.h>
                   16520: #else
                   16521: # include <assert.h>
                   16522: #endif
                   16523: 
                   16524: #undef $ac_func
                   16525: 
                   16526: /* Override any gcc2 internal prototype to avoid an error.  */
                   16527: #ifdef __cplusplus
                   16528: extern "C"
                   16529: {
                   16530: #endif
                   16531: /* We use char because int might match the return type of a gcc2
                   16532:    builtin and then its argument prototype would still apply.  */
                   16533: char $ac_func ();
                   16534: /* The GNU C library defines this for functions which it implements
                   16535:     to always fail with ENOSYS.  Some functions are actually named
                   16536:     something starting with __ and the normal name is an alias.  */
                   16537: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   16538: choke me
                   16539: #else
                   16540: char (*f) () = $ac_func;
                   16541: #endif
                   16542: #ifdef __cplusplus
                   16543: }
                   16544: #endif
                   16545: 
                   16546: int
                   16547: main ()
                   16548: {
                   16549: return f != $ac_func;
                   16550:   ;
                   16551:   return 0;
                   16552: }
                   16553: _ACEOF
                   16554: rm -f conftest.$ac_objext conftest$ac_exeext
                   16555: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16556:   (eval $ac_link) 2>conftest.er1
                   16557:   ac_status=$?
                   16558:   grep -v '^ *+' conftest.er1 >conftest.err
                   16559:   rm -f conftest.er1
                   16560:   cat conftest.err >&5
                   16561:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16562:   (exit $ac_status); } &&
                   16563:         { ac_try='test -z "$ac_c_werror_flag"
                   16564:                         || test ! -s conftest.err'
                   16565:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16566:   (eval $ac_try) 2>&5
                   16567:   ac_status=$?
                   16568:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16569:   (exit $ac_status); }; } &&
                   16570:         { ac_try='test -s conftest$ac_exeext'
                   16571:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16572:   (eval $ac_try) 2>&5
                   16573:   ac_status=$?
                   16574:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16575:   (exit $ac_status); }; }; then
                   16576:   eval "$as_ac_var=yes"
                   16577: else
                   16578:   echo "$as_me: failed program was:" >&5
                   16579: sed 's/^/| /' conftest.$ac_ext >&5
                   16580: 
                   16581: eval "$as_ac_var=no"
                   16582: fi
                   16583: rm -f conftest.err conftest.$ac_objext \
                   16584:       conftest$ac_exeext conftest.$ac_ext
                   16585: fi
                   16586: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   16587: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   16588: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   16589:   cat >>confdefs.h <<_ACEOF
                   16590: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   16591: _ACEOF
                   16592: 
                   16593: else
                   16594:   ARGZ_H=argz.h;
                   16595: 
                   16596:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   16597: 
                   16598: fi
                   16599: done
                   16600: 
                   16601: 
                   16602: if test -z "$ARGZ_H"; then
                   16603:   echo "$as_me:$LINENO: checking if argz actually works" >&5
                   16604: echo $ECHO_N "checking if argz actually works... $ECHO_C" >&6
                   16605: if test "${lt_cv_sys_argz_works+set}" = set; then
                   16606:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16607: else
                   16608:   case $host_os in #(
                   16609:         *cygwin*)
                   16610:           lt_cv_sys_argz_works=no
                   16611:           if test "$cross_compiling" != no; then
                   16612:             lt_cv_sys_argz_works="guessing no"
                   16613:           else
                   16614:             lt_sed_extract_leading_digits='s/^\([0-9\.]*\).*/\1/'
                   16615:             save_IFS=$IFS
                   16616:             IFS=-.
                   16617:             set x `uname -r | sed -e "$lt_sed_extract_leading_digits"`
                   16618:             IFS=$save_IFS
                   16619:             lt_os_major=${2-0}
                   16620:             lt_os_minor=${3-0}
                   16621:             lt_os_micro=${4-0}
                   16622:             if test "$lt_os_major" -gt 1 \
                   16623:                || { test "$lt_os_major" -eq 1 \
                   16624:                  && { test "$lt_os_minor" -gt 5 \
                   16625:                    || { test "$lt_os_minor" -eq 5 \
                   16626:                      && test "$lt_os_micro" -gt 24; }; }; }; then
                   16627:               lt_cv_sys_argz_works=yes
                   16628:             fi
                   16629:           fi
                   16630:           ;; #(
                   16631:         *) lt_cv_sys_argz_works=yes ;;
                   16632:         esac
                   16633: fi
                   16634: echo "$as_me:$LINENO: result: $lt_cv_sys_argz_works" >&5
                   16635: echo "${ECHO_T}$lt_cv_sys_argz_works" >&6
                   16636:      if test "$lt_cv_sys_argz_works" = yes; then
                   16637: 
                   16638: cat >>confdefs.h <<\_ACEOF
                   16639: #define HAVE_WORKING_ARGZ 1
                   16640: _ACEOF
                   16641: 
                   16642: else
                   16643:   ARGZ_H=argz.h
                   16644: 
                   16645: 
                   16646:   _LT_LIBOBJS="$_LT_LIBOBJS argz.$ac_objext"
                   16647: 
                   16648: fi
                   16649: 
                   16650: fi
                   16651: 
                   16652: 
                   16653: 
                   16654: 
                   16655: echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
                   16656: echo $ECHO_N "checking whether libtool supports -dlopen/-dlpreopen... $ECHO_C" >&6
                   16657: if test "${libltdl_cv_preloaded_symbols+set}" = set; then
                   16658:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16659: else
                   16660:   if test -n "$lt_cv_sys_global_symbol_pipe"; then
                   16661:     libltdl_cv_preloaded_symbols=yes
                   16662:   else
                   16663:     libltdl_cv_preloaded_symbols=no
                   16664:   fi
                   16665: 
                   16666: fi
                   16667: echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
                   16668: echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6
                   16669: if test x"$libltdl_cv_preloaded_symbols" = xyes; then
                   16670: 
                   16671: cat >>confdefs.h <<\_ACEOF
                   16672: #define HAVE_PRELOADED_SYMBOLS 1
                   16673: _ACEOF
                   16674: 
                   16675: fi
                   16676: 
                   16677: # Set options
                   16678: 
                   16679: 
                   16680: 
                   16681: 
                   16682: 
                   16683: 
                   16684: 
                   16685: 
                   16686: 
                   16687: 
                   16688: 
                   16689: 
                   16690: # Check whether --with-included_ltdl or --without-included_ltdl was given.
                   16691: if test "${with_included_ltdl+set}" = set; then
                   16692:   withval="$with_included_ltdl"
                   16693: 
                   16694: fi;
                   16695: 
                   16696: if test "x$with_included_ltdl" != xyes; then
                   16697:   # We are not being forced to use the included libltdl sources, so
                   16698:   # decide whether there is a useful installed version we can use.
                   16699:   echo "$as_me:$LINENO: checking for ltdl.h" >&5
                   16700: echo $ECHO_N "checking for ltdl.h... $ECHO_C" >&6
                   16701: if test "${ac_cv_header_ltdl_h+set}" = set; then
                   16702:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16703: else
                   16704:   cat >conftest.$ac_ext <<_ACEOF
                   16705: /* confdefs.h.  */
                   16706: _ACEOF
                   16707: cat confdefs.h >>conftest.$ac_ext
                   16708: cat >>conftest.$ac_ext <<_ACEOF
                   16709: /* end confdefs.h.  */
                   16710: $ac_includes_default
                   16711: 
                   16712: 
                   16713: #include <ltdl.h>
                   16714: _ACEOF
                   16715: rm -f conftest.$ac_objext
                   16716: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   16717:   (eval $ac_compile) 2>conftest.er1
                   16718:   ac_status=$?
                   16719:   grep -v '^ *+' conftest.er1 >conftest.err
                   16720:   rm -f conftest.er1
                   16721:   cat conftest.err >&5
                   16722:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16723:   (exit $ac_status); } &&
                   16724:         { ac_try='test -z "$ac_c_werror_flag"
                   16725:                         || test ! -s conftest.err'
                   16726:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16727:   (eval $ac_try) 2>&5
                   16728:   ac_status=$?
                   16729:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16730:   (exit $ac_status); }; } &&
                   16731:         { ac_try='test -s conftest.$ac_objext'
                   16732:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16733:   (eval $ac_try) 2>&5
                   16734:   ac_status=$?
                   16735:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16736:   (exit $ac_status); }; }; then
                   16737:   ac_cv_header_ltdl_h=yes
                   16738: else
                   16739:   echo "$as_me: failed program was:" >&5
                   16740: sed 's/^/| /' conftest.$ac_ext >&5
                   16741: 
                   16742: ac_cv_header_ltdl_h=no
                   16743: fi
                   16744: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   16745: fi
                   16746: echo "$as_me:$LINENO: result: $ac_cv_header_ltdl_h" >&5
                   16747: echo "${ECHO_T}$ac_cv_header_ltdl_h" >&6
                   16748: if test $ac_cv_header_ltdl_h = yes; then
                   16749:   echo "$as_me:$LINENO: checking whether lt_dlinterface_register is declared" >&5
                   16750: echo $ECHO_N "checking whether lt_dlinterface_register is declared... $ECHO_C" >&6
                   16751: if test "${ac_cv_have_decl_lt_dlinterface_register+set}" = set; then
                   16752:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16753: else
                   16754:   cat >conftest.$ac_ext <<_ACEOF
                   16755: /* confdefs.h.  */
                   16756: _ACEOF
                   16757: cat confdefs.h >>conftest.$ac_ext
                   16758: cat >>conftest.$ac_ext <<_ACEOF
                   16759: /* end confdefs.h.  */
                   16760: $ac_includes_default
                   16761:            #include <ltdl.h>
                   16762: 
                   16763: int
                   16764: main ()
                   16765: {
                   16766: #ifndef lt_dlinterface_register
                   16767:   char *p = (char *) lt_dlinterface_register;
                   16768: #endif
                   16769: 
                   16770:   ;
                   16771:   return 0;
                   16772: }
                   16773: _ACEOF
                   16774: rm -f conftest.$ac_objext
                   16775: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   16776:   (eval $ac_compile) 2>conftest.er1
                   16777:   ac_status=$?
                   16778:   grep -v '^ *+' conftest.er1 >conftest.err
                   16779:   rm -f conftest.er1
                   16780:   cat conftest.err >&5
                   16781:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16782:   (exit $ac_status); } &&
                   16783:         { ac_try='test -z "$ac_c_werror_flag"
                   16784:                         || test ! -s conftest.err'
                   16785:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16786:   (eval $ac_try) 2>&5
                   16787:   ac_status=$?
                   16788:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16789:   (exit $ac_status); }; } &&
                   16790:         { ac_try='test -s conftest.$ac_objext'
                   16791:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16792:   (eval $ac_try) 2>&5
                   16793:   ac_status=$?
                   16794:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16795:   (exit $ac_status); }; }; then
                   16796:   ac_cv_have_decl_lt_dlinterface_register=yes
                   16797: else
                   16798:   echo "$as_me: failed program was:" >&5
                   16799: sed 's/^/| /' conftest.$ac_ext >&5
                   16800: 
                   16801: ac_cv_have_decl_lt_dlinterface_register=no
                   16802: fi
                   16803: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   16804: fi
                   16805: echo "$as_me:$LINENO: result: $ac_cv_have_decl_lt_dlinterface_register" >&5
                   16806: echo "${ECHO_T}$ac_cv_have_decl_lt_dlinterface_register" >&6
                   16807: if test $ac_cv_have_decl_lt_dlinterface_register = yes; then
                   16808:   echo "$as_me:$LINENO: checking for lt_dladvise_preload in -lltdl" >&5
                   16809: echo $ECHO_N "checking for lt_dladvise_preload in -lltdl... $ECHO_C" >&6
                   16810: if test "${ac_cv_lib_ltdl_lt_dladvise_preload+set}" = set; then
                   16811:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   16812: else
                   16813:   ac_check_lib_save_LIBS=$LIBS
                   16814: LIBS="-lltdl  $LIBS"
                   16815: cat >conftest.$ac_ext <<_ACEOF
                   16816: /* confdefs.h.  */
                   16817: _ACEOF
                   16818: cat confdefs.h >>conftest.$ac_ext
                   16819: cat >>conftest.$ac_ext <<_ACEOF
                   16820: /* end confdefs.h.  */
                   16821: 
                   16822: /* Override any gcc2 internal prototype to avoid an error.  */
                   16823: #ifdef __cplusplus
                   16824: extern "C"
                   16825: #endif
                   16826: /* We use char because int might match the return type of a gcc2
                   16827:    builtin and then its argument prototype would still apply.  */
                   16828: char lt_dladvise_preload ();
                   16829: int
                   16830: main ()
                   16831: {
                   16832: lt_dladvise_preload ();
                   16833:   ;
                   16834:   return 0;
                   16835: }
                   16836: _ACEOF
                   16837: rm -f conftest.$ac_objext conftest$ac_exeext
                   16838: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   16839:   (eval $ac_link) 2>conftest.er1
                   16840:   ac_status=$?
                   16841:   grep -v '^ *+' conftest.er1 >conftest.err
                   16842:   rm -f conftest.er1
                   16843:   cat conftest.err >&5
                   16844:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16845:   (exit $ac_status); } &&
                   16846:         { ac_try='test -z "$ac_c_werror_flag"
                   16847:                         || test ! -s conftest.err'
                   16848:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16849:   (eval $ac_try) 2>&5
                   16850:   ac_status=$?
                   16851:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16852:   (exit $ac_status); }; } &&
                   16853:         { ac_try='test -s conftest$ac_exeext'
                   16854:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   16855:   (eval $ac_try) 2>&5
                   16856:   ac_status=$?
                   16857:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   16858:   (exit $ac_status); }; }; then
                   16859:   ac_cv_lib_ltdl_lt_dladvise_preload=yes
                   16860: else
                   16861:   echo "$as_me: failed program was:" >&5
                   16862: sed 's/^/| /' conftest.$ac_ext >&5
                   16863: 
                   16864: ac_cv_lib_ltdl_lt_dladvise_preload=no
                   16865: fi
                   16866: rm -f conftest.err conftest.$ac_objext \
                   16867:       conftest$ac_exeext conftest.$ac_ext
                   16868: LIBS=$ac_check_lib_save_LIBS
                   16869: fi
                   16870: echo "$as_me:$LINENO: result: $ac_cv_lib_ltdl_lt_dladvise_preload" >&5
                   16871: echo "${ECHO_T}$ac_cv_lib_ltdl_lt_dladvise_preload" >&6
                   16872: if test $ac_cv_lib_ltdl_lt_dladvise_preload = yes; then
                   16873:   with_included_ltdl=no
                   16874: else
                   16875:   with_included_ltdl=yes
                   16876: fi
                   16877: 
                   16878: else
                   16879:   with_included_ltdl=yes
                   16880: fi
                   16881: 
                   16882: else
                   16883:   with_included_ltdl=yes
                   16884: fi
                   16885: 
                   16886: 
                   16887: fi
                   16888: 
                   16889: 
                   16890: 
                   16891: 
                   16892: # Check whether --with-ltdl_include or --without-ltdl_include was given.
                   16893: if test "${with_ltdl_include+set}" = set; then
                   16894:   withval="$with_ltdl_include"
                   16895: 
                   16896: fi;
                   16897: 
                   16898: if test -n "$with_ltdl_include"; then
                   16899:   if test -f "$with_ltdl_include/ltdl.h"; then :
                   16900:   else
                   16901:     { { echo "$as_me:$LINENO: error: invalid ltdl include directory: \`$with_ltdl_include'" >&5
                   16902: echo "$as_me: error: invalid ltdl include directory: \`$with_ltdl_include'" >&2;}
                   16903:    { (exit 1); exit 1; }; }
                   16904:   fi
                   16905: else
                   16906:   with_ltdl_include=no
                   16907: fi
                   16908: 
                   16909: 
                   16910: # Check whether --with-ltdl_lib or --without-ltdl_lib was given.
                   16911: if test "${with_ltdl_lib+set}" = set; then
                   16912:   withval="$with_ltdl_lib"
                   16913: 
                   16914: fi;
                   16915: 
                   16916: if test -n "$with_ltdl_lib"; then
                   16917:   if test -f "$with_ltdl_lib/libltdl.la"; then :
                   16918:   else
                   16919:     { { echo "$as_me:$LINENO: error: invalid ltdl library directory: \`$with_ltdl_lib'" >&5
                   16920: echo "$as_me: error: invalid ltdl library directory: \`$with_ltdl_lib'" >&2;}
                   16921:    { (exit 1); exit 1; }; }
                   16922:   fi
                   16923: else
                   16924:   with_ltdl_lib=no
                   16925: fi
                   16926: 
                   16927: case ,$with_included_ltdl,$with_ltdl_include,$with_ltdl_lib, in
                   16928:   ,yes,no,no,)
                   16929:        case $enable_ltdl_convenience in
                   16930:   no) { { echo "$as_me:$LINENO: error: this package needs a convenience libltdl" >&5
                   16931: echo "$as_me: error: this package needs a convenience libltdl" >&2;}
                   16932:    { (exit 1); exit 1; }; } ;;
                   16933:   "") enable_ltdl_convenience=yes
                   16934:       ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
                   16935: esac
                   16936: LIBLTDL='${top_builddir}/'"${lt_ltdl_dir+$lt_ltdl_dir/}libltdlc.la"
                   16937: LTDLDEPS=$LIBLTDL
                   16938: LTDLINCL='-I${top_srcdir}'"${lt_ltdl_dir+/$lt_ltdl_dir}"
                   16939: 
                   16940: 
                   16941: 
                   16942: 
                   16943: 
                   16944: # For backwards non-gettext consistent compatibility...
                   16945: INCLTDL="$LTDLINCL"
                   16946: 
                   16947: 
                   16948:        ;;
                   16949:   ,no,no,no,)
                   16950:        # If the included ltdl is not to be used, then use the
                   16951:        # preinstalled libltdl we found.
                   16952: 
                   16953: cat >>confdefs.h <<\_ACEOF
                   16954: #define HAVE_LTDL 1
                   16955: _ACEOF
                   16956: 
                   16957:        LIBLTDL=-lltdl
                   16958:        LTDLDEPS=
                   16959:        LTDLINCL=
                   16960:        ;;
                   16961:   ,no*,no,*)
                   16962:        { { echo "$as_me:$LINENO: error: \`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" >&5
                   16963: echo "$as_me: error: \`--with-ltdl-include' and \`--with-ltdl-lib' options must be used together" >&2;}
                   16964:    { (exit 1); exit 1; }; }
                   16965:        ;;
                   16966:   *)   with_included_ltdl=no
                   16967:        LIBLTDL="-L$with_ltdl_lib -lltdl"
                   16968:        LTDLDEPS=
                   16969:        LTDLINCL="-I$with_ltdl_include"
                   16970:        ;;
                   16971: esac
                   16972: INCLTDL="$LTDLINCL"
                   16973: 
                   16974: # Report our decision...
                   16975: echo "$as_me:$LINENO: checking where to find libltdl headers" >&5
                   16976: echo $ECHO_N "checking where to find libltdl headers... $ECHO_C" >&6
                   16977: echo "$as_me:$LINENO: result: $LTDLINCL" >&5
                   16978: echo "${ECHO_T}$LTDLINCL" >&6
                   16979: echo "$as_me:$LINENO: checking where to find libltdl library" >&5
                   16980: echo $ECHO_N "checking where to find libltdl library... $ECHO_C" >&6
                   16981: echo "$as_me:$LINENO: result: $LIBLTDL" >&5
                   16982: echo "${ECHO_T}$LIBLTDL" >&6
                   16983: 
                   16984: 
                   16985: 
                   16986: # Check whether --enable-ltdl-install or --disable-ltdl-install was given.
                   16987: if test "${enable_ltdl_install+set}" = set; then
                   16988:   enableval="$enable_ltdl_install"
                   16989: 
                   16990: fi;
                   16991: 
                   16992: case ,${enable_ltdl_install},${enable_ltdl_convenience} in
                   16993:   *yes*) ;;
                   16994:   *) enable_ltdl_convenience=yes ;;
                   16995: esac
                   16996: 
                   16997: 
                   16998: 
                   16999: if test x"${enable_ltdl_install-no}" != xno; then
                   17000:   INSTALL_LTDL_TRUE=
                   17001:   INSTALL_LTDL_FALSE='#'
                   17002: else
                   17003:   INSTALL_LTDL_TRUE='#'
                   17004:   INSTALL_LTDL_FALSE=
                   17005: fi
                   17006: 
                   17007: 
                   17008: 
                   17009: if test x"${enable_ltdl_convenience-no}" != xno; then
                   17010:   CONVENIENCE_LTDL_TRUE=
                   17011:   CONVENIENCE_LTDL_FALSE='#'
                   17012: else
                   17013:   CONVENIENCE_LTDL_TRUE='#'
                   17014:   CONVENIENCE_LTDL_FALSE=
                   17015: fi
                   17016: 
                   17017: 
                   17018: 
                   17019: 
                   17020: 
                   17021: subdirs="$subdirs libltdl"
                   17022: 
                   17023: 
                   17024: 
                   17025: 
                   17026: # In order that ltdl.c can compile, find out the first AC_CONFIG_HEADERS
                   17027: # the user used.  This is so that ltdl.h can pick up the parent projects
                   17028: # config.h file, The first file in AC_CONFIG_HEADERS must contain the
                   17029: # definitions required by ltdl.c.
                   17030: # FIXME: Remove use of undocumented AC_LIST_HEADERS (2.59 compatibility).
                   17031: 
                   17032: 
                   17033: 
                   17034: 
                   17035: 
                   17036: 
                   17037: 
                   17038: 
                   17039: 
                   17040: for ac_header in unistd.h dl.h sys/dl.h dld.h mach-o/dyld.h dirent.h
                   17041: do
                   17042: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   17043: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   17044: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   17045: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   17046:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17047: else
                   17048:   cat >conftest.$ac_ext <<_ACEOF
                   17049: /* confdefs.h.  */
                   17050: _ACEOF
                   17051: cat confdefs.h >>conftest.$ac_ext
                   17052: cat >>conftest.$ac_ext <<_ACEOF
                   17053: /* end confdefs.h.  */
                   17054: $ac_includes_default
                   17055: 
                   17056: #include <$ac_header>
                   17057: _ACEOF
                   17058: rm -f conftest.$ac_objext
                   17059: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   17060:   (eval $ac_compile) 2>conftest.er1
                   17061:   ac_status=$?
                   17062:   grep -v '^ *+' conftest.er1 >conftest.err
                   17063:   rm -f conftest.er1
                   17064:   cat conftest.err >&5
                   17065:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17066:   (exit $ac_status); } &&
                   17067:         { ac_try='test -z "$ac_c_werror_flag"
                   17068:                         || test ! -s conftest.err'
                   17069:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17070:   (eval $ac_try) 2>&5
                   17071:   ac_status=$?
                   17072:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17073:   (exit $ac_status); }; } &&
                   17074:         { ac_try='test -s conftest.$ac_objext'
                   17075:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17076:   (eval $ac_try) 2>&5
                   17077:   ac_status=$?
                   17078:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17079:   (exit $ac_status); }; }; then
                   17080:   eval "$as_ac_Header=yes"
                   17081: else
                   17082:   echo "$as_me: failed program was:" >&5
                   17083: sed 's/^/| /' conftest.$ac_ext >&5
                   17084: 
                   17085: eval "$as_ac_Header=no"
                   17086: fi
                   17087: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   17088: fi
                   17089: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   17090: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   17091: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   17092:   cat >>confdefs.h <<_ACEOF
                   17093: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   17094: _ACEOF
                   17095: 
                   17096: fi
                   17097: 
                   17098: done
                   17099: 
                   17100: 
                   17101: 
                   17102: 
                   17103: 
                   17104: for ac_func in closedir opendir readdir
                   17105: do
                   17106: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17107: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   17108: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   17109: if eval "test \"\${$as_ac_var+set}\" = set"; then
                   17110:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17111: else
                   17112:   cat >conftest.$ac_ext <<_ACEOF
                   17113: /* confdefs.h.  */
                   17114: _ACEOF
                   17115: cat confdefs.h >>conftest.$ac_ext
                   17116: cat >>conftest.$ac_ext <<_ACEOF
                   17117: /* end confdefs.h.  */
                   17118: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   17119:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   17120: #define $ac_func innocuous_$ac_func
                   17121: 
                   17122: /* System header to define __stub macros and hopefully few prototypes,
                   17123:     which can conflict with char $ac_func (); below.
                   17124:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   17125:     <limits.h> exists even on freestanding compilers.  */
                   17126: 
                   17127: #ifdef __STDC__
                   17128: # include <limits.h>
                   17129: #else
                   17130: # include <assert.h>
                   17131: #endif
                   17132: 
                   17133: #undef $ac_func
                   17134: 
                   17135: /* Override any gcc2 internal prototype to avoid an error.  */
                   17136: #ifdef __cplusplus
                   17137: extern "C"
                   17138: {
                   17139: #endif
                   17140: /* We use char because int might match the return type of a gcc2
                   17141:    builtin and then its argument prototype would still apply.  */
                   17142: char $ac_func ();
                   17143: /* The GNU C library defines this for functions which it implements
                   17144:     to always fail with ENOSYS.  Some functions are actually named
                   17145:     something starting with __ and the normal name is an alias.  */
                   17146: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   17147: choke me
                   17148: #else
                   17149: char (*f) () = $ac_func;
                   17150: #endif
                   17151: #ifdef __cplusplus
                   17152: }
                   17153: #endif
                   17154: 
                   17155: int
                   17156: main ()
                   17157: {
                   17158: return f != $ac_func;
                   17159:   ;
                   17160:   return 0;
                   17161: }
                   17162: _ACEOF
                   17163: rm -f conftest.$ac_objext conftest$ac_exeext
                   17164: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   17165:   (eval $ac_link) 2>conftest.er1
                   17166:   ac_status=$?
                   17167:   grep -v '^ *+' conftest.er1 >conftest.err
                   17168:   rm -f conftest.er1
                   17169:   cat conftest.err >&5
                   17170:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17171:   (exit $ac_status); } &&
                   17172:         { ac_try='test -z "$ac_c_werror_flag"
                   17173:                         || test ! -s conftest.err'
                   17174:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17175:   (eval $ac_try) 2>&5
                   17176:   ac_status=$?
                   17177:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17178:   (exit $ac_status); }; } &&
                   17179:         { ac_try='test -s conftest$ac_exeext'
                   17180:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17181:   (eval $ac_try) 2>&5
                   17182:   ac_status=$?
                   17183:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17184:   (exit $ac_status); }; }; then
                   17185:   eval "$as_ac_var=yes"
                   17186: else
                   17187:   echo "$as_me: failed program was:" >&5
                   17188: sed 's/^/| /' conftest.$ac_ext >&5
                   17189: 
                   17190: eval "$as_ac_var=no"
                   17191: fi
                   17192: rm -f conftest.err conftest.$ac_objext \
                   17193:       conftest$ac_exeext conftest.$ac_ext
                   17194: fi
                   17195: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   17196: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   17197: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   17198:   cat >>confdefs.h <<_ACEOF
                   17199: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   17200: _ACEOF
                   17201: 
                   17202: else
                   17203: 
                   17204: 
                   17205:   _LT_LIBOBJS="$_LT_LIBOBJS lt__dirent.$ac_objext"
                   17206: 
                   17207: fi
                   17208: done
                   17209: 
                   17210: 
                   17211: 
                   17212: for ac_func in strlcat strlcpy
                   17213: do
                   17214: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
                   17215: echo "$as_me:$LINENO: checking for $ac_func" >&5
                   17216: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
                   17217: if eval "test \"\${$as_ac_var+set}\" = set"; then
                   17218:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17219: else
                   17220:   cat >conftest.$ac_ext <<_ACEOF
                   17221: /* confdefs.h.  */
                   17222: _ACEOF
                   17223: cat confdefs.h >>conftest.$ac_ext
                   17224: cat >>conftest.$ac_ext <<_ACEOF
                   17225: /* end confdefs.h.  */
                   17226: /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
                   17227:    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
                   17228: #define $ac_func innocuous_$ac_func
                   17229: 
                   17230: /* System header to define __stub macros and hopefully few prototypes,
                   17231:     which can conflict with char $ac_func (); below.
                   17232:     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
                   17233:     <limits.h> exists even on freestanding compilers.  */
                   17234: 
                   17235: #ifdef __STDC__
                   17236: # include <limits.h>
                   17237: #else
                   17238: # include <assert.h>
                   17239: #endif
                   17240: 
                   17241: #undef $ac_func
                   17242: 
                   17243: /* Override any gcc2 internal prototype to avoid an error.  */
                   17244: #ifdef __cplusplus
                   17245: extern "C"
                   17246: {
                   17247: #endif
                   17248: /* We use char because int might match the return type of a gcc2
                   17249:    builtin and then its argument prototype would still apply.  */
                   17250: char $ac_func ();
                   17251: /* The GNU C library defines this for functions which it implements
                   17252:     to always fail with ENOSYS.  Some functions are actually named
                   17253:     something starting with __ and the normal name is an alias.  */
                   17254: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
                   17255: choke me
                   17256: #else
                   17257: char (*f) () = $ac_func;
                   17258: #endif
                   17259: #ifdef __cplusplus
                   17260: }
                   17261: #endif
                   17262: 
                   17263: int
                   17264: main ()
                   17265: {
                   17266: return f != $ac_func;
                   17267:   ;
                   17268:   return 0;
                   17269: }
                   17270: _ACEOF
                   17271: rm -f conftest.$ac_objext conftest$ac_exeext
                   17272: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   17273:   (eval $ac_link) 2>conftest.er1
                   17274:   ac_status=$?
                   17275:   grep -v '^ *+' conftest.er1 >conftest.err
                   17276:   rm -f conftest.er1
                   17277:   cat conftest.err >&5
                   17278:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17279:   (exit $ac_status); } &&
                   17280:         { ac_try='test -z "$ac_c_werror_flag"
                   17281:                         || test ! -s conftest.err'
                   17282:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17283:   (eval $ac_try) 2>&5
                   17284:   ac_status=$?
                   17285:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17286:   (exit $ac_status); }; } &&
                   17287:         { ac_try='test -s conftest$ac_exeext'
                   17288:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17289:   (eval $ac_try) 2>&5
                   17290:   ac_status=$?
                   17291:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17292:   (exit $ac_status); }; }; then
                   17293:   eval "$as_ac_var=yes"
                   17294: else
                   17295:   echo "$as_me: failed program was:" >&5
                   17296: sed 's/^/| /' conftest.$ac_ext >&5
                   17297: 
                   17298: eval "$as_ac_var=no"
                   17299: fi
                   17300: rm -f conftest.err conftest.$ac_objext \
                   17301:       conftest$ac_exeext conftest.$ac_ext
                   17302: fi
                   17303: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
                   17304: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
                   17305: if test `eval echo '${'$as_ac_var'}'` = yes; then
                   17306:   cat >>confdefs.h <<_ACEOF
                   17307: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
                   17308: _ACEOF
                   17309: 
                   17310: else
                   17311: 
                   17312: 
                   17313:   _LT_LIBOBJS="$_LT_LIBOBJS lt__strl.$ac_objext"
                   17314: 
                   17315: fi
                   17316: done
                   17317: 
                   17318: 
                   17319: 
                   17320: cat >>confdefs.h <<_ACEOF
                   17321: #define LT_LIBEXT "$libext"
                   17322: _ACEOF
                   17323: 
                   17324: 
                   17325: name=
                   17326: eval "lt_libprefix=\"$libname_spec\""
                   17327: 
                   17328: cat >>confdefs.h <<_ACEOF
                   17329: #define LT_LIBPREFIX "$lt_libprefix"
                   17330: _ACEOF
                   17331: 
                   17332: 
                   17333: name=ltdl
                   17334: eval "LTDLOPEN=\"$libname_spec\""
                   17335: 
                   17336: 
                   17337: 
                   17338: 
                   17339: 
                   17340: 
                   17341: 
                   17342: 
                   17343: # Only expand once:
                   17344: 
                   17345: 
                   17346: 
                   17347: 
                   17348: 
                   17349: 
                   17350: 
                   17351: 
                   17352: 
                   17353: 
                   17354: for ac_header in stdio.h \
                   17355: stdlib.h \
                   17356: string.h \
                   17357: setjmp.h \
                   17358: ctype.h \
                   17359: setjmp.h
                   17360: 
                   17361: do
                   17362: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
                   17363: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   17364:   echo "$as_me:$LINENO: checking for $ac_header" >&5
                   17365: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   17366: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   17367:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17368: fi
                   17369: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   17370: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   17371: else
                   17372:   # Is the header compilable?
                   17373: echo "$as_me:$LINENO: checking $ac_header usability" >&5
                   17374: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
                   17375: cat >conftest.$ac_ext <<_ACEOF
                   17376: /* confdefs.h.  */
                   17377: _ACEOF
                   17378: cat confdefs.h >>conftest.$ac_ext
                   17379: cat >>conftest.$ac_ext <<_ACEOF
                   17380: /* end confdefs.h.  */
                   17381: $ac_includes_default
                   17382: #include <$ac_header>
                   17383: _ACEOF
                   17384: rm -f conftest.$ac_objext
                   17385: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   17386:   (eval $ac_compile) 2>conftest.er1
                   17387:   ac_status=$?
                   17388:   grep -v '^ *+' conftest.er1 >conftest.err
                   17389:   rm -f conftest.er1
                   17390:   cat conftest.err >&5
                   17391:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17392:   (exit $ac_status); } &&
                   17393:         { ac_try='test -z "$ac_c_werror_flag"
                   17394:                         || test ! -s conftest.err'
                   17395:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17396:   (eval $ac_try) 2>&5
                   17397:   ac_status=$?
                   17398:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17399:   (exit $ac_status); }; } &&
                   17400:         { ac_try='test -s conftest.$ac_objext'
                   17401:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17402:   (eval $ac_try) 2>&5
                   17403:   ac_status=$?
                   17404:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17405:   (exit $ac_status); }; }; then
                   17406:   ac_header_compiler=yes
                   17407: else
                   17408:   echo "$as_me: failed program was:" >&5
                   17409: sed 's/^/| /' conftest.$ac_ext >&5
                   17410: 
                   17411: ac_header_compiler=no
                   17412: fi
                   17413: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   17414: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
                   17415: echo "${ECHO_T}$ac_header_compiler" >&6
                   17416: 
                   17417: # Is the header present?
                   17418: echo "$as_me:$LINENO: checking $ac_header presence" >&5
                   17419: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
                   17420: cat >conftest.$ac_ext <<_ACEOF
                   17421: /* confdefs.h.  */
                   17422: _ACEOF
                   17423: cat confdefs.h >>conftest.$ac_ext
                   17424: cat >>conftest.$ac_ext <<_ACEOF
                   17425: /* end confdefs.h.  */
                   17426: #include <$ac_header>
                   17427: _ACEOF
                   17428: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
                   17429:   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
                   17430:   ac_status=$?
                   17431:   grep -v '^ *+' conftest.er1 >conftest.err
                   17432:   rm -f conftest.er1
                   17433:   cat conftest.err >&5
                   17434:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17435:   (exit $ac_status); } >/dev/null; then
                   17436:   if test -s conftest.err; then
                   17437:     ac_cpp_err=$ac_c_preproc_warn_flag
                   17438:     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
                   17439:   else
                   17440:     ac_cpp_err=
                   17441:   fi
                   17442: else
                   17443:   ac_cpp_err=yes
                   17444: fi
                   17445: if test -z "$ac_cpp_err"; then
                   17446:   ac_header_preproc=yes
                   17447: else
                   17448:   echo "$as_me: failed program was:" >&5
                   17449: sed 's/^/| /' conftest.$ac_ext >&5
                   17450: 
                   17451:   ac_header_preproc=no
                   17452: fi
                   17453: rm -f conftest.err conftest.$ac_ext
                   17454: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
                   17455: echo "${ECHO_T}$ac_header_preproc" >&6
                   17456: 
                   17457: # So?  What about this header?
                   17458: case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
                   17459:   yes:no: )
                   17460:     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
                   17461: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
                   17462:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
                   17463: echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
                   17464:     ac_header_preproc=yes
                   17465:     ;;
                   17466:   no:yes:* )
                   17467:     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
                   17468: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
                   17469:     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
                   17470: echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
                   17471:     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
                   17472: echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
                   17473:     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
                   17474: echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
                   17475:     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
                   17476: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
                   17477:     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
                   17478: echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
                   17479:     (
                   17480:       cat <<\_ASBOX
                   17481: ## ---------------------------------- ##
                   17482: ## Report this to the parser3 lists.  ##
                   17483: ## ---------------------------------- ##
                   17484: _ASBOX
                   17485:     ) |
                   17486:       sed "s/^/$as_me: WARNING:     /" >&2
                   17487:     ;;
                   17488: esac
                   17489: echo "$as_me:$LINENO: checking for $ac_header" >&5
                   17490: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
                   17491: if eval "test \"\${$as_ac_Header+set}\" = set"; then
                   17492:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17493: else
                   17494:   eval "$as_ac_Header=\$ac_header_preproc"
                   17495: fi
                   17496: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
                   17497: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
                   17498: 
                   17499: fi
                   17500: if test `eval echo '${'$as_ac_Header'}'` = yes; then
                   17501:   cat >>confdefs.h <<_ACEOF
                   17502: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
                   17503: _ACEOF
                   17504: 
                   17505: fi
                   17506: 
                   17507: done
                   17508: 
                   17509: 
                   17510: echo "$as_me:$LINENO: checking for BSD setenv/getenv/unsetenv" >&5
                   17511: echo $ECHO_N "checking for BSD setenv/getenv/unsetenv... $ECHO_C" >&6
                   17512: cat >conftest.$ac_ext <<_ACEOF
                   17513: /* confdefs.h.  */
                   17514: _ACEOF
                   17515: cat confdefs.h >>conftest.$ac_ext
                   17516: cat >>conftest.$ac_ext <<_ACEOF
                   17517: /* end confdefs.h.  */
                   17518: #ifdef HAVE_STDLIB_H
                   17519: #      include <stdlib.h>
                   17520: #endif
                   17521: #ifdef HAVE_STRING_H
                   17522: #      include <string.h>
                   17523: #endif
                   17524: 
                   17525: int
                   17526: main ()
                   17527: {
                   17528: #define TEST_NAME "oracle-configure-test-var"
                   17529: #define TEST_VALUE "oracle-configure-test-value"
                   17530: int result=setenv(TEST_NAME, TEST_VALUE, 1/*overwrite*/);
                   17531: char *getenv_value=getenv(TEST_NAME);
                   17532: if(!getenv_value)
                   17533:        return 1;
                   17534: if(strcmp(getenv_value, TEST_VALUE)!=0)
                   17535:        return 2;
                   17536: unsetenv(TEST_NAME);
                   17537: 
                   17538:   ;
                   17539:   return 0;
                   17540: }
                   17541: _ACEOF
                   17542: rm -f conftest.$ac_objext conftest$ac_exeext
                   17543: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   17544:   (eval $ac_link) 2>conftest.er1
                   17545:   ac_status=$?
                   17546:   grep -v '^ *+' conftest.er1 >conftest.err
                   17547:   rm -f conftest.er1
                   17548:   cat conftest.err >&5
                   17549:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17550:   (exit $ac_status); } &&
                   17551:         { ac_try='test -z "$ac_c_werror_flag"
                   17552:                         || test ! -s conftest.err'
                   17553:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17554:   (eval $ac_try) 2>&5
                   17555:   ac_status=$?
                   17556:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17557:   (exit $ac_status); }; } &&
                   17558:         { ac_try='test -s conftest$ac_exeext'
                   17559:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17560:   (eval $ac_try) 2>&5
                   17561:   ac_status=$?
                   17562:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17563:   (exit $ac_status); }; }; then
                   17564: 
                   17565:        echo "$as_me:$LINENO: result: yes" >&5
                   17566: echo "${ECHO_T}yes" >&6
                   17567: 
                   17568: cat >>confdefs.h <<\_ACEOF
                   17569: #define HAVE_SETENV
                   17570: _ACEOF
                   17571: 
                   17572: 
                   17573: else
                   17574:   echo "$as_me: failed program was:" >&5
                   17575: sed 's/^/| /' conftest.$ac_ext >&5
                   17576: 
                   17577: echo "$as_me:$LINENO: result: no" >&5
                   17578: echo "${ECHO_T}no" >&6
                   17579: 
                   17580:        echo "$as_me:$LINENO: checking for POSIX putenv/getenv" >&5
                   17581: echo $ECHO_N "checking for POSIX putenv/getenv... $ECHO_C" >&6
                   17582:        cat >conftest.$ac_ext <<_ACEOF
                   17583: /* confdefs.h.  */
                   17584: _ACEOF
                   17585: cat confdefs.h >>conftest.$ac_ext
                   17586: cat >>conftest.$ac_ext <<_ACEOF
                   17587: /* end confdefs.h.  */
                   17588: #ifdef HAVE_STDLIB_H
                   17589:        #       include <stdlib.h>
                   17590:        #endif
                   17591:        #ifdef HAVE_STRING_H
                   17592:        #       include <string.h>
                   17593:        #endif
                   17594: 
                   17595: int
                   17596: main ()
                   17597: {
                   17598: #define TEST_NAME "oracle-configure-test-var"
                   17599:        #define TEST_VALUE "oracle-configure-test-value"
                   17600:        int result=putenv(TEST_NAME"="TEST_VALUE);
                   17601:        char *getenv_value=getenv(TEST_NAME);
                   17602:        if(!getenv_value)
                   17603:                return 1;
                   17604:        if(strcmp(getenv_value, TEST_NAME)!=0)
                   17605:                return 2;
                   17606: 
                   17607:   ;
                   17608:   return 0;
                   17609: }
                   17610: _ACEOF
                   17611: rm -f conftest.$ac_objext conftest$ac_exeext
                   17612: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
                   17613:   (eval $ac_link) 2>conftest.er1
                   17614:   ac_status=$?
                   17615:   grep -v '^ *+' conftest.er1 >conftest.err
                   17616:   rm -f conftest.er1
                   17617:   cat conftest.err >&5
                   17618:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17619:   (exit $ac_status); } &&
                   17620:         { ac_try='test -z "$ac_c_werror_flag"
                   17621:                         || test ! -s conftest.err'
                   17622:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17623:   (eval $ac_try) 2>&5
                   17624:   ac_status=$?
                   17625:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17626:   (exit $ac_status); }; } &&
                   17627:         { ac_try='test -s conftest$ac_exeext'
                   17628:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17629:   (eval $ac_try) 2>&5
                   17630:   ac_status=$?
                   17631:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17632:   (exit $ac_status); }; }; then
                   17633: 
                   17634:                echo "$as_me:$LINENO: result: yes" >&5
                   17635: echo "${ECHO_T}yes" >&6
                   17636: 
                   17637: cat >>confdefs.h <<\_ACEOF
                   17638: #define HAVE_PUTENV
                   17639: _ACEOF
                   17640: 
                   17641: 
                   17642: else
                   17643:   echo "$as_me: failed program was:" >&5
                   17644: sed 's/^/| /' conftest.$ac_ext >&5
                   17645: 
                   17646: echo "$as_me:$LINENO: result: no" >&5
                   17647: echo "${ECHO_T}no" >&6
                   17648:                { { echo "$as_me:$LINENO: error: \"there must be some function to modify environment\"" >&5
                   17649: echo "$as_me: error: \"there must be some function to modify environment\"" >&2;}
                   17650:    { (exit 1); exit 1; }; }
                   17651: 
                   17652: fi
                   17653: rm -f conftest.err conftest.$ac_objext \
                   17654:       conftest$ac_exeext conftest.$ac_ext
                   17655: 
                   17656: fi
                   17657: rm -f conftest.err conftest.$ac_objext \
                   17658:       conftest$ac_exeext conftest.$ac_ext
                   17659: 
                   17660: echo "$as_me:$LINENO: checking for size_t" >&5
                   17661: echo $ECHO_N "checking for size_t... $ECHO_C" >&6
                   17662: if test "${ac_cv_type_size_t+set}" = set; then
                   17663:   echo $ECHO_N "(cached) $ECHO_C" >&6
                   17664: else
                   17665:   cat >conftest.$ac_ext <<_ACEOF
                   17666: /* confdefs.h.  */
                   17667: _ACEOF
                   17668: cat confdefs.h >>conftest.$ac_ext
                   17669: cat >>conftest.$ac_ext <<_ACEOF
                   17670: /* end confdefs.h.  */
                   17671: $ac_includes_default
                   17672: int
                   17673: main ()
                   17674: {
                   17675: if ((size_t *) 0)
                   17676:   return 0;
                   17677: if (sizeof (size_t))
                   17678:   return 0;
                   17679:   ;
                   17680:   return 0;
                   17681: }
                   17682: _ACEOF
                   17683: rm -f conftest.$ac_objext
                   17684: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
                   17685:   (eval $ac_compile) 2>conftest.er1
                   17686:   ac_status=$?
                   17687:   grep -v '^ *+' conftest.er1 >conftest.err
                   17688:   rm -f conftest.er1
                   17689:   cat conftest.err >&5
                   17690:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17691:   (exit $ac_status); } &&
                   17692:         { ac_try='test -z "$ac_c_werror_flag"
                   17693:                         || test ! -s conftest.err'
                   17694:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17695:   (eval $ac_try) 2>&5
                   17696:   ac_status=$?
                   17697:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17698:   (exit $ac_status); }; } &&
                   17699:         { ac_try='test -s conftest.$ac_objext'
                   17700:   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
                   17701:   (eval $ac_try) 2>&5
                   17702:   ac_status=$?
                   17703:   echo "$as_me:$LINENO: \$? = $ac_status" >&5
                   17704:   (exit $ac_status); }; }; then
                   17705:   ac_cv_type_size_t=yes
                   17706: else
                   17707:   echo "$as_me: failed program was:" >&5
                   17708: sed 's/^/| /' conftest.$ac_ext >&5
                   17709: 
                   17710: ac_cv_type_size_t=no
                   17711: fi
                   17712: rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
                   17713: fi
                   17714: echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
                   17715: echo "${ECHO_T}$ac_cv_type_size_t" >&6
                   17716: if test $ac_cv_type_size_t = yes; then
                   17717:   :
                   17718: else
                   17719: 
                   17720: cat >>confdefs.h <<_ACEOF
                   17721: #define size_t unsigned
                   17722: _ACEOF
                   17723: 
                   17724: fi
                   17725: 
                   17726: 
                   17727: 
                   17728:           ac_config_files="$ac_config_files Makefile"
                   17729: cat >confcache <<\_ACEOF
                   17730: # This file is a shell script that caches the results of configure
                   17731: # tests run on this system so they can be shared between configure
                   17732: # scripts and configure runs, see configure's option --config-cache.
                   17733: # It is not useful on other systems.  If it contains results you don't
                   17734: # want to keep, you may remove or edit it.
                   17735: #
                   17736: # config.status only pays attention to the cache file if you give it
                   17737: # the --recheck option to rerun configure.
                   17738: #
                   17739: # `ac_cv_env_foo' variables (set or unset) will be overridden when
                   17740: # loading this file, other *unset* `ac_cv_foo' will be assigned the
                   17741: # following values.
                   17742: 
                   17743: _ACEOF
                   17744: 
                   17745: # The following way of writing the cache mishandles newlines in values,
                   17746: # but we know of no workaround that is simple, portable, and efficient.
                   17747: # So, don't put newlines in cache variables' values.
                   17748: # Ultrix sh set writes to stderr and can't be redirected directly,
                   17749: # and sets the high bit in the cache file unless we assign to the vars.
                   17750: {
                   17751:   (set) 2>&1 |
                   17752:     case `(ac_space=' '; set | grep ac_space) 2>&1` in
                   17753:     *ac_space=\ *)
                   17754:       # `set' does not quote correctly, so add quotes (double-quote
                   17755:       # substitution turns \\\\ into \\, and sed turns \\ into \).
                   17756:       sed -n \
                   17757:        "s/'/'\\\\''/g;
                   17758:          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
                   17759:       ;;
                   17760:     *)
                   17761:       # `set' quotes correctly as required by POSIX, so do not add quotes.
                   17762:       sed -n \
                   17763:        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
                   17764:       ;;
                   17765:     esac;
                   17766: } |
                   17767:   sed '
                   17768:      t clear
                   17769:      : clear
                   17770:      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
                   17771:      t end
                   17772:      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
                   17773:      : end' >>confcache
                   17774: if diff $cache_file confcache >/dev/null 2>&1; then :; else
                   17775:   if test -w $cache_file; then
                   17776:     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
                   17777:     cat confcache >$cache_file
                   17778:   else
                   17779:     echo "not updating unwritable cache $cache_file"
                   17780:   fi
                   17781: fi
                   17782: rm -f confcache
                   17783: 
                   17784: test "x$prefix" = xNONE && prefix=$ac_default_prefix
                   17785: # Let make expand exec_prefix.
                   17786: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
                   17787: 
                   17788: # VPATH may cause trouble with some makes, so we remove $(srcdir),
                   17789: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
                   17790: # trailing colons and then remove the whole line if VPATH becomes empty
                   17791: # (actually we leave an empty line to preserve line numbers).
                   17792: if test "x$srcdir" = x.; then
                   17793:   ac_vpsub='/^[         ]*VPATH[        ]*=/{
                   17794: s/:*\$(srcdir):*/:/;
                   17795: s/:*\${srcdir}:*/:/;
                   17796: s/:*@srcdir@:*/:/;
                   17797: s/^\([^=]*=[    ]*\):*/\1/;
                   17798: s/:*$//;
                   17799: s/^[^=]*=[      ]*$//;
                   17800: }'
                   17801: fi
                   17802: 
                   17803: DEFS=-DHAVE_CONFIG_H
                   17804: 
                   17805: ac_libobjs=
                   17806: ac_ltlibobjs=
                   17807: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
                   17808:   # 1. Remove the extension, and $U if already installed.
                   17809:   ac_i=`echo "$ac_i" |
                   17810:         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
                   17811:   # 2. Add them.
                   17812:   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
                   17813:   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
                   17814: done
                   17815: LIBOBJS=$ac_libobjs
                   17816: 
                   17817: LTLIBOBJS=$ac_ltlibobjs
                   17818: 
                   17819: 
                   17820: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
                   17821:   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
                   17822: Usually this means the macro was only invoked conditionally." >&5
                   17823: echo "$as_me: error: conditional \"AMDEP\" was never defined.
                   17824: Usually this means the macro was only invoked conditionally." >&2;}
                   17825:    { (exit 1); exit 1; }; }
                   17826: fi
                   17827: if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
                   17828:   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
                   17829: Usually this means the macro was only invoked conditionally." >&5
                   17830: echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
                   17831: Usually this means the macro was only invoked conditionally." >&2;}
                   17832:    { (exit 1); exit 1; }; }
                   17833: fi
                   17834: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
                   17835:   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
                   17836: Usually this means the macro was only invoked conditionally." >&5
                   17837: echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
                   17838: Usually this means the macro was only invoked conditionally." >&2;}
                   17839:    { (exit 1); exit 1; }; }
                   17840: fi
                   17841: if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
                   17842:   { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
                   17843: Usually this means the macro was only invoked conditionally." >&5
                   17844: echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
                   17845: Usually this means the macro was only invoked conditionally." >&2;}
                   17846:    { (exit 1); exit 1; }; }
                   17847: fi
                   17848: if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
                   17849:   { { echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
                   17850: Usually this means the macro was only invoked conditionally." >&5
                   17851: echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
                   17852: Usually this means the macro was only invoked conditionally." >&2;}
                   17853:    { (exit 1); exit 1; }; }
                   17854: fi
                   17855: LT_CONFIG_H=`echo " config_auto.h" | $SED 's,^[      ]*,,;s,[ :].*$,,'`
                   17856: 
                   17857:     _ltdl_libobjs=
                   17858:     _ltdl_ltlibobjs=
                   17859:     if test -n "$_LT_LIBOBJS"; then
                   17860:       # Remove the extension.
                   17861:       _lt_sed_drop_objext='s/\.o$//;s/\.obj$//'
                   17862:       for i in `for i in $_LT_LIBOBJS; do echo "$i"; done | sed "$_lt_sed_drop_objext" | sort -u`; do
                   17863:         _ltdl_libobjs="$_ltdl_libobjs $lt_libobj_prefix$i.$ac_objext"
                   17864:         _ltdl_ltlibobjs="$_ltdl_ltlibobjs $lt_libobj_prefix$i.lo"
                   17865:       done
                   17866:     fi
                   17867:     ltdl_LIBOBJS=$_ltdl_libobjs
                   17868: 
                   17869:     ltdl_LTLIBOBJS=$_ltdl_ltlibobjs
                   17870: 
                   17871: 
                   17872: 
                   17873: : ${CONFIG_STATUS=./config.status}
                   17874: ac_clean_files_save=$ac_clean_files
                   17875: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
                   17876: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
                   17877: echo "$as_me: creating $CONFIG_STATUS" >&6;}
                   17878: cat >$CONFIG_STATUS <<_ACEOF
                   17879: #! $SHELL
                   17880: # Generated by $as_me.
                   17881: # Run this file to recreate the current configuration.
                   17882: # Compiler output produced by configure, useful for debugging
                   17883: # configure, is in config.log if it exists.
                   17884: 
                   17885: debug=false
                   17886: ac_cs_recheck=false
                   17887: ac_cs_silent=false
                   17888: SHELL=\${CONFIG_SHELL-$SHELL}
                   17889: _ACEOF
                   17890: 
                   17891: cat >>$CONFIG_STATUS <<\_ACEOF
                   17892: ## --------------------- ##
                   17893: ## M4sh Initialization.  ##
                   17894: ## --------------------- ##
                   17895: 
                   17896: # Be Bourne compatible
                   17897: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
                   17898:   emulate sh
                   17899:   NULLCMD=:
                   17900:   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
                   17901:   # is contrary to our usage.  Disable this feature.
                   17902:   alias -g '${1+"$@"}'='"$@"'
                   17903: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
                   17904:   set -o posix
                   17905: fi
                   17906: DUALCASE=1; export DUALCASE # for MKS sh
                   17907: 
                   17908: # Support unset when possible.
                   17909: if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
                   17910:   as_unset=unset
                   17911: else
                   17912:   as_unset=false
                   17913: fi
                   17914: 
                   17915: 
                   17916: # Work around bugs in pre-3.0 UWIN ksh.
                   17917: $as_unset ENV MAIL MAILPATH
                   17918: PS1='$ '
                   17919: PS2='> '
                   17920: PS4='+ '
                   17921: 
                   17922: # NLS nuisances.
                   17923: for as_var in \
                   17924:   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
                   17925:   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
                   17926:   LC_TELEPHONE LC_TIME
                   17927: do
                   17928:   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
                   17929:     eval $as_var=C; export $as_var
                   17930:   else
                   17931:     $as_unset $as_var
                   17932:   fi
                   17933: done
                   17934: 
                   17935: # Required to use basename.
                   17936: if expr a : '\(a\)' >/dev/null 2>&1; then
                   17937:   as_expr=expr
                   17938: else
                   17939:   as_expr=false
                   17940: fi
                   17941: 
                   17942: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
                   17943:   as_basename=basename
                   17944: else
                   17945:   as_basename=false
                   17946: fi
                   17947: 
                   17948: 
                   17949: # Name of the executable.
                   17950: as_me=`$as_basename "$0" ||
                   17951: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
                   17952:         X"$0" : 'X\(//\)$' \| \
                   17953:         X"$0" : 'X\(/\)$' \| \
                   17954:         .     : '\(.\)' 2>/dev/null ||
                   17955: echo X/"$0" |
                   17956:     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
                   17957:          /^X\/\(\/\/\)$/{ s//\1/; q; }
                   17958:          /^X\/\(\/\).*/{ s//\1/; q; }
                   17959:          s/.*/./; q'`
                   17960: 
                   17961: 
                   17962: # PATH needs CR, and LINENO needs CR and PATH.
                   17963: # Avoid depending upon Character Ranges.
                   17964: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
                   17965: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
                   17966: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
                   17967: as_cr_digits='0123456789'
                   17968: as_cr_alnum=$as_cr_Letters$as_cr_digits
                   17969: 
                   17970: # The user is always right.
                   17971: if test "${PATH_SEPARATOR+set}" != set; then
                   17972:   echo "#! /bin/sh" >conf$$.sh
                   17973:   echo  "exit 0"   >>conf$$.sh
                   17974:   chmod +x conf$$.sh
                   17975:   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
                   17976:     PATH_SEPARATOR=';'
                   17977:   else
                   17978:     PATH_SEPARATOR=:
                   17979:   fi
                   17980:   rm -f conf$$.sh
                   17981: fi
                   17982: 
                   17983: 
                   17984:   as_lineno_1=$LINENO
                   17985:   as_lineno_2=$LINENO
                   17986:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                   17987:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                   17988:   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
                   17989:   # Find who we are.  Look in the path if we contain no path at all
                   17990:   # relative or not.
                   17991:   case $0 in
                   17992:     *[\\/]* ) as_myself=$0 ;;
                   17993:     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   17994: for as_dir in $PATH
                   17995: do
                   17996:   IFS=$as_save_IFS
                   17997:   test -z "$as_dir" && as_dir=.
                   17998:   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
                   17999: done
                   18000: 
                   18001:        ;;
                   18002:   esac
                   18003:   # We did not find ourselves, most probably we were run as `sh COMMAND'
                   18004:   # in which case we are not to be found in the path.
                   18005:   if test "x$as_myself" = x; then
                   18006:     as_myself=$0
                   18007:   fi
                   18008:   if test ! -f "$as_myself"; then
                   18009:     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
                   18010: echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
                   18011:    { (exit 1); exit 1; }; }
                   18012:   fi
                   18013:   case $CONFIG_SHELL in
                   18014:   '')
                   18015:     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
                   18016: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
                   18017: do
                   18018:   IFS=$as_save_IFS
                   18019:   test -z "$as_dir" && as_dir=.
                   18020:   for as_base in sh bash ksh sh5; do
                   18021:         case $as_dir in
                   18022:         /*)
                   18023:           if ("$as_dir/$as_base" -c '
                   18024:   as_lineno_1=$LINENO
                   18025:   as_lineno_2=$LINENO
                   18026:   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
                   18027:   test "x$as_lineno_1" != "x$as_lineno_2" &&
                   18028:   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
                   18029:             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
                   18030:             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
                   18031:             CONFIG_SHELL=$as_dir/$as_base
                   18032:             export CONFIG_SHELL
                   18033:             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
                   18034:           fi;;
                   18035:         esac
                   18036:        done
                   18037: done
                   18038: ;;
                   18039:   esac
                   18040: 
                   18041:   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
                   18042:   # uniformly replaced by the line number.  The first 'sed' inserts a
                   18043:   # line-number line before each line; the second 'sed' does the real
                   18044:   # work.  The second script uses 'N' to pair each line-number line
                   18045:   # with the numbered line, and appends trailing '-' during
                   18046:   # substitution so that $LINENO is not a special case at line end.
                   18047:   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
                   18048:   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
                   18049:   sed '=' <$as_myself |
                   18050:     sed '
                   18051:       N
                   18052:       s,$,-,
                   18053:       : loop
                   18054:       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
                   18055:       t loop
                   18056:       s,-$,,
                   18057:       s,^['$as_cr_digits']*\n,,
                   18058:     ' >$as_me.lineno &&
                   18059:   chmod +x $as_me.lineno ||
                   18060:     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
                   18061: echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
                   18062:    { (exit 1); exit 1; }; }
                   18063: 
                   18064:   # Don't try to exec as it changes $[0], causing all sort of problems
                   18065:   # (the dirname of $[0] is not the place where we might find the
                   18066:   # original and so on.  Autoconf is especially sensible to this).
                   18067:   . ./$as_me.lineno
                   18068:   # Exit status is that of the last command.
                   18069:   exit
                   18070: }
                   18071: 
                   18072: 
                   18073: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
                   18074:   *c*,-n*) ECHO_N= ECHO_C='
                   18075: ' ECHO_T='     ' ;;
                   18076:   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
                   18077:   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
                   18078: esac
                   18079: 
                   18080: if expr a : '\(a\)' >/dev/null 2>&1; then
                   18081:   as_expr=expr
                   18082: else
                   18083:   as_expr=false
                   18084: fi
                   18085: 
                   18086: rm -f conf$$ conf$$.exe conf$$.file
                   18087: echo >conf$$.file
                   18088: if ln -s conf$$.file conf$$ 2>/dev/null; then
                   18089:   # We could just check for DJGPP; but this test a) works b) is more generic
                   18090:   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
                   18091:   if test -f conf$$.exe; then
                   18092:     # Don't use ln at all; we don't have any links
                   18093:     as_ln_s='cp -p'
                   18094:   else
                   18095:     as_ln_s='ln -s'
                   18096:   fi
                   18097: elif ln conf$$.file conf$$ 2>/dev/null; then
                   18098:   as_ln_s=ln
                   18099: else
                   18100:   as_ln_s='cp -p'
                   18101: fi
                   18102: rm -f conf$$ conf$$.exe conf$$.file
                   18103: 
                   18104: if mkdir -p . 2>/dev/null; then
                   18105:   as_mkdir_p=:
                   18106: else
                   18107:   test -d ./-p && rmdir ./-p
                   18108:   as_mkdir_p=false
                   18109: fi
                   18110: 
                   18111: as_executable_p="test -f"
                   18112: 
                   18113: # Sed expression to map a string onto a valid CPP name.
                   18114: as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
                   18115: 
                   18116: # Sed expression to map a string onto a valid variable name.
                   18117: as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
                   18118: 
                   18119: 
                   18120: # IFS
                   18121: # We need space, tab and new line, in precisely that order.
                   18122: as_nl='
                   18123: '
                   18124: IFS="  $as_nl"
                   18125: 
                   18126: # CDPATH.
                   18127: $as_unset CDPATH
                   18128: 
                   18129: exec 6>&1
                   18130: 
                   18131: # Open the log real soon, to keep \$[0] and so on meaningful, and to
                   18132: # report actual input values of CONFIG_FILES etc. instead of their
                   18133: # values after options handling.  Logging --version etc. is OK.
                   18134: exec 5>>config.log
                   18135: {
                   18136:   echo
                   18137:   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
                   18138: ## Running $as_me. ##
                   18139: _ASBOX
                   18140: } >&5
                   18141: cat >&5 <<_CSEOF
                   18142: 
                   18143: This file was extended by parser3 $as_me 10.2, which was
                   18144: generated by GNU Autoconf 2.59.  Invocation command line was
                   18145: 
                   18146:   CONFIG_FILES    = $CONFIG_FILES
                   18147:   CONFIG_HEADERS  = $CONFIG_HEADERS
                   18148:   CONFIG_LINKS    = $CONFIG_LINKS
                   18149:   CONFIG_COMMANDS = $CONFIG_COMMANDS
                   18150:   $ $0 $@
                   18151: 
                   18152: _CSEOF
                   18153: echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
                   18154: echo >&5
                   18155: _ACEOF
                   18156: 
                   18157: # Files that config.status was made for.
                   18158: if test -n "$ac_config_files"; then
                   18159:   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
                   18160: fi
                   18161: 
                   18162: if test -n "$ac_config_headers"; then
                   18163:   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
                   18164: fi
                   18165: 
                   18166: if test -n "$ac_config_links"; then
                   18167:   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
                   18168: fi
                   18169: 
                   18170: if test -n "$ac_config_commands"; then
                   18171:   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
                   18172: fi
                   18173: 
                   18174: cat >>$CONFIG_STATUS <<\_ACEOF
                   18175: 
                   18176: ac_cs_usage="\
                   18177: \`$as_me' instantiates files from templates according to the
                   18178: current configuration.
                   18179: 
                   18180: Usage: $0 [OPTIONS] [FILE]...
                   18181: 
                   18182:   -h, --help       print this help, then exit
                   18183:   -V, --version    print version number, then exit
                   18184:   -q, --quiet      do not print progress messages
                   18185:   -d, --debug      don't remove temporary files
                   18186:       --recheck    update $as_me by reconfiguring in the same conditions
                   18187:   --file=FILE[:TEMPLATE]
                   18188:                   instantiate the configuration file FILE
                   18189:   --header=FILE[:TEMPLATE]
                   18190:                   instantiate the configuration header FILE
                   18191: 
                   18192: Configuration files:
                   18193: $config_files
                   18194: 
                   18195: Configuration headers:
                   18196: $config_headers
                   18197: 
                   18198: Configuration commands:
                   18199: $config_commands
                   18200: 
                   18201: Report bugs to <bug-autoconf@gnu.org>."
                   18202: _ACEOF
                   18203: 
                   18204: cat >>$CONFIG_STATUS <<_ACEOF
                   18205: ac_cs_version="\\
                   18206: parser3 config.status 10.2
                   18207: configured by $0, generated by GNU Autoconf 2.59,
                   18208:   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
                   18209: 
                   18210: Copyright (C) 2003 Free Software Foundation, Inc.
                   18211: This config.status script is free software; the Free Software Foundation
                   18212: gives unlimited permission to copy, distribute and modify it."
                   18213: srcdir=$srcdir
                   18214: INSTALL="$INSTALL"
                   18215: _ACEOF
                   18216: 
                   18217: cat >>$CONFIG_STATUS <<\_ACEOF
                   18218: # If no file are specified by the user, then we need to provide default
                   18219: # value.  By we need to know if files were specified by the user.
                   18220: ac_need_defaults=:
                   18221: while test $# != 0
                   18222: do
                   18223:   case $1 in
                   18224:   --*=*)
                   18225:     ac_option=`expr "x$1" : 'x\([^=]*\)='`
                   18226:     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
                   18227:     ac_shift=:
                   18228:     ;;
                   18229:   -*)
                   18230:     ac_option=$1
                   18231:     ac_optarg=$2
                   18232:     ac_shift=shift
                   18233:     ;;
                   18234:   *) # This is not an option, so the user has probably given explicit
                   18235:      # arguments.
                   18236:      ac_option=$1
                   18237:      ac_need_defaults=false;;
                   18238:   esac
                   18239: 
                   18240:   case $ac_option in
                   18241:   # Handling of the options.
                   18242: _ACEOF
                   18243: cat >>$CONFIG_STATUS <<\_ACEOF
                   18244:   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
                   18245:     ac_cs_recheck=: ;;
                   18246:   --version | --vers* | -V )
                   18247:     echo "$ac_cs_version"; exit 0 ;;
                   18248:   --he | --h)
                   18249:     # Conflict between --help and --header
                   18250:     { { echo "$as_me:$LINENO: error: ambiguous option: $1
                   18251: Try \`$0 --help' for more information." >&5
                   18252: echo "$as_me: error: ambiguous option: $1
                   18253: Try \`$0 --help' for more information." >&2;}
                   18254:    { (exit 1); exit 1; }; };;
                   18255:   --help | --hel | -h )
                   18256:     echo "$ac_cs_usage"; exit 0 ;;
                   18257:   --debug | --d* | -d )
                   18258:     debug=: ;;
                   18259:   --file | --fil | --fi | --f )
                   18260:     $ac_shift
                   18261:     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
                   18262:     ac_need_defaults=false;;
                   18263:   --header | --heade | --head | --hea )
                   18264:     $ac_shift
                   18265:     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
                   18266:     ac_need_defaults=false;;
                   18267:   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
                   18268:   | -silent | --silent | --silen | --sile | --sil | --si | --s)
                   18269:     ac_cs_silent=: ;;
                   18270: 
                   18271:   # This is an error.
                   18272:   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
                   18273: Try \`$0 --help' for more information." >&5
                   18274: echo "$as_me: error: unrecognized option: $1
                   18275: Try \`$0 --help' for more information." >&2;}
                   18276:    { (exit 1); exit 1; }; } ;;
                   18277: 
                   18278:   *) ac_config_targets="$ac_config_targets $1" ;;
                   18279: 
                   18280:   esac
                   18281:   shift
                   18282: done
                   18283: 
                   18284: ac_configure_extra_args=
                   18285: 
                   18286: if $ac_cs_silent; then
                   18287:   exec 6>/dev/null
                   18288:   ac_configure_extra_args="$ac_configure_extra_args --silent"
                   18289: fi
                   18290: 
                   18291: _ACEOF
                   18292: cat >>$CONFIG_STATUS <<_ACEOF
                   18293: if \$ac_cs_recheck; then
                   18294:   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
                   18295:   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
                   18296: fi
                   18297: 
                   18298: _ACEOF
                   18299: 
                   18300: cat >>$CONFIG_STATUS <<_ACEOF
                   18301: #
                   18302: # INIT-COMMANDS section.
                   18303: #
                   18304: 
                   18305: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
                   18306: 
                   18307: 
                   18308: # The HP-UX ksh and POSIX shell print the target directory to stdout
                   18309: # if CDPATH is set.
                   18310: (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
                   18311: 
                   18312: sed_quote_subst='$sed_quote_subst'
                   18313: double_quote_subst='$double_quote_subst'
                   18314: delay_variable_subst='$delay_variable_subst'
                   18315: macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
                   18316: macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
1.31    ! moko     18317: enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
1.25      moko     18318: AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
                   18319: DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
                   18320: OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
                   18321: enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
                   18322: pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
                   18323: enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
                   18324: SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
                   18325: ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
                   18326: PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
                   18327: host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
                   18328: host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
                   18329: host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
                   18330: build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
                   18331: build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
                   18332: build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
                   18333: SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
                   18334: Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
                   18335: GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
                   18336: EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
                   18337: FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
                   18338: LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
                   18339: NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
                   18340: LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
                   18341: max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
                   18342: ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
                   18343: exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
                   18344: lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
                   18345: lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
                   18346: lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
                   18347: lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
                   18348: lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
                   18349: reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
                   18350: reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
                   18351: deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
                   18352: file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
                   18353: file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
                   18354: want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
                   18355: sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
                   18356: AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
                   18357: AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
                   18358: archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
                   18359: STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
                   18360: RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
                   18361: old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   18362: old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   18363: old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
                   18364: lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
                   18365: CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
                   18366: CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
                   18367: compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
                   18368: GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
                   18369: lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
                   18370: lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
                   18371: lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
                   18372: 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"`'
                   18373: nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
                   18374: lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
                   18375: objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
                   18376: MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
                   18377: lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
                   18378: lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
                   18379: lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
                   18380: lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
                   18381: lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
                   18382: need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
                   18383: MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
                   18384: DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
                   18385: NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
                   18386: LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
                   18387: OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
                   18388: OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
                   18389: libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
                   18390: shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
                   18391: extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   18392: archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
                   18393: enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
                   18394: export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
                   18395: whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
                   18396: compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
                   18397: old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
                   18398: old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
                   18399: archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
                   18400: archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   18401: module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
                   18402: module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
                   18403: with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
                   18404: allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   18405: no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
                   18406: hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
                   18407: hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
                   18408: hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
                   18409: hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
                   18410: hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
                   18411: hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   18412: hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
                   18413: inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
                   18414: link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
                   18415: always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
                   18416: export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
                   18417: exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
                   18418: include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
                   18419: prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
                   18420: postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
                   18421: file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
                   18422: variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
                   18423: need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
                   18424: need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
                   18425: version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
                   18426: runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
                   18427: shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
                   18428: shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
                   18429: libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
                   18430: library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
                   18431: soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
                   18432: install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
                   18433: postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
                   18434: postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
                   18435: finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
                   18436: finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
                   18437: hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
                   18438: sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
                   18439: sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
                   18440: hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
                   18441: enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
                   18442: enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
                   18443: enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
                   18444: old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
                   18445: striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
                   18446: compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
                   18447: predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
                   18448: postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
                   18449: predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
                   18450: postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
                   18451: compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
                   18452: LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
                   18453: reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   18454: reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18455: old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18456: compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
                   18457: GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
                   18458: lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   18459: lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
                   18460: lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
                   18461: lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
                   18462: lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
                   18463: archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
                   18464: enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
                   18465: export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   18466: whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   18467: compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
                   18468: old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18469: old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18470: archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18471: archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18472: module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18473: module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18474: with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
                   18475: allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   18476: no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
                   18477: hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   18478: hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
                   18479: hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
                   18480: hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
                   18481: hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
                   18482: hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
                   18483: hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
                   18484: inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
                   18485: link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
                   18486: always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
                   18487: export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18488: exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   18489: include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
                   18490: prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18491: postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
                   18492: file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
                   18493: hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
                   18494: compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
                   18495: predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   18496: postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
                   18497: predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
                   18498: postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
                   18499: compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
                   18500: 
                   18501: LTCC='$LTCC'
                   18502: LTCFLAGS='$LTCFLAGS'
                   18503: compiler='$compiler_DEFAULT'
                   18504: 
                   18505: # A function that is used when there is no print builtin or printf.
                   18506: func_fallback_echo ()
                   18507: {
                   18508:   eval 'cat <<_LTECHO_EOF
                   18509: \$1
                   18510: _LTECHO_EOF'
                   18511: }
                   18512: 
                   18513: # Quote evaled strings.
                   18514: for var in AS \
                   18515: DLLTOOL \
                   18516: OBJDUMP \
                   18517: SHELL \
                   18518: ECHO \
                   18519: PATH_SEPARATOR \
                   18520: SED \
                   18521: GREP \
                   18522: EGREP \
                   18523: FGREP \
                   18524: LD \
                   18525: NM \
                   18526: LN_S \
                   18527: lt_SP2NL \
                   18528: lt_NL2SP \
                   18529: reload_flag \
                   18530: deplibs_check_method \
                   18531: file_magic_cmd \
                   18532: file_magic_glob \
                   18533: want_nocaseglob \
                   18534: sharedlib_from_linklib_cmd \
                   18535: AR \
                   18536: AR_FLAGS \
                   18537: archiver_list_spec \
                   18538: STRIP \
                   18539: RANLIB \
                   18540: CC \
                   18541: CFLAGS \
                   18542: compiler \
                   18543: lt_cv_sys_global_symbol_pipe \
                   18544: lt_cv_sys_global_symbol_to_cdecl \
                   18545: lt_cv_sys_global_symbol_to_c_name_address \
                   18546: lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
                   18547: nm_file_list_spec \
                   18548: lt_prog_compiler_no_builtin_flag \
                   18549: lt_prog_compiler_pic \
                   18550: lt_prog_compiler_wl \
                   18551: lt_prog_compiler_static \
                   18552: lt_cv_prog_compiler_c_o \
                   18553: need_locks \
                   18554: MANIFEST_TOOL \
                   18555: DSYMUTIL \
                   18556: NMEDIT \
                   18557: LIPO \
                   18558: OTOOL \
                   18559: OTOOL64 \
                   18560: shrext_cmds \
                   18561: export_dynamic_flag_spec \
                   18562: whole_archive_flag_spec \
                   18563: compiler_needs_object \
                   18564: with_gnu_ld \
                   18565: allow_undefined_flag \
                   18566: no_undefined_flag \
                   18567: hardcode_libdir_flag_spec \
                   18568: hardcode_libdir_separator \
                   18569: exclude_expsyms \
                   18570: include_expsyms \
                   18571: file_list_spec \
                   18572: variables_saved_for_relink \
                   18573: libname_spec \
                   18574: library_names_spec \
                   18575: soname_spec \
                   18576: install_override_mode \
                   18577: finish_eval \
                   18578: old_striplib \
                   18579: striplib \
                   18580: compiler_lib_search_dirs \
                   18581: predep_objects \
                   18582: postdep_objects \
                   18583: predeps \
                   18584: postdeps \
                   18585: compiler_lib_search_path \
                   18586: LD_CXX \
                   18587: reload_flag_CXX \
                   18588: compiler_CXX \
                   18589: lt_prog_compiler_no_builtin_flag_CXX \
                   18590: lt_prog_compiler_pic_CXX \
                   18591: lt_prog_compiler_wl_CXX \
                   18592: lt_prog_compiler_static_CXX \
                   18593: lt_cv_prog_compiler_c_o_CXX \
                   18594: export_dynamic_flag_spec_CXX \
                   18595: whole_archive_flag_spec_CXX \
                   18596: compiler_needs_object_CXX \
                   18597: with_gnu_ld_CXX \
                   18598: allow_undefined_flag_CXX \
                   18599: no_undefined_flag_CXX \
                   18600: hardcode_libdir_flag_spec_CXX \
                   18601: hardcode_libdir_separator_CXX \
                   18602: exclude_expsyms_CXX \
                   18603: include_expsyms_CXX \
                   18604: file_list_spec_CXX \
                   18605: compiler_lib_search_dirs_CXX \
                   18606: predep_objects_CXX \
                   18607: postdep_objects_CXX \
                   18608: predeps_CXX \
                   18609: postdeps_CXX \
                   18610: compiler_lib_search_path_CXX; do
                   18611:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   18612:     *[\\\\\\\`\\"\\\$]*)
                   18613:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
                   18614:       ;;
                   18615:     *)
                   18616:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   18617:       ;;
                   18618:     esac
                   18619: done
                   18620: 
                   18621: # Double-quote double-evaled strings.
                   18622: for var in reload_cmds \
                   18623: old_postinstall_cmds \
                   18624: old_postuninstall_cmds \
                   18625: old_archive_cmds \
                   18626: extract_expsyms_cmds \
                   18627: old_archive_from_new_cmds \
                   18628: old_archive_from_expsyms_cmds \
                   18629: archive_cmds \
                   18630: archive_expsym_cmds \
                   18631: module_cmds \
                   18632: module_expsym_cmds \
                   18633: export_symbols_cmds \
                   18634: prelink_cmds \
                   18635: postlink_cmds \
                   18636: postinstall_cmds \
                   18637: postuninstall_cmds \
                   18638: finish_cmds \
                   18639: sys_lib_search_path_spec \
                   18640: sys_lib_dlsearch_path_spec \
                   18641: reload_cmds_CXX \
                   18642: old_archive_cmds_CXX \
                   18643: old_archive_from_new_cmds_CXX \
                   18644: old_archive_from_expsyms_cmds_CXX \
                   18645: archive_cmds_CXX \
                   18646: archive_expsym_cmds_CXX \
                   18647: module_cmds_CXX \
                   18648: module_expsym_cmds_CXX \
                   18649: export_symbols_cmds_CXX \
                   18650: prelink_cmds_CXX \
                   18651: postlink_cmds_CXX; do
                   18652:     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
                   18653:     *[\\\\\\\`\\"\\\$]*)
                   18654:       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
                   18655:       ;;
                   18656:     *)
                   18657:       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
                   18658:       ;;
                   18659:     esac
                   18660: done
                   18661: 
                   18662: ac_aux_dir='$ac_aux_dir'
                   18663: xsi_shell='$xsi_shell'
                   18664: lt_shell_append='$lt_shell_append'
                   18665: 
                   18666: # See if we are running on zsh, and set the options which allow our
                   18667: # commands through without removal of \ escapes INIT.
                   18668: if test -n "\${ZSH_VERSION+set}" ; then
                   18669:    setopt NO_GLOB_SUBST
                   18670: fi
                   18671: 
                   18672: 
                   18673:     PACKAGE='$PACKAGE'
                   18674:     VERSION='$VERSION'
                   18675:     TIMESTAMP='$TIMESTAMP'
                   18676:     RM='$RM'
                   18677:     ofile='$ofile'
                   18678: 
                   18679: 
                   18680: 
                   18681: 
                   18682: 
                   18683: 
                   18684: _ACEOF
                   18685: 
                   18686: 
                   18687: 
                   18688: cat >>$CONFIG_STATUS <<\_ACEOF
                   18689: for ac_config_target in $ac_config_targets
                   18690: do
                   18691:   case "$ac_config_target" in
                   18692:   # Handling of arguments.
                   18693:   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
                   18694:   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
                   18695:   "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
                   18696:   "config_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config_auto.h" ;;
                   18697:   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
                   18698: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
                   18699:    { (exit 1); exit 1; }; };;
                   18700:   esac
                   18701: done
                   18702: 
                   18703: # If the user did not use the arguments to specify the items to instantiate,
                   18704: # then the envvar interface is used.  Set only those that are not.
                   18705: # We use the long form for the default assignment because of an extremely
                   18706: # bizarre bug on SunOS 4.1.3.
                   18707: if $ac_need_defaults; then
                   18708:   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
                   18709:   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
                   18710:   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
                   18711: fi
                   18712: 
                   18713: # Have a temporary directory for convenience.  Make it in the build tree
                   18714: # simply because there is no reason to put it here, and in addition,
                   18715: # creating and moving files from /tmp can sometimes cause problems.
                   18716: # Create a temporary directory, and hook for its removal unless debugging.
                   18717: $debug ||
                   18718: {
                   18719:   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
                   18720:   trap '{ (exit 1); exit 1; }' 1 2 13 15
                   18721: }
                   18722: 
                   18723: # Create a (secure) tmp directory for tmp files.
                   18724: 
                   18725: {
                   18726:   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
                   18727:   test -n "$tmp" && test -d "$tmp"
                   18728: }  ||
                   18729: {
                   18730:   tmp=./confstat$$-$RANDOM
                   18731:   (umask 077 && mkdir $tmp)
                   18732: } ||
                   18733: {
                   18734:    echo "$me: cannot create a temporary directory in ." >&2
                   18735:    { (exit 1); exit 1; }
                   18736: }
                   18737: 
                   18738: _ACEOF
                   18739: 
                   18740: cat >>$CONFIG_STATUS <<_ACEOF
                   18741: 
                   18742: #
                   18743: # CONFIG_FILES section.
                   18744: #
                   18745: 
                   18746: # No need to generate the scripts if there are no CONFIG_FILES.
                   18747: # This happens for instance when ./config.status config.h
                   18748: if test -n "\$CONFIG_FILES"; then
                   18749:   # Protect against being on the right side of a sed subst in config.status.
                   18750:   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
                   18751:    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
                   18752: s,@SHELL@,$SHELL,;t t
                   18753: s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
                   18754: s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
                   18755: s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
                   18756: s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
                   18757: s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
                   18758: s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
                   18759: s,@exec_prefix@,$exec_prefix,;t t
                   18760: s,@prefix@,$prefix,;t t
                   18761: s,@program_transform_name@,$program_transform_name,;t t
                   18762: s,@bindir@,$bindir,;t t
                   18763: s,@sbindir@,$sbindir,;t t
                   18764: s,@libexecdir@,$libexecdir,;t t
                   18765: s,@datadir@,$datadir,;t t
                   18766: s,@sysconfdir@,$sysconfdir,;t t
                   18767: s,@sharedstatedir@,$sharedstatedir,;t t
                   18768: s,@localstatedir@,$localstatedir,;t t
                   18769: s,@libdir@,$libdir,;t t
                   18770: s,@includedir@,$includedir,;t t
                   18771: s,@oldincludedir@,$oldincludedir,;t t
                   18772: s,@infodir@,$infodir,;t t
                   18773: s,@mandir@,$mandir,;t t
                   18774: s,@build_alias@,$build_alias,;t t
                   18775: s,@host_alias@,$host_alias,;t t
                   18776: s,@target_alias@,$target_alias,;t t
                   18777: s,@DEFS@,$DEFS,;t t
                   18778: s,@ECHO_C@,$ECHO_C,;t t
                   18779: s,@ECHO_N@,$ECHO_N,;t t
                   18780: s,@ECHO_T@,$ECHO_T,;t t
                   18781: s,@LIBS@,$LIBS,;t t
                   18782: s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
                   18783: s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
                   18784: s,@INSTALL_DATA@,$INSTALL_DATA,;t t
                   18785: s,@CYGPATH_W@,$CYGPATH_W,;t t
                   18786: s,@PACKAGE@,$PACKAGE,;t t
                   18787: s,@VERSION@,$VERSION,;t t
                   18788: s,@ACLOCAL@,$ACLOCAL,;t t
                   18789: s,@AUTOCONF@,$AUTOCONF,;t t
                   18790: s,@AUTOMAKE@,$AUTOMAKE,;t t
                   18791: s,@AUTOHEADER@,$AUTOHEADER,;t t
                   18792: s,@MAKEINFO@,$MAKEINFO,;t t
                   18793: s,@install_sh@,$install_sh,;t t
                   18794: s,@STRIP@,$STRIP,;t t
                   18795: s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
                   18796: s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
                   18797: s,@mkdir_p@,$mkdir_p,;t t
                   18798: s,@AWK@,$AWK,;t t
                   18799: s,@SET_MAKE@,$SET_MAKE,;t t
                   18800: s,@am__leading_dot@,$am__leading_dot,;t t
                   18801: s,@AMTAR@,$AMTAR,;t t
                   18802: s,@am__tar@,$am__tar,;t t
                   18803: s,@am__untar@,$am__untar,;t t
                   18804: s,@ORACLE_OCI_INC@,$ORACLE_OCI_INC,;t t
                   18805: s,@ORACLE_PUBLIC_INC@,$ORACLE_PUBLIC_INC,;t t
                   18806: s,@CXX@,$CXX,;t t
                   18807: s,@CXXFLAGS@,$CXXFLAGS,;t t
1.29      moko     18808: s,@LDFLAGS@,$LDFLAGS,;t t
1.25      moko     18809: s,@CPPFLAGS@,$CPPFLAGS,;t t
                   18810: s,@ac_ct_CXX@,$ac_ct_CXX,;t t
                   18811: s,@EXEEXT@,$EXEEXT,;t t
                   18812: s,@OBJEXT@,$OBJEXT,;t t
                   18813: s,@DEPDIR@,$DEPDIR,;t t
                   18814: s,@am__include@,$am__include,;t t
                   18815: s,@am__quote@,$am__quote,;t t
                   18816: s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
                   18817: s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
                   18818: s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
                   18819: s,@CXXDEPMODE@,$CXXDEPMODE,;t t
                   18820: s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
                   18821: s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
                   18822: s,@CC@,$CC,;t t
                   18823: s,@CFLAGS@,$CFLAGS,;t t
                   18824: s,@ac_ct_CC@,$ac_ct_CC,;t t
                   18825: s,@CCDEPMODE@,$CCDEPMODE,;t t
                   18826: s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
                   18827: s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
                   18828: s,@AS@,$AS,;t t
                   18829: s,@ac_ct_AS@,$ac_ct_AS,;t t
                   18830: s,@DLLTOOL@,$DLLTOOL,;t t
                   18831: s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
                   18832: s,@OBJDUMP@,$OBJDUMP,;t t
                   18833: s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
                   18834: s,@LIBTOOL@,$LIBTOOL,;t t
                   18835: s,@build@,$build,;t t
                   18836: s,@build_cpu@,$build_cpu,;t t
                   18837: s,@build_vendor@,$build_vendor,;t t
                   18838: s,@build_os@,$build_os,;t t
                   18839: s,@host@,$host,;t t
                   18840: s,@host_cpu@,$host_cpu,;t t
                   18841: s,@host_vendor@,$host_vendor,;t t
                   18842: s,@host_os@,$host_os,;t t
                   18843: s,@SED@,$SED,;t t
                   18844: s,@EGREP@,$EGREP,;t t
                   18845: s,@FGREP@,$FGREP,;t t
                   18846: s,@GREP@,$GREP,;t t
                   18847: s,@LD@,$LD,;t t
                   18848: s,@DUMPBIN@,$DUMPBIN,;t t
                   18849: s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
                   18850: s,@NM@,$NM,;t t
                   18851: s,@LN_S@,$LN_S,;t t
                   18852: s,@AR@,$AR,;t t
                   18853: s,@ac_ct_AR@,$ac_ct_AR,;t t
                   18854: s,@RANLIB@,$RANLIB,;t t
                   18855: s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
                   18856: s,@MANIFEST_TOOL@,$MANIFEST_TOOL,;t t
                   18857: s,@ac_ct_MANIFEST_TOOL@,$ac_ct_MANIFEST_TOOL,;t t
                   18858: s,@DSYMUTIL@,$DSYMUTIL,;t t
                   18859: s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
                   18860: s,@NMEDIT@,$NMEDIT,;t t
                   18861: s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
                   18862: s,@LIPO@,$LIPO,;t t
                   18863: s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
                   18864: s,@OTOOL@,$OTOOL,;t t
                   18865: s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
                   18866: s,@OTOOL64@,$OTOOL64,;t t
                   18867: s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
                   18868: s,@CPP@,$CPP,;t t
                   18869: s,@CXXCPP@,$CXXCPP,;t t
                   18870: s,@LIBLTDL@,$LIBLTDL,;t t
                   18871: s,@LTDLDEPS@,$LTDLDEPS,;t t
                   18872: s,@LTDLINCL@,$LTDLINCL,;t t
                   18873: s,@INCLTDL@,$INCLTDL,;t t
                   18874: s,@LT_DLLOADERS@,$LT_DLLOADERS,;t t
                   18875: s,@LIBADD_DLOPEN@,$LIBADD_DLOPEN,;t t
                   18876: s,@LIBADD_SHL_LOAD@,$LIBADD_SHL_LOAD,;t t
                   18877: s,@LIBADD_DLD_LINK@,$LIBADD_DLD_LINK,;t t
                   18878: s,@LT_DLPREOPEN@,$LT_DLPREOPEN,;t t
                   18879: s,@LIBADD_DL@,$LIBADD_DL,;t t
                   18880: s,@sys_symbol_underscore@,$sys_symbol_underscore,;t t
                   18881: s,@ARGZ_H@,$ARGZ_H,;t t
                   18882: s,@INSTALL_LTDL_TRUE@,$INSTALL_LTDL_TRUE,;t t
                   18883: s,@INSTALL_LTDL_FALSE@,$INSTALL_LTDL_FALSE,;t t
                   18884: s,@CONVENIENCE_LTDL_TRUE@,$CONVENIENCE_LTDL_TRUE,;t t
                   18885: s,@CONVENIENCE_LTDL_FALSE@,$CONVENIENCE_LTDL_FALSE,;t t
                   18886: s,@subdirs@,$subdirs,;t t
                   18887: s,@LT_CONFIG_H@,$LT_CONFIG_H,;t t
                   18888: s,@LTDLOPEN@,$LTDLOPEN,;t t
                   18889: s,@LIBOBJS@,$LIBOBJS,;t t
                   18890: s,@LTLIBOBJS@,$LTLIBOBJS,;t t
                   18891: s,@ltdl_LIBOBJS@,$ltdl_LIBOBJS,;t t
                   18892: s,@ltdl_LTLIBOBJS@,$ltdl_LTLIBOBJS,;t t
                   18893: CEOF
                   18894: 
                   18895: _ACEOF
                   18896: 
                   18897:   cat >>$CONFIG_STATUS <<\_ACEOF
                   18898:   # Split the substitutions into bite-sized pieces for seds with
                   18899:   # small command number limits, like on Digital OSF/1 and HP-UX.
                   18900:   ac_max_sed_lines=48
                   18901:   ac_sed_frag=1 # Number of current file.
                   18902:   ac_beg=1 # First line for current file.
                   18903:   ac_end=$ac_max_sed_lines # Line after last line for current file.
                   18904:   ac_more_lines=:
                   18905:   ac_sed_cmds=
                   18906:   while $ac_more_lines; do
                   18907:     if test $ac_beg -gt 1; then
                   18908:       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
                   18909:     else
                   18910:       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
                   18911:     fi
                   18912:     if test ! -s $tmp/subs.frag; then
                   18913:       ac_more_lines=false
                   18914:     else
                   18915:       # The purpose of the label and of the branching condition is to
                   18916:       # speed up the sed processing (if there are no `@' at all, there
                   18917:       # is no need to browse any of the substitutions).
                   18918:       # These are the two extra sed commands mentioned above.
                   18919:       (echo ':t
                   18920:   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
                   18921:       if test -z "$ac_sed_cmds"; then
                   18922:        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
                   18923:       else
                   18924:        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
                   18925:       fi
                   18926:       ac_sed_frag=`expr $ac_sed_frag + 1`
                   18927:       ac_beg=$ac_end
                   18928:       ac_end=`expr $ac_end + $ac_max_sed_lines`
                   18929:     fi
                   18930:   done
                   18931:   if test -z "$ac_sed_cmds"; then
                   18932:     ac_sed_cmds=cat
                   18933:   fi
                   18934: fi # test -n "$CONFIG_FILES"
                   18935: 
                   18936: _ACEOF
                   18937: cat >>$CONFIG_STATUS <<\_ACEOF
                   18938: for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
                   18939:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
                   18940:   case $ac_file in
                   18941:   - | *:- | *:-:* ) # input from stdin
                   18942:        cat >$tmp/stdin
                   18943:        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   18944:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   18945:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   18946:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   18947:   * )   ac_file_in=$ac_file.in ;;
                   18948:   esac
                   18949: 
                   18950:   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
                   18951:   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
                   18952: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   18953:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   18954:         X"$ac_file" : 'X\(//\)$' \| \
                   18955:         X"$ac_file" : 'X\(/\)' \| \
                   18956:         .     : '\(.\)' 2>/dev/null ||
                   18957: echo X"$ac_file" |
                   18958:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   18959:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   18960:          /^X\(\/\/\)$/{ s//\1/; q; }
                   18961:          /^X\(\/\).*/{ s//\1/; q; }
                   18962:          s/.*/./; q'`
                   18963:   { if $as_mkdir_p; then
                   18964:     mkdir -p "$ac_dir"
                   18965:   else
                   18966:     as_dir="$ac_dir"
                   18967:     as_dirs=
                   18968:     while test ! -d "$as_dir"; do
                   18969:       as_dirs="$as_dir $as_dirs"
                   18970:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   18971: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   18972:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   18973:         X"$as_dir" : 'X\(//\)$' \| \
                   18974:         X"$as_dir" : 'X\(/\)' \| \
                   18975:         .     : '\(.\)' 2>/dev/null ||
                   18976: echo X"$as_dir" |
                   18977:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   18978:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   18979:          /^X\(\/\/\)$/{ s//\1/; q; }
                   18980:          /^X\(\/\).*/{ s//\1/; q; }
                   18981:          s/.*/./; q'`
                   18982:     done
                   18983:     test ! -n "$as_dirs" || mkdir $as_dirs
                   18984:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   18985: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   18986:    { (exit 1); exit 1; }; }; }
                   18987: 
                   18988:   ac_builddir=.
                   18989: 
                   18990: if test "$ac_dir" != .; then
                   18991:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   18992:   # A "../" for each directory in $ac_dir_suffix.
                   18993:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   18994: else
                   18995:   ac_dir_suffix= ac_top_builddir=
                   18996: fi
                   18997: 
                   18998: case $srcdir in
                   18999:   .)  # No --srcdir option.  We are building in place.
                   19000:     ac_srcdir=.
                   19001:     if test -z "$ac_top_builddir"; then
                   19002:        ac_top_srcdir=.
                   19003:     else
                   19004:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   19005:     fi ;;
                   19006:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   19007:     ac_srcdir=$srcdir$ac_dir_suffix;
                   19008:     ac_top_srcdir=$srcdir ;;
                   19009:   *) # Relative path.
                   19010:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   19011:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   19012: esac
                   19013: 
                   19014: # Do not use `cd foo && pwd` to compute absolute paths, because
                   19015: # the directories may not exist.
                   19016: case `pwd` in
                   19017: .) ac_abs_builddir="$ac_dir";;
                   19018: *)
                   19019:   case "$ac_dir" in
                   19020:   .) ac_abs_builddir=`pwd`;;
                   19021:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
                   19022:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
                   19023:   esac;;
                   19024: esac
                   19025: case $ac_abs_builddir in
                   19026: .) ac_abs_top_builddir=${ac_top_builddir}.;;
                   19027: *)
                   19028:   case ${ac_top_builddir}. in
                   19029:   .) ac_abs_top_builddir=$ac_abs_builddir;;
                   19030:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
                   19031:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
                   19032:   esac;;
                   19033: esac
                   19034: case $ac_abs_builddir in
                   19035: .) ac_abs_srcdir=$ac_srcdir;;
                   19036: *)
                   19037:   case $ac_srcdir in
                   19038:   .) ac_abs_srcdir=$ac_abs_builddir;;
                   19039:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
                   19040:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
                   19041:   esac;;
                   19042: esac
                   19043: case $ac_abs_builddir in
                   19044: .) ac_abs_top_srcdir=$ac_top_srcdir;;
                   19045: *)
                   19046:   case $ac_top_srcdir in
                   19047:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
                   19048:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
                   19049:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
                   19050:   esac;;
                   19051: esac
                   19052: 
                   19053: 
                   19054:   case $INSTALL in
                   19055:   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
                   19056:   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
                   19057:   esac
                   19058: 
                   19059:   if test x"$ac_file" != x-; then
                   19060:     { echo "$as_me:$LINENO: creating $ac_file" >&5
                   19061: echo "$as_me: creating $ac_file" >&6;}
                   19062:     rm -f "$ac_file"
                   19063:   fi
                   19064:   # Let's still pretend it is `configure' which instantiates (i.e., don't
                   19065:   # use $as_me), people would be surprised to read:
                   19066:   #    /* config.h.  Generated by config.status.  */
                   19067:   if test x"$ac_file" = x-; then
                   19068:     configure_input=
                   19069:   else
                   19070:     configure_input="$ac_file.  "
                   19071:   fi
                   19072:   configure_input=$configure_input"Generated from `echo $ac_file_in |
                   19073:                                     sed 's,.*/,,'` by configure."
                   19074: 
                   19075:   # First look for the input files in the build tree, otherwise in the
                   19076:   # src tree.
                   19077:   ac_file_inputs=`IFS=:
                   19078:     for f in $ac_file_in; do
                   19079:       case $f in
                   19080:       -) echo $tmp/stdin ;;
                   19081:       [\\/$]*)
                   19082:         # Absolute (can't be DOS-style, as IFS=:)
                   19083:         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   19084: echo "$as_me: error: cannot find input file: $f" >&2;}
                   19085:    { (exit 1); exit 1; }; }
                   19086:         echo "$f";;
                   19087:       *) # Relative
                   19088:         if test -f "$f"; then
                   19089:           # Build tree
                   19090:           echo "$f"
                   19091:         elif test -f "$srcdir/$f"; then
                   19092:           # Source tree
                   19093:           echo "$srcdir/$f"
                   19094:         else
                   19095:           # /dev/null tree
                   19096:           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   19097: echo "$as_me: error: cannot find input file: $f" >&2;}
                   19098:    { (exit 1); exit 1; }; }
                   19099:         fi;;
                   19100:       esac
                   19101:     done` || { (exit 1); exit 1; }
                   19102: _ACEOF
                   19103: cat >>$CONFIG_STATUS <<_ACEOF
                   19104:   sed "$ac_vpsub
                   19105: $extrasub
                   19106: _ACEOF
                   19107: cat >>$CONFIG_STATUS <<\_ACEOF
                   19108: :t
                   19109: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
                   19110: s,@configure_input@,$configure_input,;t t
                   19111: s,@srcdir@,$ac_srcdir,;t t
                   19112: s,@abs_srcdir@,$ac_abs_srcdir,;t t
                   19113: s,@top_srcdir@,$ac_top_srcdir,;t t
                   19114: s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
                   19115: s,@builddir@,$ac_builddir,;t t
                   19116: s,@abs_builddir@,$ac_abs_builddir,;t t
                   19117: s,@top_builddir@,$ac_top_builddir,;t t
                   19118: s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
                   19119: s,@INSTALL@,$ac_INSTALL,;t t
                   19120: " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
                   19121:   rm -f $tmp/stdin
                   19122:   if test x"$ac_file" != x-; then
                   19123:     mv $tmp/out $ac_file
                   19124:   else
                   19125:     cat $tmp/out
                   19126:     rm -f $tmp/out
                   19127:   fi
                   19128: 
                   19129: done
                   19130: _ACEOF
                   19131: cat >>$CONFIG_STATUS <<\_ACEOF
                   19132: 
                   19133: #
                   19134: # CONFIG_HEADER section.
                   19135: #
                   19136: 
                   19137: # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
                   19138: # NAME is the cpp macro being defined and VALUE is the value it is being given.
                   19139: #
                   19140: # ac_d sets the value in "#define NAME VALUE" lines.
                   19141: ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
                   19142: ac_dB='[        ].*$,\1#\2'
                   19143: ac_dC=' '
                   19144: ac_dD=',;t'
                   19145: # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
                   19146: ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
                   19147: ac_uB='$,\1#\2define\3'
                   19148: ac_uC=' '
                   19149: ac_uD=',;t'
                   19150: 
                   19151: for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
                   19152:   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
                   19153:   case $ac_file in
                   19154:   - | *:- | *:-:* ) # input from stdin
                   19155:        cat >$tmp/stdin
                   19156:        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   19157:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   19158:   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   19159:        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
                   19160:   * )   ac_file_in=$ac_file.in ;;
                   19161:   esac
                   19162: 
                   19163:   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
                   19164: echo "$as_me: creating $ac_file" >&6;}
                   19165: 
                   19166:   # First look for the input files in the build tree, otherwise in the
                   19167:   # src tree.
                   19168:   ac_file_inputs=`IFS=:
                   19169:     for f in $ac_file_in; do
                   19170:       case $f in
                   19171:       -) echo $tmp/stdin ;;
                   19172:       [\\/$]*)
                   19173:         # Absolute (can't be DOS-style, as IFS=:)
                   19174:         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   19175: echo "$as_me: error: cannot find input file: $f" >&2;}
                   19176:    { (exit 1); exit 1; }; }
                   19177:         # Do quote $f, to prevent DOS paths from being IFS'd.
                   19178:         echo "$f";;
                   19179:       *) # Relative
                   19180:         if test -f "$f"; then
                   19181:           # Build tree
                   19182:           echo "$f"
                   19183:         elif test -f "$srcdir/$f"; then
                   19184:           # Source tree
                   19185:           echo "$srcdir/$f"
                   19186:         else
                   19187:           # /dev/null tree
                   19188:           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
                   19189: echo "$as_me: error: cannot find input file: $f" >&2;}
                   19190:    { (exit 1); exit 1; }; }
                   19191:         fi;;
                   19192:       esac
                   19193:     done` || { (exit 1); exit 1; }
                   19194:   # Remove the trailing spaces.
                   19195:   sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
                   19196: 
                   19197: _ACEOF
                   19198: 
                   19199: # Transform confdefs.h into two sed scripts, `conftest.defines' and
                   19200: # `conftest.undefs', that substitutes the proper values into
                   19201: # config.h.in to produce config.h.  The first handles `#define'
                   19202: # templates, and the second `#undef' templates.
                   19203: # And first: Protect against being on the right side of a sed subst in
                   19204: # config.status.  Protect against being in an unquoted here document
                   19205: # in config.status.
                   19206: rm -f conftest.defines conftest.undefs
                   19207: # Using a here document instead of a string reduces the quoting nightmare.
                   19208: # Putting comments in sed scripts is not portable.
                   19209: #
                   19210: # `end' is used to avoid that the second main sed command (meant for
                   19211: # 0-ary CPP macros) applies to n-ary macro definitions.
                   19212: # See the Autoconf documentation for `clear'.
                   19213: cat >confdef2sed.sed <<\_ACEOF
                   19214: s/[\\&,]/\\&/g
                   19215: s,[\\$`],\\&,g
                   19216: t clear
                   19217: : clear
                   19218: s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
                   19219: t end
                   19220: s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
                   19221: : end
                   19222: _ACEOF
                   19223: # If some macros were called several times there might be several times
                   19224: # the same #defines, which is useless.  Nevertheless, we may not want to
                   19225: # sort them, since we want the *last* AC-DEFINE to be honored.
                   19226: uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
                   19227: sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
                   19228: rm -f confdef2sed.sed
                   19229: 
                   19230: # This sed command replaces #undef with comments.  This is necessary, for
                   19231: # example, in the case of _POSIX_SOURCE, which is predefined and required
                   19232: # on some systems where configure will not decide to define it.
                   19233: cat >>conftest.undefs <<\_ACEOF
                   19234: s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
                   19235: _ACEOF
                   19236: 
                   19237: # Break up conftest.defines because some shells have a limit on the size
                   19238: # of here documents, and old seds have small limits too (100 cmds).
                   19239: echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
                   19240: echo '  if grep "^[     ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
                   19241: echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
                   19242: echo '  :' >>$CONFIG_STATUS
                   19243: rm -f conftest.tail
                   19244: while grep . conftest.defines >/dev/null
                   19245: do
                   19246:   # Write a limited-size here document to $tmp/defines.sed.
                   19247:   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
                   19248:   # Speed up: don't consider the non `#define' lines.
                   19249:   echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
                   19250:   # Work around the forget-to-reset-the-flag bug.
                   19251:   echo 't clr' >>$CONFIG_STATUS
                   19252:   echo ': clr' >>$CONFIG_STATUS
                   19253:   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
                   19254:   echo 'CEOF
                   19255:   sed -f $tmp/defines.sed $tmp/in >$tmp/out
                   19256:   rm -f $tmp/in
                   19257:   mv $tmp/out $tmp/in
                   19258: ' >>$CONFIG_STATUS
                   19259:   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
                   19260:   rm -f conftest.defines
                   19261:   mv conftest.tail conftest.defines
                   19262: done
                   19263: rm -f conftest.defines
                   19264: echo '  fi # grep' >>$CONFIG_STATUS
                   19265: echo >>$CONFIG_STATUS
                   19266: 
                   19267: # Break up conftest.undefs because some shells have a limit on the size
                   19268: # of here documents, and old seds have small limits too (100 cmds).
                   19269: echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
                   19270: rm -f conftest.tail
                   19271: while grep . conftest.undefs >/dev/null
                   19272: do
                   19273:   # Write a limited-size here document to $tmp/undefs.sed.
                   19274:   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
                   19275:   # Speed up: don't consider the non `#undef'
                   19276:   echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
                   19277:   # Work around the forget-to-reset-the-flag bug.
                   19278:   echo 't clr' >>$CONFIG_STATUS
                   19279:   echo ': clr' >>$CONFIG_STATUS
                   19280:   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
                   19281:   echo 'CEOF
                   19282:   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
                   19283:   rm -f $tmp/in
                   19284:   mv $tmp/out $tmp/in
                   19285: ' >>$CONFIG_STATUS
                   19286:   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
                   19287:   rm -f conftest.undefs
                   19288:   mv conftest.tail conftest.undefs
                   19289: done
                   19290: rm -f conftest.undefs
                   19291: 
                   19292: cat >>$CONFIG_STATUS <<\_ACEOF
                   19293:   # Let's still pretend it is `configure' which instantiates (i.e., don't
                   19294:   # use $as_me), people would be surprised to read:
                   19295:   #    /* config.h.  Generated by config.status.  */
                   19296:   if test x"$ac_file" = x-; then
                   19297:     echo "/* Generated by configure.  */" >$tmp/config.h
                   19298:   else
                   19299:     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
                   19300:   fi
                   19301:   cat $tmp/in >>$tmp/config.h
                   19302:   rm -f $tmp/in
                   19303:   if test x"$ac_file" != x-; then
                   19304:     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
                   19305:       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
                   19306: echo "$as_me: $ac_file is unchanged" >&6;}
                   19307:     else
                   19308:       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
                   19309: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   19310:         X"$ac_file" : 'X\(//\)[^/]' \| \
                   19311:         X"$ac_file" : 'X\(//\)$' \| \
                   19312:         X"$ac_file" : 'X\(/\)' \| \
                   19313:         .     : '\(.\)' 2>/dev/null ||
                   19314: echo X"$ac_file" |
                   19315:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   19316:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   19317:          /^X\(\/\/\)$/{ s//\1/; q; }
                   19318:          /^X\(\/\).*/{ s//\1/; q; }
                   19319:          s/.*/./; q'`
                   19320:       { if $as_mkdir_p; then
                   19321:     mkdir -p "$ac_dir"
                   19322:   else
                   19323:     as_dir="$ac_dir"
                   19324:     as_dirs=
                   19325:     while test ! -d "$as_dir"; do
                   19326:       as_dirs="$as_dir $as_dirs"
                   19327:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   19328: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   19329:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   19330:         X"$as_dir" : 'X\(//\)$' \| \
                   19331:         X"$as_dir" : 'X\(/\)' \| \
                   19332:         .     : '\(.\)' 2>/dev/null ||
                   19333: echo X"$as_dir" |
                   19334:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   19335:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   19336:          /^X\(\/\/\)$/{ s//\1/; q; }
                   19337:          /^X\(\/\).*/{ s//\1/; q; }
                   19338:          s/.*/./; q'`
                   19339:     done
                   19340:     test ! -n "$as_dirs" || mkdir $as_dirs
                   19341:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   19342: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   19343:    { (exit 1); exit 1; }; }; }
                   19344: 
                   19345:       rm -f $ac_file
                   19346:       mv $tmp/config.h $ac_file
                   19347:     fi
                   19348:   else
                   19349:     cat $tmp/config.h
                   19350:     rm -f $tmp/config.h
                   19351:   fi
                   19352: # Compute $ac_file's index in $config_headers.
                   19353: _am_stamp_count=1
                   19354: for _am_header in $config_headers :; do
                   19355:   case $_am_header in
                   19356:     $ac_file | $ac_file:* )
                   19357:       break ;;
                   19358:     * )
                   19359:       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
                   19360:   esac
                   19361: done
                   19362: echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
                   19363: $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   19364:         X$ac_file : 'X\(//\)[^/]' \| \
                   19365:         X$ac_file : 'X\(//\)$' \| \
                   19366:         X$ac_file : 'X\(/\)' \| \
                   19367:         .     : '\(.\)' 2>/dev/null ||
                   19368: echo X$ac_file |
                   19369:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   19370:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   19371:          /^X\(\/\/\)$/{ s//\1/; q; }
                   19372:          /^X\(\/\).*/{ s//\1/; q; }
                   19373:          s/.*/./; q'`/stamp-h$_am_stamp_count
                   19374: done
                   19375: _ACEOF
                   19376: cat >>$CONFIG_STATUS <<\_ACEOF
                   19377: 
                   19378: #
                   19379: # CONFIG_COMMANDS section.
                   19380: #
                   19381: for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
                   19382:   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
                   19383:   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
                   19384:   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
                   19385: $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   19386:         X"$ac_dest" : 'X\(//\)[^/]' \| \
                   19387:         X"$ac_dest" : 'X\(//\)$' \| \
                   19388:         X"$ac_dest" : 'X\(/\)' \| \
                   19389:         .     : '\(.\)' 2>/dev/null ||
                   19390: echo X"$ac_dest" |
                   19391:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   19392:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   19393:          /^X\(\/\/\)$/{ s//\1/; q; }
                   19394:          /^X\(\/\).*/{ s//\1/; q; }
                   19395:          s/.*/./; q'`
                   19396:   { if $as_mkdir_p; then
                   19397:     mkdir -p "$ac_dir"
                   19398:   else
                   19399:     as_dir="$ac_dir"
                   19400:     as_dirs=
                   19401:     while test ! -d "$as_dir"; do
                   19402:       as_dirs="$as_dir $as_dirs"
                   19403:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   19404: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   19405:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   19406:         X"$as_dir" : 'X\(//\)$' \| \
                   19407:         X"$as_dir" : 'X\(/\)' \| \
                   19408:         .     : '\(.\)' 2>/dev/null ||
                   19409: echo X"$as_dir" |
                   19410:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   19411:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   19412:          /^X\(\/\/\)$/{ s//\1/; q; }
                   19413:          /^X\(\/\).*/{ s//\1/; q; }
                   19414:          s/.*/./; q'`
                   19415:     done
                   19416:     test ! -n "$as_dirs" || mkdir $as_dirs
                   19417:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   19418: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   19419:    { (exit 1); exit 1; }; }; }
                   19420: 
                   19421:   ac_builddir=.
                   19422: 
                   19423: if test "$ac_dir" != .; then
                   19424:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   19425:   # A "../" for each directory in $ac_dir_suffix.
                   19426:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   19427: else
                   19428:   ac_dir_suffix= ac_top_builddir=
                   19429: fi
                   19430: 
                   19431: case $srcdir in
                   19432:   .)  # No --srcdir option.  We are building in place.
                   19433:     ac_srcdir=.
                   19434:     if test -z "$ac_top_builddir"; then
                   19435:        ac_top_srcdir=.
                   19436:     else
                   19437:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   19438:     fi ;;
                   19439:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   19440:     ac_srcdir=$srcdir$ac_dir_suffix;
                   19441:     ac_top_srcdir=$srcdir ;;
                   19442:   *) # Relative path.
                   19443:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   19444:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   19445: esac
                   19446: 
                   19447: # Do not use `cd foo && pwd` to compute absolute paths, because
                   19448: # the directories may not exist.
                   19449: case `pwd` in
                   19450: .) ac_abs_builddir="$ac_dir";;
                   19451: *)
                   19452:   case "$ac_dir" in
                   19453:   .) ac_abs_builddir=`pwd`;;
                   19454:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
                   19455:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
                   19456:   esac;;
                   19457: esac
                   19458: case $ac_abs_builddir in
                   19459: .) ac_abs_top_builddir=${ac_top_builddir}.;;
                   19460: *)
                   19461:   case ${ac_top_builddir}. in
                   19462:   .) ac_abs_top_builddir=$ac_abs_builddir;;
                   19463:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
                   19464:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
                   19465:   esac;;
                   19466: esac
                   19467: case $ac_abs_builddir in
                   19468: .) ac_abs_srcdir=$ac_srcdir;;
                   19469: *)
                   19470:   case $ac_srcdir in
                   19471:   .) ac_abs_srcdir=$ac_abs_builddir;;
                   19472:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
                   19473:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
                   19474:   esac;;
                   19475: esac
                   19476: case $ac_abs_builddir in
                   19477: .) ac_abs_top_srcdir=$ac_top_srcdir;;
                   19478: *)
                   19479:   case $ac_top_srcdir in
                   19480:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
                   19481:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
                   19482:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
                   19483:   esac;;
                   19484: esac
                   19485: 
                   19486: 
                   19487:   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
                   19488: echo "$as_me: executing $ac_dest commands" >&6;}
                   19489:   case $ac_dest in
                   19490:     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
                   19491:   # Strip MF so we end up with the name of the file.
                   19492:   mf=`echo "$mf" | sed -e 's/:.*$//'`
                   19493:   # Check whether this is an Automake generated Makefile or not.
                   19494:   # We used to match only the files named `Makefile.in', but
                   19495:   # some people rename them; so instead we look at the file content.
                   19496:   # Grep'ing the first line is not enough: some people post-process
                   19497:   # each Makefile.in and add a new line on top of each file to say so.
                   19498:   # So let's grep whole file.
                   19499:   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
                   19500:     dirpart=`(dirname "$mf") 2>/dev/null ||
                   19501: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   19502:         X"$mf" : 'X\(//\)[^/]' \| \
                   19503:         X"$mf" : 'X\(//\)$' \| \
                   19504:         X"$mf" : 'X\(/\)' \| \
                   19505:         .     : '\(.\)' 2>/dev/null ||
                   19506: echo X"$mf" |
                   19507:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   19508:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   19509:          /^X\(\/\/\)$/{ s//\1/; q; }
                   19510:          /^X\(\/\).*/{ s//\1/; q; }
                   19511:          s/.*/./; q'`
                   19512:   else
                   19513:     continue
                   19514:   fi
                   19515:   # Extract the definition of DEPDIR, am__include, and am__quote
                   19516:   # from the Makefile without running `make'.
                   19517:   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
                   19518:   test -z "$DEPDIR" && continue
                   19519:   am__include=`sed -n 's/^am__include = //p' < "$mf"`
                   19520:   test -z "am__include" && continue
                   19521:   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
                   19522:   # When using ansi2knr, U may be empty or an underscore; expand it
                   19523:   U=`sed -n 's/^U = //p' < "$mf"`
                   19524:   # Find all dependency output files, they are included files with
                   19525:   # $(DEPDIR) in their names.  We invoke sed twice because it is the
                   19526:   # simplest approach to changing $(DEPDIR) to its actual value in the
                   19527:   # expansion.
                   19528:   for file in `sed -n "
                   19529:     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
                   19530:        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
                   19531:     # Make sure the directory exists.
                   19532:     test -f "$dirpart/$file" && continue
                   19533:     fdir=`(dirname "$file") 2>/dev/null ||
                   19534: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   19535:         X"$file" : 'X\(//\)[^/]' \| \
                   19536:         X"$file" : 'X\(//\)$' \| \
                   19537:         X"$file" : 'X\(/\)' \| \
                   19538:         .     : '\(.\)' 2>/dev/null ||
                   19539: echo X"$file" |
                   19540:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   19541:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   19542:          /^X\(\/\/\)$/{ s//\1/; q; }
                   19543:          /^X\(\/\).*/{ s//\1/; q; }
                   19544:          s/.*/./; q'`
                   19545:     { if $as_mkdir_p; then
                   19546:     mkdir -p $dirpart/$fdir
                   19547:   else
                   19548:     as_dir=$dirpart/$fdir
                   19549:     as_dirs=
                   19550:     while test ! -d "$as_dir"; do
                   19551:       as_dirs="$as_dir $as_dirs"
                   19552:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   19553: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
                   19554:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   19555:         X"$as_dir" : 'X\(//\)$' \| \
                   19556:         X"$as_dir" : 'X\(/\)' \| \
                   19557:         .     : '\(.\)' 2>/dev/null ||
                   19558: echo X"$as_dir" |
                   19559:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   19560:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   19561:          /^X\(\/\/\)$/{ s//\1/; q; }
                   19562:          /^X\(\/\).*/{ s//\1/; q; }
                   19563:          s/.*/./; q'`
                   19564:     done
                   19565:     test ! -n "$as_dirs" || mkdir $as_dirs
                   19566:   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
                   19567: echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
                   19568:    { (exit 1); exit 1; }; }; }
                   19569: 
                   19570:     # echo "creating $dirpart/$file"
                   19571:     echo '# dummy' > "$dirpart/$file"
                   19572:   done
                   19573: done
                   19574:  ;;
                   19575:     libtool )
                   19576: 
                   19577:     # See if we are running on zsh, and set the options which allow our
                   19578:     # commands through without removal of \ escapes.
                   19579:     if test -n "${ZSH_VERSION+set}" ; then
                   19580:       setopt NO_GLOB_SUBST
                   19581:     fi
                   19582: 
                   19583:     cfgfile="${ofile}T"
                   19584:     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
                   19585:     $RM "$cfgfile"
                   19586: 
                   19587:     cat <<_LT_EOF >> "$cfgfile"
                   19588: #! $SHELL
                   19589: 
                   19590: # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
                   19591: # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
                   19592: # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
                   19593: # NOTE: Changes made to this file will be lost: look at ltmain.sh.
                   19594: #
                   19595: #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
                   19596: #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
                   19597: #                 Foundation, Inc.
                   19598: #   Written by Gordon Matzigkeit, 1996
                   19599: #
                   19600: #   This file is part of GNU Libtool.
                   19601: #
                   19602: # GNU Libtool is free software; you can redistribute it and/or
                   19603: # modify it under the terms of the GNU General Public License as
                   19604: # published by the Free Software Foundation; either version 2 of
                   19605: # the License, or (at your option) any later version.
                   19606: #
                   19607: # As a special exception to the GNU General Public License,
                   19608: # if you distribute this file as part of a program or library that
                   19609: # is built using GNU Libtool, you may include this file under the
                   19610: # same distribution terms that you use for the rest of that program.
                   19611: #
                   19612: # GNU Libtool is distributed in the hope that it will be useful,
                   19613: # but WITHOUT ANY WARRANTY; without even the implied warranty of
                   19614: # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
                   19615: # GNU General Public License for more details.
                   19616: #
                   19617: # You should have received a copy of the GNU General Public License
                   19618: # along with GNU Libtool; see the file COPYING.  If not, a copy
                   19619: # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
                   19620: # obtained by writing to the Free Software Foundation, Inc.,
                   19621: # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
                   19622: 
                   19623: 
                   19624: # The names of the tagged configurations supported by this script.
                   19625: available_tags="CXX "
                   19626: 
                   19627: # ### BEGIN LIBTOOL CONFIG
                   19628: 
                   19629: # Which release of libtool.m4 was used?
                   19630: macro_version=$macro_version
                   19631: macro_revision=$macro_revision
                   19632: 
1.31    ! moko     19633: # Whether or not to build static libraries.
        !          19634: build_old_libs=$enable_static
        !          19635: 
1.25      moko     19636: # Assembler program.
                   19637: AS=$lt_AS
                   19638: 
                   19639: # DLL creation program.
                   19640: DLLTOOL=$lt_DLLTOOL
                   19641: 
                   19642: # Object dumper program.
                   19643: OBJDUMP=$lt_OBJDUMP
                   19644: 
                   19645: # Whether or not to build shared libraries.
                   19646: build_libtool_libs=$enable_shared
                   19647: 
                   19648: # What type of objects to build.
                   19649: pic_mode=$pic_mode
                   19650: 
                   19651: # Whether or not to optimize for fast installation.
                   19652: fast_install=$enable_fast_install
                   19653: 
                   19654: # Shell to use when invoking shell scripts.
                   19655: SHELL=$lt_SHELL
                   19656: 
                   19657: # An echo program that protects backslashes.
                   19658: ECHO=$lt_ECHO
                   19659: 
                   19660: # The PATH separator for the build system.
                   19661: PATH_SEPARATOR=$lt_PATH_SEPARATOR
                   19662: 
                   19663: # The host system.
                   19664: host_alias=$host_alias
                   19665: host=$host
                   19666: host_os=$host_os
                   19667: 
                   19668: # The build system.
                   19669: build_alias=$build_alias
                   19670: build=$build
                   19671: build_os=$build_os
                   19672: 
                   19673: # A sed program that does not truncate output.
                   19674: SED=$lt_SED
                   19675: 
                   19676: # Sed that helps us avoid accidentally triggering echo(1) options like -n.
                   19677: Xsed="\$SED -e 1s/^X//"
                   19678: 
                   19679: # A grep program that handles long lines.
                   19680: GREP=$lt_GREP
                   19681: 
                   19682: # An ERE matcher.
                   19683: EGREP=$lt_EGREP
                   19684: 
                   19685: # A literal string matcher.
                   19686: FGREP=$lt_FGREP
                   19687: 
                   19688: # A BSD- or MS-compatible name lister.
                   19689: NM=$lt_NM
                   19690: 
                   19691: # Whether we need soft or hard links.
                   19692: LN_S=$lt_LN_S
                   19693: 
                   19694: # What is the maximum length of a command?
                   19695: max_cmd_len=$max_cmd_len
                   19696: 
                   19697: # Object file suffix (normally "o").
                   19698: objext=$ac_objext
                   19699: 
                   19700: # Executable file suffix (normally "").
                   19701: exeext=$exeext
                   19702: 
                   19703: # whether the shell understands "unset".
                   19704: lt_unset=$lt_unset
                   19705: 
                   19706: # turn spaces into newlines.
                   19707: SP2NL=$lt_lt_SP2NL
                   19708: 
                   19709: # turn newlines into spaces.
                   19710: NL2SP=$lt_lt_NL2SP
                   19711: 
                   19712: # convert \$build file names to \$host format.
                   19713: to_host_file_cmd=$lt_cv_to_host_file_cmd
                   19714: 
                   19715: # convert \$build files to toolchain format.
                   19716: to_tool_file_cmd=$lt_cv_to_tool_file_cmd
                   19717: 
                   19718: # Method to check whether dependent libraries are shared objects.
                   19719: deplibs_check_method=$lt_deplibs_check_method
                   19720: 
                   19721: # Command to use when deplibs_check_method = "file_magic".
                   19722: file_magic_cmd=$lt_file_magic_cmd
                   19723: 
                   19724: # How to find potential files when deplibs_check_method = "file_magic".
                   19725: file_magic_glob=$lt_file_magic_glob
                   19726: 
                   19727: # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
                   19728: want_nocaseglob=$lt_want_nocaseglob
                   19729: 
                   19730: # Command to associate shared and link libraries.
                   19731: sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
                   19732: 
                   19733: # The archiver.
                   19734: AR=$lt_AR
                   19735: 
                   19736: # Flags to create an archive.
                   19737: AR_FLAGS=$lt_AR_FLAGS
                   19738: 
                   19739: # How to feed a file listing to the archiver.
                   19740: archiver_list_spec=$lt_archiver_list_spec
                   19741: 
                   19742: # A symbol stripping program.
                   19743: STRIP=$lt_STRIP
                   19744: 
                   19745: # Commands used to install an old-style archive.
                   19746: RANLIB=$lt_RANLIB
                   19747: old_postinstall_cmds=$lt_old_postinstall_cmds
                   19748: old_postuninstall_cmds=$lt_old_postuninstall_cmds
                   19749: 
                   19750: # Whether to use a lock for old archive extraction.
                   19751: lock_old_archive_extraction=$lock_old_archive_extraction
                   19752: 
                   19753: # A C compiler.
                   19754: LTCC=$lt_CC
                   19755: 
                   19756: # LTCC compiler flags.
                   19757: LTCFLAGS=$lt_CFLAGS
                   19758: 
                   19759: # Take the output of nm and produce a listing of raw symbols and C names.
                   19760: global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
                   19761: 
                   19762: # Transform the output of nm in a proper C declaration.
                   19763: global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
                   19764: 
                   19765: # Transform the output of nm in a C name address pair.
                   19766: global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
                   19767: 
                   19768: # Transform the output of nm in a C name address pair when lib prefix is needed.
                   19769: global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
                   19770: 
                   19771: # Specify filename containing input files for \$NM.
                   19772: nm_file_list_spec=$lt_nm_file_list_spec
                   19773: 
                   19774: # The root where to search for dependent libraries,and in which our libraries should be installed.
                   19775: lt_sysroot=$lt_sysroot
                   19776: 
                   19777: # The name of the directory that contains temporary libtool files.
                   19778: objdir=$objdir
                   19779: 
                   19780: # Used to examine libraries when file_magic_cmd begins with "file".
                   19781: MAGIC_CMD=$MAGIC_CMD
                   19782: 
                   19783: # Must we lock files when doing compilation?
                   19784: need_locks=$lt_need_locks
                   19785: 
                   19786: # Manifest tool.
                   19787: MANIFEST_TOOL=$lt_MANIFEST_TOOL
                   19788: 
                   19789: # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
                   19790: DSYMUTIL=$lt_DSYMUTIL
                   19791: 
                   19792: # Tool to change global to local symbols on Mac OS X.
                   19793: NMEDIT=$lt_NMEDIT
                   19794: 
                   19795: # Tool to manipulate fat objects and archives on Mac OS X.
                   19796: LIPO=$lt_LIPO
                   19797: 
                   19798: # ldd/readelf like tool for Mach-O binaries on Mac OS X.
                   19799: OTOOL=$lt_OTOOL
                   19800: 
                   19801: # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
                   19802: OTOOL64=$lt_OTOOL64
                   19803: 
                   19804: # Old archive suffix (normally "a").
                   19805: libext=$libext
                   19806: 
                   19807: # Shared library suffix (normally ".so").
                   19808: shrext_cmds=$lt_shrext_cmds
                   19809: 
                   19810: # The commands to extract the exported symbol list from a shared archive.
                   19811: extract_expsyms_cmds=$lt_extract_expsyms_cmds
                   19812: 
                   19813: # Variables whose values should be saved in libtool wrapper scripts and
                   19814: # restored at link time.
                   19815: variables_saved_for_relink=$lt_variables_saved_for_relink
                   19816: 
                   19817: # Do we need the "lib" prefix for modules?
                   19818: need_lib_prefix=$need_lib_prefix
                   19819: 
                   19820: # Do we need a version for libraries?
                   19821: need_version=$need_version
                   19822: 
                   19823: # Library versioning type.
                   19824: version_type=$version_type
                   19825: 
                   19826: # Shared library runtime path variable.
                   19827: runpath_var=$runpath_var
                   19828: 
                   19829: # Shared library path variable.
                   19830: shlibpath_var=$shlibpath_var
                   19831: 
                   19832: # Is shlibpath searched before the hard-coded library search path?
                   19833: shlibpath_overrides_runpath=$shlibpath_overrides_runpath
                   19834: 
                   19835: # Format of library name prefix.
                   19836: libname_spec=$lt_libname_spec
                   19837: 
                   19838: # List of archive names.  First name is the real one, the rest are links.
                   19839: # The last name is the one that the linker finds with -lNAME
                   19840: library_names_spec=$lt_library_names_spec
                   19841: 
                   19842: # The coded name of the library, if different from the real name.
                   19843: soname_spec=$lt_soname_spec
                   19844: 
                   19845: # Permission mode override for installation of shared libraries.
                   19846: install_override_mode=$lt_install_override_mode
                   19847: 
                   19848: # Command to use after installation of a shared archive.
                   19849: postinstall_cmds=$lt_postinstall_cmds
                   19850: 
                   19851: # Command to use after uninstallation of a shared archive.
                   19852: postuninstall_cmds=$lt_postuninstall_cmds
                   19853: 
                   19854: # Commands used to finish a libtool library installation in a directory.
                   19855: finish_cmds=$lt_finish_cmds
                   19856: 
                   19857: # As "finish_cmds", except a single script fragment to be evaled but
                   19858: # not shown.
                   19859: finish_eval=$lt_finish_eval
                   19860: 
                   19861: # Whether we should hardcode library paths into libraries.
                   19862: hardcode_into_libs=$hardcode_into_libs
                   19863: 
                   19864: # Compile-time system search path for libraries.
                   19865: sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
                   19866: 
                   19867: # Run-time system search path for libraries.
                   19868: sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
                   19869: 
                   19870: # Whether dlopen is supported.
                   19871: dlopen_support=$enable_dlopen
                   19872: 
                   19873: # Whether dlopen of programs is supported.
                   19874: dlopen_self=$enable_dlopen_self
                   19875: 
                   19876: # Whether dlopen of statically linked programs is supported.
                   19877: dlopen_self_static=$enable_dlopen_self_static
                   19878: 
                   19879: # Commands to strip libraries.
                   19880: old_striplib=$lt_old_striplib
                   19881: striplib=$lt_striplib
                   19882: 
                   19883: 
                   19884: # The linker used to build libraries.
                   19885: LD=$lt_LD
                   19886: 
                   19887: # How to create reloadable object files.
                   19888: reload_flag=$lt_reload_flag
                   19889: reload_cmds=$lt_reload_cmds
                   19890: 
                   19891: # Commands used to build an old-style archive.
                   19892: old_archive_cmds=$lt_old_archive_cmds
                   19893: 
                   19894: # A language specific compiler.
                   19895: CC=$lt_compiler
                   19896: 
                   19897: # Is the compiler the GNU compiler?
                   19898: with_gcc=$GCC
                   19899: 
                   19900: # Compiler flag to turn off builtin functions.
                   19901: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
                   19902: 
                   19903: # Additional compiler flags for building library objects.
                   19904: pic_flag=$lt_lt_prog_compiler_pic
                   19905: 
                   19906: # How to pass a linker flag through the compiler.
                   19907: wl=$lt_lt_prog_compiler_wl
                   19908: 
                   19909: # Compiler flag to prevent dynamic linking.
                   19910: link_static_flag=$lt_lt_prog_compiler_static
                   19911: 
                   19912: # Does compiler simultaneously support -c and -o options?
                   19913: compiler_c_o=$lt_lt_cv_prog_compiler_c_o
                   19914: 
                   19915: # Whether or not to add -lc for building shared libraries.
                   19916: build_libtool_need_lc=$archive_cmds_need_lc
                   19917: 
                   19918: # Whether or not to disallow shared libs when runtime libs are static.
                   19919: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
                   19920: 
                   19921: # Compiler flag to allow reflexive dlopens.
                   19922: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
                   19923: 
                   19924: # Compiler flag to generate shared objects directly from archives.
                   19925: whole_archive_flag_spec=$lt_whole_archive_flag_spec
                   19926: 
                   19927: # Whether the compiler copes with passing no objects directly.
                   19928: compiler_needs_object=$lt_compiler_needs_object
                   19929: 
                   19930: # Create an old-style archive from a shared archive.
                   19931: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
                   19932: 
                   19933: # Create a temporary old-style archive to link instead of a shared archive.
                   19934: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
                   19935: 
                   19936: # Commands used to build a shared archive.
                   19937: archive_cmds=$lt_archive_cmds
                   19938: archive_expsym_cmds=$lt_archive_expsym_cmds
                   19939: 
                   19940: # Commands used to build a loadable module if different from building
                   19941: # a shared archive.
                   19942: module_cmds=$lt_module_cmds
                   19943: module_expsym_cmds=$lt_module_expsym_cmds
                   19944: 
                   19945: # Whether we are building with GNU ld or not.
                   19946: with_gnu_ld=$lt_with_gnu_ld
                   19947: 
                   19948: # Flag that allows shared libraries with undefined symbols to be built.
                   19949: allow_undefined_flag=$lt_allow_undefined_flag
                   19950: 
                   19951: # Flag that enforces no undefined symbols.
                   19952: no_undefined_flag=$lt_no_undefined_flag
                   19953: 
                   19954: # Flag to hardcode \$libdir into a binary during linking.
                   19955: # This must work even if \$libdir does not exist
                   19956: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
                   19957: 
                   19958: # Whether we need a single "-rpath" flag with a separated argument.
                   19959: hardcode_libdir_separator=$lt_hardcode_libdir_separator
                   19960: 
                   19961: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   19962: # DIR into the resulting binary.
                   19963: hardcode_direct=$hardcode_direct
                   19964: 
                   19965: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   19966: # DIR into the resulting binary and the resulting library dependency is
                   19967: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   19968: # library is relocated.
                   19969: hardcode_direct_absolute=$hardcode_direct_absolute
                   19970: 
                   19971: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   19972: # into the resulting binary.
                   19973: hardcode_minus_L=$hardcode_minus_L
                   19974: 
                   19975: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   19976: # into the resulting binary.
                   19977: hardcode_shlibpath_var=$hardcode_shlibpath_var
                   19978: 
                   19979: # Set to "yes" if building a shared library automatically hardcodes DIR
                   19980: # into the library and all subsequent libraries and executables linked
                   19981: # against it.
                   19982: hardcode_automatic=$hardcode_automatic
                   19983: 
                   19984: # Set to yes if linker adds runtime paths of dependent libraries
                   19985: # to runtime path list.
                   19986: inherit_rpath=$inherit_rpath
                   19987: 
                   19988: # Whether libtool must link a program against all its dependency libraries.
                   19989: link_all_deplibs=$link_all_deplibs
                   19990: 
                   19991: # Set to "yes" if exported symbols are required.
                   19992: always_export_symbols=$always_export_symbols
                   19993: 
                   19994: # The commands to list exported symbols.
                   19995: export_symbols_cmds=$lt_export_symbols_cmds
                   19996: 
                   19997: # Symbols that should not be listed in the preloaded symbols.
                   19998: exclude_expsyms=$lt_exclude_expsyms
                   19999: 
                   20000: # Symbols that must always be exported.
                   20001: include_expsyms=$lt_include_expsyms
                   20002: 
                   20003: # Commands necessary for linking programs (against libraries) with templates.
                   20004: prelink_cmds=$lt_prelink_cmds
                   20005: 
                   20006: # Commands necessary for finishing linking programs.
                   20007: postlink_cmds=$lt_postlink_cmds
                   20008: 
                   20009: # Specify filename containing input files.
                   20010: file_list_spec=$lt_file_list_spec
                   20011: 
                   20012: # How to hardcode a shared library path into an executable.
                   20013: hardcode_action=$hardcode_action
                   20014: 
                   20015: # The directories searched by this compiler when creating a shared library.
                   20016: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
                   20017: 
                   20018: # Dependencies to place before and after the objects being linked to
                   20019: # create a shared library.
                   20020: predep_objects=$lt_predep_objects
                   20021: postdep_objects=$lt_postdep_objects
                   20022: predeps=$lt_predeps
                   20023: postdeps=$lt_postdeps
                   20024: 
                   20025: # The library search path used internally by the compiler when linking
                   20026: # a shared library.
                   20027: compiler_lib_search_path=$lt_compiler_lib_search_path
                   20028: 
                   20029: # ### END LIBTOOL CONFIG
                   20030: 
                   20031: _LT_EOF
                   20032: 
                   20033:   case $host_os in
                   20034:   aix3*)
                   20035:     cat <<\_LT_EOF >> "$cfgfile"
                   20036: # AIX sometimes has problems with the GCC collect2 program.  For some
                   20037: # reason, if we set the COLLECT_NAMES environment variable, the problems
                   20038: # vanish in a puff of smoke.
                   20039: if test "X${COLLECT_NAMES+set}" != Xset; then
                   20040:   COLLECT_NAMES=
                   20041:   export COLLECT_NAMES
                   20042: fi
                   20043: _LT_EOF
                   20044:     ;;
                   20045:   esac
                   20046: 
                   20047: 
                   20048: ltmain="$ac_aux_dir/ltmain.sh"
                   20049: 
                   20050: 
                   20051:   # We use sed instead of cat because bash on DJGPP gets confused if
                   20052:   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
                   20053:   # text mode, it properly converts lines to CR/LF.  This bash problem
                   20054:   # is reportedly fixed, but why not run on old versions too?
                   20055:   sed '$q' "$ltmain" >> "$cfgfile" \
                   20056:      || (rm -f "$cfgfile"; exit 1)
                   20057: 
                   20058:   if test x"$xsi_shell" = xyes; then
                   20059:   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
                   20060: func_dirname ()\
                   20061: {\
                   20062: \    case ${1} in\
                   20063: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   20064: \      *  ) func_dirname_result="${3}" ;;\
                   20065: \    esac\
                   20066: } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
                   20067:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20068:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20069: test 0 -eq $? || _lt_function_replace_fail=:
                   20070: 
                   20071: 
                   20072:   sed -e '/^func_basename ()$/,/^} # func_basename /c\
                   20073: func_basename ()\
                   20074: {\
                   20075: \    func_basename_result="${1##*/}"\
                   20076: } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   20077:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20078:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20079: test 0 -eq $? || _lt_function_replace_fail=:
                   20080: 
                   20081: 
                   20082:   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
                   20083: func_dirname_and_basename ()\
                   20084: {\
                   20085: \    case ${1} in\
                   20086: \      */*) func_dirname_result="${1%/*}${2}" ;;\
                   20087: \      *  ) func_dirname_result="${3}" ;;\
                   20088: \    esac\
                   20089: \    func_basename_result="${1##*/}"\
                   20090: } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
                   20091:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20092:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20093: test 0 -eq $? || _lt_function_replace_fail=:
                   20094: 
                   20095: 
                   20096:   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
                   20097: func_stripname ()\
                   20098: {\
                   20099: \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
                   20100: \    # positional parameters, so assign one to ordinary parameter first.\
                   20101: \    func_stripname_result=${3}\
                   20102: \    func_stripname_result=${func_stripname_result#"${1}"}\
                   20103: \    func_stripname_result=${func_stripname_result%"${2}"}\
                   20104: } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
                   20105:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20106:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20107: test 0 -eq $? || _lt_function_replace_fail=:
                   20108: 
                   20109: 
                   20110:   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
                   20111: func_split_long_opt ()\
                   20112: {\
                   20113: \    func_split_long_opt_name=${1%%=*}\
                   20114: \    func_split_long_opt_arg=${1#*=}\
                   20115: } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   20116:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20117:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20118: test 0 -eq $? || _lt_function_replace_fail=:
                   20119: 
                   20120: 
                   20121:   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
                   20122: func_split_short_opt ()\
                   20123: {\
                   20124: \    func_split_short_opt_arg=${1#??}\
                   20125: \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
                   20126: } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
                   20127:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20128:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20129: test 0 -eq $? || _lt_function_replace_fail=:
                   20130: 
                   20131: 
                   20132:   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
                   20133: func_lo2o ()\
                   20134: {\
                   20135: \    case ${1} in\
                   20136: \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
                   20137: \      *)    func_lo2o_result=${1} ;;\
                   20138: \    esac\
                   20139: } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
                   20140:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20141:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20142: test 0 -eq $? || _lt_function_replace_fail=:
                   20143: 
                   20144: 
                   20145:   sed -e '/^func_xform ()$/,/^} # func_xform /c\
                   20146: func_xform ()\
                   20147: {\
                   20148:     func_xform_result=${1%.*}.lo\
                   20149: } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
                   20150:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20151:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20152: test 0 -eq $? || _lt_function_replace_fail=:
                   20153: 
                   20154: 
                   20155:   sed -e '/^func_arith ()$/,/^} # func_arith /c\
                   20156: func_arith ()\
                   20157: {\
                   20158:     func_arith_result=$(( $* ))\
                   20159: } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
                   20160:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20161:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20162: test 0 -eq $? || _lt_function_replace_fail=:
                   20163: 
                   20164: 
                   20165:   sed -e '/^func_len ()$/,/^} # func_len /c\
                   20166: func_len ()\
                   20167: {\
                   20168:     func_len_result=${#1}\
                   20169: } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
                   20170:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20171:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20172: test 0 -eq $? || _lt_function_replace_fail=:
                   20173: 
                   20174: fi
                   20175: 
                   20176: if test x"$lt_shell_append" = xyes; then
                   20177:   sed -e '/^func_append ()$/,/^} # func_append /c\
                   20178: func_append ()\
                   20179: {\
                   20180:     eval "${1}+=\\${2}"\
                   20181: } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
                   20182:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20183:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20184: test 0 -eq $? || _lt_function_replace_fail=:
                   20185: 
                   20186: 
                   20187:   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
                   20188: func_append_quoted ()\
                   20189: {\
                   20190: \    func_quote_for_eval "${2}"\
                   20191: \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
                   20192: } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
                   20193:   && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20194:     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20195: test 0 -eq $? || _lt_function_replace_fail=:
                   20196: 
                   20197: 
                   20198:   # Save a `func_append' function call where possible by direct use of '+='
                   20199:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
                   20200:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20201:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20202:   test 0 -eq $? || _lt_function_replace_fail=:
                   20203: else
                   20204:   # Save a `func_append' function call even when '+=' is not available
                   20205:   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
                   20206:     && mv -f "$cfgfile.tmp" "$cfgfile" \
                   20207:       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
                   20208:   test 0 -eq $? || _lt_function_replace_fail=:
                   20209: fi
                   20210: 
                   20211: if test x"$_lt_function_replace_fail" = x":"; then
                   20212:   { echo "$as_me:$LINENO: WARNING: Unable to substitute extended shell functions in $ofile" >&5
                   20213: echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
                   20214: fi
                   20215: 
                   20216: 
                   20217:    mv -f "$cfgfile" "$ofile" ||
                   20218:     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
                   20219:   chmod +x "$ofile"
                   20220: 
                   20221: 
                   20222:     cat <<_LT_EOF >> "$ofile"
                   20223: 
                   20224: # ### BEGIN LIBTOOL TAG CONFIG: CXX
                   20225: 
                   20226: # The linker used to build libraries.
                   20227: LD=$lt_LD_CXX
                   20228: 
                   20229: # How to create reloadable object files.
                   20230: reload_flag=$lt_reload_flag_CXX
                   20231: reload_cmds=$lt_reload_cmds_CXX
                   20232: 
                   20233: # Commands used to build an old-style archive.
                   20234: old_archive_cmds=$lt_old_archive_cmds_CXX
                   20235: 
                   20236: # A language specific compiler.
                   20237: CC=$lt_compiler_CXX
                   20238: 
                   20239: # Is the compiler the GNU compiler?
                   20240: with_gcc=$GCC_CXX
                   20241: 
                   20242: # Compiler flag to turn off builtin functions.
                   20243: no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
                   20244: 
                   20245: # Additional compiler flags for building library objects.
                   20246: pic_flag=$lt_lt_prog_compiler_pic_CXX
                   20247: 
                   20248: # How to pass a linker flag through the compiler.
                   20249: wl=$lt_lt_prog_compiler_wl_CXX
                   20250: 
                   20251: # Compiler flag to prevent dynamic linking.
                   20252: link_static_flag=$lt_lt_prog_compiler_static_CXX
                   20253: 
                   20254: # Does compiler simultaneously support -c and -o options?
                   20255: compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
                   20256: 
                   20257: # Whether or not to add -lc for building shared libraries.
                   20258: build_libtool_need_lc=$archive_cmds_need_lc_CXX
                   20259: 
                   20260: # Whether or not to disallow shared libs when runtime libs are static.
                   20261: allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
                   20262: 
                   20263: # Compiler flag to allow reflexive dlopens.
                   20264: export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
                   20265: 
                   20266: # Compiler flag to generate shared objects directly from archives.
                   20267: whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
                   20268: 
                   20269: # Whether the compiler copes with passing no objects directly.
                   20270: compiler_needs_object=$lt_compiler_needs_object_CXX
                   20271: 
                   20272: # Create an old-style archive from a shared archive.
                   20273: old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
                   20274: 
                   20275: # Create a temporary old-style archive to link instead of a shared archive.
                   20276: old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
                   20277: 
                   20278: # Commands used to build a shared archive.
                   20279: archive_cmds=$lt_archive_cmds_CXX
                   20280: archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
                   20281: 
                   20282: # Commands used to build a loadable module if different from building
                   20283: # a shared archive.
                   20284: module_cmds=$lt_module_cmds_CXX
                   20285: module_expsym_cmds=$lt_module_expsym_cmds_CXX
                   20286: 
                   20287: # Whether we are building with GNU ld or not.
                   20288: with_gnu_ld=$lt_with_gnu_ld_CXX
                   20289: 
                   20290: # Flag that allows shared libraries with undefined symbols to be built.
                   20291: allow_undefined_flag=$lt_allow_undefined_flag_CXX
                   20292: 
                   20293: # Flag that enforces no undefined symbols.
                   20294: no_undefined_flag=$lt_no_undefined_flag_CXX
                   20295: 
                   20296: # Flag to hardcode \$libdir into a binary during linking.
                   20297: # This must work even if \$libdir does not exist
                   20298: hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
                   20299: 
                   20300: # Whether we need a single "-rpath" flag with a separated argument.
                   20301: hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
                   20302: 
                   20303: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   20304: # DIR into the resulting binary.
                   20305: hardcode_direct=$hardcode_direct_CXX
                   20306: 
                   20307: # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
                   20308: # DIR into the resulting binary and the resulting library dependency is
                   20309: # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
                   20310: # library is relocated.
                   20311: hardcode_direct_absolute=$hardcode_direct_absolute_CXX
                   20312: 
                   20313: # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
                   20314: # into the resulting binary.
                   20315: hardcode_minus_L=$hardcode_minus_L_CXX
                   20316: 
                   20317: # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
                   20318: # into the resulting binary.
                   20319: hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
                   20320: 
                   20321: # Set to "yes" if building a shared library automatically hardcodes DIR
                   20322: # into the library and all subsequent libraries and executables linked
                   20323: # against it.
                   20324: hardcode_automatic=$hardcode_automatic_CXX
                   20325: 
                   20326: # Set to yes if linker adds runtime paths of dependent libraries
                   20327: # to runtime path list.
                   20328: inherit_rpath=$inherit_rpath_CXX
                   20329: 
                   20330: # Whether libtool must link a program against all its dependency libraries.
                   20331: link_all_deplibs=$link_all_deplibs_CXX
                   20332: 
                   20333: # Set to "yes" if exported symbols are required.
                   20334: always_export_symbols=$always_export_symbols_CXX
                   20335: 
                   20336: # The commands to list exported symbols.
                   20337: export_symbols_cmds=$lt_export_symbols_cmds_CXX
                   20338: 
                   20339: # Symbols that should not be listed in the preloaded symbols.
                   20340: exclude_expsyms=$lt_exclude_expsyms_CXX
1.11      paf      20341: 
1.25      moko     20342: # Symbols that must always be exported.
                   20343: include_expsyms=$lt_include_expsyms_CXX
1.1       parser   20344: 
1.25      moko     20345: # Commands necessary for linking programs (against libraries) with templates.
                   20346: prelink_cmds=$lt_prelink_cmds_CXX
1.18      paf      20347: 
1.25      moko     20348: # Commands necessary for finishing linking programs.
                   20349: postlink_cmds=$lt_postlink_cmds_CXX
1.11      paf      20350: 
1.25      moko     20351: # Specify filename containing input files.
                   20352: file_list_spec=$lt_file_list_spec_CXX
1.11      paf      20353: 
1.25      moko     20354: # How to hardcode a shared library path into an executable.
                   20355: hardcode_action=$hardcode_action_CXX
1.18      paf      20356: 
1.25      moko     20357: # The directories searched by this compiler when creating a shared library.
                   20358: compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
1.11      paf      20359: 
1.25      moko     20360: # Dependencies to place before and after the objects being linked to
                   20361: # create a shared library.
                   20362: predep_objects=$lt_predep_objects_CXX
                   20363: postdep_objects=$lt_postdep_objects_CXX
                   20364: predeps=$lt_predeps_CXX
                   20365: postdeps=$lt_postdeps_CXX
                   20366: 
                   20367: # The library search path used internally by the compiler when linking
                   20368: # a shared library.
                   20369: compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
1.11      paf      20370: 
1.25      moko     20371: # ### END LIBTOOL TAG CONFIG: CXX
                   20372: _LT_EOF
1.1       parser   20373: 
1.11      paf      20374:  ;;
                   20375:   esac
                   20376: done
                   20377: _ACEOF
1.1       parser   20378: 
1.11      paf      20379: cat >>$CONFIG_STATUS <<\_ACEOF
1.1       parser   20380: 
1.11      paf      20381: { (exit 0); exit 0; }
                   20382: _ACEOF
1.1       parser   20383: chmod +x $CONFIG_STATUS
1.11      paf      20384: ac_clean_files=$ac_clean_files_save
                   20385: 
                   20386: 
                   20387: # configure is writing to config.log, and then calls config.status.
                   20388: # config.status does its own redirection, appending to config.log.
                   20389: # Unfortunately, on DOS this fails, as config.log is still kept open
                   20390: # by configure, so config.status won't be able to write to it; its
                   20391: # output is simply discarded.  So we exec the FD to /dev/null,
                   20392: # effectively closing config.log, so it can be properly (re)opened and
                   20393: # appended to by config.status.  When coming back to configure, we
                   20394: # need to make the FD available again.
                   20395: if test "$no_create" != yes; then
                   20396:   ac_cs_success=:
                   20397:   ac_config_status_args=
                   20398:   test "$silent" = yes &&
                   20399:     ac_config_status_args="$ac_config_status_args --quiet"
                   20400:   exec 5>/dev/null
                   20401:   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
                   20402:   exec 5>>config.log
                   20403:   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
                   20404:   # would make configure fail if this is the last instruction.
                   20405:   $ac_cs_success || { (exit 1); exit 1; }
                   20406: fi
1.1       parser   20407: 
1.11      paf      20408: #
                   20409: # CONFIG_SUBDIRS section.
                   20410: #
1.1       parser   20411: if test "$no_recursion" != yes; then
                   20412: 
                   20413:   # Remove --cache-file and --srcdir arguments so they do not pile up.
                   20414:   ac_sub_configure_args=
                   20415:   ac_prev=
                   20416:   for ac_arg in $ac_configure_args; do
                   20417:     if test -n "$ac_prev"; then
                   20418:       ac_prev=
                   20419:       continue
                   20420:     fi
1.11      paf      20421:     case $ac_arg in
1.1       parser   20422:     -cache-file | --cache-file | --cache-fil | --cache-fi \
                   20423:     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
                   20424:       ac_prev=cache_file ;;
                   20425:     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1.11      paf      20426:     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
                   20427:     | --c=*)
                   20428:       ;;
                   20429:     --config-cache | -C)
1.1       parser   20430:       ;;
                   20431:     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
                   20432:       ac_prev=srcdir ;;
                   20433:     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
                   20434:       ;;
1.11      paf      20435:     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
                   20436:       ac_prev=prefix ;;
                   20437:     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
                   20438:       ;;
1.1       parser   20439:     *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
                   20440:     esac
                   20441:   done
                   20442: 
1.11      paf      20443:   # Always prepend --prefix to ensure using the same prefix
                   20444:   # in subdir configurations.
                   20445:   ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
                   20446: 
                   20447:   ac_popdir=`pwd`
                   20448:   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
1.1       parser   20449: 
                   20450:     # Do not complain, so a configure script can configure whichever
                   20451:     # parts of a large source tree are present.
1.11      paf      20452:     test -d $srcdir/$ac_dir || continue
1.1       parser   20453: 
1.11      paf      20454:     { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
                   20455: echo "$as_me: configuring in $ac_dir" >&6;}
                   20456:     { if $as_mkdir_p; then
                   20457:     mkdir -p "$ac_dir"
                   20458:   else
                   20459:     as_dir="$ac_dir"
                   20460:     as_dirs=
                   20461:     while test ! -d "$as_dir"; do
                   20462:       as_dirs="$as_dir $as_dirs"
                   20463:       as_dir=`(dirname "$as_dir") 2>/dev/null ||
                   20464: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1.18      paf      20465:         X"$as_dir" : 'X\(//\)[^/]' \| \
                   20466:         X"$as_dir" : 'X\(//\)$' \| \
                   20467:         X"$as_dir" : 'X\(/\)' \| \
                   20468:         .     : '\(.\)' 2>/dev/null ||
1.11      paf      20469: echo X"$as_dir" |
                   20470:     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
                   20471:          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
                   20472:          /^X\(\/\/\)$/{ s//\1/; q; }
                   20473:          /^X\(\/\).*/{ s//\1/; q; }
                   20474:          s/.*/./; q'`
                   20475:     done
                   20476:     test ! -n "$as_dirs" || mkdir $as_dirs
                   20477:   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
                   20478: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
                   20479:    { (exit 1); exit 1; }; }; }
                   20480: 
                   20481:     ac_builddir=.
                   20482: 
                   20483: if test "$ac_dir" != .; then
                   20484:   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
                   20485:   # A "../" for each directory in $ac_dir_suffix.
                   20486:   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
                   20487: else
                   20488:   ac_dir_suffix= ac_top_builddir=
                   20489: fi
                   20490: 
                   20491: case $srcdir in
                   20492:   .)  # No --srcdir option.  We are building in place.
                   20493:     ac_srcdir=.
                   20494:     if test -z "$ac_top_builddir"; then
                   20495:        ac_top_srcdir=.
                   20496:     else
                   20497:        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
                   20498:     fi ;;
                   20499:   [\\/]* | ?:[\\/]* )  # Absolute path.
                   20500:     ac_srcdir=$srcdir$ac_dir_suffix;
                   20501:     ac_top_srcdir=$srcdir ;;
                   20502:   *) # Relative path.
                   20503:     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
                   20504:     ac_top_srcdir=$ac_top_builddir$srcdir ;;
                   20505: esac
1.18      paf      20506: 
                   20507: # Do not use `cd foo && pwd` to compute absolute paths, because
                   20508: # the directories may not exist.
                   20509: case `pwd` in
                   20510: .) ac_abs_builddir="$ac_dir";;
                   20511: *)
                   20512:   case "$ac_dir" in
                   20513:   .) ac_abs_builddir=`pwd`;;
                   20514:   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
                   20515:   *) ac_abs_builddir=`pwd`/"$ac_dir";;
                   20516:   esac;;
                   20517: esac
                   20518: case $ac_abs_builddir in
                   20519: .) ac_abs_top_builddir=${ac_top_builddir}.;;
                   20520: *)
                   20521:   case ${ac_top_builddir}. in
                   20522:   .) ac_abs_top_builddir=$ac_abs_builddir;;
                   20523:   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
                   20524:   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
                   20525:   esac;;
                   20526: esac
                   20527: case $ac_abs_builddir in
                   20528: .) ac_abs_srcdir=$ac_srcdir;;
                   20529: *)
                   20530:   case $ac_srcdir in
                   20531:   .) ac_abs_srcdir=$ac_abs_builddir;;
                   20532:   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
                   20533:   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
                   20534:   esac;;
                   20535: esac
                   20536: case $ac_abs_builddir in
                   20537: .) ac_abs_top_srcdir=$ac_top_srcdir;;
                   20538: *)
                   20539:   case $ac_top_srcdir in
                   20540:   .) ac_abs_top_srcdir=$ac_abs_builddir;;
                   20541:   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
                   20542:   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
                   20543:   esac;;
                   20544: esac
1.1       parser   20545: 
                   20546: 
1.11      paf      20547:     cd $ac_dir
1.1       parser   20548: 
                   20549:     # Check for guested configure; otherwise get Cygnus style configure.
1.11      paf      20550:     if test -f $ac_srcdir/configure.gnu; then
                   20551:       ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
                   20552:     elif test -f $ac_srcdir/configure; then
                   20553:       ac_sub_configure="$SHELL '$ac_srcdir/configure'"
                   20554:     elif test -f $ac_srcdir/configure.in; then
1.1       parser   20555:       ac_sub_configure=$ac_configure
                   20556:     else
1.11      paf      20557:       { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
                   20558: echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
1.1       parser   20559:       ac_sub_configure=
                   20560:     fi
                   20561: 
                   20562:     # The recursion is here.
                   20563:     if test -n "$ac_sub_configure"; then
                   20564:       # Make the cache file name correct relative to the subdirectory.
1.11      paf      20565:       case $cache_file in
                   20566:       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
1.1       parser   20567:       *) # Relative path.
1.18      paf      20568:        ac_sub_cache_file=$ac_top_builddir$cache_file ;;
1.1       parser   20569:       esac
                   20570: 
1.11      paf      20571:       { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
                   20572: echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
1.1       parser   20573:       # The eval makes quoting arguments work.
1.11      paf      20574:       eval $ac_sub_configure $ac_sub_configure_args \
1.18      paf      20575:           --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
                   20576:        { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
1.11      paf      20577: echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
                   20578:    { (exit 1); exit 1; }; }
1.1       parser   20579:     fi
                   20580: 
                   20581:     cd $ac_popdir
                   20582:   done
                   20583: fi
                   20584: 

E-mail: