Changeset 38d12e7 for libcfa/configure


Ignore:
Timestamp:
Aug 16, 2018, 3:23:05 PM (7 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
eed6f5b
Parents:
50fede9
Message:

Adjusted makefiles to use libtool

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/configure

    r50fede9 r38d12e7  
    198198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
     200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
     201
     202  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
     203    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     204    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
     205    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
     206    PATH=/empty FPATH=/empty; export PATH FPATH
     207    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
     208      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
     209test \$(( 1 + 1 )) = 2 || exit 1"
    201210  if (eval "$as_required") 2>/dev/null; then :
    202211  as_have_required=yes
     
    556565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    557566
     567SHELL=${CONFIG_SHELL-/bin/sh}
     568
    558569
    559570test -n "$DJDIR" || exec 7<&0 </dev/null
     
    585596PACKAGE_URL=''
    586597
     598# Factoring default headers for most tests.
     599ac_includes_default="\
     600#include <stdio.h>
     601#ifdef HAVE_SYS_TYPES_H
     602# include <sys/types.h>
     603#endif
     604#ifdef HAVE_SYS_STAT_H
     605# include <sys/stat.h>
     606#endif
     607#ifdef STDC_HEADERS
     608# include <stdlib.h>
     609# include <stddef.h>
     610#else
     611# ifdef HAVE_STDLIB_H
     612#  include <stdlib.h>
     613# endif
     614#endif
     615#ifdef HAVE_STRING_H
     616# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
     617#  include <memory.h>
     618# endif
     619# include <string.h>
     620#endif
     621#ifdef HAVE_STRINGS_H
     622# include <strings.h>
     623#endif
     624#ifdef HAVE_INTTYPES_H
     625# include <inttypes.h>
     626#endif
     627#ifdef HAVE_STDINT_H
     628# include <stdint.h>
     629#endif
     630#ifdef HAVE_UNISTD_H
     631# include <unistd.h>
     632#endif"
     633
    587634ac_subst_vars='am__EXEEXT_FALSE
    588635am__EXEEXT_TRUE
    589636LTLIBOBJS
    590637LIBOBJS
    591 RANLIB
    592638am__fastdepCCAS_FALSE
    593639am__fastdepCCAS_TRUE
     
    595641CCASFLAGS
    596642CCAS
     643CXXCPP
     644am__fastdepCXX_FALSE
     645am__fastdepCXX_TRUE
     646CXXDEPMODE
     647ac_ct_CXX
     648CXXFLAGS
     649CXX
     650CPP
     651LT_SYS_LIBRARY_PATH
     652OTOOL64
     653OTOOL
     654LIPO
     655NMEDIT
     656DSYMUTIL
     657MANIFEST_TOOL
     658RANLIB
     659ac_ct_AR
     660AR
     661DLLTOOL
     662OBJDUMP
     663LN_S
     664NM
     665ac_ct_DUMPBIN
     666DUMPBIN
     667LD
     668FGREP
     669EGREP
     670GREP
     671SED
    597672am__fastdepCC_FALSE
    598673am__fastdepCC_TRUE
    599674CCDEPMODE
    600 ac_ct_CC
    601 CFLAGS
    602 CC
    603 am__fastdepCXX_FALSE
    604 am__fastdepCXX_TRUE
    605 CXXDEPMODE
    606675am__nodep
    607676AMDEPBACKSLASH
     
    613682OBJEXT
    614683EXEEXT
    615 ac_ct_CXX
     684ac_ct_CC
    616685CPPFLAGS
    617686LDFLAGS
    618 CXXFLAGS
    619 CXX
     687CFLAGS
     688CC
     689host_os
     690host_vendor
     691host_cpu
     692host
     693build_os
     694build_vendor
     695build_cpu
     696build
     697LIBTOOL
    620698CFA_LIBDIR
    621699CFA_BINDIR
     
    702780enable_silent_rules
    703781with_cfa_name
     782enable_shared
     783enable_static
     784with_pic
     785enable_fast_install
     786with_aix_soname
    704787enable_dependency_tracking
     788with_gnu_ld
     789with_sysroot
     790enable_libtool_lock
    705791'
    706792      ac_precious_vars='build_alias
     
    710796CONFIGURATION
    711797DRIVER_DIR
    712 CXX
    713 CXXFLAGS
     798CC
     799CFLAGS
    714800LDFLAGS
    715801LIBS
    716802CPPFLAGS
     803LT_SYS_LIBRARY_PATH
     804CPP
     805CXX
     806CXXFLAGS
    717807CCC
    718 CC
    719 CFLAGS
     808CXXCPP
    720809CCAS
    721810CCASFLAGS'
     
    13321421  --program-suffix=SUFFIX            append SUFFIX to installed program names
    13331422  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
     1423
     1424System types:
     1425  --build=BUILD     configure for building on BUILD [guessed]
     1426  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
    13341427_ACEOF
    13351428fi
     
    13471440  --enable-silent-rules   less verbose build output (undo: "make V=1")
    13481441  --disable-silent-rules  verbose build output (undo: "make V=0")
     1442  --enable-shared[=PKGS]  build shared libraries [default=yes]
     1443  --enable-static[=PKGS]  build static libraries [default=yes]
     1444  --enable-fast-install[=PKGS]
     1445                          optimize for fast installation [default=yes]
    13491446  --enable-dependency-tracking
    13501447                          do not reject slow dependency extractors
    13511448  --disable-dependency-tracking
    13521449                          speeds up one-time build
     1450  --disable-libtool-lock  avoid locking (might break parallel builds)
    13531451
    13541452Optional Packages:
     
    13561454  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    13571455  --with-cfa-name=NAME     NAME too which cfa will be installed
     1456  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
     1457                          both]
     1458  --with-aix-soname=aix|svr4|both
     1459                          shared library versioning (aka "SONAME") variant to
     1460                          provide on AIX, [default=aix].
     1461  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
     1462  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
     1463                          compiler's sysroot if not specified).
    13581464
    13591465Some influential environment variables:
     
    13641470              deubg, nodebug, nolib (prelude-only)
    13651471  DRIVER_DIR  The path to the cforall driver directory
    1366   CXX         C++ compiler command
    1367   CXXFLAGS    C++ compiler flags
     1472  CC          C compiler command
     1473  CFLAGS      C compiler flags
    13681474  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    13691475              nonstandard directory <lib dir>
     
    13711477  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
    13721478              you have headers in a nonstandard directory <include dir>
    1373   CC          C compiler command
    1374   CFLAGS      C compiler flags
     1479  LT_SYS_LIBRARY_PATH
     1480              User-defined run-time library search path.
     1481  CPP         C preprocessor
     1482  CXX         C++ compiler command
     1483  CXXFLAGS    C++ compiler flags
     1484  CXXCPP      C++ preprocessor
    13751485  CCAS        assembler compiler command (defaults to CC)
    13761486  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
     
    14551565## Autoconf initialization. ##
    14561566## ------------------------ ##
     1567
     1568# ac_fn_c_try_compile LINENO
     1569# --------------------------
     1570# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1571ac_fn_c_try_compile ()
     1572{
     1573  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1574  rm -f conftest.$ac_objext
     1575  if { { ac_try="$ac_compile"
     1576case "(($ac_try" in
     1577  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1578  *) ac_try_echo=$ac_try;;
     1579esac
     1580eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1581$as_echo "$ac_try_echo"; } >&5
     1582  (eval "$ac_compile") 2>conftest.err
     1583  ac_status=$?
     1584  if test -s conftest.err; then
     1585    grep -v '^ *+' conftest.err >conftest.er1
     1586    cat conftest.er1 >&5
     1587    mv -f conftest.er1 conftest.err
     1588  fi
     1589  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1590  test $ac_status = 0; } && {
     1591         test -z "$ac_c_werror_flag" ||
     1592         test ! -s conftest.err
     1593       } && test -s conftest.$ac_objext; then :
     1594  ac_retval=0
     1595else
     1596  $as_echo "$as_me: failed program was:" >&5
     1597sed 's/^/| /' conftest.$ac_ext >&5
     1598
     1599        ac_retval=1
     1600fi
     1601  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1602  as_fn_set_status $ac_retval
     1603
     1604} # ac_fn_c_try_compile
     1605
     1606# ac_fn_c_try_link LINENO
     1607# -----------------------
     1608# Try to link conftest.$ac_ext, and return whether this succeeded.
     1609ac_fn_c_try_link ()
     1610{
     1611  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1612  rm -f conftest.$ac_objext conftest$ac_exeext
     1613  if { { ac_try="$ac_link"
     1614case "(($ac_try" in
     1615  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1616  *) ac_try_echo=$ac_try;;
     1617esac
     1618eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1619$as_echo "$ac_try_echo"; } >&5
     1620  (eval "$ac_link") 2>conftest.err
     1621  ac_status=$?
     1622  if test -s conftest.err; then
     1623    grep -v '^ *+' conftest.err >conftest.er1
     1624    cat conftest.er1 >&5
     1625    mv -f conftest.er1 conftest.err
     1626  fi
     1627  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1628  test $ac_status = 0; } && {
     1629         test -z "$ac_c_werror_flag" ||
     1630         test ! -s conftest.err
     1631       } && test -s conftest$ac_exeext && {
     1632         test "$cross_compiling" = yes ||
     1633         test -x conftest$ac_exeext
     1634       }; then :
     1635  ac_retval=0
     1636else
     1637  $as_echo "$as_me: failed program was:" >&5
     1638sed 's/^/| /' conftest.$ac_ext >&5
     1639
     1640        ac_retval=1
     1641fi
     1642  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     1643  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     1644  # interfere with the next link command; also delete a directory that is
     1645  # left behind by Apple's compiler.  We do this before executing the actions.
     1646  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1647  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1648  as_fn_set_status $ac_retval
     1649
     1650} # ac_fn_c_try_link
     1651
     1652# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
     1653# -------------------------------------------------------
     1654# Tests whether HEADER exists and can be compiled using the include files in
     1655# INCLUDES, setting the cache variable VAR accordingly.
     1656ac_fn_c_check_header_compile ()
     1657{
     1658  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1659  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1660$as_echo_n "checking for $2... " >&6; }
     1661if eval \${$3+:} false; then :
     1662  $as_echo_n "(cached) " >&6
     1663else
     1664  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1665/* end confdefs.h.  */
     1666$4
     1667#include <$2>
     1668_ACEOF
     1669if ac_fn_c_try_compile "$LINENO"; then :
     1670  eval "$3=yes"
     1671else
     1672  eval "$3=no"
     1673fi
     1674rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1675fi
     1676eval ac_res=\$$3
     1677               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1678$as_echo "$ac_res" >&6; }
     1679  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1680
     1681} # ac_fn_c_check_header_compile
     1682
     1683# ac_fn_c_try_cpp LINENO
     1684# ----------------------
     1685# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1686ac_fn_c_try_cpp ()
     1687{
     1688  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1689  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1690case "(($ac_try" in
     1691  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1692  *) ac_try_echo=$ac_try;;
     1693esac
     1694eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1695$as_echo "$ac_try_echo"; } >&5
     1696  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1697  ac_status=$?
     1698  if test -s conftest.err; then
     1699    grep -v '^ *+' conftest.err >conftest.er1
     1700    cat conftest.er1 >&5
     1701    mv -f conftest.er1 conftest.err
     1702  fi
     1703  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1704  test $ac_status = 0; } > conftest.i && {
     1705         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     1706         test ! -s conftest.err
     1707       }; then :
     1708  ac_retval=0
     1709else
     1710  $as_echo "$as_me: failed program was:" >&5
     1711sed 's/^/| /' conftest.$ac_ext >&5
     1712
     1713    ac_retval=1
     1714fi
     1715  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1716  as_fn_set_status $ac_retval
     1717
     1718} # ac_fn_c_try_cpp
     1719
     1720# ac_fn_c_try_run LINENO
     1721# ----------------------
     1722# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     1723# that executables *can* be run.
     1724ac_fn_c_try_run ()
     1725{
     1726  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1727  if { { ac_try="$ac_link"
     1728case "(($ac_try" in
     1729  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1730  *) ac_try_echo=$ac_try;;
     1731esac
     1732eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1733$as_echo "$ac_try_echo"; } >&5
     1734  (eval "$ac_link") 2>&5
     1735  ac_status=$?
     1736  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1737  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     1738  { { case "(($ac_try" in
     1739  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1740  *) ac_try_echo=$ac_try;;
     1741esac
     1742eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1743$as_echo "$ac_try_echo"; } >&5
     1744  (eval "$ac_try") 2>&5
     1745  ac_status=$?
     1746  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1747  test $ac_status = 0; }; }; then :
     1748  ac_retval=0
     1749else
     1750  $as_echo "$as_me: program exited with status $ac_status" >&5
     1751       $as_echo "$as_me: failed program was:" >&5
     1752sed 's/^/| /' conftest.$ac_ext >&5
     1753
     1754       ac_retval=$ac_status
     1755fi
     1756  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1757  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1758  as_fn_set_status $ac_retval
     1759
     1760} # ac_fn_c_try_run
     1761
     1762# ac_fn_c_check_func LINENO FUNC VAR
     1763# ----------------------------------
     1764# Tests whether FUNC exists, setting the cache variable VAR accordingly
     1765ac_fn_c_check_func ()
     1766{
     1767  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1768  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1769$as_echo_n "checking for $2... " >&6; }
     1770if eval \${$3+:} false; then :
     1771  $as_echo_n "(cached) " >&6
     1772else
     1773  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1774/* end confdefs.h.  */
     1775/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
     1776   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     1777#define $2 innocuous_$2
     1778
     1779/* System header to define __stub macros and hopefully few prototypes,
     1780    which can conflict with char $2 (); below.
     1781    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     1782    <limits.h> exists even on freestanding compilers.  */
     1783
     1784#ifdef __STDC__
     1785# include <limits.h>
     1786#else
     1787# include <assert.h>
     1788#endif
     1789
     1790#undef $2
     1791
     1792/* Override any GCC internal prototype to avoid an error.
     1793   Use char because int might match the return type of a GCC
     1794   builtin and then its argument prototype would still apply.  */
     1795#ifdef __cplusplus
     1796extern "C"
     1797#endif
     1798char $2 ();
     1799/* The GNU C library defines this for functions which it implements
     1800    to always fail with ENOSYS.  Some functions are actually named
     1801    something starting with __ and the normal name is an alias.  */
     1802#if defined __stub_$2 || defined __stub___$2
     1803choke me
     1804#endif
     1805
     1806int
     1807main ()
     1808{
     1809return $2 ();
     1810  ;
     1811  return 0;
     1812}
     1813_ACEOF
     1814if ac_fn_c_try_link "$LINENO"; then :
     1815  eval "$3=yes"
     1816else
     1817  eval "$3=no"
     1818fi
     1819rm -f core conftest.err conftest.$ac_objext \
     1820    conftest$ac_exeext conftest.$ac_ext
     1821fi
     1822eval ac_res=\$$3
     1823               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1824$as_echo "$ac_res" >&6; }
     1825  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1826
     1827} # ac_fn_c_check_func
    14571828
    14581829# ac_fn_cxx_try_compile LINENO
     
    14941865} # ac_fn_cxx_try_compile
    14951866
    1496 # ac_fn_c_try_compile LINENO
    1497 # --------------------------
    1498 # Try to compile conftest.$ac_ext, and return whether this succeeded.
    1499 ac_fn_c_try_compile ()
     1867# ac_fn_cxx_try_cpp LINENO
     1868# ------------------------
     1869# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1870ac_fn_cxx_try_cpp ()
    15001871{
    15011872  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1502   rm -f conftest.$ac_objext
    1503   if { { ac_try="$ac_compile"
     1873  if { { ac_try="$ac_cpp conftest.$ac_ext"
    15041874case "(($ac_try" in
    15051875  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     
    15081878eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    15091879$as_echo "$ac_try_echo"; } >&5
    1510   (eval "$ac_compile") 2>conftest.err
     1880  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1881  ac_status=$?
     1882  if test -s conftest.err; then
     1883    grep -v '^ *+' conftest.err >conftest.er1
     1884    cat conftest.er1 >&5
     1885    mv -f conftest.er1 conftest.err
     1886  fi
     1887  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1888  test $ac_status = 0; } > conftest.i && {
     1889         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     1890         test ! -s conftest.err
     1891       }; then :
     1892  ac_retval=0
     1893else
     1894  $as_echo "$as_me: failed program was:" >&5
     1895sed 's/^/| /' conftest.$ac_ext >&5
     1896
     1897    ac_retval=1
     1898fi
     1899  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1900  as_fn_set_status $ac_retval
     1901
     1902} # ac_fn_cxx_try_cpp
     1903
     1904# ac_fn_cxx_try_link LINENO
     1905# -------------------------
     1906# Try to link conftest.$ac_ext, and return whether this succeeded.
     1907ac_fn_cxx_try_link ()
     1908{
     1909  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1910  rm -f conftest.$ac_objext conftest$ac_exeext
     1911  if { { ac_try="$ac_link"
     1912case "(($ac_try" in
     1913  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1914  *) ac_try_echo=$ac_try;;
     1915esac
     1916eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1917$as_echo "$ac_try_echo"; } >&5
     1918  (eval "$ac_link") 2>conftest.err
    15111919  ac_status=$?
    15121920  if test -s conftest.err; then
     
    15171925  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    15181926  test $ac_status = 0; } && {
    1519          test -z "$ac_c_werror_flag" ||
     1927         test -z "$ac_cxx_werror_flag" ||
    15201928         test ! -s conftest.err
    1521        } && test -s conftest.$ac_objext; then :
     1929       } && test -s conftest$ac_exeext && {
     1930         test "$cross_compiling" = yes ||
     1931         test -x conftest$ac_exeext
     1932       }; then :
    15221933  ac_retval=0
    15231934else
     
    15271938        ac_retval=1
    15281939fi
     1940  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     1941  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     1942  # interfere with the next link command; also delete a directory that is
     1943  # left behind by Apple's compiler.  We do this before executing the actions.
     1944  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    15291945  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    15301946  as_fn_set_status $ac_retval
    15311947
    1532 } # ac_fn_c_try_compile
     1948} # ac_fn_cxx_try_link
    15331949cat >config.log <<_ACEOF
    15341950This file contains any messages produced by compilers while
     
    18842300
    18852301ac_aux_dir=
    1886 for ac_dir in ./automake "$srcdir"/./automake; do
     2302for ac_dir in automake "$srcdir"/automake; do
    18872303  if test -f "$ac_dir/install-sh"; then
    18882304    ac_aux_dir=$ac_dir
     
    19002316done
    19012317if test -z "$ac_aux_dir"; then
    1902   as_fn_error $? "cannot find install-sh, install.sh, or shtool in ./automake \"$srcdir\"/./automake" "$LINENO" 5
     2318  as_fn_error $? "cannot find install-sh, install.sh, or shtool in automake \"$srcdir\"/automake" "$LINENO" 5
    19032319fi
    19042320
     
    19102326ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
    19112327ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
     2328
    19122329
    19132330
     
    26313048
    26323049# Checks for programs.
    2633 ac_ext=cpp
    2634 ac_cpp='$CXXCPP $CPPFLAGS'
    2635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    2636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    2637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    2638 if test -z "$CXX"; then
    2639   if test -n "$CCC"; then
    2640     CXX=$CCC
    2641   else
    2642     if test -n "$ac_tool_prefix"; then
    2643   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
    2644   do
    2645     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    2646 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     3050case `pwd` in
     3051  *\ * | *\     *)
     3052    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
     3053$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
     3054esac
     3055
     3056
     3057
     3058macro_version='2.4.6'
     3059macro_revision='2.4.6'
     3060
     3061
     3062
     3063
     3064
     3065
     3066
     3067
     3068
     3069
     3070
     3071
     3072
     3073ltmain=$ac_aux_dir/ltmain.sh
     3074
     3075# Make sure we can run config.sub.
     3076$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
     3077  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
     3078
     3079{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
     3080$as_echo_n "checking build system type... " >&6; }
     3081if ${ac_cv_build+:} false; then :
     3082  $as_echo_n "(cached) " >&6
     3083else
     3084  ac_build_alias=$build_alias
     3085test "x$ac_build_alias" = x &&
     3086  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
     3087test "x$ac_build_alias" = x &&
     3088  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
     3089ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
     3090  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
     3091
     3092fi
     3093{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
     3094$as_echo "$ac_cv_build" >&6; }
     3095case $ac_cv_build in
     3096*-*-*) ;;
     3097*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
     3098esac
     3099build=$ac_cv_build
     3100ac_save_IFS=$IFS; IFS='-'
     3101set x $ac_cv_build
     3102shift
     3103build_cpu=$1
     3104build_vendor=$2
     3105shift; shift
     3106# Remember, the first character of IFS is used to create $*,
     3107# except with old shells:
     3108build_os=$*
     3109IFS=$ac_save_IFS
     3110case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
     3111
     3112
     3113{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
     3114$as_echo_n "checking host system type... " >&6; }
     3115if ${ac_cv_host+:} false; then :
     3116  $as_echo_n "(cached) " >&6
     3117else
     3118  if test "x$host_alias" = x; then
     3119  ac_cv_host=$ac_cv_build
     3120else
     3121  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
     3122    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
     3123fi
     3124
     3125fi
     3126{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
     3127$as_echo "$ac_cv_host" >&6; }
     3128case $ac_cv_host in
     3129*-*-*) ;;
     3130*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
     3131esac
     3132host=$ac_cv_host
     3133ac_save_IFS=$IFS; IFS='-'
     3134set x $ac_cv_host
     3135shift
     3136host_cpu=$1
     3137host_vendor=$2
     3138shift; shift
     3139# Remember, the first character of IFS is used to create $*,
     3140# except with old shells:
     3141host_os=$*
     3142IFS=$ac_save_IFS
     3143case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
     3144
     3145
     3146# Backslashify metacharacters that are still active within
     3147# double-quoted strings.
     3148sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
     3149
     3150# Same as above, but do not quote variable references.
     3151double_quote_subst='s/\(["`\\]\)/\\\1/g'
     3152
     3153# Sed substitution to delay expansion of an escaped shell variable in a
     3154# double_quote_subst'ed string.
     3155delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
     3156
     3157# Sed substitution to delay expansion of an escaped single quote.
     3158delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
     3159
     3160# Sed substitution to avoid accidental globbing in evaled expressions
     3161no_glob_subst='s/\*/\\\*/g'
     3162
     3163ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     3164ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
     3165ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
     3166
     3167{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
     3168$as_echo_n "checking how to print strings... " >&6; }
     3169# Test print first, because it will be a builtin if present.
     3170if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
     3171   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
     3172  ECHO='print -r --'
     3173elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
     3174  ECHO='printf %s\n'
     3175else
     3176  # Use this function as a fallback that always works.
     3177  func_fallback_echo ()
     3178  {
     3179    eval 'cat <<_LTECHO_EOF
     3180$1
     3181_LTECHO_EOF'
     3182  }
     3183  ECHO='func_fallback_echo'
     3184fi
     3185
     3186# func_echo_all arg...
     3187# Invoke $ECHO with all args, space-separated.
     3188func_echo_all ()
     3189{
     3190    $ECHO ""
     3191}
     3192
     3193case $ECHO in
     3194  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
     3195$as_echo "printf" >&6; } ;;
     3196  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
     3197$as_echo "print -r" >&6; } ;;
     3198  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
     3199$as_echo "cat" >&6; } ;;
     3200esac
     3201
     3202
     3203
     3204
     3205
     3206
     3207
     3208
     3209
     3210
     3211
     3212
     3213
     3214
     3215DEPDIR="${am__leading_dot}deps"
     3216
     3217ac_config_commands="$ac_config_commands depfiles"
     3218
     3219
     3220am_make=${MAKE-make}
     3221cat > confinc << 'END'
     3222am__doit:
     3223        @echo this is the am__doit target
     3224.PHONY: am__doit
     3225END
     3226# If we don't find an include directive, just comment out the code.
     3227{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
     3228$as_echo_n "checking for style of include used by $am_make... " >&6; }
     3229am__include="#"
     3230am__quote=
     3231_am_result=none
     3232# First try GNU make style include.
     3233echo "include confinc" > confmf
     3234# Ignore all kinds of additional output from 'make'.
     3235case `$am_make -s -f confmf 2> /dev/null` in #(
     3236*the\ am__doit\ target*)
     3237  am__include=include
     3238  am__quote=
     3239  _am_result=GNU
     3240  ;;
     3241esac
     3242# Now try BSD make style include.
     3243if test "$am__include" = "#"; then
     3244   echo '.include "confinc"' > confmf
     3245   case `$am_make -s -f confmf 2> /dev/null` in #(
     3246   *the\ am__doit\ target*)
     3247     am__include=.include
     3248     am__quote="\""
     3249     _am_result=BSD
     3250     ;;
     3251   esac
     3252fi
     3253
     3254
     3255{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
     3256$as_echo "$_am_result" >&6; }
     3257rm -f confinc confmf
     3258
     3259# Check whether --enable-dependency-tracking was given.
     3260if test "${enable_dependency_tracking+set}" = set; then :
     3261  enableval=$enable_dependency_tracking;
     3262fi
     3263
     3264if test "x$enable_dependency_tracking" != xno; then
     3265  am_depcomp="$ac_aux_dir/depcomp"
     3266  AMDEPBACKSLASH='\'
     3267  am__nodep='_no'
     3268fi
     3269 if test "x$enable_dependency_tracking" != xno; then
     3270  AMDEP_TRUE=
     3271  AMDEP_FALSE='#'
     3272else
     3273  AMDEP_TRUE='#'
     3274  AMDEP_FALSE=
     3275fi
     3276
     3277
     3278ac_ext=c
     3279ac_cpp='$CPP $CPPFLAGS'
     3280ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3281ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3282ac_compiler_gnu=$ac_cv_c_compiler_gnu
     3283if test -n "$ac_tool_prefix"; then
     3284  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
     3285set dummy ${ac_tool_prefix}gcc; ac_word=$2
    26473286{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    26483287$as_echo_n "checking for $ac_word... " >&6; }
    2649 if ${ac_cv_prog_CXX+:} false; then :
     3288if ${ac_cv_prog_CC+:} false; then :
    26503289  $as_echo_n "(cached) " >&6
    26513290else
    2652   if test -n "$CXX"; then
    2653   ac_cv_prog_CXX="$CXX" # Let the user override the test.
     3291  if test -n "$CC"; then
     3292  ac_cv_prog_CC="$CC" # Let the user override the test.
    26543293else
    26553294as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    26603299    for ac_exec_ext in '' $ac_executable_extensions; do
    26613300  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2662     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
     3301    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    26633302    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    26643303    break 2
     
    26703309fi
    26713310fi
    2672 CXX=$ac_cv_prog_CXX
    2673 if test -n "$CXX"; then
    2674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
    2675 $as_echo "$CXX" >&6; }
     3311CC=$ac_cv_prog_CC
     3312if test -n "$CC"; then
     3313  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     3314$as_echo "$CC" >&6; }
    26763315else
    26773316  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     
    26803319
    26813320
    2682     test -n "$CXX" && break
    2683   done
    2684 fi
    2685 if test -z "$CXX"; then
    2686   ac_ct_CXX=$CXX
    2687   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
    2688 do
    2689   # Extract the first word of "$ac_prog", so it can be a program name with args.
    2690 set dummy $ac_prog; ac_word=$2
     3321fi
     3322if test -z "$ac_cv_prog_CC"; then
     3323  ac_ct_CC=$CC
     3324  # Extract the first word of "gcc", so it can be a program name with args.
     3325set dummy gcc; ac_word=$2
    26913326{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    26923327$as_echo_n "checking for $ac_word... " >&6; }
    2693 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
     3328if ${ac_cv_prog_ac_ct_CC+:} false; then :
    26943329  $as_echo_n "(cached) " >&6
    26953330else
    2696   if test -n "$ac_ct_CXX"; then
    2697   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
     3331  if test -n "$ac_ct_CC"; then
     3332  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    26983333else
    26993334as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    27043339    for ac_exec_ext in '' $ac_executable_extensions; do
    27053340  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    2706     ac_cv_prog_ac_ct_CXX="$ac_prog"
     3341    ac_cv_prog_ac_ct_CC="gcc"
    27073342    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    27083343    break 2
     
    27143349fi
    27153350fi
    2716 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    2717 if test -n "$ac_ct_CXX"; then
    2718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
    2719 $as_echo "$ac_ct_CXX" >&6; }
     3351ac_ct_CC=$ac_cv_prog_ac_ct_CC
     3352if test -n "$ac_ct_CC"; then
     3353  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     3354$as_echo "$ac_ct_CC" >&6; }
    27203355else
    27213356  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     
    27233358fi
    27243359
    2725 
    2726   test -n "$ac_ct_CXX" && break
    2727 done
    2728 
    2729   if test "x$ac_ct_CXX" = x; then
    2730     CXX="g++"
     3360  if test "x$ac_ct_CC" = x; then
     3361    CC=""
    27313362  else
    27323363    case $cross_compiling:$ac_tool_warned in
     
    27363367ac_tool_warned=yes ;;
    27373368esac
    2738     CXX=$ac_ct_CXX
     3369    CC=$ac_ct_CC
    27393370  fi
    2740 fi
    2741 
     3371else
     3372  CC="$ac_cv_prog_CC"
     3373fi
     3374
     3375if test -z "$CC"; then
     3376          if test -n "$ac_tool_prefix"; then
     3377    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
     3378set dummy ${ac_tool_prefix}cc; ac_word=$2
     3379{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3380$as_echo_n "checking for $ac_word... " >&6; }
     3381if ${ac_cv_prog_CC+:} false; then :
     3382  $as_echo_n "(cached) " >&6
     3383else
     3384  if test -n "$CC"; then
     3385  ac_cv_prog_CC="$CC" # Let the user override the test.
     3386else
     3387as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3388for as_dir in $PATH
     3389do
     3390  IFS=$as_save_IFS
     3391  test -z "$as_dir" && as_dir=.
     3392    for ac_exec_ext in '' $ac_executable_extensions; do
     3393  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3394    ac_cv_prog_CC="${ac_tool_prefix}cc"
     3395    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3396    break 2
    27423397  fi
    2743 fi
     3398done
     3399  done
     3400IFS=$as_save_IFS
     3401
     3402fi
     3403fi
     3404CC=$ac_cv_prog_CC
     3405if test -n "$CC"; then
     3406  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     3407$as_echo "$CC" >&6; }
     3408else
     3409  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3410$as_echo "no" >&6; }
     3411fi
     3412
     3413
     3414  fi
     3415fi
     3416if test -z "$CC"; then
     3417  # Extract the first word of "cc", so it can be a program name with args.
     3418set dummy cc; ac_word=$2
     3419{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3420$as_echo_n "checking for $ac_word... " >&6; }
     3421if ${ac_cv_prog_CC+:} false; then :
     3422  $as_echo_n "(cached) " >&6
     3423else
     3424  if test -n "$CC"; then
     3425  ac_cv_prog_CC="$CC" # Let the user override the test.
     3426else
     3427  ac_prog_rejected=no
     3428as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3429for as_dir in $PATH
     3430do
     3431  IFS=$as_save_IFS
     3432  test -z "$as_dir" && as_dir=.
     3433    for ac_exec_ext in '' $ac_executable_extensions; do
     3434  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3435    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
     3436       ac_prog_rejected=yes
     3437       continue
     3438     fi
     3439    ac_cv_prog_CC="cc"
     3440    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3441    break 2
     3442  fi
     3443done
     3444  done
     3445IFS=$as_save_IFS
     3446
     3447if test $ac_prog_rejected = yes; then
     3448  # We found a bogon in the path, so make sure we never use it.
     3449  set dummy $ac_cv_prog_CC
     3450  shift
     3451  if test $# != 0; then
     3452    # We chose a different compiler from the bogus one.
     3453    # However, it has the same basename, so the bogon will be chosen
     3454    # first if we set CC to just the basename; use the full file name.
     3455    shift
     3456    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
     3457  fi
     3458fi
     3459fi
     3460fi
     3461CC=$ac_cv_prog_CC
     3462if test -n "$CC"; then
     3463  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     3464$as_echo "$CC" >&6; }
     3465else
     3466  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3467$as_echo "no" >&6; }
     3468fi
     3469
     3470
     3471fi
     3472if test -z "$CC"; then
     3473  if test -n "$ac_tool_prefix"; then
     3474  for ac_prog in cl.exe
     3475  do
     3476    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     3477set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     3478{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3479$as_echo_n "checking for $ac_word... " >&6; }
     3480if ${ac_cv_prog_CC+:} false; then :
     3481  $as_echo_n "(cached) " >&6
     3482else
     3483  if test -n "$CC"; then
     3484  ac_cv_prog_CC="$CC" # Let the user override the test.
     3485else
     3486as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3487for as_dir in $PATH
     3488do
     3489  IFS=$as_save_IFS
     3490  test -z "$as_dir" && as_dir=.
     3491    for ac_exec_ext in '' $ac_executable_extensions; do
     3492  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3493    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
     3494    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3495    break 2
     3496  fi
     3497done
     3498  done
     3499IFS=$as_save_IFS
     3500
     3501fi
     3502fi
     3503CC=$ac_cv_prog_CC
     3504if test -n "$CC"; then
     3505  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     3506$as_echo "$CC" >&6; }
     3507else
     3508  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3509$as_echo "no" >&6; }
     3510fi
     3511
     3512
     3513    test -n "$CC" && break
     3514  done
     3515fi
     3516if test -z "$CC"; then
     3517  ac_ct_CC=$CC
     3518  for ac_prog in cl.exe
     3519do
     3520  # Extract the first word of "$ac_prog", so it can be a program name with args.
     3521set dummy $ac_prog; ac_word=$2
     3522{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3523$as_echo_n "checking for $ac_word... " >&6; }
     3524if ${ac_cv_prog_ac_ct_CC+:} false; then :
     3525  $as_echo_n "(cached) " >&6
     3526else
     3527  if test -n "$ac_ct_CC"; then
     3528  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     3529else
     3530as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3531for as_dir in $PATH
     3532do
     3533  IFS=$as_save_IFS
     3534  test -z "$as_dir" && as_dir=.
     3535    for ac_exec_ext in '' $ac_executable_extensions; do
     3536  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3537    ac_cv_prog_ac_ct_CC="$ac_prog"
     3538    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3539    break 2
     3540  fi
     3541done
     3542  done
     3543IFS=$as_save_IFS
     3544
     3545fi
     3546fi
     3547ac_ct_CC=$ac_cv_prog_ac_ct_CC
     3548if test -n "$ac_ct_CC"; then
     3549  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     3550$as_echo "$ac_ct_CC" >&6; }
     3551else
     3552  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3553$as_echo "no" >&6; }
     3554fi
     3555
     3556
     3557  test -n "$ac_ct_CC" && break
     3558done
     3559
     3560  if test "x$ac_ct_CC" = x; then
     3561    CC=""
     3562  else
     3563    case $cross_compiling:$ac_tool_warned in
     3564yes:)
     3565{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     3566$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     3567ac_tool_warned=yes ;;
     3568esac
     3569    CC=$ac_ct_CC
     3570  fi
     3571fi
     3572
     3573fi
     3574
     3575
     3576test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3577$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3578as_fn_error $? "no acceptable C compiler found in \$PATH
     3579See \`config.log' for more details" "$LINENO" 5; }
     3580
    27443581# Provide some information about the compiler.
    2745 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
     3582$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
    27463583set X $ac_compile
    27473584ac_compiler=$2
     
    27833620# It will help us diagnose broken compilers, and finding out an intuition
    27843621# of exeext.
    2785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
    2786 $as_echo_n "checking whether the C++ compiler works... " >&6; }
     3622{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
     3623$as_echo_n "checking whether the C compiler works... " >&6; }
    27873624ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    27883625
     
    28543691{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    28553692$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2856 as_fn_error 77 "C++ compiler cannot create executables
     3693as_fn_error 77 "C compiler cannot create executables
    28573694See \`config.log' for more details" "$LINENO" 5; }
    28583695else
     
    28603697$as_echo "yes" >&6; }
    28613698fi
    2862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
    2863 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
     3699{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
     3700$as_echo_n "checking for C compiler default output file name... " >&6; }
    28643701{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
    28653702$as_echo "$ac_file" >&6; }
     
    29553792        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    29563793$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2957 as_fn_error $? "cannot run C++ compiled programs.
     3794as_fn_error $? "cannot run C compiled programs.
    29583795If you meant to cross compile, use \`--host'.
    29593796See \`config.log' for more details" "$LINENO" 5; }
     
    30173854OBJEXT=$ac_cv_objext
    30183855ac_objext=$OBJEXT
     3856{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
     3857$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
     3858if ${ac_cv_c_compiler_gnu+:} false; then :
     3859  $as_echo_n "(cached) " >&6
     3860else
     3861  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3862/* end confdefs.h.  */
     3863
     3864int
     3865main ()
     3866{
     3867#ifndef __GNUC__
     3868       choke me
     3869#endif
     3870
     3871  ;
     3872  return 0;
     3873}
     3874_ACEOF
     3875if ac_fn_c_try_compile "$LINENO"; then :
     3876  ac_compiler_gnu=yes
     3877else
     3878  ac_compiler_gnu=no
     3879fi
     3880rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3881ac_cv_c_compiler_gnu=$ac_compiler_gnu
     3882
     3883fi
     3884{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
     3885$as_echo "$ac_cv_c_compiler_gnu" >&6; }
     3886if test $ac_compiler_gnu = yes; then
     3887  GCC=yes
     3888else
     3889  GCC=
     3890fi
     3891ac_test_CFLAGS=${CFLAGS+set}
     3892ac_save_CFLAGS=$CFLAGS
     3893{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
     3894$as_echo_n "checking whether $CC accepts -g... " >&6; }
     3895if ${ac_cv_prog_cc_g+:} false; then :
     3896  $as_echo_n "(cached) " >&6
     3897else
     3898  ac_save_c_werror_flag=$ac_c_werror_flag
     3899   ac_c_werror_flag=yes
     3900   ac_cv_prog_cc_g=no
     3901   CFLAGS="-g"
     3902   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3903/* end confdefs.h.  */
     3904
     3905int
     3906main ()
     3907{
     3908
     3909  ;
     3910  return 0;
     3911}
     3912_ACEOF
     3913if ac_fn_c_try_compile "$LINENO"; then :
     3914  ac_cv_prog_cc_g=yes
     3915else
     3916  CFLAGS=""
     3917      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3918/* end confdefs.h.  */
     3919
     3920int
     3921main ()
     3922{
     3923
     3924  ;
     3925  return 0;
     3926}
     3927_ACEOF
     3928if ac_fn_c_try_compile "$LINENO"; then :
     3929
     3930else
     3931  ac_c_werror_flag=$ac_save_c_werror_flag
     3932         CFLAGS="-g"
     3933         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3934/* end confdefs.h.  */
     3935
     3936int
     3937main ()
     3938{
     3939
     3940  ;
     3941  return 0;
     3942}
     3943_ACEOF
     3944if ac_fn_c_try_compile "$LINENO"; then :
     3945  ac_cv_prog_cc_g=yes
     3946fi
     3947rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3948fi
     3949rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3950fi
     3951rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3952   ac_c_werror_flag=$ac_save_c_werror_flag
     3953fi
     3954{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
     3955$as_echo "$ac_cv_prog_cc_g" >&6; }
     3956if test "$ac_test_CFLAGS" = set; then
     3957  CFLAGS=$ac_save_CFLAGS
     3958elif test $ac_cv_prog_cc_g = yes; then
     3959  if test "$GCC" = yes; then
     3960    CFLAGS="-g -O2"
     3961  else
     3962    CFLAGS="-g"
     3963  fi
     3964else
     3965  if test "$GCC" = yes; then
     3966    CFLAGS="-O2"
     3967  else
     3968    CFLAGS=
     3969  fi
     3970fi
     3971{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
     3972$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
     3973if ${ac_cv_prog_cc_c89+:} false; then :
     3974  $as_echo_n "(cached) " >&6
     3975else
     3976  ac_cv_prog_cc_c89=no
     3977ac_save_CC=$CC
     3978cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3979/* end confdefs.h.  */
     3980#include <stdarg.h>
     3981#include <stdio.h>
     3982struct stat;
     3983/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
     3984struct buf { int x; };
     3985FILE * (*rcsopen) (struct buf *, struct stat *, int);
     3986static char *e (p, i)
     3987     char **p;
     3988     int i;
     3989{
     3990  return p[i];
     3991}
     3992static char *f (char * (*g) (char **, int), char **p, ...)
     3993{
     3994  char *s;
     3995  va_list v;
     3996  va_start (v,p);
     3997  s = g (p, va_arg (v,int));
     3998  va_end (v);
     3999  return s;
     4000}
     4001
     4002/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
     4003   function prototypes and stuff, but not '\xHH' hex character constants.
     4004   These don't provoke an error unfortunately, instead are silently treated
     4005   as 'x'.  The following induces an error, until -std is added to get
     4006   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
     4007   array size at least.  It's necessary to write '\x00'==0 to get something
     4008   that's true only with -std.  */
     4009int osf4_cc_array ['\x00' == 0 ? 1 : -1];
     4010
     4011/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
     4012   inside strings and character constants.  */
     4013#define FOO(x) 'x'
     4014int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
     4015
     4016int test (int i, double x);
     4017struct s1 {int (*f) (int a);};
     4018struct s2 {int (*f) (double a);};
     4019int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
     4020int argc;
     4021char **argv;
     4022int
     4023main ()
     4024{
     4025return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
     4026  ;
     4027  return 0;
     4028}
     4029_ACEOF
     4030for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
     4031        -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
     4032do
     4033  CC="$ac_save_CC $ac_arg"
     4034  if ac_fn_c_try_compile "$LINENO"; then :
     4035  ac_cv_prog_cc_c89=$ac_arg
     4036fi
     4037rm -f core conftest.err conftest.$ac_objext
     4038  test "x$ac_cv_prog_cc_c89" != "xno" && break
     4039done
     4040rm -f conftest.$ac_ext
     4041CC=$ac_save_CC
     4042
     4043fi
     4044# AC_CACHE_VAL
     4045case "x$ac_cv_prog_cc_c89" in
     4046  x)
     4047    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
     4048$as_echo "none needed" >&6; } ;;
     4049  xno)
     4050    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
     4051$as_echo "unsupported" >&6; } ;;
     4052  *)
     4053    CC="$CC $ac_cv_prog_cc_c89"
     4054    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
     4055$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
     4056esac
     4057if test "x$ac_cv_prog_cc_c89" != xno; then :
     4058
     4059fi
     4060
     4061ac_ext=c
     4062ac_cpp='$CPP $CPPFLAGS'
     4063ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     4064ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     4065ac_compiler_gnu=$ac_cv_c_compiler_gnu
     4066
     4067ac_ext=c
     4068ac_cpp='$CPP $CPPFLAGS'
     4069ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     4070ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     4071ac_compiler_gnu=$ac_cv_c_compiler_gnu
     4072{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
     4073$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
     4074if ${am_cv_prog_cc_c_o+:} false; then :
     4075  $as_echo_n "(cached) " >&6
     4076else
     4077  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4078/* end confdefs.h.  */
     4079
     4080int
     4081main ()
     4082{
     4083
     4084  ;
     4085  return 0;
     4086}
     4087_ACEOF
     4088  # Make sure it works both with $CC and with simple cc.
     4089  # Following AC_PROG_CC_C_O, we do the test twice because some
     4090  # compilers refuse to overwrite an existing .o file with -o,
     4091  # though they will create one.
     4092  am_cv_prog_cc_c_o=yes
     4093  for am_i in 1 2; do
     4094    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
     4095   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
     4096   ac_status=$?
     4097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4098   (exit $ac_status); } \
     4099         && test -f conftest2.$ac_objext; then
     4100      : OK
     4101    else
     4102      am_cv_prog_cc_c_o=no
     4103      break
     4104    fi
     4105  done
     4106  rm -f core conftest*
     4107  unset am_i
     4108fi
     4109{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
     4110$as_echo "$am_cv_prog_cc_c_o" >&6; }
     4111if test "$am_cv_prog_cc_c_o" != yes; then
     4112   # Losing compiler, so override with the script.
     4113   # FIXME: It is wrong to rewrite CC.
     4114   # But if we don't then we get into trouble of one sort or another.
     4115   # A longer-term fix would be to have automake use am__CC in this case,
     4116   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
     4117   CC="$am_aux_dir/compile $CC"
     4118fi
     4119ac_ext=c
     4120ac_cpp='$CPP $CPPFLAGS'
     4121ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     4122ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     4123ac_compiler_gnu=$ac_cv_c_compiler_gnu
     4124
     4125
     4126depcc="$CC"   am_compiler_list=
     4127
     4128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
     4129$as_echo_n "checking dependency style of $depcc... " >&6; }
     4130if ${am_cv_CC_dependencies_compiler_type+:} false; then :
     4131  $as_echo_n "(cached) " >&6
     4132else
     4133  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
     4134  # We make a subdir and do the tests there.  Otherwise we can end up
     4135  # making bogus files that we don't know about and never remove.  For
     4136  # instance it was reported that on HP-UX the gcc test will end up
     4137  # making a dummy file named 'D' -- because '-MD' means "put the output
     4138  # in D".
     4139  rm -rf conftest.dir
     4140  mkdir conftest.dir
     4141  # Copy depcomp to subdir because otherwise we won't find it if we're
     4142  # using a relative directory.
     4143  cp "$am_depcomp" conftest.dir
     4144  cd conftest.dir
     4145  # We will build objects and dependencies in a subdirectory because
     4146  # it helps to detect inapplicable dependency modes.  For instance
     4147  # both Tru64's cc and ICC support -MD to output dependencies as a
     4148  # side effect of compilation, but ICC will put the dependencies in
     4149  # the current directory while Tru64 will put them in the object
     4150  # directory.
     4151  mkdir sub
     4152
     4153  am_cv_CC_dependencies_compiler_type=none
     4154  if test "$am_compiler_list" = ""; then
     4155     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
     4156  fi
     4157  am__universal=false
     4158  case " $depcc " in #(
     4159     *\ -arch\ *\ -arch\ *) am__universal=true ;;
     4160     esac
     4161
     4162  for depmode in $am_compiler_list; do
     4163    # Setup a source with many dependencies, because some compilers
     4164    # like to wrap large dependency lists on column 80 (with \), and
     4165    # we should not choose a depcomp mode which is confused by this.
     4166    #
     4167    # We need to recreate these files for each test, as the compiler may
     4168    # overwrite some of them when testing with obscure command lines.
     4169    # This happens at least with the AIX C compiler.
     4170    : > sub/conftest.c
     4171    for i in 1 2 3 4 5 6; do
     4172      echo '#include "conftst'$i'.h"' >> sub/conftest.c
     4173      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
     4174      # Solaris 10 /bin/sh.
     4175      echo '/* dummy */' > sub/conftst$i.h
     4176    done
     4177    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
     4178
     4179    # We check with '-c' and '-o' for the sake of the "dashmstdout"
     4180    # mode.  It turns out that the SunPro C++ compiler does not properly
     4181    # handle '-M -o', and we need to detect this.  Also, some Intel
     4182    # versions had trouble with output in subdirs.
     4183    am__obj=sub/conftest.${OBJEXT-o}
     4184    am__minus_obj="-o $am__obj"
     4185    case $depmode in
     4186    gcc)
     4187      # This depmode causes a compiler race in universal mode.
     4188      test "$am__universal" = false || continue
     4189      ;;
     4190    nosideeffect)
     4191      # After this tag, mechanisms are not by side-effect, so they'll
     4192      # only be used when explicitly requested.
     4193      if test "x$enable_dependency_tracking" = xyes; then
     4194        continue
     4195      else
     4196        break
     4197      fi
     4198      ;;
     4199    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
     4200      # This compiler won't grok '-c -o', but also, the minuso test has
     4201      # not run yet.  These depmodes are late enough in the game, and
     4202      # so weak that their functioning should not be impacted.
     4203      am__obj=conftest.${OBJEXT-o}
     4204      am__minus_obj=
     4205      ;;
     4206    none) break ;;
     4207    esac
     4208    if depmode=$depmode \
     4209       source=sub/conftest.c object=$am__obj \
     4210       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
     4211       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
     4212         >/dev/null 2>conftest.err &&
     4213       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
     4214       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
     4215       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
     4216       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
     4217      # icc doesn't choke on unknown options, it will just issue warnings
     4218      # or remarks (even with -Werror).  So we grep stderr for any message
     4219      # that says an option was ignored or not supported.
     4220      # When given -MP, icc 7.0 and 7.1 complain thusly:
     4221      #   icc: Command line warning: ignoring option '-M'; no argument required
     4222      # The diagnosis changed in icc 8.0:
     4223      #   icc: Command line remark: option '-MP' not supported
     4224      if (grep 'ignoring option' conftest.err ||
     4225          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
     4226        am_cv_CC_dependencies_compiler_type=$depmode
     4227        break
     4228      fi
     4229    fi
     4230  done
     4231
     4232  cd ..
     4233  rm -rf conftest.dir
     4234else
     4235  am_cv_CC_dependencies_compiler_type=none
     4236fi
     4237
     4238fi
     4239{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
     4240$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
     4241CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
     4242
     4243 if
     4244  test "x$enable_dependency_tracking" != xno \
     4245  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
     4246  am__fastdepCC_TRUE=
     4247  am__fastdepCC_FALSE='#'
     4248else
     4249  am__fastdepCC_TRUE='#'
     4250  am__fastdepCC_FALSE=
     4251fi
     4252
     4253
     4254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
     4255$as_echo_n "checking for a sed that does not truncate output... " >&6; }
     4256if ${ac_cv_path_SED+:} false; then :
     4257  $as_echo_n "(cached) " >&6
     4258else
     4259            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
     4260     for ac_i in 1 2 3 4 5 6 7; do
     4261       ac_script="$ac_script$as_nl$ac_script"
     4262     done
     4263     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
     4264     { ac_script=; unset ac_script;}
     4265     if test -z "$SED"; then
     4266  ac_path_SED_found=false
     4267  # Loop through the user's path and test for each of PROGNAME-LIST
     4268  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4269for as_dir in $PATH
     4270do
     4271  IFS=$as_save_IFS
     4272  test -z "$as_dir" && as_dir=.
     4273    for ac_prog in sed gsed; do
     4274    for ac_exec_ext in '' $ac_executable_extensions; do
     4275      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
     4276      as_fn_executable_p "$ac_path_SED" || continue
     4277# Check for GNU ac_path_SED and select it if it is found.
     4278  # Check for GNU $ac_path_SED
     4279case `"$ac_path_SED" --version 2>&1` in
     4280*GNU*)
     4281  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
     4282*)
     4283  ac_count=0
     4284  $as_echo_n 0123456789 >"conftest.in"
     4285  while :
     4286  do
     4287    cat "conftest.in" "conftest.in" >"conftest.tmp"
     4288    mv "conftest.tmp" "conftest.in"
     4289    cp "conftest.in" "conftest.nl"
     4290    $as_echo '' >> "conftest.nl"
     4291    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
     4292    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     4293    as_fn_arith $ac_count + 1 && ac_count=$as_val
     4294    if test $ac_count -gt ${ac_path_SED_max-0}; then
     4295      # Best one so far, save it but keep looking for a better one
     4296      ac_cv_path_SED="$ac_path_SED"
     4297      ac_path_SED_max=$ac_count
     4298    fi
     4299    # 10*(2^10) chars as input seems more than enough
     4300    test $ac_count -gt 10 && break
     4301  done
     4302  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     4303esac
     4304
     4305      $ac_path_SED_found && break 3
     4306    done
     4307  done
     4308  done
     4309IFS=$as_save_IFS
     4310  if test -z "$ac_cv_path_SED"; then
     4311    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
     4312  fi
     4313else
     4314  ac_cv_path_SED=$SED
     4315fi
     4316
     4317fi
     4318{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
     4319$as_echo "$ac_cv_path_SED" >&6; }
     4320 SED="$ac_cv_path_SED"
     4321  rm -f conftest.sed
     4322
     4323test -z "$SED" && SED=sed
     4324Xsed="$SED -e 1s/^X//"
     4325
     4326
     4327
     4328
     4329
     4330
     4331
     4332
     4333
     4334
     4335
     4336{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
     4337$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
     4338if ${ac_cv_path_GREP+:} false; then :
     4339  $as_echo_n "(cached) " >&6
     4340else
     4341  if test -z "$GREP"; then
     4342  ac_path_GREP_found=false
     4343  # Loop through the user's path and test for each of PROGNAME-LIST
     4344  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4345for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     4346do
     4347  IFS=$as_save_IFS
     4348  test -z "$as_dir" && as_dir=.
     4349    for ac_prog in grep ggrep; do
     4350    for ac_exec_ext in '' $ac_executable_extensions; do
     4351      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
     4352      as_fn_executable_p "$ac_path_GREP" || continue
     4353# Check for GNU ac_path_GREP and select it if it is found.
     4354  # Check for GNU $ac_path_GREP
     4355case `"$ac_path_GREP" --version 2>&1` in
     4356*GNU*)
     4357  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
     4358*)
     4359  ac_count=0
     4360  $as_echo_n 0123456789 >"conftest.in"
     4361  while :
     4362  do
     4363    cat "conftest.in" "conftest.in" >"conftest.tmp"
     4364    mv "conftest.tmp" "conftest.in"
     4365    cp "conftest.in" "conftest.nl"
     4366    $as_echo 'GREP' >> "conftest.nl"
     4367    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     4368    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     4369    as_fn_arith $ac_count + 1 && ac_count=$as_val
     4370    if test $ac_count -gt ${ac_path_GREP_max-0}; then
     4371      # Best one so far, save it but keep looking for a better one
     4372      ac_cv_path_GREP="$ac_path_GREP"
     4373      ac_path_GREP_max=$ac_count
     4374    fi
     4375    # 10*(2^10) chars as input seems more than enough
     4376    test $ac_count -gt 10 && break
     4377  done
     4378  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     4379esac
     4380
     4381      $ac_path_GREP_found && break 3
     4382    done
     4383  done
     4384  done
     4385IFS=$as_save_IFS
     4386  if test -z "$ac_cv_path_GREP"; then
     4387    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     4388  fi
     4389else
     4390  ac_cv_path_GREP=$GREP
     4391fi
     4392
     4393fi
     4394{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
     4395$as_echo "$ac_cv_path_GREP" >&6; }
     4396 GREP="$ac_cv_path_GREP"
     4397
     4398
     4399{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
     4400$as_echo_n "checking for egrep... " >&6; }
     4401if ${ac_cv_path_EGREP+:} false; then :
     4402  $as_echo_n "(cached) " >&6
     4403else
     4404  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
     4405   then ac_cv_path_EGREP="$GREP -E"
     4406   else
     4407     if test -z "$EGREP"; then
     4408  ac_path_EGREP_found=false
     4409  # Loop through the user's path and test for each of PROGNAME-LIST
     4410  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4411for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     4412do
     4413  IFS=$as_save_IFS
     4414  test -z "$as_dir" && as_dir=.
     4415    for ac_prog in egrep; do
     4416    for ac_exec_ext in '' $ac_executable_extensions; do
     4417      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
     4418      as_fn_executable_p "$ac_path_EGREP" || continue
     4419# Check for GNU ac_path_EGREP and select it if it is found.
     4420  # Check for GNU $ac_path_EGREP
     4421case `"$ac_path_EGREP" --version 2>&1` in
     4422*GNU*)
     4423  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
     4424*)
     4425  ac_count=0
     4426  $as_echo_n 0123456789 >"conftest.in"
     4427  while :
     4428  do
     4429    cat "conftest.in" "conftest.in" >"conftest.tmp"
     4430    mv "conftest.tmp" "conftest.in"
     4431    cp "conftest.in" "conftest.nl"
     4432    $as_echo 'EGREP' >> "conftest.nl"
     4433    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
     4434    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     4435    as_fn_arith $ac_count + 1 && ac_count=$as_val
     4436    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
     4437      # Best one so far, save it but keep looking for a better one
     4438      ac_cv_path_EGREP="$ac_path_EGREP"
     4439      ac_path_EGREP_max=$ac_count
     4440    fi
     4441    # 10*(2^10) chars as input seems more than enough
     4442    test $ac_count -gt 10 && break
     4443  done
     4444  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     4445esac
     4446
     4447      $ac_path_EGREP_found && break 3
     4448    done
     4449  done
     4450  done
     4451IFS=$as_save_IFS
     4452  if test -z "$ac_cv_path_EGREP"; then
     4453    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     4454  fi
     4455else
     4456  ac_cv_path_EGREP=$EGREP
     4457fi
     4458
     4459   fi
     4460fi
     4461{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
     4462$as_echo "$ac_cv_path_EGREP" >&6; }
     4463 EGREP="$ac_cv_path_EGREP"
     4464
     4465
     4466{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
     4467$as_echo_n "checking for fgrep... " >&6; }
     4468if ${ac_cv_path_FGREP+:} false; then :
     4469  $as_echo_n "(cached) " >&6
     4470else
     4471  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
     4472   then ac_cv_path_FGREP="$GREP -F"
     4473   else
     4474     if test -z "$FGREP"; then
     4475  ac_path_FGREP_found=false
     4476  # Loop through the user's path and test for each of PROGNAME-LIST
     4477  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4478for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
     4479do
     4480  IFS=$as_save_IFS
     4481  test -z "$as_dir" && as_dir=.
     4482    for ac_prog in fgrep; do
     4483    for ac_exec_ext in '' $ac_executable_extensions; do
     4484      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
     4485      as_fn_executable_p "$ac_path_FGREP" || continue
     4486# Check for GNU ac_path_FGREP and select it if it is found.
     4487  # Check for GNU $ac_path_FGREP
     4488case `"$ac_path_FGREP" --version 2>&1` in
     4489*GNU*)
     4490  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
     4491*)
     4492  ac_count=0
     4493  $as_echo_n 0123456789 >"conftest.in"
     4494  while :
     4495  do
     4496    cat "conftest.in" "conftest.in" >"conftest.tmp"
     4497    mv "conftest.tmp" "conftest.in"
     4498    cp "conftest.in" "conftest.nl"
     4499    $as_echo 'FGREP' >> "conftest.nl"
     4500    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
     4501    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     4502    as_fn_arith $ac_count + 1 && ac_count=$as_val
     4503    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
     4504      # Best one so far, save it but keep looking for a better one
     4505      ac_cv_path_FGREP="$ac_path_FGREP"
     4506      ac_path_FGREP_max=$ac_count
     4507    fi
     4508    # 10*(2^10) chars as input seems more than enough
     4509    test $ac_count -gt 10 && break
     4510  done
     4511  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
     4512esac
     4513
     4514      $ac_path_FGREP_found && break 3
     4515    done
     4516  done
     4517  done
     4518IFS=$as_save_IFS
     4519  if test -z "$ac_cv_path_FGREP"; then
     4520    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     4521  fi
     4522else
     4523  ac_cv_path_FGREP=$FGREP
     4524fi
     4525
     4526   fi
     4527fi
     4528{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
     4529$as_echo "$ac_cv_path_FGREP" >&6; }
     4530 FGREP="$ac_cv_path_FGREP"
     4531
     4532
     4533test -z "$GREP" && GREP=grep
     4534
     4535
     4536
     4537
     4538
     4539
     4540
     4541
     4542
     4543
     4544
     4545
     4546
     4547
     4548
     4549
     4550
     4551
     4552
     4553# Check whether --with-gnu-ld was given.
     4554if test "${with_gnu_ld+set}" = set; then :
     4555  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
     4556else
     4557  with_gnu_ld=no
     4558fi
     4559
     4560ac_prog=ld
     4561if test yes = "$GCC"; then
     4562  # Check if gcc -print-prog-name=ld gives a path.
     4563  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
     4564$as_echo_n "checking for ld used by $CC... " >&6; }
     4565  case $host in
     4566  *-*-mingw*)
     4567    # gcc leaves a trailing carriage return, which upsets mingw
     4568    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
     4569  *)
     4570    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
     4571  esac
     4572  case $ac_prog in
     4573    # Accept absolute paths.
     4574    [\\/]* | ?:[\\/]*)
     4575      re_direlt='/[^/][^/]*/\.\./'
     4576      # Canonicalize the pathname of ld
     4577      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
     4578      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
     4579        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
     4580      done
     4581      test -z "$LD" && LD=$ac_prog
     4582      ;;
     4583  "")
     4584    # If it fails, then pretend we aren't using GCC.
     4585    ac_prog=ld
     4586    ;;
     4587  *)
     4588    # If it is relative, then search for the first ld in PATH.
     4589    with_gnu_ld=unknown
     4590    ;;
     4591  esac
     4592elif test yes = "$with_gnu_ld"; then
     4593  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
     4594$as_echo_n "checking for GNU ld... " >&6; }
     4595else
     4596  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
     4597$as_echo_n "checking for non-GNU ld... " >&6; }
     4598fi
     4599if ${lt_cv_path_LD+:} false; then :
     4600  $as_echo_n "(cached) " >&6
     4601else
     4602  if test -z "$LD"; then
     4603  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
     4604  for ac_dir in $PATH; do
     4605    IFS=$lt_save_ifs
     4606    test -z "$ac_dir" && ac_dir=.
     4607    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
     4608      lt_cv_path_LD=$ac_dir/$ac_prog
     4609      # Check to see if the program is GNU ld.  I'd rather use --version,
     4610      # but apparently some variants of GNU ld only accept -v.
     4611      # Break only if it was the GNU/non-GNU ld that we prefer.
     4612      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
     4613      *GNU* | *'with BFD'*)
     4614        test no != "$with_gnu_ld" && break
     4615        ;;
     4616      *)
     4617        test yes != "$with_gnu_ld" && break
     4618        ;;
     4619      esac
     4620    fi
     4621  done
     4622  IFS=$lt_save_ifs
     4623else
     4624  lt_cv_path_LD=$LD # Let the user override the test with a path.
     4625fi
     4626fi
     4627
     4628LD=$lt_cv_path_LD
     4629if test -n "$LD"; then
     4630  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
     4631$as_echo "$LD" >&6; }
     4632else
     4633  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4634$as_echo "no" >&6; }
     4635fi
     4636test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
     4637{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
     4638$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
     4639if ${lt_cv_prog_gnu_ld+:} false; then :
     4640  $as_echo_n "(cached) " >&6
     4641else
     4642  # I'd rather use --version here, but apparently some GNU lds only accept -v.
     4643case `$LD -v 2>&1 </dev/null` in
     4644*GNU* | *'with BFD'*)
     4645  lt_cv_prog_gnu_ld=yes
     4646  ;;
     4647*)
     4648  lt_cv_prog_gnu_ld=no
     4649  ;;
     4650esac
     4651fi
     4652{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
     4653$as_echo "$lt_cv_prog_gnu_ld" >&6; }
     4654with_gnu_ld=$lt_cv_prog_gnu_ld
     4655
     4656
     4657
     4658
     4659
     4660
     4661
     4662
     4663
     4664{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
     4665$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
     4666if ${lt_cv_path_NM+:} false; then :
     4667  $as_echo_n "(cached) " >&6
     4668else
     4669  if test -n "$NM"; then
     4670  # Let the user override the test.
     4671  lt_cv_path_NM=$NM
     4672else
     4673  lt_nm_to_check=${ac_tool_prefix}nm
     4674  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
     4675    lt_nm_to_check="$lt_nm_to_check nm"
     4676  fi
     4677  for lt_tmp_nm in $lt_nm_to_check; do
     4678    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
     4679    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
     4680      IFS=$lt_save_ifs
     4681      test -z "$ac_dir" && ac_dir=.
     4682      tmp_nm=$ac_dir/$lt_tmp_nm
     4683      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
     4684        # Check to see if the nm accepts a BSD-compat flag.
     4685        # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
     4686        #   nm: unknown option "B" ignored
     4687        # Tru64's nm complains that /dev/null is an invalid object file
     4688        # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
     4689        case $build_os in
     4690        mingw*) lt_bad_file=conftest.nm/nofile ;;
     4691        *) lt_bad_file=/dev/null ;;
     4692        esac
     4693        case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
     4694        *$lt_bad_file* | *'Invalid file or object type'*)
     4695          lt_cv_path_NM="$tmp_nm -B"
     4696          break 2
     4697          ;;
     4698        *)
     4699          case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
     4700          */dev/null*)
     4701            lt_cv_path_NM="$tmp_nm -p"
     4702            break 2
     4703            ;;
     4704          *)
     4705            lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
     4706            continue # so that we can try to find one that supports BSD flags
     4707            ;;
     4708          esac
     4709          ;;
     4710        esac
     4711      fi
     4712    done
     4713    IFS=$lt_save_ifs
     4714  done
     4715  : ${lt_cv_path_NM=no}
     4716fi
     4717fi
     4718{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
     4719$as_echo "$lt_cv_path_NM" >&6; }
     4720if test no != "$lt_cv_path_NM"; then
     4721  NM=$lt_cv_path_NM
     4722else
     4723  # Didn't find any BSD compatible name lister, look for dumpbin.
     4724  if test -n "$DUMPBIN"; then :
     4725    # Let the user override the test.
     4726  else
     4727    if test -n "$ac_tool_prefix"; then
     4728  for ac_prog in dumpbin "link -dump"
     4729  do
     4730    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     4731set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     4732{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4733$as_echo_n "checking for $ac_word... " >&6; }
     4734if ${ac_cv_prog_DUMPBIN+:} false; then :
     4735  $as_echo_n "(cached) " >&6
     4736else
     4737  if test -n "$DUMPBIN"; then
     4738  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
     4739else
     4740as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4741for as_dir in $PATH
     4742do
     4743  IFS=$as_save_IFS
     4744  test -z "$as_dir" && as_dir=.
     4745    for ac_exec_ext in '' $ac_executable_extensions; do
     4746  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     4747    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
     4748    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     4749    break 2
     4750  fi
     4751done
     4752  done
     4753IFS=$as_save_IFS
     4754
     4755fi
     4756fi
     4757DUMPBIN=$ac_cv_prog_DUMPBIN
     4758if test -n "$DUMPBIN"; then
     4759  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
     4760$as_echo "$DUMPBIN" >&6; }
     4761else
     4762  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4763$as_echo "no" >&6; }
     4764fi
     4765
     4766
     4767    test -n "$DUMPBIN" && break
     4768  done
     4769fi
     4770if test -z "$DUMPBIN"; then
     4771  ac_ct_DUMPBIN=$DUMPBIN
     4772  for ac_prog in dumpbin "link -dump"
     4773do
     4774  # Extract the first word of "$ac_prog", so it can be a program name with args.
     4775set dummy $ac_prog; ac_word=$2
     4776{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4777$as_echo_n "checking for $ac_word... " >&6; }
     4778if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
     4779  $as_echo_n "(cached) " >&6
     4780else
     4781  if test -n "$ac_ct_DUMPBIN"; then
     4782  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
     4783else
     4784as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4785for as_dir in $PATH
     4786do
     4787  IFS=$as_save_IFS
     4788  test -z "$as_dir" && as_dir=.
     4789    for ac_exec_ext in '' $ac_executable_extensions; do
     4790  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     4791    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
     4792    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     4793    break 2
     4794  fi
     4795done
     4796  done
     4797IFS=$as_save_IFS
     4798
     4799fi
     4800fi
     4801ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
     4802if test -n "$ac_ct_DUMPBIN"; then
     4803  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
     4804$as_echo "$ac_ct_DUMPBIN" >&6; }
     4805else
     4806  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4807$as_echo "no" >&6; }
     4808fi
     4809
     4810
     4811  test -n "$ac_ct_DUMPBIN" && break
     4812done
     4813
     4814  if test "x$ac_ct_DUMPBIN" = x; then
     4815    DUMPBIN=":"
     4816  else
     4817    case $cross_compiling:$ac_tool_warned in
     4818yes:)
     4819{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     4820$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     4821ac_tool_warned=yes ;;
     4822esac
     4823    DUMPBIN=$ac_ct_DUMPBIN
     4824  fi
     4825fi
     4826
     4827    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
     4828    *COFF*)
     4829      DUMPBIN="$DUMPBIN -symbols -headers"
     4830      ;;
     4831    *)
     4832      DUMPBIN=:
     4833      ;;
     4834    esac
     4835  fi
     4836
     4837  if test : != "$DUMPBIN"; then
     4838    NM=$DUMPBIN
     4839  fi
     4840fi
     4841test -z "$NM" && NM=nm
     4842
     4843
     4844
     4845
     4846
     4847
     4848{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
     4849$as_echo_n "checking the name lister ($NM) interface... " >&6; }
     4850if ${lt_cv_nm_interface+:} false; then :
     4851  $as_echo_n "(cached) " >&6
     4852else
     4853  lt_cv_nm_interface="BSD nm"
     4854  echo "int some_variable = 0;" > conftest.$ac_ext
     4855  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
     4856  (eval "$ac_compile" 2>conftest.err)
     4857  cat conftest.err >&5
     4858  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
     4859  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
     4860  cat conftest.err >&5
     4861  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
     4862  cat conftest.out >&5
     4863  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
     4864    lt_cv_nm_interface="MS dumpbin"
     4865  fi
     4866  rm -f conftest*
     4867fi
     4868{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
     4869$as_echo "$lt_cv_nm_interface" >&6; }
     4870
     4871{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
     4872$as_echo_n "checking whether ln -s works... " >&6; }
     4873LN_S=$as_ln_s
     4874if test "$LN_S" = "ln -s"; then
     4875  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     4876$as_echo "yes" >&6; }
     4877else
     4878  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
     4879$as_echo "no, using $LN_S" >&6; }
     4880fi
     4881
     4882# find the maximum length of command line arguments
     4883{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
     4884$as_echo_n "checking the maximum length of command line arguments... " >&6; }
     4885if ${lt_cv_sys_max_cmd_len+:} false; then :
     4886  $as_echo_n "(cached) " >&6
     4887else
     4888    i=0
     4889  teststring=ABCD
     4890
     4891  case $build_os in
     4892  msdosdjgpp*)
     4893    # On DJGPP, this test can blow up pretty badly due to problems in libc
     4894    # (any single argument exceeding 2000 bytes causes a buffer overrun
     4895    # during glob expansion).  Even if it were fixed, the result of this
     4896    # check would be larger than it should be.
     4897    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
     4898    ;;
     4899
     4900  gnu*)
     4901    # Under GNU Hurd, this test is not required because there is
     4902    # no limit to the length of command line arguments.
     4903    # Libtool will interpret -1 as no limit whatsoever
     4904    lt_cv_sys_max_cmd_len=-1;
     4905    ;;
     4906
     4907  cygwin* | mingw* | cegcc*)
     4908    # On Win9x/ME, this test blows up -- it succeeds, but takes
     4909    # about 5 minutes as the teststring grows exponentially.
     4910    # Worse, since 9x/ME are not pre-emptively multitasking,
     4911    # you end up with a "frozen" computer, even though with patience
     4912    # the test eventually succeeds (with a max line length of 256k).
     4913    # Instead, let's just punt: use the minimum linelength reported by
     4914    # all of the supported platforms: 8192 (on NT/2K/XP).
     4915    lt_cv_sys_max_cmd_len=8192;
     4916    ;;
     4917
     4918  mint*)
     4919    # On MiNT this can take a long time and run out of memory.
     4920    lt_cv_sys_max_cmd_len=8192;
     4921    ;;
     4922
     4923  amigaos*)
     4924    # On AmigaOS with pdksh, this test takes hours, literally.
     4925    # So we just punt and use a minimum line length of 8192.
     4926    lt_cv_sys_max_cmd_len=8192;
     4927    ;;
     4928
     4929  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
     4930    # This has been around since 386BSD, at least.  Likely further.
     4931    if test -x /sbin/sysctl; then
     4932      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
     4933    elif test -x /usr/sbin/sysctl; then
     4934      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
     4935    else
     4936      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
     4937    fi
     4938    # And add a safety zone
     4939    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
     4940    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
     4941    ;;
     4942
     4943  interix*)
     4944    # We know the value 262144 and hardcode it with a safety zone (like BSD)
     4945    lt_cv_sys_max_cmd_len=196608
     4946    ;;
     4947
     4948  os2*)
     4949    # The test takes a long time on OS/2.
     4950    lt_cv_sys_max_cmd_len=8192
     4951    ;;
     4952
     4953  osf*)
     4954    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
     4955    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
     4956    # nice to cause kernel panics so lets avoid the loop below.
     4957    # First set a reasonable default.
     4958    lt_cv_sys_max_cmd_len=16384
     4959    #
     4960    if test -x /sbin/sysconfig; then
     4961      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
     4962        *1*) lt_cv_sys_max_cmd_len=-1 ;;
     4963      esac
     4964    fi
     4965    ;;
     4966  sco3.2v5*)
     4967    lt_cv_sys_max_cmd_len=102400
     4968    ;;
     4969  sysv5* | sco5v6* | sysv4.2uw2*)
     4970    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
     4971    if test -n "$kargmax"; then
     4972      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
     4973    else
     4974      lt_cv_sys_max_cmd_len=32768
     4975    fi
     4976    ;;
     4977  *)
     4978    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
     4979    if test -n "$lt_cv_sys_max_cmd_len" && \
     4980       test undefined != "$lt_cv_sys_max_cmd_len"; then
     4981      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
     4982      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
     4983    else
     4984      # Make teststring a little bigger before we do anything with it.
     4985      # a 1K string should be a reasonable start.
     4986      for i in 1 2 3 4 5 6 7 8; do
     4987        teststring=$teststring$teststring
     4988      done
     4989      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
     4990      # If test is not a shell built-in, we'll probably end up computing a
     4991      # maximum length that is only half of the actual maximum length, but
     4992      # we can't tell.
     4993      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
     4994                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
     4995              test 17 != "$i" # 1/2 MB should be enough
     4996      do
     4997        i=`expr $i + 1`
     4998        teststring=$teststring$teststring
     4999      done
     5000      # Only check the string length outside the loop.
     5001      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
     5002      teststring=
     5003      # Add a significant safety factor because C++ compilers can tack on
     5004      # massive amounts of additional arguments before passing them to the
     5005      # linker.  It appears as though 1/2 is a usable value.
     5006      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
     5007    fi
     5008    ;;
     5009  esac
     5010
     5011fi
     5012
     5013if test -n "$lt_cv_sys_max_cmd_len"; then
     5014  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
     5015$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
     5016else
     5017  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
     5018$as_echo "none" >&6; }
     5019fi
     5020max_cmd_len=$lt_cv_sys_max_cmd_len
     5021
     5022
     5023
     5024
     5025
     5026
     5027: ${CP="cp -f"}
     5028: ${MV="mv -f"}
     5029: ${RM="rm -f"}
     5030
     5031if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     5032  lt_unset=unset
     5033else
     5034  lt_unset=false
     5035fi
     5036
     5037
     5038
     5039
     5040
     5041# test EBCDIC or ASCII
     5042case `echo X|tr X '\101'` in
     5043 A) # ASCII based system
     5044    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
     5045  lt_SP2NL='tr \040 \012'
     5046  lt_NL2SP='tr \015\012 \040\040'
     5047  ;;
     5048 *) # EBCDIC based system
     5049  lt_SP2NL='tr \100 \n'
     5050  lt_NL2SP='tr \r\n \100\100'
     5051  ;;
     5052esac
     5053
     5054
     5055
     5056
     5057
     5058
     5059
     5060
     5061
     5062{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
     5063$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
     5064if ${lt_cv_to_host_file_cmd+:} false; then :
     5065  $as_echo_n "(cached) " >&6
     5066else
     5067  case $host in
     5068  *-*-mingw* )
     5069    case $build in
     5070      *-*-mingw* ) # actually msys
     5071        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
     5072        ;;
     5073      *-*-cygwin* )
     5074        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
     5075        ;;
     5076      * ) # otherwise, assume *nix
     5077        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
     5078        ;;
     5079    esac
     5080    ;;
     5081  *-*-cygwin* )
     5082    case $build in
     5083      *-*-mingw* ) # actually msys
     5084        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
     5085        ;;
     5086      *-*-cygwin* )
     5087        lt_cv_to_host_file_cmd=func_convert_file_noop
     5088        ;;
     5089      * ) # otherwise, assume *nix
     5090        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
     5091        ;;
     5092    esac
     5093    ;;
     5094  * ) # unhandled hosts (and "normal" native builds)
     5095    lt_cv_to_host_file_cmd=func_convert_file_noop
     5096    ;;
     5097esac
     5098
     5099fi
     5100
     5101to_host_file_cmd=$lt_cv_to_host_file_cmd
     5102{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
     5103$as_echo "$lt_cv_to_host_file_cmd" >&6; }
     5104
     5105
     5106
     5107
     5108
     5109{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
     5110$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
     5111if ${lt_cv_to_tool_file_cmd+:} false; then :
     5112  $as_echo_n "(cached) " >&6
     5113else
     5114  #assume ordinary cross tools, or native build.
     5115lt_cv_to_tool_file_cmd=func_convert_file_noop
     5116case $host in
     5117  *-*-mingw* )
     5118    case $build in
     5119      *-*-mingw* ) # actually msys
     5120        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
     5121        ;;
     5122    esac
     5123    ;;
     5124esac
     5125
     5126fi
     5127
     5128to_tool_file_cmd=$lt_cv_to_tool_file_cmd
     5129{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
     5130$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
     5131
     5132
     5133
     5134
     5135
     5136{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
     5137$as_echo_n "checking for $LD option to reload object files... " >&6; }
     5138if ${lt_cv_ld_reload_flag+:} false; then :
     5139  $as_echo_n "(cached) " >&6
     5140else
     5141  lt_cv_ld_reload_flag='-r'
     5142fi
     5143{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
     5144$as_echo "$lt_cv_ld_reload_flag" >&6; }
     5145reload_flag=$lt_cv_ld_reload_flag
     5146case $reload_flag in
     5147"" | " "*) ;;
     5148*) reload_flag=" $reload_flag" ;;
     5149esac
     5150reload_cmds='$LD$reload_flag -o $output$reload_objs'
     5151case $host_os in
     5152  cygwin* | mingw* | pw32* | cegcc*)
     5153    if test yes != "$GCC"; then
     5154      reload_cmds=false
     5155    fi
     5156    ;;
     5157  darwin*)
     5158    if test yes = "$GCC"; then
     5159      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
     5160    else
     5161      reload_cmds='$LD$reload_flag -o $output$reload_objs'
     5162    fi
     5163    ;;
     5164esac
     5165
     5166
     5167
     5168
     5169
     5170
     5171
     5172
     5173
     5174if test -n "$ac_tool_prefix"; then
     5175  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
     5176set dummy ${ac_tool_prefix}objdump; ac_word=$2
     5177{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5178$as_echo_n "checking for $ac_word... " >&6; }
     5179if ${ac_cv_prog_OBJDUMP+:} false; then :
     5180  $as_echo_n "(cached) " >&6
     5181else
     5182  if test -n "$OBJDUMP"; then
     5183  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
     5184else
     5185as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5186for as_dir in $PATH
     5187do
     5188  IFS=$as_save_IFS
     5189  test -z "$as_dir" && as_dir=.
     5190    for ac_exec_ext in '' $ac_executable_extensions; do
     5191  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5192    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
     5193    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5194    break 2
     5195  fi
     5196done
     5197  done
     5198IFS=$as_save_IFS
     5199
     5200fi
     5201fi
     5202OBJDUMP=$ac_cv_prog_OBJDUMP
     5203if test -n "$OBJDUMP"; then
     5204  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
     5205$as_echo "$OBJDUMP" >&6; }
     5206else
     5207  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5208$as_echo "no" >&6; }
     5209fi
     5210
     5211
     5212fi
     5213if test -z "$ac_cv_prog_OBJDUMP"; then
     5214  ac_ct_OBJDUMP=$OBJDUMP
     5215  # Extract the first word of "objdump", so it can be a program name with args.
     5216set dummy objdump; ac_word=$2
     5217{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5218$as_echo_n "checking for $ac_word... " >&6; }
     5219if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
     5220  $as_echo_n "(cached) " >&6
     5221else
     5222  if test -n "$ac_ct_OBJDUMP"; then
     5223  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
     5224else
     5225as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5226for as_dir in $PATH
     5227do
     5228  IFS=$as_save_IFS
     5229  test -z "$as_dir" && as_dir=.
     5230    for ac_exec_ext in '' $ac_executable_extensions; do
     5231  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5232    ac_cv_prog_ac_ct_OBJDUMP="objdump"
     5233    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5234    break 2
     5235  fi
     5236done
     5237  done
     5238IFS=$as_save_IFS
     5239
     5240fi
     5241fi
     5242ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
     5243if test -n "$ac_ct_OBJDUMP"; then
     5244  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
     5245$as_echo "$ac_ct_OBJDUMP" >&6; }
     5246else
     5247  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5248$as_echo "no" >&6; }
     5249fi
     5250
     5251  if test "x$ac_ct_OBJDUMP" = x; then
     5252    OBJDUMP="false"
     5253  else
     5254    case $cross_compiling:$ac_tool_warned in
     5255yes:)
     5256{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     5257$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     5258ac_tool_warned=yes ;;
     5259esac
     5260    OBJDUMP=$ac_ct_OBJDUMP
     5261  fi
     5262else
     5263  OBJDUMP="$ac_cv_prog_OBJDUMP"
     5264fi
     5265
     5266test -z "$OBJDUMP" && OBJDUMP=objdump
     5267
     5268
     5269
     5270
     5271
     5272
     5273
     5274
     5275
     5276{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
     5277$as_echo_n "checking how to recognize dependent libraries... " >&6; }
     5278if ${lt_cv_deplibs_check_method+:} false; then :
     5279  $as_echo_n "(cached) " >&6
     5280else
     5281  lt_cv_file_magic_cmd='$MAGIC_CMD'
     5282lt_cv_file_magic_test_file=
     5283lt_cv_deplibs_check_method='unknown'
     5284# Need to set the preceding variable on all platforms that support
     5285# interlibrary dependencies.
     5286# 'none' -- dependencies not supported.
     5287# 'unknown' -- same as none, but documents that we really don't know.
     5288# 'pass_all' -- all dependencies passed with no checks.
     5289# 'test_compile' -- check by making test program.
     5290# 'file_magic [[regex]]' -- check by looking for files in library path
     5291# that responds to the $file_magic_cmd with a given extended regex.
     5292# If you have 'file' or equivalent on your system and you're not sure
     5293# whether 'pass_all' will *always* work, you probably want this one.
     5294
     5295case $host_os in
     5296aix[4-9]*)
     5297  lt_cv_deplibs_check_method=pass_all
     5298  ;;
     5299
     5300beos*)
     5301  lt_cv_deplibs_check_method=pass_all
     5302  ;;
     5303
     5304bsdi[45]*)
     5305  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
     5306  lt_cv_file_magic_cmd='/usr/bin/file -L'
     5307  lt_cv_file_magic_test_file=/shlib/libc.so
     5308  ;;
     5309
     5310cygwin*)
     5311  # func_win32_libid is a shell function defined in ltmain.sh
     5312  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
     5313  lt_cv_file_magic_cmd='func_win32_libid'
     5314  ;;
     5315
     5316mingw* | pw32*)
     5317  # Base MSYS/MinGW do not provide the 'file' command needed by
     5318  # func_win32_libid shell function, so use a weaker test based on 'objdump',
     5319  # unless we find 'file', for example because we are cross-compiling.
     5320  if ( file / ) >/dev/null 2>&1; then
     5321    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
     5322    lt_cv_file_magic_cmd='func_win32_libid'
     5323  else
     5324    # Keep this pattern in sync with the one in func_win32_libid.
     5325    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
     5326    lt_cv_file_magic_cmd='$OBJDUMP -f'
     5327  fi
     5328  ;;
     5329
     5330cegcc*)
     5331  # use the weaker test based on 'objdump'. See mingw*.
     5332  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
     5333  lt_cv_file_magic_cmd='$OBJDUMP -f'
     5334  ;;
     5335
     5336darwin* | rhapsody*)
     5337  lt_cv_deplibs_check_method=pass_all
     5338  ;;
     5339
     5340freebsd* | dragonfly*)
     5341  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
     5342    case $host_cpu in
     5343    i*86 )
     5344      # Not sure whether the presence of OpenBSD here was a mistake.
     5345      # Let's accept both of them until this is cleared up.
     5346      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
     5347      lt_cv_file_magic_cmd=/usr/bin/file
     5348      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
     5349      ;;
     5350    esac
     5351  else
     5352    lt_cv_deplibs_check_method=pass_all
     5353  fi
     5354  ;;
     5355
     5356haiku*)
     5357  lt_cv_deplibs_check_method=pass_all
     5358  ;;
     5359
     5360hpux10.20* | hpux11*)
     5361  lt_cv_file_magic_cmd=/usr/bin/file
     5362  case $host_cpu in
     5363  ia64*)
     5364    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
     5365    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
     5366    ;;
     5367  hppa*64*)
     5368    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]'
     5369    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
     5370    ;;
     5371  *)
     5372    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
     5373    lt_cv_file_magic_test_file=/usr/lib/libc.sl
     5374    ;;
     5375  esac
     5376  ;;
     5377
     5378interix[3-9]*)
     5379  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
     5380  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
     5381  ;;
     5382
     5383irix5* | irix6* | nonstopux*)
     5384  case $LD in
     5385  *-32|*"-32 ") libmagic=32-bit;;
     5386  *-n32|*"-n32 ") libmagic=N32;;
     5387  *-64|*"-64 ") libmagic=64-bit;;
     5388  *) libmagic=never-match;;
     5389  esac
     5390  lt_cv_deplibs_check_method=pass_all
     5391  ;;
     5392
     5393# This must be glibc/ELF.
     5394linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
     5395  lt_cv_deplibs_check_method=pass_all
     5396  ;;
     5397
     5398netbsd* | netbsdelf*-gnu)
     5399  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
     5400    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
     5401  else
     5402    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
     5403  fi
     5404  ;;
     5405
     5406newos6*)
     5407  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
     5408  lt_cv_file_magic_cmd=/usr/bin/file
     5409  lt_cv_file_magic_test_file=/usr/lib/libnls.so
     5410  ;;
     5411
     5412*nto* | *qnx*)
     5413  lt_cv_deplibs_check_method=pass_all
     5414  ;;
     5415
     5416openbsd* | bitrig*)
     5417  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
     5418    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
     5419  else
     5420    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
     5421  fi
     5422  ;;
     5423
     5424osf3* | osf4* | osf5*)
     5425  lt_cv_deplibs_check_method=pass_all
     5426  ;;
     5427
     5428rdos*)
     5429  lt_cv_deplibs_check_method=pass_all
     5430  ;;
     5431
     5432solaris*)
     5433  lt_cv_deplibs_check_method=pass_all
     5434  ;;
     5435
     5436sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
     5437  lt_cv_deplibs_check_method=pass_all
     5438  ;;
     5439
     5440sysv4 | sysv4.3*)
     5441  case $host_vendor in
     5442  motorola)
     5443    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]'
     5444    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
     5445    ;;
     5446  ncr)
     5447    lt_cv_deplibs_check_method=pass_all
     5448    ;;
     5449  sequent)
     5450    lt_cv_file_magic_cmd='/bin/file'
     5451    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
     5452    ;;
     5453  sni)
     5454    lt_cv_file_magic_cmd='/bin/file'
     5455    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
     5456    lt_cv_file_magic_test_file=/lib/libc.so
     5457    ;;
     5458  siemens)
     5459    lt_cv_deplibs_check_method=pass_all
     5460    ;;
     5461  pc)
     5462    lt_cv_deplibs_check_method=pass_all
     5463    ;;
     5464  esac
     5465  ;;
     5466
     5467tpf*)
     5468  lt_cv_deplibs_check_method=pass_all
     5469  ;;
     5470os2*)
     5471  lt_cv_deplibs_check_method=pass_all
     5472  ;;
     5473esac
     5474
     5475fi
     5476{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
     5477$as_echo "$lt_cv_deplibs_check_method" >&6; }
     5478
     5479file_magic_glob=
     5480want_nocaseglob=no
     5481if test "$build" = "$host"; then
     5482  case $host_os in
     5483  mingw* | pw32*)
     5484    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
     5485      want_nocaseglob=yes
     5486    else
     5487      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
     5488    fi
     5489    ;;
     5490  esac
     5491fi
     5492
     5493file_magic_cmd=$lt_cv_file_magic_cmd
     5494deplibs_check_method=$lt_cv_deplibs_check_method
     5495test -z "$deplibs_check_method" && deplibs_check_method=unknown
     5496
     5497
     5498
     5499
     5500
     5501
     5502
     5503
     5504
     5505
     5506
     5507
     5508
     5509
     5510
     5511
     5512
     5513
     5514
     5515
     5516
     5517
     5518if test -n "$ac_tool_prefix"; then
     5519  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
     5520set dummy ${ac_tool_prefix}dlltool; ac_word=$2
     5521{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5522$as_echo_n "checking for $ac_word... " >&6; }
     5523if ${ac_cv_prog_DLLTOOL+:} false; then :
     5524  $as_echo_n "(cached) " >&6
     5525else
     5526  if test -n "$DLLTOOL"; then
     5527  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
     5528else
     5529as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5530for as_dir in $PATH
     5531do
     5532  IFS=$as_save_IFS
     5533  test -z "$as_dir" && as_dir=.
     5534    for ac_exec_ext in '' $ac_executable_extensions; do
     5535  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5536    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
     5537    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5538    break 2
     5539  fi
     5540done
     5541  done
     5542IFS=$as_save_IFS
     5543
     5544fi
     5545fi
     5546DLLTOOL=$ac_cv_prog_DLLTOOL
     5547if test -n "$DLLTOOL"; then
     5548  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
     5549$as_echo "$DLLTOOL" >&6; }
     5550else
     5551  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5552$as_echo "no" >&6; }
     5553fi
     5554
     5555
     5556fi
     5557if test -z "$ac_cv_prog_DLLTOOL"; then
     5558  ac_ct_DLLTOOL=$DLLTOOL
     5559  # Extract the first word of "dlltool", so it can be a program name with args.
     5560set dummy dlltool; ac_word=$2
     5561{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5562$as_echo_n "checking for $ac_word... " >&6; }
     5563if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
     5564  $as_echo_n "(cached) " >&6
     5565else
     5566  if test -n "$ac_ct_DLLTOOL"; then
     5567  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
     5568else
     5569as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5570for as_dir in $PATH
     5571do
     5572  IFS=$as_save_IFS
     5573  test -z "$as_dir" && as_dir=.
     5574    for ac_exec_ext in '' $ac_executable_extensions; do
     5575  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5576    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
     5577    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5578    break 2
     5579  fi
     5580done
     5581  done
     5582IFS=$as_save_IFS
     5583
     5584fi
     5585fi
     5586ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
     5587if test -n "$ac_ct_DLLTOOL"; then
     5588  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
     5589$as_echo "$ac_ct_DLLTOOL" >&6; }
     5590else
     5591  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5592$as_echo "no" >&6; }
     5593fi
     5594
     5595  if test "x$ac_ct_DLLTOOL" = x; then
     5596    DLLTOOL="false"
     5597  else
     5598    case $cross_compiling:$ac_tool_warned in
     5599yes:)
     5600{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     5601$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     5602ac_tool_warned=yes ;;
     5603esac
     5604    DLLTOOL=$ac_ct_DLLTOOL
     5605  fi
     5606else
     5607  DLLTOOL="$ac_cv_prog_DLLTOOL"
     5608fi
     5609
     5610test -z "$DLLTOOL" && DLLTOOL=dlltool
     5611
     5612
     5613
     5614
     5615
     5616
     5617
     5618
     5619
     5620
     5621{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
     5622$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
     5623if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
     5624  $as_echo_n "(cached) " >&6
     5625else
     5626  lt_cv_sharedlib_from_linklib_cmd='unknown'
     5627
     5628case $host_os in
     5629cygwin* | mingw* | pw32* | cegcc*)
     5630  # two different shell functions defined in ltmain.sh;
     5631  # decide which one to use based on capabilities of $DLLTOOL
     5632  case `$DLLTOOL --help 2>&1` in
     5633  *--identify-strict*)
     5634    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
     5635    ;;
     5636  *)
     5637    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
     5638    ;;
     5639  esac
     5640  ;;
     5641*)
     5642  # fallback: assume linklib IS sharedlib
     5643  lt_cv_sharedlib_from_linklib_cmd=$ECHO
     5644  ;;
     5645esac
     5646
     5647fi
     5648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
     5649$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
     5650sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
     5651test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
     5652
     5653
     5654
     5655
     5656
     5657
     5658
     5659
     5660if test -n "$ac_tool_prefix"; then
     5661  for ac_prog in ar
     5662  do
     5663    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     5664set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     5665{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5666$as_echo_n "checking for $ac_word... " >&6; }
     5667if ${ac_cv_prog_AR+:} false; then :
     5668  $as_echo_n "(cached) " >&6
     5669else
     5670  if test -n "$AR"; then
     5671  ac_cv_prog_AR="$AR" # Let the user override the test.
     5672else
     5673as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5674for as_dir in $PATH
     5675do
     5676  IFS=$as_save_IFS
     5677  test -z "$as_dir" && as_dir=.
     5678    for ac_exec_ext in '' $ac_executable_extensions; do
     5679  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5680    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
     5681    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5682    break 2
     5683  fi
     5684done
     5685  done
     5686IFS=$as_save_IFS
     5687
     5688fi
     5689fi
     5690AR=$ac_cv_prog_AR
     5691if test -n "$AR"; then
     5692  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
     5693$as_echo "$AR" >&6; }
     5694else
     5695  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5696$as_echo "no" >&6; }
     5697fi
     5698
     5699
     5700    test -n "$AR" && break
     5701  done
     5702fi
     5703if test -z "$AR"; then
     5704  ac_ct_AR=$AR
     5705  for ac_prog in ar
     5706do
     5707  # Extract the first word of "$ac_prog", so it can be a program name with args.
     5708set dummy $ac_prog; ac_word=$2
     5709{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5710$as_echo_n "checking for $ac_word... " >&6; }
     5711if ${ac_cv_prog_ac_ct_AR+:} false; then :
     5712  $as_echo_n "(cached) " >&6
     5713else
     5714  if test -n "$ac_ct_AR"; then
     5715  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
     5716else
     5717as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5718for as_dir in $PATH
     5719do
     5720  IFS=$as_save_IFS
     5721  test -z "$as_dir" && as_dir=.
     5722    for ac_exec_ext in '' $ac_executable_extensions; do
     5723  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5724    ac_cv_prog_ac_ct_AR="$ac_prog"
     5725    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5726    break 2
     5727  fi
     5728done
     5729  done
     5730IFS=$as_save_IFS
     5731
     5732fi
     5733fi
     5734ac_ct_AR=$ac_cv_prog_ac_ct_AR
     5735if test -n "$ac_ct_AR"; then
     5736  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
     5737$as_echo "$ac_ct_AR" >&6; }
     5738else
     5739  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5740$as_echo "no" >&6; }
     5741fi
     5742
     5743
     5744  test -n "$ac_ct_AR" && break
     5745done
     5746
     5747  if test "x$ac_ct_AR" = x; then
     5748    AR="false"
     5749  else
     5750    case $cross_compiling:$ac_tool_warned in
     5751yes:)
     5752{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     5753$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     5754ac_tool_warned=yes ;;
     5755esac
     5756    AR=$ac_ct_AR
     5757  fi
     5758fi
     5759
     5760: ${AR=ar}
     5761: ${AR_FLAGS=cru}
     5762
     5763
     5764
     5765
     5766
     5767
     5768
     5769
     5770
     5771
     5772
     5773{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
     5774$as_echo_n "checking for archiver @FILE support... " >&6; }
     5775if ${lt_cv_ar_at_file+:} false; then :
     5776  $as_echo_n "(cached) " >&6
     5777else
     5778  lt_cv_ar_at_file=no
     5779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5780/* end confdefs.h.  */
     5781
     5782int
     5783main ()
     5784{
     5785
     5786  ;
     5787  return 0;
     5788}
     5789_ACEOF
     5790if ac_fn_c_try_compile "$LINENO"; then :
     5791  echo conftest.$ac_objext > conftest.lst
     5792      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
     5793      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
     5794  (eval $lt_ar_try) 2>&5
     5795  ac_status=$?
     5796  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     5797  test $ac_status = 0; }
     5798      if test 0 -eq "$ac_status"; then
     5799        # Ensure the archiver fails upon bogus file names.
     5800        rm -f conftest.$ac_objext libconftest.a
     5801        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
     5802  (eval $lt_ar_try) 2>&5
     5803  ac_status=$?
     5804  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     5805  test $ac_status = 0; }
     5806        if test 0 -ne "$ac_status"; then
     5807          lt_cv_ar_at_file=@
     5808        fi
     5809      fi
     5810      rm -f conftest.* libconftest.a
     5811
     5812fi
     5813rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5814
     5815fi
     5816{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
     5817$as_echo "$lt_cv_ar_at_file" >&6; }
     5818
     5819if test no = "$lt_cv_ar_at_file"; then
     5820  archiver_list_spec=
     5821else
     5822  archiver_list_spec=$lt_cv_ar_at_file
     5823fi
     5824
     5825
     5826
     5827
     5828
     5829
     5830
     5831if test -n "$ac_tool_prefix"; then
     5832  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
     5833set dummy ${ac_tool_prefix}strip; ac_word=$2
     5834{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5835$as_echo_n "checking for $ac_word... " >&6; }
     5836if ${ac_cv_prog_STRIP+:} false; then :
     5837  $as_echo_n "(cached) " >&6
     5838else
     5839  if test -n "$STRIP"; then
     5840  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
     5841else
     5842as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5843for as_dir in $PATH
     5844do
     5845  IFS=$as_save_IFS
     5846  test -z "$as_dir" && as_dir=.
     5847    for ac_exec_ext in '' $ac_executable_extensions; do
     5848  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5849    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
     5850    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5851    break 2
     5852  fi
     5853done
     5854  done
     5855IFS=$as_save_IFS
     5856
     5857fi
     5858fi
     5859STRIP=$ac_cv_prog_STRIP
     5860if test -n "$STRIP"; then
     5861  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
     5862$as_echo "$STRIP" >&6; }
     5863else
     5864  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5865$as_echo "no" >&6; }
     5866fi
     5867
     5868
     5869fi
     5870if test -z "$ac_cv_prog_STRIP"; then
     5871  ac_ct_STRIP=$STRIP
     5872  # Extract the first word of "strip", so it can be a program name with args.
     5873set dummy strip; ac_word=$2
     5874{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5875$as_echo_n "checking for $ac_word... " >&6; }
     5876if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
     5877  $as_echo_n "(cached) " >&6
     5878else
     5879  if test -n "$ac_ct_STRIP"; then
     5880  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
     5881else
     5882as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5883for as_dir in $PATH
     5884do
     5885  IFS=$as_save_IFS
     5886  test -z "$as_dir" && as_dir=.
     5887    for ac_exec_ext in '' $ac_executable_extensions; do
     5888  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5889    ac_cv_prog_ac_ct_STRIP="strip"
     5890    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5891    break 2
     5892  fi
     5893done
     5894  done
     5895IFS=$as_save_IFS
     5896
     5897fi
     5898fi
     5899ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
     5900if test -n "$ac_ct_STRIP"; then
     5901  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
     5902$as_echo "$ac_ct_STRIP" >&6; }
     5903else
     5904  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5905$as_echo "no" >&6; }
     5906fi
     5907
     5908  if test "x$ac_ct_STRIP" = x; then
     5909    STRIP=":"
     5910  else
     5911    case $cross_compiling:$ac_tool_warned in
     5912yes:)
     5913{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     5914$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     5915ac_tool_warned=yes ;;
     5916esac
     5917    STRIP=$ac_ct_STRIP
     5918  fi
     5919else
     5920  STRIP="$ac_cv_prog_STRIP"
     5921fi
     5922
     5923test -z "$STRIP" && STRIP=:
     5924
     5925
     5926
     5927
     5928
     5929
     5930if test -n "$ac_tool_prefix"; then
     5931  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
     5932set dummy ${ac_tool_prefix}ranlib; ac_word=$2
     5933{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5934$as_echo_n "checking for $ac_word... " >&6; }
     5935if ${ac_cv_prog_RANLIB+:} false; then :
     5936  $as_echo_n "(cached) " >&6
     5937else
     5938  if test -n "$RANLIB"; then
     5939  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
     5940else
     5941as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5942for as_dir in $PATH
     5943do
     5944  IFS=$as_save_IFS
     5945  test -z "$as_dir" && as_dir=.
     5946    for ac_exec_ext in '' $ac_executable_extensions; do
     5947  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5948    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
     5949    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5950    break 2
     5951  fi
     5952done
     5953  done
     5954IFS=$as_save_IFS
     5955
     5956fi
     5957fi
     5958RANLIB=$ac_cv_prog_RANLIB
     5959if test -n "$RANLIB"; then
     5960  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
     5961$as_echo "$RANLIB" >&6; }
     5962else
     5963  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     5964$as_echo "no" >&6; }
     5965fi
     5966
     5967
     5968fi
     5969if test -z "$ac_cv_prog_RANLIB"; then
     5970  ac_ct_RANLIB=$RANLIB
     5971  # Extract the first word of "ranlib", so it can be a program name with args.
     5972set dummy ranlib; ac_word=$2
     5973{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     5974$as_echo_n "checking for $ac_word... " >&6; }
     5975if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
     5976  $as_echo_n "(cached) " >&6
     5977else
     5978  if test -n "$ac_ct_RANLIB"; then
     5979  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
     5980else
     5981as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     5982for as_dir in $PATH
     5983do
     5984  IFS=$as_save_IFS
     5985  test -z "$as_dir" && as_dir=.
     5986    for ac_exec_ext in '' $ac_executable_extensions; do
     5987  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     5988    ac_cv_prog_ac_ct_RANLIB="ranlib"
     5989    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     5990    break 2
     5991  fi
     5992done
     5993  done
     5994IFS=$as_save_IFS
     5995
     5996fi
     5997fi
     5998ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
     5999if test -n "$ac_ct_RANLIB"; then
     6000  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
     6001$as_echo "$ac_ct_RANLIB" >&6; }
     6002else
     6003  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6004$as_echo "no" >&6; }
     6005fi
     6006
     6007  if test "x$ac_ct_RANLIB" = x; then
     6008    RANLIB=":"
     6009  else
     6010    case $cross_compiling:$ac_tool_warned in
     6011yes:)
     6012{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     6013$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     6014ac_tool_warned=yes ;;
     6015esac
     6016    RANLIB=$ac_ct_RANLIB
     6017  fi
     6018else
     6019  RANLIB="$ac_cv_prog_RANLIB"
     6020fi
     6021
     6022test -z "$RANLIB" && RANLIB=:
     6023
     6024
     6025
     6026
     6027
     6028
     6029# Determine commands to create old-style static archives.
     6030old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
     6031old_postinstall_cmds='chmod 644 $oldlib'
     6032old_postuninstall_cmds=
     6033
     6034if test -n "$RANLIB"; then
     6035  case $host_os in
     6036  bitrig* | openbsd*)
     6037    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
     6038    ;;
     6039  *)
     6040    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
     6041    ;;
     6042  esac
     6043  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
     6044fi
     6045
     6046case $host_os in
     6047  darwin*)
     6048    lock_old_archive_extraction=yes ;;
     6049  *)
     6050    lock_old_archive_extraction=no ;;
     6051esac
     6052
     6053
     6054
     6055
     6056
     6057
     6058
     6059
     6060
     6061
     6062
     6063
     6064
     6065
     6066
     6067
     6068
     6069
     6070
     6071
     6072
     6073
     6074
     6075
     6076
     6077
     6078
     6079
     6080
     6081
     6082
     6083
     6084
     6085
     6086
     6087
     6088
     6089
     6090
     6091# If no C compiler was specified, use CC.
     6092LTCC=${LTCC-"$CC"}
     6093
     6094# If no C compiler flags were specified, use CFLAGS.
     6095LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
     6096
     6097# Allow CC to be a program name with arguments.
     6098compiler=$CC
     6099
     6100
     6101# Check for command to grab the raw symbol name followed by C symbol from nm.
     6102{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
     6103$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
     6104if ${lt_cv_sys_global_symbol_pipe+:} false; then :
     6105  $as_echo_n "(cached) " >&6
     6106else
     6107
     6108# These are sane defaults that work on at least a few old systems.
     6109# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
     6110
     6111# Character class describing NM global symbol codes.
     6112symcode='[BCDEGRST]'
     6113
     6114# Regexp to match symbols that can be accessed directly from C.
     6115sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
     6116
     6117# Define system-specific variables.
     6118case $host_os in
     6119aix*)
     6120  symcode='[BCDT]'
     6121  ;;
     6122cygwin* | mingw* | pw32* | cegcc*)
     6123  symcode='[ABCDGISTW]'
     6124  ;;
     6125hpux*)
     6126  if test ia64 = "$host_cpu"; then
     6127    symcode='[ABCDEGRST]'
     6128  fi
     6129  ;;
     6130irix* | nonstopux*)
     6131  symcode='[BCDEGRST]'
     6132  ;;
     6133osf*)
     6134  symcode='[BCDEGQRST]'
     6135  ;;
     6136solaris*)
     6137  symcode='[BDRT]'
     6138  ;;
     6139sco3.2v5*)
     6140  symcode='[DT]'
     6141  ;;
     6142sysv4.2uw2*)
     6143  symcode='[DT]'
     6144  ;;
     6145sysv5* | sco5v6* | unixware* | OpenUNIX*)
     6146  symcode='[ABDT]'
     6147  ;;
     6148sysv4)
     6149  symcode='[DFNSTU]'
     6150  ;;
     6151esac
     6152
     6153# If we're using GNU nm, then use its standard symbol codes.
     6154case `$NM -V 2>&1` in
     6155*GNU* | *'with BFD'*)
     6156  symcode='[ABCDGIRSTW]' ;;
     6157esac
     6158
     6159if test "$lt_cv_nm_interface" = "MS dumpbin"; then
     6160  # Gets list of data symbols to import.
     6161  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
     6162  # Adjust the below global symbol transforms to fixup imported variables.
     6163  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
     6164  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
     6165  lt_c_name_lib_hook="\
     6166  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
     6167  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
     6168else
     6169  # Disable hooks by default.
     6170  lt_cv_sys_global_symbol_to_import=
     6171  lt_cdecl_hook=
     6172  lt_c_name_hook=
     6173  lt_c_name_lib_hook=
     6174fi
     6175
     6176# Transform an extracted symbol line into a proper C declaration.
     6177# Some systems (esp. on ia64) link data and code symbols differently,
     6178# so use this general approach.
     6179lt_cv_sys_global_symbol_to_cdecl="sed -n"\
     6180$lt_cdecl_hook\
     6181" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
     6182" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
     6183
     6184# Transform an extracted symbol line into symbol name and symbol address
     6185lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
     6186$lt_c_name_hook\
     6187" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
     6188" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
     6189
     6190# Transform an extracted symbol line into symbol name with lib prefix and
     6191# symbol address.
     6192lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
     6193$lt_c_name_lib_hook\
     6194" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
     6195" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
     6196" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
     6197
     6198# Handle CRLF in mingw tool chain
     6199opt_cr=
     6200case $build_os in
     6201mingw*)
     6202  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
     6203  ;;
     6204esac
     6205
     6206# Try without a prefix underscore, then with it.
     6207for ac_symprfx in "" "_"; do
     6208
     6209  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
     6210  symxfrm="\\1 $ac_symprfx\\2 \\2"
     6211
     6212  # Write the raw and C identifiers.
     6213  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
     6214    # Fake it for dumpbin and say T for any non-static function,
     6215    # D for any global variable and I for any imported variable.
     6216    # Also find C++ and __fastcall symbols from MSVC++,
     6217    # which start with @ or ?.
     6218    lt_cv_sys_global_symbol_pipe="$AWK '"\
     6219"     {last_section=section; section=\$ 3};"\
     6220"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
     6221"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
     6222"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
     6223"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
     6224"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
     6225"     \$ 0!~/External *\|/{next};"\
     6226"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
     6227"     {if(hide[section]) next};"\
     6228"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
     6229"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
     6230"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
     6231"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
     6232"     ' prfx=^$ac_symprfx"
     6233  else
     6234    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
     6235  fi
     6236  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
     6237
     6238  # Check to see that the pipe works correctly.
     6239  pipe_works=no
     6240
     6241  rm -f conftest*
     6242  cat > conftest.$ac_ext <<_LT_EOF
     6243#ifdef __cplusplus
     6244extern "C" {
     6245#endif
     6246char nm_test_var;
     6247void nm_test_func(void);
     6248void nm_test_func(void){}
     6249#ifdef __cplusplus
     6250}
     6251#endif
     6252int main(){nm_test_var='a';nm_test_func();return(0);}
     6253_LT_EOF
     6254
     6255  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     6256  (eval $ac_compile) 2>&5
     6257  ac_status=$?
     6258  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     6259  test $ac_status = 0; }; then
     6260    # Now try to grab the symbols.
     6261    nlist=conftest.nm
     6262    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
     6263  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
     6264  ac_status=$?
     6265  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     6266  test $ac_status = 0; } && test -s "$nlist"; then
     6267      # Try sorting and uniquifying the output.
     6268      if sort "$nlist" | uniq > "$nlist"T; then
     6269        mv -f "$nlist"T "$nlist"
     6270      else
     6271        rm -f "$nlist"T
     6272      fi
     6273
     6274      # Make sure that we snagged all the symbols we need.
     6275      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
     6276        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
     6277          cat <<_LT_EOF > conftest.$ac_ext
     6278/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
     6279#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
     6280/* DATA imports from DLLs on WIN32 can't be const, because runtime
     6281   relocations are performed -- see ld's documentation on pseudo-relocs.  */
     6282# define LT_DLSYM_CONST
     6283#elif defined __osf__
     6284/* This system does not cope well with relocations in const data.  */
     6285# define LT_DLSYM_CONST
     6286#else
     6287# define LT_DLSYM_CONST const
     6288#endif
     6289
     6290#ifdef __cplusplus
     6291extern "C" {
     6292#endif
     6293
     6294_LT_EOF
     6295          # Now generate the symbol file.
     6296          eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
     6297
     6298          cat <<_LT_EOF >> conftest.$ac_ext
     6299
     6300/* The mapping between symbol names and symbols.  */
     6301LT_DLSYM_CONST struct {
     6302  const char *name;
     6303  void       *address;
     6304}
     6305lt__PROGRAM__LTX_preloaded_symbols[] =
     6306{
     6307  { "@PROGRAM@", (void *) 0 },
     6308_LT_EOF
     6309          $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
     6310          cat <<\_LT_EOF >> conftest.$ac_ext
     6311  {0, (void *) 0}
     6312};
     6313
     6314/* This works around a problem in FreeBSD linker */
     6315#ifdef FREEBSD_WORKAROUND
     6316static const void *lt_preloaded_setup() {
     6317  return lt__PROGRAM__LTX_preloaded_symbols;
     6318}
     6319#endif
     6320
     6321#ifdef __cplusplus
     6322}
     6323#endif
     6324_LT_EOF
     6325          # Now try linking the two files.
     6326          mv conftest.$ac_objext conftstm.$ac_objext
     6327          lt_globsym_save_LIBS=$LIBS
     6328          lt_globsym_save_CFLAGS=$CFLAGS
     6329          LIBS=conftstm.$ac_objext
     6330          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
     6331          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
     6332  (eval $ac_link) 2>&5
     6333  ac_status=$?
     6334  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     6335  test $ac_status = 0; } && test -s conftest$ac_exeext; then
     6336            pipe_works=yes
     6337          fi
     6338          LIBS=$lt_globsym_save_LIBS
     6339          CFLAGS=$lt_globsym_save_CFLAGS
     6340        else
     6341          echo "cannot find nm_test_func in $nlist" >&5
     6342        fi
     6343      else
     6344        echo "cannot find nm_test_var in $nlist" >&5
     6345      fi
     6346    else
     6347      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
     6348    fi
     6349  else
     6350    echo "$progname: failed program was:" >&5
     6351    cat conftest.$ac_ext >&5
     6352  fi
     6353  rm -rf conftest* conftst*
     6354
     6355  # Do not use the global_symbol_pipe unless it works.
     6356  if test yes = "$pipe_works"; then
     6357    break
     6358  else
     6359    lt_cv_sys_global_symbol_pipe=
     6360  fi
     6361done
     6362
     6363fi
     6364
     6365if test -z "$lt_cv_sys_global_symbol_pipe"; then
     6366  lt_cv_sys_global_symbol_to_cdecl=
     6367fi
     6368if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
     6369  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
     6370$as_echo "failed" >&6; }
     6371else
     6372  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
     6373$as_echo "ok" >&6; }
     6374fi
     6375
     6376# Response file support.
     6377if test "$lt_cv_nm_interface" = "MS dumpbin"; then
     6378  nm_file_list_spec='@'
     6379elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
     6380  nm_file_list_spec='@'
     6381fi
     6382
     6383
     6384
     6385
     6386
     6387
     6388
     6389
     6390
     6391
     6392
     6393
     6394
     6395
     6396
     6397
     6398
     6399
     6400
     6401
     6402
     6403
     6404
     6405
     6406
     6407
     6408
     6409
     6410
     6411
     6412
     6413
     6414
     6415
     6416
     6417
     6418
     6419{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
     6420$as_echo_n "checking for sysroot... " >&6; }
     6421
     6422# Check whether --with-sysroot was given.
     6423if test "${with_sysroot+set}" = set; then :
     6424  withval=$with_sysroot;
     6425else
     6426  with_sysroot=no
     6427fi
     6428
     6429
     6430lt_sysroot=
     6431case $with_sysroot in #(
     6432 yes)
     6433   if test yes = "$GCC"; then
     6434     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
     6435   fi
     6436   ;; #(
     6437 /*)
     6438   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
     6439   ;; #(
     6440 no|'')
     6441   ;; #(
     6442 *)
     6443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
     6444$as_echo "$with_sysroot" >&6; }
     6445   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
     6446   ;;
     6447esac
     6448
     6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
     6450$as_echo "${lt_sysroot:-no}" >&6; }
     6451
     6452
     6453
     6454
     6455
     6456{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
     6457$as_echo_n "checking for a working dd... " >&6; }
     6458if ${ac_cv_path_lt_DD+:} false; then :
     6459  $as_echo_n "(cached) " >&6
     6460else
     6461  printf 0123456789abcdef0123456789abcdef >conftest.i
     6462cat conftest.i conftest.i >conftest2.i
     6463: ${lt_DD:=$DD}
     6464if test -z "$lt_DD"; then
     6465  ac_path_lt_DD_found=false
     6466  # Loop through the user's path and test for each of PROGNAME-LIST
     6467  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     6468for as_dir in $PATH
     6469do
     6470  IFS=$as_save_IFS
     6471  test -z "$as_dir" && as_dir=.
     6472    for ac_prog in dd; do
     6473    for ac_exec_ext in '' $ac_executable_extensions; do
     6474      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
     6475      as_fn_executable_p "$ac_path_lt_DD" || continue
     6476if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
     6477  cmp -s conftest.i conftest.out \
     6478  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
     6479fi
     6480      $ac_path_lt_DD_found && break 3
     6481    done
     6482  done
     6483  done
     6484IFS=$as_save_IFS
     6485  if test -z "$ac_cv_path_lt_DD"; then
     6486    :
     6487  fi
     6488else
     6489  ac_cv_path_lt_DD=$lt_DD
     6490fi
     6491
     6492rm -f conftest.i conftest2.i conftest.out
     6493fi
     6494{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
     6495$as_echo "$ac_cv_path_lt_DD" >&6; }
     6496
     6497
     6498{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
     6499$as_echo_n "checking how to truncate binary pipes... " >&6; }
     6500if ${lt_cv_truncate_bin+:} false; then :
     6501  $as_echo_n "(cached) " >&6
     6502else
     6503  printf 0123456789abcdef0123456789abcdef >conftest.i
     6504cat conftest.i conftest.i >conftest2.i
     6505lt_cv_truncate_bin=
     6506if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
     6507  cmp -s conftest.i conftest.out \
     6508  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
     6509fi
     6510rm -f conftest.i conftest2.i conftest.out
     6511test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
     6512fi
     6513{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
     6514$as_echo "$lt_cv_truncate_bin" >&6; }
     6515
     6516
     6517
     6518
     6519
     6520
     6521
     6522# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
     6523func_cc_basename ()
     6524{
     6525    for cc_temp in $*""; do
     6526      case $cc_temp in
     6527        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
     6528        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
     6529        \-*) ;;
     6530        *) break;;
     6531      esac
     6532    done
     6533    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
     6534}
     6535
     6536# Check whether --enable-libtool-lock was given.
     6537if test "${enable_libtool_lock+set}" = set; then :
     6538  enableval=$enable_libtool_lock;
     6539fi
     6540
     6541test no = "$enable_libtool_lock" || enable_libtool_lock=yes
     6542
     6543# Some flags need to be propagated to the compiler or linker for good
     6544# libtool support.
     6545case $host in
     6546ia64-*-hpux*)
     6547  # Find out what ABI is being produced by ac_compile, and set mode
     6548  # options accordingly.
     6549  echo 'int i;' > conftest.$ac_ext
     6550  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     6551  (eval $ac_compile) 2>&5
     6552  ac_status=$?
     6553  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     6554  test $ac_status = 0; }; then
     6555    case `/usr/bin/file conftest.$ac_objext` in
     6556      *ELF-32*)
     6557        HPUX_IA64_MODE=32
     6558        ;;
     6559      *ELF-64*)
     6560        HPUX_IA64_MODE=64
     6561        ;;
     6562    esac
     6563  fi
     6564  rm -rf conftest*
     6565  ;;
     6566*-*-irix6*)
     6567  # Find out what ABI is being produced by ac_compile, and set linker
     6568  # options accordingly.
     6569  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
     6570  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     6571  (eval $ac_compile) 2>&5
     6572  ac_status=$?
     6573  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     6574  test $ac_status = 0; }; then
     6575    if test yes = "$lt_cv_prog_gnu_ld"; then
     6576      case `/usr/bin/file conftest.$ac_objext` in
     6577        *32-bit*)
     6578          LD="${LD-ld} -melf32bsmip"
     6579          ;;
     6580        *N32*)
     6581          LD="${LD-ld} -melf32bmipn32"
     6582          ;;
     6583        *64-bit*)
     6584          LD="${LD-ld} -melf64bmip"
     6585        ;;
     6586      esac
     6587    else
     6588      case `/usr/bin/file conftest.$ac_objext` in
     6589        *32-bit*)
     6590          LD="${LD-ld} -32"
     6591          ;;
     6592        *N32*)
     6593          LD="${LD-ld} -n32"
     6594          ;;
     6595        *64-bit*)
     6596          LD="${LD-ld} -64"
     6597          ;;
     6598      esac
     6599    fi
     6600  fi
     6601  rm -rf conftest*
     6602  ;;
     6603
     6604mips64*-*linux*)
     6605  # Find out what ABI is being produced by ac_compile, and set linker
     6606  # options accordingly.
     6607  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
     6608  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     6609  (eval $ac_compile) 2>&5
     6610  ac_status=$?
     6611  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     6612  test $ac_status = 0; }; then
     6613    emul=elf
     6614    case `/usr/bin/file conftest.$ac_objext` in
     6615      *32-bit*)
     6616        emul="${emul}32"
     6617        ;;
     6618      *64-bit*)
     6619        emul="${emul}64"
     6620        ;;
     6621    esac
     6622    case `/usr/bin/file conftest.$ac_objext` in
     6623      *MSB*)
     6624        emul="${emul}btsmip"
     6625        ;;
     6626      *LSB*)
     6627        emul="${emul}ltsmip"
     6628        ;;
     6629    esac
     6630    case `/usr/bin/file conftest.$ac_objext` in
     6631      *N32*)
     6632        emul="${emul}n32"
     6633        ;;
     6634    esac
     6635    LD="${LD-ld} -m $emul"
     6636  fi
     6637  rm -rf conftest*
     6638  ;;
     6639
     6640x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
     6641s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
     6642  # Find out what ABI is being produced by ac_compile, and set linker
     6643  # options accordingly.  Note that the listed cases only cover the
     6644  # situations where additional linker options are needed (such as when
     6645  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
     6646  # vice versa); the common cases where no linker options are needed do
     6647  # not appear in the list.
     6648  echo 'int i;' > conftest.$ac_ext
     6649  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     6650  (eval $ac_compile) 2>&5
     6651  ac_status=$?
     6652  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     6653  test $ac_status = 0; }; then
     6654    case `/usr/bin/file conftest.o` in
     6655      *32-bit*)
     6656        case $host in
     6657          x86_64-*kfreebsd*-gnu)
     6658            LD="${LD-ld} -m elf_i386_fbsd"
     6659            ;;
     6660          x86_64-*linux*)
     6661            case `/usr/bin/file conftest.o` in
     6662              *x86-64*)
     6663                LD="${LD-ld} -m elf32_x86_64"
     6664                ;;
     6665              *)
     6666                LD="${LD-ld} -m elf_i386"
     6667                ;;
     6668            esac
     6669            ;;
     6670          powerpc64le-*linux*)
     6671            LD="${LD-ld} -m elf32lppclinux"
     6672            ;;
     6673          powerpc64-*linux*)
     6674            LD="${LD-ld} -m elf32ppclinux"
     6675            ;;
     6676          s390x-*linux*)
     6677            LD="${LD-ld} -m elf_s390"
     6678            ;;
     6679          sparc64-*linux*)
     6680            LD="${LD-ld} -m elf32_sparc"
     6681            ;;
     6682        esac
     6683        ;;
     6684      *64-bit*)
     6685        case $host in
     6686          x86_64-*kfreebsd*-gnu)
     6687            LD="${LD-ld} -m elf_x86_64_fbsd"
     6688            ;;
     6689          x86_64-*linux*)
     6690            LD="${LD-ld} -m elf_x86_64"
     6691            ;;
     6692          powerpcle-*linux*)
     6693            LD="${LD-ld} -m elf64lppc"
     6694            ;;
     6695          powerpc-*linux*)
     6696            LD="${LD-ld} -m elf64ppc"
     6697            ;;
     6698          s390*-*linux*|s390*-*tpf*)
     6699            LD="${LD-ld} -m elf64_s390"
     6700            ;;
     6701          sparc*-*linux*)
     6702            LD="${LD-ld} -m elf64_sparc"
     6703            ;;
     6704        esac
     6705        ;;
     6706    esac
     6707  fi
     6708  rm -rf conftest*
     6709  ;;
     6710
     6711*-*-sco3.2v5*)
     6712  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
     6713  SAVE_CFLAGS=$CFLAGS
     6714  CFLAGS="$CFLAGS -belf"
     6715  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
     6716$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
     6717if ${lt_cv_cc_needs_belf+:} false; then :
     6718  $as_echo_n "(cached) " >&6
     6719else
     6720  ac_ext=c
     6721ac_cpp='$CPP $CPPFLAGS'
     6722ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     6723ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     6724ac_compiler_gnu=$ac_cv_c_compiler_gnu
     6725
     6726     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     6727/* end confdefs.h.  */
     6728
     6729int
     6730main ()
     6731{
     6732
     6733  ;
     6734  return 0;
     6735}
     6736_ACEOF
     6737if ac_fn_c_try_link "$LINENO"; then :
     6738  lt_cv_cc_needs_belf=yes
     6739else
     6740  lt_cv_cc_needs_belf=no
     6741fi
     6742rm -f core conftest.err conftest.$ac_objext \
     6743    conftest$ac_exeext conftest.$ac_ext
     6744     ac_ext=c
     6745ac_cpp='$CPP $CPPFLAGS'
     6746ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     6747ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     6748ac_compiler_gnu=$ac_cv_c_compiler_gnu
     6749
     6750fi
     6751{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
     6752$as_echo "$lt_cv_cc_needs_belf" >&6; }
     6753  if test yes != "$lt_cv_cc_needs_belf"; then
     6754    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
     6755    CFLAGS=$SAVE_CFLAGS
     6756  fi
     6757  ;;
     6758*-*solaris*)
     6759  # Find out what ABI is being produced by ac_compile, and set linker
     6760  # options accordingly.
     6761  echo 'int i;' > conftest.$ac_ext
     6762  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     6763  (eval $ac_compile) 2>&5
     6764  ac_status=$?
     6765  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     6766  test $ac_status = 0; }; then
     6767    case `/usr/bin/file conftest.o` in
     6768    *64-bit*)
     6769      case $lt_cv_prog_gnu_ld in
     6770      yes*)
     6771        case $host in
     6772        i?86-*-solaris*|x86_64-*-solaris*)
     6773          LD="${LD-ld} -m elf_x86_64"
     6774          ;;
     6775        sparc*-*-solaris*)
     6776          LD="${LD-ld} -m elf64_sparc"
     6777          ;;
     6778        esac
     6779        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
     6780        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
     6781          LD=${LD-ld}_sol2
     6782        fi
     6783        ;;
     6784      *)
     6785        if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
     6786          LD="${LD-ld} -64"
     6787        fi
     6788        ;;
     6789      esac
     6790      ;;
     6791    esac
     6792  fi
     6793  rm -rf conftest*
     6794  ;;
     6795esac
     6796
     6797need_locks=$enable_libtool_lock
     6798
     6799if test -n "$ac_tool_prefix"; then
     6800  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
     6801set dummy ${ac_tool_prefix}mt; ac_word=$2
     6802{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     6803$as_echo_n "checking for $ac_word... " >&6; }
     6804if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
     6805  $as_echo_n "(cached) " >&6
     6806else
     6807  if test -n "$MANIFEST_TOOL"; then
     6808  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
     6809else
     6810as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     6811for as_dir in $PATH
     6812do
     6813  IFS=$as_save_IFS
     6814  test -z "$as_dir" && as_dir=.
     6815    for ac_exec_ext in '' $ac_executable_extensions; do
     6816  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     6817    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
     6818    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     6819    break 2
     6820  fi
     6821done
     6822  done
     6823IFS=$as_save_IFS
     6824
     6825fi
     6826fi
     6827MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
     6828if test -n "$MANIFEST_TOOL"; then
     6829  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
     6830$as_echo "$MANIFEST_TOOL" >&6; }
     6831else
     6832  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6833$as_echo "no" >&6; }
     6834fi
     6835
     6836
     6837fi
     6838if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
     6839  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
     6840  # Extract the first word of "mt", so it can be a program name with args.
     6841set dummy mt; ac_word=$2
     6842{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     6843$as_echo_n "checking for $ac_word... " >&6; }
     6844if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
     6845  $as_echo_n "(cached) " >&6
     6846else
     6847  if test -n "$ac_ct_MANIFEST_TOOL"; then
     6848  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
     6849else
     6850as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     6851for as_dir in $PATH
     6852do
     6853  IFS=$as_save_IFS
     6854  test -z "$as_dir" && as_dir=.
     6855    for ac_exec_ext in '' $ac_executable_extensions; do
     6856  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     6857    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
     6858    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     6859    break 2
     6860  fi
     6861done
     6862  done
     6863IFS=$as_save_IFS
     6864
     6865fi
     6866fi
     6867ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
     6868if test -n "$ac_ct_MANIFEST_TOOL"; then
     6869  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
     6870$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
     6871else
     6872  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6873$as_echo "no" >&6; }
     6874fi
     6875
     6876  if test "x$ac_ct_MANIFEST_TOOL" = x; then
     6877    MANIFEST_TOOL=":"
     6878  else
     6879    case $cross_compiling:$ac_tool_warned in
     6880yes:)
     6881{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     6882$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     6883ac_tool_warned=yes ;;
     6884esac
     6885    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
     6886  fi
     6887else
     6888  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
     6889fi
     6890
     6891test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
     6892{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
     6893$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
     6894if ${lt_cv_path_mainfest_tool+:} false; then :
     6895  $as_echo_n "(cached) " >&6
     6896else
     6897  lt_cv_path_mainfest_tool=no
     6898  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
     6899  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
     6900  cat conftest.err >&5
     6901  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
     6902    lt_cv_path_mainfest_tool=yes
     6903  fi
     6904  rm -f conftest*
     6905fi
     6906{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
     6907$as_echo "$lt_cv_path_mainfest_tool" >&6; }
     6908if test yes != "$lt_cv_path_mainfest_tool"; then
     6909  MANIFEST_TOOL=:
     6910fi
     6911
     6912
     6913
     6914
     6915
     6916
     6917  case $host_os in
     6918    rhapsody* | darwin*)
     6919    if test -n "$ac_tool_prefix"; then
     6920  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
     6921set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
     6922{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     6923$as_echo_n "checking for $ac_word... " >&6; }
     6924if ${ac_cv_prog_DSYMUTIL+:} false; then :
     6925  $as_echo_n "(cached) " >&6
     6926else
     6927  if test -n "$DSYMUTIL"; then
     6928  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
     6929else
     6930as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     6931for as_dir in $PATH
     6932do
     6933  IFS=$as_save_IFS
     6934  test -z "$as_dir" && as_dir=.
     6935    for ac_exec_ext in '' $ac_executable_extensions; do
     6936  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     6937    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
     6938    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     6939    break 2
     6940  fi
     6941done
     6942  done
     6943IFS=$as_save_IFS
     6944
     6945fi
     6946fi
     6947DSYMUTIL=$ac_cv_prog_DSYMUTIL
     6948if test -n "$DSYMUTIL"; then
     6949  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
     6950$as_echo "$DSYMUTIL" >&6; }
     6951else
     6952  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6953$as_echo "no" >&6; }
     6954fi
     6955
     6956
     6957fi
     6958if test -z "$ac_cv_prog_DSYMUTIL"; then
     6959  ac_ct_DSYMUTIL=$DSYMUTIL
     6960  # Extract the first word of "dsymutil", so it can be a program name with args.
     6961set dummy dsymutil; ac_word=$2
     6962{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     6963$as_echo_n "checking for $ac_word... " >&6; }
     6964if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
     6965  $as_echo_n "(cached) " >&6
     6966else
     6967  if test -n "$ac_ct_DSYMUTIL"; then
     6968  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
     6969else
     6970as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     6971for as_dir in $PATH
     6972do
     6973  IFS=$as_save_IFS
     6974  test -z "$as_dir" && as_dir=.
     6975    for ac_exec_ext in '' $ac_executable_extensions; do
     6976  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     6977    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
     6978    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     6979    break 2
     6980  fi
     6981done
     6982  done
     6983IFS=$as_save_IFS
     6984
     6985fi
     6986fi
     6987ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
     6988if test -n "$ac_ct_DSYMUTIL"; then
     6989  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
     6990$as_echo "$ac_ct_DSYMUTIL" >&6; }
     6991else
     6992  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6993$as_echo "no" >&6; }
     6994fi
     6995
     6996  if test "x$ac_ct_DSYMUTIL" = x; then
     6997    DSYMUTIL=":"
     6998  else
     6999    case $cross_compiling:$ac_tool_warned in
     7000yes:)
     7001{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     7002$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     7003ac_tool_warned=yes ;;
     7004esac
     7005    DSYMUTIL=$ac_ct_DSYMUTIL
     7006  fi
     7007else
     7008  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
     7009fi
     7010
     7011    if test -n "$ac_tool_prefix"; then
     7012  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
     7013set dummy ${ac_tool_prefix}nmedit; ac_word=$2
     7014{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7015$as_echo_n "checking for $ac_word... " >&6; }
     7016if ${ac_cv_prog_NMEDIT+:} false; then :
     7017  $as_echo_n "(cached) " >&6
     7018else
     7019  if test -n "$NMEDIT"; then
     7020  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
     7021else
     7022as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7023for as_dir in $PATH
     7024do
     7025  IFS=$as_save_IFS
     7026  test -z "$as_dir" && as_dir=.
     7027    for ac_exec_ext in '' $ac_executable_extensions; do
     7028  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     7029    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
     7030    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7031    break 2
     7032  fi
     7033done
     7034  done
     7035IFS=$as_save_IFS
     7036
     7037fi
     7038fi
     7039NMEDIT=$ac_cv_prog_NMEDIT
     7040if test -n "$NMEDIT"; then
     7041  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
     7042$as_echo "$NMEDIT" >&6; }
     7043else
     7044  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7045$as_echo "no" >&6; }
     7046fi
     7047
     7048
     7049fi
     7050if test -z "$ac_cv_prog_NMEDIT"; then
     7051  ac_ct_NMEDIT=$NMEDIT
     7052  # Extract the first word of "nmedit", so it can be a program name with args.
     7053set dummy nmedit; ac_word=$2
     7054{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7055$as_echo_n "checking for $ac_word... " >&6; }
     7056if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
     7057  $as_echo_n "(cached) " >&6
     7058else
     7059  if test -n "$ac_ct_NMEDIT"; then
     7060  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
     7061else
     7062as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7063for as_dir in $PATH
     7064do
     7065  IFS=$as_save_IFS
     7066  test -z "$as_dir" && as_dir=.
     7067    for ac_exec_ext in '' $ac_executable_extensions; do
     7068  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     7069    ac_cv_prog_ac_ct_NMEDIT="nmedit"
     7070    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7071    break 2
     7072  fi
     7073done
     7074  done
     7075IFS=$as_save_IFS
     7076
     7077fi
     7078fi
     7079ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
     7080if test -n "$ac_ct_NMEDIT"; then
     7081  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
     7082$as_echo "$ac_ct_NMEDIT" >&6; }
     7083else
     7084  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7085$as_echo "no" >&6; }
     7086fi
     7087
     7088  if test "x$ac_ct_NMEDIT" = x; then
     7089    NMEDIT=":"
     7090  else
     7091    case $cross_compiling:$ac_tool_warned in
     7092yes:)
     7093{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     7094$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     7095ac_tool_warned=yes ;;
     7096esac
     7097    NMEDIT=$ac_ct_NMEDIT
     7098  fi
     7099else
     7100  NMEDIT="$ac_cv_prog_NMEDIT"
     7101fi
     7102
     7103    if test -n "$ac_tool_prefix"; then
     7104  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
     7105set dummy ${ac_tool_prefix}lipo; ac_word=$2
     7106{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7107$as_echo_n "checking for $ac_word... " >&6; }
     7108if ${ac_cv_prog_LIPO+:} false; then :
     7109  $as_echo_n "(cached) " >&6
     7110else
     7111  if test -n "$LIPO"; then
     7112  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
     7113else
     7114as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7115for as_dir in $PATH
     7116do
     7117  IFS=$as_save_IFS
     7118  test -z "$as_dir" && as_dir=.
     7119    for ac_exec_ext in '' $ac_executable_extensions; do
     7120  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     7121    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
     7122    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7123    break 2
     7124  fi
     7125done
     7126  done
     7127IFS=$as_save_IFS
     7128
     7129fi
     7130fi
     7131LIPO=$ac_cv_prog_LIPO
     7132if test -n "$LIPO"; then
     7133  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
     7134$as_echo "$LIPO" >&6; }
     7135else
     7136  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7137$as_echo "no" >&6; }
     7138fi
     7139
     7140
     7141fi
     7142if test -z "$ac_cv_prog_LIPO"; then
     7143  ac_ct_LIPO=$LIPO
     7144  # Extract the first word of "lipo", so it can be a program name with args.
     7145set dummy lipo; ac_word=$2
     7146{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7147$as_echo_n "checking for $ac_word... " >&6; }
     7148if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
     7149  $as_echo_n "(cached) " >&6
     7150else
     7151  if test -n "$ac_ct_LIPO"; then
     7152  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
     7153else
     7154as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7155for as_dir in $PATH
     7156do
     7157  IFS=$as_save_IFS
     7158  test -z "$as_dir" && as_dir=.
     7159    for ac_exec_ext in '' $ac_executable_extensions; do
     7160  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     7161    ac_cv_prog_ac_ct_LIPO="lipo"
     7162    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7163    break 2
     7164  fi
     7165done
     7166  done
     7167IFS=$as_save_IFS
     7168
     7169fi
     7170fi
     7171ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
     7172if test -n "$ac_ct_LIPO"; then
     7173  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
     7174$as_echo "$ac_ct_LIPO" >&6; }
     7175else
     7176  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7177$as_echo "no" >&6; }
     7178fi
     7179
     7180  if test "x$ac_ct_LIPO" = x; then
     7181    LIPO=":"
     7182  else
     7183    case $cross_compiling:$ac_tool_warned in
     7184yes:)
     7185{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     7186$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     7187ac_tool_warned=yes ;;
     7188esac
     7189    LIPO=$ac_ct_LIPO
     7190  fi
     7191else
     7192  LIPO="$ac_cv_prog_LIPO"
     7193fi
     7194
     7195    if test -n "$ac_tool_prefix"; then
     7196  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
     7197set dummy ${ac_tool_prefix}otool; ac_word=$2
     7198{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7199$as_echo_n "checking for $ac_word... " >&6; }
     7200if ${ac_cv_prog_OTOOL+:} false; then :
     7201  $as_echo_n "(cached) " >&6
     7202else
     7203  if test -n "$OTOOL"; then
     7204  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
     7205else
     7206as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7207for as_dir in $PATH
     7208do
     7209  IFS=$as_save_IFS
     7210  test -z "$as_dir" && as_dir=.
     7211    for ac_exec_ext in '' $ac_executable_extensions; do
     7212  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     7213    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
     7214    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7215    break 2
     7216  fi
     7217done
     7218  done
     7219IFS=$as_save_IFS
     7220
     7221fi
     7222fi
     7223OTOOL=$ac_cv_prog_OTOOL
     7224if test -n "$OTOOL"; then
     7225  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
     7226$as_echo "$OTOOL" >&6; }
     7227else
     7228  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7229$as_echo "no" >&6; }
     7230fi
     7231
     7232
     7233fi
     7234if test -z "$ac_cv_prog_OTOOL"; then
     7235  ac_ct_OTOOL=$OTOOL
     7236  # Extract the first word of "otool", so it can be a program name with args.
     7237set dummy otool; ac_word=$2
     7238{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7239$as_echo_n "checking for $ac_word... " >&6; }
     7240if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
     7241  $as_echo_n "(cached) " >&6
     7242else
     7243  if test -n "$ac_ct_OTOOL"; then
     7244  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
     7245else
     7246as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7247for as_dir in $PATH
     7248do
     7249  IFS=$as_save_IFS
     7250  test -z "$as_dir" && as_dir=.
     7251    for ac_exec_ext in '' $ac_executable_extensions; do
     7252  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     7253    ac_cv_prog_ac_ct_OTOOL="otool"
     7254    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7255    break 2
     7256  fi
     7257done
     7258  done
     7259IFS=$as_save_IFS
     7260
     7261fi
     7262fi
     7263ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
     7264if test -n "$ac_ct_OTOOL"; then
     7265  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
     7266$as_echo "$ac_ct_OTOOL" >&6; }
     7267else
     7268  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7269$as_echo "no" >&6; }
     7270fi
     7271
     7272  if test "x$ac_ct_OTOOL" = x; then
     7273    OTOOL=":"
     7274  else
     7275    case $cross_compiling:$ac_tool_warned in
     7276yes:)
     7277{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     7278$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     7279ac_tool_warned=yes ;;
     7280esac
     7281    OTOOL=$ac_ct_OTOOL
     7282  fi
     7283else
     7284  OTOOL="$ac_cv_prog_OTOOL"
     7285fi
     7286
     7287    if test -n "$ac_tool_prefix"; then
     7288  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
     7289set dummy ${ac_tool_prefix}otool64; ac_word=$2
     7290{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7291$as_echo_n "checking for $ac_word... " >&6; }
     7292if ${ac_cv_prog_OTOOL64+:} false; then :
     7293  $as_echo_n "(cached) " >&6
     7294else
     7295  if test -n "$OTOOL64"; then
     7296  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
     7297else
     7298as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7299for as_dir in $PATH
     7300do
     7301  IFS=$as_save_IFS
     7302  test -z "$as_dir" && as_dir=.
     7303    for ac_exec_ext in '' $ac_executable_extensions; do
     7304  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     7305    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
     7306    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7307    break 2
     7308  fi
     7309done
     7310  done
     7311IFS=$as_save_IFS
     7312
     7313fi
     7314fi
     7315OTOOL64=$ac_cv_prog_OTOOL64
     7316if test -n "$OTOOL64"; then
     7317  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
     7318$as_echo "$OTOOL64" >&6; }
     7319else
     7320  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7321$as_echo "no" >&6; }
     7322fi
     7323
     7324
     7325fi
     7326if test -z "$ac_cv_prog_OTOOL64"; then
     7327  ac_ct_OTOOL64=$OTOOL64
     7328  # Extract the first word of "otool64", so it can be a program name with args.
     7329set dummy otool64; ac_word=$2
     7330{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7331$as_echo_n "checking for $ac_word... " >&6; }
     7332if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
     7333  $as_echo_n "(cached) " >&6
     7334else
     7335  if test -n "$ac_ct_OTOOL64"; then
     7336  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
     7337else
     7338as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     7339for as_dir in $PATH
     7340do
     7341  IFS=$as_save_IFS
     7342  test -z "$as_dir" && as_dir=.
     7343    for ac_exec_ext in '' $ac_executable_extensions; do
     7344  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     7345    ac_cv_prog_ac_ct_OTOOL64="otool64"
     7346    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7347    break 2
     7348  fi
     7349done
     7350  done
     7351IFS=$as_save_IFS
     7352
     7353fi
     7354fi
     7355ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
     7356if test -n "$ac_ct_OTOOL64"; then
     7357  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
     7358$as_echo "$ac_ct_OTOOL64" >&6; }
     7359else
     7360  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7361$as_echo "no" >&6; }
     7362fi
     7363
     7364  if test "x$ac_ct_OTOOL64" = x; then
     7365    OTOOL64=":"
     7366  else
     7367    case $cross_compiling:$ac_tool_warned in
     7368yes:)
     7369{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     7370$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     7371ac_tool_warned=yes ;;
     7372esac
     7373    OTOOL64=$ac_ct_OTOOL64
     7374  fi
     7375else
     7376  OTOOL64="$ac_cv_prog_OTOOL64"
     7377fi
     7378
     7379
     7380
     7381
     7382
     7383
     7384
     7385
     7386
     7387
     7388
     7389
     7390
     7391
     7392
     7393
     7394
     7395
     7396
     7397
     7398
     7399
     7400
     7401
     7402
     7403
     7404
     7405    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
     7406$as_echo_n "checking for -single_module linker flag... " >&6; }
     7407if ${lt_cv_apple_cc_single_mod+:} false; then :
     7408  $as_echo_n "(cached) " >&6
     7409else
     7410  lt_cv_apple_cc_single_mod=no
     7411      if test -z "$LT_MULTI_MODULE"; then
     7412        # By default we will add the -single_module flag. You can override
     7413        # by either setting the environment variable LT_MULTI_MODULE
     7414        # non-empty at configure time, or by adding -multi_module to the
     7415        # link flags.
     7416        rm -rf libconftest.dylib*
     7417        echo "int foo(void){return 1;}" > conftest.c
     7418        echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
     7419-dynamiclib -Wl,-single_module conftest.c" >&5
     7420        $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
     7421          -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
     7422        _lt_result=$?
     7423        # If there is a non-empty error log, and "single_module"
     7424        # appears in it, assume the flag caused a linker warning
     7425        if test -s conftest.err && $GREP single_module conftest.err; then
     7426          cat conftest.err >&5
     7427        # Otherwise, if the output was created with a 0 exit code from
     7428        # the compiler, it worked.
     7429        elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
     7430          lt_cv_apple_cc_single_mod=yes
     7431        else
     7432          cat conftest.err >&5
     7433        fi
     7434        rm -rf libconftest.dylib*
     7435        rm -f conftest.*
     7436      fi
     7437fi
     7438{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
     7439$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
     7440
     7441    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
     7442$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
     7443if ${lt_cv_ld_exported_symbols_list+:} false; then :
     7444  $as_echo_n "(cached) " >&6
     7445else
     7446  lt_cv_ld_exported_symbols_list=no
     7447      save_LDFLAGS=$LDFLAGS
     7448      echo "_main" > conftest.sym
     7449      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
     7450      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7451/* end confdefs.h.  */
     7452
     7453int
     7454main ()
     7455{
     7456
     7457  ;
     7458  return 0;
     7459}
     7460_ACEOF
     7461if ac_fn_c_try_link "$LINENO"; then :
     7462  lt_cv_ld_exported_symbols_list=yes
     7463else
     7464  lt_cv_ld_exported_symbols_list=no
     7465fi
     7466rm -f core conftest.err conftest.$ac_objext \
     7467    conftest$ac_exeext conftest.$ac_ext
     7468        LDFLAGS=$save_LDFLAGS
     7469
     7470fi
     7471{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
     7472$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
     7473
     7474    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
     7475$as_echo_n "checking for -force_load linker flag... " >&6; }
     7476if ${lt_cv_ld_force_load+:} false; then :
     7477  $as_echo_n "(cached) " >&6
     7478else
     7479  lt_cv_ld_force_load=no
     7480      cat > conftest.c << _LT_EOF
     7481int forced_loaded() { return 2;}
     7482_LT_EOF
     7483      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
     7484      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
     7485      echo "$AR cru libconftest.a conftest.o" >&5
     7486      $AR cru libconftest.a conftest.o 2>&5
     7487      echo "$RANLIB libconftest.a" >&5
     7488      $RANLIB libconftest.a 2>&5
     7489      cat > conftest.c << _LT_EOF
     7490int main() { return 0;}
     7491_LT_EOF
     7492      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
     7493      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
     7494      _lt_result=$?
     7495      if test -s conftest.err && $GREP force_load conftest.err; then
     7496        cat conftest.err >&5
     7497      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
     7498        lt_cv_ld_force_load=yes
     7499      else
     7500        cat conftest.err >&5
     7501      fi
     7502        rm -f conftest.err libconftest.a conftest conftest.c
     7503        rm -rf conftest.dSYM
     7504
     7505fi
     7506{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
     7507$as_echo "$lt_cv_ld_force_load" >&6; }
     7508    case $host_os in
     7509    rhapsody* | darwin1.[012])
     7510      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
     7511    darwin1.*)
     7512      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
     7513    darwin*) # darwin 5.x on
     7514      # if running on 10.5 or later, the deployment target defaults
     7515      # to the OS version, if on x86, and 10.4, the deployment
     7516      # target defaults to 10.4. Don't you love it?
     7517      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
     7518        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
     7519          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
     7520        10.[012][,.]*)
     7521          _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
     7522        10.*)
     7523          _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
     7524      esac
     7525    ;;
     7526  esac
     7527    if test yes = "$lt_cv_apple_cc_single_mod"; then
     7528      _lt_dar_single_mod='$single_module'
     7529    fi
     7530    if test yes = "$lt_cv_ld_exported_symbols_list"; then
     7531      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
     7532    else
     7533      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
     7534    fi
     7535    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
     7536      _lt_dsymutil='~$DSYMUTIL $lib || :'
     7537    else
     7538      _lt_dsymutil=
     7539    fi
     7540    ;;
     7541  esac
     7542
     7543# func_munge_path_list VARIABLE PATH
     7544# -----------------------------------
     7545# VARIABLE is name of variable containing _space_ separated list of
     7546# directories to be munged by the contents of PATH, which is string
     7547# having a format:
     7548# "DIR[:DIR]:"
     7549#       string "DIR[ DIR]" will be prepended to VARIABLE
     7550# ":DIR[:DIR]"
     7551#       string "DIR[ DIR]" will be appended to VARIABLE
     7552# "DIRP[:DIRP]::[DIRA:]DIRA"
     7553#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
     7554#       "DIRA[ DIRA]" will be appended to VARIABLE
     7555# "DIR[:DIR]"
     7556#       VARIABLE will be replaced by "DIR[ DIR]"
     7557func_munge_path_list ()
     7558{
     7559    case x$2 in
     7560    x)
     7561        ;;
     7562    *:)
     7563        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
     7564        ;;
     7565    x:*)
     7566        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
     7567        ;;
     7568    *::*)
     7569        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
     7570        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
     7571        ;;
     7572    *)
     7573        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
     7574        ;;
     7575    esac
     7576}
     7577
     7578ac_ext=c
     7579ac_cpp='$CPP $CPPFLAGS'
     7580ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     7581ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     7582ac_compiler_gnu=$ac_cv_c_compiler_gnu
     7583{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
     7584$as_echo_n "checking how to run the C preprocessor... " >&6; }
     7585# On Suns, sometimes $CPP names a directory.
     7586if test -n "$CPP" && test -d "$CPP"; then
     7587  CPP=
     7588fi
     7589if test -z "$CPP"; then
     7590  if ${ac_cv_prog_CPP+:} false; then :
     7591  $as_echo_n "(cached) " >&6
     7592else
     7593      # Double quotes because CPP needs to be expanded
     7594    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
     7595    do
     7596      ac_preproc_ok=false
     7597for ac_c_preproc_warn_flag in '' yes
     7598do
     7599  # Use a header file that comes with gcc, so configuring glibc
     7600  # with a fresh cross-compiler works.
     7601  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     7602  # <limits.h> exists even on freestanding compilers.
     7603  # On the NeXT, cc -E runs the code through the compiler's parser,
     7604  # not just through cpp. "Syntax error" is here to catch this case.
     7605  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7606/* end confdefs.h.  */
     7607#ifdef __STDC__
     7608# include <limits.h>
     7609#else
     7610# include <assert.h>
     7611#endif
     7612                     Syntax error
     7613_ACEOF
     7614if ac_fn_c_try_cpp "$LINENO"; then :
     7615
     7616else
     7617  # Broken: fails on valid input.
     7618continue
     7619fi
     7620rm -f conftest.err conftest.i conftest.$ac_ext
     7621
     7622  # OK, works on sane cases.  Now check whether nonexistent headers
     7623  # can be detected and how.
     7624  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7625/* end confdefs.h.  */
     7626#include <ac_nonexistent.h>
     7627_ACEOF
     7628if ac_fn_c_try_cpp "$LINENO"; then :
     7629  # Broken: success on invalid input.
     7630continue
     7631else
     7632  # Passes both tests.
     7633ac_preproc_ok=:
     7634break
     7635fi
     7636rm -f conftest.err conftest.i conftest.$ac_ext
     7637
     7638done
     7639# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     7640rm -f conftest.i conftest.err conftest.$ac_ext
     7641if $ac_preproc_ok; then :
     7642  break
     7643fi
     7644
     7645    done
     7646    ac_cv_prog_CPP=$CPP
     7647
     7648fi
     7649  CPP=$ac_cv_prog_CPP
     7650else
     7651  ac_cv_prog_CPP=$CPP
     7652fi
     7653{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
     7654$as_echo "$CPP" >&6; }
     7655ac_preproc_ok=false
     7656for ac_c_preproc_warn_flag in '' yes
     7657do
     7658  # Use a header file that comes with gcc, so configuring glibc
     7659  # with a fresh cross-compiler works.
     7660  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     7661  # <limits.h> exists even on freestanding compilers.
     7662  # On the NeXT, cc -E runs the code through the compiler's parser,
     7663  # not just through cpp. "Syntax error" is here to catch this case.
     7664  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7665/* end confdefs.h.  */
     7666#ifdef __STDC__
     7667# include <limits.h>
     7668#else
     7669# include <assert.h>
     7670#endif
     7671                     Syntax error
     7672_ACEOF
     7673if ac_fn_c_try_cpp "$LINENO"; then :
     7674
     7675else
     7676  # Broken: fails on valid input.
     7677continue
     7678fi
     7679rm -f conftest.err conftest.i conftest.$ac_ext
     7680
     7681  # OK, works on sane cases.  Now check whether nonexistent headers
     7682  # can be detected and how.
     7683  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7684/* end confdefs.h.  */
     7685#include <ac_nonexistent.h>
     7686_ACEOF
     7687if ac_fn_c_try_cpp "$LINENO"; then :
     7688  # Broken: success on invalid input.
     7689continue
     7690else
     7691  # Passes both tests.
     7692ac_preproc_ok=:
     7693break
     7694fi
     7695rm -f conftest.err conftest.i conftest.$ac_ext
     7696
     7697done
     7698# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     7699rm -f conftest.i conftest.err conftest.$ac_ext
     7700if $ac_preproc_ok; then :
     7701
     7702else
     7703  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     7704$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     7705as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
     7706See \`config.log' for more details" "$LINENO" 5; }
     7707fi
     7708
     7709ac_ext=c
     7710ac_cpp='$CPP $CPPFLAGS'
     7711ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     7712ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     7713ac_compiler_gnu=$ac_cv_c_compiler_gnu
     7714
     7715
     7716{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
     7717$as_echo_n "checking for ANSI C header files... " >&6; }
     7718if ${ac_cv_header_stdc+:} false; then :
     7719  $as_echo_n "(cached) " >&6
     7720else
     7721  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7722/* end confdefs.h.  */
     7723#include <stdlib.h>
     7724#include <stdarg.h>
     7725#include <string.h>
     7726#include <float.h>
     7727
     7728int
     7729main ()
     7730{
     7731
     7732  ;
     7733  return 0;
     7734}
     7735_ACEOF
     7736if ac_fn_c_try_compile "$LINENO"; then :
     7737  ac_cv_header_stdc=yes
     7738else
     7739  ac_cv_header_stdc=no
     7740fi
     7741rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     7742
     7743if test $ac_cv_header_stdc = yes; then
     7744  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
     7745  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7746/* end confdefs.h.  */
     7747#include <string.h>
     7748
     7749_ACEOF
     7750if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     7751  $EGREP "memchr" >/dev/null 2>&1; then :
     7752
     7753else
     7754  ac_cv_header_stdc=no
     7755fi
     7756rm -f conftest*
     7757
     7758fi
     7759
     7760if test $ac_cv_header_stdc = yes; then
     7761  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
     7762  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7763/* end confdefs.h.  */
     7764#include <stdlib.h>
     7765
     7766_ACEOF
     7767if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
     7768  $EGREP "free" >/dev/null 2>&1; then :
     7769
     7770else
     7771  ac_cv_header_stdc=no
     7772fi
     7773rm -f conftest*
     7774
     7775fi
     7776
     7777if test $ac_cv_header_stdc = yes; then
     7778  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
     7779  if test "$cross_compiling" = yes; then :
     7780  :
     7781else
     7782  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7783/* end confdefs.h.  */
     7784#include <ctype.h>
     7785#include <stdlib.h>
     7786#if ((' ' & 0x0FF) == 0x020)
     7787# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
     7788# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
     7789#else
     7790# define ISLOWER(c) \
     7791                   (('a' <= (c) && (c) <= 'i') \
     7792                     || ('j' <= (c) && (c) <= 'r') \
     7793                     || ('s' <= (c) && (c) <= 'z'))
     7794# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
     7795#endif
     7796
     7797#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
     7798int
     7799main ()
     7800{
     7801  int i;
     7802  for (i = 0; i < 256; i++)
     7803    if (XOR (islower (i), ISLOWER (i))
     7804        || toupper (i) != TOUPPER (i))
     7805      return 2;
     7806  return 0;
     7807}
     7808_ACEOF
     7809if ac_fn_c_try_run "$LINENO"; then :
     7810
     7811else
     7812  ac_cv_header_stdc=no
     7813fi
     7814rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     7815  conftest.$ac_objext conftest.beam conftest.$ac_ext
     7816fi
     7817
     7818fi
     7819fi
     7820{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
     7821$as_echo "$ac_cv_header_stdc" >&6; }
     7822if test $ac_cv_header_stdc = yes; then
     7823
     7824$as_echo "#define STDC_HEADERS 1" >>confdefs.h
     7825
     7826fi
     7827
     7828# On IRIX 5.3, sys/types and inttypes.h are conflicting.
     7829for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
     7830                  inttypes.h stdint.h unistd.h
     7831do :
     7832  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     7833ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
     7834"
     7835if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     7836  cat >>confdefs.h <<_ACEOF
     7837#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     7838_ACEOF
     7839
     7840fi
     7841
     7842done
     7843
     7844
     7845for ac_header in dlfcn.h
     7846do :
     7847  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
     7848"
     7849if test "x$ac_cv_header_dlfcn_h" = xyes; then :
     7850  cat >>confdefs.h <<_ACEOF
     7851#define HAVE_DLFCN_H 1
     7852_ACEOF
     7853
     7854fi
     7855
     7856done
     7857
     7858
     7859
     7860
     7861
     7862# Set options
     7863
     7864
     7865
     7866        enable_dlopen=no
     7867
     7868
     7869  enable_win32_dll=no
     7870
     7871
     7872            # Check whether --enable-shared was given.
     7873if test "${enable_shared+set}" = set; then :
     7874  enableval=$enable_shared; p=${PACKAGE-default}
     7875    case $enableval in
     7876    yes) enable_shared=yes ;;
     7877    no) enable_shared=no ;;
     7878    *)
     7879      enable_shared=no
     7880      # Look at the argument we got.  We use all the common list separators.
     7881      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
     7882      for pkg in $enableval; do
     7883        IFS=$lt_save_ifs
     7884        if test "X$pkg" = "X$p"; then
     7885          enable_shared=yes
     7886        fi
     7887      done
     7888      IFS=$lt_save_ifs
     7889      ;;
     7890    esac
     7891else
     7892  enable_shared=yes
     7893fi
     7894
     7895
     7896
     7897
     7898
     7899
     7900
     7901
     7902
     7903  # Check whether --enable-static was given.
     7904if test "${enable_static+set}" = set; then :
     7905  enableval=$enable_static; p=${PACKAGE-default}
     7906    case $enableval in
     7907    yes) enable_static=yes ;;
     7908    no) enable_static=no ;;
     7909    *)
     7910     enable_static=no
     7911      # Look at the argument we got.  We use all the common list separators.
     7912      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
     7913      for pkg in $enableval; do
     7914        IFS=$lt_save_ifs
     7915        if test "X$pkg" = "X$p"; then
     7916          enable_static=yes
     7917        fi
     7918      done
     7919      IFS=$lt_save_ifs
     7920      ;;
     7921    esac
     7922else
     7923  enable_static=yes
     7924fi
     7925
     7926
     7927
     7928
     7929
     7930
     7931
     7932
     7933
     7934
     7935# Check whether --with-pic was given.
     7936if test "${with_pic+set}" = set; then :
     7937  withval=$with_pic; lt_p=${PACKAGE-default}
     7938    case $withval in
     7939    yes|no) pic_mode=$withval ;;
     7940    *)
     7941      pic_mode=default
     7942      # Look at the argument we got.  We use all the common list separators.
     7943      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
     7944      for lt_pkg in $withval; do
     7945        IFS=$lt_save_ifs
     7946        if test "X$lt_pkg" = "X$lt_p"; then
     7947          pic_mode=yes
     7948        fi
     7949      done
     7950      IFS=$lt_save_ifs
     7951      ;;
     7952    esac
     7953else
     7954  pic_mode=default
     7955fi
     7956
     7957
     7958
     7959
     7960
     7961
     7962
     7963
     7964  # Check whether --enable-fast-install was given.
     7965if test "${enable_fast_install+set}" = set; then :
     7966  enableval=$enable_fast_install; p=${PACKAGE-default}
     7967    case $enableval in
     7968    yes) enable_fast_install=yes ;;
     7969    no) enable_fast_install=no ;;
     7970    *)
     7971      enable_fast_install=no
     7972      # Look at the argument we got.  We use all the common list separators.
     7973      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
     7974      for pkg in $enableval; do
     7975        IFS=$lt_save_ifs
     7976        if test "X$pkg" = "X$p"; then
     7977          enable_fast_install=yes
     7978        fi
     7979      done
     7980      IFS=$lt_save_ifs
     7981      ;;
     7982    esac
     7983else
     7984  enable_fast_install=yes
     7985fi
     7986
     7987
     7988
     7989
     7990
     7991
     7992
     7993
     7994  shared_archive_member_spec=
     7995case $host,$enable_shared in
     7996power*-*-aix[5-9]*,yes)
     7997  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
     7998$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
     7999
     8000# Check whether --with-aix-soname was given.
     8001if test "${with_aix_soname+set}" = set; then :
     8002  withval=$with_aix_soname; case $withval in
     8003    aix|svr4|both)
     8004      ;;
     8005    *)
     8006      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
     8007      ;;
     8008    esac
     8009    lt_cv_with_aix_soname=$with_aix_soname
     8010else
     8011  if ${lt_cv_with_aix_soname+:} false; then :
     8012  $as_echo_n "(cached) " >&6
     8013else
     8014  lt_cv_with_aix_soname=aix
     8015fi
     8016
     8017    with_aix_soname=$lt_cv_with_aix_soname
     8018fi
     8019
     8020  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
     8021$as_echo "$with_aix_soname" >&6; }
     8022  if test aix != "$with_aix_soname"; then
     8023    # For the AIX way of multilib, we name the shared archive member
     8024    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
     8025    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
     8026    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
     8027    # the AIX toolchain works better with OBJECT_MODE set (default 32).
     8028    if test 64 = "${OBJECT_MODE-32}"; then
     8029      shared_archive_member_spec=shr_64
     8030    else
     8031      shared_archive_member_spec=shr
     8032    fi
     8033  fi
     8034  ;;
     8035*)
     8036  with_aix_soname=aix
     8037  ;;
     8038esac
     8039
     8040
     8041
     8042
     8043
     8044
     8045
     8046
     8047
     8048
     8049# This can be used to rebuild libtool when needed
     8050LIBTOOL_DEPS=$ltmain
     8051
     8052# Always use our own libtool.
     8053LIBTOOL='$(SHELL) $(top_builddir)/libtool'
     8054
     8055
     8056
     8057
     8058
     8059
     8060
     8061
     8062
     8063
     8064
     8065
     8066
     8067
     8068
     8069
     8070
     8071
     8072
     8073
     8074
     8075
     8076
     8077
     8078
     8079
     8080
     8081
     8082
     8083
     8084test -z "$LN_S" && LN_S="ln -s"
     8085
     8086
     8087
     8088
     8089
     8090
     8091
     8092
     8093
     8094
     8095
     8096
     8097
     8098
     8099if test -n "${ZSH_VERSION+set}"; then
     8100   setopt NO_GLOB_SUBST
     8101fi
     8102
     8103{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
     8104$as_echo_n "checking for objdir... " >&6; }
     8105if ${lt_cv_objdir+:} false; then :
     8106  $as_echo_n "(cached) " >&6
     8107else
     8108  rm -f .libs 2>/dev/null
     8109mkdir .libs 2>/dev/null
     8110if test -d .libs; then
     8111  lt_cv_objdir=.libs
     8112else
     8113  # MS-DOS does not allow filenames that begin with a dot.
     8114  lt_cv_objdir=_libs
     8115fi
     8116rmdir .libs 2>/dev/null
     8117fi
     8118{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
     8119$as_echo "$lt_cv_objdir" >&6; }
     8120objdir=$lt_cv_objdir
     8121
     8122
     8123
     8124
     8125
     8126cat >>confdefs.h <<_ACEOF
     8127#define LT_OBJDIR "$lt_cv_objdir/"
     8128_ACEOF
     8129
     8130
     8131
     8132
     8133case $host_os in
     8134aix3*)
     8135  # AIX sometimes has problems with the GCC collect2 program.  For some
     8136  # reason, if we set the COLLECT_NAMES environment variable, the problems
     8137  # vanish in a puff of smoke.
     8138  if test set != "${COLLECT_NAMES+set}"; then
     8139    COLLECT_NAMES=
     8140    export COLLECT_NAMES
     8141  fi
     8142  ;;
     8143esac
     8144
     8145# Global variables:
     8146ofile=libtool
     8147can_build_shared=yes
     8148
     8149# All known linkers require a '.a' archive for static linking (except MSVC,
     8150# which needs '.lib').
     8151libext=a
     8152
     8153with_gnu_ld=$lt_cv_prog_gnu_ld
     8154
     8155old_CC=$CC
     8156old_CFLAGS=$CFLAGS
     8157
     8158# Set sane defaults for various variables
     8159test -z "$CC" && CC=cc
     8160test -z "$LTCC" && LTCC=$CC
     8161test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
     8162test -z "$LD" && LD=ld
     8163test -z "$ac_objext" && ac_objext=o
     8164
     8165func_cc_basename $compiler
     8166cc_basename=$func_cc_basename_result
     8167
     8168
     8169# Only perform the check for file, if the check method requires it
     8170test -z "$MAGIC_CMD" && MAGIC_CMD=file
     8171case $deplibs_check_method in
     8172file_magic*)
     8173  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
     8174    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
     8175$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
     8176if ${lt_cv_path_MAGIC_CMD+:} false; then :
     8177  $as_echo_n "(cached) " >&6
     8178else
     8179  case $MAGIC_CMD in
     8180[\\/*] |  ?:[\\/]*)
     8181  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
     8182  ;;
     8183*)
     8184  lt_save_MAGIC_CMD=$MAGIC_CMD
     8185  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
     8186  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
     8187  for ac_dir in $ac_dummy; do
     8188    IFS=$lt_save_ifs
     8189    test -z "$ac_dir" && ac_dir=.
     8190    if test -f "$ac_dir/${ac_tool_prefix}file"; then
     8191      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
     8192      if test -n "$file_magic_test_file"; then
     8193        case $deplibs_check_method in
     8194        "file_magic "*)
     8195          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
     8196          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
     8197          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
     8198            $EGREP "$file_magic_regex" > /dev/null; then
     8199            :
     8200          else
     8201            cat <<_LT_EOF 1>&2
     8202
     8203*** Warning: the command libtool uses to detect shared libraries,
     8204*** $file_magic_cmd, produces output that libtool cannot recognize.
     8205*** The result is that libtool may fail to recognize shared libraries
     8206*** as such.  This will affect the creation of libtool libraries that
     8207*** depend on shared libraries, but programs linked with such libtool
     8208*** libraries will work regardless of this problem.  Nevertheless, you
     8209*** may want to report the problem to your system manager and/or to
     8210*** bug-libtool@gnu.org
     8211
     8212_LT_EOF
     8213          fi ;;
     8214        esac
     8215      fi
     8216      break
     8217    fi
     8218  done
     8219  IFS=$lt_save_ifs
     8220  MAGIC_CMD=$lt_save_MAGIC_CMD
     8221  ;;
     8222esac
     8223fi
     8224
     8225MAGIC_CMD=$lt_cv_path_MAGIC_CMD
     8226if test -n "$MAGIC_CMD"; then
     8227  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
     8228$as_echo "$MAGIC_CMD" >&6; }
     8229else
     8230  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8231$as_echo "no" >&6; }
     8232fi
     8233
     8234
     8235
     8236
     8237
     8238if test -z "$lt_cv_path_MAGIC_CMD"; then
     8239  if test -n "$ac_tool_prefix"; then
     8240    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
     8241$as_echo_n "checking for file... " >&6; }
     8242if ${lt_cv_path_MAGIC_CMD+:} false; then :
     8243  $as_echo_n "(cached) " >&6
     8244else
     8245  case $MAGIC_CMD in
     8246[\\/*] |  ?:[\\/]*)
     8247  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
     8248  ;;
     8249*)
     8250  lt_save_MAGIC_CMD=$MAGIC_CMD
     8251  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
     8252  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
     8253  for ac_dir in $ac_dummy; do
     8254    IFS=$lt_save_ifs
     8255    test -z "$ac_dir" && ac_dir=.
     8256    if test -f "$ac_dir/file"; then
     8257      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
     8258      if test -n "$file_magic_test_file"; then
     8259        case $deplibs_check_method in
     8260        "file_magic "*)
     8261          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
     8262          MAGIC_CMD=$lt_cv_path_MAGIC_CMD
     8263          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
     8264            $EGREP "$file_magic_regex" > /dev/null; then
     8265            :
     8266          else
     8267            cat <<_LT_EOF 1>&2
     8268
     8269*** Warning: the command libtool uses to detect shared libraries,
     8270*** $file_magic_cmd, produces output that libtool cannot recognize.
     8271*** The result is that libtool may fail to recognize shared libraries
     8272*** as such.  This will affect the creation of libtool libraries that
     8273*** depend on shared libraries, but programs linked with such libtool
     8274*** libraries will work regardless of this problem.  Nevertheless, you
     8275*** may want to report the problem to your system manager and/or to
     8276*** bug-libtool@gnu.org
     8277
     8278_LT_EOF
     8279          fi ;;
     8280        esac
     8281      fi
     8282      break
     8283    fi
     8284  done
     8285  IFS=$lt_save_ifs
     8286  MAGIC_CMD=$lt_save_MAGIC_CMD
     8287  ;;
     8288esac
     8289fi
     8290
     8291MAGIC_CMD=$lt_cv_path_MAGIC_CMD
     8292if test -n "$MAGIC_CMD"; then
     8293  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
     8294$as_echo "$MAGIC_CMD" >&6; }
     8295else
     8296  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8297$as_echo "no" >&6; }
     8298fi
     8299
     8300
     8301  else
     8302    MAGIC_CMD=:
     8303  fi
     8304fi
     8305
     8306  fi
     8307  ;;
     8308esac
     8309
     8310# Use C for the default configuration in the libtool script
     8311
     8312lt_save_CC=$CC
     8313ac_ext=c
     8314ac_cpp='$CPP $CPPFLAGS'
     8315ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     8316ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     8317ac_compiler_gnu=$ac_cv_c_compiler_gnu
     8318
     8319
     8320# Source file extension for C test sources.
     8321ac_ext=c
     8322
     8323# Object file extension for compiled C test sources.
     8324objext=o
     8325objext=$objext
     8326
     8327# Code to be used in simple compile tests
     8328lt_simple_compile_test_code="int some_variable = 0;"
     8329
     8330# Code to be used in simple link tests
     8331lt_simple_link_test_code='int main(){return(0);}'
     8332
     8333
     8334
     8335
     8336
     8337
     8338
     8339# If no C compiler was specified, use CC.
     8340LTCC=${LTCC-"$CC"}
     8341
     8342# If no C compiler flags were specified, use CFLAGS.
     8343LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
     8344
     8345# Allow CC to be a program name with arguments.
     8346compiler=$CC
     8347
     8348# Save the default compiler, since it gets overwritten when the other
     8349# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
     8350compiler_DEFAULT=$CC
     8351
     8352# save warnings/boilerplate of simple test code
     8353ac_outfile=conftest.$ac_objext
     8354echo "$lt_simple_compile_test_code" >conftest.$ac_ext
     8355eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
     8356_lt_compiler_boilerplate=`cat conftest.err`
     8357$RM conftest*
     8358
     8359ac_outfile=conftest.$ac_objext
     8360echo "$lt_simple_link_test_code" >conftest.$ac_ext
     8361eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
     8362_lt_linker_boilerplate=`cat conftest.err`
     8363$RM -r conftest*
     8364
     8365
     8366## CAVEAT EMPTOR:
     8367## There is no encapsulation within the following macros, do not change
     8368## the running order or otherwise move them around unless you know exactly
     8369## what you are doing...
     8370if test -n "$compiler"; then
     8371
     8372lt_prog_compiler_no_builtin_flag=
     8373
     8374if test yes = "$GCC"; then
     8375  case $cc_basename in
     8376  nvcc*)
     8377    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
     8378  *)
     8379    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
     8380  esac
     8381
     8382  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
     8383$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
     8384if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
     8385  $as_echo_n "(cached) " >&6
     8386else
     8387  lt_cv_prog_compiler_rtti_exceptions=no
     8388   ac_outfile=conftest.$ac_objext
     8389   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
     8390   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
     8391   # Insert the option either (1) after the last *FLAGS variable, or
     8392   # (2) before a word containing "conftest.", or (3) at the end.
     8393   # Note that $ac_compile itself does not contain backslashes and begins
     8394   # with a dollar sign (not a hyphen), so the echo should work correctly.
     8395   # The option is referenced via a variable to avoid confusing sed.
     8396   lt_compile=`echo "$ac_compile" | $SED \
     8397   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     8398   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     8399   -e 's:$: $lt_compiler_flag:'`
     8400   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
     8401   (eval "$lt_compile" 2>conftest.err)
     8402   ac_status=$?
     8403   cat conftest.err >&5
     8404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8405   if (exit $ac_status) && test -s "$ac_outfile"; then
     8406     # The compiler can only warn and ignore the option if not recognized
     8407     # So say no if there are warnings other than the usual output.
     8408     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
     8409     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
     8410     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
     8411       lt_cv_prog_compiler_rtti_exceptions=yes
     8412     fi
     8413   fi
     8414   $RM conftest*
     8415
     8416fi
     8417{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
     8418$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
     8419
     8420if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
     8421    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
     8422else
     8423    :
     8424fi
     8425
     8426fi
     8427
     8428
     8429
     8430
     8431
     8432
     8433  lt_prog_compiler_wl=
     8434lt_prog_compiler_pic=
     8435lt_prog_compiler_static=
     8436
     8437
     8438  if test yes = "$GCC"; then
     8439    lt_prog_compiler_wl='-Wl,'
     8440    lt_prog_compiler_static='-static'
     8441
     8442    case $host_os in
     8443      aix*)
     8444      # All AIX code is PIC.
     8445      if test ia64 = "$host_cpu"; then
     8446        # AIX 5 now supports IA64 processor
     8447        lt_prog_compiler_static='-Bstatic'
     8448      fi
     8449      lt_prog_compiler_pic='-fPIC'
     8450      ;;
     8451
     8452    amigaos*)
     8453      case $host_cpu in
     8454      powerpc)
     8455            # see comment about AmigaOS4 .so support
     8456            lt_prog_compiler_pic='-fPIC'
     8457        ;;
     8458      m68k)
     8459            # FIXME: we need at least 68020 code to build shared libraries, but
     8460            # adding the '-m68020' flag to GCC prevents building anything better,
     8461            # like '-m68040'.
     8462            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
     8463        ;;
     8464      esac
     8465      ;;
     8466
     8467    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
     8468      # PIC is the default for these OSes.
     8469      ;;
     8470
     8471    mingw* | cygwin* | pw32* | os2* | cegcc*)
     8472      # This hack is so that the source file can tell whether it is being
     8473      # built for inclusion in a dll (and should export symbols for example).
     8474      # Although the cygwin gcc ignores -fPIC, still need this for old-style
     8475      # (--disable-auto-import) libraries
     8476      lt_prog_compiler_pic='-DDLL_EXPORT'
     8477      case $host_os in
     8478      os2*)
     8479        lt_prog_compiler_static='$wl-static'
     8480        ;;
     8481      esac
     8482      ;;
     8483
     8484    darwin* | rhapsody*)
     8485      # PIC is the default on this platform
     8486      # Common symbols not allowed in MH_DYLIB files
     8487      lt_prog_compiler_pic='-fno-common'
     8488      ;;
     8489
     8490    haiku*)
     8491      # PIC is the default for Haiku.
     8492      # The "-static" flag exists, but is broken.
     8493      lt_prog_compiler_static=
     8494      ;;
     8495
     8496    hpux*)
     8497      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
     8498      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
     8499      # sets the default TLS model and affects inlining.
     8500      case $host_cpu in
     8501      hppa*64*)
     8502        # +Z the default
     8503        ;;
     8504      *)
     8505        lt_prog_compiler_pic='-fPIC'
     8506        ;;
     8507      esac
     8508      ;;
     8509
     8510    interix[3-9]*)
     8511      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
     8512      # Instead, we relocate shared libraries at runtime.
     8513      ;;
     8514
     8515    msdosdjgpp*)
     8516      # Just because we use GCC doesn't mean we suddenly get shared libraries
     8517      # on systems that don't support them.
     8518      lt_prog_compiler_can_build_shared=no
     8519      enable_shared=no
     8520      ;;
     8521
     8522    *nto* | *qnx*)
     8523      # QNX uses GNU C++, but need to define -shared option too, otherwise
     8524      # it will coredump.
     8525      lt_prog_compiler_pic='-fPIC -shared'
     8526      ;;
     8527
     8528    sysv4*MP*)
     8529      if test -d /usr/nec; then
     8530        lt_prog_compiler_pic=-Kconform_pic
     8531      fi
     8532      ;;
     8533
     8534    *)
     8535      lt_prog_compiler_pic='-fPIC'
     8536      ;;
     8537    esac
     8538
     8539    case $cc_basename in
     8540    nvcc*) # Cuda Compiler Driver 2.2
     8541      lt_prog_compiler_wl='-Xlinker '
     8542      if test -n "$lt_prog_compiler_pic"; then
     8543        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
     8544      fi
     8545      ;;
     8546    esac
     8547  else
     8548    # PORTME Check for flag to pass linker flags through the system compiler.
     8549    case $host_os in
     8550    aix*)
     8551      lt_prog_compiler_wl='-Wl,'
     8552      if test ia64 = "$host_cpu"; then
     8553        # AIX 5 now supports IA64 processor
     8554        lt_prog_compiler_static='-Bstatic'
     8555      else
     8556        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
     8557      fi
     8558      ;;
     8559
     8560    darwin* | rhapsody*)
     8561      # PIC is the default on this platform
     8562      # Common symbols not allowed in MH_DYLIB files
     8563      lt_prog_compiler_pic='-fno-common'
     8564      case $cc_basename in
     8565      nagfor*)
     8566        # NAG Fortran compiler
     8567        lt_prog_compiler_wl='-Wl,-Wl,,'
     8568        lt_prog_compiler_pic='-PIC'
     8569        lt_prog_compiler_static='-Bstatic'
     8570        ;;
     8571      esac
     8572      ;;
     8573
     8574    mingw* | cygwin* | pw32* | os2* | cegcc*)
     8575      # This hack is so that the source file can tell whether it is being
     8576      # built for inclusion in a dll (and should export symbols for example).
     8577      lt_prog_compiler_pic='-DDLL_EXPORT'
     8578      case $host_os in
     8579      os2*)
     8580        lt_prog_compiler_static='$wl-static'
     8581        ;;
     8582      esac
     8583      ;;
     8584
     8585    hpux9* | hpux10* | hpux11*)
     8586      lt_prog_compiler_wl='-Wl,'
     8587      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
     8588      # not for PA HP-UX.
     8589      case $host_cpu in
     8590      hppa*64*|ia64*)
     8591        # +Z the default
     8592        ;;
     8593      *)
     8594        lt_prog_compiler_pic='+Z'
     8595        ;;
     8596      esac
     8597      # Is there a better lt_prog_compiler_static that works with the bundled CC?
     8598      lt_prog_compiler_static='$wl-a ${wl}archive'
     8599      ;;
     8600
     8601    irix5* | irix6* | nonstopux*)
     8602      lt_prog_compiler_wl='-Wl,'
     8603      # PIC (with -KPIC) is the default.
     8604      lt_prog_compiler_static='-non_shared'
     8605      ;;
     8606
     8607    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
     8608      case $cc_basename in
     8609      # old Intel for x86_64, which still supported -KPIC.
     8610      ecc*)
     8611        lt_prog_compiler_wl='-Wl,'
     8612        lt_prog_compiler_pic='-KPIC'
     8613        lt_prog_compiler_static='-static'
     8614        ;;
     8615      # icc used to be incompatible with GCC.
     8616      # ICC 10 doesn't accept -KPIC any more.
     8617      icc* | ifort*)
     8618        lt_prog_compiler_wl='-Wl,'
     8619        lt_prog_compiler_pic='-fPIC'
     8620        lt_prog_compiler_static='-static'
     8621        ;;
     8622      # Lahey Fortran 8.1.
     8623      lf95*)
     8624        lt_prog_compiler_wl='-Wl,'
     8625        lt_prog_compiler_pic='--shared'
     8626        lt_prog_compiler_static='--static'
     8627        ;;
     8628      nagfor*)
     8629        # NAG Fortran compiler
     8630        lt_prog_compiler_wl='-Wl,-Wl,,'
     8631        lt_prog_compiler_pic='-PIC'
     8632        lt_prog_compiler_static='-Bstatic'
     8633        ;;
     8634      tcc*)
     8635        # Fabrice Bellard et al's Tiny C Compiler
     8636        lt_prog_compiler_wl='-Wl,'
     8637        lt_prog_compiler_pic='-fPIC'
     8638        lt_prog_compiler_static='-static'
     8639        ;;
     8640      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
     8641        # Portland Group compilers (*not* the Pentium gcc compiler,
     8642        # which looks to be a dead project)
     8643        lt_prog_compiler_wl='-Wl,'
     8644        lt_prog_compiler_pic='-fpic'
     8645        lt_prog_compiler_static='-Bstatic'
     8646        ;;
     8647      ccc*)
     8648        lt_prog_compiler_wl='-Wl,'
     8649        # All Alpha code is PIC.
     8650        lt_prog_compiler_static='-non_shared'
     8651        ;;
     8652      xl* | bgxl* | bgf* | mpixl*)
     8653        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
     8654        lt_prog_compiler_wl='-Wl,'
     8655        lt_prog_compiler_pic='-qpic'
     8656        lt_prog_compiler_static='-qstaticlink'
     8657        ;;
     8658      *)
     8659        case `$CC -V 2>&1 | sed 5q` in
     8660        *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
     8661          # Sun Fortran 8.3 passes all unrecognized flags to the linker
     8662          lt_prog_compiler_pic='-KPIC'
     8663          lt_prog_compiler_static='-Bstatic'
     8664          lt_prog_compiler_wl=''
     8665          ;;
     8666        *Sun\ F* | *Sun*Fortran*)
     8667          lt_prog_compiler_pic='-KPIC'
     8668          lt_prog_compiler_static='-Bstatic'
     8669          lt_prog_compiler_wl='-Qoption ld '
     8670          ;;
     8671        *Sun\ C*)
     8672          # Sun C 5.9
     8673          lt_prog_compiler_pic='-KPIC'
     8674          lt_prog_compiler_static='-Bstatic'
     8675          lt_prog_compiler_wl='-Wl,'
     8676          ;;
     8677        *Intel*\ [CF]*Compiler*)
     8678          lt_prog_compiler_wl='-Wl,'
     8679          lt_prog_compiler_pic='-fPIC'
     8680          lt_prog_compiler_static='-static'
     8681          ;;
     8682        *Portland\ Group*)
     8683          lt_prog_compiler_wl='-Wl,'
     8684          lt_prog_compiler_pic='-fpic'
     8685          lt_prog_compiler_static='-Bstatic'
     8686          ;;
     8687        esac
     8688        ;;
     8689      esac
     8690      ;;
     8691
     8692    newsos6)
     8693      lt_prog_compiler_pic='-KPIC'
     8694      lt_prog_compiler_static='-Bstatic'
     8695      ;;
     8696
     8697    *nto* | *qnx*)
     8698      # QNX uses GNU C++, but need to define -shared option too, otherwise
     8699      # it will coredump.
     8700      lt_prog_compiler_pic='-fPIC -shared'
     8701      ;;
     8702
     8703    osf3* | osf4* | osf5*)
     8704      lt_prog_compiler_wl='-Wl,'
     8705      # All OSF/1 code is PIC.
     8706      lt_prog_compiler_static='-non_shared'
     8707      ;;
     8708
     8709    rdos*)
     8710      lt_prog_compiler_static='-non_shared'
     8711      ;;
     8712
     8713    solaris*)
     8714      lt_prog_compiler_pic='-KPIC'
     8715      lt_prog_compiler_static='-Bstatic'
     8716      case $cc_basename in
     8717      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
     8718        lt_prog_compiler_wl='-Qoption ld ';;
     8719      *)
     8720        lt_prog_compiler_wl='-Wl,';;
     8721      esac
     8722      ;;
     8723
     8724    sunos4*)
     8725      lt_prog_compiler_wl='-Qoption ld '
     8726      lt_prog_compiler_pic='-PIC'
     8727      lt_prog_compiler_static='-Bstatic'
     8728      ;;
     8729
     8730    sysv4 | sysv4.2uw2* | sysv4.3*)
     8731      lt_prog_compiler_wl='-Wl,'
     8732      lt_prog_compiler_pic='-KPIC'
     8733      lt_prog_compiler_static='-Bstatic'
     8734      ;;
     8735
     8736    sysv4*MP*)
     8737      if test -d /usr/nec; then
     8738        lt_prog_compiler_pic='-Kconform_pic'
     8739        lt_prog_compiler_static='-Bstatic'
     8740      fi
     8741      ;;
     8742
     8743    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
     8744      lt_prog_compiler_wl='-Wl,'
     8745      lt_prog_compiler_pic='-KPIC'
     8746      lt_prog_compiler_static='-Bstatic'
     8747      ;;
     8748
     8749    unicos*)
     8750      lt_prog_compiler_wl='-Wl,'
     8751      lt_prog_compiler_can_build_shared=no
     8752      ;;
     8753
     8754    uts4*)
     8755      lt_prog_compiler_pic='-pic'
     8756      lt_prog_compiler_static='-Bstatic'
     8757      ;;
     8758
     8759    *)
     8760      lt_prog_compiler_can_build_shared=no
     8761      ;;
     8762    esac
     8763  fi
     8764
     8765case $host_os in
     8766  # For platforms that do not support PIC, -DPIC is meaningless:
     8767  *djgpp*)
     8768    lt_prog_compiler_pic=
     8769    ;;
     8770  *)
     8771    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
     8772    ;;
     8773esac
     8774
     8775{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
     8776$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
     8777if ${lt_cv_prog_compiler_pic+:} false; then :
     8778  $as_echo_n "(cached) " >&6
     8779else
     8780  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
     8781fi
     8782{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
     8783$as_echo "$lt_cv_prog_compiler_pic" >&6; }
     8784lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
     8785
     8786#
     8787# Check to make sure the PIC flag actually works.
     8788#
     8789if test -n "$lt_prog_compiler_pic"; then
     8790  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
     8791$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
     8792if ${lt_cv_prog_compiler_pic_works+:} false; then :
     8793  $as_echo_n "(cached) " >&6
     8794else
     8795  lt_cv_prog_compiler_pic_works=no
     8796   ac_outfile=conftest.$ac_objext
     8797   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
     8798   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
     8799   # Insert the option either (1) after the last *FLAGS variable, or
     8800   # (2) before a word containing "conftest.", or (3) at the end.
     8801   # Note that $ac_compile itself does not contain backslashes and begins
     8802   # with a dollar sign (not a hyphen), so the echo should work correctly.
     8803   # The option is referenced via a variable to avoid confusing sed.
     8804   lt_compile=`echo "$ac_compile" | $SED \
     8805   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     8806   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     8807   -e 's:$: $lt_compiler_flag:'`
     8808   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
     8809   (eval "$lt_compile" 2>conftest.err)
     8810   ac_status=$?
     8811   cat conftest.err >&5
     8812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8813   if (exit $ac_status) && test -s "$ac_outfile"; then
     8814     # The compiler can only warn and ignore the option if not recognized
     8815     # So say no if there are warnings other than the usual output.
     8816     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
     8817     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
     8818     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
     8819       lt_cv_prog_compiler_pic_works=yes
     8820     fi
     8821   fi
     8822   $RM conftest*
     8823
     8824fi
     8825{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
     8826$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
     8827
     8828if test yes = "$lt_cv_prog_compiler_pic_works"; then
     8829    case $lt_prog_compiler_pic in
     8830     "" | " "*) ;;
     8831     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
     8832     esac
     8833else
     8834    lt_prog_compiler_pic=
     8835     lt_prog_compiler_can_build_shared=no
     8836fi
     8837
     8838fi
     8839
     8840
     8841
     8842
     8843
     8844
     8845
     8846
     8847
     8848
     8849
     8850#
     8851# Check to make sure the static flag actually works.
     8852#
     8853wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
     8854{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
     8855$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
     8856if ${lt_cv_prog_compiler_static_works+:} false; then :
     8857  $as_echo_n "(cached) " >&6
     8858else
     8859  lt_cv_prog_compiler_static_works=no
     8860   save_LDFLAGS=$LDFLAGS
     8861   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
     8862   echo "$lt_simple_link_test_code" > conftest.$ac_ext
     8863   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
     8864     # The linker can only warn and ignore the option if not recognized
     8865     # So say no if there are warnings
     8866     if test -s conftest.err; then
     8867       # Append any errors to the config.log.
     8868       cat conftest.err 1>&5
     8869       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
     8870       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
     8871       if diff conftest.exp conftest.er2 >/dev/null; then
     8872         lt_cv_prog_compiler_static_works=yes
     8873       fi
     8874     else
     8875       lt_cv_prog_compiler_static_works=yes
     8876     fi
     8877   fi
     8878   $RM -r conftest*
     8879   LDFLAGS=$save_LDFLAGS
     8880
     8881fi
     8882{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
     8883$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
     8884
     8885if test yes = "$lt_cv_prog_compiler_static_works"; then
     8886    :
     8887else
     8888    lt_prog_compiler_static=
     8889fi
     8890
     8891
     8892
     8893
     8894
     8895
     8896
     8897  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
     8898$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
     8899if ${lt_cv_prog_compiler_c_o+:} false; then :
     8900  $as_echo_n "(cached) " >&6
     8901else
     8902  lt_cv_prog_compiler_c_o=no
     8903   $RM -r conftest 2>/dev/null
     8904   mkdir conftest
     8905   cd conftest
     8906   mkdir out
     8907   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
     8908
     8909   lt_compiler_flag="-o out/conftest2.$ac_objext"
     8910   # Insert the option either (1) after the last *FLAGS variable, or
     8911   # (2) before a word containing "conftest.", or (3) at the end.
     8912   # Note that $ac_compile itself does not contain backslashes and begins
     8913   # with a dollar sign (not a hyphen), so the echo should work correctly.
     8914   lt_compile=`echo "$ac_compile" | $SED \
     8915   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     8916   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     8917   -e 's:$: $lt_compiler_flag:'`
     8918   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
     8919   (eval "$lt_compile" 2>out/conftest.err)
     8920   ac_status=$?
     8921   cat out/conftest.err >&5
     8922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8923   if (exit $ac_status) && test -s out/conftest2.$ac_objext
     8924   then
     8925     # The compiler can only warn and ignore the option if not recognized
     8926     # So say no if there are warnings
     8927     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
     8928     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
     8929     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
     8930       lt_cv_prog_compiler_c_o=yes
     8931     fi
     8932   fi
     8933   chmod u+w . 2>&5
     8934   $RM conftest*
     8935   # SGI C++ compiler will create directory out/ii_files/ for
     8936   # template instantiation
     8937   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
     8938   $RM out/* && rmdir out
     8939   cd ..
     8940   $RM -r conftest
     8941   $RM conftest*
     8942
     8943fi
     8944{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
     8945$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
     8946
     8947
     8948
     8949
     8950
     8951
     8952  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
     8953$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
     8954if ${lt_cv_prog_compiler_c_o+:} false; then :
     8955  $as_echo_n "(cached) " >&6
     8956else
     8957  lt_cv_prog_compiler_c_o=no
     8958   $RM -r conftest 2>/dev/null
     8959   mkdir conftest
     8960   cd conftest
     8961   mkdir out
     8962   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
     8963
     8964   lt_compiler_flag="-o out/conftest2.$ac_objext"
     8965   # Insert the option either (1) after the last *FLAGS variable, or
     8966   # (2) before a word containing "conftest.", or (3) at the end.
     8967   # Note that $ac_compile itself does not contain backslashes and begins
     8968   # with a dollar sign (not a hyphen), so the echo should work correctly.
     8969   lt_compile=`echo "$ac_compile" | $SED \
     8970   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     8971   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     8972   -e 's:$: $lt_compiler_flag:'`
     8973   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
     8974   (eval "$lt_compile" 2>out/conftest.err)
     8975   ac_status=$?
     8976   cat out/conftest.err >&5
     8977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8978   if (exit $ac_status) && test -s out/conftest2.$ac_objext
     8979   then
     8980     # The compiler can only warn and ignore the option if not recognized
     8981     # So say no if there are warnings
     8982     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
     8983     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
     8984     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
     8985       lt_cv_prog_compiler_c_o=yes
     8986     fi
     8987   fi
     8988   chmod u+w . 2>&5
     8989   $RM conftest*
     8990   # SGI C++ compiler will create directory out/ii_files/ for
     8991   # template instantiation
     8992   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
     8993   $RM out/* && rmdir out
     8994   cd ..
     8995   $RM -r conftest
     8996   $RM conftest*
     8997
     8998fi
     8999{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
     9000$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
     9001
     9002
     9003
     9004
     9005hard_links=nottested
     9006if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
     9007  # do not overwrite the value of need_locks provided by the user
     9008  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
     9009$as_echo_n "checking if we can lock with hard links... " >&6; }
     9010  hard_links=yes
     9011  $RM conftest*
     9012  ln conftest.a conftest.b 2>/dev/null && hard_links=no
     9013  touch conftest.a
     9014  ln conftest.a conftest.b 2>&5 || hard_links=no
     9015  ln conftest.a conftest.b 2>/dev/null && hard_links=no
     9016  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
     9017$as_echo "$hard_links" >&6; }
     9018  if test no = "$hard_links"; then
     9019    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
     9020$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
     9021    need_locks=warn
     9022  fi
     9023else
     9024  need_locks=no
     9025fi
     9026
     9027
     9028
     9029
     9030
     9031
     9032  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
     9033$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
     9034
     9035  runpath_var=
     9036  allow_undefined_flag=
     9037  always_export_symbols=no
     9038  archive_cmds=
     9039  archive_expsym_cmds=
     9040  compiler_needs_object=no
     9041  enable_shared_with_static_runtimes=no
     9042  export_dynamic_flag_spec=
     9043  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
     9044  hardcode_automatic=no
     9045  hardcode_direct=no
     9046  hardcode_direct_absolute=no
     9047  hardcode_libdir_flag_spec=
     9048  hardcode_libdir_separator=
     9049  hardcode_minus_L=no
     9050  hardcode_shlibpath_var=unsupported
     9051  inherit_rpath=no
     9052  link_all_deplibs=unknown
     9053  module_cmds=
     9054  module_expsym_cmds=
     9055  old_archive_from_new_cmds=
     9056  old_archive_from_expsyms_cmds=
     9057  thread_safe_flag_spec=
     9058  whole_archive_flag_spec=
     9059  # include_expsyms should be a list of space-separated symbols to be *always*
     9060  # included in the symbol list
     9061  include_expsyms=
     9062  # exclude_expsyms can be an extended regexp of symbols to exclude
     9063  # it will be wrapped by ' (' and ')$', so one must not match beginning or
     9064  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
     9065  # as well as any symbol that contains 'd'.
     9066  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
     9067  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
     9068  # platforms (ab)use it in PIC code, but their linkers get confused if
     9069  # the symbol is explicitly referenced.  Since portable code cannot
     9070  # rely on this symbol name, it's probably fine to never include it in
     9071  # preloaded symbol tables.
     9072  # Exclude shared library initialization/finalization symbols.
     9073  extract_expsyms_cmds=
     9074
     9075  case $host_os in
     9076  cygwin* | mingw* | pw32* | cegcc*)
     9077    # FIXME: the MSVC++ port hasn't been tested in a loooong time
     9078    # When not using gcc, we currently assume that we are using
     9079    # Microsoft Visual C++.
     9080    if test yes != "$GCC"; then
     9081      with_gnu_ld=no
     9082    fi
     9083    ;;
     9084  interix*)
     9085    # we just hope/assume this is gcc and not c89 (= MSVC++)
     9086    with_gnu_ld=yes
     9087    ;;
     9088  openbsd* | bitrig*)
     9089    with_gnu_ld=no
     9090    ;;
     9091  linux* | k*bsd*-gnu | gnu*)
     9092    link_all_deplibs=no
     9093    ;;
     9094  esac
     9095
     9096  ld_shlibs=yes
     9097
     9098  # On some targets, GNU ld is compatible enough with the native linker
     9099  # that we're better off using the native interface for both.
     9100  lt_use_gnu_ld_interface=no
     9101  if test yes = "$with_gnu_ld"; then
     9102    case $host_os in
     9103      aix*)
     9104        # The AIX port of GNU ld has always aspired to compatibility
     9105        # with the native linker.  However, as the warning in the GNU ld
     9106        # block says, versions before 2.19.5* couldn't really create working
     9107        # shared libraries, regardless of the interface used.
     9108        case `$LD -v 2>&1` in
     9109          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
     9110          *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
     9111          *\ \(GNU\ Binutils\)\ [3-9]*) ;;
     9112          *)
     9113            lt_use_gnu_ld_interface=yes
     9114            ;;
     9115        esac
     9116        ;;
     9117      *)
     9118        lt_use_gnu_ld_interface=yes
     9119        ;;
     9120    esac
     9121  fi
     9122
     9123  if test yes = "$lt_use_gnu_ld_interface"; then
     9124    # If archive_cmds runs LD, not CC, wlarc should be empty
     9125    wlarc='$wl'
     9126
     9127    # Set some defaults for GNU ld with shared library support. These
     9128    # are reset later if shared libraries are not supported. Putting them
     9129    # here allows them to be overridden if necessary.
     9130    runpath_var=LD_RUN_PATH
     9131    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
     9132    export_dynamic_flag_spec='$wl--export-dynamic'
     9133    # ancient GNU ld didn't support --whole-archive et. al.
     9134    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
     9135      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
     9136    else
     9137      whole_archive_flag_spec=
     9138    fi
     9139    supports_anon_versioning=no
     9140    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
     9141      *GNU\ gold*) supports_anon_versioning=yes ;;
     9142      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
     9143      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
     9144      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
     9145      *\ 2.11.*) ;; # other 2.11 versions
     9146      *) supports_anon_versioning=yes ;;
     9147    esac
     9148
     9149    # See if GNU ld supports shared libraries.
     9150    case $host_os in
     9151    aix[3-9]*)
     9152      # On AIX/PPC, the GNU linker is very broken
     9153      if test ia64 != "$host_cpu"; then
     9154        ld_shlibs=no
     9155        cat <<_LT_EOF 1>&2
     9156
     9157*** Warning: the GNU linker, at least up to release 2.19, is reported
     9158*** to be unable to reliably create shared libraries on AIX.
     9159*** Therefore, libtool is disabling shared libraries support.  If you
     9160*** really care for shared libraries, you may want to install binutils
     9161*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
     9162*** You will then need to restart the configuration process.
     9163
     9164_LT_EOF
     9165      fi
     9166      ;;
     9167
     9168    amigaos*)
     9169      case $host_cpu in
     9170      powerpc)
     9171            # see comment about AmigaOS4 .so support
     9172            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     9173            archive_expsym_cmds=''
     9174        ;;
     9175      m68k)
     9176            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)'
     9177            hardcode_libdir_flag_spec='-L$libdir'
     9178            hardcode_minus_L=yes
     9179        ;;
     9180      esac
     9181      ;;
     9182
     9183    beos*)
     9184      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
     9185        allow_undefined_flag=unsupported
     9186        # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
     9187        # support --undefined.  This deserves some investigation.  FIXME
     9188        archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     9189      else
     9190        ld_shlibs=no
     9191      fi
     9192      ;;
     9193
     9194    cygwin* | mingw* | pw32* | cegcc*)
     9195      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
     9196      # as there is no search path for DLLs.
     9197      hardcode_libdir_flag_spec='-L$libdir'
     9198      export_dynamic_flag_spec='$wl--export-all-symbols'
     9199      allow_undefined_flag=unsupported
     9200      always_export_symbols=no
     9201      enable_shared_with_static_runtimes=yes
     9202      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'
     9203      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
     9204
     9205      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
     9206        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
     9207        # If the export-symbols file already is a .def file, use it as
     9208        # is; otherwise, prepend EXPORTS...
     9209        archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
     9210          cp $export_symbols $output_objdir/$soname.def;
     9211        else
     9212          echo EXPORTS > $output_objdir/$soname.def;
     9213          cat $export_symbols >> $output_objdir/$soname.def;
     9214        fi~
     9215        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
     9216      else
     9217        ld_shlibs=no
     9218      fi
     9219      ;;
     9220
     9221    haiku*)
     9222      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     9223      link_all_deplibs=yes
     9224      ;;
     9225
     9226    os2*)
     9227      hardcode_libdir_flag_spec='-L$libdir'
     9228      hardcode_minus_L=yes
     9229      allow_undefined_flag=unsupported
     9230      shrext_cmds=.dll
     9231      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
     9232        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
     9233        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
     9234        $ECHO EXPORTS >> $output_objdir/$libname.def~
     9235        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
     9236        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
     9237        emximp -o $lib $output_objdir/$libname.def'
     9238      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
     9239        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
     9240        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
     9241        $ECHO EXPORTS >> $output_objdir/$libname.def~
     9242        prefix_cmds="$SED"~
     9243        if test EXPORTS = "`$SED 1q $export_symbols`"; then
     9244          prefix_cmds="$prefix_cmds -e 1d";
     9245        fi~
     9246        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
     9247        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
     9248        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
     9249        emximp -o $lib $output_objdir/$libname.def'
     9250      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
     9251      enable_shared_with_static_runtimes=yes
     9252      ;;
     9253
     9254    interix[3-9]*)
     9255      hardcode_direct=no
     9256      hardcode_shlibpath_var=no
     9257      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
     9258      export_dynamic_flag_spec='$wl-E'
     9259      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
     9260      # Instead, shared libraries are loaded at an image base (0x10000000 by
     9261      # default) and relocated if they conflict, which is a slow very memory
     9262      # consuming and fragmenting process.  To avoid this, we pick a random,
     9263      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
     9264      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
     9265      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
     9266      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'
     9267      ;;
     9268
     9269    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
     9270      tmp_diet=no
     9271      if test linux-dietlibc = "$host_os"; then
     9272        case $cc_basename in
     9273          diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
     9274        esac
     9275      fi
     9276      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
     9277         && test no = "$tmp_diet"
     9278      then
     9279        tmp_addflag=' $pic_flag'
     9280        tmp_sharedflag='-shared'
     9281        case $cc_basename,$host_cpu in
     9282        pgcc*)                          # Portland Group C compiler
     9283          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'
     9284          tmp_addflag=' $pic_flag'
     9285          ;;
     9286        pgf77* | pgf90* | pgf95* | pgfortran*)
     9287                                        # Portland Group f77 and f90 compilers
     9288          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'
     9289          tmp_addflag=' $pic_flag -Mnomain' ;;
     9290        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
     9291          tmp_addflag=' -i_dynamic' ;;
     9292        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
     9293          tmp_addflag=' -i_dynamic -nofor_main' ;;
     9294        ifc* | ifort*)                  # Intel Fortran compiler
     9295          tmp_addflag=' -nofor_main' ;;
     9296        lf95*)                          # Lahey Fortran 8.1
     9297          whole_archive_flag_spec=
     9298          tmp_sharedflag='--shared' ;;
     9299        nagfor*)                        # NAGFOR 5.3
     9300          tmp_sharedflag='-Wl,-shared' ;;
     9301        xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
     9302          tmp_sharedflag='-qmkshrobj'
     9303          tmp_addflag= ;;
     9304        nvcc*)  # Cuda Compiler Driver 2.2
     9305          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'
     9306          compiler_needs_object=yes
     9307          ;;
     9308        esac
     9309        case `$CC -V 2>&1 | sed 5q` in
     9310        *Sun\ C*)                       # Sun C 5.9
     9311          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'
     9312          compiler_needs_object=yes
     9313          tmp_sharedflag='-G' ;;
     9314        *Sun\ F*)                       # Sun Fortran 8.3
     9315          tmp_sharedflag='-G' ;;
     9316        esac
     9317        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     9318
     9319        if test yes = "$supports_anon_versioning"; then
     9320          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
     9321            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
     9322            echo "local: *; };" >> $output_objdir/$libname.ver~
     9323            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
     9324        fi
     9325
     9326        case $cc_basename in
     9327        tcc*)
     9328          export_dynamic_flag_spec='-rdynamic'
     9329          ;;
     9330        xlf* | bgf* | bgxlf* | mpixlf*)
     9331          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
     9332          whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
     9333          hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
     9334          archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
     9335          if test yes = "$supports_anon_versioning"; then
     9336            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
     9337              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
     9338              echo "local: *; };" >> $output_objdir/$libname.ver~
     9339              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
     9340          fi
     9341          ;;
     9342        esac
     9343      else
     9344        ld_shlibs=no
     9345      fi
     9346      ;;
     9347
     9348    netbsd* | netbsdelf*-gnu)
     9349      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
     9350        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
     9351        wlarc=
     9352      else
     9353        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     9354        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
     9355      fi
     9356      ;;
     9357
     9358    solaris*)
     9359      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
     9360        ld_shlibs=no
     9361        cat <<_LT_EOF 1>&2
     9362
     9363*** Warning: The releases 2.8.* of the GNU linker cannot reliably
     9364*** create shared libraries on Solaris systems.  Therefore, libtool
     9365*** is disabling shared libraries support.  We urge you to upgrade GNU
     9366*** binutils to release 2.9.1 or newer.  Another option is to modify
     9367*** your PATH or compiler configuration so that the native linker is
     9368*** used, and then restart.
     9369
     9370_LT_EOF
     9371      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
     9372        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     9373        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
     9374      else
     9375        ld_shlibs=no
     9376      fi
     9377      ;;
     9378
     9379    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
     9380      case `$LD -v 2>&1` in
     9381        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
     9382        ld_shlibs=no
     9383        cat <<_LT_EOF 1>&2
     9384
     9385*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
     9386*** reliably create shared libraries on SCO systems.  Therefore, libtool
     9387*** is disabling shared libraries support.  We urge you to upgrade GNU
     9388*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
     9389*** your PATH or compiler configuration so that the native linker is
     9390*** used, and then restart.
     9391
     9392_LT_EOF
     9393        ;;
     9394        *)
     9395          # For security reasons, it is highly recommended that you always
     9396          # use absolute paths for naming shared libraries, and exclude the
     9397          # DT_RUNPATH tag from executables and libraries.  But doing so
     9398          # requires that you compile everything twice, which is a pain.
     9399          if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
     9400            hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
     9401            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     9402            archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
     9403          else
     9404            ld_shlibs=no
     9405          fi
     9406        ;;
     9407      esac
     9408      ;;
     9409
     9410    sunos4*)
     9411      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
     9412      wlarc=
     9413      hardcode_direct=yes
     9414      hardcode_shlibpath_var=no
     9415      ;;
     9416
     9417    *)
     9418      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
     9419        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     9420        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
     9421      else
     9422        ld_shlibs=no
     9423      fi
     9424      ;;
     9425    esac
     9426
     9427    if test no = "$ld_shlibs"; then
     9428      runpath_var=
     9429      hardcode_libdir_flag_spec=
     9430      export_dynamic_flag_spec=
     9431      whole_archive_flag_spec=
     9432    fi
     9433  else
     9434    # PORTME fill in a description of your system's linker (not GNU ld)
     9435    case $host_os in
     9436    aix3*)
     9437      allow_undefined_flag=unsupported
     9438      always_export_symbols=yes
     9439      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'
     9440      # Note: this linker hardcodes the directories in LIBPATH if there
     9441      # are no directories specified by -L.
     9442      hardcode_minus_L=yes
     9443      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
     9444        # Neither direct hardcoding nor static linking is supported with a
     9445        # broken collect2.
     9446        hardcode_direct=unsupported
     9447      fi
     9448      ;;
     9449
     9450    aix[4-9]*)
     9451      if test ia64 = "$host_cpu"; then
     9452        # On IA64, the linker does run time linking by default, so we don't
     9453        # have to do anything special.
     9454        aix_use_runtimelinking=no
     9455        exp_sym_flag='-Bexport'
     9456        no_entry_flag=
     9457      else
     9458        # If we're using GNU nm, then we don't want the "-C" option.
     9459        # -C means demangle to GNU nm, but means don't demangle to AIX nm.
     9460        # Without the "-l" option, or with the "-B" option, AIX nm treats
     9461        # weak defined symbols like other global defined symbols, whereas
     9462        # GNU nm marks them as "W".
     9463        # While the 'weak' keyword is ignored in the Export File, we need
     9464        # it in the Import File for the 'aix-soname' feature, so we have
     9465        # to replace the "-B" option with "-P" for AIX nm.
     9466        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
     9467          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
     9468        else
     9469          export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
     9470        fi
     9471        aix_use_runtimelinking=no
     9472
     9473        # Test if we are trying to use run time linking or normal
     9474        # AIX style linking. If -brtl is somewhere in LDFLAGS, we
     9475        # have runtime linking enabled, and use it for executables.
     9476        # For shared libraries, we enable/disable runtime linking
     9477        # depending on the kind of the shared library created -
     9478        # when "with_aix_soname,aix_use_runtimelinking" is:
     9479        # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
     9480        # "aix,yes"  lib.so          shared, rtl:yes, for executables
     9481        #            lib.a           static archive
     9482        # "both,no"  lib.so.V(shr.o) shared, rtl:yes
     9483        #            lib.a(lib.so.V) shared, rtl:no,  for executables
     9484        # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
     9485        #            lib.a(lib.so.V) shared, rtl:no
     9486        # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
     9487        #            lib.a           static archive
     9488        case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
     9489          for ld_flag in $LDFLAGS; do
     9490          if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
     9491            aix_use_runtimelinking=yes
     9492            break
     9493          fi
     9494          done
     9495          if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
     9496            # With aix-soname=svr4, we create the lib.so.V shared archives only,
     9497            # so we don't have lib.a shared libs to link our executables.
     9498            # We have to force runtime linking in this case.
     9499            aix_use_runtimelinking=yes
     9500            LDFLAGS="$LDFLAGS -Wl,-brtl"
     9501          fi
     9502          ;;
     9503        esac
     9504
     9505        exp_sym_flag='-bexport'
     9506        no_entry_flag='-bnoentry'
     9507      fi
     9508
     9509      # When large executables or shared objects are built, AIX ld can
     9510      # have problems creating the table of contents.  If linking a library
     9511      # or program results in "error TOC overflow" add -mminimal-toc to
     9512      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
     9513      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
     9514
     9515      archive_cmds=''
     9516      hardcode_direct=yes
     9517      hardcode_direct_absolute=yes
     9518      hardcode_libdir_separator=':'
     9519      link_all_deplibs=yes
     9520      file_list_spec='$wl-f,'
     9521      case $with_aix_soname,$aix_use_runtimelinking in
     9522      aix,*) ;; # traditional, no import file
     9523      svr4,* | *,yes) # use import file
     9524        # The Import File defines what to hardcode.
     9525        hardcode_direct=no
     9526        hardcode_direct_absolute=no
     9527        ;;
     9528      esac
     9529
     9530      if test yes = "$GCC"; then
     9531        case $host_os in aix4.[012]|aix4.[012].*)
     9532        # We only want to do this on AIX 4.2 and lower, the check
     9533        # below for broken collect2 doesn't work under 4.3+
     9534          collect2name=`$CC -print-prog-name=collect2`
     9535          if test -f "$collect2name" &&
     9536           strings "$collect2name" | $GREP resolve_lib_name >/dev/null
     9537          then
     9538          # We have reworked collect2
     9539          :
     9540          else
     9541          # We have old collect2
     9542          hardcode_direct=unsupported
     9543          # It fails to find uninstalled libraries when the uninstalled
     9544          # path is not listed in the libpath.  Setting hardcode_minus_L
     9545          # to unsupported forces relinking
     9546          hardcode_minus_L=yes
     9547          hardcode_libdir_flag_spec='-L$libdir'
     9548          hardcode_libdir_separator=
     9549          fi
     9550          ;;
     9551        esac
     9552        shared_flag='-shared'
     9553        if test yes = "$aix_use_runtimelinking"; then
     9554          shared_flag="$shared_flag "'$wl-G'
     9555        fi
     9556        # Need to ensure runtime linking is disabled for the traditional
     9557        # shared library, or the linker may eventually find shared libraries
     9558        # /with/ Import File - we do not want to mix them.
     9559        shared_flag_aix='-shared'
     9560        shared_flag_svr4='-shared $wl-G'
     9561      else
     9562        # not using gcc
     9563        if test ia64 = "$host_cpu"; then
     9564        # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
     9565        # chokes on -Wl,-G. The following line is correct:
     9566          shared_flag='-G'
     9567        else
     9568          if test yes = "$aix_use_runtimelinking"; then
     9569            shared_flag='$wl-G'
     9570          else
     9571            shared_flag='$wl-bM:SRE'
     9572          fi
     9573          shared_flag_aix='$wl-bM:SRE'
     9574          shared_flag_svr4='$wl-G'
     9575        fi
     9576      fi
     9577
     9578      export_dynamic_flag_spec='$wl-bexpall'
     9579      # It seems that -bexpall does not export symbols beginning with
     9580      # underscore (_), so it is better to generate a list of symbols to export.
     9581      always_export_symbols=yes
     9582      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
     9583        # Warning - without using the other runtime loading flags (-brtl),
     9584        # -berok will link without error, but may produce a broken library.
     9585        allow_undefined_flag='-berok'
     9586        # Determine the default libpath from the value encoded in an
     9587        # empty executable.
     9588        if test set = "${lt_cv_aix_libpath+set}"; then
     9589  aix_libpath=$lt_cv_aix_libpath
     9590else
     9591  if ${lt_cv_aix_libpath_+:} false; then :
     9592  $as_echo_n "(cached) " >&6
     9593else
     9594  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     9595/* end confdefs.h.  */
     9596
     9597int
     9598main ()
     9599{
     9600
     9601  ;
     9602  return 0;
     9603}
     9604_ACEOF
     9605if ac_fn_c_try_link "$LINENO"; then :
     9606
     9607  lt_aix_libpath_sed='
     9608      /Import File Strings/,/^$/ {
     9609          /^0/ {
     9610              s/^0  *\([^ ]*\) *$/\1/
     9611              p
     9612          }
     9613      }'
     9614  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
     9615  # Check for a 64-bit object if we didn't find anything.
     9616  if test -z "$lt_cv_aix_libpath_"; then
     9617    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
     9618  fi
     9619fi
     9620rm -f core conftest.err conftest.$ac_objext \
     9621    conftest$ac_exeext conftest.$ac_ext
     9622  if test -z "$lt_cv_aix_libpath_"; then
     9623    lt_cv_aix_libpath_=/usr/lib:/lib
     9624  fi
     9625
     9626fi
     9627
     9628  aix_libpath=$lt_cv_aix_libpath_
     9629fi
     9630
     9631        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
     9632        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
     9633      else
     9634        if test ia64 = "$host_cpu"; then
     9635          hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
     9636          allow_undefined_flag="-z nodefs"
     9637          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"
     9638        else
     9639         # Determine the default libpath from the value encoded in an
     9640         # empty executable.
     9641         if test set = "${lt_cv_aix_libpath+set}"; then
     9642  aix_libpath=$lt_cv_aix_libpath
     9643else
     9644  if ${lt_cv_aix_libpath_+:} false; then :
     9645  $as_echo_n "(cached) " >&6
     9646else
     9647  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     9648/* end confdefs.h.  */
     9649
     9650int
     9651main ()
     9652{
     9653
     9654  ;
     9655  return 0;
     9656}
     9657_ACEOF
     9658if ac_fn_c_try_link "$LINENO"; then :
     9659
     9660  lt_aix_libpath_sed='
     9661      /Import File Strings/,/^$/ {
     9662          /^0/ {
     9663              s/^0  *\([^ ]*\) *$/\1/
     9664              p
     9665          }
     9666      }'
     9667  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
     9668  # Check for a 64-bit object if we didn't find anything.
     9669  if test -z "$lt_cv_aix_libpath_"; then
     9670    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
     9671  fi
     9672fi
     9673rm -f core conftest.err conftest.$ac_objext \
     9674    conftest$ac_exeext conftest.$ac_ext
     9675  if test -z "$lt_cv_aix_libpath_"; then
     9676    lt_cv_aix_libpath_=/usr/lib:/lib
     9677  fi
     9678
     9679fi
     9680
     9681  aix_libpath=$lt_cv_aix_libpath_
     9682fi
     9683
     9684         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
     9685          # Warning - without using the other run time loading flags,
     9686          # -berok will link without error, but may produce a broken library.
     9687          no_undefined_flag=' $wl-bernotok'
     9688          allow_undefined_flag=' $wl-berok'
     9689          if test yes = "$with_gnu_ld"; then
     9690            # We only use this code for GNU lds that support --whole-archive.
     9691            whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
     9692          else
     9693            # Exported symbols can be pulled into shared objects from archives
     9694            whole_archive_flag_spec='$convenience'
     9695          fi
     9696          archive_cmds_need_lc=yes
     9697          archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
     9698          # -brtl affects multiple linker settings, -berok does not and is overridden later
     9699          compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
     9700          if test svr4 != "$with_aix_soname"; then
     9701            # This is similar to how AIX traditionally builds its shared libraries.
     9702            archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
     9703          fi
     9704          if test aix != "$with_aix_soname"; then
     9705            archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
     9706          else
     9707            # used by -dlpreopen to get the symbols
     9708            archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
     9709          fi
     9710          archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
     9711        fi
     9712      fi
     9713      ;;
     9714
     9715    amigaos*)
     9716      case $host_cpu in
     9717      powerpc)
     9718            # see comment about AmigaOS4 .so support
     9719            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     9720            archive_expsym_cmds=''
     9721        ;;
     9722      m68k)
     9723            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)'
     9724            hardcode_libdir_flag_spec='-L$libdir'
     9725            hardcode_minus_L=yes
     9726        ;;
     9727      esac
     9728      ;;
     9729
     9730    bsdi[45]*)
     9731      export_dynamic_flag_spec=-rdynamic
     9732      ;;
     9733
     9734    cygwin* | mingw* | pw32* | cegcc*)
     9735      # When not using gcc, we currently assume that we are using
     9736      # Microsoft Visual C++.
     9737      # hardcode_libdir_flag_spec is actually meaningless, as there is
     9738      # no search path for DLLs.
     9739      case $cc_basename in
     9740      cl*)
     9741        # Native MSVC
     9742        hardcode_libdir_flag_spec=' '
     9743        allow_undefined_flag=unsupported
     9744        always_export_symbols=yes
     9745        file_list_spec='@'
     9746        # Tell ltmain to make .lib files, not .a files.
     9747        libext=lib
     9748        # Tell ltmain to make .dll files, not .so files.
     9749        shrext_cmds=.dll
     9750        # FIXME: Setting linknames here is a bad hack.
     9751        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
     9752        archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
     9753            cp "$export_symbols" "$output_objdir/$soname.def";
     9754            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
     9755          else
     9756            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
     9757          fi~
     9758          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
     9759          linknames='
     9760        # The linker will not automatically build a static lib if we build a DLL.
     9761        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
     9762        enable_shared_with_static_runtimes=yes
     9763        exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
     9764        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
     9765        # Don't use ranlib
     9766        old_postinstall_cmds='chmod 644 $oldlib'
     9767        postlink_cmds='lt_outputfile="@OUTPUT@"~
     9768          lt_tool_outputfile="@TOOL_OUTPUT@"~
     9769          case $lt_outputfile in
     9770            *.exe|*.EXE) ;;
     9771            *)
     9772              lt_outputfile=$lt_outputfile.exe
     9773              lt_tool_outputfile=$lt_tool_outputfile.exe
     9774              ;;
     9775          esac~
     9776          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
     9777            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
     9778            $RM "$lt_outputfile.manifest";
     9779          fi'
     9780        ;;
     9781      *)
     9782        # Assume MSVC wrapper
     9783        hardcode_libdir_flag_spec=' '
     9784        allow_undefined_flag=unsupported
     9785        # Tell ltmain to make .lib files, not .a files.
     9786        libext=lib
     9787        # Tell ltmain to make .dll files, not .so files.
     9788        shrext_cmds=.dll
     9789        # FIXME: Setting linknames here is a bad hack.
     9790        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
     9791        # The linker will automatically build a .lib file if we build a DLL.
     9792        old_archive_from_new_cmds='true'
     9793        # FIXME: Should let the user specify the lib program.
     9794        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
     9795        enable_shared_with_static_runtimes=yes
     9796        ;;
     9797      esac
     9798      ;;
     9799
     9800    darwin* | rhapsody*)
     9801
     9802
     9803  archive_cmds_need_lc=no
     9804  hardcode_direct=no
     9805  hardcode_automatic=yes
     9806  hardcode_shlibpath_var=unsupported
     9807  if test yes = "$lt_cv_ld_force_load"; then
     9808    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\"`'
     9809
     9810  else
     9811    whole_archive_flag_spec=''
     9812  fi
     9813  link_all_deplibs=yes
     9814  allow_undefined_flag=$_lt_dar_allow_undefined
     9815  case $cc_basename in
     9816     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
     9817     *) _lt_dar_can_shared=$GCC ;;
     9818  esac
     9819  if test yes = "$_lt_dar_can_shared"; then
     9820    output_verbose_link_cmd=func_echo_all
     9821    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
     9822    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
     9823    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"
     9824    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"
     9825
     9826  else
     9827  ld_shlibs=no
     9828  fi
     9829
     9830      ;;
     9831
     9832    dgux*)
     9833      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
     9834      hardcode_libdir_flag_spec='-L$libdir'
     9835      hardcode_shlibpath_var=no
     9836      ;;
     9837
     9838    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
     9839    # support.  Future versions do this automatically, but an explicit c++rt0.o
     9840    # does not break anything, and helps significantly (at the cost of a little
     9841    # extra space).
     9842    freebsd2.2*)
     9843      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
     9844      hardcode_libdir_flag_spec='-R$libdir'
     9845      hardcode_direct=yes
     9846      hardcode_shlibpath_var=no
     9847      ;;
     9848
     9849    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
     9850    freebsd2.*)
     9851      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
     9852      hardcode_direct=yes
     9853      hardcode_minus_L=yes
     9854      hardcode_shlibpath_var=no
     9855      ;;
     9856
     9857    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
     9858    freebsd* | dragonfly*)
     9859      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
     9860      hardcode_libdir_flag_spec='-R$libdir'
     9861      hardcode_direct=yes
     9862      hardcode_shlibpath_var=no
     9863      ;;
     9864
     9865    hpux9*)
     9866      if test yes = "$GCC"; then
     9867        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
     9868      else
     9869        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
     9870      fi
     9871      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
     9872      hardcode_libdir_separator=:
     9873      hardcode_direct=yes
     9874
     9875      # hardcode_minus_L: Not really in the search PATH,
     9876      # but as the default location of the library.
     9877      hardcode_minus_L=yes
     9878      export_dynamic_flag_spec='$wl-E'
     9879      ;;
     9880
     9881    hpux10*)
     9882      if test yes,no = "$GCC,$with_gnu_ld"; then
     9883        archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
     9884      else
     9885        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
     9886      fi
     9887      if test no = "$with_gnu_ld"; then
     9888        hardcode_libdir_flag_spec='$wl+b $wl$libdir'
     9889        hardcode_libdir_separator=:
     9890        hardcode_direct=yes
     9891        hardcode_direct_absolute=yes
     9892        export_dynamic_flag_spec='$wl-E'
     9893        # hardcode_minus_L: Not really in the search PATH,
     9894        # but as the default location of the library.
     9895        hardcode_minus_L=yes
     9896      fi
     9897      ;;
     9898
     9899    hpux11*)
     9900      if test yes,no = "$GCC,$with_gnu_ld"; then
     9901        case $host_cpu in
     9902        hppa*64*)
     9903          archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
     9904          ;;
     9905        ia64*)
     9906          archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
     9907          ;;
     9908        *)
     9909          archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
     9910          ;;
     9911        esac
     9912      else
     9913        case $host_cpu in
     9914        hppa*64*)
     9915          archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
     9916          ;;
     9917        ia64*)
     9918          archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
     9919          ;;
     9920        *)
     9921
     9922          # Older versions of the 11.00 compiler do not understand -b yet
     9923          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
     9924          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
     9925$as_echo_n "checking if $CC understands -b... " >&6; }
     9926if ${lt_cv_prog_compiler__b+:} false; then :
     9927  $as_echo_n "(cached) " >&6
     9928else
     9929  lt_cv_prog_compiler__b=no
     9930   save_LDFLAGS=$LDFLAGS
     9931   LDFLAGS="$LDFLAGS -b"
     9932   echo "$lt_simple_link_test_code" > conftest.$ac_ext
     9933   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
     9934     # The linker can only warn and ignore the option if not recognized
     9935     # So say no if there are warnings
     9936     if test -s conftest.err; then
     9937       # Append any errors to the config.log.
     9938       cat conftest.err 1>&5
     9939       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
     9940       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
     9941       if diff conftest.exp conftest.er2 >/dev/null; then
     9942         lt_cv_prog_compiler__b=yes
     9943       fi
     9944     else
     9945       lt_cv_prog_compiler__b=yes
     9946     fi
     9947   fi
     9948   $RM -r conftest*
     9949   LDFLAGS=$save_LDFLAGS
     9950
     9951fi
     9952{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
     9953$as_echo "$lt_cv_prog_compiler__b" >&6; }
     9954
     9955if test yes = "$lt_cv_prog_compiler__b"; then
     9956    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
     9957else
     9958    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
     9959fi
     9960
     9961          ;;
     9962        esac
     9963      fi
     9964      if test no = "$with_gnu_ld"; then
     9965        hardcode_libdir_flag_spec='$wl+b $wl$libdir'
     9966        hardcode_libdir_separator=:
     9967
     9968        case $host_cpu in
     9969        hppa*64*|ia64*)
     9970          hardcode_direct=no
     9971          hardcode_shlibpath_var=no
     9972          ;;
     9973        *)
     9974          hardcode_direct=yes
     9975          hardcode_direct_absolute=yes
     9976          export_dynamic_flag_spec='$wl-E'
     9977
     9978          # hardcode_minus_L: Not really in the search PATH,
     9979          # but as the default location of the library.
     9980          hardcode_minus_L=yes
     9981          ;;
     9982        esac
     9983      fi
     9984      ;;
     9985
     9986    irix5* | irix6* | nonstopux*)
     9987      if test yes = "$GCC"; then
     9988        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'
     9989        # Try to use the -exported_symbol ld option, if it does not
     9990        # work, assume that -exports_file does not work either and
     9991        # implicitly export all symbols.
     9992        # This should be the same for all languages, so no per-tag cache variable.
     9993        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
     9994$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
     9995if ${lt_cv_irix_exported_symbol+:} false; then :
     9996  $as_echo_n "(cached) " >&6
     9997else
     9998  save_LDFLAGS=$LDFLAGS
     9999           LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
     10000           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     10001/* end confdefs.h.  */
     10002int foo (void) { return 0; }
     10003_ACEOF
     10004if ac_fn_c_try_link "$LINENO"; then :
     10005  lt_cv_irix_exported_symbol=yes
     10006else
     10007  lt_cv_irix_exported_symbol=no
     10008fi
     10009rm -f core conftest.err conftest.$ac_objext \
     10010    conftest$ac_exeext conftest.$ac_ext
     10011           LDFLAGS=$save_LDFLAGS
     10012fi
     10013{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
     10014$as_echo "$lt_cv_irix_exported_symbol" >&6; }
     10015        if test yes = "$lt_cv_irix_exported_symbol"; then
     10016          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'
     10017        fi
     10018        link_all_deplibs=no
     10019      else
     10020        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'
     10021        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'
     10022      fi
     10023      archive_cmds_need_lc='no'
     10024      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
     10025      hardcode_libdir_separator=:
     10026      inherit_rpath=yes
     10027      link_all_deplibs=yes
     10028      ;;
     10029
     10030    linux*)
     10031      case $cc_basename in
     10032      tcc*)
     10033        # Fabrice Bellard et al's Tiny C Compiler
     10034        ld_shlibs=yes
     10035        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
     10036        ;;
     10037      esac
     10038      ;;
     10039
     10040    netbsd* | netbsdelf*-gnu)
     10041      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
     10042        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
     10043      else
     10044        archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
     10045      fi
     10046      hardcode_libdir_flag_spec='-R$libdir'
     10047      hardcode_direct=yes
     10048      hardcode_shlibpath_var=no
     10049      ;;
     10050
     10051    newsos6)
     10052      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
     10053      hardcode_direct=yes
     10054      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
     10055      hardcode_libdir_separator=:
     10056      hardcode_shlibpath_var=no
     10057      ;;
     10058
     10059    *nto* | *qnx*)
     10060      ;;
     10061
     10062    openbsd* | bitrig*)
     10063      if test -f /usr/libexec/ld.so; then
     10064        hardcode_direct=yes
     10065        hardcode_shlibpath_var=no
     10066        hardcode_direct_absolute=yes
     10067        if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
     10068          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
     10069          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
     10070          hardcode_libdir_flag_spec='$wl-rpath,$libdir'
     10071          export_dynamic_flag_spec='$wl-E'
     10072        else
     10073          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
     10074          hardcode_libdir_flag_spec='$wl-rpath,$libdir'
     10075        fi
     10076      else
     10077        ld_shlibs=no
     10078      fi
     10079      ;;
     10080
     10081    os2*)
     10082      hardcode_libdir_flag_spec='-L$libdir'
     10083      hardcode_minus_L=yes
     10084      allow_undefined_flag=unsupported
     10085      shrext_cmds=.dll
     10086      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
     10087        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
     10088        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
     10089        $ECHO EXPORTS >> $output_objdir/$libname.def~
     10090        emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
     10091        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
     10092        emximp -o $lib $output_objdir/$libname.def'
     10093      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
     10094        $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
     10095        $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
     10096        $ECHO EXPORTS >> $output_objdir/$libname.def~
     10097        prefix_cmds="$SED"~
     10098        if test EXPORTS = "`$SED 1q $export_symbols`"; then
     10099          prefix_cmds="$prefix_cmds -e 1d";
     10100        fi~
     10101        prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
     10102        cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
     10103        $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
     10104        emximp -o $lib $output_objdir/$libname.def'
     10105      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
     10106      enable_shared_with_static_runtimes=yes
     10107      ;;
     10108
     10109    osf3*)
     10110      if test yes = "$GCC"; then
     10111        allow_undefined_flag=' $wl-expect_unresolved $wl\*'
     10112        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'
     10113      else
     10114        allow_undefined_flag=' -expect_unresolved \*'
     10115        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'
     10116      fi
     10117      archive_cmds_need_lc='no'
     10118      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
     10119      hardcode_libdir_separator=:
     10120      ;;
     10121
     10122    osf4* | osf5*)      # as osf3* with the addition of -msym flag
     10123      if test yes = "$GCC"; then
     10124        allow_undefined_flag=' $wl-expect_unresolved $wl\*'
     10125        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'
     10126        hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
     10127      else
     10128        allow_undefined_flag=' -expect_unresolved \*'
     10129        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'
     10130        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~
     10131          $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'
     10132
     10133        # Both c and cxx compiler support -rpath directly
     10134        hardcode_libdir_flag_spec='-rpath $libdir'
     10135      fi
     10136      archive_cmds_need_lc='no'
     10137      hardcode_libdir_separator=:
     10138      ;;
     10139
     10140    solaris*)
     10141      no_undefined_flag=' -z defs'
     10142      if test yes = "$GCC"; then
     10143        wlarc='$wl'
     10144        archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
     10145        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
     10146          $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'
     10147      else
     10148        case `$CC -V 2>&1` in
     10149        *"Compilers 5.0"*)
     10150          wlarc=''
     10151          archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
     10152          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
     10153            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
     10154          ;;
     10155        *)
     10156          wlarc='$wl'
     10157          archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
     10158          archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
     10159            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
     10160          ;;
     10161        esac
     10162      fi
     10163      hardcode_libdir_flag_spec='-R$libdir'
     10164      hardcode_shlibpath_var=no
     10165      case $host_os in
     10166      solaris2.[0-5] | solaris2.[0-5].*) ;;
     10167      *)
     10168        # The compiler driver will combine and reorder linker options,
     10169        # but understands '-z linker_flag'.  GCC discards it without '$wl',
     10170        # but is careful enough not to reorder.
     10171        # Supported since Solaris 2.6 (maybe 2.5.1?)
     10172        if test yes = "$GCC"; then
     10173          whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
     10174        else
     10175          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
     10176        fi
     10177        ;;
     10178      esac
     10179      link_all_deplibs=yes
     10180      ;;
     10181
     10182    sunos4*)
     10183      if test sequent = "$host_vendor"; then
     10184        # Use $CC to link under sequent, because it throws in some extra .o
     10185        # files that make .init and .fini sections work.
     10186        archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
     10187      else
     10188        archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
     10189      fi
     10190      hardcode_libdir_flag_spec='-L$libdir'
     10191      hardcode_direct=yes
     10192      hardcode_minus_L=yes
     10193      hardcode_shlibpath_var=no
     10194      ;;
     10195
     10196    sysv4)
     10197      case $host_vendor in
     10198        sni)
     10199          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
     10200          hardcode_direct=yes # is this really true???
     10201        ;;
     10202        siemens)
     10203          ## LD is ld it makes a PLAMLIB
     10204          ## CC just makes a GrossModule.
     10205          archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
     10206          reload_cmds='$CC -r -o $output$reload_objs'
     10207          hardcode_direct=no
     10208        ;;
     10209        motorola)
     10210          archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
     10211          hardcode_direct=no #Motorola manual says yes, but my tests say they lie
     10212        ;;
     10213      esac
     10214      runpath_var='LD_RUN_PATH'
     10215      hardcode_shlibpath_var=no
     10216      ;;
     10217
     10218    sysv4.3*)
     10219      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
     10220      hardcode_shlibpath_var=no
     10221      export_dynamic_flag_spec='-Bexport'
     10222      ;;
     10223
     10224    sysv4*MP*)
     10225      if test -d /usr/nec; then
     10226        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
     10227        hardcode_shlibpath_var=no
     10228        runpath_var=LD_RUN_PATH
     10229        hardcode_runpath_var=yes
     10230        ld_shlibs=yes
     10231      fi
     10232      ;;
     10233
     10234    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
     10235      no_undefined_flag='$wl-z,text'
     10236      archive_cmds_need_lc=no
     10237      hardcode_shlibpath_var=no
     10238      runpath_var='LD_RUN_PATH'
     10239
     10240      if test yes = "$GCC"; then
     10241        archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     10242        archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     10243      else
     10244        archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     10245        archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     10246      fi
     10247      ;;
     10248
     10249    sysv5* | sco3.2v5* | sco5v6*)
     10250      # Note: We CANNOT use -z defs as we might desire, because we do not
     10251      # link with -lc, and that would cause any symbols used from libc to
     10252      # always be unresolved, which means just about no library would
     10253      # ever link correctly.  If we're not using GNU ld we use -z text
     10254      # though, which does catch some bad symbols but isn't as heavy-handed
     10255      # as -z defs.
     10256      no_undefined_flag='$wl-z,text'
     10257      allow_undefined_flag='$wl-z,nodefs'
     10258      archive_cmds_need_lc=no
     10259      hardcode_shlibpath_var=no
     10260      hardcode_libdir_flag_spec='$wl-R,$libdir'
     10261      hardcode_libdir_separator=':'
     10262      link_all_deplibs=yes
     10263      export_dynamic_flag_spec='$wl-Bexport'
     10264      runpath_var='LD_RUN_PATH'
     10265
     10266      if test yes = "$GCC"; then
     10267        archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     10268        archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     10269      else
     10270        archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     10271        archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     10272      fi
     10273      ;;
     10274
     10275    uts4*)
     10276      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
     10277      hardcode_libdir_flag_spec='-L$libdir'
     10278      hardcode_shlibpath_var=no
     10279      ;;
     10280
     10281    *)
     10282      ld_shlibs=no
     10283      ;;
     10284    esac
     10285
     10286    if test sni = "$host_vendor"; then
     10287      case $host in
     10288      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
     10289        export_dynamic_flag_spec='$wl-Blargedynsym'
     10290        ;;
     10291      esac
     10292    fi
     10293  fi
     10294
     10295{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
     10296$as_echo "$ld_shlibs" >&6; }
     10297test no = "$ld_shlibs" && can_build_shared=no
     10298
     10299with_gnu_ld=$with_gnu_ld
     10300
     10301
     10302
     10303
     10304
     10305
     10306
     10307
     10308
     10309
     10310
     10311
     10312
     10313
     10314
     10315#
     10316# Do we need to explicitly link libc?
     10317#
     10318case "x$archive_cmds_need_lc" in
     10319x|xyes)
     10320  # Assume -lc should be added
     10321  archive_cmds_need_lc=yes
     10322
     10323  if test yes,yes = "$GCC,$enable_shared"; then
     10324    case $archive_cmds in
     10325    *'~'*)
     10326      # FIXME: we may have to deal with multi-command sequences.
     10327      ;;
     10328    '$CC '*)
     10329      # Test whether the compiler implicitly links with -lc since on some
     10330      # systems, -lgcc has to come before -lc. If gcc already passes -lc
     10331      # to ld, don't add -lc before -lgcc.
     10332      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
     10333$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
     10334if ${lt_cv_archive_cmds_need_lc+:} false; then :
     10335  $as_echo_n "(cached) " >&6
     10336else
     10337  $RM conftest*
     10338        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
     10339
     10340        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     10341  (eval $ac_compile) 2>&5
     10342  ac_status=$?
     10343  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     10344  test $ac_status = 0; } 2>conftest.err; then
     10345          soname=conftest
     10346          lib=conftest
     10347          libobjs=conftest.$ac_objext
     10348          deplibs=
     10349          wl=$lt_prog_compiler_wl
     10350          pic_flag=$lt_prog_compiler_pic
     10351          compiler_flags=-v
     10352          linker_flags=-v
     10353          verstring=
     10354          output_objdir=.
     10355          libname=conftest
     10356          lt_save_allow_undefined_flag=$allow_undefined_flag
     10357          allow_undefined_flag=
     10358          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
     10359  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
     10360  ac_status=$?
     10361  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     10362  test $ac_status = 0; }
     10363          then
     10364            lt_cv_archive_cmds_need_lc=no
     10365          else
     10366            lt_cv_archive_cmds_need_lc=yes
     10367          fi
     10368          allow_undefined_flag=$lt_save_allow_undefined_flag
     10369        else
     10370          cat conftest.err 1>&5
     10371        fi
     10372        $RM conftest*
     10373
     10374fi
     10375{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
     10376$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
     10377      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
     10378      ;;
     10379    esac
     10380  fi
     10381  ;;
     10382esac
     10383
     10384
     10385
     10386
     10387
     10388
     10389
     10390
     10391
     10392
     10393
     10394
     10395
     10396
     10397
     10398
     10399
     10400
     10401
     10402
     10403
     10404
     10405
     10406
     10407
     10408
     10409
     10410
     10411
     10412
     10413
     10414
     10415
     10416
     10417
     10418
     10419
     10420
     10421
     10422
     10423
     10424
     10425
     10426
     10427
     10428
     10429
     10430
     10431
     10432
     10433
     10434
     10435
     10436
     10437
     10438
     10439
     10440
     10441
     10442
     10443
     10444
     10445
     10446
     10447
     10448
     10449
     10450
     10451
     10452
     10453
     10454
     10455
     10456
     10457
     10458
     10459
     10460
     10461
     10462
     10463
     10464
     10465
     10466
     10467
     10468
     10469
     10470
     10471
     10472
     10473
     10474
     10475
     10476
     10477
     10478
     10479
     10480
     10481
     10482
     10483
     10484
     10485
     10486
     10487
     10488
     10489
     10490
     10491
     10492
     10493
     10494
     10495
     10496
     10497
     10498
     10499
     10500
     10501
     10502
     10503
     10504
     10505
     10506
     10507
     10508
     10509
     10510
     10511
     10512
     10513
     10514
     10515
     10516
     10517
     10518
     10519
     10520
     10521
     10522
     10523
     10524
     10525
     10526
     10527
     10528
     10529
     10530
     10531
     10532
     10533
     10534
     10535  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
     10536$as_echo_n "checking dynamic linker characteristics... " >&6; }
     10537
     10538if test yes = "$GCC"; then
     10539  case $host_os in
     10540    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
     10541    *) lt_awk_arg='/^libraries:/' ;;
     10542  esac
     10543  case $host_os in
     10544    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
     10545    *) lt_sed_strip_eq='s|=/|/|g' ;;
     10546  esac
     10547  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
     10548  case $lt_search_path_spec in
     10549  *\;*)
     10550    # if the path contains ";" then we assume it to be the separator
     10551    # otherwise default to the standard path separator (i.e. ":") - it is
     10552    # assumed that no part of a normal pathname contains ";" but that should
     10553    # okay in the real world where ";" in dirpaths is itself problematic.
     10554    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
     10555    ;;
     10556  *)
     10557    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
     10558    ;;
     10559  esac
     10560  # Ok, now we have the path, separated by spaces, we can step through it
     10561  # and add multilib dir if necessary...
     10562  lt_tmp_lt_search_path_spec=
     10563  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
     10564  # ...but if some path component already ends with the multilib dir we assume
     10565  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
     10566  case "$lt_multi_os_dir; $lt_search_path_spec " in
     10567  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
     10568    lt_multi_os_dir=
     10569    ;;
     10570  esac
     10571  for lt_sys_path in $lt_search_path_spec; do
     10572    if test -d "$lt_sys_path$lt_multi_os_dir"; then
     10573      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
     10574    elif test -n "$lt_multi_os_dir"; then
     10575      test -d "$lt_sys_path" && \
     10576        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
     10577    fi
     10578  done
     10579  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
     10580BEGIN {RS = " "; FS = "/|\n";} {
     10581  lt_foo = "";
     10582  lt_count = 0;
     10583  for (lt_i = NF; lt_i > 0; lt_i--) {
     10584    if ($lt_i != "" && $lt_i != ".") {
     10585      if ($lt_i == "..") {
     10586        lt_count++;
     10587      } else {
     10588        if (lt_count == 0) {
     10589          lt_foo = "/" $lt_i lt_foo;
     10590        } else {
     10591          lt_count--;
     10592        }
     10593      }
     10594    }
     10595  }
     10596  if (lt_foo != "") { lt_freq[lt_foo]++; }
     10597  if (lt_freq[lt_foo] == 1) { print lt_foo; }
     10598}'`
     10599  # AWK program above erroneously prepends '/' to C:/dos/paths
     10600  # for these hosts.
     10601  case $host_os in
     10602    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
     10603      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
     10604  esac
     10605  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
     10606else
     10607  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
     10608fi
     10609library_names_spec=
     10610libname_spec='lib$name'
     10611soname_spec=
     10612shrext_cmds=.so
     10613postinstall_cmds=
     10614postuninstall_cmds=
     10615finish_cmds=
     10616finish_eval=
     10617shlibpath_var=
     10618shlibpath_overrides_runpath=unknown
     10619version_type=none
     10620dynamic_linker="$host_os ld.so"
     10621sys_lib_dlsearch_path_spec="/lib /usr/lib"
     10622need_lib_prefix=unknown
     10623hardcode_into_libs=no
     10624
     10625# when you set need_version to no, make sure it does not cause -set_version
     10626# flags to be left without arguments
     10627need_version=unknown
     10628
     10629
     10630
     10631case $host_os in
     10632aix3*)
     10633  version_type=linux # correct to gnu/linux during the next big refactor
     10634  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
     10635  shlibpath_var=LIBPATH
     10636
     10637  # AIX 3 has no versioning support, so we append a major version to the name.
     10638  soname_spec='$libname$release$shared_ext$major'
     10639  ;;
     10640
     10641aix[4-9]*)
     10642  version_type=linux # correct to gnu/linux during the next big refactor
     10643  need_lib_prefix=no
     10644  need_version=no
     10645  hardcode_into_libs=yes
     10646  if test ia64 = "$host_cpu"; then
     10647    # AIX 5 supports IA64
     10648    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
     10649    shlibpath_var=LD_LIBRARY_PATH
     10650  else
     10651    # With GCC up to 2.95.x, collect2 would create an import file
     10652    # for dependence libraries.  The import file would start with
     10653    # the line '#! .'.  This would cause the generated library to
     10654    # depend on '.', always an invalid library.  This was fixed in
     10655    # development snapshots of GCC prior to 3.0.
     10656    case $host_os in
     10657      aix4 | aix4.[01] | aix4.[01].*)
     10658      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
     10659           echo ' yes '
     10660           echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
     10661        :
     10662      else
     10663        can_build_shared=no
     10664      fi
     10665      ;;
     10666    esac
     10667    # Using Import Files as archive members, it is possible to support
     10668    # filename-based versioning of shared library archives on AIX. While
     10669    # this would work for both with and without runtime linking, it will
     10670    # prevent static linking of such archives. So we do filename-based
     10671    # shared library versioning with .so extension only, which is used
     10672    # when both runtime linking and shared linking is enabled.
     10673    # Unfortunately, runtime linking may impact performance, so we do
     10674    # not want this to be the default eventually. Also, we use the
     10675    # versioned .so libs for executables only if there is the -brtl
     10676    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
     10677    # To allow for filename-based versioning support, we need to create
     10678    # libNAME.so.V as an archive file, containing:
     10679    # *) an Import File, referring to the versioned filename of the
     10680    #    archive as well as the shared archive member, telling the
     10681    #    bitwidth (32 or 64) of that shared object, and providing the
     10682    #    list of exported symbols of that shared object, eventually
     10683    #    decorated with the 'weak' keyword
     10684    # *) the shared object with the F_LOADONLY flag set, to really avoid
     10685    #    it being seen by the linker.
     10686    # At run time we better use the real file rather than another symlink,
     10687    # but for link time we create the symlink libNAME.so -> libNAME.so.V
     10688
     10689    case $with_aix_soname,$aix_use_runtimelinking in
     10690    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
     10691    # soname into executable. Probably we can add versioning support to
     10692    # collect2, so additional links can be useful in future.
     10693    aix,yes) # traditional libtool
     10694      dynamic_linker='AIX unversionable lib.so'
     10695      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
     10696      # instead of lib<name>.a to let people know that these are not
     10697      # typical AIX shared libraries.
     10698      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     10699      ;;
     10700    aix,no) # traditional AIX only
     10701      dynamic_linker='AIX lib.a(lib.so.V)'
     10702      # We preserve .a as extension for shared libraries through AIX4.2
     10703      # and later when we are not doing run time linking.
     10704      library_names_spec='$libname$release.a $libname.a'
     10705      soname_spec='$libname$release$shared_ext$major'
     10706      ;;
     10707    svr4,*) # full svr4 only
     10708      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
     10709      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
     10710      # We do not specify a path in Import Files, so LIBPATH fires.
     10711      shlibpath_overrides_runpath=yes
     10712      ;;
     10713    *,yes) # both, prefer svr4
     10714      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
     10715      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
     10716      # unpreferred sharedlib libNAME.a needs extra handling
     10717      postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
     10718      postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
     10719      # We do not specify a path in Import Files, so LIBPATH fires.
     10720      shlibpath_overrides_runpath=yes
     10721      ;;
     10722    *,no) # both, prefer aix
     10723      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
     10724      library_names_spec='$libname$release.a $libname.a'
     10725      soname_spec='$libname$release$shared_ext$major'
     10726      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
     10727      postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
     10728      postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
     10729      ;;
     10730    esac
     10731    shlibpath_var=LIBPATH
     10732  fi
     10733  ;;
     10734
     10735amigaos*)
     10736  case $host_cpu in
     10737  powerpc)
     10738    # Since July 2007 AmigaOS4 officially supports .so libraries.
     10739    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
     10740    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     10741    ;;
     10742  m68k)
     10743    library_names_spec='$libname.ixlibrary $libname.a'
     10744    # Create ${libname}_ixlibrary.a entries in /sys/libs.
     10745    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
     10746    ;;
     10747  esac
     10748  ;;
     10749
     10750beos*)
     10751  library_names_spec='$libname$shared_ext'
     10752  dynamic_linker="$host_os ld.so"
     10753  shlibpath_var=LIBRARY_PATH
     10754  ;;
     10755
     10756bsdi[45]*)
     10757  version_type=linux # correct to gnu/linux during the next big refactor
     10758  need_version=no
     10759  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     10760  soname_spec='$libname$release$shared_ext$major'
     10761  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
     10762  shlibpath_var=LD_LIBRARY_PATH
     10763  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
     10764  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
     10765  # the default ld.so.conf also contains /usr/contrib/lib and
     10766  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
     10767  # libtool to hard-code these into programs
     10768  ;;
     10769
     10770cygwin* | mingw* | pw32* | cegcc*)
     10771  version_type=windows
     10772  shrext_cmds=.dll
     10773  need_version=no
     10774  need_lib_prefix=no
     10775
     10776  case $GCC,$cc_basename in
     10777  yes,*)
     10778    # gcc
     10779    library_names_spec='$libname.dll.a'
     10780    # DLL is installed to $(libdir)/../bin by postinstall_cmds
     10781    postinstall_cmds='base_file=`basename \$file`~
     10782      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
     10783      dldir=$destdir/`dirname \$dlpath`~
     10784      test -d \$dldir || mkdir -p \$dldir~
     10785      $install_prog $dir/$dlname \$dldir/$dlname~
     10786      chmod a+x \$dldir/$dlname~
     10787      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
     10788        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
     10789      fi'
     10790    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
     10791      dlpath=$dir/\$dldll~
     10792       $RM \$dlpath'
     10793    shlibpath_overrides_runpath=yes
     10794
     10795    case $host_os in
     10796    cygwin*)
     10797      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
     10798      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
     10799
     10800      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
     10801      ;;
     10802    mingw* | cegcc*)
     10803      # MinGW DLLs use traditional 'lib' prefix
     10804      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
     10805      ;;
     10806    pw32*)
     10807      # pw32 DLLs use 'pw' prefix rather than 'lib'
     10808      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
     10809      ;;
     10810    esac
     10811    dynamic_linker='Win32 ld.exe'
     10812    ;;
     10813
     10814  *,cl*)
     10815    # Native MSVC
     10816    libname_spec='$name'
     10817    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
     10818    library_names_spec='$libname.dll.lib'
     10819
     10820    case $build_os in
     10821    mingw*)
     10822      sys_lib_search_path_spec=
     10823      lt_save_ifs=$IFS
     10824      IFS=';'
     10825      for lt_path in $LIB
     10826      do
     10827        IFS=$lt_save_ifs
     10828        # Let DOS variable expansion print the short 8.3 style file name.
     10829        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
     10830        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
     10831      done
     10832      IFS=$lt_save_ifs
     10833      # Convert to MSYS style.
     10834      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
     10835      ;;
     10836    cygwin*)
     10837      # Convert to unix form, then to dos form, then back to unix form
     10838      # but this time dos style (no spaces!) so that the unix form looks
     10839      # like /cygdrive/c/PROGRA~1:/cygdr...
     10840      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
     10841      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
     10842      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
     10843      ;;
     10844    *)
     10845      sys_lib_search_path_spec=$LIB
     10846      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
     10847        # It is most probably a Windows format PATH.
     10848        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
     10849      else
     10850        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
     10851      fi
     10852      # FIXME: find the short name or the path components, as spaces are
     10853      # common. (e.g. "Program Files" -> "PROGRA~1")
     10854      ;;
     10855    esac
     10856
     10857    # DLL is installed to $(libdir)/../bin by postinstall_cmds
     10858    postinstall_cmds='base_file=`basename \$file`~
     10859      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
     10860      dldir=$destdir/`dirname \$dlpath`~
     10861      test -d \$dldir || mkdir -p \$dldir~
     10862      $install_prog $dir/$dlname \$dldir/$dlname'
     10863    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
     10864      dlpath=$dir/\$dldll~
     10865       $RM \$dlpath'
     10866    shlibpath_overrides_runpath=yes
     10867    dynamic_linker='Win32 link.exe'
     10868    ;;
     10869
     10870  *)
     10871    # Assume MSVC wrapper
     10872    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
     10873    dynamic_linker='Win32 ld.exe'
     10874    ;;
     10875  esac
     10876  # FIXME: first we should search . and the directory the executable is in
     10877  shlibpath_var=PATH
     10878  ;;
     10879
     10880darwin* | rhapsody*)
     10881  dynamic_linker="$host_os dyld"
     10882  version_type=darwin
     10883  need_lib_prefix=no
     10884  need_version=no
     10885  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
     10886  soname_spec='$libname$release$major$shared_ext'
     10887  shlibpath_overrides_runpath=yes
     10888  shlibpath_var=DYLD_LIBRARY_PATH
     10889  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
     10890
     10891  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
     10892  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
     10893  ;;
     10894
     10895dgux*)
     10896  version_type=linux # correct to gnu/linux during the next big refactor
     10897  need_lib_prefix=no
     10898  need_version=no
     10899  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     10900  soname_spec='$libname$release$shared_ext$major'
     10901  shlibpath_var=LD_LIBRARY_PATH
     10902  ;;
     10903
     10904freebsd* | dragonfly*)
     10905  # DragonFly does not have aout.  When/if they implement a new
     10906  # versioning mechanism, adjust this.
     10907  if test -x /usr/bin/objformat; then
     10908    objformat=`/usr/bin/objformat`
     10909  else
     10910    case $host_os in
     10911    freebsd[23].*) objformat=aout ;;
     10912    *) objformat=elf ;;
     10913    esac
     10914  fi
     10915  version_type=freebsd-$objformat
     10916  case $version_type in
     10917    freebsd-elf*)
     10918      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     10919      soname_spec='$libname$release$shared_ext$major'
     10920      need_version=no
     10921      need_lib_prefix=no
     10922      ;;
     10923    freebsd-*)
     10924      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
     10925      need_version=yes
     10926      ;;
     10927  esac
     10928  shlibpath_var=LD_LIBRARY_PATH
     10929  case $host_os in
     10930  freebsd2.*)
     10931    shlibpath_overrides_runpath=yes
     10932    ;;
     10933  freebsd3.[01]* | freebsdelf3.[01]*)
     10934    shlibpath_overrides_runpath=yes
     10935    hardcode_into_libs=yes
     10936    ;;
     10937  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
     10938  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
     10939    shlibpath_overrides_runpath=no
     10940    hardcode_into_libs=yes
     10941    ;;
     10942  *) # from 4.6 on, and DragonFly
     10943    shlibpath_overrides_runpath=yes
     10944    hardcode_into_libs=yes
     10945    ;;
     10946  esac
     10947  ;;
     10948
     10949haiku*)
     10950  version_type=linux # correct to gnu/linux during the next big refactor
     10951  need_lib_prefix=no
     10952  need_version=no
     10953  dynamic_linker="$host_os runtime_loader"
     10954  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     10955  soname_spec='$libname$release$shared_ext$major'
     10956  shlibpath_var=LIBRARY_PATH
     10957  shlibpath_overrides_runpath=no
     10958  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
     10959  hardcode_into_libs=yes
     10960  ;;
     10961
     10962hpux9* | hpux10* | hpux11*)
     10963  # Give a soname corresponding to the major version so that dld.sl refuses to
     10964  # link against other versions.
     10965  version_type=sunos
     10966  need_lib_prefix=no
     10967  need_version=no
     10968  case $host_cpu in
     10969  ia64*)
     10970    shrext_cmds='.so'
     10971    hardcode_into_libs=yes
     10972    dynamic_linker="$host_os dld.so"
     10973    shlibpath_var=LD_LIBRARY_PATH
     10974    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
     10975    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     10976    soname_spec='$libname$release$shared_ext$major'
     10977    if test 32 = "$HPUX_IA64_MODE"; then
     10978      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
     10979      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
     10980    else
     10981      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
     10982      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
     10983    fi
     10984    ;;
     10985  hppa*64*)
     10986    shrext_cmds='.sl'
     10987    hardcode_into_libs=yes
     10988    dynamic_linker="$host_os dld.sl"
     10989    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
     10990    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
     10991    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     10992    soname_spec='$libname$release$shared_ext$major'
     10993    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
     10994    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
     10995    ;;
     10996  *)
     10997    shrext_cmds='.sl'
     10998    dynamic_linker="$host_os dld.sl"
     10999    shlibpath_var=SHLIB_PATH
     11000    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
     11001    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     11002    soname_spec='$libname$release$shared_ext$major'
     11003    ;;
     11004  esac
     11005  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
     11006  postinstall_cmds='chmod 555 $lib'
     11007  # or fails outright, so override atomically:
     11008  install_override_mode=555
     11009  ;;
     11010
     11011interix[3-9]*)
     11012  version_type=linux # correct to gnu/linux during the next big refactor
     11013  need_lib_prefix=no
     11014  need_version=no
     11015  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     11016  soname_spec='$libname$release$shared_ext$major'
     11017  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
     11018  shlibpath_var=LD_LIBRARY_PATH
     11019  shlibpath_overrides_runpath=no
     11020  hardcode_into_libs=yes
     11021  ;;
     11022
     11023irix5* | irix6* | nonstopux*)
     11024  case $host_os in
     11025    nonstopux*) version_type=nonstopux ;;
     11026    *)
     11027        if test yes = "$lt_cv_prog_gnu_ld"; then
     11028                version_type=linux # correct to gnu/linux during the next big refactor
     11029        else
     11030                version_type=irix
     11031        fi ;;
     11032  esac
     11033  need_lib_prefix=no
     11034  need_version=no
     11035  soname_spec='$libname$release$shared_ext$major'
     11036  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
     11037  case $host_os in
     11038  irix5* | nonstopux*)
     11039    libsuff= shlibsuff=
     11040    ;;
     11041  *)
     11042    case $LD in # libtool.m4 will add one of these switches to LD
     11043    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
     11044      libsuff= shlibsuff= libmagic=32-bit;;
     11045    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
     11046      libsuff=32 shlibsuff=N32 libmagic=N32;;
     11047    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
     11048      libsuff=64 shlibsuff=64 libmagic=64-bit;;
     11049    *) libsuff= shlibsuff= libmagic=never-match;;
     11050    esac
     11051    ;;
     11052  esac
     11053  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
     11054  shlibpath_overrides_runpath=no
     11055  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
     11056  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
     11057  hardcode_into_libs=yes
     11058  ;;
     11059
     11060# No shared lib support for Linux oldld, aout, or coff.
     11061linux*oldld* | linux*aout* | linux*coff*)
     11062  dynamic_linker=no
     11063  ;;
     11064
     11065linux*android*)
     11066  version_type=none # Android doesn't support versioned libraries.
     11067  need_lib_prefix=no
     11068  need_version=no
     11069  library_names_spec='$libname$release$shared_ext'
     11070  soname_spec='$libname$release$shared_ext'
     11071  finish_cmds=
     11072  shlibpath_var=LD_LIBRARY_PATH
     11073  shlibpath_overrides_runpath=yes
     11074
     11075  # This implies no fast_install, which is unacceptable.
     11076  # Some rework will be needed to allow for fast_install
     11077  # before this can be enabled.
     11078  hardcode_into_libs=yes
     11079
     11080  dynamic_linker='Android linker'
     11081  # Don't embed -rpath directories since the linker doesn't support them.
     11082  hardcode_libdir_flag_spec='-L$libdir'
     11083  ;;
     11084
     11085# This must be glibc/ELF.
     11086linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
     11087  version_type=linux # correct to gnu/linux during the next big refactor
     11088  need_lib_prefix=no
     11089  need_version=no
     11090  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     11091  soname_spec='$libname$release$shared_ext$major'
     11092  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
     11093  shlibpath_var=LD_LIBRARY_PATH
     11094  shlibpath_overrides_runpath=no
     11095
     11096  # Some binutils ld are patched to set DT_RUNPATH
     11097  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
     11098  $as_echo_n "(cached) " >&6
     11099else
     11100  lt_cv_shlibpath_overrides_runpath=no
     11101    save_LDFLAGS=$LDFLAGS
     11102    save_libdir=$libdir
     11103    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
     11104         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
     11105    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     11106/* end confdefs.h.  */
     11107
     11108int
     11109main ()
     11110{
     11111
     11112  ;
     11113  return 0;
     11114}
     11115_ACEOF
     11116if ac_fn_c_try_link "$LINENO"; then :
     11117  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
     11118  lt_cv_shlibpath_overrides_runpath=yes
     11119fi
     11120fi
     11121rm -f core conftest.err conftest.$ac_objext \
     11122    conftest$ac_exeext conftest.$ac_ext
     11123    LDFLAGS=$save_LDFLAGS
     11124    libdir=$save_libdir
     11125
     11126fi
     11127
     11128  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
     11129
     11130  # This implies no fast_install, which is unacceptable.
     11131  # Some rework will be needed to allow for fast_install
     11132  # before this can be enabled.
     11133  hardcode_into_libs=yes
     11134
     11135  # Ideally, we could use ldconfig to report *all* directores which are
     11136  # searched for libraries, however this is still not possible.  Aside from not
     11137  # being certain /sbin/ldconfig is available, command
     11138  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
     11139  # even though it is searched at run-time.  Try to do the best guess by
     11140  # appending ld.so.conf contents (and includes) to the search path.
     11141  if test -f /etc/ld.so.conf; then
     11142    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' ' '`
     11143    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
     11144  fi
     11145
     11146  # We used to test for /lib/ld.so.1 and disable shared libraries on
     11147  # powerpc, because MkLinux only supported shared libraries with the
     11148  # GNU dynamic linker.  Since this was broken with cross compilers,
     11149  # most powerpc-linux boxes support dynamic linking these days and
     11150  # people can always --disable-shared, the test was removed, and we
     11151  # assume the GNU/Linux dynamic linker is in use.
     11152  dynamic_linker='GNU/Linux ld.so'
     11153  ;;
     11154
     11155netbsdelf*-gnu)
     11156  version_type=linux
     11157  need_lib_prefix=no
     11158  need_version=no
     11159  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
     11160  soname_spec='${libname}${release}${shared_ext}$major'
     11161  shlibpath_var=LD_LIBRARY_PATH
     11162  shlibpath_overrides_runpath=no
     11163  hardcode_into_libs=yes
     11164  dynamic_linker='NetBSD ld.elf_so'
     11165  ;;
     11166
     11167netbsd*)
     11168  version_type=sunos
     11169  need_lib_prefix=no
     11170  need_version=no
     11171  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
     11172    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
     11173    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
     11174    dynamic_linker='NetBSD (a.out) ld.so'
     11175  else
     11176    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     11177    soname_spec='$libname$release$shared_ext$major'
     11178    dynamic_linker='NetBSD ld.elf_so'
     11179  fi
     11180  shlibpath_var=LD_LIBRARY_PATH
     11181  shlibpath_overrides_runpath=yes
     11182  hardcode_into_libs=yes
     11183  ;;
     11184
     11185newsos6)
     11186  version_type=linux # correct to gnu/linux during the next big refactor
     11187  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     11188  shlibpath_var=LD_LIBRARY_PATH
     11189  shlibpath_overrides_runpath=yes
     11190  ;;
     11191
     11192*nto* | *qnx*)
     11193  version_type=qnx
     11194  need_lib_prefix=no
     11195  need_version=no
     11196  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     11197  soname_spec='$libname$release$shared_ext$major'
     11198  shlibpath_var=LD_LIBRARY_PATH
     11199  shlibpath_overrides_runpath=no
     11200  hardcode_into_libs=yes
     11201  dynamic_linker='ldqnx.so'
     11202  ;;
     11203
     11204openbsd* | bitrig*)
     11205  version_type=sunos
     11206  sys_lib_dlsearch_path_spec=/usr/lib
     11207  need_lib_prefix=no
     11208  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
     11209    need_version=no
     11210  else
     11211    need_version=yes
     11212  fi
     11213  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
     11214  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
     11215  shlibpath_var=LD_LIBRARY_PATH
     11216  shlibpath_overrides_runpath=yes
     11217  ;;
     11218
     11219os2*)
     11220  libname_spec='$name'
     11221  version_type=windows
     11222  shrext_cmds=.dll
     11223  need_version=no
     11224  need_lib_prefix=no
     11225  # OS/2 can only load a DLL with a base name of 8 characters or less.
     11226  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
     11227    v=$($ECHO $release$versuffix | tr -d .-);
     11228    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
     11229    $ECHO $n$v`$shared_ext'
     11230  library_names_spec='${libname}_dll.$libext'
     11231  dynamic_linker='OS/2 ld.exe'
     11232  shlibpath_var=BEGINLIBPATH
     11233  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
     11234  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
     11235  postinstall_cmds='base_file=`basename \$file`~
     11236    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
     11237    dldir=$destdir/`dirname \$dlpath`~
     11238    test -d \$dldir || mkdir -p \$dldir~
     11239    $install_prog $dir/$dlname \$dldir/$dlname~
     11240    chmod a+x \$dldir/$dlname~
     11241    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
     11242      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
     11243    fi'
     11244  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
     11245    dlpath=$dir/\$dldll~
     11246    $RM \$dlpath'
     11247  ;;
     11248
     11249osf3* | osf4* | osf5*)
     11250  version_type=osf
     11251  need_lib_prefix=no
     11252  need_version=no
     11253  soname_spec='$libname$release$shared_ext$major'
     11254  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     11255  shlibpath_var=LD_LIBRARY_PATH
     11256  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
     11257  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
     11258  ;;
     11259
     11260rdos*)
     11261  dynamic_linker=no
     11262  ;;
     11263
     11264solaris*)
     11265  version_type=linux # correct to gnu/linux during the next big refactor
     11266  need_lib_prefix=no
     11267  need_version=no
     11268  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     11269  soname_spec='$libname$release$shared_ext$major'
     11270  shlibpath_var=LD_LIBRARY_PATH
     11271  shlibpath_overrides_runpath=yes
     11272  hardcode_into_libs=yes
     11273  # ldd complains unless libraries are executable
     11274  postinstall_cmds='chmod +x $lib'
     11275  ;;
     11276
     11277sunos4*)
     11278  version_type=sunos
     11279  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
     11280  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
     11281  shlibpath_var=LD_LIBRARY_PATH
     11282  shlibpath_overrides_runpath=yes
     11283  if test yes = "$with_gnu_ld"; then
     11284    need_lib_prefix=no
     11285  fi
     11286  need_version=yes
     11287  ;;
     11288
     11289sysv4 | sysv4.3*)
     11290  version_type=linux # correct to gnu/linux during the next big refactor
     11291  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     11292  soname_spec='$libname$release$shared_ext$major'
     11293  shlibpath_var=LD_LIBRARY_PATH
     11294  case $host_vendor in
     11295    sni)
     11296      shlibpath_overrides_runpath=no
     11297      need_lib_prefix=no
     11298      runpath_var=LD_RUN_PATH
     11299      ;;
     11300    siemens)
     11301      need_lib_prefix=no
     11302      ;;
     11303    motorola)
     11304      need_lib_prefix=no
     11305      need_version=no
     11306      shlibpath_overrides_runpath=no
     11307      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
     11308      ;;
     11309  esac
     11310  ;;
     11311
     11312sysv4*MP*)
     11313  if test -d /usr/nec; then
     11314    version_type=linux # correct to gnu/linux during the next big refactor
     11315    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
     11316    soname_spec='$libname$shared_ext.$major'
     11317    shlibpath_var=LD_LIBRARY_PATH
     11318  fi
     11319  ;;
     11320
     11321sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
     11322  version_type=sco
     11323  need_lib_prefix=no
     11324  need_version=no
     11325  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
     11326  soname_spec='$libname$release$shared_ext$major'
     11327  shlibpath_var=LD_LIBRARY_PATH
     11328  shlibpath_overrides_runpath=yes
     11329  hardcode_into_libs=yes
     11330  if test yes = "$with_gnu_ld"; then
     11331    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
     11332  else
     11333    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
     11334    case $host_os in
     11335      sco3.2v5*)
     11336        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
     11337        ;;
     11338    esac
     11339  fi
     11340  sys_lib_dlsearch_path_spec='/usr/lib'
     11341  ;;
     11342
     11343tpf*)
     11344  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
     11345  version_type=linux # correct to gnu/linux during the next big refactor
     11346  need_lib_prefix=no
     11347  need_version=no
     11348  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     11349  shlibpath_var=LD_LIBRARY_PATH
     11350  shlibpath_overrides_runpath=no
     11351  hardcode_into_libs=yes
     11352  ;;
     11353
     11354uts4*)
     11355  version_type=linux # correct to gnu/linux during the next big refactor
     11356  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     11357  soname_spec='$libname$release$shared_ext$major'
     11358  shlibpath_var=LD_LIBRARY_PATH
     11359  ;;
     11360
     11361*)
     11362  dynamic_linker=no
     11363  ;;
     11364esac
     11365{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
     11366$as_echo "$dynamic_linker" >&6; }
     11367test no = "$dynamic_linker" && can_build_shared=no
     11368
     11369variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
     11370if test yes = "$GCC"; then
     11371  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
     11372fi
     11373
     11374if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
     11375  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
     11376fi
     11377
     11378if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
     11379  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
     11380fi
     11381
     11382# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
     11383configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
     11384
     11385# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
     11386func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
     11387
     11388# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
     11389configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
     11390
     11391
     11392
     11393
     11394
     11395
     11396
     11397
     11398
     11399
     11400
     11401
     11402
     11403
     11404
     11405
     11406
     11407
     11408
     11409
     11410
     11411
     11412
     11413
     11414
     11415
     11416
     11417
     11418
     11419
     11420
     11421
     11422
     11423
     11424
     11425
     11426
     11427
     11428
     11429
     11430
     11431
     11432
     11433
     11434
     11435
     11436
     11437
     11438
     11439
     11440
     11441
     11442
     11443
     11444
     11445
     11446
     11447
     11448
     11449
     11450
     11451
     11452
     11453
     11454
     11455
     11456
     11457
     11458
     11459
     11460
     11461
     11462
     11463
     11464
     11465
     11466
     11467
     11468
     11469
     11470
     11471
     11472
     11473
     11474
     11475
     11476
     11477
     11478
     11479
     11480
     11481
     11482
     11483
     11484
     11485
     11486
     11487  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
     11488$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
     11489hardcode_action=
     11490if test -n "$hardcode_libdir_flag_spec" ||
     11491   test -n "$runpath_var" ||
     11492   test yes = "$hardcode_automatic"; then
     11493
     11494  # We can hardcode non-existent directories.
     11495  if test no != "$hardcode_direct" &&
     11496     # If the only mechanism to avoid hardcoding is shlibpath_var, we
     11497     # have to relink, otherwise we might link with an installed library
     11498     # when we should be linking with a yet-to-be-installed one
     11499     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
     11500     test no != "$hardcode_minus_L"; then
     11501    # Linking always hardcodes the temporary library directory.
     11502    hardcode_action=relink
     11503  else
     11504    # We can link without hardcoding, and we can hardcode nonexisting dirs.
     11505    hardcode_action=immediate
     11506  fi
     11507else
     11508  # We cannot hardcode anything, or else we can only hardcode existing
     11509  # directories.
     11510  hardcode_action=unsupported
     11511fi
     11512{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
     11513$as_echo "$hardcode_action" >&6; }
     11514
     11515if test relink = "$hardcode_action" ||
     11516   test yes = "$inherit_rpath"; then
     11517  # Fast installation is not supported
     11518  enable_fast_install=no
     11519elif test yes = "$shlibpath_overrides_runpath" ||
     11520     test no = "$enable_shared"; then
     11521  # Fast installation is not necessary
     11522  enable_fast_install=needless
     11523fi
     11524
     11525
     11526
     11527
     11528
     11529
     11530  if test yes != "$enable_dlopen"; then
     11531  enable_dlopen=unknown
     11532  enable_dlopen_self=unknown
     11533  enable_dlopen_self_static=unknown
     11534else
     11535  lt_cv_dlopen=no
     11536  lt_cv_dlopen_libs=
     11537
     11538  case $host_os in
     11539  beos*)
     11540    lt_cv_dlopen=load_add_on
     11541    lt_cv_dlopen_libs=
     11542    lt_cv_dlopen_self=yes
     11543    ;;
     11544
     11545  mingw* | pw32* | cegcc*)
     11546    lt_cv_dlopen=LoadLibrary
     11547    lt_cv_dlopen_libs=
     11548    ;;
     11549
     11550  cygwin*)
     11551    lt_cv_dlopen=dlopen
     11552    lt_cv_dlopen_libs=
     11553    ;;
     11554
     11555  darwin*)
     11556    # if libdl is installed we need to link against it
     11557    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
     11558$as_echo_n "checking for dlopen in -ldl... " >&6; }
     11559if ${ac_cv_lib_dl_dlopen+:} false; then :
     11560  $as_echo_n "(cached) " >&6
     11561else
     11562  ac_check_lib_save_LIBS=$LIBS
     11563LIBS="-ldl  $LIBS"
     11564cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     11565/* end confdefs.h.  */
     11566
     11567/* Override any GCC internal prototype to avoid an error.
     11568   Use char because int might match the return type of a GCC
     11569   builtin and then its argument prototype would still apply.  */
     11570#ifdef __cplusplus
     11571extern "C"
     11572#endif
     11573char dlopen ();
     11574int
     11575main ()
     11576{
     11577return dlopen ();
     11578  ;
     11579  return 0;
     11580}
     11581_ACEOF
     11582if ac_fn_c_try_link "$LINENO"; then :
     11583  ac_cv_lib_dl_dlopen=yes
     11584else
     11585  ac_cv_lib_dl_dlopen=no
     11586fi
     11587rm -f core conftest.err conftest.$ac_objext \
     11588    conftest$ac_exeext conftest.$ac_ext
     11589LIBS=$ac_check_lib_save_LIBS
     11590fi
     11591{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
     11592$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
     11593if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
     11594  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
     11595else
     11596
     11597    lt_cv_dlopen=dyld
     11598    lt_cv_dlopen_libs=
     11599    lt_cv_dlopen_self=yes
     11600
     11601fi
     11602
     11603    ;;
     11604
     11605  tpf*)
     11606    # Don't try to run any link tests for TPF.  We know it's impossible
     11607    # because TPF is a cross-compiler, and we know how we open DSOs.
     11608    lt_cv_dlopen=dlopen
     11609    lt_cv_dlopen_libs=
     11610    lt_cv_dlopen_self=no
     11611    ;;
     11612
     11613  *)
     11614    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
     11615if test "x$ac_cv_func_shl_load" = xyes; then :
     11616  lt_cv_dlopen=shl_load
     11617else
     11618  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
     11619$as_echo_n "checking for shl_load in -ldld... " >&6; }
     11620if ${ac_cv_lib_dld_shl_load+:} false; then :
     11621  $as_echo_n "(cached) " >&6
     11622else
     11623  ac_check_lib_save_LIBS=$LIBS
     11624LIBS="-ldld  $LIBS"
     11625cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     11626/* end confdefs.h.  */
     11627
     11628/* Override any GCC internal prototype to avoid an error.
     11629   Use char because int might match the return type of a GCC
     11630   builtin and then its argument prototype would still apply.  */
     11631#ifdef __cplusplus
     11632extern "C"
     11633#endif
     11634char shl_load ();
     11635int
     11636main ()
     11637{
     11638return shl_load ();
     11639  ;
     11640  return 0;
     11641}
     11642_ACEOF
     11643if ac_fn_c_try_link "$LINENO"; then :
     11644  ac_cv_lib_dld_shl_load=yes
     11645else
     11646  ac_cv_lib_dld_shl_load=no
     11647fi
     11648rm -f core conftest.err conftest.$ac_objext \
     11649    conftest$ac_exeext conftest.$ac_ext
     11650LIBS=$ac_check_lib_save_LIBS
     11651fi
     11652{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
     11653$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
     11654if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
     11655  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
     11656else
     11657  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
     11658if test "x$ac_cv_func_dlopen" = xyes; then :
     11659  lt_cv_dlopen=dlopen
     11660else
     11661  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
     11662$as_echo_n "checking for dlopen in -ldl... " >&6; }
     11663if ${ac_cv_lib_dl_dlopen+:} false; then :
     11664  $as_echo_n "(cached) " >&6
     11665else
     11666  ac_check_lib_save_LIBS=$LIBS
     11667LIBS="-ldl  $LIBS"
     11668cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     11669/* end confdefs.h.  */
     11670
     11671/* Override any GCC internal prototype to avoid an error.
     11672   Use char because int might match the return type of a GCC
     11673   builtin and then its argument prototype would still apply.  */
     11674#ifdef __cplusplus
     11675extern "C"
     11676#endif
     11677char dlopen ();
     11678int
     11679main ()
     11680{
     11681return dlopen ();
     11682  ;
     11683  return 0;
     11684}
     11685_ACEOF
     11686if ac_fn_c_try_link "$LINENO"; then :
     11687  ac_cv_lib_dl_dlopen=yes
     11688else
     11689  ac_cv_lib_dl_dlopen=no
     11690fi
     11691rm -f core conftest.err conftest.$ac_objext \
     11692    conftest$ac_exeext conftest.$ac_ext
     11693LIBS=$ac_check_lib_save_LIBS
     11694fi
     11695{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
     11696$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
     11697if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
     11698  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
     11699else
     11700  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
     11701$as_echo_n "checking for dlopen in -lsvld... " >&6; }
     11702if ${ac_cv_lib_svld_dlopen+:} false; then :
     11703  $as_echo_n "(cached) " >&6
     11704else
     11705  ac_check_lib_save_LIBS=$LIBS
     11706LIBS="-lsvld  $LIBS"
     11707cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     11708/* end confdefs.h.  */
     11709
     11710/* Override any GCC internal prototype to avoid an error.
     11711   Use char because int might match the return type of a GCC
     11712   builtin and then its argument prototype would still apply.  */
     11713#ifdef __cplusplus
     11714extern "C"
     11715#endif
     11716char dlopen ();
     11717int
     11718main ()
     11719{
     11720return dlopen ();
     11721  ;
     11722  return 0;
     11723}
     11724_ACEOF
     11725if ac_fn_c_try_link "$LINENO"; then :
     11726  ac_cv_lib_svld_dlopen=yes
     11727else
     11728  ac_cv_lib_svld_dlopen=no
     11729fi
     11730rm -f core conftest.err conftest.$ac_objext \
     11731    conftest$ac_exeext conftest.$ac_ext
     11732LIBS=$ac_check_lib_save_LIBS
     11733fi
     11734{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
     11735$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
     11736if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
     11737  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
     11738else
     11739  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
     11740$as_echo_n "checking for dld_link in -ldld... " >&6; }
     11741if ${ac_cv_lib_dld_dld_link+:} false; then :
     11742  $as_echo_n "(cached) " >&6
     11743else
     11744  ac_check_lib_save_LIBS=$LIBS
     11745LIBS="-ldld  $LIBS"
     11746cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     11747/* end confdefs.h.  */
     11748
     11749/* Override any GCC internal prototype to avoid an error.
     11750   Use char because int might match the return type of a GCC
     11751   builtin and then its argument prototype would still apply.  */
     11752#ifdef __cplusplus
     11753extern "C"
     11754#endif
     11755char dld_link ();
     11756int
     11757main ()
     11758{
     11759return dld_link ();
     11760  ;
     11761  return 0;
     11762}
     11763_ACEOF
     11764if ac_fn_c_try_link "$LINENO"; then :
     11765  ac_cv_lib_dld_dld_link=yes
     11766else
     11767  ac_cv_lib_dld_dld_link=no
     11768fi
     11769rm -f core conftest.err conftest.$ac_objext \
     11770    conftest$ac_exeext conftest.$ac_ext
     11771LIBS=$ac_check_lib_save_LIBS
     11772fi
     11773{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
     11774$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
     11775if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
     11776  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
     11777fi
     11778
     11779
     11780fi
     11781
     11782
     11783fi
     11784
     11785
     11786fi
     11787
     11788
     11789fi
     11790
     11791
     11792fi
     11793
     11794    ;;
     11795  esac
     11796
     11797  if test no = "$lt_cv_dlopen"; then
     11798    enable_dlopen=no
     11799  else
     11800    enable_dlopen=yes
     11801  fi
     11802
     11803  case $lt_cv_dlopen in
     11804  dlopen)
     11805    save_CPPFLAGS=$CPPFLAGS
     11806    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
     11807
     11808    save_LDFLAGS=$LDFLAGS
     11809    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
     11810
     11811    save_LIBS=$LIBS
     11812    LIBS="$lt_cv_dlopen_libs $LIBS"
     11813
     11814    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
     11815$as_echo_n "checking whether a program can dlopen itself... " >&6; }
     11816if ${lt_cv_dlopen_self+:} false; then :
     11817  $as_echo_n "(cached) " >&6
     11818else
     11819          if test yes = "$cross_compiling"; then :
     11820  lt_cv_dlopen_self=cross
     11821else
     11822  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
     11823  lt_status=$lt_dlunknown
     11824  cat > conftest.$ac_ext <<_LT_EOF
     11825#line $LINENO "configure"
     11826#include "confdefs.h"
     11827
     11828#if HAVE_DLFCN_H
     11829#include <dlfcn.h>
     11830#endif
     11831
     11832#include <stdio.h>
     11833
     11834#ifdef RTLD_GLOBAL
     11835#  define LT_DLGLOBAL           RTLD_GLOBAL
     11836#else
     11837#  ifdef DL_GLOBAL
     11838#    define LT_DLGLOBAL         DL_GLOBAL
     11839#  else
     11840#    define LT_DLGLOBAL         0
     11841#  endif
     11842#endif
     11843
     11844/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
     11845   find out it does not work in some platform. */
     11846#ifndef LT_DLLAZY_OR_NOW
     11847#  ifdef RTLD_LAZY
     11848#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
     11849#  else
     11850#    ifdef DL_LAZY
     11851#      define LT_DLLAZY_OR_NOW          DL_LAZY
     11852#    else
     11853#      ifdef RTLD_NOW
     11854#        define LT_DLLAZY_OR_NOW        RTLD_NOW
     11855#      else
     11856#        ifdef DL_NOW
     11857#          define LT_DLLAZY_OR_NOW      DL_NOW
     11858#        else
     11859#          define LT_DLLAZY_OR_NOW      0
     11860#        endif
     11861#      endif
     11862#    endif
     11863#  endif
     11864#endif
     11865
     11866/* When -fvisibility=hidden is used, assume the code has been annotated
     11867   correspondingly for the symbols needed.  */
     11868#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
     11869int fnord () __attribute__((visibility("default")));
     11870#endif
     11871
     11872int fnord () { return 42; }
     11873int main ()
     11874{
     11875  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
     11876  int status = $lt_dlunknown;
     11877
     11878  if (self)
     11879    {
     11880      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
     11881      else
     11882        {
     11883          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
     11884          else puts (dlerror ());
     11885        }
     11886      /* dlclose (self); */
     11887    }
     11888  else
     11889    puts (dlerror ());
     11890
     11891  return status;
     11892}
     11893_LT_EOF
     11894  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
     11895  (eval $ac_link) 2>&5
     11896  ac_status=$?
     11897  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     11898  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
     11899    (./conftest; exit; ) >&5 2>/dev/null
     11900    lt_status=$?
     11901    case x$lt_status in
     11902      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
     11903      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
     11904      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
     11905    esac
     11906  else :
     11907    # compilation failed
     11908    lt_cv_dlopen_self=no
     11909  fi
     11910fi
     11911rm -fr conftest*
     11912
     11913
     11914fi
     11915{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
     11916$as_echo "$lt_cv_dlopen_self" >&6; }
     11917
     11918    if test yes = "$lt_cv_dlopen_self"; then
     11919      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
     11920      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
     11921$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
     11922if ${lt_cv_dlopen_self_static+:} false; then :
     11923  $as_echo_n "(cached) " >&6
     11924else
     11925          if test yes = "$cross_compiling"; then :
     11926  lt_cv_dlopen_self_static=cross
     11927else
     11928  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
     11929  lt_status=$lt_dlunknown
     11930  cat > conftest.$ac_ext <<_LT_EOF
     11931#line $LINENO "configure"
     11932#include "confdefs.h"
     11933
     11934#if HAVE_DLFCN_H
     11935#include <dlfcn.h>
     11936#endif
     11937
     11938#include <stdio.h>
     11939
     11940#ifdef RTLD_GLOBAL
     11941#  define LT_DLGLOBAL           RTLD_GLOBAL
     11942#else
     11943#  ifdef DL_GLOBAL
     11944#    define LT_DLGLOBAL         DL_GLOBAL
     11945#  else
     11946#    define LT_DLGLOBAL         0
     11947#  endif
     11948#endif
     11949
     11950/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
     11951   find out it does not work in some platform. */
     11952#ifndef LT_DLLAZY_OR_NOW
     11953#  ifdef RTLD_LAZY
     11954#    define LT_DLLAZY_OR_NOW            RTLD_LAZY
     11955#  else
     11956#    ifdef DL_LAZY
     11957#      define LT_DLLAZY_OR_NOW          DL_LAZY
     11958#    else
     11959#      ifdef RTLD_NOW
     11960#        define LT_DLLAZY_OR_NOW        RTLD_NOW
     11961#      else
     11962#        ifdef DL_NOW
     11963#          define LT_DLLAZY_OR_NOW      DL_NOW
     11964#        else
     11965#          define LT_DLLAZY_OR_NOW      0
     11966#        endif
     11967#      endif
     11968#    endif
     11969#  endif
     11970#endif
     11971
     11972/* When -fvisibility=hidden is used, assume the code has been annotated
     11973   correspondingly for the symbols needed.  */
     11974#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
     11975int fnord () __attribute__((visibility("default")));
     11976#endif
     11977
     11978int fnord () { return 42; }
     11979int main ()
     11980{
     11981  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
     11982  int status = $lt_dlunknown;
     11983
     11984  if (self)
     11985    {
     11986      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
     11987      else
     11988        {
     11989          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
     11990          else puts (dlerror ());
     11991        }
     11992      /* dlclose (self); */
     11993    }
     11994  else
     11995    puts (dlerror ());
     11996
     11997  return status;
     11998}
     11999_LT_EOF
     12000  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
     12001  (eval $ac_link) 2>&5
     12002  ac_status=$?
     12003  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     12004  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
     12005    (./conftest; exit; ) >&5 2>/dev/null
     12006    lt_status=$?
     12007    case x$lt_status in
     12008      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
     12009      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
     12010      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
     12011    esac
     12012  else :
     12013    # compilation failed
     12014    lt_cv_dlopen_self_static=no
     12015  fi
     12016fi
     12017rm -fr conftest*
     12018
     12019
     12020fi
     12021{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
     12022$as_echo "$lt_cv_dlopen_self_static" >&6; }
     12023    fi
     12024
     12025    CPPFLAGS=$save_CPPFLAGS
     12026    LDFLAGS=$save_LDFLAGS
     12027    LIBS=$save_LIBS
     12028    ;;
     12029  esac
     12030
     12031  case $lt_cv_dlopen_self in
     12032  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
     12033  *) enable_dlopen_self=unknown ;;
     12034  esac
     12035
     12036  case $lt_cv_dlopen_self_static in
     12037  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
     12038  *) enable_dlopen_self_static=unknown ;;
     12039  esac
     12040fi
     12041
     12042
     12043
     12044
     12045
     12046
     12047
     12048
     12049
     12050
     12051
     12052
     12053
     12054
     12055
     12056
     12057
     12058striplib=
     12059old_striplib=
     12060{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
     12061$as_echo_n "checking whether stripping libraries is possible... " >&6; }
     12062if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
     12063  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
     12064  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
     12065  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     12066$as_echo "yes" >&6; }
     12067else
     12068# FIXME - insert some real tests, host_os isn't really good enough
     12069  case $host_os in
     12070  darwin*)
     12071    if test -n "$STRIP"; then
     12072      striplib="$STRIP -x"
     12073      old_striplib="$STRIP -S"
     12074      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     12075$as_echo "yes" >&6; }
     12076    else
     12077      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     12078$as_echo "no" >&6; }
     12079    fi
     12080    ;;
     12081  *)
     12082    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     12083$as_echo "no" >&6; }
     12084    ;;
     12085  esac
     12086fi
     12087
     12088
     12089
     12090
     12091
     12092
     12093
     12094
     12095
     12096
     12097
     12098
     12099  # Report what library types will actually be built
     12100  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
     12101$as_echo_n "checking if libtool supports shared libraries... " >&6; }
     12102  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
     12103$as_echo "$can_build_shared" >&6; }
     12104
     12105  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
     12106$as_echo_n "checking whether to build shared libraries... " >&6; }
     12107  test no = "$can_build_shared" && enable_shared=no
     12108
     12109  # On AIX, shared libraries and static libraries use the same namespace, and
     12110  # are all built from PIC.
     12111  case $host_os in
     12112  aix3*)
     12113    test yes = "$enable_shared" && enable_static=no
     12114    if test -n "$RANLIB"; then
     12115      archive_cmds="$archive_cmds~\$RANLIB \$lib"
     12116      postinstall_cmds='$RANLIB $lib'
     12117    fi
     12118    ;;
     12119
     12120  aix[4-9]*)
     12121    if test ia64 != "$host_cpu"; then
     12122      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
     12123      yes,aix,yes) ;;                   # shared object as lib.so file only
     12124      yes,svr4,*) ;;                    # shared object as lib.so archive member only
     12125      yes,*) enable_static=no ;;        # shared object in lib.a archive as well
     12126      esac
     12127    fi
     12128    ;;
     12129  esac
     12130  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
     12131$as_echo "$enable_shared" >&6; }
     12132
     12133  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
     12134$as_echo_n "checking whether to build static libraries... " >&6; }
     12135  # Make sure either enable_shared or enable_static is yes.
     12136  test yes = "$enable_shared" || enable_static=yes
     12137  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
     12138$as_echo "$enable_static" >&6; }
     12139
     12140
     12141
     12142
     12143fi
     12144ac_ext=c
     12145ac_cpp='$CPP $CPPFLAGS'
     12146ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     12147ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     12148ac_compiler_gnu=$ac_cv_c_compiler_gnu
     12149
     12150CC=$lt_save_CC
     12151
     12152
     12153
     12154
     12155
     12156
     12157
     12158
     12159
     12160
     12161
     12162
     12163
     12164
     12165
     12166        ac_config_commands="$ac_config_commands libtool"
     12167
     12168
     12169
     12170
     12171# Only expand once:
     12172
     12173
     12174
     12175ac_ext=cpp
     12176ac_cpp='$CXXCPP $CPPFLAGS'
     12177ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     12178ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     12179ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     12180if test -z "$CXX"; then
     12181  if test -n "$CCC"; then
     12182    CXX=$CCC
     12183  else
     12184    if test -n "$ac_tool_prefix"; then
     12185  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
     12186  do
     12187    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     12188set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     12189{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     12190$as_echo_n "checking for $ac_word... " >&6; }
     12191if ${ac_cv_prog_CXX+:} false; then :
     12192  $as_echo_n "(cached) " >&6
     12193else
     12194  if test -n "$CXX"; then
     12195  ac_cv_prog_CXX="$CXX" # Let the user override the test.
     12196else
     12197as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     12198for as_dir in $PATH
     12199do
     12200  IFS=$as_save_IFS
     12201  test -z "$as_dir" && as_dir=.
     12202    for ac_exec_ext in '' $ac_executable_extensions; do
     12203  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     12204    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
     12205    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     12206    break 2
     12207  fi
     12208done
     12209  done
     12210IFS=$as_save_IFS
     12211
     12212fi
     12213fi
     12214CXX=$ac_cv_prog_CXX
     12215if test -n "$CXX"; then
     12216  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
     12217$as_echo "$CXX" >&6; }
     12218else
     12219  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     12220$as_echo "no" >&6; }
     12221fi
     12222
     12223
     12224    test -n "$CXX" && break
     12225  done
     12226fi
     12227if test -z "$CXX"; then
     12228  ac_ct_CXX=$CXX
     12229  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
     12230do
     12231  # Extract the first word of "$ac_prog", so it can be a program name with args.
     12232set dummy $ac_prog; ac_word=$2
     12233{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     12234$as_echo_n "checking for $ac_word... " >&6; }
     12235if ${ac_cv_prog_ac_ct_CXX+:} false; then :
     12236  $as_echo_n "(cached) " >&6
     12237else
     12238  if test -n "$ac_ct_CXX"; then
     12239  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
     12240else
     12241as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     12242for as_dir in $PATH
     12243do
     12244  IFS=$as_save_IFS
     12245  test -z "$as_dir" && as_dir=.
     12246    for ac_exec_ext in '' $ac_executable_extensions; do
     12247  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     12248    ac_cv_prog_ac_ct_CXX="$ac_prog"
     12249    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     12250    break 2
     12251  fi
     12252done
     12253  done
     12254IFS=$as_save_IFS
     12255
     12256fi
     12257fi
     12258ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
     12259if test -n "$ac_ct_CXX"; then
     12260  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
     12261$as_echo "$ac_ct_CXX" >&6; }
     12262else
     12263  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     12264$as_echo "no" >&6; }
     12265fi
     12266
     12267
     12268  test -n "$ac_ct_CXX" && break
     12269done
     12270
     12271  if test "x$ac_ct_CXX" = x; then
     12272    CXX="g++"
     12273  else
     12274    case $cross_compiling:$ac_tool_warned in
     12275yes:)
     12276{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     12277$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     12278ac_tool_warned=yes ;;
     12279esac
     12280    CXX=$ac_ct_CXX
     12281  fi
     12282fi
     12283
     12284  fi
     12285fi
     12286# Provide some information about the compiler.
     12287$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
     12288set X $ac_compile
     12289ac_compiler=$2
     12290for ac_option in --version -v -V -qversion; do
     12291  { { ac_try="$ac_compiler $ac_option >&5"
     12292case "(($ac_try" in
     12293  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     12294  *) ac_try_echo=$ac_try;;
     12295esac
     12296eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     12297$as_echo "$ac_try_echo"; } >&5
     12298  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
     12299  ac_status=$?
     12300  if test -s conftest.err; then
     12301    sed '10a\
     12302... rest of stderr output deleted ...
     12303         10q' conftest.err >conftest.er1
     12304    cat conftest.er1 >&5
     12305  fi
     12306  rm -f conftest.er1 conftest.err
     12307  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     12308  test $ac_status = 0; }
     12309done
     12310
    301912311{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
    302012312$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
     
    313712429ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    313812430ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3139 DEPDIR="${am__leading_dot}deps"
    3140 
    3141 ac_config_commands="$ac_config_commands depfiles"
    3142 
    3143 
    3144 am_make=${MAKE-make}
    3145 cat > confinc << 'END'
    3146 am__doit:
    3147         @echo this is the am__doit target
    3148 .PHONY: am__doit
    3149 END
    3150 # If we don't find an include directive, just comment out the code.
    3151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
    3152 $as_echo_n "checking for style of include used by $am_make... " >&6; }
    3153 am__include="#"
    3154 am__quote=
    3155 _am_result=none
    3156 # First try GNU make style include.
    3157 echo "include confinc" > confmf
    3158 # Ignore all kinds of additional output from 'make'.
    3159 case `$am_make -s -f confmf 2> /dev/null` in #(
    3160 *the\ am__doit\ target*)
    3161   am__include=include
    3162   am__quote=
    3163   _am_result=GNU
    3164   ;;
    3165 esac
    3166 # Now try BSD make style include.
    3167 if test "$am__include" = "#"; then
    3168    echo '.include "confinc"' > confmf
    3169    case `$am_make -s -f confmf 2> /dev/null` in #(
    3170    *the\ am__doit\ target*)
    3171      am__include=.include
    3172      am__quote="\""
    3173      _am_result=BSD
    3174      ;;
    3175    esac
    3176 fi
    3177 
    3178 
    3179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
    3180 $as_echo "$_am_result" >&6; }
    3181 rm -f confinc confmf
    3182 
    3183 # Check whether --enable-dependency-tracking was given.
    3184 if test "${enable_dependency_tracking+set}" = set; then :
    3185   enableval=$enable_dependency_tracking;
    3186 fi
    3187 
    3188 if test "x$enable_dependency_tracking" != xno; then
    3189   am_depcomp="$ac_aux_dir/depcomp"
    3190   AMDEPBACKSLASH='\'
    3191   am__nodep='_no'
    3192 fi
    3193  if test "x$enable_dependency_tracking" != xno; then
    3194   AMDEP_TRUE=
    3195   AMDEP_FALSE='#'
    3196 else
    3197   AMDEP_TRUE='#'
    3198   AMDEP_FALSE=
    3199 fi
    3200 
    3201 
    320212431
    320312432depcc="$CXX"  am_compiler_list=
     
    332912558
    333012559
     12560
     12561
     12562func_stripname_cnf ()
     12563{
     12564  case $2 in
     12565  .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
     12566  *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
     12567  esac
     12568} # func_stripname_cnf
     12569
     12570      if test -n "$CXX" && ( test no != "$CXX" &&
     12571    ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
     12572    (test g++ != "$CXX"))); then
     12573  ac_ext=cpp
     12574ac_cpp='$CXXCPP $CPPFLAGS'
     12575ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     12576ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     12577ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     12578{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
     12579$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
     12580if test -z "$CXXCPP"; then
     12581  if ${ac_cv_prog_CXXCPP+:} false; then :
     12582  $as_echo_n "(cached) " >&6
     12583else
     12584      # Double quotes because CXXCPP needs to be expanded
     12585    for CXXCPP in "$CXX -E" "/lib/cpp"
     12586    do
     12587      ac_preproc_ok=false
     12588for ac_cxx_preproc_warn_flag in '' yes
     12589do
     12590  # Use a header file that comes with gcc, so configuring glibc
     12591  # with a fresh cross-compiler works.
     12592  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     12593  # <limits.h> exists even on freestanding compilers.
     12594  # On the NeXT, cc -E runs the code through the compiler's parser,
     12595  # not just through cpp. "Syntax error" is here to catch this case.
     12596  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     12597/* end confdefs.h.  */
     12598#ifdef __STDC__
     12599# include <limits.h>
     12600#else
     12601# include <assert.h>
     12602#endif
     12603                     Syntax error
     12604_ACEOF
     12605if ac_fn_cxx_try_cpp "$LINENO"; then :
     12606
     12607else
     12608  # Broken: fails on valid input.
     12609continue
     12610fi
     12611rm -f conftest.err conftest.i conftest.$ac_ext
     12612
     12613  # OK, works on sane cases.  Now check whether nonexistent headers
     12614  # can be detected and how.
     12615  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     12616/* end confdefs.h.  */
     12617#include <ac_nonexistent.h>
     12618_ACEOF
     12619if ac_fn_cxx_try_cpp "$LINENO"; then :
     12620  # Broken: success on invalid input.
     12621continue
     12622else
     12623  # Passes both tests.
     12624ac_preproc_ok=:
     12625break
     12626fi
     12627rm -f conftest.err conftest.i conftest.$ac_ext
     12628
     12629done
     12630# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     12631rm -f conftest.i conftest.err conftest.$ac_ext
     12632if $ac_preproc_ok; then :
     12633  break
     12634fi
     12635
     12636    done
     12637    ac_cv_prog_CXXCPP=$CXXCPP
     12638
     12639fi
     12640  CXXCPP=$ac_cv_prog_CXXCPP
     12641else
     12642  ac_cv_prog_CXXCPP=$CXXCPP
     12643fi
     12644{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
     12645$as_echo "$CXXCPP" >&6; }
     12646ac_preproc_ok=false
     12647for ac_cxx_preproc_warn_flag in '' yes
     12648do
     12649  # Use a header file that comes with gcc, so configuring glibc
     12650  # with a fresh cross-compiler works.
     12651  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     12652  # <limits.h> exists even on freestanding compilers.
     12653  # On the NeXT, cc -E runs the code through the compiler's parser,
     12654  # not just through cpp. "Syntax error" is here to catch this case.
     12655  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     12656/* end confdefs.h.  */
     12657#ifdef __STDC__
     12658# include <limits.h>
     12659#else
     12660# include <assert.h>
     12661#endif
     12662                     Syntax error
     12663_ACEOF
     12664if ac_fn_cxx_try_cpp "$LINENO"; then :
     12665
     12666else
     12667  # Broken: fails on valid input.
     12668continue
     12669fi
     12670rm -f conftest.err conftest.i conftest.$ac_ext
     12671
     12672  # OK, works on sane cases.  Now check whether nonexistent headers
     12673  # can be detected and how.
     12674  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     12675/* end confdefs.h.  */
     12676#include <ac_nonexistent.h>
     12677_ACEOF
     12678if ac_fn_cxx_try_cpp "$LINENO"; then :
     12679  # Broken: success on invalid input.
     12680continue
     12681else
     12682  # Passes both tests.
     12683ac_preproc_ok=:
     12684break
     12685fi
     12686rm -f conftest.err conftest.i conftest.$ac_ext
     12687
     12688done
     12689# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
     12690rm -f conftest.i conftest.err conftest.$ac_ext
     12691if $ac_preproc_ok; then :
     12692
     12693else
     12694  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     12695$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     12696as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
     12697See \`config.log' for more details" "$LINENO" 5; }
     12698fi
     12699
     12700ac_ext=c
     12701ac_cpp='$CPP $CPPFLAGS'
     12702ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     12703ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     12704ac_compiler_gnu=$ac_cv_c_compiler_gnu
     12705
     12706else
     12707  _lt_caught_CXX_error=yes
     12708fi
     12709
     12710ac_ext=cpp
     12711ac_cpp='$CXXCPP $CPPFLAGS'
     12712ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     12713ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     12714ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     12715
     12716archive_cmds_need_lc_CXX=no
     12717allow_undefined_flag_CXX=
     12718always_export_symbols_CXX=no
     12719archive_expsym_cmds_CXX=
     12720compiler_needs_object_CXX=no
     12721export_dynamic_flag_spec_CXX=
     12722hardcode_direct_CXX=no
     12723hardcode_direct_absolute_CXX=no
     12724hardcode_libdir_flag_spec_CXX=
     12725hardcode_libdir_separator_CXX=
     12726hardcode_minus_L_CXX=no
     12727hardcode_shlibpath_var_CXX=unsupported
     12728hardcode_automatic_CXX=no
     12729inherit_rpath_CXX=no
     12730module_cmds_CXX=
     12731module_expsym_cmds_CXX=
     12732link_all_deplibs_CXX=unknown
     12733old_archive_cmds_CXX=$old_archive_cmds
     12734reload_flag_CXX=$reload_flag
     12735reload_cmds_CXX=$reload_cmds
     12736no_undefined_flag_CXX=
     12737whole_archive_flag_spec_CXX=
     12738enable_shared_with_static_runtimes_CXX=no
     12739
     12740# Source file extension for C++ test sources.
     12741ac_ext=cpp
     12742
     12743# Object file extension for compiled C++ test sources.
     12744objext=o
     12745objext_CXX=$objext
     12746
     12747# No sense in running all these tests if we already determined that
     12748# the CXX compiler isn't working.  Some variables (like enable_shared)
     12749# are currently assumed to apply to all compilers on this platform,
     12750# and will be corrupted by setting them based on a non-working compiler.
     12751if test yes != "$_lt_caught_CXX_error"; then
     12752  # Code to be used in simple compile tests
     12753  lt_simple_compile_test_code="int some_variable = 0;"
     12754
     12755  # Code to be used in simple link tests
     12756  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
     12757
     12758  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
     12759
     12760
     12761
     12762
     12763
     12764
     12765# If no C compiler was specified, use CC.
     12766LTCC=${LTCC-"$CC"}
     12767
     12768# If no C compiler flags were specified, use CFLAGS.
     12769LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
     12770
     12771# Allow CC to be a program name with arguments.
     12772compiler=$CC
     12773
     12774
     12775  # save warnings/boilerplate of simple test code
     12776  ac_outfile=conftest.$ac_objext
     12777echo "$lt_simple_compile_test_code" >conftest.$ac_ext
     12778eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
     12779_lt_compiler_boilerplate=`cat conftest.err`
     12780$RM conftest*
     12781
     12782  ac_outfile=conftest.$ac_objext
     12783echo "$lt_simple_link_test_code" >conftest.$ac_ext
     12784eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
     12785_lt_linker_boilerplate=`cat conftest.err`
     12786$RM -r conftest*
     12787
     12788
     12789  # Allow CC to be a program name with arguments.
     12790  lt_save_CC=$CC
     12791  lt_save_CFLAGS=$CFLAGS
     12792  lt_save_LD=$LD
     12793  lt_save_GCC=$GCC
     12794  GCC=$GXX
     12795  lt_save_with_gnu_ld=$with_gnu_ld
     12796  lt_save_path_LD=$lt_cv_path_LD
     12797  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
     12798    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
     12799  else
     12800    $as_unset lt_cv_prog_gnu_ld
     12801  fi
     12802  if test -n "${lt_cv_path_LDCXX+set}"; then
     12803    lt_cv_path_LD=$lt_cv_path_LDCXX
     12804  else
     12805    $as_unset lt_cv_path_LD
     12806  fi
     12807  test -z "${LDCXX+set}" || LD=$LDCXX
     12808  CC=${CXX-"c++"}
     12809  CFLAGS=$CXXFLAGS
     12810  compiler=$CC
     12811  compiler_CXX=$CC
     12812  func_cc_basename $compiler
     12813cc_basename=$func_cc_basename_result
     12814
     12815
     12816  if test -n "$compiler"; then
     12817    # We don't want -fno-exception when compiling C++ code, so set the
     12818    # no_builtin_flag separately
     12819    if test yes = "$GXX"; then
     12820      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
     12821    else
     12822      lt_prog_compiler_no_builtin_flag_CXX=
     12823    fi
     12824
     12825    if test yes = "$GXX"; then
     12826      # Set up default GNU C++ configuration
     12827
     12828
     12829
     12830# Check whether --with-gnu-ld was given.
     12831if test "${with_gnu_ld+set}" = set; then :
     12832  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
     12833else
     12834  with_gnu_ld=no
     12835fi
     12836
     12837ac_prog=ld
     12838if test yes = "$GCC"; then
     12839  # Check if gcc -print-prog-name=ld gives a path.
     12840  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
     12841$as_echo_n "checking for ld used by $CC... " >&6; }
     12842  case $host in
     12843  *-*-mingw*)
     12844    # gcc leaves a trailing carriage return, which upsets mingw
     12845    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
     12846  *)
     12847    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
     12848  esac
     12849  case $ac_prog in
     12850    # Accept absolute paths.
     12851    [\\/]* | ?:[\\/]*)
     12852      re_direlt='/[^/][^/]*/\.\./'
     12853      # Canonicalize the pathname of ld
     12854      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
     12855      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
     12856        ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
     12857      done
     12858      test -z "$LD" && LD=$ac_prog
     12859      ;;
     12860  "")
     12861    # If it fails, then pretend we aren't using GCC.
     12862    ac_prog=ld
     12863    ;;
     12864  *)
     12865    # If it is relative, then search for the first ld in PATH.
     12866    with_gnu_ld=unknown
     12867    ;;
     12868  esac
     12869elif test yes = "$with_gnu_ld"; then
     12870  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
     12871$as_echo_n "checking for GNU ld... " >&6; }
     12872else
     12873  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
     12874$as_echo_n "checking for non-GNU ld... " >&6; }
     12875fi
     12876if ${lt_cv_path_LD+:} false; then :
     12877  $as_echo_n "(cached) " >&6
     12878else
     12879  if test -z "$LD"; then
     12880  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
     12881  for ac_dir in $PATH; do
     12882    IFS=$lt_save_ifs
     12883    test -z "$ac_dir" && ac_dir=.
     12884    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
     12885      lt_cv_path_LD=$ac_dir/$ac_prog
     12886      # Check to see if the program is GNU ld.  I'd rather use --version,
     12887      # but apparently some variants of GNU ld only accept -v.
     12888      # Break only if it was the GNU/non-GNU ld that we prefer.
     12889      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
     12890      *GNU* | *'with BFD'*)
     12891        test no != "$with_gnu_ld" && break
     12892        ;;
     12893      *)
     12894        test yes != "$with_gnu_ld" && break
     12895        ;;
     12896      esac
     12897    fi
     12898  done
     12899  IFS=$lt_save_ifs
     12900else
     12901  lt_cv_path_LD=$LD # Let the user override the test with a path.
     12902fi
     12903fi
     12904
     12905LD=$lt_cv_path_LD
     12906if test -n "$LD"; then
     12907  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
     12908$as_echo "$LD" >&6; }
     12909else
     12910  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     12911$as_echo "no" >&6; }
     12912fi
     12913test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
     12914{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
     12915$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
     12916if ${lt_cv_prog_gnu_ld+:} false; then :
     12917  $as_echo_n "(cached) " >&6
     12918else
     12919  # I'd rather use --version here, but apparently some GNU lds only accept -v.
     12920case `$LD -v 2>&1 </dev/null` in
     12921*GNU* | *'with BFD'*)
     12922  lt_cv_prog_gnu_ld=yes
     12923  ;;
     12924*)
     12925  lt_cv_prog_gnu_ld=no
     12926  ;;
     12927esac
     12928fi
     12929{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
     12930$as_echo "$lt_cv_prog_gnu_ld" >&6; }
     12931with_gnu_ld=$lt_cv_prog_gnu_ld
     12932
     12933
     12934
     12935
     12936
     12937
     12938
     12939      # Check if GNU C++ uses GNU ld as the underlying linker, since the
     12940      # archiving commands below assume that GNU ld is being used.
     12941      if test yes = "$with_gnu_ld"; then
     12942        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
     12943        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'
     12944
     12945        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
     12946        export_dynamic_flag_spec_CXX='$wl--export-dynamic'
     12947
     12948        # If archive_cmds runs LD, not CC, wlarc should be empty
     12949        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
     12950        #     investigate it a little bit more. (MM)
     12951        wlarc='$wl'
     12952
     12953        # ancient GNU ld didn't support --whole-archive et. al.
     12954        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
     12955          $GREP 'no-whole-archive' > /dev/null; then
     12956          whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
     12957        else
     12958          whole_archive_flag_spec_CXX=
     12959        fi
     12960      else
     12961        with_gnu_ld=no
     12962        wlarc=
     12963
     12964        # A generic and very simple default shared library creation
     12965        # command for GNU C++ for the case where it uses the native
     12966        # linker, instead of GNU ld.  If possible, this setting should
     12967        # overridden to take advantage of the native linker features on
     12968        # the platform it is being used on.
     12969        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
     12970      fi
     12971
     12972      # Commands to make compiler produce verbose output that lists
     12973      # what "hidden" libraries, object files and flags are used when
     12974      # linking a shared library.
     12975      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
     12976
     12977    else
     12978      GXX=no
     12979      with_gnu_ld=no
     12980      wlarc=
     12981    fi
     12982
     12983    # PORTME: fill in a description of your system's C++ link characteristics
     12984    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
     12985$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
     12986    ld_shlibs_CXX=yes
     12987    case $host_os in
     12988      aix3*)
     12989        # FIXME: insert proper C++ library support
     12990        ld_shlibs_CXX=no
     12991        ;;
     12992      aix[4-9]*)
     12993        if test ia64 = "$host_cpu"; then
     12994          # On IA64, the linker does run time linking by default, so we don't
     12995          # have to do anything special.
     12996          aix_use_runtimelinking=no
     12997          exp_sym_flag='-Bexport'
     12998          no_entry_flag=
     12999        else
     13000          aix_use_runtimelinking=no
     13001
     13002          # Test if we are trying to use run time linking or normal
     13003          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
     13004          # have runtime linking enabled, and use it for executables.
     13005          # For shared libraries, we enable/disable runtime linking
     13006          # depending on the kind of the shared library created -
     13007          # when "with_aix_soname,aix_use_runtimelinking" is:
     13008          # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
     13009          # "aix,yes"  lib.so          shared, rtl:yes, for executables
     13010          #            lib.a           static archive
     13011          # "both,no"  lib.so.V(shr.o) shared, rtl:yes
     13012          #            lib.a(lib.so.V) shared, rtl:no,  for executables
     13013          # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
     13014          #            lib.a(lib.so.V) shared, rtl:no
     13015          # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
     13016          #            lib.a           static archive
     13017          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
     13018            for ld_flag in $LDFLAGS; do
     13019              case $ld_flag in
     13020              *-brtl*)
     13021                aix_use_runtimelinking=yes
     13022                break
     13023                ;;
     13024              esac
     13025            done
     13026            if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
     13027              # With aix-soname=svr4, we create the lib.so.V shared archives only,
     13028              # so we don't have lib.a shared libs to link our executables.
     13029              # We have to force runtime linking in this case.
     13030              aix_use_runtimelinking=yes
     13031              LDFLAGS="$LDFLAGS -Wl,-brtl"
     13032            fi
     13033            ;;
     13034          esac
     13035
     13036          exp_sym_flag='-bexport'
     13037          no_entry_flag='-bnoentry'
     13038        fi
     13039
     13040        # When large executables or shared objects are built, AIX ld can
     13041        # have problems creating the table of contents.  If linking a library
     13042        # or program results in "error TOC overflow" add -mminimal-toc to
     13043        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
     13044        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
     13045
     13046        archive_cmds_CXX=''
     13047        hardcode_direct_CXX=yes
     13048        hardcode_direct_absolute_CXX=yes
     13049        hardcode_libdir_separator_CXX=':'
     13050        link_all_deplibs_CXX=yes
     13051        file_list_spec_CXX='$wl-f,'
     13052        case $with_aix_soname,$aix_use_runtimelinking in
     13053        aix,*) ;;       # no import file
     13054        svr4,* | *,yes) # use import file
     13055          # The Import File defines what to hardcode.
     13056          hardcode_direct_CXX=no
     13057          hardcode_direct_absolute_CXX=no
     13058          ;;
     13059        esac
     13060
     13061        if test yes = "$GXX"; then
     13062          case $host_os in aix4.[012]|aix4.[012].*)
     13063          # We only want to do this on AIX 4.2 and lower, the check
     13064          # below for broken collect2 doesn't work under 4.3+
     13065          collect2name=`$CC -print-prog-name=collect2`
     13066          if test -f "$collect2name" &&
     13067             strings "$collect2name" | $GREP resolve_lib_name >/dev/null
     13068          then
     13069            # We have reworked collect2
     13070            :
     13071          else
     13072            # We have old collect2
     13073            hardcode_direct_CXX=unsupported
     13074            # It fails to find uninstalled libraries when the uninstalled
     13075            # path is not listed in the libpath.  Setting hardcode_minus_L
     13076            # to unsupported forces relinking
     13077            hardcode_minus_L_CXX=yes
     13078            hardcode_libdir_flag_spec_CXX='-L$libdir'
     13079            hardcode_libdir_separator_CXX=
     13080          fi
     13081          esac
     13082          shared_flag='-shared'
     13083          if test yes = "$aix_use_runtimelinking"; then
     13084            shared_flag=$shared_flag' $wl-G'
     13085          fi
     13086          # Need to ensure runtime linking is disabled for the traditional
     13087          # shared library, or the linker may eventually find shared libraries
     13088          # /with/ Import File - we do not want to mix them.
     13089          shared_flag_aix='-shared'
     13090          shared_flag_svr4='-shared $wl-G'
     13091        else
     13092          # not using gcc
     13093          if test ia64 = "$host_cpu"; then
     13094          # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
     13095          # chokes on -Wl,-G. The following line is correct:
     13096          shared_flag='-G'
     13097          else
     13098            if test yes = "$aix_use_runtimelinking"; then
     13099              shared_flag='$wl-G'
     13100            else
     13101              shared_flag='$wl-bM:SRE'
     13102            fi
     13103            shared_flag_aix='$wl-bM:SRE'
     13104            shared_flag_svr4='$wl-G'
     13105          fi
     13106        fi
     13107
     13108        export_dynamic_flag_spec_CXX='$wl-bexpall'
     13109        # It seems that -bexpall does not export symbols beginning with
     13110        # underscore (_), so it is better to generate a list of symbols to
     13111        # export.
     13112        always_export_symbols_CXX=yes
     13113        if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
     13114          # Warning - without using the other runtime loading flags (-brtl),
     13115          # -berok will link without error, but may produce a broken library.
     13116          # The "-G" linker flag allows undefined symbols.
     13117          no_undefined_flag_CXX='-bernotok'
     13118          # Determine the default libpath from the value encoded in an empty
     13119          # executable.
     13120          if test set = "${lt_cv_aix_libpath+set}"; then
     13121  aix_libpath=$lt_cv_aix_libpath
     13122else
     13123  if ${lt_cv_aix_libpath__CXX+:} false; then :
     13124  $as_echo_n "(cached) " >&6
     13125else
     13126  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     13127/* end confdefs.h.  */
     13128
     13129int
     13130main ()
     13131{
     13132
     13133  ;
     13134  return 0;
     13135}
     13136_ACEOF
     13137if ac_fn_cxx_try_link "$LINENO"; then :
     13138
     13139  lt_aix_libpath_sed='
     13140      /Import File Strings/,/^$/ {
     13141          /^0/ {
     13142              s/^0  *\([^ ]*\) *$/\1/
     13143              p
     13144          }
     13145      }'
     13146  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
     13147  # Check for a 64-bit object if we didn't find anything.
     13148  if test -z "$lt_cv_aix_libpath__CXX"; then
     13149    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
     13150  fi
     13151fi
     13152rm -f core conftest.err conftest.$ac_objext \
     13153    conftest$ac_exeext conftest.$ac_ext
     13154  if test -z "$lt_cv_aix_libpath__CXX"; then
     13155    lt_cv_aix_libpath__CXX=/usr/lib:/lib
     13156  fi
     13157
     13158fi
     13159
     13160  aix_libpath=$lt_cv_aix_libpath__CXX
     13161fi
     13162
     13163          hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
     13164
     13165          archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
     13166        else
     13167          if test ia64 = "$host_cpu"; then
     13168            hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
     13169            allow_undefined_flag_CXX="-z nodefs"
     13170            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"
     13171          else
     13172            # Determine the default libpath from the value encoded in an
     13173            # empty executable.
     13174            if test set = "${lt_cv_aix_libpath+set}"; then
     13175  aix_libpath=$lt_cv_aix_libpath
     13176else
     13177  if ${lt_cv_aix_libpath__CXX+:} false; then :
     13178  $as_echo_n "(cached) " >&6
     13179else
     13180  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     13181/* end confdefs.h.  */
     13182
     13183int
     13184main ()
     13185{
     13186
     13187  ;
     13188  return 0;
     13189}
     13190_ACEOF
     13191if ac_fn_cxx_try_link "$LINENO"; then :
     13192
     13193  lt_aix_libpath_sed='
     13194      /Import File Strings/,/^$/ {
     13195          /^0/ {
     13196              s/^0  *\([^ ]*\) *$/\1/
     13197              p
     13198          }
     13199      }'
     13200  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
     13201  # Check for a 64-bit object if we didn't find anything.
     13202  if test -z "$lt_cv_aix_libpath__CXX"; then
     13203    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
     13204  fi
     13205fi
     13206rm -f core conftest.err conftest.$ac_objext \
     13207    conftest$ac_exeext conftest.$ac_ext
     13208  if test -z "$lt_cv_aix_libpath__CXX"; then
     13209    lt_cv_aix_libpath__CXX=/usr/lib:/lib
     13210  fi
     13211
     13212fi
     13213
     13214  aix_libpath=$lt_cv_aix_libpath__CXX
     13215fi
     13216
     13217            hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
     13218            # Warning - without using the other run time loading flags,
     13219            # -berok will link without error, but may produce a broken library.
     13220            no_undefined_flag_CXX=' $wl-bernotok'
     13221            allow_undefined_flag_CXX=' $wl-berok'
     13222            if test yes = "$with_gnu_ld"; then
     13223              # We only use this code for GNU lds that support --whole-archive.
     13224              whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
     13225            else
     13226              # Exported symbols can be pulled into shared objects from archives
     13227              whole_archive_flag_spec_CXX='$convenience'
     13228            fi
     13229            archive_cmds_need_lc_CXX=yes
     13230            archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
     13231            # -brtl affects multiple linker settings, -berok does not and is overridden later
     13232            compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
     13233            if test svr4 != "$with_aix_soname"; then
     13234              # This is similar to how AIX traditionally builds its shared
     13235              # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
     13236              archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
     13237            fi
     13238            if test aix != "$with_aix_soname"; then
     13239              archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
     13240            else
     13241              # used by -dlpreopen to get the symbols
     13242              archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
     13243            fi
     13244            archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
     13245          fi
     13246        fi
     13247        ;;
     13248
     13249      beos*)
     13250        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
     13251          allow_undefined_flag_CXX=unsupported
     13252          # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
     13253          # support --undefined.  This deserves some investigation.  FIXME
     13254          archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     13255        else
     13256          ld_shlibs_CXX=no
     13257        fi
     13258        ;;
     13259
     13260      chorus*)
     13261        case $cc_basename in
     13262          *)
     13263          # FIXME: insert proper C++ library support
     13264          ld_shlibs_CXX=no
     13265          ;;
     13266        esac
     13267        ;;
     13268
     13269      cygwin* | mingw* | pw32* | cegcc*)
     13270        case $GXX,$cc_basename in
     13271        ,cl* | no,cl*)
     13272          # Native MSVC
     13273          # hardcode_libdir_flag_spec is actually meaningless, as there is
     13274          # no search path for DLLs.
     13275          hardcode_libdir_flag_spec_CXX=' '
     13276          allow_undefined_flag_CXX=unsupported
     13277          always_export_symbols_CXX=yes
     13278          file_list_spec_CXX='@'
     13279          # Tell ltmain to make .lib files, not .a files.
     13280          libext=lib
     13281          # Tell ltmain to make .dll files, not .so files.
     13282          shrext_cmds=.dll
     13283          # FIXME: Setting linknames here is a bad hack.
     13284          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
     13285          archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[     ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
     13286              cp "$export_symbols" "$output_objdir/$soname.def";
     13287              echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
     13288            else
     13289              $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
     13290            fi~
     13291            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
     13292            linknames='
     13293          # The linker will not automatically build a static lib if we build a DLL.
     13294          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
     13295          enable_shared_with_static_runtimes_CXX=yes
     13296          # Don't use ranlib
     13297          old_postinstall_cmds_CXX='chmod 644 $oldlib'
     13298          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
     13299            lt_tool_outputfile="@TOOL_OUTPUT@"~
     13300            case $lt_outputfile in
     13301              *.exe|*.EXE) ;;
     13302              *)
     13303                lt_outputfile=$lt_outputfile.exe
     13304                lt_tool_outputfile=$lt_tool_outputfile.exe
     13305                ;;
     13306            esac~
     13307            func_to_tool_file "$lt_outputfile"~
     13308            if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
     13309              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
     13310              $RM "$lt_outputfile.manifest";
     13311            fi'
     13312          ;;
     13313        *)
     13314          # g++
     13315          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
     13316          # as there is no search path for DLLs.
     13317          hardcode_libdir_flag_spec_CXX='-L$libdir'
     13318          export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
     13319          allow_undefined_flag_CXX=unsupported
     13320          always_export_symbols_CXX=no
     13321          enable_shared_with_static_runtimes_CXX=yes
     13322
     13323          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
     13324            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'
     13325            # If the export-symbols file already is a .def file, use it as
     13326            # is; otherwise, prepend EXPORTS...
     13327            archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
     13328              cp $export_symbols $output_objdir/$soname.def;
     13329            else
     13330              echo EXPORTS > $output_objdir/$soname.def;
     13331              cat $export_symbols >> $output_objdir/$soname.def;
     13332            fi~
     13333            $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'
     13334          else
     13335            ld_shlibs_CXX=no
     13336          fi
     13337          ;;
     13338        esac
     13339        ;;
     13340      darwin* | rhapsody*)
     13341
     13342
     13343  archive_cmds_need_lc_CXX=no
     13344  hardcode_direct_CXX=no
     13345  hardcode_automatic_CXX=yes
     13346  hardcode_shlibpath_var_CXX=unsupported
     13347  if test yes = "$lt_cv_ld_force_load"; then
     13348    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\"`'
     13349
     13350  else
     13351    whole_archive_flag_spec_CXX=''
     13352  fi
     13353  link_all_deplibs_CXX=yes
     13354  allow_undefined_flag_CXX=$_lt_dar_allow_undefined
     13355  case $cc_basename in
     13356     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
     13357     *) _lt_dar_can_shared=$GCC ;;
     13358  esac
     13359  if test yes = "$_lt_dar_can_shared"; then
     13360    output_verbose_link_cmd=func_echo_all
     13361    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"
     13362    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
     13363    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"
     13364    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"
     13365       if test yes != "$lt_cv_apple_cc_single_mod"; then
     13366      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"
     13367      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"
     13368    fi
     13369
     13370  else
     13371  ld_shlibs_CXX=no
     13372  fi
     13373
     13374        ;;
     13375
     13376      os2*)
     13377        hardcode_libdir_flag_spec_CXX='-L$libdir'
     13378        hardcode_minus_L_CXX=yes
     13379        allow_undefined_flag_CXX=unsupported
     13380        shrext_cmds=.dll
     13381        archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
     13382          $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
     13383          $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
     13384          $ECHO EXPORTS >> $output_objdir/$libname.def~
     13385          emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
     13386          $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
     13387          emximp -o $lib $output_objdir/$libname.def'
     13388        archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
     13389          $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
     13390          $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
     13391          $ECHO EXPORTS >> $output_objdir/$libname.def~
     13392          prefix_cmds="$SED"~
     13393          if test EXPORTS = "`$SED 1q $export_symbols`"; then
     13394            prefix_cmds="$prefix_cmds -e 1d";
     13395          fi~
     13396          prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
     13397          cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
     13398          $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
     13399          emximp -o $lib $output_objdir/$libname.def'
     13400        old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
     13401        enable_shared_with_static_runtimes_CXX=yes
     13402        ;;
     13403
     13404      dgux*)
     13405        case $cc_basename in
     13406          ec++*)
     13407            # FIXME: insert proper C++ library support
     13408            ld_shlibs_CXX=no
     13409            ;;
     13410          ghcx*)
     13411            # Green Hills C++ Compiler
     13412            # FIXME: insert proper C++ library support
     13413            ld_shlibs_CXX=no
     13414            ;;
     13415          *)
     13416            # FIXME: insert proper C++ library support
     13417            ld_shlibs_CXX=no
     13418            ;;
     13419        esac
     13420        ;;
     13421
     13422      freebsd2.*)
     13423        # C++ shared libraries reported to be fairly broken before
     13424        # switch to ELF
     13425        ld_shlibs_CXX=no
     13426        ;;
     13427
     13428      freebsd-elf*)
     13429        archive_cmds_need_lc_CXX=no
     13430        ;;
     13431
     13432      freebsd* | dragonfly*)
     13433        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
     13434        # conventions
     13435        ld_shlibs_CXX=yes
     13436        ;;
     13437
     13438      haiku*)
     13439        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     13440        link_all_deplibs_CXX=yes
     13441        ;;
     13442
     13443      hpux9*)
     13444        hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
     13445        hardcode_libdir_separator_CXX=:
     13446        export_dynamic_flag_spec_CXX='$wl-E'
     13447        hardcode_direct_CXX=yes
     13448        hardcode_minus_L_CXX=yes # Not in the search PATH,
     13449                                             # but as the default
     13450                                             # location of the library.
     13451
     13452        case $cc_basename in
     13453          CC*)
     13454            # FIXME: insert proper C++ library support
     13455            ld_shlibs_CXX=no
     13456            ;;
     13457          aCC*)
     13458            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 "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
     13459            # Commands to make compiler produce verbose output that lists
     13460            # what "hidden" libraries, object files and flags are used when
     13461            # linking a shared library.
     13462            #
     13463            # There doesn't appear to be a way to prevent this compiler from
     13464            # explicitly linking system object files so we need to strip them
     13465            # from the output so that they don't get included in the library
     13466            # dependencies.
     13467            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"'
     13468            ;;
     13469          *)
     13470            if test yes = "$GXX"; then
     13471              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 "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
     13472            else
     13473              # FIXME: insert proper C++ library support
     13474              ld_shlibs_CXX=no
     13475            fi
     13476            ;;
     13477        esac
     13478        ;;
     13479
     13480      hpux10*|hpux11*)
     13481        if test no = "$with_gnu_ld"; then
     13482          hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
     13483          hardcode_libdir_separator_CXX=:
     13484
     13485          case $host_cpu in
     13486            hppa*64*|ia64*)
     13487              ;;
     13488            *)
     13489              export_dynamic_flag_spec_CXX='$wl-E'
     13490              ;;
     13491          esac
     13492        fi
     13493        case $host_cpu in
     13494          hppa*64*|ia64*)
     13495            hardcode_direct_CXX=no
     13496            hardcode_shlibpath_var_CXX=no
     13497            ;;
     13498          *)
     13499            hardcode_direct_CXX=yes
     13500            hardcode_direct_absolute_CXX=yes
     13501            hardcode_minus_L_CXX=yes # Not in the search PATH,
     13502                                                 # but as the default
     13503                                                 # location of the library.
     13504            ;;
     13505        esac
     13506
     13507        case $cc_basename in
     13508          CC*)
     13509            # FIXME: insert proper C++ library support
     13510            ld_shlibs_CXX=no
     13511            ;;
     13512          aCC*)
     13513            case $host_cpu in
     13514              hppa*64*)
     13515                archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     13516                ;;
     13517              ia64*)
     13518                archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     13519                ;;
     13520              *)
     13521                archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     13522                ;;
     13523            esac
     13524            # Commands to make compiler produce verbose output that lists
     13525            # what "hidden" libraries, object files and flags are used when
     13526            # linking a shared library.
     13527            #
     13528            # There doesn't appear to be a way to prevent this compiler from
     13529            # explicitly linking system object files so we need to strip them
     13530            # from the output so that they don't get included in the library
     13531            # dependencies.
     13532            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"'
     13533            ;;
     13534          *)
     13535            if test yes = "$GXX"; then
     13536              if test no = "$with_gnu_ld"; then
     13537                case $host_cpu in
     13538                  hppa*64*)
     13539                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     13540                    ;;
     13541                  ia64*)
     13542                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     13543                    ;;
     13544                  *)
     13545                    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'
     13546                    ;;
     13547                esac
     13548              fi
     13549            else
     13550              # FIXME: insert proper C++ library support
     13551              ld_shlibs_CXX=no
     13552            fi
     13553            ;;
     13554        esac
     13555        ;;
     13556
     13557      interix[3-9]*)
     13558        hardcode_direct_CXX=no
     13559        hardcode_shlibpath_var_CXX=no
     13560        hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
     13561        export_dynamic_flag_spec_CXX='$wl-E'
     13562        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
     13563        # Instead, shared libraries are loaded at an image base (0x10000000 by
     13564        # default) and relocated if they conflict, which is a slow very memory
     13565        # consuming and fragmenting process.  To avoid this, we pick a random,
     13566        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
     13567        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
     13568        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'
     13569        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'
     13570        ;;
     13571      irix5* | irix6*)
     13572        case $cc_basename in
     13573          CC*)
     13574            # SGI C++
     13575            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'
     13576
     13577            # Archives containing C++ object files must be created using
     13578            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
     13579            # necessary to make sure instantiated templates are included
     13580            # in the archive.
     13581            old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
     13582            ;;
     13583          *)
     13584            if test yes = "$GXX"; then
     13585              if test no = "$with_gnu_ld"; then
     13586                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'
     13587              else
     13588                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'
     13589              fi
     13590            fi
     13591            link_all_deplibs_CXX=yes
     13592            ;;
     13593        esac
     13594        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
     13595        hardcode_libdir_separator_CXX=:
     13596        inherit_rpath_CXX=yes
     13597        ;;
     13598
     13599      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
     13600        case $cc_basename in
     13601          KCC*)
     13602            # Kuck and Associates, Inc. (KAI) C++ Compiler
     13603
     13604            # KCC will only create a shared library if the output file
     13605            # ends with ".so" (or ".sl" for HP-UX), so rename the library
     13606            # to its proper name (with version) after linking.
     13607            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'
     13608            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'
     13609            # Commands to make compiler produce verbose output that lists
     13610            # what "hidden" libraries, object files and flags are used when
     13611            # linking a shared library.
     13612            #
     13613            # There doesn't appear to be a way to prevent this compiler from
     13614            # explicitly linking system object files so we need to strip them
     13615            # from the output so that they don't get included in the library
     13616            # dependencies.
     13617            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"'
     13618
     13619            hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
     13620            export_dynamic_flag_spec_CXX='$wl--export-dynamic'
     13621
     13622            # Archives containing C++ object files must be created using
     13623            # "CC -Bstatic", where "CC" is the KAI C++ compiler.
     13624            old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
     13625            ;;
     13626          icpc* | ecpc* )
     13627            # Intel C++
     13628            with_gnu_ld=yes
     13629            # version 8.0 and above of icpc choke on multiply defined symbols
     13630            # if we add $predep_objects and $postdep_objects, however 7.1 and
     13631            # earlier do not add the objects themselves.
     13632            case `$CC -V 2>&1` in
     13633              *"Version 7."*)
     13634                archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
     13635                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'
     13636                ;;
     13637              *)  # Version 8.0 or newer
     13638                tmp_idyn=
     13639                case $host_cpu in
     13640                  ia64*) tmp_idyn=' -i_dynamic';;
     13641                esac
     13642                archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     13643                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'
     13644                ;;
     13645            esac
     13646            archive_cmds_need_lc_CXX=no
     13647            hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
     13648            export_dynamic_flag_spec_CXX='$wl--export-dynamic'
     13649            whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
     13650            ;;
     13651          pgCC* | pgcpp*)
     13652            # Portland Group C++ compiler
     13653            case `$CC -V` in
     13654            *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
     13655              prelink_cmds_CXX='tpldir=Template.dir~
     13656               rm -rf $tpldir~
     13657               $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
     13658               compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
     13659              old_archive_cmds_CXX='tpldir=Template.dir~
     13660                rm -rf $tpldir~
     13661                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
     13662                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
     13663                $RANLIB $oldlib'
     13664              archive_cmds_CXX='tpldir=Template.dir~
     13665                rm -rf $tpldir~
     13666                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
     13667                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
     13668              archive_expsym_cmds_CXX='tpldir=Template.dir~
     13669                rm -rf $tpldir~
     13670                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
     13671                $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'
     13672              ;;
     13673            *) # Version 6 and above use weak symbols
     13674              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
     13675              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'
     13676              ;;
     13677            esac
     13678
     13679            hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
     13680            export_dynamic_flag_spec_CXX='$wl--export-dynamic'
     13681            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'
     13682            ;;
     13683          cxx*)
     13684            # Compaq C++
     13685            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
     13686            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'
     13687
     13688            runpath_var=LD_RUN_PATH
     13689            hardcode_libdir_flag_spec_CXX='-rpath $libdir'
     13690            hardcode_libdir_separator_CXX=:
     13691
     13692            # Commands to make compiler produce verbose output that lists
     13693            # what "hidden" libraries, object files and flags are used when
     13694            # linking a shared library.
     13695            #
     13696            # There doesn't appear to be a way to prevent this compiler from
     13697            # explicitly linking system object files so we need to strip them
     13698            # from the output so that they don't get included in the library
     13699            # dependencies.
     13700            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'
     13701            ;;
     13702          xl* | mpixl* | bgxl*)
     13703            # IBM XL 8.0 on PPC, with GNU ld
     13704            hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
     13705            export_dynamic_flag_spec_CXX='$wl--export-dynamic'
     13706            archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
     13707            if test yes = "$supports_anon_versioning"; then
     13708              archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
     13709                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
     13710                echo "local: *; };" >> $output_objdir/$libname.ver~
     13711                $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
     13712            fi
     13713            ;;
     13714          *)
     13715            case `$CC -V 2>&1 | sed 5q` in
     13716            *Sun\ C*)
     13717              # Sun C++ 5.9
     13718              no_undefined_flag_CXX=' -zdefs'
     13719              archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     13720              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'
     13721              hardcode_libdir_flag_spec_CXX='-R$libdir'
     13722              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'
     13723              compiler_needs_object_CXX=yes
     13724
     13725              # Not sure whether something based on
     13726              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
     13727              # would be better.
     13728              output_verbose_link_cmd='func_echo_all'
     13729
     13730              # Archives containing C++ object files must be created using
     13731              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
     13732              # necessary to make sure instantiated templates are included
     13733              # in the archive.
     13734              old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
     13735              ;;
     13736            esac
     13737            ;;
     13738        esac
     13739        ;;
     13740
     13741      lynxos*)
     13742        # FIXME: insert proper C++ library support
     13743        ld_shlibs_CXX=no
     13744        ;;
     13745
     13746      m88k*)
     13747        # FIXME: insert proper C++ library support
     13748        ld_shlibs_CXX=no
     13749        ;;
     13750
     13751      mvs*)
     13752        case $cc_basename in
     13753          cxx*)
     13754            # FIXME: insert proper C++ library support
     13755            ld_shlibs_CXX=no
     13756            ;;
     13757          *)
     13758            # FIXME: insert proper C++ library support
     13759            ld_shlibs_CXX=no
     13760            ;;
     13761        esac
     13762        ;;
     13763
     13764      netbsd*)
     13765        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
     13766          archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
     13767          wlarc=
     13768          hardcode_libdir_flag_spec_CXX='-R$libdir'
     13769          hardcode_direct_CXX=yes
     13770          hardcode_shlibpath_var_CXX=no
     13771        fi
     13772        # Workaround some broken pre-1.5 toolchains
     13773        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
     13774        ;;
     13775
     13776      *nto* | *qnx*)
     13777        ld_shlibs_CXX=yes
     13778        ;;
     13779
     13780      openbsd* | bitrig*)
     13781        if test -f /usr/libexec/ld.so; then
     13782          hardcode_direct_CXX=yes
     13783          hardcode_shlibpath_var_CXX=no
     13784          hardcode_direct_absolute_CXX=yes
     13785          archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
     13786          hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
     13787          if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
     13788            archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
     13789            export_dynamic_flag_spec_CXX='$wl-E'
     13790            whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
     13791          fi
     13792          output_verbose_link_cmd=func_echo_all
     13793        else
     13794          ld_shlibs_CXX=no
     13795        fi
     13796        ;;
     13797
     13798      osf3* | osf4* | osf5*)
     13799        case $cc_basename in
     13800          KCC*)
     13801            # Kuck and Associates, Inc. (KAI) C++ Compiler
     13802
     13803            # KCC will only create a shared library if the output file
     13804            # ends with ".so" (or ".sl" for HP-UX), so rename the library
     13805            # to its proper name (with version) after linking.
     13806            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'
     13807
     13808            hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
     13809            hardcode_libdir_separator_CXX=:
     13810
     13811            # Archives containing C++ object files must be created using
     13812            # the KAI C++ compiler.
     13813            case $host in
     13814              osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
     13815              *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
     13816            esac
     13817            ;;
     13818          RCC*)
     13819            # Rational C++ 2.4.1
     13820            # FIXME: insert proper C++ library support
     13821            ld_shlibs_CXX=no
     13822            ;;
     13823          cxx*)
     13824            case $host in
     13825              osf3*)
     13826                allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
     13827                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'
     13828                hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
     13829                ;;
     13830              *)
     13831                allow_undefined_flag_CXX=' -expect_unresolved \*'
     13832                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'
     13833                archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
     13834                  echo "-hidden">> $lib.exp~
     13835                  $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~
     13836                  $RM $lib.exp'
     13837                hardcode_libdir_flag_spec_CXX='-rpath $libdir'
     13838                ;;
     13839            esac
     13840
     13841            hardcode_libdir_separator_CXX=:
     13842
     13843            # Commands to make compiler produce verbose output that lists
     13844            # what "hidden" libraries, object files and flags are used when
     13845            # linking a shared library.
     13846            #
     13847            # There doesn't appear to be a way to prevent this compiler from
     13848            # explicitly linking system object files so we need to strip them
     13849            # from the output so that they don't get included in the library
     13850            # dependencies.
     13851            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"'
     13852            ;;
     13853          *)
     13854            if test yes,no = "$GXX,$with_gnu_ld"; then
     13855              allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
     13856              case $host in
     13857                osf3*)
     13858                  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'
     13859                  ;;
     13860                *)
     13861                  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'
     13862                  ;;
     13863              esac
     13864
     13865              hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
     13866              hardcode_libdir_separator_CXX=:
     13867
     13868              # Commands to make compiler produce verbose output that lists
     13869              # what "hidden" libraries, object files and flags are used when
     13870              # linking a shared library.
     13871              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
     13872
     13873            else
     13874              # FIXME: insert proper C++ library support
     13875              ld_shlibs_CXX=no
     13876            fi
     13877            ;;
     13878        esac
     13879        ;;
     13880
     13881      psos*)
     13882        # FIXME: insert proper C++ library support
     13883        ld_shlibs_CXX=no
     13884        ;;
     13885
     13886      sunos4*)
     13887        case $cc_basename in
     13888          CC*)
     13889            # Sun C++ 4.x
     13890            # FIXME: insert proper C++ library support
     13891            ld_shlibs_CXX=no
     13892            ;;
     13893          lcc*)
     13894            # Lucid
     13895            # FIXME: insert proper C++ library support
     13896            ld_shlibs_CXX=no
     13897            ;;
     13898          *)
     13899            # FIXME: insert proper C++ library support
     13900            ld_shlibs_CXX=no
     13901            ;;
     13902        esac
     13903        ;;
     13904
     13905      solaris*)
     13906        case $cc_basename in
     13907          CC* | sunCC*)
     13908            # Sun C++ 4.2, 5.x and Centerline C++
     13909            archive_cmds_need_lc_CXX=yes
     13910            no_undefined_flag_CXX=' -zdefs'
     13911            archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
     13912            archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
     13913              $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'
     13914
     13915            hardcode_libdir_flag_spec_CXX='-R$libdir'
     13916            hardcode_shlibpath_var_CXX=no
     13917            case $host_os in
     13918              solaris2.[0-5] | solaris2.[0-5].*) ;;
     13919              *)
     13920                # The compiler driver will combine and reorder linker options,
     13921                # but understands '-z linker_flag'.
     13922                # Supported since Solaris 2.6 (maybe 2.5.1?)
     13923                whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
     13924                ;;
     13925            esac
     13926            link_all_deplibs_CXX=yes
     13927
     13928            output_verbose_link_cmd='func_echo_all'
     13929
     13930            # Archives containing C++ object files must be created using
     13931            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
     13932            # necessary to make sure instantiated templates are included
     13933            # in the archive.
     13934            old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
     13935            ;;
     13936          gcx*)
     13937            # Green Hills C++ Compiler
     13938            archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
     13939
     13940            # The C++ compiler must be used to create the archive.
     13941            old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
     13942            ;;
     13943          *)
     13944            # GNU C++ compiler with Solaris linker
     13945            if test yes,no = "$GXX,$with_gnu_ld"; then
     13946              no_undefined_flag_CXX=' $wl-z ${wl}defs'
     13947              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
     13948                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
     13949                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
     13950                  $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
     13951
     13952                # Commands to make compiler produce verbose output that lists
     13953                # what "hidden" libraries, object files and flags are used when
     13954                # linking a shared library.
     13955                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
     13956              else
     13957                # g++ 2.7 appears to require '-G' NOT '-shared' on this
     13958                # platform.
     13959                archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
     13960                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
     13961                  $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
     13962
     13963                # Commands to make compiler produce verbose output that lists
     13964                # what "hidden" libraries, object files and flags are used when
     13965                # linking a shared library.
     13966                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
     13967              fi
     13968
     13969              hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
     13970              case $host_os in
     13971                solaris2.[0-5] | solaris2.[0-5].*) ;;
     13972                *)
     13973                  whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
     13974                  ;;
     13975              esac
     13976            fi
     13977            ;;
     13978        esac
     13979        ;;
     13980
     13981    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
     13982      no_undefined_flag_CXX='$wl-z,text'
     13983      archive_cmds_need_lc_CXX=no
     13984      hardcode_shlibpath_var_CXX=no
     13985      runpath_var='LD_RUN_PATH'
     13986
     13987      case $cc_basename in
     13988        CC*)
     13989          archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     13990          archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     13991          ;;
     13992        *)
     13993          archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     13994          archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     13995          ;;
     13996      esac
     13997      ;;
     13998
     13999      sysv5* | sco3.2v5* | sco5v6*)
     14000        # Note: We CANNOT use -z defs as we might desire, because we do not
     14001        # link with -lc, and that would cause any symbols used from libc to
     14002        # always be unresolved, which means just about no library would
     14003        # ever link correctly.  If we're not using GNU ld we use -z text
     14004        # though, which does catch some bad symbols but isn't as heavy-handed
     14005        # as -z defs.
     14006        no_undefined_flag_CXX='$wl-z,text'
     14007        allow_undefined_flag_CXX='$wl-z,nodefs'
     14008        archive_cmds_need_lc_CXX=no
     14009        hardcode_shlibpath_var_CXX=no
     14010        hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
     14011        hardcode_libdir_separator_CXX=':'
     14012        link_all_deplibs_CXX=yes
     14013        export_dynamic_flag_spec_CXX='$wl-Bexport'
     14014        runpath_var='LD_RUN_PATH'
     14015
     14016        case $cc_basename in
     14017          CC*)
     14018            archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     14019            archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     14020            old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
     14021              '"$old_archive_cmds_CXX"
     14022            reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
     14023              '"$reload_cmds_CXX"
     14024            ;;
     14025          *)
     14026            archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     14027            archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
     14028            ;;
     14029        esac
     14030      ;;
     14031
     14032      tandem*)
     14033        case $cc_basename in
     14034          NCC*)
     14035            # NonStop-UX NCC 3.20
     14036            # FIXME: insert proper C++ library support
     14037            ld_shlibs_CXX=no
     14038            ;;
     14039          *)
     14040            # FIXME: insert proper C++ library support
     14041            ld_shlibs_CXX=no
     14042            ;;
     14043        esac
     14044        ;;
     14045
     14046      vxworks*)
     14047        # FIXME: insert proper C++ library support
     14048        ld_shlibs_CXX=no
     14049        ;;
     14050
     14051      *)
     14052        # FIXME: insert proper C++ library support
     14053        ld_shlibs_CXX=no
     14054        ;;
     14055    esac
     14056
     14057    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
     14058$as_echo "$ld_shlibs_CXX" >&6; }
     14059    test no = "$ld_shlibs_CXX" && can_build_shared=no
     14060
     14061    GCC_CXX=$GXX
     14062    LD_CXX=$LD
     14063
     14064    ## CAVEAT EMPTOR:
     14065    ## There is no encapsulation within the following macros, do not change
     14066    ## the running order or otherwise move them around unless you know exactly
     14067    ## what you are doing...
     14068    # Dependencies to place before and after the object being linked:
     14069predep_objects_CXX=
     14070postdep_objects_CXX=
     14071predeps_CXX=
     14072postdeps_CXX=
     14073compiler_lib_search_path_CXX=
     14074
     14075cat > conftest.$ac_ext <<_LT_EOF
     14076class Foo
     14077{
     14078public:
     14079  Foo (void) { a = 0; }
     14080private:
     14081  int a;
     14082};
     14083_LT_EOF
     14084
     14085
     14086_lt_libdeps_save_CFLAGS=$CFLAGS
     14087case "$CC $CFLAGS " in #(
     14088*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
     14089*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
     14090*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
     14091esac
     14092
     14093if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     14094  (eval $ac_compile) 2>&5
     14095  ac_status=$?
     14096  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     14097  test $ac_status = 0; }; then
     14098  # Parse the compiler output and extract the necessary
     14099  # objects, libraries and library flags.
     14100
     14101  # Sentinel used to keep track of whether or not we are before
     14102  # the conftest object file.
     14103  pre_test_object_deps_done=no
     14104
     14105  for p in `eval "$output_verbose_link_cmd"`; do
     14106    case $prev$p in
     14107
     14108    -L* | -R* | -l*)
     14109       # Some compilers place space between "-{L,R}" and the path.
     14110       # Remove the space.
     14111       if test x-L = "$p" ||
     14112          test x-R = "$p"; then
     14113         prev=$p
     14114         continue
     14115       fi
     14116
     14117       # Expand the sysroot to ease extracting the directories later.
     14118       if test -z "$prev"; then
     14119         case $p in
     14120         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
     14121         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
     14122         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
     14123         esac
     14124       fi
     14125       case $p in
     14126       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
     14127       esac
     14128       if test no = "$pre_test_object_deps_done"; then
     14129         case $prev in
     14130         -L | -R)
     14131           # Internal compiler library paths should come after those
     14132           # provided the user.  The postdeps already come after the
     14133           # user supplied libs so there is no need to process them.
     14134           if test -z "$compiler_lib_search_path_CXX"; then
     14135             compiler_lib_search_path_CXX=$prev$p
     14136           else
     14137             compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
     14138           fi
     14139           ;;
     14140         # The "-l" case would never come before the object being
     14141         # linked, so don't bother handling this case.
     14142         esac
     14143       else
     14144         if test -z "$postdeps_CXX"; then
     14145           postdeps_CXX=$prev$p
     14146         else
     14147           postdeps_CXX="${postdeps_CXX} $prev$p"
     14148         fi
     14149       fi
     14150       prev=
     14151       ;;
     14152
     14153    *.lto.$objext) ;; # Ignore GCC LTO objects
     14154    *.$objext)
     14155       # This assumes that the test object file only shows up
     14156       # once in the compiler output.
     14157       if test "$p" = "conftest.$objext"; then
     14158         pre_test_object_deps_done=yes
     14159         continue
     14160       fi
     14161
     14162       if test no = "$pre_test_object_deps_done"; then
     14163         if test -z "$predep_objects_CXX"; then
     14164           predep_objects_CXX=$p
     14165         else
     14166           predep_objects_CXX="$predep_objects_CXX $p"
     14167         fi
     14168       else
     14169         if test -z "$postdep_objects_CXX"; then
     14170           postdep_objects_CXX=$p
     14171         else
     14172           postdep_objects_CXX="$postdep_objects_CXX $p"
     14173         fi
     14174       fi
     14175       ;;
     14176
     14177    *) ;; # Ignore the rest.
     14178
     14179    esac
     14180  done
     14181
     14182  # Clean up.
     14183  rm -f a.out a.exe
     14184else
     14185  echo "libtool.m4: error: problem compiling CXX test program"
     14186fi
     14187
     14188$RM -f confest.$objext
     14189CFLAGS=$_lt_libdeps_save_CFLAGS
     14190
     14191# PORTME: override above test on systems where it is broken
     14192case $host_os in
     14193interix[3-9]*)
     14194  # Interix 3.5 installs completely hosed .la files for C++, so rather than
     14195  # hack all around it, let's just trust "g++" to DTRT.
     14196  predep_objects_CXX=
     14197  postdep_objects_CXX=
     14198  postdeps_CXX=
     14199  ;;
     14200esac
     14201
     14202
     14203case " $postdeps_CXX " in
     14204*" -lc "*) archive_cmds_need_lc_CXX=no ;;
     14205esac
     14206 compiler_lib_search_dirs_CXX=
     14207if test -n "${compiler_lib_search_path_CXX}"; then
     14208 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
     14209fi
     14210
     14211
     14212
     14213
     14214
     14215
     14216
     14217
     14218
     14219
     14220
     14221
     14222
     14223
     14224
     14225
     14226
     14227
     14228
     14229
     14230
     14231
     14232
     14233
     14234
     14235
     14236
     14237
     14238
     14239
     14240
     14241    lt_prog_compiler_wl_CXX=
     14242lt_prog_compiler_pic_CXX=
     14243lt_prog_compiler_static_CXX=
     14244
     14245
     14246  # C++ specific cases for pic, static, wl, etc.
     14247  if test yes = "$GXX"; then
     14248    lt_prog_compiler_wl_CXX='-Wl,'
     14249    lt_prog_compiler_static_CXX='-static'
     14250
     14251    case $host_os in
     14252    aix*)
     14253      # All AIX code is PIC.
     14254      if test ia64 = "$host_cpu"; then
     14255        # AIX 5 now supports IA64 processor
     14256        lt_prog_compiler_static_CXX='-Bstatic'
     14257      fi
     14258      lt_prog_compiler_pic_CXX='-fPIC'
     14259      ;;
     14260
     14261    amigaos*)
     14262      case $host_cpu in
     14263      powerpc)
     14264            # see comment about AmigaOS4 .so support
     14265            lt_prog_compiler_pic_CXX='-fPIC'
     14266        ;;
     14267      m68k)
     14268            # FIXME: we need at least 68020 code to build shared libraries, but
     14269            # adding the '-m68020' flag to GCC prevents building anything better,
     14270            # like '-m68040'.
     14271            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
     14272        ;;
     14273      esac
     14274      ;;
     14275
     14276    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
     14277      # PIC is the default for these OSes.
     14278      ;;
     14279    mingw* | cygwin* | os2* | pw32* | cegcc*)
     14280      # This hack is so that the source file can tell whether it is being
     14281      # built for inclusion in a dll (and should export symbols for example).
     14282      # Although the cygwin gcc ignores -fPIC, still need this for old-style
     14283      # (--disable-auto-import) libraries
     14284      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
     14285      case $host_os in
     14286      os2*)
     14287        lt_prog_compiler_static_CXX='$wl-static'
     14288        ;;
     14289      esac
     14290      ;;
     14291    darwin* | rhapsody*)
     14292      # PIC is the default on this platform
     14293      # Common symbols not allowed in MH_DYLIB files
     14294      lt_prog_compiler_pic_CXX='-fno-common'
     14295      ;;
     14296    *djgpp*)
     14297      # DJGPP does not support shared libraries at all
     14298      lt_prog_compiler_pic_CXX=
     14299      ;;
     14300    haiku*)
     14301      # PIC is the default for Haiku.
     14302      # The "-static" flag exists, but is broken.
     14303      lt_prog_compiler_static_CXX=
     14304      ;;
     14305    interix[3-9]*)
     14306      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
     14307      # Instead, we relocate shared libraries at runtime.
     14308      ;;
     14309    sysv4*MP*)
     14310      if test -d /usr/nec; then
     14311        lt_prog_compiler_pic_CXX=-Kconform_pic
     14312      fi
     14313      ;;
     14314    hpux*)
     14315      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
     14316      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
     14317      # sets the default TLS model and affects inlining.
     14318      case $host_cpu in
     14319      hppa*64*)
     14320        ;;
     14321      *)
     14322        lt_prog_compiler_pic_CXX='-fPIC'
     14323        ;;
     14324      esac
     14325      ;;
     14326    *qnx* | *nto*)
     14327      # QNX uses GNU C++, but need to define -shared option too, otherwise
     14328      # it will coredump.
     14329      lt_prog_compiler_pic_CXX='-fPIC -shared'
     14330      ;;
     14331    *)
     14332      lt_prog_compiler_pic_CXX='-fPIC'
     14333      ;;
     14334    esac
     14335  else
     14336    case $host_os in
     14337      aix[4-9]*)
     14338        # All AIX code is PIC.
     14339        if test ia64 = "$host_cpu"; then
     14340          # AIX 5 now supports IA64 processor
     14341          lt_prog_compiler_static_CXX='-Bstatic'
     14342        else
     14343          lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
     14344        fi
     14345        ;;
     14346      chorus*)
     14347        case $cc_basename in
     14348        cxch68*)
     14349          # Green Hills C++ Compiler
     14350          # _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"
     14351          ;;
     14352        esac
     14353        ;;
     14354      mingw* | cygwin* | os2* | pw32* | cegcc*)
     14355        # This hack is so that the source file can tell whether it is being
     14356        # built for inclusion in a dll (and should export symbols for example).
     14357        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
     14358        ;;
     14359      dgux*)
     14360        case $cc_basename in
     14361          ec++*)
     14362            lt_prog_compiler_pic_CXX='-KPIC'
     14363            ;;
     14364          ghcx*)
     14365            # Green Hills C++ Compiler
     14366            lt_prog_compiler_pic_CXX='-pic'
     14367            ;;
     14368          *)
     14369            ;;
     14370        esac
     14371        ;;
     14372      freebsd* | dragonfly*)
     14373        # FreeBSD uses GNU C++
     14374        ;;
     14375      hpux9* | hpux10* | hpux11*)
     14376        case $cc_basename in
     14377          CC*)
     14378            lt_prog_compiler_wl_CXX='-Wl,'
     14379            lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
     14380            if test ia64 != "$host_cpu"; then
     14381              lt_prog_compiler_pic_CXX='+Z'
     14382            fi
     14383            ;;
     14384          aCC*)
     14385            lt_prog_compiler_wl_CXX='-Wl,'
     14386            lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
     14387            case $host_cpu in
     14388            hppa*64*|ia64*)
     14389              # +Z the default
     14390              ;;
     14391            *)
     14392              lt_prog_compiler_pic_CXX='+Z'
     14393              ;;
     14394            esac
     14395            ;;
     14396          *)
     14397            ;;
     14398        esac
     14399        ;;
     14400      interix*)
     14401        # This is c89, which is MS Visual C++ (no shared libs)
     14402        # Anyone wants to do a port?
     14403        ;;
     14404      irix5* | irix6* | nonstopux*)
     14405        case $cc_basename in
     14406          CC*)
     14407            lt_prog_compiler_wl_CXX='-Wl,'
     14408            lt_prog_compiler_static_CXX='-non_shared'
     14409            # CC pic flag -KPIC is the default.
     14410            ;;
     14411          *)
     14412            ;;
     14413        esac
     14414        ;;
     14415      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
     14416        case $cc_basename in
     14417          KCC*)
     14418            # KAI C++ Compiler
     14419            lt_prog_compiler_wl_CXX='--backend -Wl,'
     14420            lt_prog_compiler_pic_CXX='-fPIC'
     14421            ;;
     14422          ecpc* )
     14423            # old Intel C++ for x86_64, which still supported -KPIC.
     14424            lt_prog_compiler_wl_CXX='-Wl,'
     14425            lt_prog_compiler_pic_CXX='-KPIC'
     14426            lt_prog_compiler_static_CXX='-static'
     14427            ;;
     14428          icpc* )
     14429            # Intel C++, used to be incompatible with GCC.
     14430            # ICC 10 doesn't accept -KPIC any more.
     14431            lt_prog_compiler_wl_CXX='-Wl,'
     14432            lt_prog_compiler_pic_CXX='-fPIC'
     14433            lt_prog_compiler_static_CXX='-static'
     14434            ;;
     14435          pgCC* | pgcpp*)
     14436            # Portland Group C++ compiler
     14437            lt_prog_compiler_wl_CXX='-Wl,'
     14438            lt_prog_compiler_pic_CXX='-fpic'
     14439            lt_prog_compiler_static_CXX='-Bstatic'
     14440            ;;
     14441          cxx*)
     14442            # Compaq C++
     14443            # Make sure the PIC flag is empty.  It appears that all Alpha
     14444            # Linux and Compaq Tru64 Unix objects are PIC.
     14445            lt_prog_compiler_pic_CXX=
     14446            lt_prog_compiler_static_CXX='-non_shared'
     14447            ;;
     14448          xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
     14449            # IBM XL 8.0, 9.0 on PPC and BlueGene
     14450            lt_prog_compiler_wl_CXX='-Wl,'
     14451            lt_prog_compiler_pic_CXX='-qpic'
     14452            lt_prog_compiler_static_CXX='-qstaticlink'
     14453            ;;
     14454          *)
     14455            case `$CC -V 2>&1 | sed 5q` in
     14456            *Sun\ C*)
     14457              # Sun C++ 5.9
     14458              lt_prog_compiler_pic_CXX='-KPIC'
     14459              lt_prog_compiler_static_CXX='-Bstatic'
     14460              lt_prog_compiler_wl_CXX='-Qoption ld '
     14461              ;;
     14462            esac
     14463            ;;
     14464        esac
     14465        ;;
     14466      lynxos*)
     14467        ;;
     14468      m88k*)
     14469        ;;
     14470      mvs*)
     14471        case $cc_basename in
     14472          cxx*)
     14473            lt_prog_compiler_pic_CXX='-W c,exportall'
     14474            ;;
     14475          *)
     14476            ;;
     14477        esac
     14478        ;;
     14479      netbsd* | netbsdelf*-gnu)
     14480        ;;
     14481      *qnx* | *nto*)
     14482        # QNX uses GNU C++, but need to define -shared option too, otherwise
     14483        # it will coredump.
     14484        lt_prog_compiler_pic_CXX='-fPIC -shared'
     14485        ;;
     14486      osf3* | osf4* | osf5*)
     14487        case $cc_basename in
     14488          KCC*)
     14489            lt_prog_compiler_wl_CXX='--backend -Wl,'
     14490            ;;
     14491          RCC*)
     14492            # Rational C++ 2.4.1
     14493            lt_prog_compiler_pic_CXX='-pic'
     14494            ;;
     14495          cxx*)
     14496            # Digital/Compaq C++
     14497            lt_prog_compiler_wl_CXX='-Wl,'
     14498            # Make sure the PIC flag is empty.  It appears that all Alpha
     14499            # Linux and Compaq Tru64 Unix objects are PIC.
     14500            lt_prog_compiler_pic_CXX=
     14501            lt_prog_compiler_static_CXX='-non_shared'
     14502            ;;
     14503          *)
     14504            ;;
     14505        esac
     14506        ;;
     14507      psos*)
     14508        ;;
     14509      solaris*)
     14510        case $cc_basename in
     14511          CC* | sunCC*)
     14512            # Sun C++ 4.2, 5.x and Centerline C++
     14513            lt_prog_compiler_pic_CXX='-KPIC'
     14514            lt_prog_compiler_static_CXX='-Bstatic'
     14515            lt_prog_compiler_wl_CXX='-Qoption ld '
     14516            ;;
     14517          gcx*)
     14518            # Green Hills C++ Compiler
     14519            lt_prog_compiler_pic_CXX='-PIC'
     14520            ;;
     14521          *)
     14522            ;;
     14523        esac
     14524        ;;
     14525      sunos4*)
     14526        case $cc_basename in
     14527          CC*)
     14528            # Sun C++ 4.x
     14529            lt_prog_compiler_pic_CXX='-pic'
     14530            lt_prog_compiler_static_CXX='-Bstatic'
     14531            ;;
     14532          lcc*)
     14533            # Lucid
     14534            lt_prog_compiler_pic_CXX='-pic'
     14535            ;;
     14536          *)
     14537            ;;
     14538        esac
     14539        ;;
     14540      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
     14541        case $cc_basename in
     14542          CC*)
     14543            lt_prog_compiler_wl_CXX='-Wl,'
     14544            lt_prog_compiler_pic_CXX='-KPIC'
     14545            lt_prog_compiler_static_CXX='-Bstatic'
     14546            ;;
     14547        esac
     14548        ;;
     14549      tandem*)
     14550        case $cc_basename in
     14551          NCC*)
     14552            # NonStop-UX NCC 3.20
     14553            lt_prog_compiler_pic_CXX='-KPIC'
     14554            ;;
     14555          *)
     14556            ;;
     14557        esac
     14558        ;;
     14559      vxworks*)
     14560        ;;
     14561      *)
     14562        lt_prog_compiler_can_build_shared_CXX=no
     14563        ;;
     14564    esac
     14565  fi
     14566
     14567case $host_os in
     14568  # For platforms that do not support PIC, -DPIC is meaningless:
     14569  *djgpp*)
     14570    lt_prog_compiler_pic_CXX=
     14571    ;;
     14572  *)
     14573    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
     14574    ;;
     14575esac
     14576
     14577{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
     14578$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
     14579if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
     14580  $as_echo_n "(cached) " >&6
     14581else
     14582  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
     14583fi
     14584{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
     14585$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
     14586lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
     14587
     14588#
     14589# Check to make sure the PIC flag actually works.
     14590#
     14591if test -n "$lt_prog_compiler_pic_CXX"; then
     14592  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
     14593$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
     14594if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
     14595  $as_echo_n "(cached) " >&6
     14596else
     14597  lt_cv_prog_compiler_pic_works_CXX=no
     14598   ac_outfile=conftest.$ac_objext
     14599   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
     14600   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
     14601   # Insert the option either (1) after the last *FLAGS variable, or
     14602   # (2) before a word containing "conftest.", or (3) at the end.
     14603   # Note that $ac_compile itself does not contain backslashes and begins
     14604   # with a dollar sign (not a hyphen), so the echo should work correctly.
     14605   # The option is referenced via a variable to avoid confusing sed.
     14606   lt_compile=`echo "$ac_compile" | $SED \
     14607   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     14608   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     14609   -e 's:$: $lt_compiler_flag:'`
     14610   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
     14611   (eval "$lt_compile" 2>conftest.err)
     14612   ac_status=$?
     14613   cat conftest.err >&5
     14614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     14615   if (exit $ac_status) && test -s "$ac_outfile"; then
     14616     # The compiler can only warn and ignore the option if not recognized
     14617     # So say no if there are warnings other than the usual output.
     14618     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
     14619     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
     14620     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
     14621       lt_cv_prog_compiler_pic_works_CXX=yes
     14622     fi
     14623   fi
     14624   $RM conftest*
     14625
     14626fi
     14627{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
     14628$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
     14629
     14630if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
     14631    case $lt_prog_compiler_pic_CXX in
     14632     "" | " "*) ;;
     14633     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
     14634     esac
     14635else
     14636    lt_prog_compiler_pic_CXX=
     14637     lt_prog_compiler_can_build_shared_CXX=no
     14638fi
     14639
     14640fi
     14641
     14642
     14643
     14644
     14645
     14646#
     14647# Check to make sure the static flag actually works.
     14648#
     14649wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
     14650{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
     14651$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
     14652if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
     14653  $as_echo_n "(cached) " >&6
     14654else
     14655  lt_cv_prog_compiler_static_works_CXX=no
     14656   save_LDFLAGS=$LDFLAGS
     14657   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
     14658   echo "$lt_simple_link_test_code" > conftest.$ac_ext
     14659   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
     14660     # The linker can only warn and ignore the option if not recognized
     14661     # So say no if there are warnings
     14662     if test -s conftest.err; then
     14663       # Append any errors to the config.log.
     14664       cat conftest.err 1>&5
     14665       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
     14666       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
     14667       if diff conftest.exp conftest.er2 >/dev/null; then
     14668         lt_cv_prog_compiler_static_works_CXX=yes
     14669       fi
     14670     else
     14671       lt_cv_prog_compiler_static_works_CXX=yes
     14672     fi
     14673   fi
     14674   $RM -r conftest*
     14675   LDFLAGS=$save_LDFLAGS
     14676
     14677fi
     14678{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
     14679$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
     14680
     14681if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
     14682    :
     14683else
     14684    lt_prog_compiler_static_CXX=
     14685fi
     14686
     14687
     14688
     14689
     14690    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
     14691$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
     14692if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
     14693  $as_echo_n "(cached) " >&6
     14694else
     14695  lt_cv_prog_compiler_c_o_CXX=no
     14696   $RM -r conftest 2>/dev/null
     14697   mkdir conftest
     14698   cd conftest
     14699   mkdir out
     14700   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
     14701
     14702   lt_compiler_flag="-o out/conftest2.$ac_objext"
     14703   # Insert the option either (1) after the last *FLAGS variable, or
     14704   # (2) before a word containing "conftest.", or (3) at the end.
     14705   # Note that $ac_compile itself does not contain backslashes and begins
     14706   # with a dollar sign (not a hyphen), so the echo should work correctly.
     14707   lt_compile=`echo "$ac_compile" | $SED \
     14708   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     14709   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     14710   -e 's:$: $lt_compiler_flag:'`
     14711   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
     14712   (eval "$lt_compile" 2>out/conftest.err)
     14713   ac_status=$?
     14714   cat out/conftest.err >&5
     14715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     14716   if (exit $ac_status) && test -s out/conftest2.$ac_objext
     14717   then
     14718     # The compiler can only warn and ignore the option if not recognized
     14719     # So say no if there are warnings
     14720     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
     14721     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
     14722     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
     14723       lt_cv_prog_compiler_c_o_CXX=yes
     14724     fi
     14725   fi
     14726   chmod u+w . 2>&5
     14727   $RM conftest*
     14728   # SGI C++ compiler will create directory out/ii_files/ for
     14729   # template instantiation
     14730   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
     14731   $RM out/* && rmdir out
     14732   cd ..
     14733   $RM -r conftest
     14734   $RM conftest*
     14735
     14736fi
     14737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
     14738$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
     14739
     14740
     14741
     14742    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
     14743$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
     14744if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
     14745  $as_echo_n "(cached) " >&6
     14746else
     14747  lt_cv_prog_compiler_c_o_CXX=no
     14748   $RM -r conftest 2>/dev/null
     14749   mkdir conftest
     14750   cd conftest
     14751   mkdir out
     14752   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
     14753
     14754   lt_compiler_flag="-o out/conftest2.$ac_objext"
     14755   # Insert the option either (1) after the last *FLAGS variable, or
     14756   # (2) before a word containing "conftest.", or (3) at the end.
     14757   # Note that $ac_compile itself does not contain backslashes and begins
     14758   # with a dollar sign (not a hyphen), so the echo should work correctly.
     14759   lt_compile=`echo "$ac_compile" | $SED \
     14760   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
     14761   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
     14762   -e 's:$: $lt_compiler_flag:'`
     14763   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
     14764   (eval "$lt_compile" 2>out/conftest.err)
     14765   ac_status=$?
     14766   cat out/conftest.err >&5
     14767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
     14768   if (exit $ac_status) && test -s out/conftest2.$ac_objext
     14769   then
     14770     # The compiler can only warn and ignore the option if not recognized
     14771     # So say no if there are warnings
     14772     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
     14773     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
     14774     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
     14775       lt_cv_prog_compiler_c_o_CXX=yes
     14776     fi
     14777   fi
     14778   chmod u+w . 2>&5
     14779   $RM conftest*
     14780   # SGI C++ compiler will create directory out/ii_files/ for
     14781   # template instantiation
     14782   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
     14783   $RM out/* && rmdir out
     14784   cd ..
     14785   $RM -r conftest
     14786   $RM conftest*
     14787
     14788fi
     14789{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
     14790$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
     14791
     14792
     14793
     14794
     14795hard_links=nottested
     14796if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
     14797  # do not overwrite the value of need_locks provided by the user
     14798  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
     14799$as_echo_n "checking if we can lock with hard links... " >&6; }
     14800  hard_links=yes
     14801  $RM conftest*
     14802  ln conftest.a conftest.b 2>/dev/null && hard_links=no
     14803  touch conftest.a
     14804  ln conftest.a conftest.b 2>&5 || hard_links=no
     14805  ln conftest.a conftest.b 2>/dev/null && hard_links=no
     14806  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
     14807$as_echo "$hard_links" >&6; }
     14808  if test no = "$hard_links"; then
     14809    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
     14810$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
     14811    need_locks=warn
     14812  fi
     14813else
     14814  need_locks=no
     14815fi
     14816
     14817
     14818
     14819    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
     14820$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
     14821
     14822  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
     14823  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
     14824  case $host_os in
     14825  aix[4-9]*)
     14826    # If we're using GNU nm, then we don't want the "-C" option.
     14827    # -C means demangle to GNU nm, but means don't demangle to AIX nm.
     14828    # Without the "-l" option, or with the "-B" option, AIX nm treats
     14829    # weak defined symbols like other global defined symbols, whereas
     14830    # GNU nm marks them as "W".
     14831    # While the 'weak' keyword is ignored in the Export File, we need
     14832    # it in the Import File for the 'aix-soname' feature, so we have
     14833    # to replace the "-B" option with "-P" for AIX nm.
     14834    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
     14835      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
     14836    else
     14837      export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
     14838    fi
     14839    ;;
     14840  pw32*)
     14841    export_symbols_cmds_CXX=$ltdll_cmds
     14842    ;;
     14843  cygwin* | mingw* | cegcc*)
     14844    case $cc_basename in
     14845    cl*)
     14846      exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
     14847      ;;
     14848    *)
     14849      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'
     14850      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
     14851      ;;
     14852    esac
     14853    ;;
     14854  linux* | k*bsd*-gnu | gnu*)
     14855    link_all_deplibs_CXX=no
     14856    ;;
     14857  *)
     14858    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
     14859    ;;
     14860  esac
     14861
     14862{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
     14863$as_echo "$ld_shlibs_CXX" >&6; }
     14864test no = "$ld_shlibs_CXX" && can_build_shared=no
     14865
     14866with_gnu_ld_CXX=$with_gnu_ld
     14867
     14868
     14869
     14870
     14871
     14872
     14873#
     14874# Do we need to explicitly link libc?
     14875#
     14876case "x$archive_cmds_need_lc_CXX" in
     14877x|xyes)
     14878  # Assume -lc should be added
     14879  archive_cmds_need_lc_CXX=yes
     14880
     14881  if test yes,yes = "$GCC,$enable_shared"; then
     14882    case $archive_cmds_CXX in
     14883    *'~'*)
     14884      # FIXME: we may have to deal with multi-command sequences.
     14885      ;;
     14886    '$CC '*)
     14887      # Test whether the compiler implicitly links with -lc since on some
     14888      # systems, -lgcc has to come before -lc. If gcc already passes -lc
     14889      # to ld, don't add -lc before -lgcc.
     14890      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
     14891$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
     14892if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
     14893  $as_echo_n "(cached) " >&6
     14894else
     14895  $RM conftest*
     14896        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
     14897
     14898        if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
     14899  (eval $ac_compile) 2>&5
     14900  ac_status=$?
     14901  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     14902  test $ac_status = 0; } 2>conftest.err; then
     14903          soname=conftest
     14904          lib=conftest
     14905          libobjs=conftest.$ac_objext
     14906          deplibs=
     14907          wl=$lt_prog_compiler_wl_CXX
     14908          pic_flag=$lt_prog_compiler_pic_CXX
     14909          compiler_flags=-v
     14910          linker_flags=-v
     14911          verstring=
     14912          output_objdir=.
     14913          libname=conftest
     14914          lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
     14915          allow_undefined_flag_CXX=
     14916          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
     14917  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
     14918  ac_status=$?
     14919  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     14920  test $ac_status = 0; }
     14921          then
     14922            lt_cv_archive_cmds_need_lc_CXX=no
     14923          else
     14924            lt_cv_archive_cmds_need_lc_CXX=yes
     14925          fi
     14926          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
     14927        else
     14928          cat conftest.err 1>&5
     14929        fi
     14930        $RM conftest*
     14931
     14932fi
     14933{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
     14934$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
     14935      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
     14936      ;;
     14937    esac
     14938  fi
     14939  ;;
     14940esac
     14941
     14942
     14943
     14944
     14945
     14946
     14947
     14948
     14949
     14950
     14951
     14952
     14953
     14954
     14955
     14956
     14957
     14958
     14959
     14960
     14961
     14962
     14963
     14964
     14965
     14966
     14967
     14968
     14969
     14970
     14971
     14972
     14973
     14974
     14975
     14976
     14977
     14978
     14979
     14980
     14981
     14982
     14983
     14984
     14985
     14986
     14987
     14988
     14989
     14990
     14991
     14992
     14993
     14994
     14995
     14996
     14997
     14998
     14999
     15000
     15001
     15002
     15003    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
     15004$as_echo_n "checking dynamic linker characteristics... " >&6; }
     15005
     15006library_names_spec=
     15007libname_spec='lib$name'
     15008soname_spec=
     15009shrext_cmds=.so
     15010postinstall_cmds=
     15011postuninstall_cmds=
     15012finish_cmds=
     15013finish_eval=
     15014shlibpath_var=
     15015shlibpath_overrides_runpath=unknown
     15016version_type=none
     15017dynamic_linker="$host_os ld.so"
     15018sys_lib_dlsearch_path_spec="/lib /usr/lib"
     15019need_lib_prefix=unknown
     15020hardcode_into_libs=no
     15021
     15022# when you set need_version to no, make sure it does not cause -set_version
     15023# flags to be left without arguments
     15024need_version=unknown
     15025
     15026
     15027
     15028case $host_os in
     15029aix3*)
     15030  version_type=linux # correct to gnu/linux during the next big refactor
     15031  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
     15032  shlibpath_var=LIBPATH
     15033
     15034  # AIX 3 has no versioning support, so we append a major version to the name.
     15035  soname_spec='$libname$release$shared_ext$major'
     15036  ;;
     15037
     15038aix[4-9]*)
     15039  version_type=linux # correct to gnu/linux during the next big refactor
     15040  need_lib_prefix=no
     15041  need_version=no
     15042  hardcode_into_libs=yes
     15043  if test ia64 = "$host_cpu"; then
     15044    # AIX 5 supports IA64
     15045    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
     15046    shlibpath_var=LD_LIBRARY_PATH
     15047  else
     15048    # With GCC up to 2.95.x, collect2 would create an import file
     15049    # for dependence libraries.  The import file would start with
     15050    # the line '#! .'.  This would cause the generated library to
     15051    # depend on '.', always an invalid library.  This was fixed in
     15052    # development snapshots of GCC prior to 3.0.
     15053    case $host_os in
     15054      aix4 | aix4.[01] | aix4.[01].*)
     15055      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
     15056           echo ' yes '
     15057           echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
     15058        :
     15059      else
     15060        can_build_shared=no
     15061      fi
     15062      ;;
     15063    esac
     15064    # Using Import Files as archive members, it is possible to support
     15065    # filename-based versioning of shared library archives on AIX. While
     15066    # this would work for both with and without runtime linking, it will
     15067    # prevent static linking of such archives. So we do filename-based
     15068    # shared library versioning with .so extension only, which is used
     15069    # when both runtime linking and shared linking is enabled.
     15070    # Unfortunately, runtime linking may impact performance, so we do
     15071    # not want this to be the default eventually. Also, we use the
     15072    # versioned .so libs for executables only if there is the -brtl
     15073    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
     15074    # To allow for filename-based versioning support, we need to create
     15075    # libNAME.so.V as an archive file, containing:
     15076    # *) an Import File, referring to the versioned filename of the
     15077    #    archive as well as the shared archive member, telling the
     15078    #    bitwidth (32 or 64) of that shared object, and providing the
     15079    #    list of exported symbols of that shared object, eventually
     15080    #    decorated with the 'weak' keyword
     15081    # *) the shared object with the F_LOADONLY flag set, to really avoid
     15082    #    it being seen by the linker.
     15083    # At run time we better use the real file rather than another symlink,
     15084    # but for link time we create the symlink libNAME.so -> libNAME.so.V
     15085
     15086    case $with_aix_soname,$aix_use_runtimelinking in
     15087    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
     15088    # soname into executable. Probably we can add versioning support to
     15089    # collect2, so additional links can be useful in future.
     15090    aix,yes) # traditional libtool
     15091      dynamic_linker='AIX unversionable lib.so'
     15092      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
     15093      # instead of lib<name>.a to let people know that these are not
     15094      # typical AIX shared libraries.
     15095      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     15096      ;;
     15097    aix,no) # traditional AIX only
     15098      dynamic_linker='AIX lib.a(lib.so.V)'
     15099      # We preserve .a as extension for shared libraries through AIX4.2
     15100      # and later when we are not doing run time linking.
     15101      library_names_spec='$libname$release.a $libname.a'
     15102      soname_spec='$libname$release$shared_ext$major'
     15103      ;;
     15104    svr4,*) # full svr4 only
     15105      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
     15106      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
     15107      # We do not specify a path in Import Files, so LIBPATH fires.
     15108      shlibpath_overrides_runpath=yes
     15109      ;;
     15110    *,yes) # both, prefer svr4
     15111      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
     15112      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
     15113      # unpreferred sharedlib libNAME.a needs extra handling
     15114      postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
     15115      postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
     15116      # We do not specify a path in Import Files, so LIBPATH fires.
     15117      shlibpath_overrides_runpath=yes
     15118      ;;
     15119    *,no) # both, prefer aix
     15120      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
     15121      library_names_spec='$libname$release.a $libname.a'
     15122      soname_spec='$libname$release$shared_ext$major'
     15123      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
     15124      postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
     15125      postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
     15126      ;;
     15127    esac
     15128    shlibpath_var=LIBPATH
     15129  fi
     15130  ;;
     15131
     15132amigaos*)
     15133  case $host_cpu in
     15134  powerpc)
     15135    # Since July 2007 AmigaOS4 officially supports .so libraries.
     15136    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
     15137    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     15138    ;;
     15139  m68k)
     15140    library_names_spec='$libname.ixlibrary $libname.a'
     15141    # Create ${libname}_ixlibrary.a entries in /sys/libs.
     15142    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
     15143    ;;
     15144  esac
     15145  ;;
     15146
     15147beos*)
     15148  library_names_spec='$libname$shared_ext'
     15149  dynamic_linker="$host_os ld.so"
     15150  shlibpath_var=LIBRARY_PATH
     15151  ;;
     15152
     15153bsdi[45]*)
     15154  version_type=linux # correct to gnu/linux during the next big refactor
     15155  need_version=no
     15156  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     15157  soname_spec='$libname$release$shared_ext$major'
     15158  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
     15159  shlibpath_var=LD_LIBRARY_PATH
     15160  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
     15161  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
     15162  # the default ld.so.conf also contains /usr/contrib/lib and
     15163  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
     15164  # libtool to hard-code these into programs
     15165  ;;
     15166
     15167cygwin* | mingw* | pw32* | cegcc*)
     15168  version_type=windows
     15169  shrext_cmds=.dll
     15170  need_version=no
     15171  need_lib_prefix=no
     15172
     15173  case $GCC,$cc_basename in
     15174  yes,*)
     15175    # gcc
     15176    library_names_spec='$libname.dll.a'
     15177    # DLL is installed to $(libdir)/../bin by postinstall_cmds
     15178    postinstall_cmds='base_file=`basename \$file`~
     15179      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
     15180      dldir=$destdir/`dirname \$dlpath`~
     15181      test -d \$dldir || mkdir -p \$dldir~
     15182      $install_prog $dir/$dlname \$dldir/$dlname~
     15183      chmod a+x \$dldir/$dlname~
     15184      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
     15185        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
     15186      fi'
     15187    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
     15188      dlpath=$dir/\$dldll~
     15189       $RM \$dlpath'
     15190    shlibpath_overrides_runpath=yes
     15191
     15192    case $host_os in
     15193    cygwin*)
     15194      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
     15195      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
     15196
     15197      ;;
     15198    mingw* | cegcc*)
     15199      # MinGW DLLs use traditional 'lib' prefix
     15200      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
     15201      ;;
     15202    pw32*)
     15203      # pw32 DLLs use 'pw' prefix rather than 'lib'
     15204      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
     15205      ;;
     15206    esac
     15207    dynamic_linker='Win32 ld.exe'
     15208    ;;
     15209
     15210  *,cl*)
     15211    # Native MSVC
     15212    libname_spec='$name'
     15213    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
     15214    library_names_spec='$libname.dll.lib'
     15215
     15216    case $build_os in
     15217    mingw*)
     15218      sys_lib_search_path_spec=
     15219      lt_save_ifs=$IFS
     15220      IFS=';'
     15221      for lt_path in $LIB
     15222      do
     15223        IFS=$lt_save_ifs
     15224        # Let DOS variable expansion print the short 8.3 style file name.
     15225        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
     15226        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
     15227      done
     15228      IFS=$lt_save_ifs
     15229      # Convert to MSYS style.
     15230      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
     15231      ;;
     15232    cygwin*)
     15233      # Convert to unix form, then to dos form, then back to unix form
     15234      # but this time dos style (no spaces!) so that the unix form looks
     15235      # like /cygdrive/c/PROGRA~1:/cygdr...
     15236      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
     15237      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
     15238      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
     15239      ;;
     15240    *)
     15241      sys_lib_search_path_spec=$LIB
     15242      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
     15243        # It is most probably a Windows format PATH.
     15244        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
     15245      else
     15246        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
     15247      fi
     15248      # FIXME: find the short name or the path components, as spaces are
     15249      # common. (e.g. "Program Files" -> "PROGRA~1")
     15250      ;;
     15251    esac
     15252
     15253    # DLL is installed to $(libdir)/../bin by postinstall_cmds
     15254    postinstall_cmds='base_file=`basename \$file`~
     15255      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
     15256      dldir=$destdir/`dirname \$dlpath`~
     15257      test -d \$dldir || mkdir -p \$dldir~
     15258      $install_prog $dir/$dlname \$dldir/$dlname'
     15259    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
     15260      dlpath=$dir/\$dldll~
     15261       $RM \$dlpath'
     15262    shlibpath_overrides_runpath=yes
     15263    dynamic_linker='Win32 link.exe'
     15264    ;;
     15265
     15266  *)
     15267    # Assume MSVC wrapper
     15268    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
     15269    dynamic_linker='Win32 ld.exe'
     15270    ;;
     15271  esac
     15272  # FIXME: first we should search . and the directory the executable is in
     15273  shlibpath_var=PATH
     15274  ;;
     15275
     15276darwin* | rhapsody*)
     15277  dynamic_linker="$host_os dyld"
     15278  version_type=darwin
     15279  need_lib_prefix=no
     15280  need_version=no
     15281  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
     15282  soname_spec='$libname$release$major$shared_ext'
     15283  shlibpath_overrides_runpath=yes
     15284  shlibpath_var=DYLD_LIBRARY_PATH
     15285  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
     15286
     15287  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
     15288  ;;
     15289
     15290dgux*)
     15291  version_type=linux # correct to gnu/linux during the next big refactor
     15292  need_lib_prefix=no
     15293  need_version=no
     15294  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     15295  soname_spec='$libname$release$shared_ext$major'
     15296  shlibpath_var=LD_LIBRARY_PATH
     15297  ;;
     15298
     15299freebsd* | dragonfly*)
     15300  # DragonFly does not have aout.  When/if they implement a new
     15301  # versioning mechanism, adjust this.
     15302  if test -x /usr/bin/objformat; then
     15303    objformat=`/usr/bin/objformat`
     15304  else
     15305    case $host_os in
     15306    freebsd[23].*) objformat=aout ;;
     15307    *) objformat=elf ;;
     15308    esac
     15309  fi
     15310  version_type=freebsd-$objformat
     15311  case $version_type in
     15312    freebsd-elf*)
     15313      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     15314      soname_spec='$libname$release$shared_ext$major'
     15315      need_version=no
     15316      need_lib_prefix=no
     15317      ;;
     15318    freebsd-*)
     15319      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
     15320      need_version=yes
     15321      ;;
     15322  esac
     15323  shlibpath_var=LD_LIBRARY_PATH
     15324  case $host_os in
     15325  freebsd2.*)
     15326    shlibpath_overrides_runpath=yes
     15327    ;;
     15328  freebsd3.[01]* | freebsdelf3.[01]*)
     15329    shlibpath_overrides_runpath=yes
     15330    hardcode_into_libs=yes
     15331    ;;
     15332  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
     15333  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
     15334    shlibpath_overrides_runpath=no
     15335    hardcode_into_libs=yes
     15336    ;;
     15337  *) # from 4.6 on, and DragonFly
     15338    shlibpath_overrides_runpath=yes
     15339    hardcode_into_libs=yes
     15340    ;;
     15341  esac
     15342  ;;
     15343
     15344haiku*)
     15345  version_type=linux # correct to gnu/linux during the next big refactor
     15346  need_lib_prefix=no
     15347  need_version=no
     15348  dynamic_linker="$host_os runtime_loader"
     15349  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     15350  soname_spec='$libname$release$shared_ext$major'
     15351  shlibpath_var=LIBRARY_PATH
     15352  shlibpath_overrides_runpath=no
     15353  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
     15354  hardcode_into_libs=yes
     15355  ;;
     15356
     15357hpux9* | hpux10* | hpux11*)
     15358  # Give a soname corresponding to the major version so that dld.sl refuses to
     15359  # link against other versions.
     15360  version_type=sunos
     15361  need_lib_prefix=no
     15362  need_version=no
     15363  case $host_cpu in
     15364  ia64*)
     15365    shrext_cmds='.so'
     15366    hardcode_into_libs=yes
     15367    dynamic_linker="$host_os dld.so"
     15368    shlibpath_var=LD_LIBRARY_PATH
     15369    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
     15370    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     15371    soname_spec='$libname$release$shared_ext$major'
     15372    if test 32 = "$HPUX_IA64_MODE"; then
     15373      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
     15374      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
     15375    else
     15376      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
     15377      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
     15378    fi
     15379    ;;
     15380  hppa*64*)
     15381    shrext_cmds='.sl'
     15382    hardcode_into_libs=yes
     15383    dynamic_linker="$host_os dld.sl"
     15384    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
     15385    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
     15386    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     15387    soname_spec='$libname$release$shared_ext$major'
     15388    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
     15389    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
     15390    ;;
     15391  *)
     15392    shrext_cmds='.sl'
     15393    dynamic_linker="$host_os dld.sl"
     15394    shlibpath_var=SHLIB_PATH
     15395    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
     15396    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     15397    soname_spec='$libname$release$shared_ext$major'
     15398    ;;
     15399  esac
     15400  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
     15401  postinstall_cmds='chmod 555 $lib'
     15402  # or fails outright, so override atomically:
     15403  install_override_mode=555
     15404  ;;
     15405
     15406interix[3-9]*)
     15407  version_type=linux # correct to gnu/linux during the next big refactor
     15408  need_lib_prefix=no
     15409  need_version=no
     15410  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     15411  soname_spec='$libname$release$shared_ext$major'
     15412  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
     15413  shlibpath_var=LD_LIBRARY_PATH
     15414  shlibpath_overrides_runpath=no
     15415  hardcode_into_libs=yes
     15416  ;;
     15417
     15418irix5* | irix6* | nonstopux*)
     15419  case $host_os in
     15420    nonstopux*) version_type=nonstopux ;;
     15421    *)
     15422        if test yes = "$lt_cv_prog_gnu_ld"; then
     15423                version_type=linux # correct to gnu/linux during the next big refactor
     15424        else
     15425                version_type=irix
     15426        fi ;;
     15427  esac
     15428  need_lib_prefix=no
     15429  need_version=no
     15430  soname_spec='$libname$release$shared_ext$major'
     15431  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
     15432  case $host_os in
     15433  irix5* | nonstopux*)
     15434    libsuff= shlibsuff=
     15435    ;;
     15436  *)
     15437    case $LD in # libtool.m4 will add one of these switches to LD
     15438    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
     15439      libsuff= shlibsuff= libmagic=32-bit;;
     15440    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
     15441      libsuff=32 shlibsuff=N32 libmagic=N32;;
     15442    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
     15443      libsuff=64 shlibsuff=64 libmagic=64-bit;;
     15444    *) libsuff= shlibsuff= libmagic=never-match;;
     15445    esac
     15446    ;;
     15447  esac
     15448  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
     15449  shlibpath_overrides_runpath=no
     15450  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
     15451  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
     15452  hardcode_into_libs=yes
     15453  ;;
     15454
     15455# No shared lib support for Linux oldld, aout, or coff.
     15456linux*oldld* | linux*aout* | linux*coff*)
     15457  dynamic_linker=no
     15458  ;;
     15459
     15460linux*android*)
     15461  version_type=none # Android doesn't support versioned libraries.
     15462  need_lib_prefix=no
     15463  need_version=no
     15464  library_names_spec='$libname$release$shared_ext'
     15465  soname_spec='$libname$release$shared_ext'
     15466  finish_cmds=
     15467  shlibpath_var=LD_LIBRARY_PATH
     15468  shlibpath_overrides_runpath=yes
     15469
     15470  # This implies no fast_install, which is unacceptable.
     15471  # Some rework will be needed to allow for fast_install
     15472  # before this can be enabled.
     15473  hardcode_into_libs=yes
     15474
     15475  dynamic_linker='Android linker'
     15476  # Don't embed -rpath directories since the linker doesn't support them.
     15477  hardcode_libdir_flag_spec_CXX='-L$libdir'
     15478  ;;
     15479
     15480# This must be glibc/ELF.
     15481linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
     15482  version_type=linux # correct to gnu/linux during the next big refactor
     15483  need_lib_prefix=no
     15484  need_version=no
     15485  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     15486  soname_spec='$libname$release$shared_ext$major'
     15487  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
     15488  shlibpath_var=LD_LIBRARY_PATH
     15489  shlibpath_overrides_runpath=no
     15490
     15491  # Some binutils ld are patched to set DT_RUNPATH
     15492  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
     15493  $as_echo_n "(cached) " >&6
     15494else
     15495  lt_cv_shlibpath_overrides_runpath=no
     15496    save_LDFLAGS=$LDFLAGS
     15497    save_libdir=$libdir
     15498    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
     15499         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
     15500    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     15501/* end confdefs.h.  */
     15502
     15503int
     15504main ()
     15505{
     15506
     15507  ;
     15508  return 0;
     15509}
     15510_ACEOF
     15511if ac_fn_cxx_try_link "$LINENO"; then :
     15512  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
     15513  lt_cv_shlibpath_overrides_runpath=yes
     15514fi
     15515fi
     15516rm -f core conftest.err conftest.$ac_objext \
     15517    conftest$ac_exeext conftest.$ac_ext
     15518    LDFLAGS=$save_LDFLAGS
     15519    libdir=$save_libdir
     15520
     15521fi
     15522
     15523  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
     15524
     15525  # This implies no fast_install, which is unacceptable.
     15526  # Some rework will be needed to allow for fast_install
     15527  # before this can be enabled.
     15528  hardcode_into_libs=yes
     15529
     15530  # Ideally, we could use ldconfig to report *all* directores which are
     15531  # searched for libraries, however this is still not possible.  Aside from not
     15532  # being certain /sbin/ldconfig is available, command
     15533  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
     15534  # even though it is searched at run-time.  Try to do the best guess by
     15535  # appending ld.so.conf contents (and includes) to the search path.
     15536  if test -f /etc/ld.so.conf; then
     15537    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' ' '`
     15538    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
     15539  fi
     15540
     15541  # We used to test for /lib/ld.so.1 and disable shared libraries on
     15542  # powerpc, because MkLinux only supported shared libraries with the
     15543  # GNU dynamic linker.  Since this was broken with cross compilers,
     15544  # most powerpc-linux boxes support dynamic linking these days and
     15545  # people can always --disable-shared, the test was removed, and we
     15546  # assume the GNU/Linux dynamic linker is in use.
     15547  dynamic_linker='GNU/Linux ld.so'
     15548  ;;
     15549
     15550netbsdelf*-gnu)
     15551  version_type=linux
     15552  need_lib_prefix=no
     15553  need_version=no
     15554  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
     15555  soname_spec='${libname}${release}${shared_ext}$major'
     15556  shlibpath_var=LD_LIBRARY_PATH
     15557  shlibpath_overrides_runpath=no
     15558  hardcode_into_libs=yes
     15559  dynamic_linker='NetBSD ld.elf_so'
     15560  ;;
     15561
     15562netbsd*)
     15563  version_type=sunos
     15564  need_lib_prefix=no
     15565  need_version=no
     15566  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
     15567    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
     15568    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
     15569    dynamic_linker='NetBSD (a.out) ld.so'
     15570  else
     15571    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     15572    soname_spec='$libname$release$shared_ext$major'
     15573    dynamic_linker='NetBSD ld.elf_so'
     15574  fi
     15575  shlibpath_var=LD_LIBRARY_PATH
     15576  shlibpath_overrides_runpath=yes
     15577  hardcode_into_libs=yes
     15578  ;;
     15579
     15580newsos6)
     15581  version_type=linux # correct to gnu/linux during the next big refactor
     15582  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     15583  shlibpath_var=LD_LIBRARY_PATH
     15584  shlibpath_overrides_runpath=yes
     15585  ;;
     15586
     15587*nto* | *qnx*)
     15588  version_type=qnx
     15589  need_lib_prefix=no
     15590  need_version=no
     15591  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     15592  soname_spec='$libname$release$shared_ext$major'
     15593  shlibpath_var=LD_LIBRARY_PATH
     15594  shlibpath_overrides_runpath=no
     15595  hardcode_into_libs=yes
     15596  dynamic_linker='ldqnx.so'
     15597  ;;
     15598
     15599openbsd* | bitrig*)
     15600  version_type=sunos
     15601  sys_lib_dlsearch_path_spec=/usr/lib
     15602  need_lib_prefix=no
     15603  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
     15604    need_version=no
     15605  else
     15606    need_version=yes
     15607  fi
     15608  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
     15609  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
     15610  shlibpath_var=LD_LIBRARY_PATH
     15611  shlibpath_overrides_runpath=yes
     15612  ;;
     15613
     15614os2*)
     15615  libname_spec='$name'
     15616  version_type=windows
     15617  shrext_cmds=.dll
     15618  need_version=no
     15619  need_lib_prefix=no
     15620  # OS/2 can only load a DLL with a base name of 8 characters or less.
     15621  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
     15622    v=$($ECHO $release$versuffix | tr -d .-);
     15623    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
     15624    $ECHO $n$v`$shared_ext'
     15625  library_names_spec='${libname}_dll.$libext'
     15626  dynamic_linker='OS/2 ld.exe'
     15627  shlibpath_var=BEGINLIBPATH
     15628  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
     15629  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
     15630  postinstall_cmds='base_file=`basename \$file`~
     15631    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
     15632    dldir=$destdir/`dirname \$dlpath`~
     15633    test -d \$dldir || mkdir -p \$dldir~
     15634    $install_prog $dir/$dlname \$dldir/$dlname~
     15635    chmod a+x \$dldir/$dlname~
     15636    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
     15637      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
     15638    fi'
     15639  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
     15640    dlpath=$dir/\$dldll~
     15641    $RM \$dlpath'
     15642  ;;
     15643
     15644osf3* | osf4* | osf5*)
     15645  version_type=osf
     15646  need_lib_prefix=no
     15647  need_version=no
     15648  soname_spec='$libname$release$shared_ext$major'
     15649  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     15650  shlibpath_var=LD_LIBRARY_PATH
     15651  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
     15652  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
     15653  ;;
     15654
     15655rdos*)
     15656  dynamic_linker=no
     15657  ;;
     15658
     15659solaris*)
     15660  version_type=linux # correct to gnu/linux during the next big refactor
     15661  need_lib_prefix=no
     15662  need_version=no
     15663  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     15664  soname_spec='$libname$release$shared_ext$major'
     15665  shlibpath_var=LD_LIBRARY_PATH
     15666  shlibpath_overrides_runpath=yes
     15667  hardcode_into_libs=yes
     15668  # ldd complains unless libraries are executable
     15669  postinstall_cmds='chmod +x $lib'
     15670  ;;
     15671
     15672sunos4*)
     15673  version_type=sunos
     15674  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
     15675  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
     15676  shlibpath_var=LD_LIBRARY_PATH
     15677  shlibpath_overrides_runpath=yes
     15678  if test yes = "$with_gnu_ld"; then
     15679    need_lib_prefix=no
     15680  fi
     15681  need_version=yes
     15682  ;;
     15683
     15684sysv4 | sysv4.3*)
     15685  version_type=linux # correct to gnu/linux during the next big refactor
     15686  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     15687  soname_spec='$libname$release$shared_ext$major'
     15688  shlibpath_var=LD_LIBRARY_PATH
     15689  case $host_vendor in
     15690    sni)
     15691      shlibpath_overrides_runpath=no
     15692      need_lib_prefix=no
     15693      runpath_var=LD_RUN_PATH
     15694      ;;
     15695    siemens)
     15696      need_lib_prefix=no
     15697      ;;
     15698    motorola)
     15699      need_lib_prefix=no
     15700      need_version=no
     15701      shlibpath_overrides_runpath=no
     15702      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
     15703      ;;
     15704  esac
     15705  ;;
     15706
     15707sysv4*MP*)
     15708  if test -d /usr/nec; then
     15709    version_type=linux # correct to gnu/linux during the next big refactor
     15710    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
     15711    soname_spec='$libname$shared_ext.$major'
     15712    shlibpath_var=LD_LIBRARY_PATH
     15713  fi
     15714  ;;
     15715
     15716sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
     15717  version_type=sco
     15718  need_lib_prefix=no
     15719  need_version=no
     15720  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
     15721  soname_spec='$libname$release$shared_ext$major'
     15722  shlibpath_var=LD_LIBRARY_PATH
     15723  shlibpath_overrides_runpath=yes
     15724  hardcode_into_libs=yes
     15725  if test yes = "$with_gnu_ld"; then
     15726    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
     15727  else
     15728    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
     15729    case $host_os in
     15730      sco3.2v5*)
     15731        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
     15732        ;;
     15733    esac
     15734  fi
     15735  sys_lib_dlsearch_path_spec='/usr/lib'
     15736  ;;
     15737
     15738tpf*)
     15739  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
     15740  version_type=linux # correct to gnu/linux during the next big refactor
     15741  need_lib_prefix=no
     15742  need_version=no
     15743  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     15744  shlibpath_var=LD_LIBRARY_PATH
     15745  shlibpath_overrides_runpath=no
     15746  hardcode_into_libs=yes
     15747  ;;
     15748
     15749uts4*)
     15750  version_type=linux # correct to gnu/linux during the next big refactor
     15751  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
     15752  soname_spec='$libname$release$shared_ext$major'
     15753  shlibpath_var=LD_LIBRARY_PATH
     15754  ;;
     15755
     15756*)
     15757  dynamic_linker=no
     15758  ;;
     15759esac
     15760{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
     15761$as_echo "$dynamic_linker" >&6; }
     15762test no = "$dynamic_linker" && can_build_shared=no
     15763
     15764variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
     15765if test yes = "$GCC"; then
     15766  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
     15767fi
     15768
     15769if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
     15770  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
     15771fi
     15772
     15773if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
     15774  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
     15775fi
     15776
     15777# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
     15778configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
     15779
     15780# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
     15781func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
     15782
     15783# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
     15784configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
     15785
     15786
     15787
     15788
     15789
     15790
     15791
     15792
     15793
     15794
     15795
     15796
     15797
     15798
     15799
     15800
     15801
     15802
     15803
     15804
     15805
     15806
     15807
     15808
     15809
     15810
     15811
     15812
     15813
     15814
     15815
     15816
     15817
     15818
     15819
     15820
     15821
     15822
     15823
     15824
     15825    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
     15826$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
     15827hardcode_action_CXX=
     15828if test -n "$hardcode_libdir_flag_spec_CXX" ||
     15829   test -n "$runpath_var_CXX" ||
     15830   test yes = "$hardcode_automatic_CXX"; then
     15831
     15832  # We can hardcode non-existent directories.
     15833  if test no != "$hardcode_direct_CXX" &&
     15834     # If the only mechanism to avoid hardcoding is shlibpath_var, we
     15835     # have to relink, otherwise we might link with an installed library
     15836     # when we should be linking with a yet-to-be-installed one
     15837     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
     15838     test no != "$hardcode_minus_L_CXX"; then
     15839    # Linking always hardcodes the temporary library directory.
     15840    hardcode_action_CXX=relink
     15841  else
     15842    # We can link without hardcoding, and we can hardcode nonexisting dirs.
     15843    hardcode_action_CXX=immediate
     15844  fi
     15845else
     15846  # We cannot hardcode anything, or else we can only hardcode existing
     15847  # directories.
     15848  hardcode_action_CXX=unsupported
     15849fi
     15850{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
     15851$as_echo "$hardcode_action_CXX" >&6; }
     15852
     15853if test relink = "$hardcode_action_CXX" ||
     15854   test yes = "$inherit_rpath_CXX"; then
     15855  # Fast installation is not supported
     15856  enable_fast_install=no
     15857elif test yes = "$shlibpath_overrides_runpath" ||
     15858     test no = "$enable_shared"; then
     15859  # Fast installation is not necessary
     15860  enable_fast_install=needless
     15861fi
     15862
     15863
     15864
     15865
     15866
     15867
     15868
     15869  fi # test -n "$compiler"
     15870
     15871  CC=$lt_save_CC
     15872  CFLAGS=$lt_save_CFLAGS
     15873  LDCXX=$LD
     15874  LD=$lt_save_LD
     15875  GCC=$lt_save_GCC
     15876  with_gnu_ld=$lt_save_with_gnu_ld
     15877  lt_cv_path_LDCXX=$lt_cv_path_LD
     15878  lt_cv_path_LD=$lt_save_path_LD
     15879  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
     15880  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
     15881fi # test yes != "$_lt_caught_CXX_error"
     15882
     15883ac_ext=c
     15884ac_cpp='$CPP $CPPFLAGS'
     15885ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     15886ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     15887ac_compiler_gnu=$ac_cv_c_compiler_gnu
     15888
     15889
    333115890ac_ext=c
    333215891ac_cpp='$CPP $CPPFLAGS'
     
    422016779fi
    422116780
    4222 if test -n "$ac_tool_prefix"; then
    4223   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    4224 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    4225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    4226 $as_echo_n "checking for $ac_word... " >&6; }
    4227 if ${ac_cv_prog_RANLIB+:} false; then :
    4228   $as_echo_n "(cached) " >&6
    4229 else
    4230   if test -n "$RANLIB"; then
    4231   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
    4232 else
    4233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4234 for as_dir in $PATH
    4235 do
    4236   IFS=$as_save_IFS
    4237   test -z "$as_dir" && as_dir=.
    4238     for ac_exec_ext in '' $ac_executable_extensions; do
    4239   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    4240     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    4241     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    4242     break 2
    4243   fi
    4244 done
    4245   done
    4246 IFS=$as_save_IFS
    4247 
    4248 fi
    4249 fi
    4250 RANLIB=$ac_cv_prog_RANLIB
    4251 if test -n "$RANLIB"; then
    4252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
    4253 $as_echo "$RANLIB" >&6; }
    4254 else
    4255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    4256 $as_echo "no" >&6; }
    4257 fi
    4258 
    4259 
    4260 fi
    4261 if test -z "$ac_cv_prog_RANLIB"; then
    4262   ac_ct_RANLIB=$RANLIB
    4263   # Extract the first word of "ranlib", so it can be a program name with args.
    4264 set dummy ranlib; ac_word=$2
    4265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    4266 $as_echo_n "checking for $ac_word... " >&6; }
    4267 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
    4268   $as_echo_n "(cached) " >&6
    4269 else
    4270   if test -n "$ac_ct_RANLIB"; then
    4271   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
    4272 else
    4273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4274 for as_dir in $PATH
    4275 do
    4276   IFS=$as_save_IFS
    4277   test -z "$as_dir" && as_dir=.
    4278     for ac_exec_ext in '' $ac_executable_extensions; do
    4279   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    4280     ac_cv_prog_ac_ct_RANLIB="ranlib"
    4281     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    4282     break 2
    4283   fi
    4284 done
    4285   done
    4286 IFS=$as_save_IFS
    4287 
    4288 fi
    4289 fi
    4290 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    4291 if test -n "$ac_ct_RANLIB"; then
    4292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
    4293 $as_echo "$ac_ct_RANLIB" >&6; }
    4294 else
    4295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    4296 $as_echo "no" >&6; }
    4297 fi
    4298 
    4299   if test "x$ac_ct_RANLIB" = x; then
    4300     RANLIB=":"
    4301   else
    4302     case $cross_compiling:$ac_tool_warned in
    4303 yes:)
    4304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    4305 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    4306 ac_tool_warned=yes ;;
    4307 esac
    4308     RANLIB=$ac_ct_RANLIB
    4309   fi
    4310 else
    4311   RANLIB="$ac_cv_prog_RANLIB"
    4312 fi
    4313 
    431416781
    431516782ac_config_files="$ac_config_files Makefile src/Makefile prelude/Makefile"
     
    448116948Usually this means the macro was only invoked conditionally." "$LINENO" 5
    448216949fi
     16950if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
     16951  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
     16952Usually this means the macro was only invoked conditionally." "$LINENO" 5
     16953fi
    448316954if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
    448416955  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
     
    505717528AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
    505817529
     17530
     17531# The HP-UX ksh and POSIX shell print the target directory to stdout
     17532# if CDPATH is set.
     17533(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     17534
     17535sed_quote_subst='$sed_quote_subst'
     17536double_quote_subst='$double_quote_subst'
     17537delay_variable_subst='$delay_variable_subst'
     17538macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
     17539macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
     17540enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
     17541enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
     17542pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
     17543enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
     17544shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
     17545SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
     17546ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
     17547PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
     17548host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
     17549host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
     17550host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
     17551build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
     17552build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
     17553build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
     17554SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
     17555Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
     17556GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
     17557EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
     17558FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
     17559LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
     17560NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
     17561LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
     17562max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
     17563ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
     17564exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
     17565lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
     17566lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
     17567lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
     17568lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
     17569lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
     17570reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
     17571reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
     17572OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
     17573deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
     17574file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
     17575file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
     17576want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
     17577DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
     17578sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
     17579AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
     17580AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
     17581archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
     17582STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
     17583RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
     17584old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
     17585old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
     17586old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
     17587lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
     17588CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
     17589CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
     17590compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
     17591GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
     17592lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
     17593lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
     17594lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
     17595lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
     17596lt_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"`'
     17597lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
     17598nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
     17599lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
     17600lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
     17601objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
     17602MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
     17603lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
     17604lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
     17605lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
     17606lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
     17607lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
     17608need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
     17609MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
     17610DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
     17611NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
     17612LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
     17613OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
     17614OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
     17615libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
     17616shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
     17617extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
     17618archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
     17619enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
     17620export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
     17621whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
     17622compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
     17623old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
     17624old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
     17625archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
     17626archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
     17627module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
     17628module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
     17629with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
     17630allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
     17631no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
     17632hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
     17633hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
     17634hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
     17635hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
     17636hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
     17637hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
     17638hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
     17639inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
     17640link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
     17641always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
     17642export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
     17643exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
     17644include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
     17645prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
     17646postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
     17647file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
     17648variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
     17649need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
     17650need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
     17651version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
     17652runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
     17653shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
     17654shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
     17655libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
     17656library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
     17657soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
     17658install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
     17659postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
     17660postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
     17661finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
     17662finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
     17663hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
     17664sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
     17665configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
     17666configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
     17667hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
     17668enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
     17669enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
     17670enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
     17671old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
     17672striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
     17673compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
     17674predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
     17675postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
     17676predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
     17677postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
     17678compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
     17679LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
     17680reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
     17681reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
     17682old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
     17683compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
     17684GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
     17685lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
     17686lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
     17687lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
     17688lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
     17689lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
     17690archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
     17691enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
     17692export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
     17693whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
     17694compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
     17695old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
     17696old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
     17697archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
     17698archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
     17699module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
     17700module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
     17701with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
     17702allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
     17703no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
     17704hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
     17705hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
     17706hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
     17707hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
     17708hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
     17709hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
     17710hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
     17711inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
     17712link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
     17713always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
     17714export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
     17715exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
     17716include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
     17717prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
     17718postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
     17719file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
     17720hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
     17721compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
     17722predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
     17723postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
     17724predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
     17725postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
     17726compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
     17727
     17728LTCC='$LTCC'
     17729LTCFLAGS='$LTCFLAGS'
     17730compiler='$compiler_DEFAULT'
     17731
     17732# A function that is used when there is no print builtin or printf.
     17733func_fallback_echo ()
     17734{
     17735  eval 'cat <<_LTECHO_EOF
     17736\$1
     17737_LTECHO_EOF'
     17738}
     17739
     17740# Quote evaled strings.
     17741for var in SHELL \
     17742ECHO \
     17743PATH_SEPARATOR \
     17744SED \
     17745GREP \
     17746EGREP \
     17747FGREP \
     17748LD \
     17749NM \
     17750LN_S \
     17751lt_SP2NL \
     17752lt_NL2SP \
     17753reload_flag \
     17754OBJDUMP \
     17755deplibs_check_method \
     17756file_magic_cmd \
     17757file_magic_glob \
     17758want_nocaseglob \
     17759DLLTOOL \
     17760sharedlib_from_linklib_cmd \
     17761AR \
     17762AR_FLAGS \
     17763archiver_list_spec \
     17764STRIP \
     17765RANLIB \
     17766CC \
     17767CFLAGS \
     17768compiler \
     17769lt_cv_sys_global_symbol_pipe \
     17770lt_cv_sys_global_symbol_to_cdecl \
     17771lt_cv_sys_global_symbol_to_import \
     17772lt_cv_sys_global_symbol_to_c_name_address \
     17773lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
     17774lt_cv_nm_interface \
     17775nm_file_list_spec \
     17776lt_cv_truncate_bin \
     17777lt_prog_compiler_no_builtin_flag \
     17778lt_prog_compiler_pic \
     17779lt_prog_compiler_wl \
     17780lt_prog_compiler_static \
     17781lt_cv_prog_compiler_c_o \
     17782need_locks \
     17783MANIFEST_TOOL \
     17784DSYMUTIL \
     17785NMEDIT \
     17786LIPO \
     17787OTOOL \
     17788OTOOL64 \
     17789shrext_cmds \
     17790export_dynamic_flag_spec \
     17791whole_archive_flag_spec \
     17792compiler_needs_object \
     17793with_gnu_ld \
     17794allow_undefined_flag \
     17795no_undefined_flag \
     17796hardcode_libdir_flag_spec \
     17797hardcode_libdir_separator \
     17798exclude_expsyms \
     17799include_expsyms \
     17800file_list_spec \
     17801variables_saved_for_relink \
     17802libname_spec \
     17803library_names_spec \
     17804soname_spec \
     17805install_override_mode \
     17806finish_eval \
     17807old_striplib \
     17808striplib \
     17809compiler_lib_search_dirs \
     17810predep_objects \
     17811postdep_objects \
     17812predeps \
     17813postdeps \
     17814compiler_lib_search_path \
     17815LD_CXX \
     17816reload_flag_CXX \
     17817compiler_CXX \
     17818lt_prog_compiler_no_builtin_flag_CXX \
     17819lt_prog_compiler_pic_CXX \
     17820lt_prog_compiler_wl_CXX \
     17821lt_prog_compiler_static_CXX \
     17822lt_cv_prog_compiler_c_o_CXX \
     17823export_dynamic_flag_spec_CXX \
     17824whole_archive_flag_spec_CXX \
     17825compiler_needs_object_CXX \
     17826with_gnu_ld_CXX \
     17827allow_undefined_flag_CXX \
     17828no_undefined_flag_CXX \
     17829hardcode_libdir_flag_spec_CXX \
     17830hardcode_libdir_separator_CXX \
     17831exclude_expsyms_CXX \
     17832include_expsyms_CXX \
     17833file_list_spec_CXX \
     17834compiler_lib_search_dirs_CXX \
     17835predep_objects_CXX \
     17836postdep_objects_CXX \
     17837predeps_CXX \
     17838postdeps_CXX \
     17839compiler_lib_search_path_CXX; do
     17840    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
     17841    *[\\\\\\\`\\"\\\$]*)
     17842      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
     17843      ;;
     17844    *)
     17845      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
     17846      ;;
     17847    esac
     17848done
     17849
     17850# Double-quote double-evaled strings.
     17851for var in reload_cmds \
     17852old_postinstall_cmds \
     17853old_postuninstall_cmds \
     17854old_archive_cmds \
     17855extract_expsyms_cmds \
     17856old_archive_from_new_cmds \
     17857old_archive_from_expsyms_cmds \
     17858archive_cmds \
     17859archive_expsym_cmds \
     17860module_cmds \
     17861module_expsym_cmds \
     17862export_symbols_cmds \
     17863prelink_cmds \
     17864postlink_cmds \
     17865postinstall_cmds \
     17866postuninstall_cmds \
     17867finish_cmds \
     17868sys_lib_search_path_spec \
     17869configure_time_dlsearch_path \
     17870configure_time_lt_sys_library_path \
     17871reload_cmds_CXX \
     17872old_archive_cmds_CXX \
     17873old_archive_from_new_cmds_CXX \
     17874old_archive_from_expsyms_cmds_CXX \
     17875archive_cmds_CXX \
     17876archive_expsym_cmds_CXX \
     17877module_cmds_CXX \
     17878module_expsym_cmds_CXX \
     17879export_symbols_cmds_CXX \
     17880prelink_cmds_CXX \
     17881postlink_cmds_CXX; do
     17882    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
     17883    *[\\\\\\\`\\"\\\$]*)
     17884      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
     17885      ;;
     17886    *)
     17887      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
     17888      ;;
     17889    esac
     17890done
     17891
     17892ac_aux_dir='$ac_aux_dir'
     17893
     17894# See if we are running on zsh, and set the options that allow our
     17895# commands through without removal of \ escapes INIT.
     17896if test -n "\${ZSH_VERSION+set}"; then
     17897   setopt NO_GLOB_SUBST
     17898fi
     17899
     17900
     17901    PACKAGE='$PACKAGE'
     17902    VERSION='$VERSION'
     17903    RM='$RM'
     17904    ofile='$ofile'
     17905
     17906
     17907
     17908
     17909
     17910
    505917911_ACEOF
    506017912
     
    506617918  case $ac_config_target in
    506717919    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
     17920    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
    506817921    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    506917922    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
     
    559118444}
    559218445 ;;
     18446    "libtool":C)
     18447
     18448    # See if we are running on zsh, and set the options that allow our
     18449    # commands through without removal of \ escapes.
     18450    if test -n "${ZSH_VERSION+set}"; then
     18451      setopt NO_GLOB_SUBST
     18452    fi
     18453
     18454    cfgfile=${ofile}T
     18455    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
     18456    $RM "$cfgfile"
     18457
     18458    cat <<_LT_EOF >> "$cfgfile"
     18459#! $SHELL
     18460# Generated automatically by $as_me ($PACKAGE) $VERSION
     18461# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
     18462# NOTE: Changes made to this file will be lost: look at ltmain.sh.
     18463
     18464# Provide generalized library-building support services.
     18465# Written by Gordon Matzigkeit, 1996
     18466
     18467# Copyright (C) 2014 Free Software Foundation, Inc.
     18468# This is free software; see the source for copying conditions.  There is NO
     18469# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
     18470
     18471# GNU Libtool is free software; you can redistribute it and/or modify
     18472# it under the terms of the GNU General Public License as published by
     18473# the Free Software Foundation; either version 2 of of the License, or
     18474# (at your option) any later version.
     18475#
     18476# As a special exception to the GNU General Public License, if you
     18477# distribute this file as part of a program or library that is built
     18478# using GNU Libtool, you may include this file under the  same
     18479# distribution terms that you use for the rest of that program.
     18480#
     18481# GNU Libtool is distributed in the hope that it will be useful, but
     18482# WITHOUT ANY WARRANTY; without even the implied warranty of
     18483# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     18484# GNU General Public License for more details.
     18485#
     18486# You should have received a copy of the GNU General Public License
     18487# along with this program.  If not, see <http://www.gnu.org/licenses/>.
     18488
     18489
     18490# The names of the tagged configurations supported by this script.
     18491available_tags='CXX '
     18492
     18493# Configured defaults for sys_lib_dlsearch_path munging.
     18494: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
     18495
     18496# ### BEGIN LIBTOOL CONFIG
     18497
     18498# Which release of libtool.m4 was used?
     18499macro_version=$macro_version
     18500macro_revision=$macro_revision
     18501
     18502# Whether or not to build shared libraries.
     18503build_libtool_libs=$enable_shared
     18504
     18505# Whether or not to build static libraries.
     18506build_old_libs=$enable_static
     18507
     18508# What type of objects to build.
     18509pic_mode=$pic_mode
     18510
     18511# Whether or not to optimize for fast installation.
     18512fast_install=$enable_fast_install
     18513
     18514# Shared archive member basename,for filename based shared library versioning on AIX.
     18515shared_archive_member_spec=$shared_archive_member_spec
     18516
     18517# Shell to use when invoking shell scripts.
     18518SHELL=$lt_SHELL
     18519
     18520# An echo program that protects backslashes.
     18521ECHO=$lt_ECHO
     18522
     18523# The PATH separator for the build system.
     18524PATH_SEPARATOR=$lt_PATH_SEPARATOR
     18525
     18526# The host system.
     18527host_alias=$host_alias
     18528host=$host
     18529host_os=$host_os
     18530
     18531# The build system.
     18532build_alias=$build_alias
     18533build=$build
     18534build_os=$build_os
     18535
     18536# A sed program that does not truncate output.
     18537SED=$lt_SED
     18538
     18539# Sed that helps us avoid accidentally triggering echo(1) options like -n.
     18540Xsed="\$SED -e 1s/^X//"
     18541
     18542# A grep program that handles long lines.
     18543GREP=$lt_GREP
     18544
     18545# An ERE matcher.
     18546EGREP=$lt_EGREP
     18547
     18548# A literal string matcher.
     18549FGREP=$lt_FGREP
     18550
     18551# A BSD- or MS-compatible name lister.
     18552NM=$lt_NM
     18553
     18554# Whether we need soft or hard links.
     18555LN_S=$lt_LN_S
     18556
     18557# What is the maximum length of a command?
     18558max_cmd_len=$max_cmd_len
     18559
     18560# Object file suffix (normally "o").
     18561objext=$ac_objext
     18562
     18563# Executable file suffix (normally "").
     18564exeext=$exeext
     18565
     18566# whether the shell understands "unset".
     18567lt_unset=$lt_unset
     18568
     18569# turn spaces into newlines.
     18570SP2NL=$lt_lt_SP2NL
     18571
     18572# turn newlines into spaces.
     18573NL2SP=$lt_lt_NL2SP
     18574
     18575# convert \$build file names to \$host format.
     18576to_host_file_cmd=$lt_cv_to_host_file_cmd
     18577
     18578# convert \$build files to toolchain format.
     18579to_tool_file_cmd=$lt_cv_to_tool_file_cmd
     18580
     18581# An object symbol dumper.
     18582OBJDUMP=$lt_OBJDUMP
     18583
     18584# Method to check whether dependent libraries are shared objects.
     18585deplibs_check_method=$lt_deplibs_check_method
     18586
     18587# Command to use when deplibs_check_method = "file_magic".
     18588file_magic_cmd=$lt_file_magic_cmd
     18589
     18590# How to find potential files when deplibs_check_method = "file_magic".
     18591file_magic_glob=$lt_file_magic_glob
     18592
     18593# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
     18594want_nocaseglob=$lt_want_nocaseglob
     18595
     18596# DLL creation program.
     18597DLLTOOL=$lt_DLLTOOL
     18598
     18599# Command to associate shared and link libraries.
     18600sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
     18601
     18602# The archiver.
     18603AR=$lt_AR
     18604
     18605# Flags to create an archive.
     18606AR_FLAGS=$lt_AR_FLAGS
     18607
     18608# How to feed a file listing to the archiver.
     18609archiver_list_spec=$lt_archiver_list_spec
     18610
     18611# A symbol stripping program.
     18612STRIP=$lt_STRIP
     18613
     18614# Commands used to install an old-style archive.
     18615RANLIB=$lt_RANLIB
     18616old_postinstall_cmds=$lt_old_postinstall_cmds
     18617old_postuninstall_cmds=$lt_old_postuninstall_cmds
     18618
     18619# Whether to use a lock for old archive extraction.
     18620lock_old_archive_extraction=$lock_old_archive_extraction
     18621
     18622# A C compiler.
     18623LTCC=$lt_CC
     18624
     18625# LTCC compiler flags.
     18626LTCFLAGS=$lt_CFLAGS
     18627
     18628# Take the output of nm and produce a listing of raw symbols and C names.
     18629global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
     18630
     18631# Transform the output of nm in a proper C declaration.
     18632global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
     18633
     18634# Transform the output of nm into a list of symbols to manually relocate.
     18635global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
     18636
     18637# Transform the output of nm in a C name address pair.
     18638global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
     18639
     18640# Transform the output of nm in a C name address pair when lib prefix is needed.
     18641global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
     18642
     18643# The name lister interface.
     18644nm_interface=$lt_lt_cv_nm_interface
     18645
     18646# Specify filename containing input files for \$NM.
     18647nm_file_list_spec=$lt_nm_file_list_spec
     18648
     18649# The root where to search for dependent libraries,and where our libraries should be installed.
     18650lt_sysroot=$lt_sysroot
     18651
     18652# Command to truncate a binary pipe.
     18653lt_truncate_bin=$lt_lt_cv_truncate_bin
     18654
     18655# The name of the directory that contains temporary libtool files.
     18656objdir=$objdir
     18657
     18658# Used to examine libraries when file_magic_cmd begins with "file".
     18659MAGIC_CMD=$MAGIC_CMD
     18660
     18661# Must we lock files when doing compilation?
     18662need_locks=$lt_need_locks
     18663
     18664# Manifest tool.
     18665MANIFEST_TOOL=$lt_MANIFEST_TOOL
     18666
     18667# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
     18668DSYMUTIL=$lt_DSYMUTIL
     18669
     18670# Tool to change global to local symbols on Mac OS X.
     18671NMEDIT=$lt_NMEDIT
     18672
     18673# Tool to manipulate fat objects and archives on Mac OS X.
     18674LIPO=$lt_LIPO
     18675
     18676# ldd/readelf like tool for Mach-O binaries on Mac OS X.
     18677OTOOL=$lt_OTOOL
     18678
     18679# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
     18680OTOOL64=$lt_OTOOL64
     18681
     18682# Old archive suffix (normally "a").
     18683libext=$libext
     18684
     18685# Shared library suffix (normally ".so").
     18686shrext_cmds=$lt_shrext_cmds
     18687
     18688# The commands to extract the exported symbol list from a shared archive.
     18689extract_expsyms_cmds=$lt_extract_expsyms_cmds
     18690
     18691# Variables whose values should be saved in libtool wrapper scripts and
     18692# restored at link time.
     18693variables_saved_for_relink=$lt_variables_saved_for_relink
     18694
     18695# Do we need the "lib" prefix for modules?
     18696need_lib_prefix=$need_lib_prefix
     18697
     18698# Do we need a version for libraries?
     18699need_version=$need_version
     18700
     18701# Library versioning type.
     18702version_type=$version_type
     18703
     18704# Shared library runtime path variable.
     18705runpath_var=$runpath_var
     18706
     18707# Shared library path variable.
     18708shlibpath_var=$shlibpath_var
     18709
     18710# Is shlibpath searched before the hard-coded library search path?
     18711shlibpath_overrides_runpath=$shlibpath_overrides_runpath
     18712
     18713# Format of library name prefix.
     18714libname_spec=$lt_libname_spec
     18715
     18716# List of archive names.  First name is the real one, the rest are links.
     18717# The last name is the one that the linker finds with -lNAME
     18718library_names_spec=$lt_library_names_spec
     18719
     18720# The coded name of the library, if different from the real name.
     18721soname_spec=$lt_soname_spec
     18722
     18723# Permission mode override for installation of shared libraries.
     18724install_override_mode=$lt_install_override_mode
     18725
     18726# Command to use after installation of a shared archive.
     18727postinstall_cmds=$lt_postinstall_cmds
     18728
     18729# Command to use after uninstallation of a shared archive.
     18730postuninstall_cmds=$lt_postuninstall_cmds
     18731
     18732# Commands used to finish a libtool library installation in a directory.
     18733finish_cmds=$lt_finish_cmds
     18734
     18735# As "finish_cmds", except a single script fragment to be evaled but
     18736# not shown.
     18737finish_eval=$lt_finish_eval
     18738
     18739# Whether we should hardcode library paths into libraries.
     18740hardcode_into_libs=$hardcode_into_libs
     18741
     18742# Compile-time system search path for libraries.
     18743sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
     18744
     18745# Detected run-time system search path for libraries.
     18746sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
     18747
     18748# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
     18749configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
     18750
     18751# Whether dlopen is supported.
     18752dlopen_support=$enable_dlopen
     18753
     18754# Whether dlopen of programs is supported.
     18755dlopen_self=$enable_dlopen_self
     18756
     18757# Whether dlopen of statically linked programs is supported.
     18758dlopen_self_static=$enable_dlopen_self_static
     18759
     18760# Commands to strip libraries.
     18761old_striplib=$lt_old_striplib
     18762striplib=$lt_striplib
     18763
     18764
     18765# The linker used to build libraries.
     18766LD=$lt_LD
     18767
     18768# How to create reloadable object files.
     18769reload_flag=$lt_reload_flag
     18770reload_cmds=$lt_reload_cmds
     18771
     18772# Commands used to build an old-style archive.
     18773old_archive_cmds=$lt_old_archive_cmds
     18774
     18775# A language specific compiler.
     18776CC=$lt_compiler
     18777
     18778# Is the compiler the GNU compiler?
     18779with_gcc=$GCC
     18780
     18781# Compiler flag to turn off builtin functions.
     18782no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
     18783
     18784# Additional compiler flags for building library objects.
     18785pic_flag=$lt_lt_prog_compiler_pic
     18786
     18787# How to pass a linker flag through the compiler.
     18788wl=$lt_lt_prog_compiler_wl
     18789
     18790# Compiler flag to prevent dynamic linking.
     18791link_static_flag=$lt_lt_prog_compiler_static
     18792
     18793# Does compiler simultaneously support -c and -o options?
     18794compiler_c_o=$lt_lt_cv_prog_compiler_c_o
     18795
     18796# Whether or not to add -lc for building shared libraries.
     18797build_libtool_need_lc=$archive_cmds_need_lc
     18798
     18799# Whether or not to disallow shared libs when runtime libs are static.
     18800allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
     18801
     18802# Compiler flag to allow reflexive dlopens.
     18803export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
     18804
     18805# Compiler flag to generate shared objects directly from archives.
     18806whole_archive_flag_spec=$lt_whole_archive_flag_spec
     18807
     18808# Whether the compiler copes with passing no objects directly.
     18809compiler_needs_object=$lt_compiler_needs_object
     18810
     18811# Create an old-style archive from a shared archive.
     18812old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
     18813
     18814# Create a temporary old-style archive to link instead of a shared archive.
     18815old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
     18816
     18817# Commands used to build a shared archive.
     18818archive_cmds=$lt_archive_cmds
     18819archive_expsym_cmds=$lt_archive_expsym_cmds
     18820
     18821# Commands used to build a loadable module if different from building
     18822# a shared archive.
     18823module_cmds=$lt_module_cmds
     18824module_expsym_cmds=$lt_module_expsym_cmds
     18825
     18826# Whether we are building with GNU ld or not.
     18827with_gnu_ld=$lt_with_gnu_ld
     18828
     18829# Flag that allows shared libraries with undefined symbols to be built.
     18830allow_undefined_flag=$lt_allow_undefined_flag
     18831
     18832# Flag that enforces no undefined symbols.
     18833no_undefined_flag=$lt_no_undefined_flag
     18834
     18835# Flag to hardcode \$libdir into a binary during linking.
     18836# This must work even if \$libdir does not exist
     18837hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
     18838
     18839# Whether we need a single "-rpath" flag with a separated argument.
     18840hardcode_libdir_separator=$lt_hardcode_libdir_separator
     18841
     18842# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
     18843# DIR into the resulting binary.
     18844hardcode_direct=$hardcode_direct
     18845
     18846# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
     18847# DIR into the resulting binary and the resulting library dependency is
     18848# "absolute",i.e impossible to change by setting \$shlibpath_var if the
     18849# library is relocated.
     18850hardcode_direct_absolute=$hardcode_direct_absolute
     18851
     18852# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
     18853# into the resulting binary.
     18854hardcode_minus_L=$hardcode_minus_L
     18855
     18856# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
     18857# into the resulting binary.
     18858hardcode_shlibpath_var=$hardcode_shlibpath_var
     18859
     18860# Set to "yes" if building a shared library automatically hardcodes DIR
     18861# into the library and all subsequent libraries and executables linked
     18862# against it.
     18863hardcode_automatic=$hardcode_automatic
     18864
     18865# Set to yes if linker adds runtime paths of dependent libraries
     18866# to runtime path list.
     18867inherit_rpath=$inherit_rpath
     18868
     18869# Whether libtool must link a program against all its dependency libraries.
     18870link_all_deplibs=$link_all_deplibs
     18871
     18872# Set to "yes" if exported symbols are required.
     18873always_export_symbols=$always_export_symbols
     18874
     18875# The commands to list exported symbols.
     18876export_symbols_cmds=$lt_export_symbols_cmds
     18877
     18878# Symbols that should not be listed in the preloaded symbols.
     18879exclude_expsyms=$lt_exclude_expsyms
     18880
     18881# Symbols that must always be exported.
     18882include_expsyms=$lt_include_expsyms
     18883
     18884# Commands necessary for linking programs (against libraries) with templates.
     18885prelink_cmds=$lt_prelink_cmds
     18886
     18887# Commands necessary for finishing linking programs.
     18888postlink_cmds=$lt_postlink_cmds
     18889
     18890# Specify filename containing input files.
     18891file_list_spec=$lt_file_list_spec
     18892
     18893# How to hardcode a shared library path into an executable.
     18894hardcode_action=$hardcode_action
     18895
     18896# The directories searched by this compiler when creating a shared library.
     18897compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
     18898
     18899# Dependencies to place before and after the objects being linked to
     18900# create a shared library.
     18901predep_objects=$lt_predep_objects
     18902postdep_objects=$lt_postdep_objects
     18903predeps=$lt_predeps
     18904postdeps=$lt_postdeps
     18905
     18906# The library search path used internally by the compiler when linking
     18907# a shared library.
     18908compiler_lib_search_path=$lt_compiler_lib_search_path
     18909
     18910# ### END LIBTOOL CONFIG
     18911
     18912_LT_EOF
     18913
     18914    cat <<'_LT_EOF' >> "$cfgfile"
     18915
     18916# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
     18917
     18918# func_munge_path_list VARIABLE PATH
     18919# -----------------------------------
     18920# VARIABLE is name of variable containing _space_ separated list of
     18921# directories to be munged by the contents of PATH, which is string
     18922# having a format:
     18923# "DIR[:DIR]:"
     18924#       string "DIR[ DIR]" will be prepended to VARIABLE
     18925# ":DIR[:DIR]"
     18926#       string "DIR[ DIR]" will be appended to VARIABLE
     18927# "DIRP[:DIRP]::[DIRA:]DIRA"
     18928#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
     18929#       "DIRA[ DIRA]" will be appended to VARIABLE
     18930# "DIR[:DIR]"
     18931#       VARIABLE will be replaced by "DIR[ DIR]"
     18932func_munge_path_list ()
     18933{
     18934    case x$2 in
     18935    x)
     18936        ;;
     18937    *:)
     18938        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
     18939        ;;
     18940    x:*)
     18941        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
     18942        ;;
     18943    *::*)
     18944        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
     18945        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
     18946        ;;
     18947    *)
     18948        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
     18949        ;;
     18950    esac
     18951}
     18952
     18953
     18954# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
     18955func_cc_basename ()
     18956{
     18957    for cc_temp in $*""; do
     18958      case $cc_temp in
     18959        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
     18960        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
     18961        \-*) ;;
     18962        *) break;;
     18963      esac
     18964    done
     18965    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
     18966}
     18967
     18968
     18969# ### END FUNCTIONS SHARED WITH CONFIGURE
     18970
     18971_LT_EOF
     18972
     18973  case $host_os in
     18974  aix3*)
     18975    cat <<\_LT_EOF >> "$cfgfile"
     18976# AIX sometimes has problems with the GCC collect2 program.  For some
     18977# reason, if we set the COLLECT_NAMES environment variable, the problems
     18978# vanish in a puff of smoke.
     18979if test set != "${COLLECT_NAMES+set}"; then
     18980  COLLECT_NAMES=
     18981  export COLLECT_NAMES
     18982fi
     18983_LT_EOF
     18984    ;;
     18985  esac
     18986
     18987
     18988ltmain=$ac_aux_dir/ltmain.sh
     18989
     18990
     18991  # We use sed instead of cat because bash on DJGPP gets confused if
     18992  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
     18993  # text mode, it properly converts lines to CR/LF.  This bash problem
     18994  # is reportedly fixed, but why not run on old versions too?
     18995  sed '$q' "$ltmain" >> "$cfgfile" \
     18996     || (rm -f "$cfgfile"; exit 1)
     18997
     18998   mv -f "$cfgfile" "$ofile" ||
     18999    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
     19000  chmod +x "$ofile"
     19001
     19002
     19003    cat <<_LT_EOF >> "$ofile"
     19004
     19005# ### BEGIN LIBTOOL TAG CONFIG: CXX
     19006
     19007# The linker used to build libraries.
     19008LD=$lt_LD_CXX
     19009
     19010# How to create reloadable object files.
     19011reload_flag=$lt_reload_flag_CXX
     19012reload_cmds=$lt_reload_cmds_CXX
     19013
     19014# Commands used to build an old-style archive.
     19015old_archive_cmds=$lt_old_archive_cmds_CXX
     19016
     19017# A language specific compiler.
     19018CC=$lt_compiler_CXX
     19019
     19020# Is the compiler the GNU compiler?
     19021with_gcc=$GCC_CXX
     19022
     19023# Compiler flag to turn off builtin functions.
     19024no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
     19025
     19026# Additional compiler flags for building library objects.
     19027pic_flag=$lt_lt_prog_compiler_pic_CXX
     19028
     19029# How to pass a linker flag through the compiler.
     19030wl=$lt_lt_prog_compiler_wl_CXX
     19031
     19032# Compiler flag to prevent dynamic linking.
     19033link_static_flag=$lt_lt_prog_compiler_static_CXX
     19034
     19035# Does compiler simultaneously support -c and -o options?
     19036compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
     19037
     19038# Whether or not to add -lc for building shared libraries.
     19039build_libtool_need_lc=$archive_cmds_need_lc_CXX
     19040
     19041# Whether or not to disallow shared libs when runtime libs are static.
     19042allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
     19043
     19044# Compiler flag to allow reflexive dlopens.
     19045export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
     19046
     19047# Compiler flag to generate shared objects directly from archives.
     19048whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
     19049
     19050# Whether the compiler copes with passing no objects directly.
     19051compiler_needs_object=$lt_compiler_needs_object_CXX
     19052
     19053# Create an old-style archive from a shared archive.
     19054old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
     19055
     19056# Create a temporary old-style archive to link instead of a shared archive.
     19057old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
     19058
     19059# Commands used to build a shared archive.
     19060archive_cmds=$lt_archive_cmds_CXX
     19061archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
     19062
     19063# Commands used to build a loadable module if different from building
     19064# a shared archive.
     19065module_cmds=$lt_module_cmds_CXX
     19066module_expsym_cmds=$lt_module_expsym_cmds_CXX
     19067
     19068# Whether we are building with GNU ld or not.
     19069with_gnu_ld=$lt_with_gnu_ld_CXX
     19070
     19071# Flag that allows shared libraries with undefined symbols to be built.
     19072allow_undefined_flag=$lt_allow_undefined_flag_CXX
     19073
     19074# Flag that enforces no undefined symbols.
     19075no_undefined_flag=$lt_no_undefined_flag_CXX
     19076
     19077# Flag to hardcode \$libdir into a binary during linking.
     19078# This must work even if \$libdir does not exist
     19079hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
     19080
     19081# Whether we need a single "-rpath" flag with a separated argument.
     19082hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
     19083
     19084# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
     19085# DIR into the resulting binary.
     19086hardcode_direct=$hardcode_direct_CXX
     19087
     19088# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
     19089# DIR into the resulting binary and the resulting library dependency is
     19090# "absolute",i.e impossible to change by setting \$shlibpath_var if the
     19091# library is relocated.
     19092hardcode_direct_absolute=$hardcode_direct_absolute_CXX
     19093
     19094# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
     19095# into the resulting binary.
     19096hardcode_minus_L=$hardcode_minus_L_CXX
     19097
     19098# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
     19099# into the resulting binary.
     19100hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
     19101
     19102# Set to "yes" if building a shared library automatically hardcodes DIR
     19103# into the library and all subsequent libraries and executables linked
     19104# against it.
     19105hardcode_automatic=$hardcode_automatic_CXX
     19106
     19107# Set to yes if linker adds runtime paths of dependent libraries
     19108# to runtime path list.
     19109inherit_rpath=$inherit_rpath_CXX
     19110
     19111# Whether libtool must link a program against all its dependency libraries.
     19112link_all_deplibs=$link_all_deplibs_CXX
     19113
     19114# Set to "yes" if exported symbols are required.
     19115always_export_symbols=$always_export_symbols_CXX
     19116
     19117# The commands to list exported symbols.
     19118export_symbols_cmds=$lt_export_symbols_cmds_CXX
     19119
     19120# Symbols that should not be listed in the preloaded symbols.
     19121exclude_expsyms=$lt_exclude_expsyms_CXX
     19122
     19123# Symbols that must always be exported.
     19124include_expsyms=$lt_include_expsyms_CXX
     19125
     19126# Commands necessary for linking programs (against libraries) with templates.
     19127prelink_cmds=$lt_prelink_cmds_CXX
     19128
     19129# Commands necessary for finishing linking programs.
     19130postlink_cmds=$lt_postlink_cmds_CXX
     19131
     19132# Specify filename containing input files.
     19133file_list_spec=$lt_file_list_spec_CXX
     19134
     19135# How to hardcode a shared library path into an executable.
     19136hardcode_action=$hardcode_action_CXX
     19137
     19138# The directories searched by this compiler when creating a shared library.
     19139compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
     19140
     19141# Dependencies to place before and after the objects being linked to
     19142# create a shared library.
     19143predep_objects=$lt_predep_objects_CXX
     19144postdep_objects=$lt_postdep_objects_CXX
     19145predeps=$lt_predeps_CXX
     19146postdeps=$lt_postdeps_CXX
     19147
     19148# The library search path used internally by the compiler when linking
     19149# a shared library.
     19150compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
     19151
     19152# ### END LIBTOOL TAG CONFIG: CXX
     19153_LT_EOF
     19154
     19155 ;;
    559319156
    559419157  esac
Note: See TracChangeset for help on using the changeset viewer.