Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/configure

    rc6bbcdb re523b07  
    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
    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
    209 test \$(( 1 + 1 )) = 2 || exit 1"
     200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
    210201  if (eval "$as_required") 2>/dev/null; then :
    211202  as_have_required=yes
     
    565556as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    566557
    567 SHELL=${CONFIG_SHELL-/bin/sh}
    568 
    569558
    570559test -n "$DJDIR" || exec 7<&0 </dev/null
     
    596585PACKAGE_URL=''
    597586
    598 # Factoring default headers for most tests.
    599 ac_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 
    634587ac_subst_vars='am__EXEEXT_FALSE
    635588am__EXEEXT_TRUE
    636589LTLIBOBJS
    637590LIBOBJS
     591RANLIB
    638592am__fastdepCCAS_FALSE
    639593am__fastdepCCAS_TRUE
     
    641595CCASFLAGS
    642596CCAS
    643 CXXCPP
     597am__fastdepCC_FALSE
     598am__fastdepCC_TRUE
     599CCDEPMODE
     600ac_ct_CC
     601CFLAGS
     602CC
    644603am__fastdepCXX_FALSE
    645604am__fastdepCXX_TRUE
    646605CXXDEPMODE
    647 ac_ct_CXX
    648 CXXFLAGS
    649 CXX
    650 CPP
    651 LT_SYS_LIBRARY_PATH
    652 OTOOL64
    653 OTOOL
    654 LIPO
    655 NMEDIT
    656 DSYMUTIL
    657 MANIFEST_TOOL
    658 RANLIB
    659 ac_ct_AR
    660 AR
    661 DLLTOOL
    662 OBJDUMP
    663 LN_S
    664 NM
    665 ac_ct_DUMPBIN
    666 DUMPBIN
    667 LD
    668 FGREP
    669 EGREP
    670 GREP
    671 SED
    672 am__fastdepCC_FALSE
    673 am__fastdepCC_TRUE
    674 CCDEPMODE
    675606am__nodep
    676607AMDEPBACKSLASH
     
    682613OBJEXT
    683614EXEEXT
    684 ac_ct_CC
     615ac_ct_CXX
    685616CPPFLAGS
    686617LDFLAGS
    687 CFLAGS
    688 CC
    689 host_os
    690 host_vendor
    691 host_cpu
    692 host
    693 build_os
    694 build_vendor
    695 build_cpu
    696 build
    697 LIBTOOL
     618CXXFLAGS
     619CXX
    698620CFA_LIBDIR
    699621CFA_BINDIR
     
    709631CFACPP
    710632CFACC
    711 CFA_VERSION
    712633DRIVER_DIR
    713634CONFIGURATION
     
    784705enable_silent_rules
    785706with_cfa_name
    786 enable_shared
    787 enable_static
    788 with_pic
    789 enable_fast_install
    790 with_aix_soname
    791707enable_dependency_tracking
    792 with_gnu_ld
    793 with_sysroot
    794 enable_libtool_lock
    795708'
    796709      ac_precious_vars='build_alias
     
    800713CONFIGURATION
    801714DRIVER_DIR
    802 CFA_VERSION
    803 CC
    804 CFLAGS
     715CXX
     716CXXFLAGS
    805717LDFLAGS
    806718LIBS
    807719CPPFLAGS
    808 LT_SYS_LIBRARY_PATH
    809 CPP
    810 CXX
    811 CXXFLAGS
    812720CCC
    813 CXXCPP
     721CC
     722CFLAGS
    814723CCAS
    815724CCASFLAGS'
     
    14261335  --program-suffix=SUFFIX            append SUFFIX to installed program names
    14271336  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
    1428 
    1429 System types:
    1430   --build=BUILD     configure for building on BUILD [guessed]
    1431   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
    14321337_ACEOF
    14331338fi
     
    14451350  --enable-silent-rules   less verbose build output (undo: "make V=1")
    14461351  --disable-silent-rules  verbose build output (undo: "make V=0")
    1447   --enable-shared[=PKGS]  build shared libraries [default=yes]
    1448   --enable-static[=PKGS]  build static libraries [default=yes]
    1449   --enable-fast-install[=PKGS]
    1450                           optimize for fast installation [default=yes]
    14511352  --enable-dependency-tracking
    14521353                          do not reject slow dependency extractors
    14531354  --disable-dependency-tracking
    14541355                          speeds up one-time build
    1455   --disable-libtool-lock  avoid locking (might break parallel builds)
    14561356
    14571357Optional Packages:
     
    14591359  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    14601360  --with-cfa-name=NAME     NAME too which cfa will be installed
    1461   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
    1462                           both]
    1463   --with-aix-soname=aix|svr4|both
    1464                           shared library versioning (aka "SONAME") variant to
    1465                           provide on AIX, [default=aix].
    1466   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
    1467   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
    1468                           compiler's sysroot if not specified).
    14691361
    14701362Some influential environment variables:
     
    14751367              deubg, nodebug, nolib (prelude-only)
    14761368  DRIVER_DIR  The path to the cforall driver directory
    1477   CFA_VERSION The long version of cfa
    1478   CC          C compiler command
    1479   CFLAGS      C compiler flags
     1369  CXX         C++ compiler command
     1370  CXXFLAGS    C++ compiler flags
    14801371  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    14811372              nonstandard directory <lib dir>
     
    14831374  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
    14841375              you have headers in a nonstandard directory <include dir>
    1485   LT_SYS_LIBRARY_PATH
    1486               User-defined run-time library search path.
    1487   CPP         C preprocessor
    1488   CXX         C++ compiler command
    1489   CXXFLAGS    C++ compiler flags
    1490   CXXCPP      C++ preprocessor
     1376  CC          C compiler command
     1377  CFLAGS      C compiler flags
    14911378  CCAS        assembler compiler command (defaults to CC)
    14921379  CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
     
    15711458## Autoconf initialization. ##
    15721459## ------------------------ ##
     1460
     1461# ac_fn_cxx_try_compile LINENO
     1462# ----------------------------
     1463# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1464ac_fn_cxx_try_compile ()
     1465{
     1466  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1467  rm -f conftest.$ac_objext
     1468  if { { ac_try="$ac_compile"
     1469case "(($ac_try" in
     1470  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1471  *) ac_try_echo=$ac_try;;
     1472esac
     1473eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1474$as_echo "$ac_try_echo"; } >&5
     1475  (eval "$ac_compile") 2>conftest.err
     1476  ac_status=$?
     1477  if test -s conftest.err; then
     1478    grep -v '^ *+' conftest.err >conftest.er1
     1479    cat conftest.er1 >&5
     1480    mv -f conftest.er1 conftest.err
     1481  fi
     1482  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1483  test $ac_status = 0; } && {
     1484         test -z "$ac_cxx_werror_flag" ||
     1485         test ! -s conftest.err
     1486       } && test -s conftest.$ac_objext; then :
     1487  ac_retval=0
     1488else
     1489  $as_echo "$as_me: failed program was:" >&5
     1490sed 's/^/| /' conftest.$ac_ext >&5
     1491
     1492        ac_retval=1
     1493fi
     1494  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1495  as_fn_set_status $ac_retval
     1496
     1497} # ac_fn_cxx_try_compile
    15731498
    15741499# ac_fn_c_try_compile LINENO
     
    16091534
    16101535} # ac_fn_c_try_compile
    1611 
    1612 # ac_fn_c_try_link LINENO
    1613 # -----------------------
    1614 # Try to link conftest.$ac_ext, and return whether this succeeded.
    1615 ac_fn_c_try_link ()
    1616 {
    1617   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1618   rm -f conftest.$ac_objext conftest$ac_exeext
    1619   if { { ac_try="$ac_link"
    1620 case "(($ac_try" in
    1621   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1622   *) ac_try_echo=$ac_try;;
    1623 esac
    1624 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1625 $as_echo "$ac_try_echo"; } >&5
    1626   (eval "$ac_link") 2>conftest.err
    1627   ac_status=$?
    1628   if test -s conftest.err; then
    1629     grep -v '^ *+' conftest.err >conftest.er1
    1630     cat conftest.er1 >&5
    1631     mv -f conftest.er1 conftest.err
    1632   fi
    1633   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1634   test $ac_status = 0; } && {
    1635          test -z "$ac_c_werror_flag" ||
    1636          test ! -s conftest.err
    1637        } && test -s conftest$ac_exeext && {
    1638          test "$cross_compiling" = yes ||
    1639          test -x conftest$ac_exeext
    1640        }; then :
    1641   ac_retval=0
    1642 else
    1643   $as_echo "$as_me: failed program was:" >&5
    1644 sed 's/^/| /' conftest.$ac_ext >&5
    1645 
    1646         ac_retval=1
    1647 fi
    1648   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
    1649   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
    1650   # interfere with the next link command; also delete a directory that is
    1651   # left behind by Apple's compiler.  We do this before executing the actions.
    1652   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    1653   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1654   as_fn_set_status $ac_retval
    1655 
    1656 } # ac_fn_c_try_link
    1657 
    1658 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
    1659 # -------------------------------------------------------
    1660 # Tests whether HEADER exists and can be compiled using the include files in
    1661 # INCLUDES, setting the cache variable VAR accordingly.
    1662 ac_fn_c_check_header_compile ()
    1663 {
    1664   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1665   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1666 $as_echo_n "checking for $2... " >&6; }
    1667 if eval \${$3+:} false; then :
    1668   $as_echo_n "(cached) " >&6
    1669 else
    1670   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1671 /* end confdefs.h.  */
    1672 $4
    1673 #include <$2>
    1674 _ACEOF
    1675 if ac_fn_c_try_compile "$LINENO"; then :
    1676   eval "$3=yes"
    1677 else
    1678   eval "$3=no"
    1679 fi
    1680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1681 fi
    1682 eval ac_res=\$$3
    1683                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1684 $as_echo "$ac_res" >&6; }
    1685   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1686 
    1687 } # ac_fn_c_check_header_compile
    1688 
    1689 # ac_fn_c_try_cpp LINENO
    1690 # ----------------------
    1691 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
    1692 ac_fn_c_try_cpp ()
    1693 {
    1694   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1695   if { { ac_try="$ac_cpp conftest.$ac_ext"
    1696 case "(($ac_try" in
    1697   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1698   *) ac_try_echo=$ac_try;;
    1699 esac
    1700 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1701 $as_echo "$ac_try_echo"; } >&5
    1702   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
    1703   ac_status=$?
    1704   if test -s conftest.err; then
    1705     grep -v '^ *+' conftest.err >conftest.er1
    1706     cat conftest.er1 >&5
    1707     mv -f conftest.er1 conftest.err
    1708   fi
    1709   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1710   test $ac_status = 0; } > conftest.i && {
    1711          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    1712          test ! -s conftest.err
    1713        }; then :
    1714   ac_retval=0
    1715 else
    1716   $as_echo "$as_me: failed program was:" >&5
    1717 sed 's/^/| /' conftest.$ac_ext >&5
    1718 
    1719     ac_retval=1
    1720 fi
    1721   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1722   as_fn_set_status $ac_retval
    1723 
    1724 } # ac_fn_c_try_cpp
    1725 
    1726 # ac_fn_c_try_run LINENO
    1727 # ----------------------
    1728 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
    1729 # that executables *can* be run.
    1730 ac_fn_c_try_run ()
    1731 {
    1732   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1733   if { { ac_try="$ac_link"
    1734 case "(($ac_try" in
    1735   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1736   *) ac_try_echo=$ac_try;;
    1737 esac
    1738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1739 $as_echo "$ac_try_echo"; } >&5
    1740   (eval "$ac_link") 2>&5
    1741   ac_status=$?
    1742   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1743   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
    1744   { { case "(($ac_try" in
    1745   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1746   *) ac_try_echo=$ac_try;;
    1747 esac
    1748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1749 $as_echo "$ac_try_echo"; } >&5
    1750   (eval "$ac_try") 2>&5
    1751   ac_status=$?
    1752   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1753   test $ac_status = 0; }; }; then :
    1754   ac_retval=0
    1755 else
    1756   $as_echo "$as_me: program exited with status $ac_status" >&5
    1757        $as_echo "$as_me: failed program was:" >&5
    1758 sed 's/^/| /' conftest.$ac_ext >&5
    1759 
    1760        ac_retval=$ac_status
    1761 fi
    1762   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    1763   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1764   as_fn_set_status $ac_retval
    1765 
    1766 } # ac_fn_c_try_run
    1767 
    1768 # ac_fn_c_check_func LINENO FUNC VAR
    1769 # ----------------------------------
    1770 # Tests whether FUNC exists, setting the cache variable VAR accordingly
    1771 ac_fn_c_check_func ()
    1772 {
    1773   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1774   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1775 $as_echo_n "checking for $2... " >&6; }
    1776 if eval \${$3+:} false; then :
    1777   $as_echo_n "(cached) " >&6
    1778 else
    1779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1780 /* end confdefs.h.  */
    1781 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
    1782    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    1783 #define $2 innocuous_$2
    1784 
    1785 /* System header to define __stub macros and hopefully few prototypes,
    1786     which can conflict with char $2 (); below.
    1787     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    1788     <limits.h> exists even on freestanding compilers.  */
    1789 
    1790 #ifdef __STDC__
    1791 # include <limits.h>
    1792 #else
    1793 # include <assert.h>
    1794 #endif
    1795 
    1796 #undef $2
    1797 
    1798 /* Override any GCC internal prototype to avoid an error.
    1799    Use char because int might match the return type of a GCC
    1800    builtin and then its argument prototype would still apply.  */
    1801 #ifdef __cplusplus
    1802 extern "C"
    1803 #endif
    1804 char $2 ();
    1805 /* The GNU C library defines this for functions which it implements
    1806     to always fail with ENOSYS.  Some functions are actually named
    1807     something starting with __ and the normal name is an alias.  */
    1808 #if defined __stub_$2 || defined __stub___$2
    1809 choke me
    1810 #endif
    1811 
    1812 int
    1813 main ()
    1814 {
    1815 return $2 ();
    1816   ;
    1817   return 0;
    1818 }
    1819 _ACEOF
    1820 if ac_fn_c_try_link "$LINENO"; then :
    1821   eval "$3=yes"
    1822 else
    1823   eval "$3=no"
    1824 fi
    1825 rm -f core conftest.err conftest.$ac_objext \
    1826     conftest$ac_exeext conftest.$ac_ext
    1827 fi
    1828 eval ac_res=\$$3
    1829                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1830 $as_echo "$ac_res" >&6; }
    1831   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1832 
    1833 } # ac_fn_c_check_func
    1834 
    1835 # ac_fn_cxx_try_compile LINENO
    1836 # ----------------------------
    1837 # Try to compile conftest.$ac_ext, and return whether this succeeded.
    1838 ac_fn_cxx_try_compile ()
    1839 {
    1840   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1841   rm -f conftest.$ac_objext
    1842   if { { ac_try="$ac_compile"
    1843 case "(($ac_try" in
    1844   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1845   *) ac_try_echo=$ac_try;;
    1846 esac
    1847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1848 $as_echo "$ac_try_echo"; } >&5
    1849   (eval "$ac_compile") 2>conftest.err
    1850   ac_status=$?
    1851   if test -s conftest.err; then
    1852     grep -v '^ *+' conftest.err >conftest.er1
    1853     cat conftest.er1 >&5
    1854     mv -f conftest.er1 conftest.err
    1855   fi
    1856   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1857   test $ac_status = 0; } && {
    1858          test -z "$ac_cxx_werror_flag" ||
    1859          test ! -s conftest.err
    1860        } && test -s conftest.$ac_objext; then :
    1861   ac_retval=0
    1862 else
    1863   $as_echo "$as_me: failed program was:" >&5
    1864 sed 's/^/| /' conftest.$ac_ext >&5
    1865 
    1866         ac_retval=1
    1867 fi
    1868   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1869   as_fn_set_status $ac_retval
    1870 
    1871 } # ac_fn_cxx_try_compile
    1872 
    1873 # ac_fn_cxx_try_cpp LINENO
    1874 # ------------------------
    1875 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
    1876 ac_fn_cxx_try_cpp ()
    1877 {
    1878   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1879   if { { ac_try="$ac_cpp conftest.$ac_ext"
    1880 case "(($ac_try" in
    1881   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1882   *) ac_try_echo=$ac_try;;
    1883 esac
    1884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1885 $as_echo "$ac_try_echo"; } >&5
    1886   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
    1887   ac_status=$?
    1888   if test -s conftest.err; then
    1889     grep -v '^ *+' conftest.err >conftest.er1
    1890     cat conftest.er1 >&5
    1891     mv -f conftest.er1 conftest.err
    1892   fi
    1893   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1894   test $ac_status = 0; } > conftest.i && {
    1895          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    1896          test ! -s conftest.err
    1897        }; then :
    1898   ac_retval=0
    1899 else
    1900   $as_echo "$as_me: failed program was:" >&5
    1901 sed 's/^/| /' conftest.$ac_ext >&5
    1902 
    1903     ac_retval=1
    1904 fi
    1905   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1906   as_fn_set_status $ac_retval
    1907 
    1908 } # ac_fn_cxx_try_cpp
    1909 
    1910 # ac_fn_cxx_try_link LINENO
    1911 # -------------------------
    1912 # Try to link conftest.$ac_ext, and return whether this succeeded.
    1913 ac_fn_cxx_try_link ()
    1914 {
    1915   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1916   rm -f conftest.$ac_objext conftest$ac_exeext
    1917   if { { ac_try="$ac_link"
    1918 case "(($ac_try" in
    1919   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1920   *) ac_try_echo=$ac_try;;
    1921 esac
    1922 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1923 $as_echo "$ac_try_echo"; } >&5
    1924   (eval "$ac_link") 2>conftest.err
    1925   ac_status=$?
    1926   if test -s conftest.err; then
    1927     grep -v '^ *+' conftest.err >conftest.er1
    1928     cat conftest.er1 >&5
    1929     mv -f conftest.er1 conftest.err
    1930   fi
    1931   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1932   test $ac_status = 0; } && {
    1933          test -z "$ac_cxx_werror_flag" ||
    1934          test ! -s conftest.err
    1935        } && test -s conftest$ac_exeext && {
    1936          test "$cross_compiling" = yes ||
    1937          test -x conftest$ac_exeext
    1938        }; then :
    1939   ac_retval=0
    1940 else
    1941   $as_echo "$as_me: failed program was:" >&5
    1942 sed 's/^/| /' conftest.$ac_ext >&5
    1943 
    1944         ac_retval=1
    1945 fi
    1946   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
    1947   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
    1948   # interfere with the next link command; also delete a directory that is
    1949   # left behind by Apple's compiler.  We do this before executing the actions.
    1950   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    1951   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1952   as_fn_set_status $ac_retval
    1953 
    1954 } # ac_fn_cxx_try_link
    19551536cat >config.log <<_ACEOF
    19561537This file contains any messages produced by compilers while
     
    23061887
    23071888ac_aux_dir=
    2308 for ac_dir in automake "$srcdir"/automake; do
     1889for ac_dir in ./automake "$srcdir"/./automake; do
    23091890  if test -f "$ac_dir/install-sh"; then
    23101891    ac_aux_dir=$ac_dir
     
    23221903done
    23231904if test -z "$ac_aux_dir"; then
    2324   as_fn_error $? "cannot find install-sh, install.sh, or shtool in automake \"$srcdir\"/automake" "$LINENO" 5
     1905  as_fn_error $? "cannot find install-sh, install.sh, or shtool in ./automake \"$srcdir\"/./automake" "$LINENO" 5
    23251906fi
    23261907
     
    23321913ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
    23331914ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
    2334 
    23351915
    23361916
     
    29352515
    29362516
    2937 
    29382517CFACC=${DRIVER_DIR}cfa
    29392518CFACPP=${DRIVER_DIR}cfa-cpp
    2940 
    29412519
    29422520
     
    30702648
    30712649# Checks for programs.
    3072 case `pwd` in
    3073   *\ * | *\     *)
    3074     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
    3075 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
    3076 esac
    3077 
    3078 
    3079 
    3080 macro_version='2.4.6'
    3081 macro_revision='2.4.6'
    3082 
    3083 
    3084 
    3085 
    3086 
    3087 
    3088 
    3089 
    3090 
    3091 
    3092 
    3093 
    3094 
    3095 ltmain=$ac_aux_dir/ltmain.sh
    3096 
    3097 # Make sure we can run config.sub.
    3098 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
    3099   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
    3100 
    3101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
    3102 $as_echo_n "checking build system type... " >&6; }
    3103 if ${ac_cv_build+:} false; then :
    3104   $as_echo_n "(cached) " >&6
    3105 else
    3106   ac_build_alias=$build_alias
    3107 test "x$ac_build_alias" = x &&
    3108   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
    3109 test "x$ac_build_alias" = x &&
    3110   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
    3111 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
    3112   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
    3113 
    3114 fi
    3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
    3116 $as_echo "$ac_cv_build" >&6; }
    3117 case $ac_cv_build in
    3118 *-*-*) ;;
    3119 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
    3120 esac
    3121 build=$ac_cv_build
    3122 ac_save_IFS=$IFS; IFS='-'
    3123 set x $ac_cv_build
    3124 shift
    3125 build_cpu=$1
    3126 build_vendor=$2
    3127 shift; shift
    3128 # Remember, the first character of IFS is used to create $*,
    3129 # except with old shells:
    3130 build_os=$*
    3131 IFS=$ac_save_IFS
    3132 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
    3133 
    3134 
    3135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
    3136 $as_echo_n "checking host system type... " >&6; }
    3137 if ${ac_cv_host+:} false; then :
    3138   $as_echo_n "(cached) " >&6
    3139 else
    3140   if test "x$host_alias" = x; then
    3141   ac_cv_host=$ac_cv_build
    3142 else
    3143   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
    3144     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
    3145 fi
    3146 
    3147 fi
    3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
    3149 $as_echo "$ac_cv_host" >&6; }
    3150 case $ac_cv_host in
    3151 *-*-*) ;;
    3152 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
    3153 esac
    3154 host=$ac_cv_host
    3155 ac_save_IFS=$IFS; IFS='-'
    3156 set x $ac_cv_host
    3157 shift
    3158 host_cpu=$1
    3159 host_vendor=$2
    3160 shift; shift
    3161 # Remember, the first character of IFS is used to create $*,
    3162 # except with old shells:
    3163 host_os=$*
    3164 IFS=$ac_save_IFS
    3165 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
    3166 
    3167 
    3168 # Backslashify metacharacters that are still active within
    3169 # double-quoted strings.
    3170 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
    3171 
    3172 # Same as above, but do not quote variable references.
    3173 double_quote_subst='s/\(["`\\]\)/\\\1/g'
    3174 
    3175 # Sed substitution to delay expansion of an escaped shell variable in a
    3176 # double_quote_subst'ed string.
    3177 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
    3178 
    3179 # Sed substitution to delay expansion of an escaped single quote.
    3180 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
    3181 
    3182 # Sed substitution to avoid accidental globbing in evaled expressions
    3183 no_glob_subst='s/\*/\\\*/g'
    3184 
    3185 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    3186 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
    3187 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
    3188 
    3189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
    3190 $as_echo_n "checking how to print strings... " >&6; }
    3191 # Test print first, because it will be a builtin if present.
    3192 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
    3193    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
    3194   ECHO='print -r --'
    3195 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
    3196   ECHO='printf %s\n'
    3197 else
    3198   # Use this function as a fallback that always works.
    3199   func_fallback_echo ()
    3200   {
    3201     eval 'cat <<_LTECHO_EOF
    3202 $1
    3203 _LTECHO_EOF'
    3204   }
    3205   ECHO='func_fallback_echo'
    3206 fi
    3207 
    3208 # func_echo_all arg...
    3209 # Invoke $ECHO with all args, space-separated.
    3210 func_echo_all ()
    3211 {
    3212     $ECHO ""
    3213 }
    3214 
    3215 case $ECHO in
    3216   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
    3217 $as_echo "printf" >&6; } ;;
    3218   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
    3219 $as_echo "print -r" >&6; } ;;
    3220   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
    3221 $as_echo "cat" >&6; } ;;
    3222 esac
    3223 
    3224 
    3225 
    3226 
    3227 
    3228 
    3229 
    3230 
    3231 
    3232 
    3233 
    3234 
    3235 
    3236 
    3237 DEPDIR="${am__leading_dot}deps"
    3238 
    3239 ac_config_commands="$ac_config_commands depfiles"
    3240 
    3241 
    3242 am_make=${MAKE-make}
    3243 cat > confinc << 'END'
    3244 am__doit:
    3245         @echo this is the am__doit target
    3246 .PHONY: am__doit
    3247 END
    3248 # If we don't find an include directive, just comment out the code.
    3249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
    3250 $as_echo_n "checking for style of include used by $am_make... " >&6; }
    3251 am__include="#"
    3252 am__quote=
    3253 _am_result=none
    3254 # First try GNU make style include.
    3255 echo "include confinc" > confmf
    3256 # Ignore all kinds of additional output from 'make'.
    3257 case `$am_make -s -f confmf 2> /dev/null` in #(
    3258 *the\ am__doit\ target*)
    3259   am__include=include
    3260   am__quote=
    3261   _am_result=GNU
    3262   ;;
    3263 esac
    3264 # Now try BSD make style include.
    3265 if test "$am__include" = "#"; then
    3266    echo '.include "confinc"' > confmf
    3267    case `$am_make -s -f confmf 2> /dev/null` in #(
    3268    *the\ am__doit\ target*)
    3269      am__include=.include
    3270      am__quote="\""
    3271      _am_result=BSD
    3272      ;;
    3273    esac
    3274 fi
    3275 
    3276 
    3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
    3278 $as_echo "$_am_result" >&6; }
    3279 rm -f confinc confmf
    3280 
    3281 # Check whether --enable-dependency-tracking was given.
    3282 if test "${enable_dependency_tracking+set}" = set; then :
    3283   enableval=$enable_dependency_tracking;
    3284 fi
    3285 
    3286 if test "x$enable_dependency_tracking" != xno; then
    3287   am_depcomp="$ac_aux_dir/depcomp"
    3288   AMDEPBACKSLASH='\'
    3289   am__nodep='_no'
    3290 fi
    3291  if test "x$enable_dependency_tracking" != xno; then
    3292   AMDEP_TRUE=
    3293   AMDEP_FALSE='#'
    3294 else
    3295   AMDEP_TRUE='#'
    3296   AMDEP_FALSE=
    3297 fi
    3298 
    3299 
    3300 ac_ext=c
    3301 ac_cpp='$CPP $CPPFLAGS'
    3302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3305 if test -n "$ac_tool_prefix"; then
    3306   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    3307 set dummy ${ac_tool_prefix}gcc; ac_word=$2
     2650ac_ext=cpp
     2651ac_cpp='$CXXCPP $CPPFLAGS'
     2652ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     2653ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     2654ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
     2655if test -z "$CXX"; then
     2656  if test -n "$CCC"; then
     2657    CXX=$CCC
     2658  else
     2659    if test -n "$ac_tool_prefix"; then
     2660  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
     2661  do
     2662    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     2663set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    33082664{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    33092665$as_echo_n "checking for $ac_word... " >&6; }
    3310 if ${ac_cv_prog_CC+:} false; then :
     2666if ${ac_cv_prog_CXX+:} false; then :
    33112667  $as_echo_n "(cached) " >&6
    33122668else
    3313   if test -n "$CC"; then
    3314   ac_cv_prog_CC="$CC" # Let the user override the test.
     2669  if test -n "$CXX"; then
     2670  ac_cv_prog_CXX="$CXX" # Let the user override the test.
    33152671else
    33162672as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    33212677    for ac_exec_ext in '' $ac_executable_extensions; do
    33222678  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3323     ac_cv_prog_CC="${ac_tool_prefix}gcc"
     2679    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    33242680    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    33252681    break 2
     
    33312687fi
    33322688fi
    3333 CC=$ac_cv_prog_CC
    3334 if test -n "$CC"; then
    3335   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    3336 $as_echo "$CC" >&6; }
     2689CXX=$ac_cv_prog_CXX
     2690if test -n "$CXX"; then
     2691  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
     2692$as_echo "$CXX" >&6; }
    33372693else
    33382694  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     
    33412697
    33422698
    3343 fi
    3344 if test -z "$ac_cv_prog_CC"; then
    3345   ac_ct_CC=$CC
    3346   # Extract the first word of "gcc", so it can be a program name with args.
    3347 set dummy gcc; ac_word=$2
     2699    test -n "$CXX" && break
     2700  done
     2701fi
     2702if test -z "$CXX"; then
     2703  ac_ct_CXX=$CXX
     2704  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
     2705do
     2706  # Extract the first word of "$ac_prog", so it can be a program name with args.
     2707set dummy $ac_prog; ac_word=$2
    33482708{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    33492709$as_echo_n "checking for $ac_word... " >&6; }
    3350 if ${ac_cv_prog_ac_ct_CC+:} false; then :
     2710if ${ac_cv_prog_ac_ct_CXX+:} false; then :
    33512711  $as_echo_n "(cached) " >&6
    33522712else
    3353   if test -n "$ac_ct_CC"; then
    3354   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     2713  if test -n "$ac_ct_CXX"; then
     2714  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
    33552715else
    33562716as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    33612721    for ac_exec_ext in '' $ac_executable_extensions; do
    33622722  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3363     ac_cv_prog_ac_ct_CC="gcc"
     2723    ac_cv_prog_ac_ct_CXX="$ac_prog"
    33642724    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    33652725    break 2
     
    33712731fi
    33722732fi
    3373 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    3374 if test -n "$ac_ct_CC"; then
    3375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    3376 $as_echo "$ac_ct_CC" >&6; }
     2733ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
     2734if test -n "$ac_ct_CXX"; then
     2735  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
     2736$as_echo "$ac_ct_CXX" >&6; }
    33772737else
    33782738  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     
    33802740fi
    33812741
    3382   if test "x$ac_ct_CC" = x; then
    3383     CC=""
     2742
     2743  test -n "$ac_ct_CXX" && break
     2744done
     2745
     2746  if test "x$ac_ct_CXX" = x; then
     2747    CXX="g++"
    33842748  else
    33852749    case $cross_compiling:$ac_tool_warned in
     
    33892753ac_tool_warned=yes ;;
    33902754esac
    3391     CC=$ac_ct_CC
     2755    CXX=$ac_ct_CXX
    33922756  fi
    3393 else
    3394   CC="$ac_cv_prog_CC"
    3395 fi
    3396 
    3397 if test -z "$CC"; then
    3398           if test -n "$ac_tool_prefix"; then
    3399     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    3400 set dummy ${ac_tool_prefix}cc; ac_word=$2
    3401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    3402 $as_echo_n "checking for $ac_word... " >&6; }
    3403 if ${ac_cv_prog_CC+:} false; then :
    3404   $as_echo_n "(cached) " >&6
    3405 else
    3406   if test -n "$CC"; then
    3407   ac_cv_prog_CC="$CC" # Let the user override the test.
    3408 else
    3409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3410 for as_dir in $PATH
    3411 do
    3412   IFS=$as_save_IFS
    3413   test -z "$as_dir" && as_dir=.
    3414     for ac_exec_ext in '' $ac_executable_extensions; do
    3415   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3416     ac_cv_prog_CC="${ac_tool_prefix}cc"
    3417     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    3418     break 2
     2757fi
     2758
    34192759  fi
    3420 done
    3421   done
    3422 IFS=$as_save_IFS
    3423 
    3424 fi
    3425 fi
    3426 CC=$ac_cv_prog_CC
    3427 if test -n "$CC"; then
    3428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    3429 $as_echo "$CC" >&6; }
    3430 else
    3431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3432 $as_echo "no" >&6; }
    3433 fi
    3434 
    3435 
    3436   fi
    3437 fi
    3438 if test -z "$CC"; then
    3439   # Extract the first word of "cc", so it can be a program name with args.
    3440 set dummy cc; ac_word=$2
    3441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    3442 $as_echo_n "checking for $ac_word... " >&6; }
    3443 if ${ac_cv_prog_CC+:} false; then :
    3444   $as_echo_n "(cached) " >&6
    3445 else
    3446   if test -n "$CC"; then
    3447   ac_cv_prog_CC="$CC" # Let the user override the test.
    3448 else
    3449   ac_prog_rejected=no
    3450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3451 for as_dir in $PATH
    3452 do
    3453   IFS=$as_save_IFS
    3454   test -z "$as_dir" && as_dir=.
    3455     for ac_exec_ext in '' $ac_executable_extensions; do
    3456   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3457     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    3458        ac_prog_rejected=yes
    3459        continue
    3460      fi
    3461     ac_cv_prog_CC="cc"
    3462     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    3463     break 2
    3464   fi
    3465 done
    3466   done
    3467 IFS=$as_save_IFS
    3468 
    3469 if test $ac_prog_rejected = yes; then
    3470   # We found a bogon in the path, so make sure we never use it.
    3471   set dummy $ac_cv_prog_CC
    3472   shift
    3473   if test $# != 0; then
    3474     # We chose a different compiler from the bogus one.
    3475     # However, it has the same basename, so the bogon will be chosen
    3476     # first if we set CC to just the basename; use the full file name.
    3477     shift
    3478     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
    3479   fi
    3480 fi
    3481 fi
    3482 fi
    3483 CC=$ac_cv_prog_CC
    3484 if test -n "$CC"; then
    3485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    3486 $as_echo "$CC" >&6; }
    3487 else
    3488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3489 $as_echo "no" >&6; }
    3490 fi
    3491 
    3492 
    3493 fi
    3494 if test -z "$CC"; then
    3495   if test -n "$ac_tool_prefix"; then
    3496   for ac_prog in cl.exe
    3497   do
    3498     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    3499 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    3500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    3501 $as_echo_n "checking for $ac_word... " >&6; }
    3502 if ${ac_cv_prog_CC+:} false; then :
    3503   $as_echo_n "(cached) " >&6
    3504 else
    3505   if test -n "$CC"; then
    3506   ac_cv_prog_CC="$CC" # Let the user override the test.
    3507 else
    3508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3509 for as_dir in $PATH
    3510 do
    3511   IFS=$as_save_IFS
    3512   test -z "$as_dir" && as_dir=.
    3513     for ac_exec_ext in '' $ac_executable_extensions; do
    3514   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3515     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    3516     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    3517     break 2
    3518   fi
    3519 done
    3520   done
    3521 IFS=$as_save_IFS
    3522 
    3523 fi
    3524 fi
    3525 CC=$ac_cv_prog_CC
    3526 if test -n "$CC"; then
    3527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    3528 $as_echo "$CC" >&6; }
    3529 else
    3530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3531 $as_echo "no" >&6; }
    3532 fi
    3533 
    3534 
    3535     test -n "$CC" && break
    3536   done
    3537 fi
    3538 if test -z "$CC"; then
    3539   ac_ct_CC=$CC
    3540   for ac_prog in cl.exe
    3541 do
    3542   # Extract the first word of "$ac_prog", so it can be a program name with args.
    3543 set dummy $ac_prog; ac_word=$2
    3544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    3545 $as_echo_n "checking for $ac_word... " >&6; }
    3546 if ${ac_cv_prog_ac_ct_CC+:} false; then :
    3547   $as_echo_n "(cached) " >&6
    3548 else
    3549   if test -n "$ac_ct_CC"; then
    3550   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    3551 else
    3552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3553 for as_dir in $PATH
    3554 do
    3555   IFS=$as_save_IFS
    3556   test -z "$as_dir" && as_dir=.
    3557     for ac_exec_ext in '' $ac_executable_extensions; do
    3558   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3559     ac_cv_prog_ac_ct_CC="$ac_prog"
    3560     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    3561     break 2
    3562   fi
    3563 done
    3564   done
    3565 IFS=$as_save_IFS
    3566 
    3567 fi
    3568 fi
    3569 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    3570 if test -n "$ac_ct_CC"; then
    3571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    3572 $as_echo "$ac_ct_CC" >&6; }
    3573 else
    3574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3575 $as_echo "no" >&6; }
    3576 fi
    3577 
    3578 
    3579   test -n "$ac_ct_CC" && break
    3580 done
    3581 
    3582   if test "x$ac_ct_CC" = x; then
    3583     CC=""
    3584   else
    3585     case $cross_compiling:$ac_tool_warned in
    3586 yes:)
    3587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    3588 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    3589 ac_tool_warned=yes ;;
    3590 esac
    3591     CC=$ac_ct_CC
    3592   fi
    3593 fi
    3594 
    3595 fi
    3596 
    3597 
    3598 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    3599 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3600 as_fn_error $? "no acceptable C compiler found in \$PATH
    3601 See \`config.log' for more details" "$LINENO" 5; }
    3602 
     2760fi
    36032761# Provide some information about the compiler.
    3604 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
     2762$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
    36052763set X $ac_compile
    36062764ac_compiler=$2
     
    36422800# It will help us diagnose broken compilers, and finding out an intuition
    36432801# of exeext.
    3644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
    3645 $as_echo_n "checking whether the C compiler works... " >&6; }
     2802{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
     2803$as_echo_n "checking whether the C++ compiler works... " >&6; }
    36462804ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    36472805
     
    37132871{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    37142872$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3715 as_fn_error 77 "C compiler cannot create executables
     2873as_fn_error 77 "C++ compiler cannot create executables
    37162874See \`config.log' for more details" "$LINENO" 5; }
    37172875else
     
    37192877$as_echo "yes" >&6; }
    37202878fi
    3721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
    3722 $as_echo_n "checking for C compiler default output file name... " >&6; }
     2879{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
     2880$as_echo_n "checking for C++ compiler default output file name... " >&6; }
    37232881{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
    37242882$as_echo "$ac_file" >&6; }
     
    38142972        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    38152973$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3816 as_fn_error $? "cannot run C compiled programs.
     2974as_fn_error $? "cannot run C++ compiled programs.
    38172975If you meant to cross compile, use \`--host'.
    38182976See \`config.log' for more details" "$LINENO" 5; }
     
    38763034OBJEXT=$ac_cv_objext
    38773035ac_objext=$OBJEXT
     3036{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
     3037$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
     3038if ${ac_cv_cxx_compiler_gnu+:} false; then :
     3039  $as_echo_n "(cached) " >&6
     3040else
     3041  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3042/* end confdefs.h.  */
     3043
     3044int
     3045main ()
     3046{
     3047#ifndef __GNUC__
     3048       choke me
     3049#endif
     3050
     3051  ;
     3052  return 0;
     3053}
     3054_ACEOF
     3055if ac_fn_cxx_try_compile "$LINENO"; then :
     3056  ac_compiler_gnu=yes
     3057else
     3058  ac_compiler_gnu=no
     3059fi
     3060rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3061ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
     3062
     3063fi
     3064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
     3065$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
     3066if test $ac_compiler_gnu = yes; then
     3067  GXX=yes
     3068else
     3069  GXX=
     3070fi
     3071ac_test_CXXFLAGS=${CXXFLAGS+set}
     3072ac_save_CXXFLAGS=$CXXFLAGS
     3073{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
     3074$as_echo_n "checking whether $CXX accepts -g... " >&6; }
     3075if ${ac_cv_prog_cxx_g+:} false; then :
     3076  $as_echo_n "(cached) " >&6
     3077else
     3078  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
     3079   ac_cxx_werror_flag=yes
     3080   ac_cv_prog_cxx_g=no
     3081   CXXFLAGS="-g"
     3082   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3083/* end confdefs.h.  */
     3084
     3085int
     3086main ()
     3087{
     3088
     3089  ;
     3090  return 0;
     3091}
     3092_ACEOF
     3093if ac_fn_cxx_try_compile "$LINENO"; then :
     3094  ac_cv_prog_cxx_g=yes
     3095else
     3096  CXXFLAGS=""
     3097      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3098/* end confdefs.h.  */
     3099
     3100int
     3101main ()
     3102{
     3103
     3104  ;
     3105  return 0;
     3106}
     3107_ACEOF
     3108if ac_fn_cxx_try_compile "$LINENO"; then :
     3109
     3110else
     3111  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     3112         CXXFLAGS="-g"
     3113         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3114/* end confdefs.h.  */
     3115
     3116int
     3117main ()
     3118{
     3119
     3120  ;
     3121  return 0;
     3122}
     3123_ACEOF
     3124if ac_fn_cxx_try_compile "$LINENO"; then :
     3125  ac_cv_prog_cxx_g=yes
     3126fi
     3127rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3128fi
     3129rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3130fi
     3131rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3132   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     3133fi
     3134{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
     3135$as_echo "$ac_cv_prog_cxx_g" >&6; }
     3136if test "$ac_test_CXXFLAGS" = set; then
     3137  CXXFLAGS=$ac_save_CXXFLAGS
     3138elif test $ac_cv_prog_cxx_g = yes; then
     3139  if test "$GXX" = yes; then
     3140    CXXFLAGS="-g -O2"
     3141  else
     3142    CXXFLAGS="-g"
     3143  fi
     3144else
     3145  if test "$GXX" = yes; then
     3146    CXXFLAGS="-O2"
     3147  else
     3148    CXXFLAGS=
     3149  fi
     3150fi
     3151ac_ext=c
     3152ac_cpp='$CPP $CPPFLAGS'
     3153ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3154ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3155ac_compiler_gnu=$ac_cv_c_compiler_gnu
     3156DEPDIR="${am__leading_dot}deps"
     3157
     3158ac_config_commands="$ac_config_commands depfiles"
     3159
     3160
     3161am_make=${MAKE-make}
     3162cat > confinc << 'END'
     3163am__doit:
     3164        @echo this is the am__doit target
     3165.PHONY: am__doit
     3166END
     3167# If we don't find an include directive, just comment out the code.
     3168{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
     3169$as_echo_n "checking for style of include used by $am_make... " >&6; }
     3170am__include="#"
     3171am__quote=
     3172_am_result=none
     3173# First try GNU make style include.
     3174echo "include confinc" > confmf
     3175# Ignore all kinds of additional output from 'make'.
     3176case `$am_make -s -f confmf 2> /dev/null` in #(
     3177*the\ am__doit\ target*)
     3178  am__include=include
     3179  am__quote=
     3180  _am_result=GNU
     3181  ;;
     3182esac
     3183# Now try BSD make style include.
     3184if test "$am__include" = "#"; then
     3185   echo '.include "confinc"' > confmf
     3186   case `$am_make -s -f confmf 2> /dev/null` in #(
     3187   *the\ am__doit\ target*)
     3188     am__include=.include
     3189     am__quote="\""
     3190     _am_result=BSD
     3191     ;;
     3192   esac
     3193fi
     3194
     3195
     3196{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
     3197$as_echo "$_am_result" >&6; }
     3198rm -f confinc confmf
     3199
     3200# Check whether --enable-dependency-tracking was given.
     3201if test "${enable_dependency_tracking+set}" = set; then :
     3202  enableval=$enable_dependency_tracking;
     3203fi
     3204
     3205if test "x$enable_dependency_tracking" != xno; then
     3206  am_depcomp="$ac_aux_dir/depcomp"
     3207  AMDEPBACKSLASH='\'
     3208  am__nodep='_no'
     3209fi
     3210 if test "x$enable_dependency_tracking" != xno; then
     3211  AMDEP_TRUE=
     3212  AMDEP_FALSE='#'
     3213else
     3214  AMDEP_TRUE='#'
     3215  AMDEP_FALSE=
     3216fi
     3217
     3218
     3219
     3220depcc="$CXX"  am_compiler_list=
     3221
     3222{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
     3223$as_echo_n "checking dependency style of $depcc... " >&6; }
     3224if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
     3225  $as_echo_n "(cached) " >&6
     3226else
     3227  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
     3228  # We make a subdir and do the tests there.  Otherwise we can end up
     3229  # making bogus files that we don't know about and never remove.  For
     3230  # instance it was reported that on HP-UX the gcc test will end up
     3231  # making a dummy file named 'D' -- because '-MD' means "put the output
     3232  # in D".
     3233  rm -rf conftest.dir
     3234  mkdir conftest.dir
     3235  # Copy depcomp to subdir because otherwise we won't find it if we're
     3236  # using a relative directory.
     3237  cp "$am_depcomp" conftest.dir
     3238  cd conftest.dir
     3239  # We will build objects and dependencies in a subdirectory because
     3240  # it helps to detect inapplicable dependency modes.  For instance
     3241  # both Tru64's cc and ICC support -MD to output dependencies as a
     3242  # side effect of compilation, but ICC will put the dependencies in
     3243  # the current directory while Tru64 will put them in the object
     3244  # directory.
     3245  mkdir sub
     3246
     3247  am_cv_CXX_dependencies_compiler_type=none
     3248  if test "$am_compiler_list" = ""; then
     3249     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
     3250  fi
     3251  am__universal=false
     3252  case " $depcc " in #(
     3253     *\ -arch\ *\ -arch\ *) am__universal=true ;;
     3254     esac
     3255
     3256  for depmode in $am_compiler_list; do
     3257    # Setup a source with many dependencies, because some compilers
     3258    # like to wrap large dependency lists on column 80 (with \), and
     3259    # we should not choose a depcomp mode which is confused by this.
     3260    #
     3261    # We need to recreate these files for each test, as the compiler may
     3262    # overwrite some of them when testing with obscure command lines.
     3263    # This happens at least with the AIX C compiler.
     3264    : > sub/conftest.c
     3265    for i in 1 2 3 4 5 6; do
     3266      echo '#include "conftst'$i'.h"' >> sub/conftest.c
     3267      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
     3268      # Solaris 10 /bin/sh.
     3269      echo '/* dummy */' > sub/conftst$i.h
     3270    done
     3271    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
     3272
     3273    # We check with '-c' and '-o' for the sake of the "dashmstdout"
     3274    # mode.  It turns out that the SunPro C++ compiler does not properly
     3275    # handle '-M -o', and we need to detect this.  Also, some Intel
     3276    # versions had trouble with output in subdirs.
     3277    am__obj=sub/conftest.${OBJEXT-o}
     3278    am__minus_obj="-o $am__obj"
     3279    case $depmode in
     3280    gcc)
     3281      # This depmode causes a compiler race in universal mode.
     3282      test "$am__universal" = false || continue
     3283      ;;
     3284    nosideeffect)
     3285      # After this tag, mechanisms are not by side-effect, so they'll
     3286      # only be used when explicitly requested.
     3287      if test "x$enable_dependency_tracking" = xyes; then
     3288        continue
     3289      else
     3290        break
     3291      fi
     3292      ;;
     3293    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
     3294      # This compiler won't grok '-c -o', but also, the minuso test has
     3295      # not run yet.  These depmodes are late enough in the game, and
     3296      # so weak that their functioning should not be impacted.
     3297      am__obj=conftest.${OBJEXT-o}
     3298      am__minus_obj=
     3299      ;;
     3300    none) break ;;
     3301    esac
     3302    if depmode=$depmode \
     3303       source=sub/conftest.c object=$am__obj \
     3304       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
     3305       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
     3306         >/dev/null 2>conftest.err &&
     3307       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
     3308       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
     3309       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
     3310       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
     3311      # icc doesn't choke on unknown options, it will just issue warnings
     3312      # or remarks (even with -Werror).  So we grep stderr for any message
     3313      # that says an option was ignored or not supported.
     3314      # When given -MP, icc 7.0 and 7.1 complain thusly:
     3315      #   icc: Command line warning: ignoring option '-M'; no argument required
     3316      # The diagnosis changed in icc 8.0:
     3317      #   icc: Command line remark: option '-MP' not supported
     3318      if (grep 'ignoring option' conftest.err ||
     3319          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
     3320        am_cv_CXX_dependencies_compiler_type=$depmode
     3321        break
     3322      fi
     3323    fi
     3324  done
     3325
     3326  cd ..
     3327  rm -rf conftest.dir
     3328else
     3329  am_cv_CXX_dependencies_compiler_type=none
     3330fi
     3331
     3332fi
     3333{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
     3334$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
     3335CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
     3336
     3337 if
     3338  test "x$enable_dependency_tracking" != xno \
     3339  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
     3340  am__fastdepCXX_TRUE=
     3341  am__fastdepCXX_FALSE='#'
     3342else
     3343  am__fastdepCXX_TRUE='#'
     3344  am__fastdepCXX_FALSE=
     3345fi
     3346
     3347
     3348ac_ext=c
     3349ac_cpp='$CPP $CPPFLAGS'
     3350ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     3351ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     3352ac_compiler_gnu=$ac_cv_c_compiler_gnu
     3353if test -n "$ac_tool_prefix"; then
     3354  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
     3355set dummy ${ac_tool_prefix}gcc; ac_word=$2
     3356{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3357$as_echo_n "checking for $ac_word... " >&6; }
     3358if ${ac_cv_prog_CC+:} false; then :
     3359  $as_echo_n "(cached) " >&6
     3360else
     3361  if test -n "$CC"; then
     3362  ac_cv_prog_CC="$CC" # Let the user override the test.
     3363else
     3364as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3365for as_dir in $PATH
     3366do
     3367  IFS=$as_save_IFS
     3368  test -z "$as_dir" && as_dir=.
     3369    for ac_exec_ext in '' $ac_executable_extensions; do
     3370  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3371    ac_cv_prog_CC="${ac_tool_prefix}gcc"
     3372    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3373    break 2
     3374  fi
     3375done
     3376  done
     3377IFS=$as_save_IFS
     3378
     3379fi
     3380fi
     3381CC=$ac_cv_prog_CC
     3382if test -n "$CC"; then
     3383  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     3384$as_echo "$CC" >&6; }
     3385else
     3386  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3387$as_echo "no" >&6; }
     3388fi
     3389
     3390
     3391fi
     3392if test -z "$ac_cv_prog_CC"; then
     3393  ac_ct_CC=$CC
     3394  # Extract the first word of "gcc", so it can be a program name with args.
     3395set dummy gcc; ac_word=$2
     3396{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3397$as_echo_n "checking for $ac_word... " >&6; }
     3398if ${ac_cv_prog_ac_ct_CC+:} false; then :
     3399  $as_echo_n "(cached) " >&6
     3400else
     3401  if test -n "$ac_ct_CC"; then
     3402  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     3403else
     3404as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3405for as_dir in $PATH
     3406do
     3407  IFS=$as_save_IFS
     3408  test -z "$as_dir" && as_dir=.
     3409    for ac_exec_ext in '' $ac_executable_extensions; do
     3410  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3411    ac_cv_prog_ac_ct_CC="gcc"
     3412    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3413    break 2
     3414  fi
     3415done
     3416  done
     3417IFS=$as_save_IFS
     3418
     3419fi
     3420fi
     3421ac_ct_CC=$ac_cv_prog_ac_ct_CC
     3422if test -n "$ac_ct_CC"; then
     3423  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     3424$as_echo "$ac_ct_CC" >&6; }
     3425else
     3426  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3427$as_echo "no" >&6; }
     3428fi
     3429
     3430  if test "x$ac_ct_CC" = x; then
     3431    CC=""
     3432  else
     3433    case $cross_compiling:$ac_tool_warned in
     3434yes:)
     3435{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     3436$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     3437ac_tool_warned=yes ;;
     3438esac
     3439    CC=$ac_ct_CC
     3440  fi
     3441else
     3442  CC="$ac_cv_prog_CC"
     3443fi
     3444
     3445if test -z "$CC"; then
     3446          if test -n "$ac_tool_prefix"; then
     3447    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
     3448set dummy ${ac_tool_prefix}cc; ac_word=$2
     3449{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3450$as_echo_n "checking for $ac_word... " >&6; }
     3451if ${ac_cv_prog_CC+:} false; then :
     3452  $as_echo_n "(cached) " >&6
     3453else
     3454  if test -n "$CC"; then
     3455  ac_cv_prog_CC="$CC" # Let the user override the test.
     3456else
     3457as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3458for as_dir in $PATH
     3459do
     3460  IFS=$as_save_IFS
     3461  test -z "$as_dir" && as_dir=.
     3462    for ac_exec_ext in '' $ac_executable_extensions; do
     3463  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3464    ac_cv_prog_CC="${ac_tool_prefix}cc"
     3465    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3466    break 2
     3467  fi
     3468done
     3469  done
     3470IFS=$as_save_IFS
     3471
     3472fi
     3473fi
     3474CC=$ac_cv_prog_CC
     3475if test -n "$CC"; then
     3476  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     3477$as_echo "$CC" >&6; }
     3478else
     3479  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3480$as_echo "no" >&6; }
     3481fi
     3482
     3483
     3484  fi
     3485fi
     3486if test -z "$CC"; then
     3487  # Extract the first word of "cc", so it can be a program name with args.
     3488set dummy cc; ac_word=$2
     3489{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3490$as_echo_n "checking for $ac_word... " >&6; }
     3491if ${ac_cv_prog_CC+:} false; then :
     3492  $as_echo_n "(cached) " >&6
     3493else
     3494  if test -n "$CC"; then
     3495  ac_cv_prog_CC="$CC" # Let the user override the test.
     3496else
     3497  ac_prog_rejected=no
     3498as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3499for as_dir in $PATH
     3500do
     3501  IFS=$as_save_IFS
     3502  test -z "$as_dir" && as_dir=.
     3503    for ac_exec_ext in '' $ac_executable_extensions; do
     3504  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3505    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
     3506       ac_prog_rejected=yes
     3507       continue
     3508     fi
     3509    ac_cv_prog_CC="cc"
     3510    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3511    break 2
     3512  fi
     3513done
     3514  done
     3515IFS=$as_save_IFS
     3516
     3517if test $ac_prog_rejected = yes; then
     3518  # We found a bogon in the path, so make sure we never use it.
     3519  set dummy $ac_cv_prog_CC
     3520  shift
     3521  if test $# != 0; then
     3522    # We chose a different compiler from the bogus one.
     3523    # However, it has the same basename, so the bogon will be chosen
     3524    # first if we set CC to just the basename; use the full file name.
     3525    shift
     3526    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
     3527  fi
     3528fi
     3529fi
     3530fi
     3531CC=$ac_cv_prog_CC
     3532if test -n "$CC"; then
     3533  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     3534$as_echo "$CC" >&6; }
     3535else
     3536  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3537$as_echo "no" >&6; }
     3538fi
     3539
     3540
     3541fi
     3542if test -z "$CC"; then
     3543  if test -n "$ac_tool_prefix"; then
     3544  for ac_prog in cl.exe
     3545  do
     3546    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
     3547set dummy $ac_tool_prefix$ac_prog; ac_word=$2
     3548{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3549$as_echo_n "checking for $ac_word... " >&6; }
     3550if ${ac_cv_prog_CC+:} false; then :
     3551  $as_echo_n "(cached) " >&6
     3552else
     3553  if test -n "$CC"; then
     3554  ac_cv_prog_CC="$CC" # Let the user override the test.
     3555else
     3556as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3557for as_dir in $PATH
     3558do
     3559  IFS=$as_save_IFS
     3560  test -z "$as_dir" && as_dir=.
     3561    for ac_exec_ext in '' $ac_executable_extensions; do
     3562  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3563    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
     3564    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3565    break 2
     3566  fi
     3567done
     3568  done
     3569IFS=$as_save_IFS
     3570
     3571fi
     3572fi
     3573CC=$ac_cv_prog_CC
     3574if test -n "$CC"; then
     3575  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     3576$as_echo "$CC" >&6; }
     3577else
     3578  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3579$as_echo "no" >&6; }
     3580fi
     3581
     3582
     3583    test -n "$CC" && break
     3584  done
     3585fi
     3586if test -z "$CC"; then
     3587  ac_ct_CC=$CC
     3588  for ac_prog in cl.exe
     3589do
     3590  # Extract the first word of "$ac_prog", so it can be a program name with args.
     3591set dummy $ac_prog; ac_word=$2
     3592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3593$as_echo_n "checking for $ac_word... " >&6; }
     3594if ${ac_cv_prog_ac_ct_CC+:} false; then :
     3595  $as_echo_n "(cached) " >&6
     3596else
     3597  if test -n "$ac_ct_CC"; then
     3598  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
     3599else
     3600as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3601for as_dir in $PATH
     3602do
     3603  IFS=$as_save_IFS
     3604  test -z "$as_dir" && as_dir=.
     3605    for ac_exec_ext in '' $ac_executable_extensions; do
     3606  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     3607    ac_cv_prog_ac_ct_CC="$ac_prog"
     3608    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3609    break 2
     3610  fi
     3611done
     3612  done
     3613IFS=$as_save_IFS
     3614
     3615fi
     3616fi
     3617ac_ct_CC=$ac_cv_prog_ac_ct_CC
     3618if test -n "$ac_ct_CC"; then
     3619  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     3620$as_echo "$ac_ct_CC" >&6; }
     3621else
     3622  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3623$as_echo "no" >&6; }
     3624fi
     3625
     3626
     3627  test -n "$ac_ct_CC" && break
     3628done
     3629
     3630  if test "x$ac_ct_CC" = x; then
     3631    CC=""
     3632  else
     3633    case $cross_compiling:$ac_tool_warned in
     3634yes:)
     3635{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     3636$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     3637ac_tool_warned=yes ;;
     3638esac
     3639    CC=$ac_ct_CC
     3640  fi
     3641fi
     3642
     3643fi
     3644
     3645
     3646test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3647$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3648as_fn_error $? "no acceptable C compiler found in \$PATH
     3649See \`config.log' for more details" "$LINENO" 5; }
     3650
     3651# Provide some information about the compiler.
     3652$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
     3653set X $ac_compile
     3654ac_compiler=$2
     3655for ac_option in --version -v -V -qversion; do
     3656  { { ac_try="$ac_compiler $ac_option >&5"
     3657case "(($ac_try" in
     3658  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3659  *) ac_try_echo=$ac_try;;
     3660esac
     3661eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3662$as_echo "$ac_try_echo"; } >&5
     3663  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
     3664  ac_status=$?
     3665  if test -s conftest.err; then
     3666    sed '10a\
     3667... rest of stderr output deleted ...
     3668         10q' conftest.err >conftest.er1
     3669    cat conftest.er1 >&5
     3670  fi
     3671  rm -f conftest.er1 conftest.err
     3672  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3673  test $ac_status = 0; }
     3674done
     3675
    38783676{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
    38793677$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
     
    42744072
    42754073
    4276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
    4277 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
    4278 if ${ac_cv_path_SED+:} false; then :
    4279   $as_echo_n "(cached) " >&6
    4280 else
    4281             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
    4282      for ac_i in 1 2 3 4 5 6 7; do
    4283        ac_script="$ac_script$as_nl$ac_script"
    4284      done
    4285      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
    4286      { ac_script=; unset ac_script;}
    4287      if test -z "$SED"; then
    4288   ac_path_SED_found=false
    4289   # Loop through the user's path and test for each of PROGNAME-LIST
    4290   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4291 for as_dir in $PATH
    4292 do
    4293   IFS=$as_save_IFS
    4294   test -z "$as_dir" && as_dir=.
    4295     for ac_prog in sed gsed; do
    4296     for ac_exec_ext in '' $ac_executable_extensions; do
    4297       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
    4298       as_fn_executable_p "$ac_path_SED" || continue
    4299 # Check for GNU ac_path_SED and select it if it is found.
    4300   # Check for GNU $ac_path_SED
    4301 case `"$ac_path_SED" --version 2>&1` in
    4302 *GNU*)
    4303   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
    4304 *)
    4305   ac_count=0
    4306   $as_echo_n 0123456789 >"conftest.in"
    4307   while :
    4308   do
    4309     cat "conftest.in" "conftest.in" >"conftest.tmp"
    4310     mv "conftest.tmp" "conftest.in"
    4311     cp "conftest.in" "conftest.nl"
    4312     $as_echo '' >> "conftest.nl"
    4313     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
    4314     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4315     as_fn_arith $ac_count + 1 && ac_count=$as_val
    4316     if test $ac_count -gt ${ac_path_SED_max-0}; then
    4317       # Best one so far, save it but keep looking for a better one
    4318       ac_cv_path_SED="$ac_path_SED"
    4319       ac_path_SED_max=$ac_count
    4320     fi
    4321     # 10*(2^10) chars as input seems more than enough
    4322     test $ac_count -gt 10 && break
    4323   done
    4324   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
    4325 esac
    4326 
    4327       $ac_path_SED_found && break 3
    4328     done
    4329   done
    4330   done
    4331 IFS=$as_save_IFS
    4332   if test -z "$ac_cv_path_SED"; then
    4333     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
    4334   fi
    4335 else
    4336   ac_cv_path_SED=$SED
    4337 fi
    4338 
    4339 fi
    4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
    4341 $as_echo "$ac_cv_path_SED" >&6; }
    4342  SED="$ac_cv_path_SED"
    4343   rm -f conftest.sed
    4344 
    4345 test -z "$SED" && SED=sed
    4346 Xsed="$SED -e 1s/^X//"
    4347 
    4348 
    4349 
    4350 
    4351 
    4352 
    4353 
    4354 
    4355 
    4356 
    4357 
    4358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
    4359 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
    4360 if ${ac_cv_path_GREP+:} false; then :
    4361   $as_echo_n "(cached) " >&6
    4362 else
    4363   if test -z "$GREP"; then
    4364   ac_path_GREP_found=false
    4365   # Loop through the user's path and test for each of PROGNAME-LIST
    4366   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4367 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
    4368 do
    4369   IFS=$as_save_IFS
    4370   test -z "$as_dir" && as_dir=.
    4371     for ac_prog in grep ggrep; do
    4372     for ac_exec_ext in '' $ac_executable_extensions; do
    4373       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
    4374       as_fn_executable_p "$ac_path_GREP" || continue
    4375 # Check for GNU ac_path_GREP and select it if it is found.
    4376   # Check for GNU $ac_path_GREP
    4377 case `"$ac_path_GREP" --version 2>&1` in
    4378 *GNU*)
    4379   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
    4380 *)
    4381   ac_count=0
    4382   $as_echo_n 0123456789 >"conftest.in"
    4383   while :
    4384   do
    4385     cat "conftest.in" "conftest.in" >"conftest.tmp"
    4386     mv "conftest.tmp" "conftest.in"
    4387     cp "conftest.in" "conftest.nl"
    4388     $as_echo 'GREP' >> "conftest.nl"
    4389     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    4390     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4391     as_fn_arith $ac_count + 1 && ac_count=$as_val
    4392     if test $ac_count -gt ${ac_path_GREP_max-0}; then
    4393       # Best one so far, save it but keep looking for a better one
    4394       ac_cv_path_GREP="$ac_path_GREP"
    4395       ac_path_GREP_max=$ac_count
    4396     fi
    4397     # 10*(2^10) chars as input seems more than enough
    4398     test $ac_count -gt 10 && break
    4399   done
    4400   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
    4401 esac
    4402 
    4403       $ac_path_GREP_found && break 3
    4404     done
    4405   done
    4406   done
    4407 IFS=$as_save_IFS
    4408   if test -z "$ac_cv_path_GREP"; then
    4409     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    4410   fi
    4411 else
    4412   ac_cv_path_GREP=$GREP
    4413 fi
    4414 
    4415 fi
    4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
    4417 $as_echo "$ac_cv_path_GREP" >&6; }
    4418  GREP="$ac_cv_path_GREP"
    4419 
    4420 
    4421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
    4422 $as_echo_n "checking for egrep... " >&6; }
    4423 if ${ac_cv_path_EGREP+:} false; then :
    4424   $as_echo_n "(cached) " >&6
    4425 else
    4426   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
    4427    then ac_cv_path_EGREP="$GREP -E"
    4428    else
    4429      if test -z "$EGREP"; then
    4430   ac_path_EGREP_found=false
    4431   # Loop through the user's path and test for each of PROGNAME-LIST
    4432   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4433 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
    4434 do
    4435   IFS=$as_save_IFS
    4436   test -z "$as_dir" && as_dir=.
    4437     for ac_prog in egrep; do
    4438     for ac_exec_ext in '' $ac_executable_extensions; do
    4439       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
    4440       as_fn_executable_p "$ac_path_EGREP" || continue
    4441 # Check for GNU ac_path_EGREP and select it if it is found.
    4442   # Check for GNU $ac_path_EGREP
    4443 case `"$ac_path_EGREP" --version 2>&1` in
    4444 *GNU*)
    4445   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
    4446 *)
    4447   ac_count=0
    4448   $as_echo_n 0123456789 >"conftest.in"
    4449   while :
    4450   do
    4451     cat "conftest.in" "conftest.in" >"conftest.tmp"
    4452     mv "conftest.tmp" "conftest.in"
    4453     cp "conftest.in" "conftest.nl"
    4454     $as_echo 'EGREP' >> "conftest.nl"
    4455     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    4456     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4457     as_fn_arith $ac_count + 1 && ac_count=$as_val
    4458     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
    4459       # Best one so far, save it but keep looking for a better one
    4460       ac_cv_path_EGREP="$ac_path_EGREP"
    4461       ac_path_EGREP_max=$ac_count
    4462     fi
    4463     # 10*(2^10) chars as input seems more than enough
    4464     test $ac_count -gt 10 && break
    4465   done
    4466   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
    4467 esac
    4468 
    4469       $ac_path_EGREP_found && break 3
    4470     done
    4471   done
    4472   done
    4473 IFS=$as_save_IFS
    4474   if test -z "$ac_cv_path_EGREP"; then
    4475     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    4476   fi
    4477 else
    4478   ac_cv_path_EGREP=$EGREP
    4479 fi
    4480 
    4481    fi
    4482 fi
    4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
    4484 $as_echo "$ac_cv_path_EGREP" >&6; }
    4485  EGREP="$ac_cv_path_EGREP"
    4486 
    4487 
    4488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
    4489 $as_echo_n "checking for fgrep... " >&6; }
    4490 if ${ac_cv_path_FGREP+:} false; then :
    4491   $as_echo_n "(cached) " >&6
    4492 else
    4493   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
    4494    then ac_cv_path_FGREP="$GREP -F"
    4495    else
    4496      if test -z "$FGREP"; then
    4497   ac_path_FGREP_found=false
    4498   # Loop through the user's path and test for each of PROGNAME-LIST
    4499   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4500 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
    4501 do
    4502   IFS=$as_save_IFS
    4503   test -z "$as_dir" && as_dir=.
    4504     for ac_prog in fgrep; do
    4505     for ac_exec_ext in '' $ac_executable_extensions; do
    4506       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
    4507       as_fn_executable_p "$ac_path_FGREP" || continue
    4508 # Check for GNU ac_path_FGREP and select it if it is found.
    4509   # Check for GNU $ac_path_FGREP
    4510 case `"$ac_path_FGREP" --version 2>&1` in
    4511 *GNU*)
    4512   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
    4513 *)
    4514   ac_count=0
    4515   $as_echo_n 0123456789 >"conftest.in"
    4516   while :
    4517   do
    4518     cat "conftest.in" "conftest.in" >"conftest.tmp"
    4519     mv "conftest.tmp" "conftest.in"
    4520     cp "conftest.in" "conftest.nl"
    4521     $as_echo 'FGREP' >> "conftest.nl"
    4522     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
    4523     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4524     as_fn_arith $ac_count + 1 && ac_count=$as_val
    4525     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
    4526       # Best one so far, save it but keep looking for a better one
    4527       ac_cv_path_FGREP="$ac_path_FGREP"
    4528       ac_path_FGREP_max=$ac_count
    4529     fi
    4530     # 10*(2^10) chars as input seems more than enough
    4531     test $ac_count -gt 10 && break
    4532   done
    4533   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
    4534 esac
    4535 
    4536       $ac_path_FGREP_found && break 3
    4537     done
    4538   done
    4539   done
    4540 IFS=$as_save_IFS
    4541   if test -z "$ac_cv_path_FGREP"; then
    4542     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    4543   fi
    4544 else
    4545   ac_cv_path_FGREP=$FGREP
    4546 fi
    4547 
    4548    fi
    4549 fi
    4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
    4551 $as_echo "$ac_cv_path_FGREP" >&6; }
    4552  FGREP="$ac_cv_path_FGREP"
    4553 
    4554 
    4555 test -z "$GREP" && GREP=grep
    4556 
    4557 
    4558 
    4559 
    4560 
    4561 
    4562 
    4563 
    4564 
    4565 
    4566 
    4567 
    4568 
    4569 
    4570 
    4571 
    4572 
    4573 
    4574 
    4575 # Check whether --with-gnu-ld was given.
    4576 if test "${with_gnu_ld+set}" = set; then :
    4577   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
    4578 else
    4579   with_gnu_ld=no
    4580 fi
    4581 
    4582 ac_prog=ld
    4583 if test yes = "$GCC"; then
    4584   # Check if gcc -print-prog-name=ld gives a path.
    4585   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
    4586 $as_echo_n "checking for ld used by $CC... " >&6; }
    4587   case $host in
    4588   *-*-mingw*)
    4589     # gcc leaves a trailing carriage return, which upsets mingw
    4590     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
    4591   *)
    4592     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
    4593   esac
    4594   case $ac_prog in
    4595     # Accept absolute paths.
    4596     [\\/]* | ?:[\\/]*)
    4597       re_direlt='/[^/][^/]*/\.\./'
    4598       # Canonicalize the pathname of ld
    4599       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
    4600       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
    4601         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
    4602       done
    4603       test -z "$LD" && LD=$ac_prog
    4604       ;;
    4605   "")
    4606     # If it fails, then pretend we aren't using GCC.
    4607     ac_prog=ld
    4608     ;;
    4609   *)
    4610     # If it is relative, then search for the first ld in PATH.
    4611     with_gnu_ld=unknown
    4612     ;;
    4613   esac
    4614 elif test yes = "$with_gnu_ld"; then
    4615   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
    4616 $as_echo_n "checking for GNU ld... " >&6; }
    4617 else
    4618   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
    4619 $as_echo_n "checking for non-GNU ld... " >&6; }
    4620 fi
    4621 if ${lt_cv_path_LD+:} false; then :
    4622   $as_echo_n "(cached) " >&6
    4623 else
    4624   if test -z "$LD"; then
    4625   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
    4626   for ac_dir in $PATH; do
    4627     IFS=$lt_save_ifs
    4628     test -z "$ac_dir" && ac_dir=.
    4629     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
    4630       lt_cv_path_LD=$ac_dir/$ac_prog
    4631       # Check to see if the program is GNU ld.  I'd rather use --version,
    4632       # but apparently some variants of GNU ld only accept -v.
    4633       # Break only if it was the GNU/non-GNU ld that we prefer.
    4634       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
    4635       *GNU* | *'with BFD'*)
    4636         test no != "$with_gnu_ld" && break
    4637         ;;
    4638       *)
    4639         test yes != "$with_gnu_ld" && break
    4640         ;;
    4641       esac
    4642     fi
    4643   done
    4644   IFS=$lt_save_ifs
    4645 else
    4646   lt_cv_path_LD=$LD # Let the user override the test with a path.
    4647 fi
    4648 fi
    4649 
    4650 LD=$lt_cv_path_LD
    4651 if test -n "$LD"; then
    4652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
    4653 $as_echo "$LD" >&6; }
    4654 else
    4655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    4656 $as_echo "no" >&6; }
    4657 fi
    4658 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
    4659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
    4660 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
    4661 if ${lt_cv_prog_gnu_ld+:} false; then :
    4662   $as_echo_n "(cached) " >&6
    4663 else
    4664   # I'd rather use --version here, but apparently some GNU lds only accept -v.
    4665 case `$LD -v 2>&1 </dev/null` in
    4666 *GNU* | *'with BFD'*)
    4667   lt_cv_prog_gnu_ld=yes
    4668   ;;
    4669 *)
    4670   lt_cv_prog_gnu_ld=no
    4671   ;;
    4672 esac
    4673 fi
    4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
    4675 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
    4676 with_gnu_ld=$lt_cv_prog_gnu_ld
    4677 
    4678 
    4679 
    4680 
    4681 
    4682 
    4683 
    4684 
    4685 
    4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
    4687 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
    4688 if ${lt_cv_path_NM+:} false; then :
    4689   $as_echo_n "(cached) " >&6
    4690 else
    4691   if test -n "$NM"; then
    4692   # Let the user override the test.
    4693   lt_cv_path_NM=$NM
    4694 else
    4695   lt_nm_to_check=${ac_tool_prefix}nm
    4696   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
    4697     lt_nm_to_check="$lt_nm_to_check nm"
    4698   fi
    4699   for lt_tmp_nm in $lt_nm_to_check; do
    4700     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
    4701     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
    4702       IFS=$lt_save_ifs
    4703       test -z "$ac_dir" && ac_dir=.
    4704       tmp_nm=$ac_dir/$lt_tmp_nm
    4705       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
    4706         # Check to see if the nm accepts a BSD-compat flag.
    4707         # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
    4708         #   nm: unknown option "B" ignored
    4709         # Tru64's nm complains that /dev/null is an invalid object file
    4710         # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
    4711         case $build_os in
    4712         mingw*) lt_bad_file=conftest.nm/nofile ;;
    4713         *) lt_bad_file=/dev/null ;;
    4714         esac
    4715         case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
    4716         *$lt_bad_file* | *'Invalid file or object type'*)
    4717           lt_cv_path_NM="$tmp_nm -B"
    4718           break 2
    4719           ;;
    4720         *)
    4721           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
    4722           */dev/null*)
    4723             lt_cv_path_NM="$tmp_nm -p"
    4724             break 2
    4725             ;;
    4726           *)
    4727             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
    4728             continue # so that we can try to find one that supports BSD flags
    4729             ;;
    4730           esac
    4731           ;;
    4732         esac
    4733       fi
    4734     done
    4735     IFS=$lt_save_ifs
    4736   done
    4737   : ${lt_cv_path_NM=no}
    4738 fi
    4739 fi
    4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
    4741 $as_echo "$lt_cv_path_NM" >&6; }
    4742 if test no != "$lt_cv_path_NM"; then
    4743   NM=$lt_cv_path_NM
    4744 else
    4745   # Didn't find any BSD compatible name lister, look for dumpbin.
    4746   if test -n "$DUMPBIN"; then :
    4747     # Let the user override the test.
    4748   else
    4749     if test -n "$ac_tool_prefix"; then
    4750   for ac_prog in dumpbin "link -dump"
    4751   do
    4752     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    4753 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    4754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    4755 $as_echo_n "checking for $ac_word... " >&6; }
    4756 if ${ac_cv_prog_DUMPBIN+:} false; then :
    4757   $as_echo_n "(cached) " >&6
    4758 else
    4759   if test -n "$DUMPBIN"; then
    4760   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
    4761 else
    4762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4763 for as_dir in $PATH
    4764 do
    4765   IFS=$as_save_IFS
    4766   test -z "$as_dir" && as_dir=.
    4767     for ac_exec_ext in '' $ac_executable_extensions; do
    4768   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    4769     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
    4770     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    4771     break 2
    4772   fi
    4773 done
    4774   done
    4775 IFS=$as_save_IFS
    4776 
    4777 fi
    4778 fi
    4779 DUMPBIN=$ac_cv_prog_DUMPBIN
    4780 if test -n "$DUMPBIN"; then
    4781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
    4782 $as_echo "$DUMPBIN" >&6; }
    4783 else
    4784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    4785 $as_echo "no" >&6; }
    4786 fi
    4787 
    4788 
    4789     test -n "$DUMPBIN" && break
    4790   done
    4791 fi
    4792 if test -z "$DUMPBIN"; then
    4793   ac_ct_DUMPBIN=$DUMPBIN
    4794   for ac_prog in dumpbin "link -dump"
    4795 do
    4796   # Extract the first word of "$ac_prog", so it can be a program name with args.
    4797 set dummy $ac_prog; ac_word=$2
    4798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    4799 $as_echo_n "checking for $ac_word... " >&6; }
    4800 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
    4801   $as_echo_n "(cached) " >&6
    4802 else
    4803   if test -n "$ac_ct_DUMPBIN"; then
    4804   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
    4805 else
    4806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4807 for as_dir in $PATH
    4808 do
    4809   IFS=$as_save_IFS
    4810   test -z "$as_dir" && as_dir=.
    4811     for ac_exec_ext in '' $ac_executable_extensions; do
    4812   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    4813     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
    4814     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    4815     break 2
    4816   fi
    4817 done
    4818   done
    4819 IFS=$as_save_IFS
    4820 
    4821 fi
    4822 fi
    4823 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
    4824 if test -n "$ac_ct_DUMPBIN"; then
    4825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
    4826 $as_echo "$ac_ct_DUMPBIN" >&6; }
    4827 else
    4828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    4829 $as_echo "no" >&6; }
    4830 fi
    4831 
    4832 
    4833   test -n "$ac_ct_DUMPBIN" && break
    4834 done
    4835 
    4836   if test "x$ac_ct_DUMPBIN" = x; then
    4837     DUMPBIN=":"
    4838   else
    4839     case $cross_compiling:$ac_tool_warned in
    4840 yes:)
    4841 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    4842 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    4843 ac_tool_warned=yes ;;
    4844 esac
    4845     DUMPBIN=$ac_ct_DUMPBIN
    4846   fi
    4847 fi
    4848 
    4849     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
    4850     *COFF*)
    4851       DUMPBIN="$DUMPBIN -symbols -headers"
    4852       ;;
    4853     *)
    4854       DUMPBIN=:
    4855       ;;
    4856     esac
    4857   fi
    4858 
    4859   if test : != "$DUMPBIN"; then
    4860     NM=$DUMPBIN
    4861   fi
    4862 fi
    4863 test -z "$NM" && NM=nm
    4864 
    4865 
    4866 
    4867 
    4868 
    4869 
    4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
    4871 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
    4872 if ${lt_cv_nm_interface+:} false; then :
    4873   $as_echo_n "(cached) " >&6
    4874 else
    4875   lt_cv_nm_interface="BSD nm"
    4876   echo "int some_variable = 0;" > conftest.$ac_ext
    4877   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
    4878   (eval "$ac_compile" 2>conftest.err)
    4879   cat conftest.err >&5
    4880   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
    4881   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
    4882   cat conftest.err >&5
    4883   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
    4884   cat conftest.out >&5
    4885   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
    4886     lt_cv_nm_interface="MS dumpbin"
    4887   fi
    4888   rm -f conftest*
    4889 fi
    4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
    4891 $as_echo "$lt_cv_nm_interface" >&6; }
    4892 
    4893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
    4894 $as_echo_n "checking whether ln -s works... " >&6; }
    4895 LN_S=$as_ln_s
    4896 if test "$LN_S" = "ln -s"; then
    4897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    4898 $as_echo "yes" >&6; }
    4899 else
    4900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
    4901 $as_echo "no, using $LN_S" >&6; }
    4902 fi
    4903 
    4904 # find the maximum length of command line arguments
    4905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
    4906 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
    4907 if ${lt_cv_sys_max_cmd_len+:} false; then :
    4908   $as_echo_n "(cached) " >&6
    4909 else
    4910     i=0
    4911   teststring=ABCD
    4912 
    4913   case $build_os in
    4914   msdosdjgpp*)
    4915     # On DJGPP, this test can blow up pretty badly due to problems in libc
    4916     # (any single argument exceeding 2000 bytes causes a buffer overrun
    4917     # during glob expansion).  Even if it were fixed, the result of this
    4918     # check would be larger than it should be.
    4919     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
    4920     ;;
    4921 
    4922   gnu*)
    4923     # Under GNU Hurd, this test is not required because there is
    4924     # no limit to the length of command line arguments.
    4925     # Libtool will interpret -1 as no limit whatsoever
    4926     lt_cv_sys_max_cmd_len=-1;
    4927     ;;
    4928 
    4929   cygwin* | mingw* | cegcc*)
    4930     # On Win9x/ME, this test blows up -- it succeeds, but takes
    4931     # about 5 minutes as the teststring grows exponentially.
    4932     # Worse, since 9x/ME are not pre-emptively multitasking,
    4933     # you end up with a "frozen" computer, even though with patience
    4934     # the test eventually succeeds (with a max line length of 256k).
    4935     # Instead, let's just punt: use the minimum linelength reported by
    4936     # all of the supported platforms: 8192 (on NT/2K/XP).
    4937     lt_cv_sys_max_cmd_len=8192;
    4938     ;;
    4939 
    4940   mint*)
    4941     # On MiNT this can take a long time and run out of memory.
    4942     lt_cv_sys_max_cmd_len=8192;
    4943     ;;
    4944 
    4945   amigaos*)
    4946     # On AmigaOS with pdksh, this test takes hours, literally.
    4947     # So we just punt and use a minimum line length of 8192.
    4948     lt_cv_sys_max_cmd_len=8192;
    4949     ;;
    4950 
    4951   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
    4952     # This has been around since 386BSD, at least.  Likely further.
    4953     if test -x /sbin/sysctl; then
    4954       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
    4955     elif test -x /usr/sbin/sysctl; then
    4956       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
    4957     else
    4958       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
    4959     fi
    4960     # And add a safety zone
    4961     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
    4962     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
    4963     ;;
    4964 
    4965   interix*)
    4966     # We know the value 262144 and hardcode it with a safety zone (like BSD)
    4967     lt_cv_sys_max_cmd_len=196608
    4968     ;;
    4969 
    4970   os2*)
    4971     # The test takes a long time on OS/2.
    4972     lt_cv_sys_max_cmd_len=8192
    4973     ;;
    4974 
    4975   osf*)
    4976     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
    4977     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
    4978     # nice to cause kernel panics so lets avoid the loop below.
    4979     # First set a reasonable default.
    4980     lt_cv_sys_max_cmd_len=16384
    4981     #
    4982     if test -x /sbin/sysconfig; then
    4983       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
    4984         *1*) lt_cv_sys_max_cmd_len=-1 ;;
    4985       esac
    4986     fi
    4987     ;;
    4988   sco3.2v5*)
    4989     lt_cv_sys_max_cmd_len=102400
    4990     ;;
    4991   sysv5* | sco5v6* | sysv4.2uw2*)
    4992     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
    4993     if test -n "$kargmax"; then
    4994       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
    4995     else
    4996       lt_cv_sys_max_cmd_len=32768
    4997     fi
    4998     ;;
    4999   *)
    5000     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
    5001     if test -n "$lt_cv_sys_max_cmd_len" && \
    5002        test undefined != "$lt_cv_sys_max_cmd_len"; then
    5003       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
    5004       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
    5005     else
    5006       # Make teststring a little bigger before we do anything with it.
    5007       # a 1K string should be a reasonable start.
    5008       for i in 1 2 3 4 5 6 7 8; do
    5009         teststring=$teststring$teststring
    5010       done
    5011       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
    5012       # If test is not a shell built-in, we'll probably end up computing a
    5013       # maximum length that is only half of the actual maximum length, but
    5014       # we can't tell.
    5015       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
    5016                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
    5017               test 17 != "$i" # 1/2 MB should be enough
    5018       do
    5019         i=`expr $i + 1`
    5020         teststring=$teststring$teststring
    5021       done
    5022       # Only check the string length outside the loop.
    5023       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
    5024       teststring=
    5025       # Add a significant safety factor because C++ compilers can tack on
    5026       # massive amounts of additional arguments before passing them to the
    5027       # linker.  It appears as though 1/2 is a usable value.
    5028       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
    5029     fi
    5030     ;;
    5031   esac
    5032 
    5033 fi
    5034 
    5035 if test -n "$lt_cv_sys_max_cmd_len"; then
    5036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
    5037 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
    5038 else
    5039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
    5040 $as_echo "none" >&6; }
    5041 fi
    5042 max_cmd_len=$lt_cv_sys_max_cmd_len
    5043 
    5044 
    5045 
    5046 
    5047 
    5048 
    5049 : ${CP="cp -f"}
    5050 : ${MV="mv -f"}
    5051 : ${RM="rm -f"}
    5052 
    5053 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    5054   lt_unset=unset
    5055 else
    5056   lt_unset=false
    5057 fi
    5058 
    5059 
    5060 
    5061 
    5062 
    5063 # test EBCDIC or ASCII
    5064 case `echo X|tr X '\101'` in
    5065  A) # ASCII based system
    5066     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
    5067   lt_SP2NL='tr \040 \012'
    5068   lt_NL2SP='tr \015\012 \040\040'
    5069   ;;
    5070  *) # EBCDIC based system
    5071   lt_SP2NL='tr \100 \n'
    5072   lt_NL2SP='tr \r\n \100\100'
    5073   ;;
    5074 esac
    5075 
    5076 
    5077 
    5078 
    5079 
    5080 
    5081 
    5082 
    5083 
    5084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
    5085 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
    5086 if ${lt_cv_to_host_file_cmd+:} false; then :
    5087   $as_echo_n "(cached) " >&6
    5088 else
    5089   case $host in
    5090   *-*-mingw* )
    5091     case $build in
    5092       *-*-mingw* ) # actually msys
    5093         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
    5094         ;;
    5095       *-*-cygwin* )
    5096         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
    5097         ;;
    5098       * ) # otherwise, assume *nix
    5099         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
    5100         ;;
    5101     esac
    5102     ;;
    5103   *-*-cygwin* )
    5104     case $build in
    5105       *-*-mingw* ) # actually msys
    5106         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
    5107         ;;
    5108       *-*-cygwin* )
    5109         lt_cv_to_host_file_cmd=func_convert_file_noop
    5110         ;;
    5111       * ) # otherwise, assume *nix
    5112         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
    5113         ;;
    5114     esac
    5115     ;;
    5116   * ) # unhandled hosts (and "normal" native builds)
    5117     lt_cv_to_host_file_cmd=func_convert_file_noop
    5118     ;;
    5119 esac
    5120 
    5121 fi
    5122 
    5123 to_host_file_cmd=$lt_cv_to_host_file_cmd
    5124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
    5125 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
    5126 
    5127 
    5128 
    5129 
    5130 
    5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
    5132 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
    5133 if ${lt_cv_to_tool_file_cmd+:} false; then :
    5134   $as_echo_n "(cached) " >&6
    5135 else
    5136   #assume ordinary cross tools, or native build.
    5137 lt_cv_to_tool_file_cmd=func_convert_file_noop
    5138 case $host in
    5139   *-*-mingw* )
    5140     case $build in
    5141       *-*-mingw* ) # actually msys
    5142         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
    5143         ;;
    5144     esac
    5145     ;;
    5146 esac
    5147 
    5148 fi
    5149 
    5150 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
    5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
    5152 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
    5153 
    5154 
    5155 
    5156 
    5157 
    5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
    5159 $as_echo_n "checking for $LD option to reload object files... " >&6; }
    5160 if ${lt_cv_ld_reload_flag+:} false; then :
    5161   $as_echo_n "(cached) " >&6
    5162 else
    5163   lt_cv_ld_reload_flag='-r'
    5164 fi
    5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
    5166 $as_echo "$lt_cv_ld_reload_flag" >&6; }
    5167 reload_flag=$lt_cv_ld_reload_flag
    5168 case $reload_flag in
    5169 "" | " "*) ;;
    5170 *) reload_flag=" $reload_flag" ;;
    5171 esac
    5172 reload_cmds='$LD$reload_flag -o $output$reload_objs'
    5173 case $host_os in
    5174   cygwin* | mingw* | pw32* | cegcc*)
    5175     if test yes != "$GCC"; then
    5176       reload_cmds=false
    5177     fi
    5178     ;;
    5179   darwin*)
    5180     if test yes = "$GCC"; then
    5181       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
    5182     else
    5183       reload_cmds='$LD$reload_flag -o $output$reload_objs'
    5184     fi
    5185     ;;
    5186 esac
    5187 
    5188 
    5189 
    5190 
    5191 
    5192 
    5193 
    5194 
    5195 
    5196 if test -n "$ac_tool_prefix"; then
    5197   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
    5198 set dummy ${ac_tool_prefix}objdump; ac_word=$2
    5199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    5200 $as_echo_n "checking for $ac_word... " >&6; }
    5201 if ${ac_cv_prog_OBJDUMP+:} false; then :
    5202   $as_echo_n "(cached) " >&6
    5203 else
    5204   if test -n "$OBJDUMP"; then
    5205   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
    5206 else
    5207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5208 for as_dir in $PATH
    5209 do
    5210   IFS=$as_save_IFS
    5211   test -z "$as_dir" && as_dir=.
    5212     for ac_exec_ext in '' $ac_executable_extensions; do
    5213   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5214     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
    5215     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    5216     break 2
    5217   fi
    5218 done
    5219   done
    5220 IFS=$as_save_IFS
    5221 
    5222 fi
    5223 fi
    5224 OBJDUMP=$ac_cv_prog_OBJDUMP
    5225 if test -n "$OBJDUMP"; then
    5226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
    5227 $as_echo "$OBJDUMP" >&6; }
    5228 else
    5229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    5230 $as_echo "no" >&6; }
    5231 fi
    5232 
    5233 
    5234 fi
    5235 if test -z "$ac_cv_prog_OBJDUMP"; then
    5236   ac_ct_OBJDUMP=$OBJDUMP
    5237   # Extract the first word of "objdump", so it can be a program name with args.
    5238 set dummy objdump; ac_word=$2
    5239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    5240 $as_echo_n "checking for $ac_word... " >&6; }
    5241 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
    5242   $as_echo_n "(cached) " >&6
    5243 else
    5244   if test -n "$ac_ct_OBJDUMP"; then
    5245   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
    5246 else
    5247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5248 for as_dir in $PATH
    5249 do
    5250   IFS=$as_save_IFS
    5251   test -z "$as_dir" && as_dir=.
    5252     for ac_exec_ext in '' $ac_executable_extensions; do
    5253   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5254     ac_cv_prog_ac_ct_OBJDUMP="objdump"
    5255     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    5256     break 2
    5257   fi
    5258 done
    5259   done
    5260 IFS=$as_save_IFS
    5261 
    5262 fi
    5263 fi
    5264 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
    5265 if test -n "$ac_ct_OBJDUMP"; then
    5266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
    5267 $as_echo "$ac_ct_OBJDUMP" >&6; }
    5268 else
    5269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    5270 $as_echo "no" >&6; }
    5271 fi
    5272 
    5273   if test "x$ac_ct_OBJDUMP" = x; then
    5274     OBJDUMP="false"
    5275   else
    5276     case $cross_compiling:$ac_tool_warned in
    5277 yes:)
    5278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    5279 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    5280 ac_tool_warned=yes ;;
    5281 esac
    5282     OBJDUMP=$ac_ct_OBJDUMP
    5283   fi
    5284 else
    5285   OBJDUMP="$ac_cv_prog_OBJDUMP"
    5286 fi
    5287 
    5288 test -z "$OBJDUMP" && OBJDUMP=objdump
    5289 
    5290 
    5291 
    5292 
    5293 
    5294 
    5295 
    5296 
    5297 
    5298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
    5299 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
    5300 if ${lt_cv_deplibs_check_method+:} false; then :
    5301   $as_echo_n "(cached) " >&6
    5302 else
    5303   lt_cv_file_magic_cmd='$MAGIC_CMD'
    5304 lt_cv_file_magic_test_file=
    5305 lt_cv_deplibs_check_method='unknown'
    5306 # Need to set the preceding variable on all platforms that support
    5307 # interlibrary dependencies.
    5308 # 'none' -- dependencies not supported.
    5309 # 'unknown' -- same as none, but documents that we really don't know.
    5310 # 'pass_all' -- all dependencies passed with no checks.
    5311 # 'test_compile' -- check by making test program.
    5312 # 'file_magic [[regex]]' -- check by looking for files in library path
    5313 # that responds to the $file_magic_cmd with a given extended regex.
    5314 # If you have 'file' or equivalent on your system and you're not sure
    5315 # whether 'pass_all' will *always* work, you probably want this one.
    5316 
    5317 case $host_os in
    5318 aix[4-9]*)
    5319   lt_cv_deplibs_check_method=pass_all
    5320   ;;
    5321 
    5322 beos*)
    5323   lt_cv_deplibs_check_method=pass_all
    5324   ;;
    5325 
    5326 bsdi[45]*)
    5327   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
    5328   lt_cv_file_magic_cmd='/usr/bin/file -L'
    5329   lt_cv_file_magic_test_file=/shlib/libc.so
    5330   ;;
    5331 
    5332 cygwin*)
    5333   # func_win32_libid is a shell function defined in ltmain.sh
    5334   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
    5335   lt_cv_file_magic_cmd='func_win32_libid'
    5336   ;;
    5337 
    5338 mingw* | pw32*)
    5339   # Base MSYS/MinGW do not provide the 'file' command needed by
    5340   # func_win32_libid shell function, so use a weaker test based on 'objdump',
    5341   # unless we find 'file', for example because we are cross-compiling.
    5342   if ( file / ) >/dev/null 2>&1; then
    5343     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
    5344     lt_cv_file_magic_cmd='func_win32_libid'
    5345   else
    5346     # Keep this pattern in sync with the one in func_win32_libid.
    5347     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
    5348     lt_cv_file_magic_cmd='$OBJDUMP -f'
    5349   fi
    5350   ;;
    5351 
    5352 cegcc*)
    5353   # use the weaker test based on 'objdump'. See mingw*.
    5354   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
    5355   lt_cv_file_magic_cmd='$OBJDUMP -f'
    5356   ;;
    5357 
    5358 darwin* | rhapsody*)
    5359   lt_cv_deplibs_check_method=pass_all
    5360   ;;
    5361 
    5362 freebsd* | dragonfly*)
    5363   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
    5364     case $host_cpu in
    5365     i*86 )
    5366       # Not sure whether the presence of OpenBSD here was a mistake.
    5367       # Let's accept both of them until this is cleared up.
    5368       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
    5369       lt_cv_file_magic_cmd=/usr/bin/file
    5370       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
    5371       ;;
    5372     esac
    5373   else
    5374     lt_cv_deplibs_check_method=pass_all
    5375   fi
    5376   ;;
    5377 
    5378 haiku*)
    5379   lt_cv_deplibs_check_method=pass_all
    5380   ;;
    5381 
    5382 hpux10.20* | hpux11*)
    5383   lt_cv_file_magic_cmd=/usr/bin/file
    5384   case $host_cpu in
    5385   ia64*)
    5386     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
    5387     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
    5388     ;;
    5389   hppa*64*)
    5390     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]'
    5391     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
    5392     ;;
    5393   *)
    5394     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
    5395     lt_cv_file_magic_test_file=/usr/lib/libc.sl
    5396     ;;
    5397   esac
    5398   ;;
    5399 
    5400 interix[3-9]*)
    5401   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
    5402   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
    5403   ;;
    5404 
    5405 irix5* | irix6* | nonstopux*)
    5406   case $LD in
    5407   *-32|*"-32 ") libmagic=32-bit;;
    5408   *-n32|*"-n32 ") libmagic=N32;;
    5409   *-64|*"-64 ") libmagic=64-bit;;
    5410   *) libmagic=never-match;;
    5411   esac
    5412   lt_cv_deplibs_check_method=pass_all
    5413   ;;
    5414 
    5415 # This must be glibc/ELF.
    5416 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
    5417   lt_cv_deplibs_check_method=pass_all
    5418   ;;
    5419 
    5420 netbsd* | netbsdelf*-gnu)
    5421   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
    5422     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
    5423   else
    5424     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
    5425   fi
    5426   ;;
    5427 
    5428 newos6*)
    5429   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
    5430   lt_cv_file_magic_cmd=/usr/bin/file
    5431   lt_cv_file_magic_test_file=/usr/lib/libnls.so
    5432   ;;
    5433 
    5434 *nto* | *qnx*)
    5435   lt_cv_deplibs_check_method=pass_all
    5436   ;;
    5437 
    5438 openbsd* | bitrig*)
    5439   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
    5440     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
    5441   else
    5442     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
    5443   fi
    5444   ;;
    5445 
    5446 osf3* | osf4* | osf5*)
    5447   lt_cv_deplibs_check_method=pass_all
    5448   ;;
    5449 
    5450 rdos*)
    5451   lt_cv_deplibs_check_method=pass_all
    5452   ;;
    5453 
    5454 solaris*)
    5455   lt_cv_deplibs_check_method=pass_all
    5456   ;;
    5457 
    5458 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
    5459   lt_cv_deplibs_check_method=pass_all
    5460   ;;
    5461 
    5462 sysv4 | sysv4.3*)
    5463   case $host_vendor in
    5464   motorola)
    5465     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]'
    5466     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
    5467     ;;
    5468   ncr)
    5469     lt_cv_deplibs_check_method=pass_all
    5470     ;;
    5471   sequent)
    5472     lt_cv_file_magic_cmd='/bin/file'
    5473     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
    5474     ;;
    5475   sni)
    5476     lt_cv_file_magic_cmd='/bin/file'
    5477     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
    5478     lt_cv_file_magic_test_file=/lib/libc.so
    5479     ;;
    5480   siemens)
    5481     lt_cv_deplibs_check_method=pass_all
    5482     ;;
    5483   pc)
    5484     lt_cv_deplibs_check_method=pass_all
    5485     ;;
    5486   esac
    5487   ;;
    5488 
    5489 tpf*)
    5490   lt_cv_deplibs_check_method=pass_all
    5491   ;;
    5492 os2*)
    5493   lt_cv_deplibs_check_method=pass_all
    5494   ;;
    5495 esac
    5496 
    5497 fi
    5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
    5499 $as_echo "$lt_cv_deplibs_check_method" >&6; }
    5500 
    5501 file_magic_glob=
    5502 want_nocaseglob=no
    5503 if test "$build" = "$host"; then
    5504   case $host_os in
    5505   mingw* | pw32*)
    5506     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
    5507       want_nocaseglob=yes
    5508     else
    5509       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
    5510     fi
    5511     ;;
    5512   esac
    5513 fi
    5514 
    5515 file_magic_cmd=$lt_cv_file_magic_cmd
    5516 deplibs_check_method=$lt_cv_deplibs_check_method
    5517 test -z "$deplibs_check_method" && deplibs_check_method=unknown
    5518 
    5519 
    5520 
    5521 
    5522 
    5523 
    5524 
    5525 
    5526 
    5527 
    5528 
    5529 
    5530 
    5531 
    5532 
    5533 
    5534 
    5535 
    5536 
    5537 
    5538 
    5539 
    5540 if test -n "$ac_tool_prefix"; then
    5541   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
    5542 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
    5543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    5544 $as_echo_n "checking for $ac_word... " >&6; }
    5545 if ${ac_cv_prog_DLLTOOL+:} false; then :
    5546   $as_echo_n "(cached) " >&6
    5547 else
    5548   if test -n "$DLLTOOL"; then
    5549   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
    5550 else
    5551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5552 for as_dir in $PATH
    5553 do
    5554   IFS=$as_save_IFS
    5555   test -z "$as_dir" && as_dir=.
    5556     for ac_exec_ext in '' $ac_executable_extensions; do
    5557   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5558     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
    5559     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    5560     break 2
    5561   fi
    5562 done
    5563   done
    5564 IFS=$as_save_IFS
    5565 
    5566 fi
    5567 fi
    5568 DLLTOOL=$ac_cv_prog_DLLTOOL
    5569 if test -n "$DLLTOOL"; then
    5570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
    5571 $as_echo "$DLLTOOL" >&6; }
    5572 else
    5573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    5574 $as_echo "no" >&6; }
    5575 fi
    5576 
    5577 
    5578 fi
    5579 if test -z "$ac_cv_prog_DLLTOOL"; then
    5580   ac_ct_DLLTOOL=$DLLTOOL
    5581   # Extract the first word of "dlltool", so it can be a program name with args.
    5582 set dummy dlltool; ac_word=$2
    5583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    5584 $as_echo_n "checking for $ac_word... " >&6; }
    5585 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
    5586   $as_echo_n "(cached) " >&6
    5587 else
    5588   if test -n "$ac_ct_DLLTOOL"; then
    5589   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
    5590 else
    5591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5592 for as_dir in $PATH
    5593 do
    5594   IFS=$as_save_IFS
    5595   test -z "$as_dir" && as_dir=.
    5596     for ac_exec_ext in '' $ac_executable_extensions; do
    5597   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5598     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
    5599     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    5600     break 2
    5601   fi
    5602 done
    5603   done
    5604 IFS=$as_save_IFS
    5605 
    5606 fi
    5607 fi
    5608 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
    5609 if test -n "$ac_ct_DLLTOOL"; then
    5610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
    5611 $as_echo "$ac_ct_DLLTOOL" >&6; }
    5612 else
    5613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    5614 $as_echo "no" >&6; }
    5615 fi
    5616 
    5617   if test "x$ac_ct_DLLTOOL" = x; then
    5618     DLLTOOL="false"
    5619   else
    5620     case $cross_compiling:$ac_tool_warned in
    5621 yes:)
    5622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    5623 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    5624 ac_tool_warned=yes ;;
    5625 esac
    5626     DLLTOOL=$ac_ct_DLLTOOL
    5627   fi
    5628 else
    5629   DLLTOOL="$ac_cv_prog_DLLTOOL"
    5630 fi
    5631 
    5632 test -z "$DLLTOOL" && DLLTOOL=dlltool
    5633 
    5634 
    5635 
    5636 
    5637 
    5638 
    5639 
    5640 
    5641 
    5642 
    5643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
    5644 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
    5645 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
    5646   $as_echo_n "(cached) " >&6
    5647 else
    5648   lt_cv_sharedlib_from_linklib_cmd='unknown'
    5649 
    5650 case $host_os in
    5651 cygwin* | mingw* | pw32* | cegcc*)
    5652   # two different shell functions defined in ltmain.sh;
    5653   # decide which one to use based on capabilities of $DLLTOOL
    5654   case `$DLLTOOL --help 2>&1` in
    5655   *--identify-strict*)
    5656     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
    5657     ;;
    5658   *)
    5659     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
    5660     ;;
    5661   esac
    5662   ;;
    5663 *)
    5664   # fallback: assume linklib IS sharedlib
    5665   lt_cv_sharedlib_from_linklib_cmd=$ECHO
    5666   ;;
    5667 esac
    5668 
    5669 fi
    5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
    5671 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
    5672 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
    5673 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
    5674 
    5675 
    5676 
    5677 
    5678 
    5679 
    5680 
    5681 
    5682 if test -n "$ac_tool_prefix"; then
    5683   for ac_prog in ar
    5684   do
    5685     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    5686 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    5687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    5688 $as_echo_n "checking for $ac_word... " >&6; }
    5689 if ${ac_cv_prog_AR+:} false; then :
    5690   $as_echo_n "(cached) " >&6
    5691 else
    5692   if test -n "$AR"; then
    5693   ac_cv_prog_AR="$AR" # Let the user override the test.
    5694 else
    5695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5696 for as_dir in $PATH
    5697 do
    5698   IFS=$as_save_IFS
    5699   test -z "$as_dir" && as_dir=.
    5700     for ac_exec_ext in '' $ac_executable_extensions; do
    5701   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5702     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
    5703     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    5704     break 2
    5705   fi
    5706 done
    5707   done
    5708 IFS=$as_save_IFS
    5709 
    5710 fi
    5711 fi
    5712 AR=$ac_cv_prog_AR
    5713 if test -n "$AR"; then
    5714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
    5715 $as_echo "$AR" >&6; }
    5716 else
    5717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    5718 $as_echo "no" >&6; }
    5719 fi
    5720 
    5721 
    5722     test -n "$AR" && break
    5723   done
    5724 fi
    5725 if test -z "$AR"; then
    5726   ac_ct_AR=$AR
    5727   for ac_prog in ar
    5728 do
    5729   # Extract the first word of "$ac_prog", so it can be a program name with args.
    5730 set dummy $ac_prog; ac_word=$2
    5731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    5732 $as_echo_n "checking for $ac_word... " >&6; }
    5733 if ${ac_cv_prog_ac_ct_AR+:} false; then :
    5734   $as_echo_n "(cached) " >&6
    5735 else
    5736   if test -n "$ac_ct_AR"; then
    5737   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
    5738 else
    5739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5740 for as_dir in $PATH
    5741 do
    5742   IFS=$as_save_IFS
    5743   test -z "$as_dir" && as_dir=.
    5744     for ac_exec_ext in '' $ac_executable_extensions; do
    5745   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5746     ac_cv_prog_ac_ct_AR="$ac_prog"
    5747     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    5748     break 2
    5749   fi
    5750 done
    5751   done
    5752 IFS=$as_save_IFS
    5753 
    5754 fi
    5755 fi
    5756 ac_ct_AR=$ac_cv_prog_ac_ct_AR
    5757 if test -n "$ac_ct_AR"; then
    5758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
    5759 $as_echo "$ac_ct_AR" >&6; }
    5760 else
    5761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    5762 $as_echo "no" >&6; }
    5763 fi
    5764 
    5765 
    5766   test -n "$ac_ct_AR" && break
    5767 done
    5768 
    5769   if test "x$ac_ct_AR" = x; then
    5770     AR="false"
    5771   else
    5772     case $cross_compiling:$ac_tool_warned in
    5773 yes:)
    5774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    5775 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    5776 ac_tool_warned=yes ;;
    5777 esac
    5778     AR=$ac_ct_AR
    5779   fi
    5780 fi
    5781 
    5782 : ${AR=ar}
    5783 : ${AR_FLAGS=cru}
    5784 
    5785 
    5786 
    5787 
    5788 
    5789 
    5790 
    5791 
    5792 
    5793 
    5794 
    5795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
    5796 $as_echo_n "checking for archiver @FILE support... " >&6; }
    5797 if ${lt_cv_ar_at_file+:} false; then :
    5798   $as_echo_n "(cached) " >&6
    5799 else
    5800   lt_cv_ar_at_file=no
    5801    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    5802 /* end confdefs.h.  */
    5803 
    5804 int
    5805 main ()
    5806 {
    5807 
    5808   ;
    5809   return 0;
    5810 }
    5811 _ACEOF
    5812 if ac_fn_c_try_compile "$LINENO"; then :
    5813   echo conftest.$ac_objext > conftest.lst
    5814       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
    5815       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
    5816   (eval $lt_ar_try) 2>&5
    5817   ac_status=$?
    5818   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    5819   test $ac_status = 0; }
    5820       if test 0 -eq "$ac_status"; then
    5821         # Ensure the archiver fails upon bogus file names.
    5822         rm -f conftest.$ac_objext libconftest.a
    5823         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
    5824   (eval $lt_ar_try) 2>&5
    5825   ac_status=$?
    5826   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    5827   test $ac_status = 0; }
    5828         if test 0 -ne "$ac_status"; then
    5829           lt_cv_ar_at_file=@
    5830         fi
    5831       fi
    5832       rm -f conftest.* libconftest.a
    5833 
    5834 fi
    5835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5836 
    5837 fi
    5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
    5839 $as_echo "$lt_cv_ar_at_file" >&6; }
    5840 
    5841 if test no = "$lt_cv_ar_at_file"; then
    5842   archiver_list_spec=
    5843 else
    5844   archiver_list_spec=$lt_cv_ar_at_file
    5845 fi
    5846 
    5847 
    5848 
    5849 
    5850 
    5851 
    5852 
    5853 if test -n "$ac_tool_prefix"; then
    5854   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
    5855 set dummy ${ac_tool_prefix}strip; ac_word=$2
    5856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    5857 $as_echo_n "checking for $ac_word... " >&6; }
    5858 if ${ac_cv_prog_STRIP+:} false; then :
    5859   $as_echo_n "(cached) " >&6
    5860 else
    5861   if test -n "$STRIP"; then
    5862   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
    5863 else
    5864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5865 for as_dir in $PATH
    5866 do
    5867   IFS=$as_save_IFS
    5868   test -z "$as_dir" && as_dir=.
    5869     for ac_exec_ext in '' $ac_executable_extensions; do
    5870   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5871     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
    5872     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    5873     break 2
    5874   fi
    5875 done
    5876   done
    5877 IFS=$as_save_IFS
    5878 
    5879 fi
    5880 fi
    5881 STRIP=$ac_cv_prog_STRIP
    5882 if test -n "$STRIP"; then
    5883   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
    5884 $as_echo "$STRIP" >&6; }
    5885 else
    5886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    5887 $as_echo "no" >&6; }
    5888 fi
    5889 
    5890 
    5891 fi
    5892 if test -z "$ac_cv_prog_STRIP"; then
    5893   ac_ct_STRIP=$STRIP
    5894   # Extract the first word of "strip", so it can be a program name with args.
    5895 set dummy strip; ac_word=$2
    5896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    5897 $as_echo_n "checking for $ac_word... " >&6; }
    5898 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
    5899   $as_echo_n "(cached) " >&6
    5900 else
    5901   if test -n "$ac_ct_STRIP"; then
    5902   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
    5903 else
    5904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5905 for as_dir in $PATH
    5906 do
    5907   IFS=$as_save_IFS
    5908   test -z "$as_dir" && as_dir=.
    5909     for ac_exec_ext in '' $ac_executable_extensions; do
    5910   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5911     ac_cv_prog_ac_ct_STRIP="strip"
    5912     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    5913     break 2
    5914   fi
    5915 done
    5916   done
    5917 IFS=$as_save_IFS
    5918 
    5919 fi
    5920 fi
    5921 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
    5922 if test -n "$ac_ct_STRIP"; then
    5923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
    5924 $as_echo "$ac_ct_STRIP" >&6; }
    5925 else
    5926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    5927 $as_echo "no" >&6; }
    5928 fi
    5929 
    5930   if test "x$ac_ct_STRIP" = x; then
    5931     STRIP=":"
    5932   else
    5933     case $cross_compiling:$ac_tool_warned in
    5934 yes:)
    5935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    5936 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    5937 ac_tool_warned=yes ;;
    5938 esac
    5939     STRIP=$ac_ct_STRIP
    5940   fi
    5941 else
    5942   STRIP="$ac_cv_prog_STRIP"
    5943 fi
    5944 
    5945 test -z "$STRIP" && STRIP=:
    5946 
    5947 
    5948 
    5949 
    5950 
    5951 
    5952 if test -n "$ac_tool_prefix"; then
    5953   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    5954 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    5955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    5956 $as_echo_n "checking for $ac_word... " >&6; }
    5957 if ${ac_cv_prog_RANLIB+:} false; then :
    5958   $as_echo_n "(cached) " >&6
    5959 else
    5960   if test -n "$RANLIB"; then
    5961   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
    5962 else
    5963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5964 for as_dir in $PATH
    5965 do
    5966   IFS=$as_save_IFS
    5967   test -z "$as_dir" && as_dir=.
    5968     for ac_exec_ext in '' $ac_executable_extensions; do
    5969   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5970     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    5971     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    5972     break 2
    5973   fi
    5974 done
    5975   done
    5976 IFS=$as_save_IFS
    5977 
    5978 fi
    5979 fi
    5980 RANLIB=$ac_cv_prog_RANLIB
    5981 if test -n "$RANLIB"; then
    5982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
    5983 $as_echo "$RANLIB" >&6; }
    5984 else
    5985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    5986 $as_echo "no" >&6; }
    5987 fi
    5988 
    5989 
    5990 fi
    5991 if test -z "$ac_cv_prog_RANLIB"; then
    5992   ac_ct_RANLIB=$RANLIB
    5993   # Extract the first word of "ranlib", so it can be a program name with args.
    5994 set dummy ranlib; ac_word=$2
    5995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    5996 $as_echo_n "checking for $ac_word... " >&6; }
    5997 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
    5998   $as_echo_n "(cached) " >&6
    5999 else
    6000   if test -n "$ac_ct_RANLIB"; then
    6001   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
    6002 else
    6003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    6004 for as_dir in $PATH
    6005 do
    6006   IFS=$as_save_IFS
    6007   test -z "$as_dir" && as_dir=.
    6008     for ac_exec_ext in '' $ac_executable_extensions; do
    6009   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    6010     ac_cv_prog_ac_ct_RANLIB="ranlib"
    6011     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    6012     break 2
    6013   fi
    6014 done
    6015   done
    6016 IFS=$as_save_IFS
    6017 
    6018 fi
    6019 fi
    6020 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    6021 if test -n "$ac_ct_RANLIB"; then
    6022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
    6023 $as_echo "$ac_ct_RANLIB" >&6; }
    6024 else
    6025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    6026 $as_echo "no" >&6; }
    6027 fi
    6028 
    6029   if test "x$ac_ct_RANLIB" = x; then
    6030     RANLIB=":"
    6031   else
    6032     case $cross_compiling:$ac_tool_warned in
    6033 yes:)
    6034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    6035 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    6036 ac_tool_warned=yes ;;
    6037 esac
    6038     RANLIB=$ac_ct_RANLIB
    6039   fi
    6040 else
    6041   RANLIB="$ac_cv_prog_RANLIB"
    6042 fi
    6043 
    6044 test -z "$RANLIB" && RANLIB=:
    6045 
    6046 
    6047 
    6048 
    6049 
    6050 
    6051 # Determine commands to create old-style static archives.
    6052 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
    6053 old_postinstall_cmds='chmod 644 $oldlib'
    6054 old_postuninstall_cmds=
    6055 
    6056 if test -n "$RANLIB"; then
    6057   case $host_os in
    6058   bitrig* | openbsd*)
    6059     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
    6060     ;;
    6061   *)
    6062     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
    6063     ;;
    6064   esac
    6065   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
    6066 fi
    6067 
    6068 case $host_os in
    6069   darwin*)
    6070     lock_old_archive_extraction=yes ;;
    6071   *)
    6072     lock_old_archive_extraction=no ;;
    6073 esac
    6074 
    6075 
    6076 
    6077 
    6078 
    6079 
    6080 
    6081 
    6082 
    6083 
    6084 
    6085 
    6086 
    6087 
    6088 
    6089 
    6090 
    6091 
    6092 
    6093 
    6094 
    6095 
    6096 
    6097 
    6098 
    6099 
    6100 
    6101 
    6102 
    6103 
    6104 
    6105 
    6106 
    6107 
    6108 
    6109 
    6110 
    6111 
    6112 
    6113 # If no C compiler was specified, use CC.
    6114 LTCC=${LTCC-"$CC"}
    6115 
    6116 # If no C compiler flags were specified, use CFLAGS.
    6117 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
    6118 
    6119 # Allow CC to be a program name with arguments.
    6120 compiler=$CC
    6121 
    6122 
    6123 # Check for command to grab the raw symbol name followed by C symbol from nm.
    6124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
    6125 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
    6126 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
    6127   $as_echo_n "(cached) " >&6
    6128 else
    6129 
    6130 # These are sane defaults that work on at least a few old systems.
    6131 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
    6132 
    6133 # Character class describing NM global symbol codes.
    6134 symcode='[BCDEGRST]'
    6135 
    6136 # Regexp to match symbols that can be accessed directly from C.
    6137 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
    6138 
    6139 # Define system-specific variables.
    6140 case $host_os in
    6141 aix*)
    6142   symcode='[BCDT]'
    6143   ;;
    6144 cygwin* | mingw* | pw32* | cegcc*)
    6145   symcode='[ABCDGISTW]'
    6146   ;;
    6147 hpux*)
    6148   if test ia64 = "$host_cpu"; then
    6149     symcode='[ABCDEGRST]'
    6150   fi
    6151   ;;
    6152 irix* | nonstopux*)
    6153   symcode='[BCDEGRST]'
    6154   ;;
    6155 osf*)
    6156   symcode='[BCDEGQRST]'
    6157   ;;
    6158 solaris*)
    6159   symcode='[BDRT]'
    6160   ;;
    6161 sco3.2v5*)
    6162   symcode='[DT]'
    6163   ;;
    6164 sysv4.2uw2*)
    6165   symcode='[DT]'
    6166   ;;
    6167 sysv5* | sco5v6* | unixware* | OpenUNIX*)
    6168   symcode='[ABDT]'
    6169   ;;
    6170 sysv4)
    6171   symcode='[DFNSTU]'
    6172   ;;
    6173 esac
    6174 
    6175 # If we're using GNU nm, then use its standard symbol codes.
    6176 case `$NM -V 2>&1` in
    6177 *GNU* | *'with BFD'*)
    6178   symcode='[ABCDGIRSTW]' ;;
    6179 esac
    6180 
    6181 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
    6182   # Gets list of data symbols to import.
    6183   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
    6184   # Adjust the below global symbol transforms to fixup imported variables.
    6185   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
    6186   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
    6187   lt_c_name_lib_hook="\
    6188   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
    6189   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
    6190 else
    6191   # Disable hooks by default.
    6192   lt_cv_sys_global_symbol_to_import=
    6193   lt_cdecl_hook=
    6194   lt_c_name_hook=
    6195   lt_c_name_lib_hook=
    6196 fi
    6197 
    6198 # Transform an extracted symbol line into a proper C declaration.
    6199 # Some systems (esp. on ia64) link data and code symbols differently,
    6200 # so use this general approach.
    6201 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
    6202 $lt_cdecl_hook\
    6203 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
    6204 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
    6205 
    6206 # Transform an extracted symbol line into symbol name and symbol address
    6207 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
    6208 $lt_c_name_hook\
    6209 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
    6210 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
    6211 
    6212 # Transform an extracted symbol line into symbol name with lib prefix and
    6213 # symbol address.
    6214 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
    6215 $lt_c_name_lib_hook\
    6216 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
    6217 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
    6218 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
    6219 
    6220 # Handle CRLF in mingw tool chain
    6221 opt_cr=
    6222 case $build_os in
    6223 mingw*)
    6224   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
    6225   ;;
    6226 esac
    6227 
    6228 # Try without a prefix underscore, then with it.
    6229 for ac_symprfx in "" "_"; do
    6230 
    6231   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
    6232   symxfrm="\\1 $ac_symprfx\\2 \\2"
    6233 
    6234   # Write the raw and C identifiers.
    6235   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
    6236     # Fake it for dumpbin and say T for any non-static function,
    6237     # D for any global variable and I for any imported variable.
    6238     # Also find C++ and __fastcall symbols from MSVC++,
    6239     # which start with @ or ?.
    6240     lt_cv_sys_global_symbol_pipe="$AWK '"\
    6241 "     {last_section=section; section=\$ 3};"\
    6242 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
    6243 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
    6244 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
    6245 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
    6246 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
    6247 "     \$ 0!~/External *\|/{next};"\
    6248 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
    6249 "     {if(hide[section]) next};"\
    6250 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
    6251 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
    6252 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
    6253 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
    6254 "     ' prfx=^$ac_symprfx"
    6255   else
    6256     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
    6257   fi
    6258   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
    6259 
    6260   # Check to see that the pipe works correctly.
    6261   pipe_works=no
    6262 
    6263   rm -f conftest*
    6264   cat > conftest.$ac_ext <<_LT_EOF
    6265 #ifdef __cplusplus
    6266 extern "C" {
    6267 #endif
    6268 char nm_test_var;
    6269 void nm_test_func(void);
    6270 void nm_test_func(void){}
    6271 #ifdef __cplusplus
    6272 }
    6273 #endif
    6274 int main(){nm_test_var='a';nm_test_func();return(0);}
    6275 _LT_EOF
    6276 
    6277   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
    6278   (eval $ac_compile) 2>&5
    6279   ac_status=$?
    6280   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    6281   test $ac_status = 0; }; then
    6282     # Now try to grab the symbols.
    6283     nlist=conftest.nm
    6284     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
    6285   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
    6286   ac_status=$?
    6287   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    6288   test $ac_status = 0; } && test -s "$nlist"; then
    6289       # Try sorting and uniquifying the output.
    6290       if sort "$nlist" | uniq > "$nlist"T; then
    6291         mv -f "$nlist"T "$nlist"
    6292       else
    6293         rm -f "$nlist"T
    6294       fi
    6295 
    6296       # Make sure that we snagged all the symbols we need.
    6297       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
    6298         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
    6299           cat <<_LT_EOF > conftest.$ac_ext
    6300 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
    6301 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
    6302 /* DATA imports from DLLs on WIN32 can't be const, because runtime
    6303    relocations are performed -- see ld's documentation on pseudo-relocs.  */
    6304 # define LT_DLSYM_CONST
    6305 #elif defined __osf__
    6306 /* This system does not cope well with relocations in const data.  */
    6307 # define LT_DLSYM_CONST
    6308 #else
    6309 # define LT_DLSYM_CONST const
    6310 #endif
    6311 
    6312 #ifdef __cplusplus
    6313 extern "C" {
    6314 #endif
    6315 
    6316 _LT_EOF
    6317           # Now generate the symbol file.
    6318           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
    6319 
    6320           cat <<_LT_EOF >> conftest.$ac_ext
    6321 
    6322 /* The mapping between symbol names and symbols.  */
    6323 LT_DLSYM_CONST struct {
    6324   const char *name;
    6325   void       *address;
    6326 }
    6327 lt__PROGRAM__LTX_preloaded_symbols[] =
    6328 {
    6329   { "@PROGRAM@", (void *) 0 },
    6330 _LT_EOF
    6331           $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
    6332           cat <<\_LT_EOF >> conftest.$ac_ext
    6333   {0, (void *) 0}
    6334 };
    6335 
    6336 /* This works around a problem in FreeBSD linker */
    6337 #ifdef FREEBSD_WORKAROUND
    6338 static const void *lt_preloaded_setup() {
    6339   return lt__PROGRAM__LTX_preloaded_symbols;
    6340 }
    6341 #endif
    6342 
    6343 #ifdef __cplusplus
    6344 }
    6345 #endif
    6346 _LT_EOF
    6347           # Now try linking the two files.
    6348           mv conftest.$ac_objext conftstm.$ac_objext
    6349           lt_globsym_save_LIBS=$LIBS
    6350           lt_globsym_save_CFLAGS=$CFLAGS
    6351           LIBS=conftstm.$ac_objext
    6352           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
    6353           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
    6354   (eval $ac_link) 2>&5
    6355   ac_status=$?
    6356   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    6357   test $ac_status = 0; } && test -s conftest$ac_exeext; then
    6358             pipe_works=yes
    6359           fi
    6360           LIBS=$lt_globsym_save_LIBS
    6361           CFLAGS=$lt_globsym_save_CFLAGS
    6362         else
    6363           echo "cannot find nm_test_func in $nlist" >&5
    6364         fi
    6365       else
    6366         echo "cannot find nm_test_var in $nlist" >&5
    6367       fi
    6368     else
    6369       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
    6370     fi
    6371   else
    6372     echo "$progname: failed program was:" >&5
    6373     cat conftest.$ac_ext >&5
    6374   fi
    6375   rm -rf conftest* conftst*
    6376 
    6377   # Do not use the global_symbol_pipe unless it works.
    6378   if test yes = "$pipe_works"; then
    6379     break
    6380   else
    6381     lt_cv_sys_global_symbol_pipe=
    6382   fi
    6383 done
    6384 
    6385 fi
    6386 
    6387 if test -z "$lt_cv_sys_global_symbol_pipe"; then
    6388   lt_cv_sys_global_symbol_to_cdecl=
    6389 fi
    6390 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
    6391   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
    6392 $as_echo "failed" >&6; }
    6393 else
    6394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
    6395 $as_echo "ok" >&6; }
    6396 fi
    6397 
    6398 # Response file support.
    6399 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
    6400   nm_file_list_spec='@'
    6401 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
    6402   nm_file_list_spec='@'
    6403 fi
    6404 
    6405 
    6406 
    6407 
    6408 
    6409 
    6410 
    6411 
    6412 
    6413 
    6414 
    6415 
    6416 
    6417 
    6418 
    6419 
    6420 
    6421 
    6422 
    6423 
    6424 
    6425 
    6426 
    6427 
    6428 
    6429 
    6430 
    6431 
    6432 
    6433 
    6434 
    6435 
    6436 
    6437 
    6438 
    6439 
    6440 
    6441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
    6442 $as_echo_n "checking for sysroot... " >&6; }
    6443 
    6444 # Check whether --with-sysroot was given.
    6445 if test "${with_sysroot+set}" = set; then :
    6446   withval=$with_sysroot;
    6447 else
    6448   with_sysroot=no
    6449 fi
    6450 
    6451 
    6452 lt_sysroot=
    6453 case $with_sysroot in #(
    6454  yes)
    6455    if test yes = "$GCC"; then
    6456      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
    6457    fi
    6458    ;; #(
    6459  /*)
    6460    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
    6461    ;; #(
    6462  no|'')
    6463    ;; #(
    6464  *)
    6465    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
    6466 $as_echo "$with_sysroot" >&6; }
    6467    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
    6468    ;;
    6469 esac
    6470 
    6471  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
    6472 $as_echo "${lt_sysroot:-no}" >&6; }
    6473 
    6474 
    6475 
    6476 
    6477 
    6478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
    6479 $as_echo_n "checking for a working dd... " >&6; }
    6480 if ${ac_cv_path_lt_DD+:} false; then :
    6481   $as_echo_n "(cached) " >&6
    6482 else
    6483   printf 0123456789abcdef0123456789abcdef >conftest.i
    6484 cat conftest.i conftest.i >conftest2.i
    6485 : ${lt_DD:=$DD}
    6486 if test -z "$lt_DD"; then
    6487   ac_path_lt_DD_found=false
    6488   # Loop through the user's path and test for each of PROGNAME-LIST
    6489   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    6490 for as_dir in $PATH
    6491 do
    6492   IFS=$as_save_IFS
    6493   test -z "$as_dir" && as_dir=.
    6494     for ac_prog in dd; do
    6495     for ac_exec_ext in '' $ac_executable_extensions; do
    6496       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
    6497       as_fn_executable_p "$ac_path_lt_DD" || continue
    6498 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
    6499   cmp -s conftest.i conftest.out \
    6500   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
    6501 fi
    6502       $ac_path_lt_DD_found && break 3
    6503     done
    6504   done
    6505   done
    6506 IFS=$as_save_IFS
    6507   if test -z "$ac_cv_path_lt_DD"; then
    6508     :
    6509   fi
    6510 else
    6511   ac_cv_path_lt_DD=$lt_DD
    6512 fi
    6513 
    6514 rm -f conftest.i conftest2.i conftest.out
    6515 fi
    6516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
    6517 $as_echo "$ac_cv_path_lt_DD" >&6; }
    6518 
    6519 
    6520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
    6521 $as_echo_n "checking how to truncate binary pipes... " >&6; }
    6522 if ${lt_cv_truncate_bin+:} false; then :
    6523   $as_echo_n "(cached) " >&6
    6524 else
    6525   printf 0123456789abcdef0123456789abcdef >conftest.i
    6526 cat conftest.i conftest.i >conftest2.i
    6527 lt_cv_truncate_bin=
    6528 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
    6529   cmp -s conftest.i conftest.out \
    6530   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
    6531 fi
    6532 rm -f conftest.i conftest2.i conftest.out
    6533 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
    6534 fi
    6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
    6536 $as_echo "$lt_cv_truncate_bin" >&6; }
    6537 
    6538 
    6539 
    6540 
    6541 
    6542 
    6543 
    6544 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
    6545 func_cc_basename ()
    6546 {
    6547     for cc_temp in $*""; do
    6548       case $cc_temp in
    6549         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
    6550         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
    6551         \-*) ;;
    6552         *) break;;
    6553       esac
    6554     done
    6555     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
    6556 }
    6557 
    6558 # Check whether --enable-libtool-lock was given.
    6559 if test "${enable_libtool_lock+set}" = set; then :
    6560   enableval=$enable_libtool_lock;
    6561 fi
    6562 
    6563 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
    6564 
    6565 # Some flags need to be propagated to the compiler or linker for good
    6566 # libtool support.
    6567 case $host in
    6568 ia64-*-hpux*)
    6569   # Find out what ABI is being produced by ac_compile, and set mode
    6570   # options accordingly.
    6571   echo 'int i;' > conftest.$ac_ext
    6572   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
    6573   (eval $ac_compile) 2>&5
    6574   ac_status=$?
    6575   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    6576   test $ac_status = 0; }; then
    6577     case `/usr/bin/file conftest.$ac_objext` in
    6578       *ELF-32*)
    6579         HPUX_IA64_MODE=32
    6580         ;;
    6581       *ELF-64*)
    6582         HPUX_IA64_MODE=64
    6583         ;;
    6584     esac
    6585   fi
    6586   rm -rf conftest*
    6587   ;;
    6588 *-*-irix6*)
    6589   # Find out what ABI is being produced by ac_compile, and set linker
    6590   # options accordingly.
    6591   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
    6592   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
    6593   (eval $ac_compile) 2>&5
    6594   ac_status=$?
    6595   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    6596   test $ac_status = 0; }; then
    6597     if test yes = "$lt_cv_prog_gnu_ld"; then
    6598       case `/usr/bin/file conftest.$ac_objext` in
    6599         *32-bit*)
    6600           LD="${LD-ld} -melf32bsmip"
    6601           ;;
    6602         *N32*)
    6603           LD="${LD-ld} -melf32bmipn32"
    6604           ;;
    6605         *64-bit*)
    6606           LD="${LD-ld} -melf64bmip"
    6607         ;;
    6608       esac
    6609     else
    6610       case `/usr/bin/file conftest.$ac_objext` in
    6611         *32-bit*)
    6612           LD="${LD-ld} -32"
    6613           ;;
    6614         *N32*)
    6615           LD="${LD-ld} -n32"
    6616           ;;
    6617         *64-bit*)
    6618           LD="${LD-ld} -64"
    6619           ;;
    6620       esac
    6621     fi
    6622   fi
    6623   rm -rf conftest*
    6624   ;;
    6625 
    6626 mips64*-*linux*)
    6627   # Find out what ABI is being produced by ac_compile, and set linker
    6628   # options accordingly.
    6629   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
    6630   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
    6631   (eval $ac_compile) 2>&5
    6632   ac_status=$?
    6633   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    6634   test $ac_status = 0; }; then
    6635     emul=elf
    6636     case `/usr/bin/file conftest.$ac_objext` in
    6637       *32-bit*)
    6638         emul="${emul}32"
    6639         ;;
    6640       *64-bit*)
    6641         emul="${emul}64"
    6642         ;;
    6643     esac
    6644     case `/usr/bin/file conftest.$ac_objext` in
    6645       *MSB*)
    6646         emul="${emul}btsmip"
    6647         ;;
    6648       *LSB*)
    6649         emul="${emul}ltsmip"
    6650         ;;
    6651     esac
    6652     case `/usr/bin/file conftest.$ac_objext` in
    6653       *N32*)
    6654         emul="${emul}n32"
    6655         ;;
    6656     esac
    6657     LD="${LD-ld} -m $emul"
    6658   fi
    6659   rm -rf conftest*
    6660   ;;
    6661 
    6662 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
    6663 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
    6664   # Find out what ABI is being produced by ac_compile, and set linker
    6665   # options accordingly.  Note that the listed cases only cover the
    6666   # situations where additional linker options are needed (such as when
    6667   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
    6668   # vice versa); the common cases where no linker options are needed do
    6669   # not appear in the list.
    6670   echo 'int i;' > conftest.$ac_ext
    6671   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
    6672   (eval $ac_compile) 2>&5
    6673   ac_status=$?
    6674   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    6675   test $ac_status = 0; }; then
    6676     case `/usr/bin/file conftest.o` in
    6677       *32-bit*)
    6678         case $host in
    6679           x86_64-*kfreebsd*-gnu)
    6680             LD="${LD-ld} -m elf_i386_fbsd"
    6681             ;;
    6682           x86_64-*linux*)
    6683             case `/usr/bin/file conftest.o` in
    6684               *x86-64*)
    6685                 LD="${LD-ld} -m elf32_x86_64"
    6686                 ;;
    6687               *)
    6688                 LD="${LD-ld} -m elf_i386"
    6689                 ;;
    6690             esac
    6691             ;;
    6692           powerpc64le-*linux*)
    6693             LD="${LD-ld} -m elf32lppclinux"
    6694             ;;
    6695           powerpc64-*linux*)
    6696             LD="${LD-ld} -m elf32ppclinux"
    6697             ;;
    6698           s390x-*linux*)
    6699             LD="${LD-ld} -m elf_s390"
    6700             ;;
    6701           sparc64-*linux*)
    6702             LD="${LD-ld} -m elf32_sparc"
    6703             ;;
    6704         esac
    6705         ;;
    6706       *64-bit*)
    6707         case $host in
    6708           x86_64-*kfreebsd*-gnu)
    6709             LD="${LD-ld} -m elf_x86_64_fbsd"
    6710             ;;
    6711           x86_64-*linux*)
    6712             LD="${LD-ld} -m elf_x86_64"
    6713             ;;
    6714           powerpcle-*linux*)
    6715             LD="${LD-ld} -m elf64lppc"
    6716             ;;
    6717           powerpc-*linux*)
    6718             LD="${LD-ld} -m elf64ppc"
    6719             ;;
    6720           s390*-*linux*|s390*-*tpf*)
    6721             LD="${LD-ld} -m elf64_s390"
    6722             ;;
    6723           sparc*-*linux*)
    6724             LD="${LD-ld} -m elf64_sparc"
    6725             ;;
    6726         esac
    6727         ;;
    6728     esac
    6729   fi
    6730   rm -rf conftest*
    6731   ;;
    6732 
    6733 *-*-sco3.2v5*)
    6734   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
    6735   SAVE_CFLAGS=$CFLAGS
    6736   CFLAGS="$CFLAGS -belf"
    6737   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
    6738 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
    6739 if ${lt_cv_cc_needs_belf+:} false; then :
    6740   $as_echo_n "(cached) " >&6
    6741 else
    6742   ac_ext=c
    6743 ac_cpp='$CPP $CPPFLAGS'
    6744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    6745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    6746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    6747 
    6748      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    6749 /* end confdefs.h.  */
    6750 
    6751 int
    6752 main ()
    6753 {
    6754 
    6755   ;
    6756   return 0;
    6757 }
    6758 _ACEOF
    6759 if ac_fn_c_try_link "$LINENO"; then :
    6760   lt_cv_cc_needs_belf=yes
    6761 else
    6762   lt_cv_cc_needs_belf=no
    6763 fi
    6764 rm -f core conftest.err conftest.$ac_objext \
    6765     conftest$ac_exeext conftest.$ac_ext
    6766      ac_ext=c
    6767 ac_cpp='$CPP $CPPFLAGS'
    6768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    6769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    6770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    6771 
    6772 fi
    6773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
    6774 $as_echo "$lt_cv_cc_needs_belf" >&6; }
    6775   if test yes != "$lt_cv_cc_needs_belf"; then
    6776     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
    6777     CFLAGS=$SAVE_CFLAGS
    6778   fi
    6779   ;;
    6780 *-*solaris*)
    6781   # Find out what ABI is being produced by ac_compile, and set linker
    6782   # options accordingly.
    6783   echo 'int i;' > conftest.$ac_ext
    6784   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
    6785   (eval $ac_compile) 2>&5
    6786   ac_status=$?
    6787   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    6788   test $ac_status = 0; }; then
    6789     case `/usr/bin/file conftest.o` in
    6790     *64-bit*)
    6791       case $lt_cv_prog_gnu_ld in
    6792       yes*)
    6793         case $host in
    6794         i?86-*-solaris*|x86_64-*-solaris*)
    6795           LD="${LD-ld} -m elf_x86_64"
    6796           ;;
    6797         sparc*-*-solaris*)
    6798           LD="${LD-ld} -m elf64_sparc"
    6799           ;;
    6800         esac
    6801         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
    6802         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
    6803           LD=${LD-ld}_sol2
    6804         fi
    6805         ;;
    6806       *)
    6807         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
    6808           LD="${LD-ld} -64"
    6809         fi
    6810         ;;
    6811       esac
    6812       ;;
    6813     esac
    6814   fi
    6815   rm -rf conftest*
    6816   ;;
    6817 esac
    6818 
    6819 need_locks=$enable_libtool_lock
    6820 
    6821 if test -n "$ac_tool_prefix"; then
    6822   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
    6823 set dummy ${ac_tool_prefix}mt; ac_word=$2
    6824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    6825 $as_echo_n "checking for $ac_word... " >&6; }
    6826 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
    6827   $as_echo_n "(cached) " >&6
    6828 else
    6829   if test -n "$MANIFEST_TOOL"; then
    6830   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
    6831 else
    6832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    6833 for as_dir in $PATH
    6834 do
    6835   IFS=$as_save_IFS
    6836   test -z "$as_dir" && as_dir=.
    6837     for ac_exec_ext in '' $ac_executable_extensions; do
    6838   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    6839     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
    6840     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    6841     break 2
    6842   fi
    6843 done
    6844   done
    6845 IFS=$as_save_IFS
    6846 
    6847 fi
    6848 fi
    6849 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
    6850 if test -n "$MANIFEST_TOOL"; then
    6851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
    6852 $as_echo "$MANIFEST_TOOL" >&6; }
    6853 else
    6854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    6855 $as_echo "no" >&6; }
    6856 fi
    6857 
    6858 
    6859 fi
    6860 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
    6861   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
    6862   # Extract the first word of "mt", so it can be a program name with args.
    6863 set dummy mt; ac_word=$2
    6864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    6865 $as_echo_n "checking for $ac_word... " >&6; }
    6866 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
    6867   $as_echo_n "(cached) " >&6
    6868 else
    6869   if test -n "$ac_ct_MANIFEST_TOOL"; then
    6870   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
    6871 else
    6872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    6873 for as_dir in $PATH
    6874 do
    6875   IFS=$as_save_IFS
    6876   test -z "$as_dir" && as_dir=.
    6877     for ac_exec_ext in '' $ac_executable_extensions; do
    6878   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    6879     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
    6880     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    6881     break 2
    6882   fi
    6883 done
    6884   done
    6885 IFS=$as_save_IFS
    6886 
    6887 fi
    6888 fi
    6889 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
    6890 if test -n "$ac_ct_MANIFEST_TOOL"; then
    6891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
    6892 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
    6893 else
    6894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    6895 $as_echo "no" >&6; }
    6896 fi
    6897 
    6898   if test "x$ac_ct_MANIFEST_TOOL" = x; then
    6899     MANIFEST_TOOL=":"
    6900   else
    6901     case $cross_compiling:$ac_tool_warned in
    6902 yes:)
    6903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    6904 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    6905 ac_tool_warned=yes ;;
    6906 esac
    6907     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
    6908   fi
    6909 else
    6910   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
    6911 fi
    6912 
    6913 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
    6914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
    6915 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
    6916 if ${lt_cv_path_mainfest_tool+:} false; then :
    6917   $as_echo_n "(cached) " >&6
    6918 else
    6919   lt_cv_path_mainfest_tool=no
    6920   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
    6921   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
    6922   cat conftest.err >&5
    6923   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
    6924     lt_cv_path_mainfest_tool=yes
    6925   fi
    6926   rm -f conftest*
    6927 fi
    6928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
    6929 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
    6930 if test yes != "$lt_cv_path_mainfest_tool"; then
    6931   MANIFEST_TOOL=:
    6932 fi
    6933 
    6934 
    6935 
    6936 
    6937 
    6938 
    6939   case $host_os in
    6940     rhapsody* | darwin*)
    6941     if test -n "$ac_tool_prefix"; then
    6942   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
    6943 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
    6944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    6945 $as_echo_n "checking for $ac_word... " >&6; }
    6946 if ${ac_cv_prog_DSYMUTIL+:} false; then :
    6947   $as_echo_n "(cached) " >&6
    6948 else
    6949   if test -n "$DSYMUTIL"; then
    6950   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
    6951 else
    6952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    6953 for as_dir in $PATH
    6954 do
    6955   IFS=$as_save_IFS
    6956   test -z "$as_dir" && as_dir=.
    6957     for ac_exec_ext in '' $ac_executable_extensions; do
    6958   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    6959     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
    6960     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    6961     break 2
    6962   fi
    6963 done
    6964   done
    6965 IFS=$as_save_IFS
    6966 
    6967 fi
    6968 fi
    6969 DSYMUTIL=$ac_cv_prog_DSYMUTIL
    6970 if test -n "$DSYMUTIL"; then
    6971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
    6972 $as_echo "$DSYMUTIL" >&6; }
    6973 else
    6974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    6975 $as_echo "no" >&6; }
    6976 fi
    6977 
    6978 
    6979 fi
    6980 if test -z "$ac_cv_prog_DSYMUTIL"; then
    6981   ac_ct_DSYMUTIL=$DSYMUTIL
    6982   # Extract the first word of "dsymutil", so it can be a program name with args.
    6983 set dummy dsymutil; ac_word=$2
    6984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    6985 $as_echo_n "checking for $ac_word... " >&6; }
    6986 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
    6987   $as_echo_n "(cached) " >&6
    6988 else
    6989   if test -n "$ac_ct_DSYMUTIL"; then
    6990   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
    6991 else
    6992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    6993 for as_dir in $PATH
    6994 do
    6995   IFS=$as_save_IFS
    6996   test -z "$as_dir" && as_dir=.
    6997     for ac_exec_ext in '' $ac_executable_extensions; do
    6998   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    6999     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
    7000     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    7001     break 2
    7002   fi
    7003 done
    7004   done
    7005 IFS=$as_save_IFS
    7006 
    7007 fi
    7008 fi
    7009 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
    7010 if test -n "$ac_ct_DSYMUTIL"; then
    7011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
    7012 $as_echo "$ac_ct_DSYMUTIL" >&6; }
    7013 else
    7014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    7015 $as_echo "no" >&6; }
    7016 fi
    7017 
    7018   if test "x$ac_ct_DSYMUTIL" = x; then
    7019     DSYMUTIL=":"
    7020   else
    7021     case $cross_compiling:$ac_tool_warned in
    7022 yes:)
    7023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    7024 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    7025 ac_tool_warned=yes ;;
    7026 esac
    7027     DSYMUTIL=$ac_ct_DSYMUTIL
    7028   fi
    7029 else
    7030   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
    7031 fi
    7032 
    7033     if test -n "$ac_tool_prefix"; then
    7034   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
    7035 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
    7036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    7037 $as_echo_n "checking for $ac_word... " >&6; }
    7038 if ${ac_cv_prog_NMEDIT+:} false; then :
    7039   $as_echo_n "(cached) " >&6
    7040 else
    7041   if test -n "$NMEDIT"; then
    7042   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
    7043 else
    7044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7045 for as_dir in $PATH
    7046 do
    7047   IFS=$as_save_IFS
    7048   test -z "$as_dir" && as_dir=.
    7049     for ac_exec_ext in '' $ac_executable_extensions; do
    7050   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    7051     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
    7052     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    7053     break 2
    7054   fi
    7055 done
    7056   done
    7057 IFS=$as_save_IFS
    7058 
    7059 fi
    7060 fi
    7061 NMEDIT=$ac_cv_prog_NMEDIT
    7062 if test -n "$NMEDIT"; then
    7063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
    7064 $as_echo "$NMEDIT" >&6; }
    7065 else
    7066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    7067 $as_echo "no" >&6; }
    7068 fi
    7069 
    7070 
    7071 fi
    7072 if test -z "$ac_cv_prog_NMEDIT"; then
    7073   ac_ct_NMEDIT=$NMEDIT
    7074   # Extract the first word of "nmedit", so it can be a program name with args.
    7075 set dummy nmedit; ac_word=$2
    7076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    7077 $as_echo_n "checking for $ac_word... " >&6; }
    7078 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
    7079   $as_echo_n "(cached) " >&6
    7080 else
    7081   if test -n "$ac_ct_NMEDIT"; then
    7082   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
    7083 else
    7084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7085 for as_dir in $PATH
    7086 do
    7087   IFS=$as_save_IFS
    7088   test -z "$as_dir" && as_dir=.
    7089     for ac_exec_ext in '' $ac_executable_extensions; do
    7090   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    7091     ac_cv_prog_ac_ct_NMEDIT="nmedit"
    7092     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    7093     break 2
    7094   fi
    7095 done
    7096   done
    7097 IFS=$as_save_IFS
    7098 
    7099 fi
    7100 fi
    7101 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
    7102 if test -n "$ac_ct_NMEDIT"; then
    7103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
    7104 $as_echo "$ac_ct_NMEDIT" >&6; }
    7105 else
    7106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    7107 $as_echo "no" >&6; }
    7108 fi
    7109 
    7110   if test "x$ac_ct_NMEDIT" = x; then
    7111     NMEDIT=":"
    7112   else
    7113     case $cross_compiling:$ac_tool_warned in
    7114 yes:)
    7115 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    7116 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    7117 ac_tool_warned=yes ;;
    7118 esac
    7119     NMEDIT=$ac_ct_NMEDIT
    7120   fi
    7121 else
    7122   NMEDIT="$ac_cv_prog_NMEDIT"
    7123 fi
    7124 
    7125     if test -n "$ac_tool_prefix"; then
    7126   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
    7127 set dummy ${ac_tool_prefix}lipo; ac_word=$2
    7128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    7129 $as_echo_n "checking for $ac_word... " >&6; }
    7130 if ${ac_cv_prog_LIPO+:} false; then :
    7131   $as_echo_n "(cached) " >&6
    7132 else
    7133   if test -n "$LIPO"; then
    7134   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
    7135 else
    7136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7137 for as_dir in $PATH
    7138 do
    7139   IFS=$as_save_IFS
    7140   test -z "$as_dir" && as_dir=.
    7141     for ac_exec_ext in '' $ac_executable_extensions; do
    7142   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    7143     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
    7144     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    7145     break 2
    7146   fi
    7147 done
    7148   done
    7149 IFS=$as_save_IFS
    7150 
    7151 fi
    7152 fi
    7153 LIPO=$ac_cv_prog_LIPO
    7154 if test -n "$LIPO"; then
    7155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
    7156 $as_echo "$LIPO" >&6; }
    7157 else
    7158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    7159 $as_echo "no" >&6; }
    7160 fi
    7161 
    7162 
    7163 fi
    7164 if test -z "$ac_cv_prog_LIPO"; then
    7165   ac_ct_LIPO=$LIPO
    7166   # Extract the first word of "lipo", so it can be a program name with args.
    7167 set dummy lipo; ac_word=$2
    7168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    7169 $as_echo_n "checking for $ac_word... " >&6; }
    7170 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
    7171   $as_echo_n "(cached) " >&6
    7172 else
    7173   if test -n "$ac_ct_LIPO"; then
    7174   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
    7175 else
    7176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7177 for as_dir in $PATH
    7178 do
    7179   IFS=$as_save_IFS
    7180   test -z "$as_dir" && as_dir=.
    7181     for ac_exec_ext in '' $ac_executable_extensions; do
    7182   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    7183     ac_cv_prog_ac_ct_LIPO="lipo"
    7184     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    7185     break 2
    7186   fi
    7187 done
    7188   done
    7189 IFS=$as_save_IFS
    7190 
    7191 fi
    7192 fi
    7193 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
    7194 if test -n "$ac_ct_LIPO"; then
    7195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
    7196 $as_echo "$ac_ct_LIPO" >&6; }
    7197 else
    7198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    7199 $as_echo "no" >&6; }
    7200 fi
    7201 
    7202   if test "x$ac_ct_LIPO" = x; then
    7203     LIPO=":"
    7204   else
    7205     case $cross_compiling:$ac_tool_warned in
    7206 yes:)
    7207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    7208 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    7209 ac_tool_warned=yes ;;
    7210 esac
    7211     LIPO=$ac_ct_LIPO
    7212   fi
    7213 else
    7214   LIPO="$ac_cv_prog_LIPO"
    7215 fi
    7216 
    7217     if test -n "$ac_tool_prefix"; then
    7218   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
    7219 set dummy ${ac_tool_prefix}otool; ac_word=$2
    7220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    7221 $as_echo_n "checking for $ac_word... " >&6; }
    7222 if ${ac_cv_prog_OTOOL+:} false; then :
    7223   $as_echo_n "(cached) " >&6
    7224 else
    7225   if test -n "$OTOOL"; then
    7226   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
    7227 else
    7228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7229 for as_dir in $PATH
    7230 do
    7231   IFS=$as_save_IFS
    7232   test -z "$as_dir" && as_dir=.
    7233     for ac_exec_ext in '' $ac_executable_extensions; do
    7234   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    7235     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
    7236     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    7237     break 2
    7238   fi
    7239 done
    7240   done
    7241 IFS=$as_save_IFS
    7242 
    7243 fi
    7244 fi
    7245 OTOOL=$ac_cv_prog_OTOOL
    7246 if test -n "$OTOOL"; then
    7247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
    7248 $as_echo "$OTOOL" >&6; }
    7249 else
    7250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    7251 $as_echo "no" >&6; }
    7252 fi
    7253 
    7254 
    7255 fi
    7256 if test -z "$ac_cv_prog_OTOOL"; then
    7257   ac_ct_OTOOL=$OTOOL
    7258   # Extract the first word of "otool", so it can be a program name with args.
    7259 set dummy otool; ac_word=$2
    7260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    7261 $as_echo_n "checking for $ac_word... " >&6; }
    7262 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
    7263   $as_echo_n "(cached) " >&6
    7264 else
    7265   if test -n "$ac_ct_OTOOL"; then
    7266   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
    7267 else
    7268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7269 for as_dir in $PATH
    7270 do
    7271   IFS=$as_save_IFS
    7272   test -z "$as_dir" && as_dir=.
    7273     for ac_exec_ext in '' $ac_executable_extensions; do
    7274   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    7275     ac_cv_prog_ac_ct_OTOOL="otool"
    7276     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    7277     break 2
    7278   fi
    7279 done
    7280   done
    7281 IFS=$as_save_IFS
    7282 
    7283 fi
    7284 fi
    7285 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
    7286 if test -n "$ac_ct_OTOOL"; then
    7287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
    7288 $as_echo "$ac_ct_OTOOL" >&6; }
    7289 else
    7290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    7291 $as_echo "no" >&6; }
    7292 fi
    7293 
    7294   if test "x$ac_ct_OTOOL" = x; then
    7295     OTOOL=":"
    7296   else
    7297     case $cross_compiling:$ac_tool_warned in
    7298 yes:)
    7299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    7300 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    7301 ac_tool_warned=yes ;;
    7302 esac
    7303     OTOOL=$ac_ct_OTOOL
    7304   fi
    7305 else
    7306   OTOOL="$ac_cv_prog_OTOOL"
    7307 fi
    7308 
    7309     if test -n "$ac_tool_prefix"; then
    7310   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
    7311 set dummy ${ac_tool_prefix}otool64; ac_word=$2
    7312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    7313 $as_echo_n "checking for $ac_word... " >&6; }
    7314 if ${ac_cv_prog_OTOOL64+:} false; then :
    7315   $as_echo_n "(cached) " >&6
    7316 else
    7317   if test -n "$OTOOL64"; then
    7318   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
    7319 else
    7320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7321 for as_dir in $PATH
    7322 do
    7323   IFS=$as_save_IFS
    7324   test -z "$as_dir" && as_dir=.
    7325     for ac_exec_ext in '' $ac_executable_extensions; do
    7326   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    7327     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
    7328     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    7329     break 2
    7330   fi
    7331 done
    7332   done
    7333 IFS=$as_save_IFS
    7334 
    7335 fi
    7336 fi
    7337 OTOOL64=$ac_cv_prog_OTOOL64
    7338 if test -n "$OTOOL64"; then
    7339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
    7340 $as_echo "$OTOOL64" >&6; }
    7341 else
    7342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    7343 $as_echo "no" >&6; }
    7344 fi
    7345 
    7346 
    7347 fi
    7348 if test -z "$ac_cv_prog_OTOOL64"; then
    7349   ac_ct_OTOOL64=$OTOOL64
    7350   # Extract the first word of "otool64", so it can be a program name with args.
    7351 set dummy otool64; ac_word=$2
    7352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    7353 $as_echo_n "checking for $ac_word... " >&6; }
    7354 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
    7355   $as_echo_n "(cached) " >&6
    7356 else
    7357   if test -n "$ac_ct_OTOOL64"; then
    7358   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
    7359 else
    7360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7361 for as_dir in $PATH
    7362 do
    7363   IFS=$as_save_IFS
    7364   test -z "$as_dir" && as_dir=.
    7365     for ac_exec_ext in '' $ac_executable_extensions; do
    7366   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    7367     ac_cv_prog_ac_ct_OTOOL64="otool64"
    7368     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    7369     break 2
    7370   fi
    7371 done
    7372   done
    7373 IFS=$as_save_IFS
    7374 
    7375 fi
    7376 fi
    7377 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
    7378 if test -n "$ac_ct_OTOOL64"; then
    7379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
    7380 $as_echo "$ac_ct_OTOOL64" >&6; }
    7381 else
    7382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    7383 $as_echo "no" >&6; }
    7384 fi
    7385 
    7386   if test "x$ac_ct_OTOOL64" = x; then
    7387     OTOOL64=":"
    7388   else
    7389     case $cross_compiling:$ac_tool_warned in
    7390 yes:)
    7391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    7392 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    7393 ac_tool_warned=yes ;;
    7394 esac
    7395     OTOOL64=$ac_ct_OTOOL64
    7396   fi
    7397 else
    7398   OTOOL64="$ac_cv_prog_OTOOL64"
    7399 fi
    7400 
    7401 
    7402 
    7403 
    7404 
    7405 
    7406 
    7407 
    7408 
    7409 
    7410 
    7411 
    7412 
    7413 
    7414 
    7415 
    7416 
    7417 
    7418 
    7419 
    7420 
    7421 
    7422 
    7423 
    7424 
    7425 
    7426 
    7427     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
    7428 $as_echo_n "checking for -single_module linker flag... " >&6; }
    7429 if ${lt_cv_apple_cc_single_mod+:} false; then :
    7430   $as_echo_n "(cached) " >&6
    7431 else
    7432   lt_cv_apple_cc_single_mod=no
    7433       if test -z "$LT_MULTI_MODULE"; then
    7434         # By default we will add the -single_module flag. You can override
    7435         # by either setting the environment variable LT_MULTI_MODULE
    7436         # non-empty at configure time, or by adding -multi_module to the
    7437         # link flags.
    7438         rm -rf libconftest.dylib*
    7439         echo "int foo(void){return 1;}" > conftest.c
    7440         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
    7441 -dynamiclib -Wl,-single_module conftest.c" >&5
    7442         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
    7443           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
    7444         _lt_result=$?
    7445         # If there is a non-empty error log, and "single_module"
    7446         # appears in it, assume the flag caused a linker warning
    7447         if test -s conftest.err && $GREP single_module conftest.err; then
    7448           cat conftest.err >&5
    7449         # Otherwise, if the output was created with a 0 exit code from
    7450         # the compiler, it worked.
    7451         elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
    7452           lt_cv_apple_cc_single_mod=yes
    7453         else
    7454           cat conftest.err >&5
    7455         fi
    7456         rm -rf libconftest.dylib*
    7457         rm -f conftest.*
    7458       fi
    7459 fi
    7460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
    7461 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
    7462 
    7463     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
    7464 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
    7465 if ${lt_cv_ld_exported_symbols_list+:} false; then :
    7466   $as_echo_n "(cached) " >&6
    7467 else
    7468   lt_cv_ld_exported_symbols_list=no
    7469       save_LDFLAGS=$LDFLAGS
    7470       echo "_main" > conftest.sym
    7471       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
    7472       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    7473 /* end confdefs.h.  */
    7474 
    7475 int
    7476 main ()
    7477 {
    7478 
    7479   ;
    7480   return 0;
    7481 }
    7482 _ACEOF
    7483 if ac_fn_c_try_link "$LINENO"; then :
    7484   lt_cv_ld_exported_symbols_list=yes
    7485 else
    7486   lt_cv_ld_exported_symbols_list=no
    7487 fi
    7488 rm -f core conftest.err conftest.$ac_objext \
    7489     conftest$ac_exeext conftest.$ac_ext
    7490         LDFLAGS=$save_LDFLAGS
    7491 
    7492 fi
    7493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
    7494 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
    7495 
    7496     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
    7497 $as_echo_n "checking for -force_load linker flag... " >&6; }
    7498 if ${lt_cv_ld_force_load+:} false; then :
    7499   $as_echo_n "(cached) " >&6
    7500 else
    7501   lt_cv_ld_force_load=no
    7502       cat > conftest.c << _LT_EOF
    7503 int forced_loaded() { return 2;}
    7504 _LT_EOF
    7505       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
    7506       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
    7507       echo "$AR cru libconftest.a conftest.o" >&5
    7508       $AR cru libconftest.a conftest.o 2>&5
    7509       echo "$RANLIB libconftest.a" >&5
    7510       $RANLIB libconftest.a 2>&5
    7511       cat > conftest.c << _LT_EOF
    7512 int main() { return 0;}
    7513 _LT_EOF
    7514       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
    7515       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
    7516       _lt_result=$?
    7517       if test -s conftest.err && $GREP force_load conftest.err; then
    7518         cat conftest.err >&5
    7519       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
    7520         lt_cv_ld_force_load=yes
    7521       else
    7522         cat conftest.err >&5
    7523       fi
    7524         rm -f conftest.err libconftest.a conftest conftest.c
    7525         rm -rf conftest.dSYM
    7526 
    7527 fi
    7528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
    7529 $as_echo "$lt_cv_ld_force_load" >&6; }
    7530     case $host_os in
    7531     rhapsody* | darwin1.[012])
    7532       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
    7533     darwin1.*)
    7534       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
    7535     darwin*) # darwin 5.x on
    7536       # if running on 10.5 or later, the deployment target defaults
    7537       # to the OS version, if on x86, and 10.4, the deployment
    7538       # target defaults to 10.4. Don't you love it?
    7539       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
    7540         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
    7541           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
    7542         10.[012][,.]*)
    7543           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
    7544         10.*)
    7545           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
    7546       esac
    7547     ;;
    7548   esac
    7549     if test yes = "$lt_cv_apple_cc_single_mod"; then
    7550       _lt_dar_single_mod='$single_module'
    7551     fi
    7552     if test yes = "$lt_cv_ld_exported_symbols_list"; then
    7553       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
    7554     else
    7555       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
    7556     fi
    7557     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
    7558       _lt_dsymutil='~$DSYMUTIL $lib || :'
    7559     else
    7560       _lt_dsymutil=
    7561     fi
    7562     ;;
    7563   esac
    7564 
    7565 # func_munge_path_list VARIABLE PATH
    7566 # -----------------------------------
    7567 # VARIABLE is name of variable containing _space_ separated list of
    7568 # directories to be munged by the contents of PATH, which is string
    7569 # having a format:
    7570 # "DIR[:DIR]:"
    7571 #       string "DIR[ DIR]" will be prepended to VARIABLE
    7572 # ":DIR[:DIR]"
    7573 #       string "DIR[ DIR]" will be appended to VARIABLE
    7574 # "DIRP[:DIRP]::[DIRA:]DIRA"
    7575 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
    7576 #       "DIRA[ DIRA]" will be appended to VARIABLE
    7577 # "DIR[:DIR]"
    7578 #       VARIABLE will be replaced by "DIR[ DIR]"
    7579 func_munge_path_list ()
    7580 {
    7581     case x$2 in
    7582     x)
    7583         ;;
    7584     *:)
    7585         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
    7586         ;;
    7587     x:*)
    7588         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
    7589         ;;
    7590     *::*)
    7591         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
    7592         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
    7593         ;;
    7594     *)
    7595         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
    7596         ;;
    7597     esac
    7598 }
    7599 
    7600 ac_ext=c
    7601 ac_cpp='$CPP $CPPFLAGS'
    7602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    7603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    7604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    7605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
    7606 $as_echo_n "checking how to run the C preprocessor... " >&6; }
    7607 # On Suns, sometimes $CPP names a directory.
    7608 if test -n "$CPP" && test -d "$CPP"; then
    7609   CPP=
    7610 fi
    7611 if test -z "$CPP"; then
    7612   if ${ac_cv_prog_CPP+:} false; then :
    7613   $as_echo_n "(cached) " >&6
    7614 else
    7615       # Double quotes because CPP needs to be expanded
    7616     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
    7617     do
    7618       ac_preproc_ok=false
    7619 for ac_c_preproc_warn_flag in '' yes
    7620 do
    7621   # Use a header file that comes with gcc, so configuring glibc
    7622   # with a fresh cross-compiler works.
    7623   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    7624   # <limits.h> exists even on freestanding compilers.
    7625   # On the NeXT, cc -E runs the code through the compiler's parser,
    7626   # not just through cpp. "Syntax error" is here to catch this case.
    7627   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    7628 /* end confdefs.h.  */
    7629 #ifdef __STDC__
    7630 # include <limits.h>
    7631 #else
    7632 # include <assert.h>
    7633 #endif
    7634                      Syntax error
    7635 _ACEOF
    7636 if ac_fn_c_try_cpp "$LINENO"; then :
    7637 
    7638 else
    7639   # Broken: fails on valid input.
    7640 continue
    7641 fi
    7642 rm -f conftest.err conftest.i conftest.$ac_ext
    7643 
    7644   # OK, works on sane cases.  Now check whether nonexistent headers
    7645   # can be detected and how.
    7646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    7647 /* end confdefs.h.  */
    7648 #include <ac_nonexistent.h>
    7649 _ACEOF
    7650 if ac_fn_c_try_cpp "$LINENO"; then :
    7651   # Broken: success on invalid input.
    7652 continue
    7653 else
    7654   # Passes both tests.
    7655 ac_preproc_ok=:
    7656 break
    7657 fi
    7658 rm -f conftest.err conftest.i conftest.$ac_ext
    7659 
    7660 done
    7661 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    7662 rm -f conftest.i conftest.err conftest.$ac_ext
    7663 if $ac_preproc_ok; then :
    7664   break
    7665 fi
    7666 
    7667     done
    7668     ac_cv_prog_CPP=$CPP
    7669 
    7670 fi
    7671   CPP=$ac_cv_prog_CPP
    7672 else
    7673   ac_cv_prog_CPP=$CPP
    7674 fi
    7675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
    7676 $as_echo "$CPP" >&6; }
    7677 ac_preproc_ok=false
    7678 for ac_c_preproc_warn_flag in '' yes
    7679 do
    7680   # Use a header file that comes with gcc, so configuring glibc
    7681   # with a fresh cross-compiler works.
    7682   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    7683   # <limits.h> exists even on freestanding compilers.
    7684   # On the NeXT, cc -E runs the code through the compiler's parser,
    7685   # not just through cpp. "Syntax error" is here to catch this case.
    7686   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    7687 /* end confdefs.h.  */
    7688 #ifdef __STDC__
    7689 # include <limits.h>
    7690 #else
    7691 # include <assert.h>
    7692 #endif
    7693                      Syntax error
    7694 _ACEOF
    7695 if ac_fn_c_try_cpp "$LINENO"; then :
    7696 
    7697 else
    7698   # Broken: fails on valid input.
    7699 continue
    7700 fi
    7701 rm -f conftest.err conftest.i conftest.$ac_ext
    7702 
    7703   # OK, works on sane cases.  Now check whether nonexistent headers
    7704   # can be detected and how.
    7705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    7706 /* end confdefs.h.  */
    7707 #include <ac_nonexistent.h>
    7708 _ACEOF
    7709 if ac_fn_c_try_cpp "$LINENO"; then :
    7710   # Broken: success on invalid input.
    7711 continue
    7712 else
    7713   # Passes both tests.
    7714 ac_preproc_ok=:
    7715 break
    7716 fi
    7717 rm -f conftest.err conftest.i conftest.$ac_ext
    7718 
    7719 done
    7720 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    7721 rm -f conftest.i conftest.err conftest.$ac_ext
    7722 if $ac_preproc_ok; then :
    7723 
    7724 else
    7725   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    7726 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    7727 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
    7728 See \`config.log' for more details" "$LINENO" 5; }
    7729 fi
    7730 
    7731 ac_ext=c
    7732 ac_cpp='$CPP $CPPFLAGS'
    7733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    7734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    7735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    7736 
    7737 
    7738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
    7739 $as_echo_n "checking for ANSI C header files... " >&6; }
    7740 if ${ac_cv_header_stdc+:} false; then :
    7741   $as_echo_n "(cached) " >&6
    7742 else
    7743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    7744 /* end confdefs.h.  */
    7745 #include <stdlib.h>
    7746 #include <stdarg.h>
    7747 #include <string.h>
    7748 #include <float.h>
    7749 
    7750 int
    7751 main ()
    7752 {
    7753 
    7754   ;
    7755   return 0;
    7756 }
    7757 _ACEOF
    7758 if ac_fn_c_try_compile "$LINENO"; then :
    7759   ac_cv_header_stdc=yes
    7760 else
    7761   ac_cv_header_stdc=no
    7762 fi
    7763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    7764 
    7765 if test $ac_cv_header_stdc = yes; then
    7766   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    7767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    7768 /* end confdefs.h.  */
    7769 #include <string.h>
    7770 
    7771 _ACEOF
    7772 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    7773   $EGREP "memchr" >/dev/null 2>&1; then :
    7774 
    7775 else
    7776   ac_cv_header_stdc=no
    7777 fi
    7778 rm -f conftest*
    7779 
    7780 fi
    7781 
    7782 if test $ac_cv_header_stdc = yes; then
    7783   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    7784   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    7785 /* end confdefs.h.  */
    7786 #include <stdlib.h>
    7787 
    7788 _ACEOF
    7789 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    7790   $EGREP "free" >/dev/null 2>&1; then :
    7791 
    7792 else
    7793   ac_cv_header_stdc=no
    7794 fi
    7795 rm -f conftest*
    7796 
    7797 fi
    7798 
    7799 if test $ac_cv_header_stdc = yes; then
    7800   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    7801   if test "$cross_compiling" = yes; then :
    7802   :
    7803 else
    7804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    7805 /* end confdefs.h.  */
    7806 #include <ctype.h>
    7807 #include <stdlib.h>
    7808 #if ((' ' & 0x0FF) == 0x020)
    7809 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
    7810 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
    7811 #else
    7812 # define ISLOWER(c) \
    7813                    (('a' <= (c) && (c) <= 'i') \
    7814                      || ('j' <= (c) && (c) <= 'r') \
    7815                      || ('s' <= (c) && (c) <= 'z'))
    7816 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
    7817 #endif
    7818 
    7819 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
    7820 int
    7821 main ()
    7822 {
    7823   int i;
    7824   for (i = 0; i < 256; i++)
    7825     if (XOR (islower (i), ISLOWER (i))
    7826         || toupper (i) != TOUPPER (i))
    7827       return 2;
    7828   return 0;
    7829 }
    7830 _ACEOF
    7831 if ac_fn_c_try_run "$LINENO"; then :
    7832 
    7833 else
    7834   ac_cv_header_stdc=no
    7835 fi
    7836 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
    7837   conftest.$ac_objext conftest.beam conftest.$ac_ext
    7838 fi
    7839 
    7840 fi
    7841 fi
    7842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
    7843 $as_echo "$ac_cv_header_stdc" >&6; }
    7844 if test $ac_cv_header_stdc = yes; then
    7845 
    7846 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
    7847 
    7848 fi
    7849 
    7850 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
    7851 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    7852                   inttypes.h stdint.h unistd.h
    7853 do :
    7854   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    7855 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
    7856 "
    7857 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
    7858   cat >>confdefs.h <<_ACEOF
    7859 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    7860 _ACEOF
    7861 
    7862 fi
    7863 
    7864 done
    7865 
    7866 
    7867 for ac_header in dlfcn.h
    7868 do :
    7869   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
    7870 "
    7871 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
    7872   cat >>confdefs.h <<_ACEOF
    7873 #define HAVE_DLFCN_H 1
    7874 _ACEOF
    7875 
    7876 fi
    7877 
    7878 done
    7879 
    7880 
    7881 
    7882 
    7883 
    7884 # Set options
    7885 
    7886 
    7887 
    7888         enable_dlopen=no
    7889 
    7890 
    7891   enable_win32_dll=no
    7892 
    7893 
    7894             # Check whether --enable-shared was given.
    7895 if test "${enable_shared+set}" = set; then :
    7896   enableval=$enable_shared; p=${PACKAGE-default}
    7897     case $enableval in
    7898     yes) enable_shared=yes ;;
    7899     no) enable_shared=no ;;
    7900     *)
    7901       enable_shared=no
    7902       # Look at the argument we got.  We use all the common list separators.
    7903       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
    7904       for pkg in $enableval; do
    7905         IFS=$lt_save_ifs
    7906         if test "X$pkg" = "X$p"; then
    7907           enable_shared=yes
    7908         fi
    7909       done
    7910       IFS=$lt_save_ifs
    7911       ;;
    7912     esac
    7913 else
    7914   enable_shared=yes
    7915 fi
    7916 
    7917 
    7918 
    7919 
    7920 
    7921 
    7922 
    7923 
    7924 
    7925   # Check whether --enable-static was given.
    7926 if test "${enable_static+set}" = set; then :
    7927   enableval=$enable_static; p=${PACKAGE-default}
    7928     case $enableval in
    7929     yes) enable_static=yes ;;
    7930     no) enable_static=no ;;
    7931     *)
    7932      enable_static=no
    7933       # Look at the argument we got.  We use all the common list separators.
    7934       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
    7935       for pkg in $enableval; do
    7936         IFS=$lt_save_ifs
    7937         if test "X$pkg" = "X$p"; then
    7938           enable_static=yes
    7939         fi
    7940       done
    7941       IFS=$lt_save_ifs
    7942       ;;
    7943     esac
    7944 else
    7945   enable_static=yes
    7946 fi
    7947 
    7948 
    7949 
    7950 
    7951 
    7952 
    7953 
    7954 
    7955 
    7956 
    7957 # Check whether --with-pic was given.
    7958 if test "${with_pic+set}" = set; then :
    7959   withval=$with_pic; lt_p=${PACKAGE-default}
    7960     case $withval in
    7961     yes|no) pic_mode=$withval ;;
    7962     *)
    7963       pic_mode=default
    7964       # Look at the argument we got.  We use all the common list separators.
    7965       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
    7966       for lt_pkg in $withval; do
    7967         IFS=$lt_save_ifs
    7968         if test "X$lt_pkg" = "X$lt_p"; then
    7969           pic_mode=yes
    7970         fi
    7971       done
    7972       IFS=$lt_save_ifs
    7973       ;;
    7974     esac
    7975 else
    7976   pic_mode=default
    7977 fi
    7978 
    7979 
    7980 
    7981 
    7982 
    7983 
    7984 
    7985 
    7986   # Check whether --enable-fast-install was given.
    7987 if test "${enable_fast_install+set}" = set; then :
    7988   enableval=$enable_fast_install; p=${PACKAGE-default}
    7989     case $enableval in
    7990     yes) enable_fast_install=yes ;;
    7991     no) enable_fast_install=no ;;
    7992     *)
    7993       enable_fast_install=no
    7994       # Look at the argument we got.  We use all the common list separators.
    7995       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
    7996       for pkg in $enableval; do
    7997         IFS=$lt_save_ifs
    7998         if test "X$pkg" = "X$p"; then
    7999           enable_fast_install=yes
    8000         fi
    8001       done
    8002       IFS=$lt_save_ifs
    8003       ;;
    8004     esac
    8005 else
    8006   enable_fast_install=yes
    8007 fi
    8008 
    8009 
    8010 
    8011 
    8012 
    8013 
    8014 
    8015 
    8016   shared_archive_member_spec=
    8017 case $host,$enable_shared in
    8018 power*-*-aix[5-9]*,yes)
    8019   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
    8020 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
    8021 
    8022 # Check whether --with-aix-soname was given.
    8023 if test "${with_aix_soname+set}" = set; then :
    8024   withval=$with_aix_soname; case $withval in
    8025     aix|svr4|both)
    8026       ;;
    8027     *)
    8028       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
    8029       ;;
    8030     esac
    8031     lt_cv_with_aix_soname=$with_aix_soname
    8032 else
    8033   if ${lt_cv_with_aix_soname+:} false; then :
    8034   $as_echo_n "(cached) " >&6
    8035 else
    8036   lt_cv_with_aix_soname=aix
    8037 fi
    8038 
    8039     with_aix_soname=$lt_cv_with_aix_soname
    8040 fi
    8041 
    8042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
    8043 $as_echo "$with_aix_soname" >&6; }
    8044   if test aix != "$with_aix_soname"; then
    8045     # For the AIX way of multilib, we name the shared archive member
    8046     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
    8047     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
    8048     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
    8049     # the AIX toolchain works better with OBJECT_MODE set (default 32).
    8050     if test 64 = "${OBJECT_MODE-32}"; then
    8051       shared_archive_member_spec=shr_64
    8052     else
    8053       shared_archive_member_spec=shr
    8054     fi
    8055   fi
    8056   ;;
    8057 *)
    8058   with_aix_soname=aix
    8059   ;;
    8060 esac
    8061 
    8062 
    8063 
    8064 
    8065 
    8066 
    8067 
    8068 
    8069 
    8070 
    8071 # This can be used to rebuild libtool when needed
    8072 LIBTOOL_DEPS=$ltmain
    8073 
    8074 # Always use our own libtool.
    8075 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
    8076 
    8077 
    8078 
    8079 
    8080 
    8081 
    8082 
    8083 
    8084 
    8085 
    8086 
    8087 
    8088 
    8089 
    8090 
    8091 
    8092 
    8093 
    8094 
    8095 
    8096 
    8097 
    8098 
    8099 
    8100 
    8101 
    8102 
    8103 
    8104 
    8105 
    8106 test -z "$LN_S" && LN_S="ln -s"
    8107 
    8108 
    8109 
    8110 
    8111 
    8112 
    8113 
    8114 
    8115 
    8116 
    8117 
    8118 
    8119 
    8120 
    8121 if test -n "${ZSH_VERSION+set}"; then
    8122    setopt NO_GLOB_SUBST
    8123 fi
    8124 
    8125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
    8126 $as_echo_n "checking for objdir... " >&6; }
    8127 if ${lt_cv_objdir+:} false; then :
    8128   $as_echo_n "(cached) " >&6
    8129 else
    8130   rm -f .libs 2>/dev/null
    8131 mkdir .libs 2>/dev/null
    8132 if test -d .libs; then
    8133   lt_cv_objdir=.libs
    8134 else
    8135   # MS-DOS does not allow filenames that begin with a dot.
    8136   lt_cv_objdir=_libs
    8137 fi
    8138 rmdir .libs 2>/dev/null
    8139 fi
    8140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
    8141 $as_echo "$lt_cv_objdir" >&6; }
    8142 objdir=$lt_cv_objdir
    8143 
    8144 
    8145 
    8146 
    8147 
    8148 cat >>confdefs.h <<_ACEOF
    8149 #define LT_OBJDIR "$lt_cv_objdir/"
    8150 _ACEOF
    8151 
    8152 
    8153 
    8154 
    8155 case $host_os in
    8156 aix3*)
    8157   # AIX sometimes has problems with the GCC collect2 program.  For some
    8158   # reason, if we set the COLLECT_NAMES environment variable, the problems
    8159   # vanish in a puff of smoke.
    8160   if test set != "${COLLECT_NAMES+set}"; then
    8161     COLLECT_NAMES=
    8162     export COLLECT_NAMES
    8163   fi
    8164   ;;
    8165 esac
    8166 
    8167 # Global variables:
    8168 ofile=libtool
    8169 can_build_shared=yes
    8170 
    8171 # All known linkers require a '.a' archive for static linking (except MSVC,
    8172 # which needs '.lib').
    8173 libext=a
    8174 
    8175 with_gnu_ld=$lt_cv_prog_gnu_ld
    8176 
    8177 old_CC=$CC
    8178 old_CFLAGS=$CFLAGS
    8179 
    8180 # Set sane defaults for various variables
    8181 test -z "$CC" && CC=cc
    8182 test -z "$LTCC" && LTCC=$CC
    8183 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
    8184 test -z "$LD" && LD=ld
    8185 test -z "$ac_objext" && ac_objext=o
    8186 
    8187 func_cc_basename $compiler
    8188 cc_basename=$func_cc_basename_result
    8189 
    8190 
    8191 # Only perform the check for file, if the check method requires it
    8192 test -z "$MAGIC_CMD" && MAGIC_CMD=file
    8193 case $deplibs_check_method in
    8194 file_magic*)
    8195   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
    8196     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
    8197 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
    8198 if ${lt_cv_path_MAGIC_CMD+:} false; then :
    8199   $as_echo_n "(cached) " >&6
    8200 else
    8201   case $MAGIC_CMD in
    8202 [\\/*] |  ?:[\\/]*)
    8203   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
    8204   ;;
    8205 *)
    8206   lt_save_MAGIC_CMD=$MAGIC_CMD
    8207   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
    8208   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
    8209   for ac_dir in $ac_dummy; do
    8210     IFS=$lt_save_ifs
    8211     test -z "$ac_dir" && ac_dir=.
    8212     if test -f "$ac_dir/${ac_tool_prefix}file"; then
    8213       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
    8214       if test -n "$file_magic_test_file"; then
    8215         case $deplibs_check_method in
    8216         "file_magic "*)
    8217           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
    8218           MAGIC_CMD=$lt_cv_path_MAGIC_CMD
    8219           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
    8220             $EGREP "$file_magic_regex" > /dev/null; then
    8221             :
    8222           else
    8223             cat <<_LT_EOF 1>&2
    8224 
    8225 *** Warning: the command libtool uses to detect shared libraries,
    8226 *** $file_magic_cmd, produces output that libtool cannot recognize.
    8227 *** The result is that libtool may fail to recognize shared libraries
    8228 *** as such.  This will affect the creation of libtool libraries that
    8229 *** depend on shared libraries, but programs linked with such libtool
    8230 *** libraries will work regardless of this problem.  Nevertheless, you
    8231 *** may want to report the problem to your system manager and/or to
    8232 *** bug-libtool@gnu.org
    8233 
    8234 _LT_EOF
    8235           fi ;;
    8236         esac
    8237       fi
    8238       break
    8239     fi
    8240   done
    8241   IFS=$lt_save_ifs
    8242   MAGIC_CMD=$lt_save_MAGIC_CMD
    8243   ;;
    8244 esac
    8245 fi
    8246 
    8247 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
    8248 if test -n "$MAGIC_CMD"; then
    8249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
    8250 $as_echo "$MAGIC_CMD" >&6; }
    8251 else
    8252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8253 $as_echo "no" >&6; }
    8254 fi
    8255 
    8256 
    8257 
    8258 
    8259 
    8260 if test -z "$lt_cv_path_MAGIC_CMD"; then
    8261   if test -n "$ac_tool_prefix"; then
    8262     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
    8263 $as_echo_n "checking for file... " >&6; }
    8264 if ${lt_cv_path_MAGIC_CMD+:} false; then :
    8265   $as_echo_n "(cached) " >&6
    8266 else
    8267   case $MAGIC_CMD in
    8268 [\\/*] |  ?:[\\/]*)
    8269   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
    8270   ;;
    8271 *)
    8272   lt_save_MAGIC_CMD=$MAGIC_CMD
    8273   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
    8274   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
    8275   for ac_dir in $ac_dummy; do
    8276     IFS=$lt_save_ifs
    8277     test -z "$ac_dir" && ac_dir=.
    8278     if test -f "$ac_dir/file"; then
    8279       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
    8280       if test -n "$file_magic_test_file"; then
    8281         case $deplibs_check_method in
    8282         "file_magic "*)
    8283           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
    8284           MAGIC_CMD=$lt_cv_path_MAGIC_CMD
    8285           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
    8286             $EGREP "$file_magic_regex" > /dev/null; then
    8287             :
    8288           else
    8289             cat <<_LT_EOF 1>&2
    8290 
    8291 *** Warning: the command libtool uses to detect shared libraries,
    8292 *** $file_magic_cmd, produces output that libtool cannot recognize.
    8293 *** The result is that libtool may fail to recognize shared libraries
    8294 *** as such.  This will affect the creation of libtool libraries that
    8295 *** depend on shared libraries, but programs linked with such libtool
    8296 *** libraries will work regardless of this problem.  Nevertheless, you
    8297 *** may want to report the problem to your system manager and/or to
    8298 *** bug-libtool@gnu.org
    8299 
    8300 _LT_EOF
    8301           fi ;;
    8302         esac
    8303       fi
    8304       break
    8305     fi
    8306   done
    8307   IFS=$lt_save_ifs
    8308   MAGIC_CMD=$lt_save_MAGIC_CMD
    8309   ;;
    8310 esac
    8311 fi
    8312 
    8313 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
    8314 if test -n "$MAGIC_CMD"; then
    8315   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
    8316 $as_echo "$MAGIC_CMD" >&6; }
    8317 else
    8318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8319 $as_echo "no" >&6; }
    8320 fi
    8321 
    8322 
    8323   else
    8324     MAGIC_CMD=:
    8325   fi
    8326 fi
    8327 
    8328   fi
    8329   ;;
    8330 esac
    8331 
    8332 # Use C for the default configuration in the libtool script
    8333 
    8334 lt_save_CC=$CC
    8335 ac_ext=c
    8336 ac_cpp='$CPP $CPPFLAGS'
    8337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    8338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    8339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    8340 
    8341 
    8342 # Source file extension for C test sources.
    8343 ac_ext=c
    8344 
    8345 # Object file extension for compiled C test sources.
    8346 objext=o
    8347 objext=$objext
    8348 
    8349 # Code to be used in simple compile tests
    8350 lt_simple_compile_test_code="int some_variable = 0;"
    8351 
    8352 # Code to be used in simple link tests
    8353 lt_simple_link_test_code='int main(){return(0);}'
    8354 
    8355 
    8356 
    8357 
    8358 
    8359 
    8360 
    8361 # If no C compiler was specified, use CC.
    8362 LTCC=${LTCC-"$CC"}
    8363 
    8364 # If no C compiler flags were specified, use CFLAGS.
    8365 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
    8366 
    8367 # Allow CC to be a program name with arguments.
    8368 compiler=$CC
    8369 
    8370 # Save the default compiler, since it gets overwritten when the other
    8371 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
    8372 compiler_DEFAULT=$CC
    8373 
    8374 # save warnings/boilerplate of simple test code
    8375 ac_outfile=conftest.$ac_objext
    8376 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
    8377 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
    8378 _lt_compiler_boilerplate=`cat conftest.err`
    8379 $RM conftest*
    8380 
    8381 ac_outfile=conftest.$ac_objext
    8382 echo "$lt_simple_link_test_code" >conftest.$ac_ext
    8383 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
    8384 _lt_linker_boilerplate=`cat conftest.err`
    8385 $RM -r conftest*
    8386 
    8387 
    8388 ## CAVEAT EMPTOR:
    8389 ## There is no encapsulation within the following macros, do not change
    8390 ## the running order or otherwise move them around unless you know exactly
    8391 ## what you are doing...
    8392 if test -n "$compiler"; then
    8393 
    8394 lt_prog_compiler_no_builtin_flag=
    8395 
    8396 if test yes = "$GCC"; then
    8397   case $cc_basename in
    8398   nvcc*)
    8399     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
    8400   *)
    8401     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
    8402   esac
    8403 
    8404   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
    8405 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
    8406 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
    8407   $as_echo_n "(cached) " >&6
    8408 else
    8409   lt_cv_prog_compiler_rtti_exceptions=no
    8410    ac_outfile=conftest.$ac_objext
    8411    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    8412    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
    8413    # Insert the option either (1) after the last *FLAGS variable, or
    8414    # (2) before a word containing "conftest.", or (3) at the end.
    8415    # Note that $ac_compile itself does not contain backslashes and begins
    8416    # with a dollar sign (not a hyphen), so the echo should work correctly.
    8417    # The option is referenced via a variable to avoid confusing sed.
    8418    lt_compile=`echo "$ac_compile" | $SED \
    8419    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    8420    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    8421    -e 's:$: $lt_compiler_flag:'`
    8422    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
    8423    (eval "$lt_compile" 2>conftest.err)
    8424    ac_status=$?
    8425    cat conftest.err >&5
    8426    echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8427    if (exit $ac_status) && test -s "$ac_outfile"; then
    8428      # The compiler can only warn and ignore the option if not recognized
    8429      # So say no if there are warnings other than the usual output.
    8430      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
    8431      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
    8432      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
    8433        lt_cv_prog_compiler_rtti_exceptions=yes
    8434      fi
    8435    fi
    8436    $RM conftest*
    8437 
    8438 fi
    8439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
    8440 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
    8441 
    8442 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
    8443     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
    8444 else
    8445     :
    8446 fi
    8447 
    8448 fi
    8449 
    8450 
    8451 
    8452 
    8453 
    8454 
    8455   lt_prog_compiler_wl=
    8456 lt_prog_compiler_pic=
    8457 lt_prog_compiler_static=
    8458 
    8459 
    8460   if test yes = "$GCC"; then
    8461     lt_prog_compiler_wl='-Wl,'
    8462     lt_prog_compiler_static='-static'
    8463 
    8464     case $host_os in
    8465       aix*)
    8466       # All AIX code is PIC.
    8467       if test ia64 = "$host_cpu"; then
    8468         # AIX 5 now supports IA64 processor
    8469         lt_prog_compiler_static='-Bstatic'
    8470       fi
    8471       lt_prog_compiler_pic='-fPIC'
    8472       ;;
    8473 
    8474     amigaos*)
    8475       case $host_cpu in
    8476       powerpc)
    8477             # see comment about AmigaOS4 .so support
    8478             lt_prog_compiler_pic='-fPIC'
    8479         ;;
    8480       m68k)
    8481             # FIXME: we need at least 68020 code to build shared libraries, but
    8482             # adding the '-m68020' flag to GCC prevents building anything better,
    8483             # like '-m68040'.
    8484             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
    8485         ;;
    8486       esac
    8487       ;;
    8488 
    8489     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
    8490       # PIC is the default for these OSes.
    8491       ;;
    8492 
    8493     mingw* | cygwin* | pw32* | os2* | cegcc*)
    8494       # This hack is so that the source file can tell whether it is being
    8495       # built for inclusion in a dll (and should export symbols for example).
    8496       # Although the cygwin gcc ignores -fPIC, still need this for old-style
    8497       # (--disable-auto-import) libraries
    8498       lt_prog_compiler_pic='-DDLL_EXPORT'
    8499       case $host_os in
    8500       os2*)
    8501         lt_prog_compiler_static='$wl-static'
    8502         ;;
    8503       esac
    8504       ;;
    8505 
    8506     darwin* | rhapsody*)
    8507       # PIC is the default on this platform
    8508       # Common symbols not allowed in MH_DYLIB files
    8509       lt_prog_compiler_pic='-fno-common'
    8510       ;;
    8511 
    8512     haiku*)
    8513       # PIC is the default for Haiku.
    8514       # The "-static" flag exists, but is broken.
    8515       lt_prog_compiler_static=
    8516       ;;
    8517 
    8518     hpux*)
    8519       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
    8520       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
    8521       # sets the default TLS model and affects inlining.
    8522       case $host_cpu in
    8523       hppa*64*)
    8524         # +Z the default
    8525         ;;
    8526       *)
    8527         lt_prog_compiler_pic='-fPIC'
    8528         ;;
    8529       esac
    8530       ;;
    8531 
    8532     interix[3-9]*)
    8533       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
    8534       # Instead, we relocate shared libraries at runtime.
    8535       ;;
    8536 
    8537     msdosdjgpp*)
    8538       # Just because we use GCC doesn't mean we suddenly get shared libraries
    8539       # on systems that don't support them.
    8540       lt_prog_compiler_can_build_shared=no
    8541       enable_shared=no
    8542       ;;
    8543 
    8544     *nto* | *qnx*)
    8545       # QNX uses GNU C++, but need to define -shared option too, otherwise
    8546       # it will coredump.
    8547       lt_prog_compiler_pic='-fPIC -shared'
    8548       ;;
    8549 
    8550     sysv4*MP*)
    8551       if test -d /usr/nec; then
    8552         lt_prog_compiler_pic=-Kconform_pic
    8553       fi
    8554       ;;
    8555 
    8556     *)
    8557       lt_prog_compiler_pic='-fPIC'
    8558       ;;
    8559     esac
    8560 
    8561     case $cc_basename in
    8562     nvcc*) # Cuda Compiler Driver 2.2
    8563       lt_prog_compiler_wl='-Xlinker '
    8564       if test -n "$lt_prog_compiler_pic"; then
    8565         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
    8566       fi
    8567       ;;
    8568     esac
    8569   else
    8570     # PORTME Check for flag to pass linker flags through the system compiler.
    8571     case $host_os in
    8572     aix*)
    8573       lt_prog_compiler_wl='-Wl,'
    8574       if test ia64 = "$host_cpu"; then
    8575         # AIX 5 now supports IA64 processor
    8576         lt_prog_compiler_static='-Bstatic'
    8577       else
    8578         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
    8579       fi
    8580       ;;
    8581 
    8582     darwin* | rhapsody*)
    8583       # PIC is the default on this platform
    8584       # Common symbols not allowed in MH_DYLIB files
    8585       lt_prog_compiler_pic='-fno-common'
    8586       case $cc_basename in
    8587       nagfor*)
    8588         # NAG Fortran compiler
    8589         lt_prog_compiler_wl='-Wl,-Wl,,'
    8590         lt_prog_compiler_pic='-PIC'
    8591         lt_prog_compiler_static='-Bstatic'
    8592         ;;
    8593       esac
    8594       ;;
    8595 
    8596     mingw* | cygwin* | pw32* | os2* | cegcc*)
    8597       # This hack is so that the source file can tell whether it is being
    8598       # built for inclusion in a dll (and should export symbols for example).
    8599       lt_prog_compiler_pic='-DDLL_EXPORT'
    8600       case $host_os in
    8601       os2*)
    8602         lt_prog_compiler_static='$wl-static'
    8603         ;;
    8604       esac
    8605       ;;
    8606 
    8607     hpux9* | hpux10* | hpux11*)
    8608       lt_prog_compiler_wl='-Wl,'
    8609       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
    8610       # not for PA HP-UX.
    8611       case $host_cpu in
    8612       hppa*64*|ia64*)
    8613         # +Z the default
    8614         ;;
    8615       *)
    8616         lt_prog_compiler_pic='+Z'
    8617         ;;
    8618       esac
    8619       # Is there a better lt_prog_compiler_static that works with the bundled CC?
    8620       lt_prog_compiler_static='$wl-a ${wl}archive'
    8621       ;;
    8622 
    8623     irix5* | irix6* | nonstopux*)
    8624       lt_prog_compiler_wl='-Wl,'
    8625       # PIC (with -KPIC) is the default.
    8626       lt_prog_compiler_static='-non_shared'
    8627       ;;
    8628 
    8629     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
    8630       case $cc_basename in
    8631       # old Intel for x86_64, which still supported -KPIC.
    8632       ecc*)
    8633         lt_prog_compiler_wl='-Wl,'
    8634         lt_prog_compiler_pic='-KPIC'
    8635         lt_prog_compiler_static='-static'
    8636         ;;
    8637       # icc used to be incompatible with GCC.
    8638       # ICC 10 doesn't accept -KPIC any more.
    8639       icc* | ifort*)
    8640         lt_prog_compiler_wl='-Wl,'
    8641         lt_prog_compiler_pic='-fPIC'
    8642         lt_prog_compiler_static='-static'
    8643         ;;
    8644       # Lahey Fortran 8.1.
    8645       lf95*)
    8646         lt_prog_compiler_wl='-Wl,'
    8647         lt_prog_compiler_pic='--shared'
    8648         lt_prog_compiler_static='--static'
    8649         ;;
    8650       nagfor*)
    8651         # NAG Fortran compiler
    8652         lt_prog_compiler_wl='-Wl,-Wl,,'
    8653         lt_prog_compiler_pic='-PIC'
    8654         lt_prog_compiler_static='-Bstatic'
    8655         ;;
    8656       tcc*)
    8657         # Fabrice Bellard et al's Tiny C Compiler
    8658         lt_prog_compiler_wl='-Wl,'
    8659         lt_prog_compiler_pic='-fPIC'
    8660         lt_prog_compiler_static='-static'
    8661         ;;
    8662       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
    8663         # Portland Group compilers (*not* the Pentium gcc compiler,
    8664         # which looks to be a dead project)
    8665         lt_prog_compiler_wl='-Wl,'
    8666         lt_prog_compiler_pic='-fpic'
    8667         lt_prog_compiler_static='-Bstatic'
    8668         ;;
    8669       ccc*)
    8670         lt_prog_compiler_wl='-Wl,'
    8671         # All Alpha code is PIC.
    8672         lt_prog_compiler_static='-non_shared'
    8673         ;;
    8674       xl* | bgxl* | bgf* | mpixl*)
    8675         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
    8676         lt_prog_compiler_wl='-Wl,'
    8677         lt_prog_compiler_pic='-qpic'
    8678         lt_prog_compiler_static='-qstaticlink'
    8679         ;;
    8680       *)
    8681         case `$CC -V 2>&1 | sed 5q` in
    8682         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
    8683           # Sun Fortran 8.3 passes all unrecognized flags to the linker
    8684           lt_prog_compiler_pic='-KPIC'
    8685           lt_prog_compiler_static='-Bstatic'
    8686           lt_prog_compiler_wl=''
    8687           ;;
    8688         *Sun\ F* | *Sun*Fortran*)
    8689           lt_prog_compiler_pic='-KPIC'
    8690           lt_prog_compiler_static='-Bstatic'
    8691           lt_prog_compiler_wl='-Qoption ld '
    8692           ;;
    8693         *Sun\ C*)
    8694           # Sun C 5.9
    8695           lt_prog_compiler_pic='-KPIC'
    8696           lt_prog_compiler_static='-Bstatic'
    8697           lt_prog_compiler_wl='-Wl,'
    8698           ;;
    8699         *Intel*\ [CF]*Compiler*)
    8700           lt_prog_compiler_wl='-Wl,'
    8701           lt_prog_compiler_pic='-fPIC'
    8702           lt_prog_compiler_static='-static'
    8703           ;;
    8704         *Portland\ Group*)
    8705           lt_prog_compiler_wl='-Wl,'
    8706           lt_prog_compiler_pic='-fpic'
    8707           lt_prog_compiler_static='-Bstatic'
    8708           ;;
    8709         esac
    8710         ;;
    8711       esac
    8712       ;;
    8713 
    8714     newsos6)
    8715       lt_prog_compiler_pic='-KPIC'
    8716       lt_prog_compiler_static='-Bstatic'
    8717       ;;
    8718 
    8719     *nto* | *qnx*)
    8720       # QNX uses GNU C++, but need to define -shared option too, otherwise
    8721       # it will coredump.
    8722       lt_prog_compiler_pic='-fPIC -shared'
    8723       ;;
    8724 
    8725     osf3* | osf4* | osf5*)
    8726       lt_prog_compiler_wl='-Wl,'
    8727       # All OSF/1 code is PIC.
    8728       lt_prog_compiler_static='-non_shared'
    8729       ;;
    8730 
    8731     rdos*)
    8732       lt_prog_compiler_static='-non_shared'
    8733       ;;
    8734 
    8735     solaris*)
    8736       lt_prog_compiler_pic='-KPIC'
    8737       lt_prog_compiler_static='-Bstatic'
    8738       case $cc_basename in
    8739       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
    8740         lt_prog_compiler_wl='-Qoption ld ';;
    8741       *)
    8742         lt_prog_compiler_wl='-Wl,';;
    8743       esac
    8744       ;;
    8745 
    8746     sunos4*)
    8747       lt_prog_compiler_wl='-Qoption ld '
    8748       lt_prog_compiler_pic='-PIC'
    8749       lt_prog_compiler_static='-Bstatic'
    8750       ;;
    8751 
    8752     sysv4 | sysv4.2uw2* | sysv4.3*)
    8753       lt_prog_compiler_wl='-Wl,'
    8754       lt_prog_compiler_pic='-KPIC'
    8755       lt_prog_compiler_static='-Bstatic'
    8756       ;;
    8757 
    8758     sysv4*MP*)
    8759       if test -d /usr/nec; then
    8760         lt_prog_compiler_pic='-Kconform_pic'
    8761         lt_prog_compiler_static='-Bstatic'
    8762       fi
    8763       ;;
    8764 
    8765     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
    8766       lt_prog_compiler_wl='-Wl,'
    8767       lt_prog_compiler_pic='-KPIC'
    8768       lt_prog_compiler_static='-Bstatic'
    8769       ;;
    8770 
    8771     unicos*)
    8772       lt_prog_compiler_wl='-Wl,'
    8773       lt_prog_compiler_can_build_shared=no
    8774       ;;
    8775 
    8776     uts4*)
    8777       lt_prog_compiler_pic='-pic'
    8778       lt_prog_compiler_static='-Bstatic'
    8779       ;;
    8780 
    8781     *)
    8782       lt_prog_compiler_can_build_shared=no
    8783       ;;
    8784     esac
    8785   fi
    8786 
    8787 case $host_os in
    8788   # For platforms that do not support PIC, -DPIC is meaningless:
    8789   *djgpp*)
    8790     lt_prog_compiler_pic=
    8791     ;;
    8792   *)
    8793     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
    8794     ;;
    8795 esac
    8796 
    8797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
    8798 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
    8799 if ${lt_cv_prog_compiler_pic+:} false; then :
    8800   $as_echo_n "(cached) " >&6
    8801 else
    8802   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
    8803 fi
    8804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
    8805 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
    8806 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
    8807 
    8808 #
    8809 # Check to make sure the PIC flag actually works.
    8810 #
    8811 if test -n "$lt_prog_compiler_pic"; then
    8812   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
    8813 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
    8814 if ${lt_cv_prog_compiler_pic_works+:} false; then :
    8815   $as_echo_n "(cached) " >&6
    8816 else
    8817   lt_cv_prog_compiler_pic_works=no
    8818    ac_outfile=conftest.$ac_objext
    8819    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    8820    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
    8821    # Insert the option either (1) after the last *FLAGS variable, or
    8822    # (2) before a word containing "conftest.", or (3) at the end.
    8823    # Note that $ac_compile itself does not contain backslashes and begins
    8824    # with a dollar sign (not a hyphen), so the echo should work correctly.
    8825    # The option is referenced via a variable to avoid confusing sed.
    8826    lt_compile=`echo "$ac_compile" | $SED \
    8827    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    8828    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    8829    -e 's:$: $lt_compiler_flag:'`
    8830    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
    8831    (eval "$lt_compile" 2>conftest.err)
    8832    ac_status=$?
    8833    cat conftest.err >&5
    8834    echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8835    if (exit $ac_status) && test -s "$ac_outfile"; then
    8836      # The compiler can only warn and ignore the option if not recognized
    8837      # So say no if there are warnings other than the usual output.
    8838      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
    8839      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
    8840      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
    8841        lt_cv_prog_compiler_pic_works=yes
    8842      fi
    8843    fi
    8844    $RM conftest*
    8845 
    8846 fi
    8847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
    8848 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
    8849 
    8850 if test yes = "$lt_cv_prog_compiler_pic_works"; then
    8851     case $lt_prog_compiler_pic in
    8852      "" | " "*) ;;
    8853      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
    8854      esac
    8855 else
    8856     lt_prog_compiler_pic=
    8857      lt_prog_compiler_can_build_shared=no
    8858 fi
    8859 
    8860 fi
    8861 
    8862 
    8863 
    8864 
    8865 
    8866 
    8867 
    8868 
    8869 
    8870 
    8871 
    8872 #
    8873 # Check to make sure the static flag actually works.
    8874 #
    8875 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
    8876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
    8877 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
    8878 if ${lt_cv_prog_compiler_static_works+:} false; then :
    8879   $as_echo_n "(cached) " >&6
    8880 else
    8881   lt_cv_prog_compiler_static_works=no
    8882    save_LDFLAGS=$LDFLAGS
    8883    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
    8884    echo "$lt_simple_link_test_code" > conftest.$ac_ext
    8885    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
    8886      # The linker can only warn and ignore the option if not recognized
    8887      # So say no if there are warnings
    8888      if test -s conftest.err; then
    8889        # Append any errors to the config.log.
    8890        cat conftest.err 1>&5
    8891        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
    8892        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
    8893        if diff conftest.exp conftest.er2 >/dev/null; then
    8894          lt_cv_prog_compiler_static_works=yes
    8895        fi
    8896      else
    8897        lt_cv_prog_compiler_static_works=yes
    8898      fi
    8899    fi
    8900    $RM -r conftest*
    8901    LDFLAGS=$save_LDFLAGS
    8902 
    8903 fi
    8904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
    8905 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
    8906 
    8907 if test yes = "$lt_cv_prog_compiler_static_works"; then
    8908     :
    8909 else
    8910     lt_prog_compiler_static=
    8911 fi
    8912 
    8913 
    8914 
    8915 
    8916 
    8917 
    8918 
    8919   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
    8920 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
    8921 if ${lt_cv_prog_compiler_c_o+:} false; then :
    8922   $as_echo_n "(cached) " >&6
    8923 else
    8924   lt_cv_prog_compiler_c_o=no
    8925    $RM -r conftest 2>/dev/null
    8926    mkdir conftest
    8927    cd conftest
    8928    mkdir out
    8929    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    8930 
    8931    lt_compiler_flag="-o out/conftest2.$ac_objext"
    8932    # Insert the option either (1) after the last *FLAGS variable, or
    8933    # (2) before a word containing "conftest.", or (3) at the end.
    8934    # Note that $ac_compile itself does not contain backslashes and begins
    8935    # with a dollar sign (not a hyphen), so the echo should work correctly.
    8936    lt_compile=`echo "$ac_compile" | $SED \
    8937    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    8938    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    8939    -e 's:$: $lt_compiler_flag:'`
    8940    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
    8941    (eval "$lt_compile" 2>out/conftest.err)
    8942    ac_status=$?
    8943    cat out/conftest.err >&5
    8944    echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8945    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    8946    then
    8947      # The compiler can only warn and ignore the option if not recognized
    8948      # So say no if there are warnings
    8949      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
    8950      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
    8951      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
    8952        lt_cv_prog_compiler_c_o=yes
    8953      fi
    8954    fi
    8955    chmod u+w . 2>&5
    8956    $RM conftest*
    8957    # SGI C++ compiler will create directory out/ii_files/ for
    8958    # template instantiation
    8959    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
    8960    $RM out/* && rmdir out
    8961    cd ..
    8962    $RM -r conftest
    8963    $RM conftest*
    8964 
    8965 fi
    8966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
    8967 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
    8968 
    8969 
    8970 
    8971 
    8972 
    8973 
    8974   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
    8975 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
    8976 if ${lt_cv_prog_compiler_c_o+:} false; then :
    8977   $as_echo_n "(cached) " >&6
    8978 else
    8979   lt_cv_prog_compiler_c_o=no
    8980    $RM -r conftest 2>/dev/null
    8981    mkdir conftest
    8982    cd conftest
    8983    mkdir out
    8984    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    8985 
    8986    lt_compiler_flag="-o out/conftest2.$ac_objext"
    8987    # Insert the option either (1) after the last *FLAGS variable, or
    8988    # (2) before a word containing "conftest.", or (3) at the end.
    8989    # Note that $ac_compile itself does not contain backslashes and begins
    8990    # with a dollar sign (not a hyphen), so the echo should work correctly.
    8991    lt_compile=`echo "$ac_compile" | $SED \
    8992    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    8993    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    8994    -e 's:$: $lt_compiler_flag:'`
    8995    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
    8996    (eval "$lt_compile" 2>out/conftest.err)
    8997    ac_status=$?
    8998    cat out/conftest.err >&5
    8999    echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9000    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    9001    then
    9002      # The compiler can only warn and ignore the option if not recognized
    9003      # So say no if there are warnings
    9004      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
    9005      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
    9006      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
    9007        lt_cv_prog_compiler_c_o=yes
    9008      fi
    9009    fi
    9010    chmod u+w . 2>&5
    9011    $RM conftest*
    9012    # SGI C++ compiler will create directory out/ii_files/ for
    9013    # template instantiation
    9014    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
    9015    $RM out/* && rmdir out
    9016    cd ..
    9017    $RM -r conftest
    9018    $RM conftest*
    9019 
    9020 fi
    9021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
    9022 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
    9023 
    9024 
    9025 
    9026 
    9027 hard_links=nottested
    9028 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
    9029   # do not overwrite the value of need_locks provided by the user
    9030   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
    9031 $as_echo_n "checking if we can lock with hard links... " >&6; }
    9032   hard_links=yes
    9033   $RM conftest*
    9034   ln conftest.a conftest.b 2>/dev/null && hard_links=no
    9035   touch conftest.a
    9036   ln conftest.a conftest.b 2>&5 || hard_links=no
    9037   ln conftest.a conftest.b 2>/dev/null && hard_links=no
    9038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
    9039 $as_echo "$hard_links" >&6; }
    9040   if test no = "$hard_links"; then
    9041     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
    9042 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
    9043     need_locks=warn
    9044   fi
    9045 else
    9046   need_locks=no
    9047 fi
    9048 
    9049 
    9050 
    9051 
    9052 
    9053 
    9054   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
    9055 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
    9056 
    9057   runpath_var=
    9058   allow_undefined_flag=
    9059   always_export_symbols=no
    9060   archive_cmds=
    9061   archive_expsym_cmds=
    9062   compiler_needs_object=no
    9063   enable_shared_with_static_runtimes=no
    9064   export_dynamic_flag_spec=
    9065   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
    9066   hardcode_automatic=no
    9067   hardcode_direct=no
    9068   hardcode_direct_absolute=no
    9069   hardcode_libdir_flag_spec=
    9070   hardcode_libdir_separator=
    9071   hardcode_minus_L=no
    9072   hardcode_shlibpath_var=unsupported
    9073   inherit_rpath=no
    9074   link_all_deplibs=unknown
    9075   module_cmds=
    9076   module_expsym_cmds=
    9077   old_archive_from_new_cmds=
    9078   old_archive_from_expsyms_cmds=
    9079   thread_safe_flag_spec=
    9080   whole_archive_flag_spec=
    9081   # include_expsyms should be a list of space-separated symbols to be *always*
    9082   # included in the symbol list
    9083   include_expsyms=
    9084   # exclude_expsyms can be an extended regexp of symbols to exclude
    9085   # it will be wrapped by ' (' and ')$', so one must not match beginning or
    9086   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
    9087   # as well as any symbol that contains 'd'.
    9088   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
    9089   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
    9090   # platforms (ab)use it in PIC code, but their linkers get confused if
    9091   # the symbol is explicitly referenced.  Since portable code cannot
    9092   # rely on this symbol name, it's probably fine to never include it in
    9093   # preloaded symbol tables.
    9094   # Exclude shared library initialization/finalization symbols.
    9095   extract_expsyms_cmds=
    9096 
    9097   case $host_os in
    9098   cygwin* | mingw* | pw32* | cegcc*)
    9099     # FIXME: the MSVC++ port hasn't been tested in a loooong time
    9100     # When not using gcc, we currently assume that we are using
    9101     # Microsoft Visual C++.
    9102     if test yes != "$GCC"; then
    9103       with_gnu_ld=no
    9104     fi
    9105     ;;
    9106   interix*)
    9107     # we just hope/assume this is gcc and not c89 (= MSVC++)
    9108     with_gnu_ld=yes
    9109     ;;
    9110   openbsd* | bitrig*)
    9111     with_gnu_ld=no
    9112     ;;
    9113   linux* | k*bsd*-gnu | gnu*)
    9114     link_all_deplibs=no
    9115     ;;
    9116   esac
    9117 
    9118   ld_shlibs=yes
    9119 
    9120   # On some targets, GNU ld is compatible enough with the native linker
    9121   # that we're better off using the native interface for both.
    9122   lt_use_gnu_ld_interface=no
    9123   if test yes = "$with_gnu_ld"; then
    9124     case $host_os in
    9125       aix*)
    9126         # The AIX port of GNU ld has always aspired to compatibility
    9127         # with the native linker.  However, as the warning in the GNU ld
    9128         # block says, versions before 2.19.5* couldn't really create working
    9129         # shared libraries, regardless of the interface used.
    9130         case `$LD -v 2>&1` in
    9131           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
    9132           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
    9133           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
    9134           *)
    9135             lt_use_gnu_ld_interface=yes
    9136             ;;
    9137         esac
    9138         ;;
    9139       *)
    9140         lt_use_gnu_ld_interface=yes
    9141         ;;
    9142     esac
    9143   fi
    9144 
    9145   if test yes = "$lt_use_gnu_ld_interface"; then
    9146     # If archive_cmds runs LD, not CC, wlarc should be empty
    9147     wlarc='$wl'
    9148 
    9149     # Set some defaults for GNU ld with shared library support. These
    9150     # are reset later if shared libraries are not supported. Putting them
    9151     # here allows them to be overridden if necessary.
    9152     runpath_var=LD_RUN_PATH
    9153     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
    9154     export_dynamic_flag_spec='$wl--export-dynamic'
    9155     # ancient GNU ld didn't support --whole-archive et. al.
    9156     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
    9157       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
    9158     else
    9159       whole_archive_flag_spec=
    9160     fi
    9161     supports_anon_versioning=no
    9162     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
    9163       *GNU\ gold*) supports_anon_versioning=yes ;;
    9164       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
    9165       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
    9166       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
    9167       *\ 2.11.*) ;; # other 2.11 versions
    9168       *) supports_anon_versioning=yes ;;
    9169     esac
    9170 
    9171     # See if GNU ld supports shared libraries.
    9172     case $host_os in
    9173     aix[3-9]*)
    9174       # On AIX/PPC, the GNU linker is very broken
    9175       if test ia64 != "$host_cpu"; then
    9176         ld_shlibs=no
    9177         cat <<_LT_EOF 1>&2
    9178 
    9179 *** Warning: the GNU linker, at least up to release 2.19, is reported
    9180 *** to be unable to reliably create shared libraries on AIX.
    9181 *** Therefore, libtool is disabling shared libraries support.  If you
    9182 *** really care for shared libraries, you may want to install binutils
    9183 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
    9184 *** You will then need to restart the configuration process.
    9185 
    9186 _LT_EOF
    9187       fi
    9188       ;;
    9189 
    9190     amigaos*)
    9191       case $host_cpu in
    9192       powerpc)
    9193             # see comment about AmigaOS4 .so support
    9194             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    9195             archive_expsym_cmds=''
    9196         ;;
    9197       m68k)
    9198             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)'
    9199             hardcode_libdir_flag_spec='-L$libdir'
    9200             hardcode_minus_L=yes
    9201         ;;
    9202       esac
    9203       ;;
    9204 
    9205     beos*)
    9206       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
    9207         allow_undefined_flag=unsupported
    9208         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
    9209         # support --undefined.  This deserves some investigation.  FIXME
    9210         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    9211       else
    9212         ld_shlibs=no
    9213       fi
    9214       ;;
    9215 
    9216     cygwin* | mingw* | pw32* | cegcc*)
    9217       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
    9218       # as there is no search path for DLLs.
    9219       hardcode_libdir_flag_spec='-L$libdir'
    9220       export_dynamic_flag_spec='$wl--export-all-symbols'
    9221       allow_undefined_flag=unsupported
    9222       always_export_symbols=no
    9223       enable_shared_with_static_runtimes=yes
    9224       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'
    9225       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
    9226 
    9227       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
    9228         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
    9229         # If the export-symbols file already is a .def file, use it as
    9230         # is; otherwise, prepend EXPORTS...
    9231         archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
    9232           cp $export_symbols $output_objdir/$soname.def;
    9233         else
    9234           echo EXPORTS > $output_objdir/$soname.def;
    9235           cat $export_symbols >> $output_objdir/$soname.def;
    9236         fi~
    9237         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
    9238       else
    9239         ld_shlibs=no
    9240       fi
    9241       ;;
    9242 
    9243     haiku*)
    9244       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    9245       link_all_deplibs=yes
    9246       ;;
    9247 
    9248     os2*)
    9249       hardcode_libdir_flag_spec='-L$libdir'
    9250       hardcode_minus_L=yes
    9251       allow_undefined_flag=unsupported
    9252       shrext_cmds=.dll
    9253       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
    9254         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
    9255         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
    9256         $ECHO EXPORTS >> $output_objdir/$libname.def~
    9257         emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
    9258         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
    9259         emximp -o $lib $output_objdir/$libname.def'
    9260       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
    9261         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
    9262         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
    9263         $ECHO EXPORTS >> $output_objdir/$libname.def~
    9264         prefix_cmds="$SED"~
    9265         if test EXPORTS = "`$SED 1q $export_symbols`"; then
    9266           prefix_cmds="$prefix_cmds -e 1d";
    9267         fi~
    9268         prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
    9269         cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
    9270         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
    9271         emximp -o $lib $output_objdir/$libname.def'
    9272       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
    9273       enable_shared_with_static_runtimes=yes
    9274       ;;
    9275 
    9276     interix[3-9]*)
    9277       hardcode_direct=no
    9278       hardcode_shlibpath_var=no
    9279       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
    9280       export_dynamic_flag_spec='$wl-E'
    9281       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
    9282       # Instead, shared libraries are loaded at an image base (0x10000000 by
    9283       # default) and relocated if they conflict, which is a slow very memory
    9284       # consuming and fragmenting process.  To avoid this, we pick a random,
    9285       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
    9286       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
    9287       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
    9288       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'
    9289       ;;
    9290 
    9291     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
    9292       tmp_diet=no
    9293       if test linux-dietlibc = "$host_os"; then
    9294         case $cc_basename in
    9295           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
    9296         esac
    9297       fi
    9298       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
    9299          && test no = "$tmp_diet"
    9300       then
    9301         tmp_addflag=' $pic_flag'
    9302         tmp_sharedflag='-shared'
    9303         case $cc_basename,$host_cpu in
    9304         pgcc*)                          # Portland Group C compiler
    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           tmp_addflag=' $pic_flag'
    9307           ;;
    9308         pgf77* | pgf90* | pgf95* | pgfortran*)
    9309                                         # Portland Group f77 and f90 compilers
    9310           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'
    9311           tmp_addflag=' $pic_flag -Mnomain' ;;
    9312         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
    9313           tmp_addflag=' -i_dynamic' ;;
    9314         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
    9315           tmp_addflag=' -i_dynamic -nofor_main' ;;
    9316         ifc* | ifort*)                  # Intel Fortran compiler
    9317           tmp_addflag=' -nofor_main' ;;
    9318         lf95*)                          # Lahey Fortran 8.1
    9319           whole_archive_flag_spec=
    9320           tmp_sharedflag='--shared' ;;
    9321         nagfor*)                        # NAGFOR 5.3
    9322           tmp_sharedflag='-Wl,-shared' ;;
    9323         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
    9324           tmp_sharedflag='-qmkshrobj'
    9325           tmp_addflag= ;;
    9326         nvcc*)  # Cuda Compiler Driver 2.2
    9327           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'
    9328           compiler_needs_object=yes
    9329           ;;
    9330         esac
    9331         case `$CC -V 2>&1 | sed 5q` in
    9332         *Sun\ C*)                       # Sun C 5.9
    9333           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'
    9334           compiler_needs_object=yes
    9335           tmp_sharedflag='-G' ;;
    9336         *Sun\ F*)                       # Sun Fortran 8.3
    9337           tmp_sharedflag='-G' ;;
    9338         esac
    9339         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    9340 
    9341         if test yes = "$supports_anon_versioning"; then
    9342           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
    9343             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    9344             echo "local: *; };" >> $output_objdir/$libname.ver~
    9345             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
    9346         fi
    9347 
    9348         case $cc_basename in
    9349         tcc*)
    9350           export_dynamic_flag_spec='-rdynamic'
    9351           ;;
    9352         xlf* | bgf* | bgxlf* | mpixlf*)
    9353           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
    9354           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
    9355           hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
    9356           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
    9357           if test yes = "$supports_anon_versioning"; then
    9358             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
    9359               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    9360               echo "local: *; };" >> $output_objdir/$libname.ver~
    9361               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
    9362           fi
    9363           ;;
    9364         esac
    9365       else
    9366         ld_shlibs=no
    9367       fi
    9368       ;;
    9369 
    9370     netbsd* | netbsdelf*-gnu)
    9371       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
    9372         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
    9373         wlarc=
    9374       else
    9375         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    9376         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
    9377       fi
    9378       ;;
    9379 
    9380     solaris*)
    9381       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
    9382         ld_shlibs=no
    9383         cat <<_LT_EOF 1>&2
    9384 
    9385 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
    9386 *** create shared libraries on Solaris systems.  Therefore, libtool
    9387 *** is disabling shared libraries support.  We urge you to upgrade GNU
    9388 *** binutils to release 2.9.1 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       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
    9394         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    9395         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
    9396       else
    9397         ld_shlibs=no
    9398       fi
    9399       ;;
    9400 
    9401     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
    9402       case `$LD -v 2>&1` in
    9403         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
    9404         ld_shlibs=no
    9405         cat <<_LT_EOF 1>&2
    9406 
    9407 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
    9408 *** reliably create shared libraries on SCO systems.  Therefore, libtool
    9409 *** is disabling shared libraries support.  We urge you to upgrade GNU
    9410 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
    9411 *** your PATH or compiler configuration so that the native linker is
    9412 *** used, and then restart.
    9413 
    9414 _LT_EOF
    9415         ;;
    9416         *)
    9417           # For security reasons, it is highly recommended that you always
    9418           # use absolute paths for naming shared libraries, and exclude the
    9419           # DT_RUNPATH tag from executables and libraries.  But doing so
    9420           # requires that you compile everything twice, which is a pain.
    9421           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
    9422             hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
    9423             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    9424             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
    9425           else
    9426             ld_shlibs=no
    9427           fi
    9428         ;;
    9429       esac
    9430       ;;
    9431 
    9432     sunos4*)
    9433       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
    9434       wlarc=
    9435       hardcode_direct=yes
    9436       hardcode_shlibpath_var=no
    9437       ;;
    9438 
    9439     *)
    9440       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
    9441         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    9442         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
    9443       else
    9444         ld_shlibs=no
    9445       fi
    9446       ;;
    9447     esac
    9448 
    9449     if test no = "$ld_shlibs"; then
    9450       runpath_var=
    9451       hardcode_libdir_flag_spec=
    9452       export_dynamic_flag_spec=
    9453       whole_archive_flag_spec=
    9454     fi
    9455   else
    9456     # PORTME fill in a description of your system's linker (not GNU ld)
    9457     case $host_os in
    9458     aix3*)
    9459       allow_undefined_flag=unsupported
    9460       always_export_symbols=yes
    9461       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'
    9462       # Note: this linker hardcodes the directories in LIBPATH if there
    9463       # are no directories specified by -L.
    9464       hardcode_minus_L=yes
    9465       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
    9466         # Neither direct hardcoding nor static linking is supported with a
    9467         # broken collect2.
    9468         hardcode_direct=unsupported
    9469       fi
    9470       ;;
    9471 
    9472     aix[4-9]*)
    9473       if test ia64 = "$host_cpu"; then
    9474         # On IA64, the linker does run time linking by default, so we don't
    9475         # have to do anything special.
    9476         aix_use_runtimelinking=no
    9477         exp_sym_flag='-Bexport'
    9478         no_entry_flag=
    9479       else
    9480         # If we're using GNU nm, then we don't want the "-C" option.
    9481         # -C means demangle to GNU nm, but means don't demangle to AIX nm.
    9482         # Without the "-l" option, or with the "-B" option, AIX nm treats
    9483         # weak defined symbols like other global defined symbols, whereas
    9484         # GNU nm marks them as "W".
    9485         # While the 'weak' keyword is ignored in the Export File, we need
    9486         # it in the Import File for the 'aix-soname' feature, so we have
    9487         # to replace the "-B" option with "-P" for AIX nm.
    9488         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
    9489           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'
    9490         else
    9491           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'
    9492         fi
    9493         aix_use_runtimelinking=no
    9494 
    9495         # Test if we are trying to use run time linking or normal
    9496         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
    9497         # have runtime linking enabled, and use it for executables.
    9498         # For shared libraries, we enable/disable runtime linking
    9499         # depending on the kind of the shared library created -
    9500         # when "with_aix_soname,aix_use_runtimelinking" is:
    9501         # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
    9502         # "aix,yes"  lib.so          shared, rtl:yes, for executables
    9503         #            lib.a           static archive
    9504         # "both,no"  lib.so.V(shr.o) shared, rtl:yes
    9505         #            lib.a(lib.so.V) shared, rtl:no,  for executables
    9506         # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
    9507         #            lib.a(lib.so.V) shared, rtl:no
    9508         # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
    9509         #            lib.a           static archive
    9510         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
    9511           for ld_flag in $LDFLAGS; do
    9512           if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
    9513             aix_use_runtimelinking=yes
    9514             break
    9515           fi
    9516           done
    9517           if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
    9518             # With aix-soname=svr4, we create the lib.so.V shared archives only,
    9519             # so we don't have lib.a shared libs to link our executables.
    9520             # We have to force runtime linking in this case.
    9521             aix_use_runtimelinking=yes
    9522             LDFLAGS="$LDFLAGS -Wl,-brtl"
    9523           fi
    9524           ;;
    9525         esac
    9526 
    9527         exp_sym_flag='-bexport'
    9528         no_entry_flag='-bnoentry'
    9529       fi
    9530 
    9531       # When large executables or shared objects are built, AIX ld can
    9532       # have problems creating the table of contents.  If linking a library
    9533       # or program results in "error TOC overflow" add -mminimal-toc to
    9534       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
    9535       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
    9536 
    9537       archive_cmds=''
    9538       hardcode_direct=yes
    9539       hardcode_direct_absolute=yes
    9540       hardcode_libdir_separator=':'
    9541       link_all_deplibs=yes
    9542       file_list_spec='$wl-f,'
    9543       case $with_aix_soname,$aix_use_runtimelinking in
    9544       aix,*) ;; # traditional, no import file
    9545       svr4,* | *,yes) # use import file
    9546         # The Import File defines what to hardcode.
    9547         hardcode_direct=no
    9548         hardcode_direct_absolute=no
    9549         ;;
    9550       esac
    9551 
    9552       if test yes = "$GCC"; then
    9553         case $host_os in aix4.[012]|aix4.[012].*)
    9554         # We only want to do this on AIX 4.2 and lower, the check
    9555         # below for broken collect2 doesn't work under 4.3+
    9556           collect2name=`$CC -print-prog-name=collect2`
    9557           if test -f "$collect2name" &&
    9558            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
    9559           then
    9560           # We have reworked collect2
    9561           :
    9562           else
    9563           # We have old collect2
    9564           hardcode_direct=unsupported
    9565           # It fails to find uninstalled libraries when the uninstalled
    9566           # path is not listed in the libpath.  Setting hardcode_minus_L
    9567           # to unsupported forces relinking
    9568           hardcode_minus_L=yes
    9569           hardcode_libdir_flag_spec='-L$libdir'
    9570           hardcode_libdir_separator=
    9571           fi
    9572           ;;
    9573         esac
    9574         shared_flag='-shared'
    9575         if test yes = "$aix_use_runtimelinking"; then
    9576           shared_flag="$shared_flag "'$wl-G'
    9577         fi
    9578         # Need to ensure runtime linking is disabled for the traditional
    9579         # shared library, or the linker may eventually find shared libraries
    9580         # /with/ Import File - we do not want to mix them.
    9581         shared_flag_aix='-shared'
    9582         shared_flag_svr4='-shared $wl-G'
    9583       else
    9584         # not using gcc
    9585         if test ia64 = "$host_cpu"; then
    9586         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
    9587         # chokes on -Wl,-G. The following line is correct:
    9588           shared_flag='-G'
    9589         else
    9590           if test yes = "$aix_use_runtimelinking"; then
    9591             shared_flag='$wl-G'
    9592           else
    9593             shared_flag='$wl-bM:SRE'
    9594           fi
    9595           shared_flag_aix='$wl-bM:SRE'
    9596           shared_flag_svr4='$wl-G'
    9597         fi
    9598       fi
    9599 
    9600       export_dynamic_flag_spec='$wl-bexpall'
    9601       # It seems that -bexpall does not export symbols beginning with
    9602       # underscore (_), so it is better to generate a list of symbols to export.
    9603       always_export_symbols=yes
    9604       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
    9605         # Warning - without using the other runtime loading flags (-brtl),
    9606         # -berok will link without error, but may produce a broken library.
    9607         allow_undefined_flag='-berok'
    9608         # Determine the default libpath from the value encoded in an
    9609         # empty executable.
    9610         if test set = "${lt_cv_aix_libpath+set}"; then
    9611   aix_libpath=$lt_cv_aix_libpath
    9612 else
    9613   if ${lt_cv_aix_libpath_+:} false; then :
    9614   $as_echo_n "(cached) " >&6
    9615 else
    9616   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    9617 /* end confdefs.h.  */
    9618 
    9619 int
    9620 main ()
    9621 {
    9622 
    9623   ;
    9624   return 0;
    9625 }
    9626 _ACEOF
    9627 if ac_fn_c_try_link "$LINENO"; then :
    9628 
    9629   lt_aix_libpath_sed='
    9630       /Import File Strings/,/^$/ {
    9631           /^0/ {
    9632               s/^0  *\([^ ]*\) *$/\1/
    9633               p
    9634           }
    9635       }'
    9636   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
    9637   # Check for a 64-bit object if we didn't find anything.
    9638   if test -z "$lt_cv_aix_libpath_"; then
    9639     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
    9640   fi
    9641 fi
    9642 rm -f core conftest.err conftest.$ac_objext \
    9643     conftest$ac_exeext conftest.$ac_ext
    9644   if test -z "$lt_cv_aix_libpath_"; then
    9645     lt_cv_aix_libpath_=/usr/lib:/lib
    9646   fi
    9647 
    9648 fi
    9649 
    9650   aix_libpath=$lt_cv_aix_libpath_
    9651 fi
    9652 
    9653         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
    9654         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
    9655       else
    9656         if test ia64 = "$host_cpu"; then
    9657           hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
    9658           allow_undefined_flag="-z nodefs"
    9659           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"
    9660         else
    9661          # Determine the default libpath from the value encoded in an
    9662          # empty executable.
    9663          if test set = "${lt_cv_aix_libpath+set}"; then
    9664   aix_libpath=$lt_cv_aix_libpath
    9665 else
    9666   if ${lt_cv_aix_libpath_+:} false; then :
    9667   $as_echo_n "(cached) " >&6
    9668 else
    9669   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    9670 /* end confdefs.h.  */
    9671 
    9672 int
    9673 main ()
    9674 {
    9675 
    9676   ;
    9677   return 0;
    9678 }
    9679 _ACEOF
    9680 if ac_fn_c_try_link "$LINENO"; then :
    9681 
    9682   lt_aix_libpath_sed='
    9683       /Import File Strings/,/^$/ {
    9684           /^0/ {
    9685               s/^0  *\([^ ]*\) *$/\1/
    9686               p
    9687           }
    9688       }'
    9689   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
    9690   # Check for a 64-bit object if we didn't find anything.
    9691   if test -z "$lt_cv_aix_libpath_"; then
    9692     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
    9693   fi
    9694 fi
    9695 rm -f core conftest.err conftest.$ac_objext \
    9696     conftest$ac_exeext conftest.$ac_ext
    9697   if test -z "$lt_cv_aix_libpath_"; then
    9698     lt_cv_aix_libpath_=/usr/lib:/lib
    9699   fi
    9700 
    9701 fi
    9702 
    9703   aix_libpath=$lt_cv_aix_libpath_
    9704 fi
    9705 
    9706          hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
    9707           # Warning - without using the other run time loading flags,
    9708           # -berok will link without error, but may produce a broken library.
    9709           no_undefined_flag=' $wl-bernotok'
    9710           allow_undefined_flag=' $wl-berok'
    9711           if test yes = "$with_gnu_ld"; then
    9712             # We only use this code for GNU lds that support --whole-archive.
    9713             whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
    9714           else
    9715             # Exported symbols can be pulled into shared objects from archives
    9716             whole_archive_flag_spec='$convenience'
    9717           fi
    9718           archive_cmds_need_lc=yes
    9719           archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
    9720           # -brtl affects multiple linker settings, -berok does not and is overridden later
    9721           compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
    9722           if test svr4 != "$with_aix_soname"; then
    9723             # This is similar to how AIX traditionally builds its shared libraries.
    9724             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'
    9725           fi
    9726           if test aix != "$with_aix_soname"; then
    9727             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'
    9728           else
    9729             # used by -dlpreopen to get the symbols
    9730             archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
    9731           fi
    9732           archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
    9733         fi
    9734       fi
    9735       ;;
    9736 
    9737     amigaos*)
    9738       case $host_cpu in
    9739       powerpc)
    9740             # see comment about AmigaOS4 .so support
    9741             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    9742             archive_expsym_cmds=''
    9743         ;;
    9744       m68k)
    9745             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)'
    9746             hardcode_libdir_flag_spec='-L$libdir'
    9747             hardcode_minus_L=yes
    9748         ;;
    9749       esac
    9750       ;;
    9751 
    9752     bsdi[45]*)
    9753       export_dynamic_flag_spec=-rdynamic
    9754       ;;
    9755 
    9756     cygwin* | mingw* | pw32* | cegcc*)
    9757       # When not using gcc, we currently assume that we are using
    9758       # Microsoft Visual C++.
    9759       # hardcode_libdir_flag_spec is actually meaningless, as there is
    9760       # no search path for DLLs.
    9761       case $cc_basename in
    9762       cl*)
    9763         # Native MSVC
    9764         hardcode_libdir_flag_spec=' '
    9765         allow_undefined_flag=unsupported
    9766         always_export_symbols=yes
    9767         file_list_spec='@'
    9768         # Tell ltmain to make .lib files, not .a files.
    9769         libext=lib
    9770         # Tell ltmain to make .dll files, not .so files.
    9771         shrext_cmds=.dll
    9772         # FIXME: Setting linknames here is a bad hack.
    9773         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
    9774         archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
    9775             cp "$export_symbols" "$output_objdir/$soname.def";
    9776             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
    9777           else
    9778             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
    9779           fi~
    9780           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
    9781           linknames='
    9782         # The linker will not automatically build a static lib if we build a DLL.
    9783         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
    9784         enable_shared_with_static_runtimes=yes
    9785         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
    9786         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
    9787         # Don't use ranlib
    9788         old_postinstall_cmds='chmod 644 $oldlib'
    9789         postlink_cmds='lt_outputfile="@OUTPUT@"~
    9790           lt_tool_outputfile="@TOOL_OUTPUT@"~
    9791           case $lt_outputfile in
    9792             *.exe|*.EXE) ;;
    9793             *)
    9794               lt_outputfile=$lt_outputfile.exe
    9795               lt_tool_outputfile=$lt_tool_outputfile.exe
    9796               ;;
    9797           esac~
    9798           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
    9799             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
    9800             $RM "$lt_outputfile.manifest";
    9801           fi'
    9802         ;;
    9803       *)
    9804         # Assume MSVC wrapper
    9805         hardcode_libdir_flag_spec=' '
    9806         allow_undefined_flag=unsupported
    9807         # Tell ltmain to make .lib files, not .a files.
    9808         libext=lib
    9809         # Tell ltmain to make .dll files, not .so files.
    9810         shrext_cmds=.dll
    9811         # FIXME: Setting linknames here is a bad hack.
    9812         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
    9813         # The linker will automatically build a .lib file if we build a DLL.
    9814         old_archive_from_new_cmds='true'
    9815         # FIXME: Should let the user specify the lib program.
    9816         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
    9817         enable_shared_with_static_runtimes=yes
    9818         ;;
    9819       esac
    9820       ;;
    9821 
    9822     darwin* | rhapsody*)
    9823 
    9824 
    9825   archive_cmds_need_lc=no
    9826   hardcode_direct=no
    9827   hardcode_automatic=yes
    9828   hardcode_shlibpath_var=unsupported
    9829   if test yes = "$lt_cv_ld_force_load"; then
    9830     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\"`'
    9831 
    9832   else
    9833     whole_archive_flag_spec=''
    9834   fi
    9835   link_all_deplibs=yes
    9836   allow_undefined_flag=$_lt_dar_allow_undefined
    9837   case $cc_basename in
    9838      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
    9839      *) _lt_dar_can_shared=$GCC ;;
    9840   esac
    9841   if test yes = "$_lt_dar_can_shared"; then
    9842     output_verbose_link_cmd=func_echo_all
    9843     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
    9844     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
    9845     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"
    9846     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"
    9847 
    9848   else
    9849   ld_shlibs=no
    9850   fi
    9851 
    9852       ;;
    9853 
    9854     dgux*)
    9855       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    9856       hardcode_libdir_flag_spec='-L$libdir'
    9857       hardcode_shlibpath_var=no
    9858       ;;
    9859 
    9860     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
    9861     # support.  Future versions do this automatically, but an explicit c++rt0.o
    9862     # does not break anything, and helps significantly (at the cost of a little
    9863     # extra space).
    9864     freebsd2.2*)
    9865       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
    9866       hardcode_libdir_flag_spec='-R$libdir'
    9867       hardcode_direct=yes
    9868       hardcode_shlibpath_var=no
    9869       ;;
    9870 
    9871     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
    9872     freebsd2.*)
    9873       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
    9874       hardcode_direct=yes
    9875       hardcode_minus_L=yes
    9876       hardcode_shlibpath_var=no
    9877       ;;
    9878 
    9879     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
    9880     freebsd* | dragonfly*)
    9881       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    9882       hardcode_libdir_flag_spec='-R$libdir'
    9883       hardcode_direct=yes
    9884       hardcode_shlibpath_var=no
    9885       ;;
    9886 
    9887     hpux9*)
    9888       if test yes = "$GCC"; then
    9889         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'
    9890       else
    9891         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'
    9892       fi
    9893       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
    9894       hardcode_libdir_separator=:
    9895       hardcode_direct=yes
    9896 
    9897       # hardcode_minus_L: Not really in the search PATH,
    9898       # but as the default location of the library.
    9899       hardcode_minus_L=yes
    9900       export_dynamic_flag_spec='$wl-E'
    9901       ;;
    9902 
    9903     hpux10*)
    9904       if test yes,no = "$GCC,$with_gnu_ld"; then
    9905         archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
    9906       else
    9907         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
    9908       fi
    9909       if test no = "$with_gnu_ld"; then
    9910         hardcode_libdir_flag_spec='$wl+b $wl$libdir'
    9911         hardcode_libdir_separator=:
    9912         hardcode_direct=yes
    9913         hardcode_direct_absolute=yes
    9914         export_dynamic_flag_spec='$wl-E'
    9915         # hardcode_minus_L: Not really in the search PATH,
    9916         # but as the default location of the library.
    9917         hardcode_minus_L=yes
    9918       fi
    9919       ;;
    9920 
    9921     hpux11*)
    9922       if test yes,no = "$GCC,$with_gnu_ld"; then
    9923         case $host_cpu in
    9924         hppa*64*)
    9925           archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
    9926           ;;
    9927         ia64*)
    9928           archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
    9929           ;;
    9930         *)
    9931           archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
    9932           ;;
    9933         esac
    9934       else
    9935         case $host_cpu in
    9936         hppa*64*)
    9937           archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
    9938           ;;
    9939         ia64*)
    9940           archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
    9941           ;;
    9942         *)
    9943 
    9944           # Older versions of the 11.00 compiler do not understand -b yet
    9945           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
    9946           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
    9947 $as_echo_n "checking if $CC understands -b... " >&6; }
    9948 if ${lt_cv_prog_compiler__b+:} false; then :
    9949   $as_echo_n "(cached) " >&6
    9950 else
    9951   lt_cv_prog_compiler__b=no
    9952    save_LDFLAGS=$LDFLAGS
    9953    LDFLAGS="$LDFLAGS -b"
    9954    echo "$lt_simple_link_test_code" > conftest.$ac_ext
    9955    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
    9956      # The linker can only warn and ignore the option if not recognized
    9957      # So say no if there are warnings
    9958      if test -s conftest.err; then
    9959        # Append any errors to the config.log.
    9960        cat conftest.err 1>&5
    9961        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
    9962        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
    9963        if diff conftest.exp conftest.er2 >/dev/null; then
    9964          lt_cv_prog_compiler__b=yes
    9965        fi
    9966      else
    9967        lt_cv_prog_compiler__b=yes
    9968      fi
    9969    fi
    9970    $RM -r conftest*
    9971    LDFLAGS=$save_LDFLAGS
    9972 
    9973 fi
    9974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
    9975 $as_echo "$lt_cv_prog_compiler__b" >&6; }
    9976 
    9977 if test yes = "$lt_cv_prog_compiler__b"; then
    9978     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
    9979 else
    9980     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
    9981 fi
    9982 
    9983           ;;
    9984         esac
    9985       fi
    9986       if test no = "$with_gnu_ld"; then
    9987         hardcode_libdir_flag_spec='$wl+b $wl$libdir'
    9988         hardcode_libdir_separator=:
    9989 
    9990         case $host_cpu in
    9991         hppa*64*|ia64*)
    9992           hardcode_direct=no
    9993           hardcode_shlibpath_var=no
    9994           ;;
    9995         *)
    9996           hardcode_direct=yes
    9997           hardcode_direct_absolute=yes
    9998           export_dynamic_flag_spec='$wl-E'
    9999 
    10000           # hardcode_minus_L: Not really in the search PATH,
    10001           # but as the default location of the library.
    10002           hardcode_minus_L=yes
    10003           ;;
    10004         esac
    10005       fi
    10006       ;;
    10007 
    10008     irix5* | irix6* | nonstopux*)
    10009       if test yes = "$GCC"; then
    10010         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'
    10011         # Try to use the -exported_symbol ld option, if it does not
    10012         # work, assume that -exports_file does not work either and
    10013         # implicitly export all symbols.
    10014         # This should be the same for all languages, so no per-tag cache variable.
    10015         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
    10016 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
    10017 if ${lt_cv_irix_exported_symbol+:} false; then :
    10018   $as_echo_n "(cached) " >&6
    10019 else
    10020   save_LDFLAGS=$LDFLAGS
    10021            LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
    10022            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    10023 /* end confdefs.h.  */
    10024 int foo (void) { return 0; }
    10025 _ACEOF
    10026 if ac_fn_c_try_link "$LINENO"; then :
    10027   lt_cv_irix_exported_symbol=yes
    10028 else
    10029   lt_cv_irix_exported_symbol=no
    10030 fi
    10031 rm -f core conftest.err conftest.$ac_objext \
    10032     conftest$ac_exeext conftest.$ac_ext
    10033            LDFLAGS=$save_LDFLAGS
    10034 fi
    10035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
    10036 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
    10037         if test yes = "$lt_cv_irix_exported_symbol"; then
    10038           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'
    10039         fi
    10040         link_all_deplibs=no
    10041       else
    10042         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'
    10043         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'
    10044       fi
    10045       archive_cmds_need_lc='no'
    10046       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
    10047       hardcode_libdir_separator=:
    10048       inherit_rpath=yes
    10049       link_all_deplibs=yes
    10050       ;;
    10051 
    10052     linux*)
    10053       case $cc_basename in
    10054       tcc*)
    10055         # Fabrice Bellard et al's Tiny C Compiler
    10056         ld_shlibs=yes
    10057         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    10058         ;;
    10059       esac
    10060       ;;
    10061 
    10062     netbsd* | netbsdelf*-gnu)
    10063       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
    10064         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
    10065       else
    10066         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
    10067       fi
    10068       hardcode_libdir_flag_spec='-R$libdir'
    10069       hardcode_direct=yes
    10070       hardcode_shlibpath_var=no
    10071       ;;
    10072 
    10073     newsos6)
    10074       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    10075       hardcode_direct=yes
    10076       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
    10077       hardcode_libdir_separator=:
    10078       hardcode_shlibpath_var=no
    10079       ;;
    10080 
    10081     *nto* | *qnx*)
    10082       ;;
    10083 
    10084     openbsd* | bitrig*)
    10085       if test -f /usr/libexec/ld.so; then
    10086         hardcode_direct=yes
    10087         hardcode_shlibpath_var=no
    10088         hardcode_direct_absolute=yes
    10089         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
    10090           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    10091           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
    10092           hardcode_libdir_flag_spec='$wl-rpath,$libdir'
    10093           export_dynamic_flag_spec='$wl-E'
    10094         else
    10095           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    10096           hardcode_libdir_flag_spec='$wl-rpath,$libdir'
    10097         fi
    10098       else
    10099         ld_shlibs=no
    10100       fi
    10101       ;;
    10102 
    10103     os2*)
    10104       hardcode_libdir_flag_spec='-L$libdir'
    10105       hardcode_minus_L=yes
    10106       allow_undefined_flag=unsupported
    10107       shrext_cmds=.dll
    10108       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
    10109         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
    10110         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
    10111         $ECHO EXPORTS >> $output_objdir/$libname.def~
    10112         emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
    10113         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
    10114         emximp -o $lib $output_objdir/$libname.def'
    10115       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
    10116         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
    10117         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
    10118         $ECHO EXPORTS >> $output_objdir/$libname.def~
    10119         prefix_cmds="$SED"~
    10120         if test EXPORTS = "`$SED 1q $export_symbols`"; then
    10121           prefix_cmds="$prefix_cmds -e 1d";
    10122         fi~
    10123         prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
    10124         cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
    10125         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
    10126         emximp -o $lib $output_objdir/$libname.def'
    10127       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
    10128       enable_shared_with_static_runtimes=yes
    10129       ;;
    10130 
    10131     osf3*)
    10132       if test yes = "$GCC"; then
    10133         allow_undefined_flag=' $wl-expect_unresolved $wl\*'
    10134         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'
    10135       else
    10136         allow_undefined_flag=' -expect_unresolved \*'
    10137         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'
    10138       fi
    10139       archive_cmds_need_lc='no'
    10140       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
    10141       hardcode_libdir_separator=:
    10142       ;;
    10143 
    10144     osf4* | osf5*)      # as osf3* with the addition of -msym flag
    10145       if test yes = "$GCC"; then
    10146         allow_undefined_flag=' $wl-expect_unresolved $wl\*'
    10147         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'
    10148         hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
    10149       else
    10150         allow_undefined_flag=' -expect_unresolved \*'
    10151         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'
    10152         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~
    10153           $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'
    10154 
    10155         # Both c and cxx compiler support -rpath directly
    10156         hardcode_libdir_flag_spec='-rpath $libdir'
    10157       fi
    10158       archive_cmds_need_lc='no'
    10159       hardcode_libdir_separator=:
    10160       ;;
    10161 
    10162     solaris*)
    10163       no_undefined_flag=' -z defs'
    10164       if test yes = "$GCC"; then
    10165         wlarc='$wl'
    10166         archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
    10167         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    10168           $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'
    10169       else
    10170         case `$CC -V 2>&1` in
    10171         *"Compilers 5.0"*)
    10172           wlarc=''
    10173           archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
    10174           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    10175             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
    10176           ;;
    10177         *)
    10178           wlarc='$wl'
    10179           archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
    10180           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    10181             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
    10182           ;;
    10183         esac
    10184       fi
    10185       hardcode_libdir_flag_spec='-R$libdir'
    10186       hardcode_shlibpath_var=no
    10187       case $host_os in
    10188       solaris2.[0-5] | solaris2.[0-5].*) ;;
    10189       *)
    10190         # The compiler driver will combine and reorder linker options,
    10191         # but understands '-z linker_flag'.  GCC discards it without '$wl',
    10192         # but is careful enough not to reorder.
    10193         # Supported since Solaris 2.6 (maybe 2.5.1?)
    10194         if test yes = "$GCC"; then
    10195           whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
    10196         else
    10197           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
    10198         fi
    10199         ;;
    10200       esac
    10201       link_all_deplibs=yes
    10202       ;;
    10203 
    10204     sunos4*)
    10205       if test sequent = "$host_vendor"; then
    10206         # Use $CC to link under sequent, because it throws in some extra .o
    10207         # files that make .init and .fini sections work.
    10208         archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
    10209       else
    10210         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
    10211       fi
    10212       hardcode_libdir_flag_spec='-L$libdir'
    10213       hardcode_direct=yes
    10214       hardcode_minus_L=yes
    10215       hardcode_shlibpath_var=no
    10216       ;;
    10217 
    10218     sysv4)
    10219       case $host_vendor in
    10220         sni)
    10221           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    10222           hardcode_direct=yes # is this really true???
    10223         ;;
    10224         siemens)
    10225           ## LD is ld it makes a PLAMLIB
    10226           ## CC just makes a GrossModule.
    10227           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
    10228           reload_cmds='$CC -r -o $output$reload_objs'
    10229           hardcode_direct=no
    10230         ;;
    10231         motorola)
    10232           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    10233           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
    10234         ;;
    10235       esac
    10236       runpath_var='LD_RUN_PATH'
    10237       hardcode_shlibpath_var=no
    10238       ;;
    10239 
    10240     sysv4.3*)
    10241       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    10242       hardcode_shlibpath_var=no
    10243       export_dynamic_flag_spec='-Bexport'
    10244       ;;
    10245 
    10246     sysv4*MP*)
    10247       if test -d /usr/nec; then
    10248         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    10249         hardcode_shlibpath_var=no
    10250         runpath_var=LD_RUN_PATH
    10251         hardcode_runpath_var=yes
    10252         ld_shlibs=yes
    10253       fi
    10254       ;;
    10255 
    10256     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
    10257       no_undefined_flag='$wl-z,text'
    10258       archive_cmds_need_lc=no
    10259       hardcode_shlibpath_var=no
    10260       runpath_var='LD_RUN_PATH'
    10261 
    10262       if test yes = "$GCC"; then
    10263         archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    10264         archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    10265       else
    10266         archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    10267         archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    10268       fi
    10269       ;;
    10270 
    10271     sysv5* | sco3.2v5* | sco5v6*)
    10272       # Note: We CANNOT use -z defs as we might desire, because we do not
    10273       # link with -lc, and that would cause any symbols used from libc to
    10274       # always be unresolved, which means just about no library would
    10275       # ever link correctly.  If we're not using GNU ld we use -z text
    10276       # though, which does catch some bad symbols but isn't as heavy-handed
    10277       # as -z defs.
    10278       no_undefined_flag='$wl-z,text'
    10279       allow_undefined_flag='$wl-z,nodefs'
    10280       archive_cmds_need_lc=no
    10281       hardcode_shlibpath_var=no
    10282       hardcode_libdir_flag_spec='$wl-R,$libdir'
    10283       hardcode_libdir_separator=':'
    10284       link_all_deplibs=yes
    10285       export_dynamic_flag_spec='$wl-Bexport'
    10286       runpath_var='LD_RUN_PATH'
    10287 
    10288       if test yes = "$GCC"; then
    10289         archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    10290         archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    10291       else
    10292         archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    10293         archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    10294       fi
    10295       ;;
    10296 
    10297     uts4*)
    10298       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    10299       hardcode_libdir_flag_spec='-L$libdir'
    10300       hardcode_shlibpath_var=no
    10301       ;;
    10302 
    10303     *)
    10304       ld_shlibs=no
    10305       ;;
    10306     esac
    10307 
    10308     if test sni = "$host_vendor"; then
    10309       case $host in
    10310       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
    10311         export_dynamic_flag_spec='$wl-Blargedynsym'
    10312         ;;
    10313       esac
    10314     fi
    10315   fi
    10316 
    10317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
    10318 $as_echo "$ld_shlibs" >&6; }
    10319 test no = "$ld_shlibs" && can_build_shared=no
    10320 
    10321 with_gnu_ld=$with_gnu_ld
    10322 
    10323 
    10324 
    10325 
    10326 
    10327 
    10328 
    10329 
    10330 
    10331 
    10332 
    10333 
    10334 
    10335 
    10336 
    10337 #
    10338 # Do we need to explicitly link libc?
    10339 #
    10340 case "x$archive_cmds_need_lc" in
    10341 x|xyes)
    10342   # Assume -lc should be added
    10343   archive_cmds_need_lc=yes
    10344 
    10345   if test yes,yes = "$GCC,$enable_shared"; then
    10346     case $archive_cmds in
    10347     *'~'*)
    10348       # FIXME: we may have to deal with multi-command sequences.
    10349       ;;
    10350     '$CC '*)
    10351       # Test whether the compiler implicitly links with -lc since on some
    10352       # systems, -lgcc has to come before -lc. If gcc already passes -lc
    10353       # to ld, don't add -lc before -lgcc.
    10354       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
    10355 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
    10356 if ${lt_cv_archive_cmds_need_lc+:} false; then :
    10357   $as_echo_n "(cached) " >&6
    10358 else
    10359   $RM conftest*
    10360         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    10361 
    10362         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
    10363   (eval $ac_compile) 2>&5
    10364   ac_status=$?
    10365   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    10366   test $ac_status = 0; } 2>conftest.err; then
    10367           soname=conftest
    10368           lib=conftest
    10369           libobjs=conftest.$ac_objext
    10370           deplibs=
    10371           wl=$lt_prog_compiler_wl
    10372           pic_flag=$lt_prog_compiler_pic
    10373           compiler_flags=-v
    10374           linker_flags=-v
    10375           verstring=
    10376           output_objdir=.
    10377           libname=conftest
    10378           lt_save_allow_undefined_flag=$allow_undefined_flag
    10379           allow_undefined_flag=
    10380           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
    10381   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
    10382   ac_status=$?
    10383   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    10384   test $ac_status = 0; }
    10385           then
    10386             lt_cv_archive_cmds_need_lc=no
    10387           else
    10388             lt_cv_archive_cmds_need_lc=yes
    10389           fi
    10390           allow_undefined_flag=$lt_save_allow_undefined_flag
    10391         else
    10392           cat conftest.err 1>&5
    10393         fi
    10394         $RM conftest*
    10395 
    10396 fi
    10397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
    10398 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
    10399       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
    10400       ;;
    10401     esac
    10402   fi
    10403   ;;
    10404 esac
    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 
    10536 
    10537 
    10538 
    10539 
    10540 
    10541 
    10542 
    10543 
    10544 
    10545 
    10546 
    10547 
    10548 
    10549 
    10550 
    10551 
    10552 
    10553 
    10554 
    10555 
    10556 
    10557   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
    10558 $as_echo_n "checking dynamic linker characteristics... " >&6; }
    10559 
    10560 if test yes = "$GCC"; then
    10561   case $host_os in
    10562     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
    10563     *) lt_awk_arg='/^libraries:/' ;;
    10564   esac
    10565   case $host_os in
    10566     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
    10567     *) lt_sed_strip_eq='s|=/|/|g' ;;
    10568   esac
    10569   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
    10570   case $lt_search_path_spec in
    10571   *\;*)
    10572     # if the path contains ";" then we assume it to be the separator
    10573     # otherwise default to the standard path separator (i.e. ":") - it is
    10574     # assumed that no part of a normal pathname contains ";" but that should
    10575     # okay in the real world where ";" in dirpaths is itself problematic.
    10576     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
    10577     ;;
    10578   *)
    10579     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
    10580     ;;
    10581   esac
    10582   # Ok, now we have the path, separated by spaces, we can step through it
    10583   # and add multilib dir if necessary...
    10584   lt_tmp_lt_search_path_spec=
    10585   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
    10586   # ...but if some path component already ends with the multilib dir we assume
    10587   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
    10588   case "$lt_multi_os_dir; $lt_search_path_spec " in
    10589   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
    10590     lt_multi_os_dir=
    10591     ;;
    10592   esac
    10593   for lt_sys_path in $lt_search_path_spec; do
    10594     if test -d "$lt_sys_path$lt_multi_os_dir"; then
    10595       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
    10596     elif test -n "$lt_multi_os_dir"; then
    10597       test -d "$lt_sys_path" && \
    10598         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
    10599     fi
    10600   done
    10601   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
    10602 BEGIN {RS = " "; FS = "/|\n";} {
    10603   lt_foo = "";
    10604   lt_count = 0;
    10605   for (lt_i = NF; lt_i > 0; lt_i--) {
    10606     if ($lt_i != "" && $lt_i != ".") {
    10607       if ($lt_i == "..") {
    10608         lt_count++;
    10609       } else {
    10610         if (lt_count == 0) {
    10611           lt_foo = "/" $lt_i lt_foo;
    10612         } else {
    10613           lt_count--;
    10614         }
    10615       }
    10616     }
    10617   }
    10618   if (lt_foo != "") { lt_freq[lt_foo]++; }
    10619   if (lt_freq[lt_foo] == 1) { print lt_foo; }
    10620 }'`
    10621   # AWK program above erroneously prepends '/' to C:/dos/paths
    10622   # for these hosts.
    10623   case $host_os in
    10624     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
    10625       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
    10626   esac
    10627   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
    10628 else
    10629   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
    10630 fi
    10631 library_names_spec=
    10632 libname_spec='lib$name'
    10633 soname_spec=
    10634 shrext_cmds=.so
    10635 postinstall_cmds=
    10636 postuninstall_cmds=
    10637 finish_cmds=
    10638 finish_eval=
    10639 shlibpath_var=
    10640 shlibpath_overrides_runpath=unknown
    10641 version_type=none
    10642 dynamic_linker="$host_os ld.so"
    10643 sys_lib_dlsearch_path_spec="/lib /usr/lib"
    10644 need_lib_prefix=unknown
    10645 hardcode_into_libs=no
    10646 
    10647 # when you set need_version to no, make sure it does not cause -set_version
    10648 # flags to be left without arguments
    10649 need_version=unknown
    10650 
    10651 
    10652 
    10653 case $host_os in
    10654 aix3*)
    10655   version_type=linux # correct to gnu/linux during the next big refactor
    10656   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
    10657   shlibpath_var=LIBPATH
    10658 
    10659   # AIX 3 has no versioning support, so we append a major version to the name.
    10660   soname_spec='$libname$release$shared_ext$major'
    10661   ;;
    10662 
    10663 aix[4-9]*)
    10664   version_type=linux # correct to gnu/linux during the next big refactor
    10665   need_lib_prefix=no
    10666   need_version=no
    10667   hardcode_into_libs=yes
    10668   if test ia64 = "$host_cpu"; then
    10669     # AIX 5 supports IA64
    10670     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
    10671     shlibpath_var=LD_LIBRARY_PATH
    10672   else
    10673     # With GCC up to 2.95.x, collect2 would create an import file
    10674     # for dependence libraries.  The import file would start with
    10675     # the line '#! .'.  This would cause the generated library to
    10676     # depend on '.', always an invalid library.  This was fixed in
    10677     # development snapshots of GCC prior to 3.0.
    10678     case $host_os in
    10679       aix4 | aix4.[01] | aix4.[01].*)
    10680       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
    10681            echo ' yes '
    10682            echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
    10683         :
    10684       else
    10685         can_build_shared=no
    10686       fi
    10687       ;;
    10688     esac
    10689     # Using Import Files as archive members, it is possible to support
    10690     # filename-based versioning of shared library archives on AIX. While
    10691     # this would work for both with and without runtime linking, it will
    10692     # prevent static linking of such archives. So we do filename-based
    10693     # shared library versioning with .so extension only, which is used
    10694     # when both runtime linking and shared linking is enabled.
    10695     # Unfortunately, runtime linking may impact performance, so we do
    10696     # not want this to be the default eventually. Also, we use the
    10697     # versioned .so libs for executables only if there is the -brtl
    10698     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
    10699     # To allow for filename-based versioning support, we need to create
    10700     # libNAME.so.V as an archive file, containing:
    10701     # *) an Import File, referring to the versioned filename of the
    10702     #    archive as well as the shared archive member, telling the
    10703     #    bitwidth (32 or 64) of that shared object, and providing the
    10704     #    list of exported symbols of that shared object, eventually
    10705     #    decorated with the 'weak' keyword
    10706     # *) the shared object with the F_LOADONLY flag set, to really avoid
    10707     #    it being seen by the linker.
    10708     # At run time we better use the real file rather than another symlink,
    10709     # but for link time we create the symlink libNAME.so -> libNAME.so.V
    10710 
    10711     case $with_aix_soname,$aix_use_runtimelinking in
    10712     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
    10713     # soname into executable. Probably we can add versioning support to
    10714     # collect2, so additional links can be useful in future.
    10715     aix,yes) # traditional libtool
    10716       dynamic_linker='AIX unversionable lib.so'
    10717       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
    10718       # instead of lib<name>.a to let people know that these are not
    10719       # typical AIX shared libraries.
    10720       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    10721       ;;
    10722     aix,no) # traditional AIX only
    10723       dynamic_linker='AIX lib.a(lib.so.V)'
    10724       # We preserve .a as extension for shared libraries through AIX4.2
    10725       # and later when we are not doing run time linking.
    10726       library_names_spec='$libname$release.a $libname.a'
    10727       soname_spec='$libname$release$shared_ext$major'
    10728       ;;
    10729     svr4,*) # full svr4 only
    10730       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
    10731       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
    10732       # We do not specify a path in Import Files, so LIBPATH fires.
    10733       shlibpath_overrides_runpath=yes
    10734       ;;
    10735     *,yes) # both, prefer svr4
    10736       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
    10737       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
    10738       # unpreferred sharedlib libNAME.a needs extra handling
    10739       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"'
    10740       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"'
    10741       # We do not specify a path in Import Files, so LIBPATH fires.
    10742       shlibpath_overrides_runpath=yes
    10743       ;;
    10744     *,no) # both, prefer aix
    10745       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
    10746       library_names_spec='$libname$release.a $libname.a'
    10747       soname_spec='$libname$release$shared_ext$major'
    10748       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
    10749       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)'
    10750       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"'
    10751       ;;
    10752     esac
    10753     shlibpath_var=LIBPATH
    10754   fi
    10755   ;;
    10756 
    10757 amigaos*)
    10758   case $host_cpu in
    10759   powerpc)
    10760     # Since July 2007 AmigaOS4 officially supports .so libraries.
    10761     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
    10762     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    10763     ;;
    10764   m68k)
    10765     library_names_spec='$libname.ixlibrary $libname.a'
    10766     # Create ${libname}_ixlibrary.a entries in /sys/libs.
    10767     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'
    10768     ;;
    10769   esac
    10770   ;;
    10771 
    10772 beos*)
    10773   library_names_spec='$libname$shared_ext'
    10774   dynamic_linker="$host_os ld.so"
    10775   shlibpath_var=LIBRARY_PATH
    10776   ;;
    10777 
    10778 bsdi[45]*)
    10779   version_type=linux # correct to gnu/linux during the next big refactor
    10780   need_version=no
    10781   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    10782   soname_spec='$libname$release$shared_ext$major'
    10783   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
    10784   shlibpath_var=LD_LIBRARY_PATH
    10785   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
    10786   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
    10787   # the default ld.so.conf also contains /usr/contrib/lib and
    10788   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
    10789   # libtool to hard-code these into programs
    10790   ;;
    10791 
    10792 cygwin* | mingw* | pw32* | cegcc*)
    10793   version_type=windows
    10794   shrext_cmds=.dll
    10795   need_version=no
    10796   need_lib_prefix=no
    10797 
    10798   case $GCC,$cc_basename in
    10799   yes,*)
    10800     # gcc
    10801     library_names_spec='$libname.dll.a'
    10802     # DLL is installed to $(libdir)/../bin by postinstall_cmds
    10803     postinstall_cmds='base_file=`basename \$file`~
    10804       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
    10805       dldir=$destdir/`dirname \$dlpath`~
    10806       test -d \$dldir || mkdir -p \$dldir~
    10807       $install_prog $dir/$dlname \$dldir/$dlname~
    10808       chmod a+x \$dldir/$dlname~
    10809       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
    10810         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
    10811       fi'
    10812     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
    10813       dlpath=$dir/\$dldll~
    10814        $RM \$dlpath'
    10815     shlibpath_overrides_runpath=yes
    10816 
    10817     case $host_os in
    10818     cygwin*)
    10819       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
    10820       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
    10821 
    10822       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
    10823       ;;
    10824     mingw* | cegcc*)
    10825       # MinGW DLLs use traditional 'lib' prefix
    10826       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
    10827       ;;
    10828     pw32*)
    10829       # pw32 DLLs use 'pw' prefix rather than 'lib'
    10830       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
    10831       ;;
    10832     esac
    10833     dynamic_linker='Win32 ld.exe'
    10834     ;;
    10835 
    10836   *,cl*)
    10837     # Native MSVC
    10838     libname_spec='$name'
    10839     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
    10840     library_names_spec='$libname.dll.lib'
    10841 
    10842     case $build_os in
    10843     mingw*)
    10844       sys_lib_search_path_spec=
    10845       lt_save_ifs=$IFS
    10846       IFS=';'
    10847       for lt_path in $LIB
    10848       do
    10849         IFS=$lt_save_ifs
    10850         # Let DOS variable expansion print the short 8.3 style file name.
    10851         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
    10852         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
    10853       done
    10854       IFS=$lt_save_ifs
    10855       # Convert to MSYS style.
    10856       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
    10857       ;;
    10858     cygwin*)
    10859       # Convert to unix form, then to dos form, then back to unix form
    10860       # but this time dos style (no spaces!) so that the unix form looks
    10861       # like /cygdrive/c/PROGRA~1:/cygdr...
    10862       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
    10863       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
    10864       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
    10865       ;;
    10866     *)
    10867       sys_lib_search_path_spec=$LIB
    10868       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
    10869         # It is most probably a Windows format PATH.
    10870         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
    10871       else
    10872         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
    10873       fi
    10874       # FIXME: find the short name or the path components, as spaces are
    10875       # common. (e.g. "Program Files" -> "PROGRA~1")
    10876       ;;
    10877     esac
    10878 
    10879     # DLL is installed to $(libdir)/../bin by postinstall_cmds
    10880     postinstall_cmds='base_file=`basename \$file`~
    10881       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
    10882       dldir=$destdir/`dirname \$dlpath`~
    10883       test -d \$dldir || mkdir -p \$dldir~
    10884       $install_prog $dir/$dlname \$dldir/$dlname'
    10885     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
    10886       dlpath=$dir/\$dldll~
    10887        $RM \$dlpath'
    10888     shlibpath_overrides_runpath=yes
    10889     dynamic_linker='Win32 link.exe'
    10890     ;;
    10891 
    10892   *)
    10893     # Assume MSVC wrapper
    10894     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
    10895     dynamic_linker='Win32 ld.exe'
    10896     ;;
    10897   esac
    10898   # FIXME: first we should search . and the directory the executable is in
    10899   shlibpath_var=PATH
    10900   ;;
    10901 
    10902 darwin* | rhapsody*)
    10903   dynamic_linker="$host_os dyld"
    10904   version_type=darwin
    10905   need_lib_prefix=no
    10906   need_version=no
    10907   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
    10908   soname_spec='$libname$release$major$shared_ext'
    10909   shlibpath_overrides_runpath=yes
    10910   shlibpath_var=DYLD_LIBRARY_PATH
    10911   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
    10912 
    10913   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
    10914   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
    10915   ;;
    10916 
    10917 dgux*)
    10918   version_type=linux # correct to gnu/linux during the next big refactor
    10919   need_lib_prefix=no
    10920   need_version=no
    10921   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    10922   soname_spec='$libname$release$shared_ext$major'
    10923   shlibpath_var=LD_LIBRARY_PATH
    10924   ;;
    10925 
    10926 freebsd* | dragonfly*)
    10927   # DragonFly does not have aout.  When/if they implement a new
    10928   # versioning mechanism, adjust this.
    10929   if test -x /usr/bin/objformat; then
    10930     objformat=`/usr/bin/objformat`
    10931   else
    10932     case $host_os in
    10933     freebsd[23].*) objformat=aout ;;
    10934     *) objformat=elf ;;
    10935     esac
    10936   fi
    10937   version_type=freebsd-$objformat
    10938   case $version_type in
    10939     freebsd-elf*)
    10940       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    10941       soname_spec='$libname$release$shared_ext$major'
    10942       need_version=no
    10943       need_lib_prefix=no
    10944       ;;
    10945     freebsd-*)
    10946       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    10947       need_version=yes
    10948       ;;
    10949   esac
    10950   shlibpath_var=LD_LIBRARY_PATH
    10951   case $host_os in
    10952   freebsd2.*)
    10953     shlibpath_overrides_runpath=yes
    10954     ;;
    10955   freebsd3.[01]* | freebsdelf3.[01]*)
    10956     shlibpath_overrides_runpath=yes
    10957     hardcode_into_libs=yes
    10958     ;;
    10959   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
    10960   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
    10961     shlibpath_overrides_runpath=no
    10962     hardcode_into_libs=yes
    10963     ;;
    10964   *) # from 4.6 on, and DragonFly
    10965     shlibpath_overrides_runpath=yes
    10966     hardcode_into_libs=yes
    10967     ;;
    10968   esac
    10969   ;;
    10970 
    10971 haiku*)
    10972   version_type=linux # correct to gnu/linux during the next big refactor
    10973   need_lib_prefix=no
    10974   need_version=no
    10975   dynamic_linker="$host_os runtime_loader"
    10976   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    10977   soname_spec='$libname$release$shared_ext$major'
    10978   shlibpath_var=LIBRARY_PATH
    10979   shlibpath_overrides_runpath=no
    10980   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
    10981   hardcode_into_libs=yes
    10982   ;;
    10983 
    10984 hpux9* | hpux10* | hpux11*)
    10985   # Give a soname corresponding to the major version so that dld.sl refuses to
    10986   # link against other versions.
    10987   version_type=sunos
    10988   need_lib_prefix=no
    10989   need_version=no
    10990   case $host_cpu in
    10991   ia64*)
    10992     shrext_cmds='.so'
    10993     hardcode_into_libs=yes
    10994     dynamic_linker="$host_os dld.so"
    10995     shlibpath_var=LD_LIBRARY_PATH
    10996     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
    10997     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    10998     soname_spec='$libname$release$shared_ext$major'
    10999     if test 32 = "$HPUX_IA64_MODE"; then
    11000       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
    11001       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
    11002     else
    11003       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
    11004       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
    11005     fi
    11006     ;;
    11007   hppa*64*)
    11008     shrext_cmds='.sl'
    11009     hardcode_into_libs=yes
    11010     dynamic_linker="$host_os dld.sl"
    11011     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
    11012     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
    11013     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    11014     soname_spec='$libname$release$shared_ext$major'
    11015     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
    11016     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    11017     ;;
    11018   *)
    11019     shrext_cmds='.sl'
    11020     dynamic_linker="$host_os dld.sl"
    11021     shlibpath_var=SHLIB_PATH
    11022     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
    11023     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    11024     soname_spec='$libname$release$shared_ext$major'
    11025     ;;
    11026   esac
    11027   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
    11028   postinstall_cmds='chmod 555 $lib'
    11029   # or fails outright, so override atomically:
    11030   install_override_mode=555
    11031   ;;
    11032 
    11033 interix[3-9]*)
    11034   version_type=linux # correct to gnu/linux during the next big refactor
    11035   need_lib_prefix=no
    11036   need_version=no
    11037   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    11038   soname_spec='$libname$release$shared_ext$major'
    11039   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
    11040   shlibpath_var=LD_LIBRARY_PATH
    11041   shlibpath_overrides_runpath=no
    11042   hardcode_into_libs=yes
    11043   ;;
    11044 
    11045 irix5* | irix6* | nonstopux*)
    11046   case $host_os in
    11047     nonstopux*) version_type=nonstopux ;;
    11048     *)
    11049         if test yes = "$lt_cv_prog_gnu_ld"; then
    11050                 version_type=linux # correct to gnu/linux during the next big refactor
    11051         else
    11052                 version_type=irix
    11053         fi ;;
    11054   esac
    11055   need_lib_prefix=no
    11056   need_version=no
    11057   soname_spec='$libname$release$shared_ext$major'
    11058   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
    11059   case $host_os in
    11060   irix5* | nonstopux*)
    11061     libsuff= shlibsuff=
    11062     ;;
    11063   *)
    11064     case $LD in # libtool.m4 will add one of these switches to LD
    11065     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
    11066       libsuff= shlibsuff= libmagic=32-bit;;
    11067     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
    11068       libsuff=32 shlibsuff=N32 libmagic=N32;;
    11069     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
    11070       libsuff=64 shlibsuff=64 libmagic=64-bit;;
    11071     *) libsuff= shlibsuff= libmagic=never-match;;
    11072     esac
    11073     ;;
    11074   esac
    11075   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
    11076   shlibpath_overrides_runpath=no
    11077   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
    11078   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
    11079   hardcode_into_libs=yes
    11080   ;;
    11081 
    11082 # No shared lib support for Linux oldld, aout, or coff.
    11083 linux*oldld* | linux*aout* | linux*coff*)
    11084   dynamic_linker=no
    11085   ;;
    11086 
    11087 linux*android*)
    11088   version_type=none # Android doesn't support versioned libraries.
    11089   need_lib_prefix=no
    11090   need_version=no
    11091   library_names_spec='$libname$release$shared_ext'
    11092   soname_spec='$libname$release$shared_ext'
    11093   finish_cmds=
    11094   shlibpath_var=LD_LIBRARY_PATH
    11095   shlibpath_overrides_runpath=yes
    11096 
    11097   # This implies no fast_install, which is unacceptable.
    11098   # Some rework will be needed to allow for fast_install
    11099   # before this can be enabled.
    11100   hardcode_into_libs=yes
    11101 
    11102   dynamic_linker='Android linker'
    11103   # Don't embed -rpath directories since the linker doesn't support them.
    11104   hardcode_libdir_flag_spec='-L$libdir'
    11105   ;;
    11106 
    11107 # This must be glibc/ELF.
    11108 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
    11109   version_type=linux # correct to gnu/linux during the next big refactor
    11110   need_lib_prefix=no
    11111   need_version=no
    11112   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    11113   soname_spec='$libname$release$shared_ext$major'
    11114   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
    11115   shlibpath_var=LD_LIBRARY_PATH
    11116   shlibpath_overrides_runpath=no
    11117 
    11118   # Some binutils ld are patched to set DT_RUNPATH
    11119   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
    11120   $as_echo_n "(cached) " >&6
    11121 else
    11122   lt_cv_shlibpath_overrides_runpath=no
    11123     save_LDFLAGS=$LDFLAGS
    11124     save_libdir=$libdir
    11125     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
    11126          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
    11127     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    11128 /* end confdefs.h.  */
    11129 
    11130 int
    11131 main ()
    11132 {
    11133 
    11134   ;
    11135   return 0;
    11136 }
    11137 _ACEOF
    11138 if ac_fn_c_try_link "$LINENO"; then :
    11139   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
    11140   lt_cv_shlibpath_overrides_runpath=yes
    11141 fi
    11142 fi
    11143 rm -f core conftest.err conftest.$ac_objext \
    11144     conftest$ac_exeext conftest.$ac_ext
    11145     LDFLAGS=$save_LDFLAGS
    11146     libdir=$save_libdir
    11147 
    11148 fi
    11149 
    11150   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
    11151 
    11152   # This implies no fast_install, which is unacceptable.
    11153   # Some rework will be needed to allow for fast_install
    11154   # before this can be enabled.
    11155   hardcode_into_libs=yes
    11156 
    11157   # Ideally, we could use ldconfig to report *all* directores which are
    11158   # searched for libraries, however this is still not possible.  Aside from not
    11159   # being certain /sbin/ldconfig is available, command
    11160   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
    11161   # even though it is searched at run-time.  Try to do the best guess by
    11162   # appending ld.so.conf contents (and includes) to the search path.
    11163   if test -f /etc/ld.so.conf; then
    11164     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' ' '`
    11165     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
    11166   fi
    11167 
    11168   # We used to test for /lib/ld.so.1 and disable shared libraries on
    11169   # powerpc, because MkLinux only supported shared libraries with the
    11170   # GNU dynamic linker.  Since this was broken with cross compilers,
    11171   # most powerpc-linux boxes support dynamic linking these days and
    11172   # people can always --disable-shared, the test was removed, and we
    11173   # assume the GNU/Linux dynamic linker is in use.
    11174   dynamic_linker='GNU/Linux ld.so'
    11175   ;;
    11176 
    11177 netbsdelf*-gnu)
    11178   version_type=linux
    11179   need_lib_prefix=no
    11180   need_version=no
    11181   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    11182   soname_spec='${libname}${release}${shared_ext}$major'
    11183   shlibpath_var=LD_LIBRARY_PATH
    11184   shlibpath_overrides_runpath=no
    11185   hardcode_into_libs=yes
    11186   dynamic_linker='NetBSD ld.elf_so'
    11187   ;;
    11188 
    11189 netbsd*)
    11190   version_type=sunos
    11191   need_lib_prefix=no
    11192   need_version=no
    11193   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
    11194     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    11195     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    11196     dynamic_linker='NetBSD (a.out) ld.so'
    11197   else
    11198     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    11199     soname_spec='$libname$release$shared_ext$major'
    11200     dynamic_linker='NetBSD ld.elf_so'
    11201   fi
    11202   shlibpath_var=LD_LIBRARY_PATH
    11203   shlibpath_overrides_runpath=yes
    11204   hardcode_into_libs=yes
    11205   ;;
    11206 
    11207 newsos6)
    11208   version_type=linux # correct to gnu/linux during the next big refactor
    11209   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    11210   shlibpath_var=LD_LIBRARY_PATH
    11211   shlibpath_overrides_runpath=yes
    11212   ;;
    11213 
    11214 *nto* | *qnx*)
    11215   version_type=qnx
    11216   need_lib_prefix=no
    11217   need_version=no
    11218   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    11219   soname_spec='$libname$release$shared_ext$major'
    11220   shlibpath_var=LD_LIBRARY_PATH
    11221   shlibpath_overrides_runpath=no
    11222   hardcode_into_libs=yes
    11223   dynamic_linker='ldqnx.so'
    11224   ;;
    11225 
    11226 openbsd* | bitrig*)
    11227   version_type=sunos
    11228   sys_lib_dlsearch_path_spec=/usr/lib
    11229   need_lib_prefix=no
    11230   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
    11231     need_version=no
    11232   else
    11233     need_version=yes
    11234   fi
    11235   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    11236   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    11237   shlibpath_var=LD_LIBRARY_PATH
    11238   shlibpath_overrides_runpath=yes
    11239   ;;
    11240 
    11241 os2*)
    11242   libname_spec='$name'
    11243   version_type=windows
    11244   shrext_cmds=.dll
    11245   need_version=no
    11246   need_lib_prefix=no
    11247   # OS/2 can only load a DLL with a base name of 8 characters or less.
    11248   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
    11249     v=$($ECHO $release$versuffix | tr -d .-);
    11250     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
    11251     $ECHO $n$v`$shared_ext'
    11252   library_names_spec='${libname}_dll.$libext'
    11253   dynamic_linker='OS/2 ld.exe'
    11254   shlibpath_var=BEGINLIBPATH
    11255   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
    11256   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    11257   postinstall_cmds='base_file=`basename \$file`~
    11258     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
    11259     dldir=$destdir/`dirname \$dlpath`~
    11260     test -d \$dldir || mkdir -p \$dldir~
    11261     $install_prog $dir/$dlname \$dldir/$dlname~
    11262     chmod a+x \$dldir/$dlname~
    11263     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
    11264       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
    11265     fi'
    11266   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
    11267     dlpath=$dir/\$dldll~
    11268     $RM \$dlpath'
    11269   ;;
    11270 
    11271 osf3* | osf4* | osf5*)
    11272   version_type=osf
    11273   need_lib_prefix=no
    11274   need_version=no
    11275   soname_spec='$libname$release$shared_ext$major'
    11276   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    11277   shlibpath_var=LD_LIBRARY_PATH
    11278   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
    11279   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    11280   ;;
    11281 
    11282 rdos*)
    11283   dynamic_linker=no
    11284   ;;
    11285 
    11286 solaris*)
    11287   version_type=linux # correct to gnu/linux during the next big refactor
    11288   need_lib_prefix=no
    11289   need_version=no
    11290   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    11291   soname_spec='$libname$release$shared_ext$major'
    11292   shlibpath_var=LD_LIBRARY_PATH
    11293   shlibpath_overrides_runpath=yes
    11294   hardcode_into_libs=yes
    11295   # ldd complains unless libraries are executable
    11296   postinstall_cmds='chmod +x $lib'
    11297   ;;
    11298 
    11299 sunos4*)
    11300   version_type=sunos
    11301   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    11302   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
    11303   shlibpath_var=LD_LIBRARY_PATH
    11304   shlibpath_overrides_runpath=yes
    11305   if test yes = "$with_gnu_ld"; then
    11306     need_lib_prefix=no
    11307   fi
    11308   need_version=yes
    11309   ;;
    11310 
    11311 sysv4 | sysv4.3*)
    11312   version_type=linux # correct to gnu/linux during the next big refactor
    11313   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    11314   soname_spec='$libname$release$shared_ext$major'
    11315   shlibpath_var=LD_LIBRARY_PATH
    11316   case $host_vendor in
    11317     sni)
    11318       shlibpath_overrides_runpath=no
    11319       need_lib_prefix=no
    11320       runpath_var=LD_RUN_PATH
    11321       ;;
    11322     siemens)
    11323       need_lib_prefix=no
    11324       ;;
    11325     motorola)
    11326       need_lib_prefix=no
    11327       need_version=no
    11328       shlibpath_overrides_runpath=no
    11329       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
    11330       ;;
    11331   esac
    11332   ;;
    11333 
    11334 sysv4*MP*)
    11335   if test -d /usr/nec; then
    11336     version_type=linux # correct to gnu/linux during the next big refactor
    11337     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
    11338     soname_spec='$libname$shared_ext.$major'
    11339     shlibpath_var=LD_LIBRARY_PATH
    11340   fi
    11341   ;;
    11342 
    11343 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
    11344   version_type=sco
    11345   need_lib_prefix=no
    11346   need_version=no
    11347   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
    11348   soname_spec='$libname$release$shared_ext$major'
    11349   shlibpath_var=LD_LIBRARY_PATH
    11350   shlibpath_overrides_runpath=yes
    11351   hardcode_into_libs=yes
    11352   if test yes = "$with_gnu_ld"; then
    11353     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
    11354   else
    11355     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
    11356     case $host_os in
    11357       sco3.2v5*)
    11358         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
    11359         ;;
    11360     esac
    11361   fi
    11362   sys_lib_dlsearch_path_spec='/usr/lib'
    11363   ;;
    11364 
    11365 tpf*)
    11366   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
    11367   version_type=linux # correct to gnu/linux during the next big refactor
    11368   need_lib_prefix=no
    11369   need_version=no
    11370   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    11371   shlibpath_var=LD_LIBRARY_PATH
    11372   shlibpath_overrides_runpath=no
    11373   hardcode_into_libs=yes
    11374   ;;
    11375 
    11376 uts4*)
    11377   version_type=linux # correct to gnu/linux during the next big refactor
    11378   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    11379   soname_spec='$libname$release$shared_ext$major'
    11380   shlibpath_var=LD_LIBRARY_PATH
    11381   ;;
    11382 
    11383 *)
    11384   dynamic_linker=no
    11385   ;;
    11386 esac
    11387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
    11388 $as_echo "$dynamic_linker" >&6; }
    11389 test no = "$dynamic_linker" && can_build_shared=no
    11390 
    11391 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
    11392 if test yes = "$GCC"; then
    11393   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
    11394 fi
    11395 
    11396 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
    11397   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
    11398 fi
    11399 
    11400 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
    11401   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
    11402 fi
    11403 
    11404 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
    11405 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
    11406 
    11407 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
    11408 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
    11409 
    11410 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
    11411 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
    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 
    11488 
    11489 
    11490 
    11491 
    11492 
    11493 
    11494 
    11495 
    11496 
    11497 
    11498 
    11499 
    11500 
    11501 
    11502 
    11503 
    11504 
    11505 
    11506 
    11507 
    11508 
    11509   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
    11510 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
    11511 hardcode_action=
    11512 if test -n "$hardcode_libdir_flag_spec" ||
    11513    test -n "$runpath_var" ||
    11514    test yes = "$hardcode_automatic"; then
    11515 
    11516   # We can hardcode non-existent directories.
    11517   if test no != "$hardcode_direct" &&
    11518      # If the only mechanism to avoid hardcoding is shlibpath_var, we
    11519      # have to relink, otherwise we might link with an installed library
    11520      # when we should be linking with a yet-to-be-installed one
    11521      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
    11522      test no != "$hardcode_minus_L"; then
    11523     # Linking always hardcodes the temporary library directory.
    11524     hardcode_action=relink
    11525   else
    11526     # We can link without hardcoding, and we can hardcode nonexisting dirs.
    11527     hardcode_action=immediate
    11528   fi
    11529 else
    11530   # We cannot hardcode anything, or else we can only hardcode existing
    11531   # directories.
    11532   hardcode_action=unsupported
    11533 fi
    11534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
    11535 $as_echo "$hardcode_action" >&6; }
    11536 
    11537 if test relink = "$hardcode_action" ||
    11538    test yes = "$inherit_rpath"; then
    11539   # Fast installation is not supported
    11540   enable_fast_install=no
    11541 elif test yes = "$shlibpath_overrides_runpath" ||
    11542      test no = "$enable_shared"; then
    11543   # Fast installation is not necessary
    11544   enable_fast_install=needless
    11545 fi
    11546 
    11547 
    11548 
    11549 
    11550 
    11551 
    11552   if test yes != "$enable_dlopen"; then
    11553   enable_dlopen=unknown
    11554   enable_dlopen_self=unknown
    11555   enable_dlopen_self_static=unknown
    11556 else
    11557   lt_cv_dlopen=no
    11558   lt_cv_dlopen_libs=
    11559 
    11560   case $host_os in
    11561   beos*)
    11562     lt_cv_dlopen=load_add_on
    11563     lt_cv_dlopen_libs=
    11564     lt_cv_dlopen_self=yes
    11565     ;;
    11566 
    11567   mingw* | pw32* | cegcc*)
    11568     lt_cv_dlopen=LoadLibrary
    11569     lt_cv_dlopen_libs=
    11570     ;;
    11571 
    11572   cygwin*)
    11573     lt_cv_dlopen=dlopen
    11574     lt_cv_dlopen_libs=
    11575     ;;
    11576 
    11577   darwin*)
    11578     # if libdl is installed we need to link against it
    11579     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
    11580 $as_echo_n "checking for dlopen in -ldl... " >&6; }
    11581 if ${ac_cv_lib_dl_dlopen+:} false; then :
    11582   $as_echo_n "(cached) " >&6
    11583 else
    11584   ac_check_lib_save_LIBS=$LIBS
    11585 LIBS="-ldl  $LIBS"
    11586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    11587 /* end confdefs.h.  */
    11588 
    11589 /* Override any GCC internal prototype to avoid an error.
    11590    Use char because int might match the return type of a GCC
    11591    builtin and then its argument prototype would still apply.  */
    11592 #ifdef __cplusplus
    11593 extern "C"
    11594 #endif
    11595 char dlopen ();
    11596 int
    11597 main ()
    11598 {
    11599 return dlopen ();
    11600   ;
    11601   return 0;
    11602 }
    11603 _ACEOF
    11604 if ac_fn_c_try_link "$LINENO"; then :
    11605   ac_cv_lib_dl_dlopen=yes
    11606 else
    11607   ac_cv_lib_dl_dlopen=no
    11608 fi
    11609 rm -f core conftest.err conftest.$ac_objext \
    11610     conftest$ac_exeext conftest.$ac_ext
    11611 LIBS=$ac_check_lib_save_LIBS
    11612 fi
    11613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
    11614 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
    11615 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
    11616   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
    11617 else
    11618 
    11619     lt_cv_dlopen=dyld
    11620     lt_cv_dlopen_libs=
    11621     lt_cv_dlopen_self=yes
    11622 
    11623 fi
    11624 
    11625     ;;
    11626 
    11627   tpf*)
    11628     # Don't try to run any link tests for TPF.  We know it's impossible
    11629     # because TPF is a cross-compiler, and we know how we open DSOs.
    11630     lt_cv_dlopen=dlopen
    11631     lt_cv_dlopen_libs=
    11632     lt_cv_dlopen_self=no
    11633     ;;
    11634 
    11635   *)
    11636     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
    11637 if test "x$ac_cv_func_shl_load" = xyes; then :
    11638   lt_cv_dlopen=shl_load
    11639 else
    11640   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
    11641 $as_echo_n "checking for shl_load in -ldld... " >&6; }
    11642 if ${ac_cv_lib_dld_shl_load+:} false; then :
    11643   $as_echo_n "(cached) " >&6
    11644 else
    11645   ac_check_lib_save_LIBS=$LIBS
    11646 LIBS="-ldld  $LIBS"
    11647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    11648 /* end confdefs.h.  */
    11649 
    11650 /* Override any GCC internal prototype to avoid an error.
    11651    Use char because int might match the return type of a GCC
    11652    builtin and then its argument prototype would still apply.  */
    11653 #ifdef __cplusplus
    11654 extern "C"
    11655 #endif
    11656 char shl_load ();
    11657 int
    11658 main ()
    11659 {
    11660 return shl_load ();
    11661   ;
    11662   return 0;
    11663 }
    11664 _ACEOF
    11665 if ac_fn_c_try_link "$LINENO"; then :
    11666   ac_cv_lib_dld_shl_load=yes
    11667 else
    11668   ac_cv_lib_dld_shl_load=no
    11669 fi
    11670 rm -f core conftest.err conftest.$ac_objext \
    11671     conftest$ac_exeext conftest.$ac_ext
    11672 LIBS=$ac_check_lib_save_LIBS
    11673 fi
    11674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
    11675 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    11676 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
    11677   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
    11678 else
    11679   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
    11680 if test "x$ac_cv_func_dlopen" = xyes; then :
    11681   lt_cv_dlopen=dlopen
    11682 else
    11683   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
    11684 $as_echo_n "checking for dlopen in -ldl... " >&6; }
    11685 if ${ac_cv_lib_dl_dlopen+:} false; then :
    11686   $as_echo_n "(cached) " >&6
    11687 else
    11688   ac_check_lib_save_LIBS=$LIBS
    11689 LIBS="-ldl  $LIBS"
    11690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    11691 /* end confdefs.h.  */
    11692 
    11693 /* Override any GCC internal prototype to avoid an error.
    11694    Use char because int might match the return type of a GCC
    11695    builtin and then its argument prototype would still apply.  */
    11696 #ifdef __cplusplus
    11697 extern "C"
    11698 #endif
    11699 char dlopen ();
    11700 int
    11701 main ()
    11702 {
    11703 return dlopen ();
    11704   ;
    11705   return 0;
    11706 }
    11707 _ACEOF
    11708 if ac_fn_c_try_link "$LINENO"; then :
    11709   ac_cv_lib_dl_dlopen=yes
    11710 else
    11711   ac_cv_lib_dl_dlopen=no
    11712 fi
    11713 rm -f core conftest.err conftest.$ac_objext \
    11714     conftest$ac_exeext conftest.$ac_ext
    11715 LIBS=$ac_check_lib_save_LIBS
    11716 fi
    11717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
    11718 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
    11719 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
    11720   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
    11721 else
    11722   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
    11723 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
    11724 if ${ac_cv_lib_svld_dlopen+:} false; then :
    11725   $as_echo_n "(cached) " >&6
    11726 else
    11727   ac_check_lib_save_LIBS=$LIBS
    11728 LIBS="-lsvld  $LIBS"
    11729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    11730 /* end confdefs.h.  */
    11731 
    11732 /* Override any GCC internal prototype to avoid an error.
    11733    Use char because int might match the return type of a GCC
    11734    builtin and then its argument prototype would still apply.  */
    11735 #ifdef __cplusplus
    11736 extern "C"
    11737 #endif
    11738 char dlopen ();
    11739 int
    11740 main ()
    11741 {
    11742 return dlopen ();
    11743   ;
    11744   return 0;
    11745 }
    11746 _ACEOF
    11747 if ac_fn_c_try_link "$LINENO"; then :
    11748   ac_cv_lib_svld_dlopen=yes
    11749 else
    11750   ac_cv_lib_svld_dlopen=no
    11751 fi
    11752 rm -f core conftest.err conftest.$ac_objext \
    11753     conftest$ac_exeext conftest.$ac_ext
    11754 LIBS=$ac_check_lib_save_LIBS
    11755 fi
    11756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
    11757 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
    11758 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
    11759   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
    11760 else
    11761   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
    11762 $as_echo_n "checking for dld_link in -ldld... " >&6; }
    11763 if ${ac_cv_lib_dld_dld_link+:} false; then :
    11764   $as_echo_n "(cached) " >&6
    11765 else
    11766   ac_check_lib_save_LIBS=$LIBS
    11767 LIBS="-ldld  $LIBS"
    11768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    11769 /* end confdefs.h.  */
    11770 
    11771 /* Override any GCC internal prototype to avoid an error.
    11772    Use char because int might match the return type of a GCC
    11773    builtin and then its argument prototype would still apply.  */
    11774 #ifdef __cplusplus
    11775 extern "C"
    11776 #endif
    11777 char dld_link ();
    11778 int
    11779 main ()
    11780 {
    11781 return dld_link ();
    11782   ;
    11783   return 0;
    11784 }
    11785 _ACEOF
    11786 if ac_fn_c_try_link "$LINENO"; then :
    11787   ac_cv_lib_dld_dld_link=yes
    11788 else
    11789   ac_cv_lib_dld_dld_link=no
    11790 fi
    11791 rm -f core conftest.err conftest.$ac_objext \
    11792     conftest$ac_exeext conftest.$ac_ext
    11793 LIBS=$ac_check_lib_save_LIBS
    11794 fi
    11795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
    11796 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
    11797 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
    11798   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
    11799 fi
    11800 
    11801 
    11802 fi
    11803 
    11804 
    11805 fi
    11806 
    11807 
    11808 fi
    11809 
    11810 
    11811 fi
    11812 
    11813 
    11814 fi
    11815 
    11816     ;;
    11817   esac
    11818 
    11819   if test no = "$lt_cv_dlopen"; then
    11820     enable_dlopen=no
    11821   else
    11822     enable_dlopen=yes
    11823   fi
    11824 
    11825   case $lt_cv_dlopen in
    11826   dlopen)
    11827     save_CPPFLAGS=$CPPFLAGS
    11828     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
    11829 
    11830     save_LDFLAGS=$LDFLAGS
    11831     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
    11832 
    11833     save_LIBS=$LIBS
    11834     LIBS="$lt_cv_dlopen_libs $LIBS"
    11835 
    11836     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
    11837 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
    11838 if ${lt_cv_dlopen_self+:} false; then :
    11839   $as_echo_n "(cached) " >&6
    11840 else
    11841           if test yes = "$cross_compiling"; then :
    11842   lt_cv_dlopen_self=cross
    11843 else
    11844   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    11845   lt_status=$lt_dlunknown
    11846   cat > conftest.$ac_ext <<_LT_EOF
    11847 #line $LINENO "configure"
    11848 #include "confdefs.h"
    11849 
    11850 #if HAVE_DLFCN_H
    11851 #include <dlfcn.h>
    11852 #endif
    11853 
    11854 #include <stdio.h>
    11855 
    11856 #ifdef RTLD_GLOBAL
    11857 #  define LT_DLGLOBAL           RTLD_GLOBAL
    11858 #else
    11859 #  ifdef DL_GLOBAL
    11860 #    define LT_DLGLOBAL         DL_GLOBAL
    11861 #  else
    11862 #    define LT_DLGLOBAL         0
    11863 #  endif
    11864 #endif
    11865 
    11866 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
    11867    find out it does not work in some platform. */
    11868 #ifndef LT_DLLAZY_OR_NOW
    11869 #  ifdef RTLD_LAZY
    11870 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
    11871 #  else
    11872 #    ifdef DL_LAZY
    11873 #      define LT_DLLAZY_OR_NOW          DL_LAZY
    11874 #    else
    11875 #      ifdef RTLD_NOW
    11876 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
    11877 #      else
    11878 #        ifdef DL_NOW
    11879 #          define LT_DLLAZY_OR_NOW      DL_NOW
    11880 #        else
    11881 #          define LT_DLLAZY_OR_NOW      0
    11882 #        endif
    11883 #      endif
    11884 #    endif
    11885 #  endif
    11886 #endif
    11887 
    11888 /* When -fvisibility=hidden is used, assume the code has been annotated
    11889    correspondingly for the symbols needed.  */
    11890 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
    11891 int fnord () __attribute__((visibility("default")));
    11892 #endif
    11893 
    11894 int fnord () { return 42; }
    11895 int main ()
    11896 {
    11897   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
    11898   int status = $lt_dlunknown;
    11899 
    11900   if (self)
    11901     {
    11902       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
    11903       else
    11904         {
    11905           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
    11906           else puts (dlerror ());
    11907         }
    11908       /* dlclose (self); */
    11909     }
    11910   else
    11911     puts (dlerror ());
    11912 
    11913   return status;
    11914 }
    11915 _LT_EOF
    11916   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
    11917   (eval $ac_link) 2>&5
    11918   ac_status=$?
    11919   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    11920   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
    11921     (./conftest; exit; ) >&5 2>/dev/null
    11922     lt_status=$?
    11923     case x$lt_status in
    11924       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
    11925       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
    11926       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
    11927     esac
    11928   else :
    11929     # compilation failed
    11930     lt_cv_dlopen_self=no
    11931   fi
    11932 fi
    11933 rm -fr conftest*
    11934 
    11935 
    11936 fi
    11937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
    11938 $as_echo "$lt_cv_dlopen_self" >&6; }
    11939 
    11940     if test yes = "$lt_cv_dlopen_self"; then
    11941       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
    11942       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
    11943 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
    11944 if ${lt_cv_dlopen_self_static+:} false; then :
    11945   $as_echo_n "(cached) " >&6
    11946 else
    11947           if test yes = "$cross_compiling"; then :
    11948   lt_cv_dlopen_self_static=cross
    11949 else
    11950   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    11951   lt_status=$lt_dlunknown
    11952   cat > conftest.$ac_ext <<_LT_EOF
    11953 #line $LINENO "configure"
    11954 #include "confdefs.h"
    11955 
    11956 #if HAVE_DLFCN_H
    11957 #include <dlfcn.h>
    11958 #endif
    11959 
    11960 #include <stdio.h>
    11961 
    11962 #ifdef RTLD_GLOBAL
    11963 #  define LT_DLGLOBAL           RTLD_GLOBAL
    11964 #else
    11965 #  ifdef DL_GLOBAL
    11966 #    define LT_DLGLOBAL         DL_GLOBAL
    11967 #  else
    11968 #    define LT_DLGLOBAL         0
    11969 #  endif
    11970 #endif
    11971 
    11972 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
    11973    find out it does not work in some platform. */
    11974 #ifndef LT_DLLAZY_OR_NOW
    11975 #  ifdef RTLD_LAZY
    11976 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
    11977 #  else
    11978 #    ifdef DL_LAZY
    11979 #      define LT_DLLAZY_OR_NOW          DL_LAZY
    11980 #    else
    11981 #      ifdef RTLD_NOW
    11982 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
    11983 #      else
    11984 #        ifdef DL_NOW
    11985 #          define LT_DLLAZY_OR_NOW      DL_NOW
    11986 #        else
    11987 #          define LT_DLLAZY_OR_NOW      0
    11988 #        endif
    11989 #      endif
    11990 #    endif
    11991 #  endif
    11992 #endif
    11993 
    11994 /* When -fvisibility=hidden is used, assume the code has been annotated
    11995    correspondingly for the symbols needed.  */
    11996 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
    11997 int fnord () __attribute__((visibility("default")));
    11998 #endif
    11999 
    12000 int fnord () { return 42; }
    12001 int main ()
    12002 {
    12003   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
    12004   int status = $lt_dlunknown;
    12005 
    12006   if (self)
    12007     {
    12008       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
    12009       else
    12010         {
    12011           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
    12012           else puts (dlerror ());
    12013         }
    12014       /* dlclose (self); */
    12015     }
    12016   else
    12017     puts (dlerror ());
    12018 
    12019   return status;
    12020 }
    12021 _LT_EOF
    12022   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
    12023   (eval $ac_link) 2>&5
    12024   ac_status=$?
    12025   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    12026   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
    12027     (./conftest; exit; ) >&5 2>/dev/null
    12028     lt_status=$?
    12029     case x$lt_status in
    12030       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
    12031       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
    12032       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
    12033     esac
    12034   else :
    12035     # compilation failed
    12036     lt_cv_dlopen_self_static=no
    12037   fi
    12038 fi
    12039 rm -fr conftest*
    12040 
    12041 
    12042 fi
    12043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
    12044 $as_echo "$lt_cv_dlopen_self_static" >&6; }
    12045     fi
    12046 
    12047     CPPFLAGS=$save_CPPFLAGS
    12048     LDFLAGS=$save_LDFLAGS
    12049     LIBS=$save_LIBS
    12050     ;;
    12051   esac
    12052 
    12053   case $lt_cv_dlopen_self in
    12054   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
    12055   *) enable_dlopen_self=unknown ;;
    12056   esac
    12057 
    12058   case $lt_cv_dlopen_self_static in
    12059   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
    12060   *) enable_dlopen_self_static=unknown ;;
    12061   esac
    12062 fi
    12063 
    12064 
    12065 
    12066 
    12067 
    12068 
    12069 
    12070 
    12071 
    12072 
    12073 
    12074 
    12075 
    12076 
    12077 
    12078 
    12079 
    12080 striplib=
    12081 old_striplib=
    12082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
    12083 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
    12084 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
    12085   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
    12086   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
    12087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    12088 $as_echo "yes" >&6; }
    12089 else
    12090 # FIXME - insert some real tests, host_os isn't really good enough
    12091   case $host_os in
    12092   darwin*)
    12093     if test -n "$STRIP"; then
    12094       striplib="$STRIP -x"
    12095       old_striplib="$STRIP -S"
    12096       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    12097 $as_echo "yes" >&6; }
    12098     else
    12099       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    12100 $as_echo "no" >&6; }
    12101     fi
    12102     ;;
    12103   *)
    12104     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    12105 $as_echo "no" >&6; }
    12106     ;;
    12107   esac
    12108 fi
    12109 
    12110 
    12111 
    12112 
    12113 
    12114 
    12115 
    12116 
    12117 
    12118 
    12119 
    12120 
    12121   # Report what library types will actually be built
    12122   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
    12123 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
    12124   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
    12125 $as_echo "$can_build_shared" >&6; }
    12126 
    12127   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
    12128 $as_echo_n "checking whether to build shared libraries... " >&6; }
    12129   test no = "$can_build_shared" && enable_shared=no
    12130 
    12131   # On AIX, shared libraries and static libraries use the same namespace, and
    12132   # are all built from PIC.
    12133   case $host_os in
    12134   aix3*)
    12135     test yes = "$enable_shared" && enable_static=no
    12136     if test -n "$RANLIB"; then
    12137       archive_cmds="$archive_cmds~\$RANLIB \$lib"
    12138       postinstall_cmds='$RANLIB $lib'
    12139     fi
    12140     ;;
    12141 
    12142   aix[4-9]*)
    12143     if test ia64 != "$host_cpu"; then
    12144       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
    12145       yes,aix,yes) ;;                   # shared object as lib.so file only
    12146       yes,svr4,*) ;;                    # shared object as lib.so archive member only
    12147       yes,*) enable_static=no ;;        # shared object in lib.a archive as well
    12148       esac
    12149     fi
    12150     ;;
    12151   esac
    12152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
    12153 $as_echo "$enable_shared" >&6; }
    12154 
    12155   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
    12156 $as_echo_n "checking whether to build static libraries... " >&6; }
    12157   # Make sure either enable_shared or enable_static is yes.
    12158   test yes = "$enable_shared" || enable_static=yes
    12159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
    12160 $as_echo "$enable_static" >&6; }
    12161 
    12162 
    12163 
    12164 
    12165 fi
    12166 ac_ext=c
    12167 ac_cpp='$CPP $CPPFLAGS'
    12168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    12169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    12170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    12171 
    12172 CC=$lt_save_CC
    12173 
    12174 
    12175 
    12176 
    12177 
    12178 
    12179 
    12180 
    12181 
    12182 
    12183 
    12184 
    12185 
    12186 
    12187 
    12188         ac_config_commands="$ac_config_commands libtool"
    12189 
    12190 
    12191 
    12192 
    12193 # Only expand once:
    12194 
    12195 
    12196 
    12197 ac_ext=cpp
    12198 ac_cpp='$CXXCPP $CPPFLAGS'
    12199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    12200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    12201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    12202 if test -z "$CXX"; then
    12203   if test -n "$CCC"; then
    12204     CXX=$CCC
    12205   else
    12206     if test -n "$ac_tool_prefix"; then
    12207   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
    12208   do
    12209     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    12210 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    12211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    12212 $as_echo_n "checking for $ac_word... " >&6; }
    12213 if ${ac_cv_prog_CXX+:} false; then :
    12214   $as_echo_n "(cached) " >&6
    12215 else
    12216   if test -n "$CXX"; then
    12217   ac_cv_prog_CXX="$CXX" # Let the user override the test.
    12218 else
    12219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    12220 for as_dir in $PATH
    12221 do
    12222   IFS=$as_save_IFS
    12223   test -z "$as_dir" && as_dir=.
    12224     for ac_exec_ext in '' $ac_executable_extensions; do
    12225   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    12226     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    12227     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    12228     break 2
    12229   fi
    12230 done
    12231   done
    12232 IFS=$as_save_IFS
    12233 
    12234 fi
    12235 fi
    12236 CXX=$ac_cv_prog_CXX
    12237 if test -n "$CXX"; then
    12238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
    12239 $as_echo "$CXX" >&6; }
    12240 else
    12241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    12242 $as_echo "no" >&6; }
    12243 fi
    12244 
    12245 
    12246     test -n "$CXX" && break
    12247   done
    12248 fi
    12249 if test -z "$CXX"; then
    12250   ac_ct_CXX=$CXX
    12251   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
    12252 do
    12253   # Extract the first word of "$ac_prog", so it can be a program name with args.
    12254 set dummy $ac_prog; ac_word=$2
    12255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    12256 $as_echo_n "checking for $ac_word... " >&6; }
    12257 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
    12258   $as_echo_n "(cached) " >&6
    12259 else
    12260   if test -n "$ac_ct_CXX"; then
    12261   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
    12262 else
    12263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    12264 for as_dir in $PATH
    12265 do
    12266   IFS=$as_save_IFS
    12267   test -z "$as_dir" && as_dir=.
    12268     for ac_exec_ext in '' $ac_executable_extensions; do
    12269   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    12270     ac_cv_prog_ac_ct_CXX="$ac_prog"
    12271     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    12272     break 2
    12273   fi
    12274 done
    12275   done
    12276 IFS=$as_save_IFS
    12277 
    12278 fi
    12279 fi
    12280 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    12281 if test -n "$ac_ct_CXX"; then
    12282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
    12283 $as_echo "$ac_ct_CXX" >&6; }
    12284 else
    12285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    12286 $as_echo "no" >&6; }
    12287 fi
    12288 
    12289 
    12290   test -n "$ac_ct_CXX" && break
    12291 done
    12292 
    12293   if test "x$ac_ct_CXX" = x; then
    12294     CXX="g++"
    12295   else
    12296     case $cross_compiling:$ac_tool_warned in
    12297 yes:)
    12298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    12299 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    12300 ac_tool_warned=yes ;;
    12301 esac
    12302     CXX=$ac_ct_CXX
    12303   fi
    12304 fi
    12305 
    12306   fi
    12307 fi
    12308 # Provide some information about the compiler.
    12309 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
    12310 set X $ac_compile
    12311 ac_compiler=$2
    12312 for ac_option in --version -v -V -qversion; do
    12313   { { ac_try="$ac_compiler $ac_option >&5"
    12314 case "(($ac_try" in
    12315   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    12316   *) ac_try_echo=$ac_try;;
    12317 esac
    12318 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    12319 $as_echo "$ac_try_echo"; } >&5
    12320   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    12321   ac_status=$?
    12322   if test -s conftest.err; then
    12323     sed '10a\
    12324 ... rest of stderr output deleted ...
    12325          10q' conftest.err >conftest.er1
    12326     cat conftest.er1 >&5
    12327   fi
    12328   rm -f conftest.er1 conftest.err
    12329   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    12330   test $ac_status = 0; }
    12331 done
    12332 
    12333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
    12334 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
    12335 if ${ac_cv_cxx_compiler_gnu+:} false; then :
    12336   $as_echo_n "(cached) " >&6
    12337 else
    12338   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    12339 /* end confdefs.h.  */
    12340 
    12341 int
    12342 main ()
    12343 {
    12344 #ifndef __GNUC__
    12345        choke me
    12346 #endif
    12347 
    12348   ;
    12349   return 0;
    12350 }
    12351 _ACEOF
    12352 if ac_fn_cxx_try_compile "$LINENO"; then :
    12353   ac_compiler_gnu=yes
    12354 else
    12355   ac_compiler_gnu=no
    12356 fi
    12357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    12358 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    12359 
    12360 fi
    12361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
    12362 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
    12363 if test $ac_compiler_gnu = yes; then
    12364   GXX=yes
    12365 else
    12366   GXX=
    12367 fi
    12368 ac_test_CXXFLAGS=${CXXFLAGS+set}
    12369 ac_save_CXXFLAGS=$CXXFLAGS
    12370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
    12371 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
    12372 if ${ac_cv_prog_cxx_g+:} false; then :
    12373   $as_echo_n "(cached) " >&6
    12374 else
    12375   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
    12376    ac_cxx_werror_flag=yes
    12377    ac_cv_prog_cxx_g=no
    12378    CXXFLAGS="-g"
    12379    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    12380 /* end confdefs.h.  */
    12381 
    12382 int
    12383 main ()
    12384 {
    12385 
    12386   ;
    12387   return 0;
    12388 }
    12389 _ACEOF
    12390 if ac_fn_cxx_try_compile "$LINENO"; then :
    12391   ac_cv_prog_cxx_g=yes
    12392 else
    12393   CXXFLAGS=""
    12394       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    12395 /* end confdefs.h.  */
    12396 
    12397 int
    12398 main ()
    12399 {
    12400 
    12401   ;
    12402   return 0;
    12403 }
    12404 _ACEOF
    12405 if ac_fn_cxx_try_compile "$LINENO"; then :
    12406 
    12407 else
    12408   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    12409          CXXFLAGS="-g"
    12410          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    12411 /* end confdefs.h.  */
    12412 
    12413 int
    12414 main ()
    12415 {
    12416 
    12417   ;
    12418   return 0;
    12419 }
    12420 _ACEOF
    12421 if ac_fn_cxx_try_compile "$LINENO"; then :
    12422   ac_cv_prog_cxx_g=yes
    12423 fi
    12424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    12425 fi
    12426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    12427 fi
    12428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    12429    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    12430 fi
    12431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
    12432 $as_echo "$ac_cv_prog_cxx_g" >&6; }
    12433 if test "$ac_test_CXXFLAGS" = set; then
    12434   CXXFLAGS=$ac_save_CXXFLAGS
    12435 elif test $ac_cv_prog_cxx_g = yes; then
    12436   if test "$GXX" = yes; then
    12437     CXXFLAGS="-g -O2"
    12438   else
    12439     CXXFLAGS="-g"
    12440   fi
    12441 else
    12442   if test "$GXX" = yes; then
    12443     CXXFLAGS="-O2"
    12444   else
    12445     CXXFLAGS=
    12446   fi
    12447 fi
    12448 ac_ext=c
    12449 ac_cpp='$CPP $CPPFLAGS'
    12450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    12451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    12452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    12453 
    12454 depcc="$CXX"  am_compiler_list=
    12455 
    12456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
    12457 $as_echo_n "checking dependency style of $depcc... " >&6; }
    12458 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
    12459   $as_echo_n "(cached) " >&6
    12460 else
    12461   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
    12462   # We make a subdir and do the tests there.  Otherwise we can end up
    12463   # making bogus files that we don't know about and never remove.  For
    12464   # instance it was reported that on HP-UX the gcc test will end up
    12465   # making a dummy file named 'D' -- because '-MD' means "put the output
    12466   # in D".
    12467   rm -rf conftest.dir
    12468   mkdir conftest.dir
    12469   # Copy depcomp to subdir because otherwise we won't find it if we're
    12470   # using a relative directory.
    12471   cp "$am_depcomp" conftest.dir
    12472   cd conftest.dir
    12473   # We will build objects and dependencies in a subdirectory because
    12474   # it helps to detect inapplicable dependency modes.  For instance
    12475   # both Tru64's cc and ICC support -MD to output dependencies as a
    12476   # side effect of compilation, but ICC will put the dependencies in
    12477   # the current directory while Tru64 will put them in the object
    12478   # directory.
    12479   mkdir sub
    12480 
    12481   am_cv_CXX_dependencies_compiler_type=none
    12482   if test "$am_compiler_list" = ""; then
    12483      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
    12484   fi
    12485   am__universal=false
    12486   case " $depcc " in #(
    12487      *\ -arch\ *\ -arch\ *) am__universal=true ;;
    12488      esac
    12489 
    12490   for depmode in $am_compiler_list; do
    12491     # Setup a source with many dependencies, because some compilers
    12492     # like to wrap large dependency lists on column 80 (with \), and
    12493     # we should not choose a depcomp mode which is confused by this.
    12494     #
    12495     # We need to recreate these files for each test, as the compiler may
    12496     # overwrite some of them when testing with obscure command lines.
    12497     # This happens at least with the AIX C compiler.
    12498     : > sub/conftest.c
    12499     for i in 1 2 3 4 5 6; do
    12500       echo '#include "conftst'$i'.h"' >> sub/conftest.c
    12501       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
    12502       # Solaris 10 /bin/sh.
    12503       echo '/* dummy */' > sub/conftst$i.h
    12504     done
    12505     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
    12506 
    12507     # We check with '-c' and '-o' for the sake of the "dashmstdout"
    12508     # mode.  It turns out that the SunPro C++ compiler does not properly
    12509     # handle '-M -o', and we need to detect this.  Also, some Intel
    12510     # versions had trouble with output in subdirs.
    12511     am__obj=sub/conftest.${OBJEXT-o}
    12512     am__minus_obj="-o $am__obj"
    12513     case $depmode in
    12514     gcc)
    12515       # This depmode causes a compiler race in universal mode.
    12516       test "$am__universal" = false || continue
    12517       ;;
    12518     nosideeffect)
    12519       # After this tag, mechanisms are not by side-effect, so they'll
    12520       # only be used when explicitly requested.
    12521       if test "x$enable_dependency_tracking" = xyes; then
    12522         continue
    12523       else
    12524         break
    12525       fi
    12526       ;;
    12527     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
    12528       # This compiler won't grok '-c -o', but also, the minuso test has
    12529       # not run yet.  These depmodes are late enough in the game, and
    12530       # so weak that their functioning should not be impacted.
    12531       am__obj=conftest.${OBJEXT-o}
    12532       am__minus_obj=
    12533       ;;
    12534     none) break ;;
    12535     esac
    12536     if depmode=$depmode \
    12537        source=sub/conftest.c object=$am__obj \
    12538        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
    12539        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
    12540          >/dev/null 2>conftest.err &&
    12541        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
    12542        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
    12543        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
    12544        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
    12545       # icc doesn't choke on unknown options, it will just issue warnings
    12546       # or remarks (even with -Werror).  So we grep stderr for any message
    12547       # that says an option was ignored or not supported.
    12548       # When given -MP, icc 7.0 and 7.1 complain thusly:
    12549       #   icc: Command line warning: ignoring option '-M'; no argument required
    12550       # The diagnosis changed in icc 8.0:
    12551       #   icc: Command line remark: option '-MP' not supported
    12552       if (grep 'ignoring option' conftest.err ||
    12553           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
    12554         am_cv_CXX_dependencies_compiler_type=$depmode
    12555         break
    12556       fi
    12557     fi
    12558   done
    12559 
    12560   cd ..
    12561   rm -rf conftest.dir
    12562 else
    12563   am_cv_CXX_dependencies_compiler_type=none
    12564 fi
    12565 
    12566 fi
    12567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
    12568 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
    12569 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
    12570 
    12571  if
    12572   test "x$enable_dependency_tracking" != xno \
    12573   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
    12574   am__fastdepCXX_TRUE=
    12575   am__fastdepCXX_FALSE='#'
    12576 else
    12577   am__fastdepCXX_TRUE='#'
    12578   am__fastdepCXX_FALSE=
    12579 fi
    12580 
    12581 
    12582 
    12583 
    12584 func_stripname_cnf ()
    12585 {
    12586   case $2 in
    12587   .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
    12588   *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
    12589   esac
    12590 } # func_stripname_cnf
    12591 
    12592       if test -n "$CXX" && ( test no != "$CXX" &&
    12593     ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
    12594     (test g++ != "$CXX"))); then
    12595   ac_ext=cpp
    12596 ac_cpp='$CXXCPP $CPPFLAGS'
    12597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    12598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    12599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    12600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
    12601 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
    12602 if test -z "$CXXCPP"; then
    12603   if ${ac_cv_prog_CXXCPP+:} false; then :
    12604   $as_echo_n "(cached) " >&6
    12605 else
    12606       # Double quotes because CXXCPP needs to be expanded
    12607     for CXXCPP in "$CXX -E" "/lib/cpp"
    12608     do
    12609       ac_preproc_ok=false
    12610 for ac_cxx_preproc_warn_flag in '' yes
    12611 do
    12612   # Use a header file that comes with gcc, so configuring glibc
    12613   # with a fresh cross-compiler works.
    12614   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    12615   # <limits.h> exists even on freestanding compilers.
    12616   # On the NeXT, cc -E runs the code through the compiler's parser,
    12617   # not just through cpp. "Syntax error" is here to catch this case.
    12618   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    12619 /* end confdefs.h.  */
    12620 #ifdef __STDC__
    12621 # include <limits.h>
    12622 #else
    12623 # include <assert.h>
    12624 #endif
    12625                      Syntax error
    12626 _ACEOF
    12627 if ac_fn_cxx_try_cpp "$LINENO"; then :
    12628 
    12629 else
    12630   # Broken: fails on valid input.
    12631 continue
    12632 fi
    12633 rm -f conftest.err conftest.i conftest.$ac_ext
    12634 
    12635   # OK, works on sane cases.  Now check whether nonexistent headers
    12636   # can be detected and how.
    12637   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    12638 /* end confdefs.h.  */
    12639 #include <ac_nonexistent.h>
    12640 _ACEOF
    12641 if ac_fn_cxx_try_cpp "$LINENO"; then :
    12642   # Broken: success on invalid input.
    12643 continue
    12644 else
    12645   # Passes both tests.
    12646 ac_preproc_ok=:
    12647 break
    12648 fi
    12649 rm -f conftest.err conftest.i conftest.$ac_ext
    12650 
    12651 done
    12652 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    12653 rm -f conftest.i conftest.err conftest.$ac_ext
    12654 if $ac_preproc_ok; then :
    12655   break
    12656 fi
    12657 
    12658     done
    12659     ac_cv_prog_CXXCPP=$CXXCPP
    12660 
    12661 fi
    12662   CXXCPP=$ac_cv_prog_CXXCPP
    12663 else
    12664   ac_cv_prog_CXXCPP=$CXXCPP
    12665 fi
    12666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
    12667 $as_echo "$CXXCPP" >&6; }
    12668 ac_preproc_ok=false
    12669 for ac_cxx_preproc_warn_flag in '' yes
    12670 do
    12671   # Use a header file that comes with gcc, so configuring glibc
    12672   # with a fresh cross-compiler works.
    12673   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    12674   # <limits.h> exists even on freestanding compilers.
    12675   # On the NeXT, cc -E runs the code through the compiler's parser,
    12676   # not just through cpp. "Syntax error" is here to catch this case.
    12677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    12678 /* end confdefs.h.  */
    12679 #ifdef __STDC__
    12680 # include <limits.h>
    12681 #else
    12682 # include <assert.h>
    12683 #endif
    12684                      Syntax error
    12685 _ACEOF
    12686 if ac_fn_cxx_try_cpp "$LINENO"; then :
    12687 
    12688 else
    12689   # Broken: fails on valid input.
    12690 continue
    12691 fi
    12692 rm -f conftest.err conftest.i conftest.$ac_ext
    12693 
    12694   # OK, works on sane cases.  Now check whether nonexistent headers
    12695   # can be detected and how.
    12696   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    12697 /* end confdefs.h.  */
    12698 #include <ac_nonexistent.h>
    12699 _ACEOF
    12700 if ac_fn_cxx_try_cpp "$LINENO"; then :
    12701   # Broken: success on invalid input.
    12702 continue
    12703 else
    12704   # Passes both tests.
    12705 ac_preproc_ok=:
    12706 break
    12707 fi
    12708 rm -f conftest.err conftest.i conftest.$ac_ext
    12709 
    12710 done
    12711 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    12712 rm -f conftest.i conftest.err conftest.$ac_ext
    12713 if $ac_preproc_ok; then :
    12714 
    12715 else
    12716   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    12717 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    12718 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
    12719 See \`config.log' for more details" "$LINENO" 5; }
    12720 fi
    12721 
    12722 ac_ext=c
    12723 ac_cpp='$CPP $CPPFLAGS'
    12724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    12725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    12726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    12727 
    12728 else
    12729   _lt_caught_CXX_error=yes
    12730 fi
    12731 
    12732 ac_ext=cpp
    12733 ac_cpp='$CXXCPP $CPPFLAGS'
    12734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    12735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    12736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    12737 
    12738 archive_cmds_need_lc_CXX=no
    12739 allow_undefined_flag_CXX=
    12740 always_export_symbols_CXX=no
    12741 archive_expsym_cmds_CXX=
    12742 compiler_needs_object_CXX=no
    12743 export_dynamic_flag_spec_CXX=
    12744 hardcode_direct_CXX=no
    12745 hardcode_direct_absolute_CXX=no
    12746 hardcode_libdir_flag_spec_CXX=
    12747 hardcode_libdir_separator_CXX=
    12748 hardcode_minus_L_CXX=no
    12749 hardcode_shlibpath_var_CXX=unsupported
    12750 hardcode_automatic_CXX=no
    12751 inherit_rpath_CXX=no
    12752 module_cmds_CXX=
    12753 module_expsym_cmds_CXX=
    12754 link_all_deplibs_CXX=unknown
    12755 old_archive_cmds_CXX=$old_archive_cmds
    12756 reload_flag_CXX=$reload_flag
    12757 reload_cmds_CXX=$reload_cmds
    12758 no_undefined_flag_CXX=
    12759 whole_archive_flag_spec_CXX=
    12760 enable_shared_with_static_runtimes_CXX=no
    12761 
    12762 # Source file extension for C++ test sources.
    12763 ac_ext=cpp
    12764 
    12765 # Object file extension for compiled C++ test sources.
    12766 objext=o
    12767 objext_CXX=$objext
    12768 
    12769 # No sense in running all these tests if we already determined that
    12770 # the CXX compiler isn't working.  Some variables (like enable_shared)
    12771 # are currently assumed to apply to all compilers on this platform,
    12772 # and will be corrupted by setting them based on a non-working compiler.
    12773 if test yes != "$_lt_caught_CXX_error"; then
    12774   # Code to be used in simple compile tests
    12775   lt_simple_compile_test_code="int some_variable = 0;"
    12776 
    12777   # Code to be used in simple link tests
    12778   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
    12779 
    12780   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
    12781 
    12782 
    12783 
    12784 
    12785 
    12786 
    12787 # If no C compiler was specified, use CC.
    12788 LTCC=${LTCC-"$CC"}
    12789 
    12790 # If no C compiler flags were specified, use CFLAGS.
    12791 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
    12792 
    12793 # Allow CC to be a program name with arguments.
    12794 compiler=$CC
    12795 
    12796 
    12797   # save warnings/boilerplate of simple test code
    12798   ac_outfile=conftest.$ac_objext
    12799 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
    12800 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
    12801 _lt_compiler_boilerplate=`cat conftest.err`
    12802 $RM conftest*
    12803 
    12804   ac_outfile=conftest.$ac_objext
    12805 echo "$lt_simple_link_test_code" >conftest.$ac_ext
    12806 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
    12807 _lt_linker_boilerplate=`cat conftest.err`
    12808 $RM -r conftest*
    12809 
    12810 
    12811   # Allow CC to be a program name with arguments.
    12812   lt_save_CC=$CC
    12813   lt_save_CFLAGS=$CFLAGS
    12814   lt_save_LD=$LD
    12815   lt_save_GCC=$GCC
    12816   GCC=$GXX
    12817   lt_save_with_gnu_ld=$with_gnu_ld
    12818   lt_save_path_LD=$lt_cv_path_LD
    12819   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
    12820     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
    12821   else
    12822     $as_unset lt_cv_prog_gnu_ld
    12823   fi
    12824   if test -n "${lt_cv_path_LDCXX+set}"; then
    12825     lt_cv_path_LD=$lt_cv_path_LDCXX
    12826   else
    12827     $as_unset lt_cv_path_LD
    12828   fi
    12829   test -z "${LDCXX+set}" || LD=$LDCXX
    12830   CC=${CXX-"c++"}
    12831   CFLAGS=$CXXFLAGS
    12832   compiler=$CC
    12833   compiler_CXX=$CC
    12834   func_cc_basename $compiler
    12835 cc_basename=$func_cc_basename_result
    12836 
    12837 
    12838   if test -n "$compiler"; then
    12839     # We don't want -fno-exception when compiling C++ code, so set the
    12840     # no_builtin_flag separately
    12841     if test yes = "$GXX"; then
    12842       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
    12843     else
    12844       lt_prog_compiler_no_builtin_flag_CXX=
    12845     fi
    12846 
    12847     if test yes = "$GXX"; then
    12848       # Set up default GNU C++ configuration
    12849 
    12850 
    12851 
    12852 # Check whether --with-gnu-ld was given.
    12853 if test "${with_gnu_ld+set}" = set; then :
    12854   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
    12855 else
    12856   with_gnu_ld=no
    12857 fi
    12858 
    12859 ac_prog=ld
    12860 if test yes = "$GCC"; then
    12861   # Check if gcc -print-prog-name=ld gives a path.
    12862   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
    12863 $as_echo_n "checking for ld used by $CC... " >&6; }
    12864   case $host in
    12865   *-*-mingw*)
    12866     # gcc leaves a trailing carriage return, which upsets mingw
    12867     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
    12868   *)
    12869     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
    12870   esac
    12871   case $ac_prog in
    12872     # Accept absolute paths.
    12873     [\\/]* | ?:[\\/]*)
    12874       re_direlt='/[^/][^/]*/\.\./'
    12875       # Canonicalize the pathname of ld
    12876       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
    12877       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
    12878         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
    12879       done
    12880       test -z "$LD" && LD=$ac_prog
    12881       ;;
    12882   "")
    12883     # If it fails, then pretend we aren't using GCC.
    12884     ac_prog=ld
    12885     ;;
    12886   *)
    12887     # If it is relative, then search for the first ld in PATH.
    12888     with_gnu_ld=unknown
    12889     ;;
    12890   esac
    12891 elif test yes = "$with_gnu_ld"; then
    12892   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
    12893 $as_echo_n "checking for GNU ld... " >&6; }
    12894 else
    12895   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
    12896 $as_echo_n "checking for non-GNU ld... " >&6; }
    12897 fi
    12898 if ${lt_cv_path_LD+:} false; then :
    12899   $as_echo_n "(cached) " >&6
    12900 else
    12901   if test -z "$LD"; then
    12902   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
    12903   for ac_dir in $PATH; do
    12904     IFS=$lt_save_ifs
    12905     test -z "$ac_dir" && ac_dir=.
    12906     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
    12907       lt_cv_path_LD=$ac_dir/$ac_prog
    12908       # Check to see if the program is GNU ld.  I'd rather use --version,
    12909       # but apparently some variants of GNU ld only accept -v.
    12910       # Break only if it was the GNU/non-GNU ld that we prefer.
    12911       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
    12912       *GNU* | *'with BFD'*)
    12913         test no != "$with_gnu_ld" && break
    12914         ;;
    12915       *)
    12916         test yes != "$with_gnu_ld" && break
    12917         ;;
    12918       esac
    12919     fi
    12920   done
    12921   IFS=$lt_save_ifs
    12922 else
    12923   lt_cv_path_LD=$LD # Let the user override the test with a path.
    12924 fi
    12925 fi
    12926 
    12927 LD=$lt_cv_path_LD
    12928 if test -n "$LD"; then
    12929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
    12930 $as_echo "$LD" >&6; }
    12931 else
    12932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    12933 $as_echo "no" >&6; }
    12934 fi
    12935 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
    12936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
    12937 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
    12938 if ${lt_cv_prog_gnu_ld+:} false; then :
    12939   $as_echo_n "(cached) " >&6
    12940 else
    12941   # I'd rather use --version here, but apparently some GNU lds only accept -v.
    12942 case `$LD -v 2>&1 </dev/null` in
    12943 *GNU* | *'with BFD'*)
    12944   lt_cv_prog_gnu_ld=yes
    12945   ;;
    12946 *)
    12947   lt_cv_prog_gnu_ld=no
    12948   ;;
    12949 esac
    12950 fi
    12951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
    12952 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
    12953 with_gnu_ld=$lt_cv_prog_gnu_ld
    12954 
    12955 
    12956 
    12957 
    12958 
    12959 
    12960 
    12961       # Check if GNU C++ uses GNU ld as the underlying linker, since the
    12962       # archiving commands below assume that GNU ld is being used.
    12963       if test yes = "$with_gnu_ld"; then
    12964         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
    12965         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'
    12966 
    12967         hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
    12968         export_dynamic_flag_spec_CXX='$wl--export-dynamic'
    12969 
    12970         # If archive_cmds runs LD, not CC, wlarc should be empty
    12971         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
    12972         #     investigate it a little bit more. (MM)
    12973         wlarc='$wl'
    12974 
    12975         # ancient GNU ld didn't support --whole-archive et. al.
    12976         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
    12977           $GREP 'no-whole-archive' > /dev/null; then
    12978           whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
    12979         else
    12980           whole_archive_flag_spec_CXX=
    12981         fi
    12982       else
    12983         with_gnu_ld=no
    12984         wlarc=
    12985 
    12986         # A generic and very simple default shared library creation
    12987         # command for GNU C++ for the case where it uses the native
    12988         # linker, instead of GNU ld.  If possible, this setting should
    12989         # overridden to take advantage of the native linker features on
    12990         # the platform it is being used on.
    12991         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
    12992       fi
    12993 
    12994       # Commands to make compiler produce verbose output that lists
    12995       # what "hidden" libraries, object files and flags are used when
    12996       # linking a shared library.
    12997       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
    12998 
    12999     else
    13000       GXX=no
    13001       with_gnu_ld=no
    13002       wlarc=
    13003     fi
    13004 
    13005     # PORTME: fill in a description of your system's C++ link characteristics
    13006     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
    13007 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
    13008     ld_shlibs_CXX=yes
    13009     case $host_os in
    13010       aix3*)
    13011         # FIXME: insert proper C++ library support
    13012         ld_shlibs_CXX=no
    13013         ;;
    13014       aix[4-9]*)
    13015         if test ia64 = "$host_cpu"; then
    13016           # On IA64, the linker does run time linking by default, so we don't
    13017           # have to do anything special.
    13018           aix_use_runtimelinking=no
    13019           exp_sym_flag='-Bexport'
    13020           no_entry_flag=
    13021         else
    13022           aix_use_runtimelinking=no
    13023 
    13024           # Test if we are trying to use run time linking or normal
    13025           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
    13026           # have runtime linking enabled, and use it for executables.
    13027           # For shared libraries, we enable/disable runtime linking
    13028           # depending on the kind of the shared library created -
    13029           # when "with_aix_soname,aix_use_runtimelinking" is:
    13030           # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
    13031           # "aix,yes"  lib.so          shared, rtl:yes, for executables
    13032           #            lib.a           static archive
    13033           # "both,no"  lib.so.V(shr.o) shared, rtl:yes
    13034           #            lib.a(lib.so.V) shared, rtl:no,  for executables
    13035           # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
    13036           #            lib.a(lib.so.V) shared, rtl:no
    13037           # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
    13038           #            lib.a           static archive
    13039           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
    13040             for ld_flag in $LDFLAGS; do
    13041               case $ld_flag in
    13042               *-brtl*)
    13043                 aix_use_runtimelinking=yes
    13044                 break
    13045                 ;;
    13046               esac
    13047             done
    13048             if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
    13049               # With aix-soname=svr4, we create the lib.so.V shared archives only,
    13050               # so we don't have lib.a shared libs to link our executables.
    13051               # We have to force runtime linking in this case.
    13052               aix_use_runtimelinking=yes
    13053               LDFLAGS="$LDFLAGS -Wl,-brtl"
    13054             fi
    13055             ;;
    13056           esac
    13057 
    13058           exp_sym_flag='-bexport'
    13059           no_entry_flag='-bnoentry'
    13060         fi
    13061 
    13062         # When large executables or shared objects are built, AIX ld can
    13063         # have problems creating the table of contents.  If linking a library
    13064         # or program results in "error TOC overflow" add -mminimal-toc to
    13065         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
    13066         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
    13067 
    13068         archive_cmds_CXX=''
    13069         hardcode_direct_CXX=yes
    13070         hardcode_direct_absolute_CXX=yes
    13071         hardcode_libdir_separator_CXX=':'
    13072         link_all_deplibs_CXX=yes
    13073         file_list_spec_CXX='$wl-f,'
    13074         case $with_aix_soname,$aix_use_runtimelinking in
    13075         aix,*) ;;       # no import file
    13076         svr4,* | *,yes) # use import file
    13077           # The Import File defines what to hardcode.
    13078           hardcode_direct_CXX=no
    13079           hardcode_direct_absolute_CXX=no
    13080           ;;
    13081         esac
    13082 
    13083         if test yes = "$GXX"; then
    13084           case $host_os in aix4.[012]|aix4.[012].*)
    13085           # We only want to do this on AIX 4.2 and lower, the check
    13086           # below for broken collect2 doesn't work under 4.3+
    13087           collect2name=`$CC -print-prog-name=collect2`
    13088           if test -f "$collect2name" &&
    13089              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
    13090           then
    13091             # We have reworked collect2
    13092             :
    13093           else
    13094             # We have old collect2
    13095             hardcode_direct_CXX=unsupported
    13096             # It fails to find uninstalled libraries when the uninstalled
    13097             # path is not listed in the libpath.  Setting hardcode_minus_L
    13098             # to unsupported forces relinking
    13099             hardcode_minus_L_CXX=yes
    13100             hardcode_libdir_flag_spec_CXX='-L$libdir'
    13101             hardcode_libdir_separator_CXX=
    13102           fi
    13103           esac
    13104           shared_flag='-shared'
    13105           if test yes = "$aix_use_runtimelinking"; then
    13106             shared_flag=$shared_flag' $wl-G'
    13107           fi
    13108           # Need to ensure runtime linking is disabled for the traditional
    13109           # shared library, or the linker may eventually find shared libraries
    13110           # /with/ Import File - we do not want to mix them.
    13111           shared_flag_aix='-shared'
    13112           shared_flag_svr4='-shared $wl-G'
    13113         else
    13114           # not using gcc
    13115           if test ia64 = "$host_cpu"; then
    13116           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
    13117           # chokes on -Wl,-G. The following line is correct:
    13118           shared_flag='-G'
    13119           else
    13120             if test yes = "$aix_use_runtimelinking"; then
    13121               shared_flag='$wl-G'
    13122             else
    13123               shared_flag='$wl-bM:SRE'
    13124             fi
    13125             shared_flag_aix='$wl-bM:SRE'
    13126             shared_flag_svr4='$wl-G'
    13127           fi
    13128         fi
    13129 
    13130         export_dynamic_flag_spec_CXX='$wl-bexpall'
    13131         # It seems that -bexpall does not export symbols beginning with
    13132         # underscore (_), so it is better to generate a list of symbols to
    13133         # export.
    13134         always_export_symbols_CXX=yes
    13135         if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
    13136           # Warning - without using the other runtime loading flags (-brtl),
    13137           # -berok will link without error, but may produce a broken library.
    13138           # The "-G" linker flag allows undefined symbols.
    13139           no_undefined_flag_CXX='-bernotok'
    13140           # Determine the default libpath from the value encoded in an empty
    13141           # executable.
    13142           if test set = "${lt_cv_aix_libpath+set}"; then
    13143   aix_libpath=$lt_cv_aix_libpath
    13144 else
    13145   if ${lt_cv_aix_libpath__CXX+:} false; then :
    13146   $as_echo_n "(cached) " >&6
    13147 else
    13148   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    13149 /* end confdefs.h.  */
    13150 
    13151 int
    13152 main ()
    13153 {
    13154 
    13155   ;
    13156   return 0;
    13157 }
    13158 _ACEOF
    13159 if ac_fn_cxx_try_link "$LINENO"; then :
    13160 
    13161   lt_aix_libpath_sed='
    13162       /Import File Strings/,/^$/ {
    13163           /^0/ {
    13164               s/^0  *\([^ ]*\) *$/\1/
    13165               p
    13166           }
    13167       }'
    13168   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
    13169   # Check for a 64-bit object if we didn't find anything.
    13170   if test -z "$lt_cv_aix_libpath__CXX"; then
    13171     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
    13172   fi
    13173 fi
    13174 rm -f core conftest.err conftest.$ac_objext \
    13175     conftest$ac_exeext conftest.$ac_ext
    13176   if test -z "$lt_cv_aix_libpath__CXX"; then
    13177     lt_cv_aix_libpath__CXX=/usr/lib:/lib
    13178   fi
    13179 
    13180 fi
    13181 
    13182   aix_libpath=$lt_cv_aix_libpath__CXX
    13183 fi
    13184 
    13185           hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
    13186 
    13187           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
    13188         else
    13189           if test ia64 = "$host_cpu"; then
    13190             hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
    13191             allow_undefined_flag_CXX="-z nodefs"
    13192             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"
    13193           else
    13194             # Determine the default libpath from the value encoded in an
    13195             # empty executable.
    13196             if test set = "${lt_cv_aix_libpath+set}"; then
    13197   aix_libpath=$lt_cv_aix_libpath
    13198 else
    13199   if ${lt_cv_aix_libpath__CXX+:} false; then :
    13200   $as_echo_n "(cached) " >&6
    13201 else
    13202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    13203 /* end confdefs.h.  */
    13204 
    13205 int
    13206 main ()
    13207 {
    13208 
    13209   ;
    13210   return 0;
    13211 }
    13212 _ACEOF
    13213 if ac_fn_cxx_try_link "$LINENO"; then :
    13214 
    13215   lt_aix_libpath_sed='
    13216       /Import File Strings/,/^$/ {
    13217           /^0/ {
    13218               s/^0  *\([^ ]*\) *$/\1/
    13219               p
    13220           }
    13221       }'
    13222   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
    13223   # Check for a 64-bit object if we didn't find anything.
    13224   if test -z "$lt_cv_aix_libpath__CXX"; then
    13225     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
    13226   fi
    13227 fi
    13228 rm -f core conftest.err conftest.$ac_objext \
    13229     conftest$ac_exeext conftest.$ac_ext
    13230   if test -z "$lt_cv_aix_libpath__CXX"; then
    13231     lt_cv_aix_libpath__CXX=/usr/lib:/lib
    13232   fi
    13233 
    13234 fi
    13235 
    13236   aix_libpath=$lt_cv_aix_libpath__CXX
    13237 fi
    13238 
    13239             hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
    13240             # Warning - without using the other run time loading flags,
    13241             # -berok will link without error, but may produce a broken library.
    13242             no_undefined_flag_CXX=' $wl-bernotok'
    13243             allow_undefined_flag_CXX=' $wl-berok'
    13244             if test yes = "$with_gnu_ld"; then
    13245               # We only use this code for GNU lds that support --whole-archive.
    13246               whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
    13247             else
    13248               # Exported symbols can be pulled into shared objects from archives
    13249               whole_archive_flag_spec_CXX='$convenience'
    13250             fi
    13251             archive_cmds_need_lc_CXX=yes
    13252             archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
    13253             # -brtl affects multiple linker settings, -berok does not and is overridden later
    13254             compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
    13255             if test svr4 != "$with_aix_soname"; then
    13256               # This is similar to how AIX traditionally builds its shared
    13257               # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
    13258               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'
    13259             fi
    13260             if test aix != "$with_aix_soname"; then
    13261               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'
    13262             else
    13263               # used by -dlpreopen to get the symbols
    13264               archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
    13265             fi
    13266             archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
    13267           fi
    13268         fi
    13269         ;;
    13270 
    13271       beos*)
    13272         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
    13273           allow_undefined_flag_CXX=unsupported
    13274           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
    13275           # support --undefined.  This deserves some investigation.  FIXME
    13276           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    13277         else
    13278           ld_shlibs_CXX=no
    13279         fi
    13280         ;;
    13281 
    13282       chorus*)
    13283         case $cc_basename in
    13284           *)
    13285           # FIXME: insert proper C++ library support
    13286           ld_shlibs_CXX=no
    13287           ;;
    13288         esac
    13289         ;;
    13290 
    13291       cygwin* | mingw* | pw32* | cegcc*)
    13292         case $GXX,$cc_basename in
    13293         ,cl* | no,cl*)
    13294           # Native MSVC
    13295           # hardcode_libdir_flag_spec is actually meaningless, as there is
    13296           # no search path for DLLs.
    13297           hardcode_libdir_flag_spec_CXX=' '
    13298           allow_undefined_flag_CXX=unsupported
    13299           always_export_symbols_CXX=yes
    13300           file_list_spec_CXX='@'
    13301           # Tell ltmain to make .lib files, not .a files.
    13302           libext=lib
    13303           # Tell ltmain to make .dll files, not .so files.
    13304           shrext_cmds=.dll
    13305           # FIXME: Setting linknames here is a bad hack.
    13306           archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
    13307           archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[     ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
    13308               cp "$export_symbols" "$output_objdir/$soname.def";
    13309               echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
    13310             else
    13311               $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
    13312             fi~
    13313             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
    13314             linknames='
    13315           # The linker will not automatically build a static lib if we build a DLL.
    13316           # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
    13317           enable_shared_with_static_runtimes_CXX=yes
    13318           # Don't use ranlib
    13319           old_postinstall_cmds_CXX='chmod 644 $oldlib'
    13320           postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
    13321             lt_tool_outputfile="@TOOL_OUTPUT@"~
    13322             case $lt_outputfile in
    13323               *.exe|*.EXE) ;;
    13324               *)
    13325                 lt_outputfile=$lt_outputfile.exe
    13326                 lt_tool_outputfile=$lt_tool_outputfile.exe
    13327                 ;;
    13328             esac~
    13329             func_to_tool_file "$lt_outputfile"~
    13330             if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
    13331               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
    13332               $RM "$lt_outputfile.manifest";
    13333             fi'
    13334           ;;
    13335         *)
    13336           # g++
    13337           # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
    13338           # as there is no search path for DLLs.
    13339           hardcode_libdir_flag_spec_CXX='-L$libdir'
    13340           export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
    13341           allow_undefined_flag_CXX=unsupported
    13342           always_export_symbols_CXX=no
    13343           enable_shared_with_static_runtimes_CXX=yes
    13344 
    13345           if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
    13346             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'
    13347             # If the export-symbols file already is a .def file, use it as
    13348             # is; otherwise, prepend EXPORTS...
    13349             archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
    13350               cp $export_symbols $output_objdir/$soname.def;
    13351             else
    13352               echo EXPORTS > $output_objdir/$soname.def;
    13353               cat $export_symbols >> $output_objdir/$soname.def;
    13354             fi~
    13355             $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'
    13356           else
    13357             ld_shlibs_CXX=no
    13358           fi
    13359           ;;
    13360         esac
    13361         ;;
    13362       darwin* | rhapsody*)
    13363 
    13364 
    13365   archive_cmds_need_lc_CXX=no
    13366   hardcode_direct_CXX=no
    13367   hardcode_automatic_CXX=yes
    13368   hardcode_shlibpath_var_CXX=unsupported
    13369   if test yes = "$lt_cv_ld_force_load"; then
    13370     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\"`'
    13371 
    13372   else
    13373     whole_archive_flag_spec_CXX=''
    13374   fi
    13375   link_all_deplibs_CXX=yes
    13376   allow_undefined_flag_CXX=$_lt_dar_allow_undefined
    13377   case $cc_basename in
    13378      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
    13379      *) _lt_dar_can_shared=$GCC ;;
    13380   esac
    13381   if test yes = "$_lt_dar_can_shared"; then
    13382     output_verbose_link_cmd=func_echo_all
    13383     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"
    13384     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
    13385     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"
    13386     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"
    13387        if test yes != "$lt_cv_apple_cc_single_mod"; then
    13388       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"
    13389       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"
    13390     fi
    13391 
    13392   else
    13393   ld_shlibs_CXX=no
    13394   fi
    13395 
    13396         ;;
    13397 
    13398       os2*)
    13399         hardcode_libdir_flag_spec_CXX='-L$libdir'
    13400         hardcode_minus_L_CXX=yes
    13401         allow_undefined_flag_CXX=unsupported
    13402         shrext_cmds=.dll
    13403         archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
    13404           $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
    13405           $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
    13406           $ECHO EXPORTS >> $output_objdir/$libname.def~
    13407           emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
    13408           $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
    13409           emximp -o $lib $output_objdir/$libname.def'
    13410         archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
    13411           $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
    13412           $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
    13413           $ECHO EXPORTS >> $output_objdir/$libname.def~
    13414           prefix_cmds="$SED"~
    13415           if test EXPORTS = "`$SED 1q $export_symbols`"; then
    13416             prefix_cmds="$prefix_cmds -e 1d";
    13417           fi~
    13418           prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
    13419           cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
    13420           $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
    13421           emximp -o $lib $output_objdir/$libname.def'
    13422         old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
    13423         enable_shared_with_static_runtimes_CXX=yes
    13424         ;;
    13425 
    13426       dgux*)
    13427         case $cc_basename in
    13428           ec++*)
    13429             # FIXME: insert proper C++ library support
    13430             ld_shlibs_CXX=no
    13431             ;;
    13432           ghcx*)
    13433             # Green Hills C++ Compiler
    13434             # FIXME: insert proper C++ library support
    13435             ld_shlibs_CXX=no
    13436             ;;
    13437           *)
    13438             # FIXME: insert proper C++ library support
    13439             ld_shlibs_CXX=no
    13440             ;;
    13441         esac
    13442         ;;
    13443 
    13444       freebsd2.*)
    13445         # C++ shared libraries reported to be fairly broken before
    13446         # switch to ELF
    13447         ld_shlibs_CXX=no
    13448         ;;
    13449 
    13450       freebsd-elf*)
    13451         archive_cmds_need_lc_CXX=no
    13452         ;;
    13453 
    13454       freebsd* | dragonfly*)
    13455         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
    13456         # conventions
    13457         ld_shlibs_CXX=yes
    13458         ;;
    13459 
    13460       haiku*)
    13461         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    13462         link_all_deplibs_CXX=yes
    13463         ;;
    13464 
    13465       hpux9*)
    13466         hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
    13467         hardcode_libdir_separator_CXX=:
    13468         export_dynamic_flag_spec_CXX='$wl-E'
    13469         hardcode_direct_CXX=yes
    13470         hardcode_minus_L_CXX=yes # Not in the search PATH,
    13471                                              # but as the default
    13472                                              # location of the library.
    13473 
    13474         case $cc_basename in
    13475           CC*)
    13476             # FIXME: insert proper C++ library support
    13477             ld_shlibs_CXX=no
    13478             ;;
    13479           aCC*)
    13480             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'
    13481             # Commands to make compiler produce verbose output that lists
    13482             # what "hidden" libraries, object files and flags are used when
    13483             # linking a shared library.
    13484             #
    13485             # There doesn't appear to be a way to prevent this compiler from
    13486             # explicitly linking system object files so we need to strip them
    13487             # from the output so that they don't get included in the library
    13488             # dependencies.
    13489             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"'
    13490             ;;
    13491           *)
    13492             if test yes = "$GXX"; then
    13493               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'
    13494             else
    13495               # FIXME: insert proper C++ library support
    13496               ld_shlibs_CXX=no
    13497             fi
    13498             ;;
    13499         esac
    13500         ;;
    13501 
    13502       hpux10*|hpux11*)
    13503         if test no = "$with_gnu_ld"; then
    13504           hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
    13505           hardcode_libdir_separator_CXX=:
    13506 
    13507           case $host_cpu in
    13508             hppa*64*|ia64*)
    13509               ;;
    13510             *)
    13511               export_dynamic_flag_spec_CXX='$wl-E'
    13512               ;;
    13513           esac
    13514         fi
    13515         case $host_cpu in
    13516           hppa*64*|ia64*)
    13517             hardcode_direct_CXX=no
    13518             hardcode_shlibpath_var_CXX=no
    13519             ;;
    13520           *)
    13521             hardcode_direct_CXX=yes
    13522             hardcode_direct_absolute_CXX=yes
    13523             hardcode_minus_L_CXX=yes # Not in the search PATH,
    13524                                                  # but as the default
    13525                                                  # location of the library.
    13526             ;;
    13527         esac
    13528 
    13529         case $cc_basename in
    13530           CC*)
    13531             # FIXME: insert proper C++ library support
    13532             ld_shlibs_CXX=no
    13533             ;;
    13534           aCC*)
    13535             case $host_cpu in
    13536               hppa*64*)
    13537                 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    13538                 ;;
    13539               ia64*)
    13540                 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    13541                 ;;
    13542               *)
    13543                 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    13544                 ;;
    13545             esac
    13546             # Commands to make compiler produce verbose output that lists
    13547             # what "hidden" libraries, object files and flags are used when
    13548             # linking a shared library.
    13549             #
    13550             # There doesn't appear to be a way to prevent this compiler from
    13551             # explicitly linking system object files so we need to strip them
    13552             # from the output so that they don't get included in the library
    13553             # dependencies.
    13554             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"'
    13555             ;;
    13556           *)
    13557             if test yes = "$GXX"; then
    13558               if test no = "$with_gnu_ld"; then
    13559                 case $host_cpu in
    13560                   hppa*64*)
    13561                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    13562                     ;;
    13563                   ia64*)
    13564                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    13565                     ;;
    13566                   *)
    13567                     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'
    13568                     ;;
    13569                 esac
    13570               fi
    13571             else
    13572               # FIXME: insert proper C++ library support
    13573               ld_shlibs_CXX=no
    13574             fi
    13575             ;;
    13576         esac
    13577         ;;
    13578 
    13579       interix[3-9]*)
    13580         hardcode_direct_CXX=no
    13581         hardcode_shlibpath_var_CXX=no
    13582         hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
    13583         export_dynamic_flag_spec_CXX='$wl-E'
    13584         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
    13585         # Instead, shared libraries are loaded at an image base (0x10000000 by
    13586         # default) and relocated if they conflict, which is a slow very memory
    13587         # consuming and fragmenting process.  To avoid this, we pick a random,
    13588         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
    13589         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
    13590         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'
    13591         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'
    13592         ;;
    13593       irix5* | irix6*)
    13594         case $cc_basename in
    13595           CC*)
    13596             # SGI C++
    13597             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'
    13598 
    13599             # Archives containing C++ object files must be created using
    13600             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
    13601             # necessary to make sure instantiated templates are included
    13602             # in the archive.
    13603             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
    13604             ;;
    13605           *)
    13606             if test yes = "$GXX"; then
    13607               if test no = "$with_gnu_ld"; then
    13608                 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'
    13609               else
    13610                 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'
    13611               fi
    13612             fi
    13613             link_all_deplibs_CXX=yes
    13614             ;;
    13615         esac
    13616         hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
    13617         hardcode_libdir_separator_CXX=:
    13618         inherit_rpath_CXX=yes
    13619         ;;
    13620 
    13621       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
    13622         case $cc_basename in
    13623           KCC*)
    13624             # Kuck and Associates, Inc. (KAI) C++ Compiler
    13625 
    13626             # KCC will only create a shared library if the output file
    13627             # ends with ".so" (or ".sl" for HP-UX), so rename the library
    13628             # to its proper name (with version) after linking.
    13629             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'
    13630             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'
    13631             # Commands to make compiler produce verbose output that lists
    13632             # what "hidden" libraries, object files and flags are used when
    13633             # linking a shared library.
    13634             #
    13635             # There doesn't appear to be a way to prevent this compiler from
    13636             # explicitly linking system object files so we need to strip them
    13637             # from the output so that they don't get included in the library
    13638             # dependencies.
    13639             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"'
    13640 
    13641             hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
    13642             export_dynamic_flag_spec_CXX='$wl--export-dynamic'
    13643 
    13644             # Archives containing C++ object files must be created using
    13645             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
    13646             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
    13647             ;;
    13648           icpc* | ecpc* )
    13649             # Intel C++
    13650             with_gnu_ld=yes
    13651             # version 8.0 and above of icpc choke on multiply defined symbols
    13652             # if we add $predep_objects and $postdep_objects, however 7.1 and
    13653             # earlier do not add the objects themselves.
    13654             case `$CC -V 2>&1` in
    13655               *"Version 7."*)
    13656                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
    13657                 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'
    13658                 ;;
    13659               *)  # Version 8.0 or newer
    13660                 tmp_idyn=
    13661                 case $host_cpu in
    13662                   ia64*) tmp_idyn=' -i_dynamic';;
    13663                 esac
    13664                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    13665                 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'
    13666                 ;;
    13667             esac
    13668             archive_cmds_need_lc_CXX=no
    13669             hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
    13670             export_dynamic_flag_spec_CXX='$wl--export-dynamic'
    13671             whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
    13672             ;;
    13673           pgCC* | pgcpp*)
    13674             # Portland Group C++ compiler
    13675             case `$CC -V` in
    13676             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
    13677               prelink_cmds_CXX='tpldir=Template.dir~
    13678                rm -rf $tpldir~
    13679                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
    13680                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
    13681               old_archive_cmds_CXX='tpldir=Template.dir~
    13682                 rm -rf $tpldir~
    13683                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
    13684                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
    13685                 $RANLIB $oldlib'
    13686               archive_cmds_CXX='tpldir=Template.dir~
    13687                 rm -rf $tpldir~
    13688                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
    13689                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
    13690               archive_expsym_cmds_CXX='tpldir=Template.dir~
    13691                 rm -rf $tpldir~
    13692                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
    13693                 $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'
    13694               ;;
    13695             *) # Version 6 and above use weak symbols
    13696               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
    13697               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'
    13698               ;;
    13699             esac
    13700 
    13701             hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
    13702             export_dynamic_flag_spec_CXX='$wl--export-dynamic'
    13703             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'
    13704             ;;
    13705           cxx*)
    13706             # Compaq C++
    13707             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
    13708             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'
    13709 
    13710             runpath_var=LD_RUN_PATH
    13711             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
    13712             hardcode_libdir_separator_CXX=:
    13713 
    13714             # Commands to make compiler produce verbose output that lists
    13715             # what "hidden" libraries, object files and flags are used when
    13716             # linking a shared library.
    13717             #
    13718             # There doesn't appear to be a way to prevent this compiler from
    13719             # explicitly linking system object files so we need to strip them
    13720             # from the output so that they don't get included in the library
    13721             # dependencies.
    13722             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'
    13723             ;;
    13724           xl* | mpixl* | bgxl*)
    13725             # IBM XL 8.0 on PPC, with GNU ld
    13726             hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
    13727             export_dynamic_flag_spec_CXX='$wl--export-dynamic'
    13728             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    13729             if test yes = "$supports_anon_versioning"; then
    13730               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
    13731                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    13732                 echo "local: *; };" >> $output_objdir/$libname.ver~
    13733                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
    13734             fi
    13735             ;;
    13736           *)
    13737             case `$CC -V 2>&1 | sed 5q` in
    13738             *Sun\ C*)
    13739               # Sun C++ 5.9
    13740               no_undefined_flag_CXX=' -zdefs'
    13741               archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    13742               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'
    13743               hardcode_libdir_flag_spec_CXX='-R$libdir'
    13744               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'
    13745               compiler_needs_object_CXX=yes
    13746 
    13747               # Not sure whether something based on
    13748               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
    13749               # would be better.
    13750               output_verbose_link_cmd='func_echo_all'
    13751 
    13752               # Archives containing C++ object files must be created using
    13753               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
    13754               # necessary to make sure instantiated templates are included
    13755               # in the archive.
    13756               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
    13757               ;;
    13758             esac
    13759             ;;
    13760         esac
    13761         ;;
    13762 
    13763       lynxos*)
    13764         # FIXME: insert proper C++ library support
    13765         ld_shlibs_CXX=no
    13766         ;;
    13767 
    13768       m88k*)
    13769         # FIXME: insert proper C++ library support
    13770         ld_shlibs_CXX=no
    13771         ;;
    13772 
    13773       mvs*)
    13774         case $cc_basename in
    13775           cxx*)
    13776             # FIXME: insert proper C++ library support
    13777             ld_shlibs_CXX=no
    13778             ;;
    13779           *)
    13780             # FIXME: insert proper C++ library support
    13781             ld_shlibs_CXX=no
    13782             ;;
    13783         esac
    13784         ;;
    13785 
    13786       netbsd*)
    13787         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
    13788           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
    13789           wlarc=
    13790           hardcode_libdir_flag_spec_CXX='-R$libdir'
    13791           hardcode_direct_CXX=yes
    13792           hardcode_shlibpath_var_CXX=no
    13793         fi
    13794         # Workaround some broken pre-1.5 toolchains
    13795         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
    13796         ;;
    13797 
    13798       *nto* | *qnx*)
    13799         ld_shlibs_CXX=yes
    13800         ;;
    13801 
    13802       openbsd* | bitrig*)
    13803         if test -f /usr/libexec/ld.so; then
    13804           hardcode_direct_CXX=yes
    13805           hardcode_shlibpath_var_CXX=no
    13806           hardcode_direct_absolute_CXX=yes
    13807           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
    13808           hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
    13809           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
    13810             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
    13811             export_dynamic_flag_spec_CXX='$wl-E'
    13812             whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
    13813           fi
    13814           output_verbose_link_cmd=func_echo_all
    13815         else
    13816           ld_shlibs_CXX=no
    13817         fi
    13818         ;;
    13819 
    13820       osf3* | osf4* | osf5*)
    13821         case $cc_basename in
    13822           KCC*)
    13823             # Kuck and Associates, Inc. (KAI) C++ Compiler
    13824 
    13825             # KCC will only create a shared library if the output file
    13826             # ends with ".so" (or ".sl" for HP-UX), so rename the library
    13827             # to its proper name (with version) after linking.
    13828             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'
    13829 
    13830             hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
    13831             hardcode_libdir_separator_CXX=:
    13832 
    13833             # Archives containing C++ object files must be created using
    13834             # the KAI C++ compiler.
    13835             case $host in
    13836               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
    13837               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
    13838             esac
    13839             ;;
    13840           RCC*)
    13841             # Rational C++ 2.4.1
    13842             # FIXME: insert proper C++ library support
    13843             ld_shlibs_CXX=no
    13844             ;;
    13845           cxx*)
    13846             case $host in
    13847               osf3*)
    13848                 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
    13849                 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'
    13850                 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
    13851                 ;;
    13852               *)
    13853                 allow_undefined_flag_CXX=' -expect_unresolved \*'
    13854                 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'
    13855                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
    13856                   echo "-hidden">> $lib.exp~
    13857                   $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~
    13858                   $RM $lib.exp'
    13859                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
    13860                 ;;
    13861             esac
    13862 
    13863             hardcode_libdir_separator_CXX=:
    13864 
    13865             # Commands to make compiler produce verbose output that lists
    13866             # what "hidden" libraries, object files and flags are used when
    13867             # linking a shared library.
    13868             #
    13869             # There doesn't appear to be a way to prevent this compiler from
    13870             # explicitly linking system object files so we need to strip them
    13871             # from the output so that they don't get included in the library
    13872             # dependencies.
    13873             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"'
    13874             ;;
    13875           *)
    13876             if test yes,no = "$GXX,$with_gnu_ld"; then
    13877               allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
    13878               case $host in
    13879                 osf3*)
    13880                   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'
    13881                   ;;
    13882                 *)
    13883                   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'
    13884                   ;;
    13885               esac
    13886 
    13887               hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
    13888               hardcode_libdir_separator_CXX=:
    13889 
    13890               # Commands to make compiler produce verbose output that lists
    13891               # what "hidden" libraries, object files and flags are used when
    13892               # linking a shared library.
    13893               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
    13894 
    13895             else
    13896               # FIXME: insert proper C++ library support
    13897               ld_shlibs_CXX=no
    13898             fi
    13899             ;;
    13900         esac
    13901         ;;
    13902 
    13903       psos*)
    13904         # FIXME: insert proper C++ library support
    13905         ld_shlibs_CXX=no
    13906         ;;
    13907 
    13908       sunos4*)
    13909         case $cc_basename in
    13910           CC*)
    13911             # Sun C++ 4.x
    13912             # FIXME: insert proper C++ library support
    13913             ld_shlibs_CXX=no
    13914             ;;
    13915           lcc*)
    13916             # Lucid
    13917             # FIXME: insert proper C++ library support
    13918             ld_shlibs_CXX=no
    13919             ;;
    13920           *)
    13921             # FIXME: insert proper C++ library support
    13922             ld_shlibs_CXX=no
    13923             ;;
    13924         esac
    13925         ;;
    13926 
    13927       solaris*)
    13928         case $cc_basename in
    13929           CC* | sunCC*)
    13930             # Sun C++ 4.2, 5.x and Centerline C++
    13931             archive_cmds_need_lc_CXX=yes
    13932             no_undefined_flag_CXX=' -zdefs'
    13933             archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    13934             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    13935               $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'
    13936 
    13937             hardcode_libdir_flag_spec_CXX='-R$libdir'
    13938             hardcode_shlibpath_var_CXX=no
    13939             case $host_os in
    13940               solaris2.[0-5] | solaris2.[0-5].*) ;;
    13941               *)
    13942                 # The compiler driver will combine and reorder linker options,
    13943                 # but understands '-z linker_flag'.
    13944                 # Supported since Solaris 2.6 (maybe 2.5.1?)
    13945                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
    13946                 ;;
    13947             esac
    13948             link_all_deplibs_CXX=yes
    13949 
    13950             output_verbose_link_cmd='func_echo_all'
    13951 
    13952             # Archives containing C++ object files must be created using
    13953             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
    13954             # necessary to make sure instantiated templates are included
    13955             # in the archive.
    13956             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
    13957             ;;
    13958           gcx*)
    13959             # Green Hills C++ Compiler
    13960             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
    13961 
    13962             # The C++ compiler must be used to create the archive.
    13963             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
    13964             ;;
    13965           *)
    13966             # GNU C++ compiler with Solaris linker
    13967             if test yes,no = "$GXX,$with_gnu_ld"; then
    13968               no_undefined_flag_CXX=' $wl-z ${wl}defs'
    13969               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
    13970                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
    13971                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    13972                   $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'
    13973 
    13974                 # Commands to make compiler produce verbose output that lists
    13975                 # what "hidden" libraries, object files and flags are used when
    13976                 # linking a shared library.
    13977                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
    13978               else
    13979                 # g++ 2.7 appears to require '-G' NOT '-shared' on this
    13980                 # platform.
    13981                 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
    13982                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    13983                   $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'
    13984 
    13985                 # Commands to make compiler produce verbose output that lists
    13986                 # what "hidden" libraries, object files and flags are used when
    13987                 # linking a shared library.
    13988                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
    13989               fi
    13990 
    13991               hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
    13992               case $host_os in
    13993                 solaris2.[0-5] | solaris2.[0-5].*) ;;
    13994                 *)
    13995                   whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
    13996                   ;;
    13997               esac
    13998             fi
    13999             ;;
    14000         esac
    14001         ;;
    14002 
    14003     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
    14004       no_undefined_flag_CXX='$wl-z,text'
    14005       archive_cmds_need_lc_CXX=no
    14006       hardcode_shlibpath_var_CXX=no
    14007       runpath_var='LD_RUN_PATH'
    14008 
    14009       case $cc_basename in
    14010         CC*)
    14011           archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    14012           archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    14013           ;;
    14014         *)
    14015           archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    14016           archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    14017           ;;
    14018       esac
    14019       ;;
    14020 
    14021       sysv5* | sco3.2v5* | sco5v6*)
    14022         # Note: We CANNOT use -z defs as we might desire, because we do not
    14023         # link with -lc, and that would cause any symbols used from libc to
    14024         # always be unresolved, which means just about no library would
    14025         # ever link correctly.  If we're not using GNU ld we use -z text
    14026         # though, which does catch some bad symbols but isn't as heavy-handed
    14027         # as -z defs.
    14028         no_undefined_flag_CXX='$wl-z,text'
    14029         allow_undefined_flag_CXX='$wl-z,nodefs'
    14030         archive_cmds_need_lc_CXX=no
    14031         hardcode_shlibpath_var_CXX=no
    14032         hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
    14033         hardcode_libdir_separator_CXX=':'
    14034         link_all_deplibs_CXX=yes
    14035         export_dynamic_flag_spec_CXX='$wl-Bexport'
    14036         runpath_var='LD_RUN_PATH'
    14037 
    14038         case $cc_basename in
    14039           CC*)
    14040             archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    14041             archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    14042             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
    14043               '"$old_archive_cmds_CXX"
    14044             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
    14045               '"$reload_cmds_CXX"
    14046             ;;
    14047           *)
    14048             archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    14049             archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    14050             ;;
    14051         esac
    14052       ;;
    14053 
    14054       tandem*)
    14055         case $cc_basename in
    14056           NCC*)
    14057             # NonStop-UX NCC 3.20
    14058             # FIXME: insert proper C++ library support
    14059             ld_shlibs_CXX=no
    14060             ;;
    14061           *)
    14062             # FIXME: insert proper C++ library support
    14063             ld_shlibs_CXX=no
    14064             ;;
    14065         esac
    14066         ;;
    14067 
    14068       vxworks*)
    14069         # FIXME: insert proper C++ library support
    14070         ld_shlibs_CXX=no
    14071         ;;
    14072 
    14073       *)
    14074         # FIXME: insert proper C++ library support
    14075         ld_shlibs_CXX=no
    14076         ;;
    14077     esac
    14078 
    14079     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
    14080 $as_echo "$ld_shlibs_CXX" >&6; }
    14081     test no = "$ld_shlibs_CXX" && can_build_shared=no
    14082 
    14083     GCC_CXX=$GXX
    14084     LD_CXX=$LD
    14085 
    14086     ## CAVEAT EMPTOR:
    14087     ## There is no encapsulation within the following macros, do not change
    14088     ## the running order or otherwise move them around unless you know exactly
    14089     ## what you are doing...
    14090     # Dependencies to place before and after the object being linked:
    14091 predep_objects_CXX=
    14092 postdep_objects_CXX=
    14093 predeps_CXX=
    14094 postdeps_CXX=
    14095 compiler_lib_search_path_CXX=
    14096 
    14097 cat > conftest.$ac_ext <<_LT_EOF
    14098 class Foo
    14099 {
    14100 public:
    14101   Foo (void) { a = 0; }
    14102 private:
    14103   int a;
    14104 };
    14105 _LT_EOF
    14106 
    14107 
    14108 _lt_libdeps_save_CFLAGS=$CFLAGS
    14109 case "$CC $CFLAGS " in #(
    14110 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
    14111 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
    14112 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
    14113 esac
    14114 
    14115 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
    14116   (eval $ac_compile) 2>&5
    14117   ac_status=$?
    14118   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    14119   test $ac_status = 0; }; then
    14120   # Parse the compiler output and extract the necessary
    14121   # objects, libraries and library flags.
    14122 
    14123   # Sentinel used to keep track of whether or not we are before
    14124   # the conftest object file.
    14125   pre_test_object_deps_done=no
    14126 
    14127   for p in `eval "$output_verbose_link_cmd"`; do
    14128     case $prev$p in
    14129 
    14130     -L* | -R* | -l*)
    14131        # Some compilers place space between "-{L,R}" and the path.
    14132        # Remove the space.
    14133        if test x-L = "$p" ||
    14134           test x-R = "$p"; then
    14135          prev=$p
    14136          continue
    14137        fi
    14138 
    14139        # Expand the sysroot to ease extracting the directories later.
    14140        if test -z "$prev"; then
    14141          case $p in
    14142          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
    14143          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
    14144          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
    14145          esac
    14146        fi
    14147        case $p in
    14148        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
    14149        esac
    14150        if test no = "$pre_test_object_deps_done"; then
    14151          case $prev in
    14152          -L | -R)
    14153            # Internal compiler library paths should come after those
    14154            # provided the user.  The postdeps already come after the
    14155            # user supplied libs so there is no need to process them.
    14156            if test -z "$compiler_lib_search_path_CXX"; then
    14157              compiler_lib_search_path_CXX=$prev$p
    14158            else
    14159              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
    14160            fi
    14161            ;;
    14162          # The "-l" case would never come before the object being
    14163          # linked, so don't bother handling this case.
    14164          esac
    14165        else
    14166          if test -z "$postdeps_CXX"; then
    14167            postdeps_CXX=$prev$p
    14168          else
    14169            postdeps_CXX="${postdeps_CXX} $prev$p"
    14170          fi
    14171        fi
    14172        prev=
    14173        ;;
    14174 
    14175     *.lto.$objext) ;; # Ignore GCC LTO objects
    14176     *.$objext)
    14177        # This assumes that the test object file only shows up
    14178        # once in the compiler output.
    14179        if test "$p" = "conftest.$objext"; then
    14180          pre_test_object_deps_done=yes
    14181          continue
    14182        fi
    14183 
    14184        if test no = "$pre_test_object_deps_done"; then
    14185          if test -z "$predep_objects_CXX"; then
    14186            predep_objects_CXX=$p
    14187          else
    14188            predep_objects_CXX="$predep_objects_CXX $p"
    14189          fi
    14190        else
    14191          if test -z "$postdep_objects_CXX"; then
    14192            postdep_objects_CXX=$p
    14193          else
    14194            postdep_objects_CXX="$postdep_objects_CXX $p"
    14195          fi
    14196        fi
    14197        ;;
    14198 
    14199     *) ;; # Ignore the rest.
    14200 
    14201     esac
    14202   done
    14203 
    14204   # Clean up.
    14205   rm -f a.out a.exe
    14206 else
    14207   echo "libtool.m4: error: problem compiling CXX test program"
    14208 fi
    14209 
    14210 $RM -f confest.$objext
    14211 CFLAGS=$_lt_libdeps_save_CFLAGS
    14212 
    14213 # PORTME: override above test on systems where it is broken
    14214 case $host_os in
    14215 interix[3-9]*)
    14216   # Interix 3.5 installs completely hosed .la files for C++, so rather than
    14217   # hack all around it, let's just trust "g++" to DTRT.
    14218   predep_objects_CXX=
    14219   postdep_objects_CXX=
    14220   postdeps_CXX=
    14221   ;;
    14222 esac
    14223 
    14224 
    14225 case " $postdeps_CXX " in
    14226 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
    14227 esac
    14228  compiler_lib_search_dirs_CXX=
    14229 if test -n "${compiler_lib_search_path_CXX}"; then
    14230  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
    14231 fi
    14232 
    14233 
    14234 
    14235 
    14236 
    14237 
    14238 
    14239 
    14240 
    14241 
    14242 
    14243 
    14244 
    14245 
    14246 
    14247 
    14248 
    14249 
    14250 
    14251 
    14252 
    14253 
    14254 
    14255 
    14256 
    14257 
    14258 
    14259 
    14260 
    14261 
    14262 
    14263     lt_prog_compiler_wl_CXX=
    14264 lt_prog_compiler_pic_CXX=
    14265 lt_prog_compiler_static_CXX=
    14266 
    14267 
    14268   # C++ specific cases for pic, static, wl, etc.
    14269   if test yes = "$GXX"; then
    14270     lt_prog_compiler_wl_CXX='-Wl,'
    14271     lt_prog_compiler_static_CXX='-static'
    14272 
    14273     case $host_os in
    14274     aix*)
    14275       # All AIX code is PIC.
    14276       if test ia64 = "$host_cpu"; then
    14277         # AIX 5 now supports IA64 processor
    14278         lt_prog_compiler_static_CXX='-Bstatic'
    14279       fi
    14280       lt_prog_compiler_pic_CXX='-fPIC'
    14281       ;;
    14282 
    14283     amigaos*)
    14284       case $host_cpu in
    14285       powerpc)
    14286             # see comment about AmigaOS4 .so support
    14287             lt_prog_compiler_pic_CXX='-fPIC'
    14288         ;;
    14289       m68k)
    14290             # FIXME: we need at least 68020 code to build shared libraries, but
    14291             # adding the '-m68020' flag to GCC prevents building anything better,
    14292             # like '-m68040'.
    14293             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
    14294         ;;
    14295       esac
    14296       ;;
    14297 
    14298     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
    14299       # PIC is the default for these OSes.
    14300       ;;
    14301     mingw* | cygwin* | os2* | pw32* | cegcc*)
    14302       # This hack is so that the source file can tell whether it is being
    14303       # built for inclusion in a dll (and should export symbols for example).
    14304       # Although the cygwin gcc ignores -fPIC, still need this for old-style
    14305       # (--disable-auto-import) libraries
    14306       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
    14307       case $host_os in
    14308       os2*)
    14309         lt_prog_compiler_static_CXX='$wl-static'
    14310         ;;
    14311       esac
    14312       ;;
    14313     darwin* | rhapsody*)
    14314       # PIC is the default on this platform
    14315       # Common symbols not allowed in MH_DYLIB files
    14316       lt_prog_compiler_pic_CXX='-fno-common'
    14317       ;;
    14318     *djgpp*)
    14319       # DJGPP does not support shared libraries at all
    14320       lt_prog_compiler_pic_CXX=
    14321       ;;
    14322     haiku*)
    14323       # PIC is the default for Haiku.
    14324       # The "-static" flag exists, but is broken.
    14325       lt_prog_compiler_static_CXX=
    14326       ;;
    14327     interix[3-9]*)
    14328       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
    14329       # Instead, we relocate shared libraries at runtime.
    14330       ;;
    14331     sysv4*MP*)
    14332       if test -d /usr/nec; then
    14333         lt_prog_compiler_pic_CXX=-Kconform_pic
    14334       fi
    14335       ;;
    14336     hpux*)
    14337       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
    14338       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
    14339       # sets the default TLS model and affects inlining.
    14340       case $host_cpu in
    14341       hppa*64*)
    14342         ;;
    14343       *)
    14344         lt_prog_compiler_pic_CXX='-fPIC'
    14345         ;;
    14346       esac
    14347       ;;
    14348     *qnx* | *nto*)
    14349       # QNX uses GNU C++, but need to define -shared option too, otherwise
    14350       # it will coredump.
    14351       lt_prog_compiler_pic_CXX='-fPIC -shared'
    14352       ;;
    14353     *)
    14354       lt_prog_compiler_pic_CXX='-fPIC'
    14355       ;;
    14356     esac
    14357   else
    14358     case $host_os in
    14359       aix[4-9]*)
    14360         # All AIX code is PIC.
    14361         if test ia64 = "$host_cpu"; then
    14362           # AIX 5 now supports IA64 processor
    14363           lt_prog_compiler_static_CXX='-Bstatic'
    14364         else
    14365           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
    14366         fi
    14367         ;;
    14368       chorus*)
    14369         case $cc_basename in
    14370         cxch68*)
    14371           # Green Hills C++ Compiler
    14372           # _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"
    14373           ;;
    14374         esac
    14375         ;;
    14376       mingw* | cygwin* | os2* | pw32* | cegcc*)
    14377         # This hack is so that the source file can tell whether it is being
    14378         # built for inclusion in a dll (and should export symbols for example).
    14379         lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
    14380         ;;
    14381       dgux*)
    14382         case $cc_basename in
    14383           ec++*)
    14384             lt_prog_compiler_pic_CXX='-KPIC'
    14385             ;;
    14386           ghcx*)
    14387             # Green Hills C++ Compiler
    14388             lt_prog_compiler_pic_CXX='-pic'
    14389             ;;
    14390           *)
    14391             ;;
    14392         esac
    14393         ;;
    14394       freebsd* | dragonfly*)
    14395         # FreeBSD uses GNU C++
    14396         ;;
    14397       hpux9* | hpux10* | hpux11*)
    14398         case $cc_basename in
    14399           CC*)
    14400             lt_prog_compiler_wl_CXX='-Wl,'
    14401             lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
    14402             if test ia64 != "$host_cpu"; then
    14403               lt_prog_compiler_pic_CXX='+Z'
    14404             fi
    14405             ;;
    14406           aCC*)
    14407             lt_prog_compiler_wl_CXX='-Wl,'
    14408             lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
    14409             case $host_cpu in
    14410             hppa*64*|ia64*)
    14411               # +Z the default
    14412               ;;
    14413             *)
    14414               lt_prog_compiler_pic_CXX='+Z'
    14415               ;;
    14416             esac
    14417             ;;
    14418           *)
    14419             ;;
    14420         esac
    14421         ;;
    14422       interix*)
    14423         # This is c89, which is MS Visual C++ (no shared libs)
    14424         # Anyone wants to do a port?
    14425         ;;
    14426       irix5* | irix6* | nonstopux*)
    14427         case $cc_basename in
    14428           CC*)
    14429             lt_prog_compiler_wl_CXX='-Wl,'
    14430             lt_prog_compiler_static_CXX='-non_shared'
    14431             # CC pic flag -KPIC is the default.
    14432             ;;
    14433           *)
    14434             ;;
    14435         esac
    14436         ;;
    14437       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
    14438         case $cc_basename in
    14439           KCC*)
    14440             # KAI C++ Compiler
    14441             lt_prog_compiler_wl_CXX='--backend -Wl,'
    14442             lt_prog_compiler_pic_CXX='-fPIC'
    14443             ;;
    14444           ecpc* )
    14445             # old Intel C++ for x86_64, which still supported -KPIC.
    14446             lt_prog_compiler_wl_CXX='-Wl,'
    14447             lt_prog_compiler_pic_CXX='-KPIC'
    14448             lt_prog_compiler_static_CXX='-static'
    14449             ;;
    14450           icpc* )
    14451             # Intel C++, used to be incompatible with GCC.
    14452             # ICC 10 doesn't accept -KPIC any more.
    14453             lt_prog_compiler_wl_CXX='-Wl,'
    14454             lt_prog_compiler_pic_CXX='-fPIC'
    14455             lt_prog_compiler_static_CXX='-static'
    14456             ;;
    14457           pgCC* | pgcpp*)
    14458             # Portland Group C++ compiler
    14459             lt_prog_compiler_wl_CXX='-Wl,'
    14460             lt_prog_compiler_pic_CXX='-fpic'
    14461             lt_prog_compiler_static_CXX='-Bstatic'
    14462             ;;
    14463           cxx*)
    14464             # Compaq C++
    14465             # Make sure the PIC flag is empty.  It appears that all Alpha
    14466             # Linux and Compaq Tru64 Unix objects are PIC.
    14467             lt_prog_compiler_pic_CXX=
    14468             lt_prog_compiler_static_CXX='-non_shared'
    14469             ;;
    14470           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
    14471             # IBM XL 8.0, 9.0 on PPC and BlueGene
    14472             lt_prog_compiler_wl_CXX='-Wl,'
    14473             lt_prog_compiler_pic_CXX='-qpic'
    14474             lt_prog_compiler_static_CXX='-qstaticlink'
    14475             ;;
    14476           *)
    14477             case `$CC -V 2>&1 | sed 5q` in
    14478             *Sun\ C*)
    14479               # Sun C++ 5.9
    14480               lt_prog_compiler_pic_CXX='-KPIC'
    14481               lt_prog_compiler_static_CXX='-Bstatic'
    14482               lt_prog_compiler_wl_CXX='-Qoption ld '
    14483               ;;
    14484             esac
    14485             ;;
    14486         esac
    14487         ;;
    14488       lynxos*)
    14489         ;;
    14490       m88k*)
    14491         ;;
    14492       mvs*)
    14493         case $cc_basename in
    14494           cxx*)
    14495             lt_prog_compiler_pic_CXX='-W c,exportall'
    14496             ;;
    14497           *)
    14498             ;;
    14499         esac
    14500         ;;
    14501       netbsd* | netbsdelf*-gnu)
    14502         ;;
    14503       *qnx* | *nto*)
    14504         # QNX uses GNU C++, but need to define -shared option too, otherwise
    14505         # it will coredump.
    14506         lt_prog_compiler_pic_CXX='-fPIC -shared'
    14507         ;;
    14508       osf3* | osf4* | osf5*)
    14509         case $cc_basename in
    14510           KCC*)
    14511             lt_prog_compiler_wl_CXX='--backend -Wl,'
    14512             ;;
    14513           RCC*)
    14514             # Rational C++ 2.4.1
    14515             lt_prog_compiler_pic_CXX='-pic'
    14516             ;;
    14517           cxx*)
    14518             # Digital/Compaq C++
    14519             lt_prog_compiler_wl_CXX='-Wl,'
    14520             # Make sure the PIC flag is empty.  It appears that all Alpha
    14521             # Linux and Compaq Tru64 Unix objects are PIC.
    14522             lt_prog_compiler_pic_CXX=
    14523             lt_prog_compiler_static_CXX='-non_shared'
    14524             ;;
    14525           *)
    14526             ;;
    14527         esac
    14528         ;;
    14529       psos*)
    14530         ;;
    14531       solaris*)
    14532         case $cc_basename in
    14533           CC* | sunCC*)
    14534             # Sun C++ 4.2, 5.x and Centerline C++
    14535             lt_prog_compiler_pic_CXX='-KPIC'
    14536             lt_prog_compiler_static_CXX='-Bstatic'
    14537             lt_prog_compiler_wl_CXX='-Qoption ld '
    14538             ;;
    14539           gcx*)
    14540             # Green Hills C++ Compiler
    14541             lt_prog_compiler_pic_CXX='-PIC'
    14542             ;;
    14543           *)
    14544             ;;
    14545         esac
    14546         ;;
    14547       sunos4*)
    14548         case $cc_basename in
    14549           CC*)
    14550             # Sun C++ 4.x
    14551             lt_prog_compiler_pic_CXX='-pic'
    14552             lt_prog_compiler_static_CXX='-Bstatic'
    14553             ;;
    14554           lcc*)
    14555             # Lucid
    14556             lt_prog_compiler_pic_CXX='-pic'
    14557             ;;
    14558           *)
    14559             ;;
    14560         esac
    14561         ;;
    14562       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
    14563         case $cc_basename in
    14564           CC*)
    14565             lt_prog_compiler_wl_CXX='-Wl,'
    14566             lt_prog_compiler_pic_CXX='-KPIC'
    14567             lt_prog_compiler_static_CXX='-Bstatic'
    14568             ;;
    14569         esac
    14570         ;;
    14571       tandem*)
    14572         case $cc_basename in
    14573           NCC*)
    14574             # NonStop-UX NCC 3.20
    14575             lt_prog_compiler_pic_CXX='-KPIC'
    14576             ;;
    14577           *)
    14578             ;;
    14579         esac
    14580         ;;
    14581       vxworks*)
    14582         ;;
    14583       *)
    14584         lt_prog_compiler_can_build_shared_CXX=no
    14585         ;;
    14586     esac
    14587   fi
    14588 
    14589 case $host_os in
    14590   # For platforms that do not support PIC, -DPIC is meaningless:
    14591   *djgpp*)
    14592     lt_prog_compiler_pic_CXX=
    14593     ;;
    14594   *)
    14595     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
    14596     ;;
    14597 esac
    14598 
    14599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
    14600 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
    14601 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
    14602   $as_echo_n "(cached) " >&6
    14603 else
    14604   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
    14605 fi
    14606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
    14607 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
    14608 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
    14609 
    14610 #
    14611 # Check to make sure the PIC flag actually works.
    14612 #
    14613 if test -n "$lt_prog_compiler_pic_CXX"; then
    14614   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
    14615 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
    14616 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
    14617   $as_echo_n "(cached) " >&6
    14618 else
    14619   lt_cv_prog_compiler_pic_works_CXX=no
    14620    ac_outfile=conftest.$ac_objext
    14621    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    14622    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
    14623    # Insert the option either (1) after the last *FLAGS variable, or
    14624    # (2) before a word containing "conftest.", or (3) at the end.
    14625    # Note that $ac_compile itself does not contain backslashes and begins
    14626    # with a dollar sign (not a hyphen), so the echo should work correctly.
    14627    # The option is referenced via a variable to avoid confusing sed.
    14628    lt_compile=`echo "$ac_compile" | $SED \
    14629    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    14630    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    14631    -e 's:$: $lt_compiler_flag:'`
    14632    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
    14633    (eval "$lt_compile" 2>conftest.err)
    14634    ac_status=$?
    14635    cat conftest.err >&5
    14636    echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14637    if (exit $ac_status) && test -s "$ac_outfile"; then
    14638      # The compiler can only warn and ignore the option if not recognized
    14639      # So say no if there are warnings other than the usual output.
    14640      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
    14641      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
    14642      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
    14643        lt_cv_prog_compiler_pic_works_CXX=yes
    14644      fi
    14645    fi
    14646    $RM conftest*
    14647 
    14648 fi
    14649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
    14650 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
    14651 
    14652 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
    14653     case $lt_prog_compiler_pic_CXX in
    14654      "" | " "*) ;;
    14655      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
    14656      esac
    14657 else
    14658     lt_prog_compiler_pic_CXX=
    14659      lt_prog_compiler_can_build_shared_CXX=no
    14660 fi
    14661 
    14662 fi
    14663 
    14664 
    14665 
    14666 
    14667 
    14668 #
    14669 # Check to make sure the static flag actually works.
    14670 #
    14671 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
    14672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
    14673 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
    14674 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
    14675   $as_echo_n "(cached) " >&6
    14676 else
    14677   lt_cv_prog_compiler_static_works_CXX=no
    14678    save_LDFLAGS=$LDFLAGS
    14679    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
    14680    echo "$lt_simple_link_test_code" > conftest.$ac_ext
    14681    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
    14682      # The linker can only warn and ignore the option if not recognized
    14683      # So say no if there are warnings
    14684      if test -s conftest.err; then
    14685        # Append any errors to the config.log.
    14686        cat conftest.err 1>&5
    14687        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
    14688        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
    14689        if diff conftest.exp conftest.er2 >/dev/null; then
    14690          lt_cv_prog_compiler_static_works_CXX=yes
    14691        fi
    14692      else
    14693        lt_cv_prog_compiler_static_works_CXX=yes
    14694      fi
    14695    fi
    14696    $RM -r conftest*
    14697    LDFLAGS=$save_LDFLAGS
    14698 
    14699 fi
    14700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
    14701 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
    14702 
    14703 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
    14704     :
    14705 else
    14706     lt_prog_compiler_static_CXX=
    14707 fi
    14708 
    14709 
    14710 
    14711 
    14712     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
    14713 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
    14714 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
    14715   $as_echo_n "(cached) " >&6
    14716 else
    14717   lt_cv_prog_compiler_c_o_CXX=no
    14718    $RM -r conftest 2>/dev/null
    14719    mkdir conftest
    14720    cd conftest
    14721    mkdir out
    14722    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    14723 
    14724    lt_compiler_flag="-o out/conftest2.$ac_objext"
    14725    # Insert the option either (1) after the last *FLAGS variable, or
    14726    # (2) before a word containing "conftest.", or (3) at the end.
    14727    # Note that $ac_compile itself does not contain backslashes and begins
    14728    # with a dollar sign (not a hyphen), so the echo should work correctly.
    14729    lt_compile=`echo "$ac_compile" | $SED \
    14730    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    14731    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    14732    -e 's:$: $lt_compiler_flag:'`
    14733    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
    14734    (eval "$lt_compile" 2>out/conftest.err)
    14735    ac_status=$?
    14736    cat out/conftest.err >&5
    14737    echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14738    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    14739    then
    14740      # The compiler can only warn and ignore the option if not recognized
    14741      # So say no if there are warnings
    14742      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
    14743      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
    14744      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
    14745        lt_cv_prog_compiler_c_o_CXX=yes
    14746      fi
    14747    fi
    14748    chmod u+w . 2>&5
    14749    $RM conftest*
    14750    # SGI C++ compiler will create directory out/ii_files/ for
    14751    # template instantiation
    14752    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
    14753    $RM out/* && rmdir out
    14754    cd ..
    14755    $RM -r conftest
    14756    $RM conftest*
    14757 
    14758 fi
    14759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
    14760 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
    14761 
    14762 
    14763 
    14764     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
    14765 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
    14766 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
    14767   $as_echo_n "(cached) " >&6
    14768 else
    14769   lt_cv_prog_compiler_c_o_CXX=no
    14770    $RM -r conftest 2>/dev/null
    14771    mkdir conftest
    14772    cd conftest
    14773    mkdir out
    14774    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    14775 
    14776    lt_compiler_flag="-o out/conftest2.$ac_objext"
    14777    # Insert the option either (1) after the last *FLAGS variable, or
    14778    # (2) before a word containing "conftest.", or (3) at the end.
    14779    # Note that $ac_compile itself does not contain backslashes and begins
    14780    # with a dollar sign (not a hyphen), so the echo should work correctly.
    14781    lt_compile=`echo "$ac_compile" | $SED \
    14782    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    14783    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    14784    -e 's:$: $lt_compiler_flag:'`
    14785    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
    14786    (eval "$lt_compile" 2>out/conftest.err)
    14787    ac_status=$?
    14788    cat out/conftest.err >&5
    14789    echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14790    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    14791    then
    14792      # The compiler can only warn and ignore the option if not recognized
    14793      # So say no if there are warnings
    14794      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
    14795      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
    14796      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
    14797        lt_cv_prog_compiler_c_o_CXX=yes
    14798      fi
    14799    fi
    14800    chmod u+w . 2>&5
    14801    $RM conftest*
    14802    # SGI C++ compiler will create directory out/ii_files/ for
    14803    # template instantiation
    14804    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
    14805    $RM out/* && rmdir out
    14806    cd ..
    14807    $RM -r conftest
    14808    $RM conftest*
    14809 
    14810 fi
    14811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
    14812 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
    14813 
    14814 
    14815 
    14816 
    14817 hard_links=nottested
    14818 if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
    14819   # do not overwrite the value of need_locks provided by the user
    14820   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
    14821 $as_echo_n "checking if we can lock with hard links... " >&6; }
    14822   hard_links=yes
    14823   $RM conftest*
    14824   ln conftest.a conftest.b 2>/dev/null && hard_links=no
    14825   touch conftest.a
    14826   ln conftest.a conftest.b 2>&5 || hard_links=no
    14827   ln conftest.a conftest.b 2>/dev/null && hard_links=no
    14828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
    14829 $as_echo "$hard_links" >&6; }
    14830   if test no = "$hard_links"; then
    14831     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
    14832 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
    14833     need_locks=warn
    14834   fi
    14835 else
    14836   need_locks=no
    14837 fi
    14838 
    14839 
    14840 
    14841     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
    14842 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
    14843 
    14844   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
    14845   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
    14846   case $host_os in
    14847   aix[4-9]*)
    14848     # If we're using GNU nm, then we don't want the "-C" option.
    14849     # -C means demangle to GNU nm, but means don't demangle to AIX nm.
    14850     # Without the "-l" option, or with the "-B" option, AIX nm treats
    14851     # weak defined symbols like other global defined symbols, whereas
    14852     # GNU nm marks them as "W".
    14853     # While the 'weak' keyword is ignored in the Export File, we need
    14854     # it in the Import File for the 'aix-soname' feature, so we have
    14855     # to replace the "-B" option with "-P" for AIX nm.
    14856     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
    14857       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'
    14858     else
    14859       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'
    14860     fi
    14861     ;;
    14862   pw32*)
    14863     export_symbols_cmds_CXX=$ltdll_cmds
    14864     ;;
    14865   cygwin* | mingw* | cegcc*)
    14866     case $cc_basename in
    14867     cl*)
    14868       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
    14869       ;;
    14870     *)
    14871       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'
    14872       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
    14873       ;;
    14874     esac
    14875     ;;
    14876   linux* | k*bsd*-gnu | gnu*)
    14877     link_all_deplibs_CXX=no
    14878     ;;
    14879   *)
    14880     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
    14881     ;;
    14882   esac
    14883 
    14884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
    14885 $as_echo "$ld_shlibs_CXX" >&6; }
    14886 test no = "$ld_shlibs_CXX" && can_build_shared=no
    14887 
    14888 with_gnu_ld_CXX=$with_gnu_ld
    14889 
    14890 
    14891 
    14892 
    14893 
    14894 
    14895 #
    14896 # Do we need to explicitly link libc?
    14897 #
    14898 case "x$archive_cmds_need_lc_CXX" in
    14899 x|xyes)
    14900   # Assume -lc should be added
    14901   archive_cmds_need_lc_CXX=yes
    14902 
    14903   if test yes,yes = "$GCC,$enable_shared"; then
    14904     case $archive_cmds_CXX in
    14905     *'~'*)
    14906       # FIXME: we may have to deal with multi-command sequences.
    14907       ;;
    14908     '$CC '*)
    14909       # Test whether the compiler implicitly links with -lc since on some
    14910       # systems, -lgcc has to come before -lc. If gcc already passes -lc
    14911       # to ld, don't add -lc before -lgcc.
    14912       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
    14913 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
    14914 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
    14915   $as_echo_n "(cached) " >&6
    14916 else
    14917   $RM conftest*
    14918         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    14919 
    14920         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
    14921   (eval $ac_compile) 2>&5
    14922   ac_status=$?
    14923   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    14924   test $ac_status = 0; } 2>conftest.err; then
    14925           soname=conftest
    14926           lib=conftest
    14927           libobjs=conftest.$ac_objext
    14928           deplibs=
    14929           wl=$lt_prog_compiler_wl_CXX
    14930           pic_flag=$lt_prog_compiler_pic_CXX
    14931           compiler_flags=-v
    14932           linker_flags=-v
    14933           verstring=
    14934           output_objdir=.
    14935           libname=conftest
    14936           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
    14937           allow_undefined_flag_CXX=
    14938           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
    14939   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
    14940   ac_status=$?
    14941   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    14942   test $ac_status = 0; }
    14943           then
    14944             lt_cv_archive_cmds_need_lc_CXX=no
    14945           else
    14946             lt_cv_archive_cmds_need_lc_CXX=yes
    14947           fi
    14948           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
    14949         else
    14950           cat conftest.err 1>&5
    14951         fi
    14952         $RM conftest*
    14953 
    14954 fi
    14955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
    14956 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
    14957       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
    14958       ;;
    14959     esac
    14960   fi
    14961   ;;
    14962 esac
    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 
    15004 
    15005 
    15006 
    15007 
    15008 
    15009 
    15010 
    15011 
    15012 
    15013 
    15014 
    15015 
    15016 
    15017 
    15018 
    15019 
    15020 
    15021 
    15022 
    15023 
    15024 
    15025     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
    15026 $as_echo_n "checking dynamic linker characteristics... " >&6; }
    15027 
    15028 library_names_spec=
    15029 libname_spec='lib$name'
    15030 soname_spec=
    15031 shrext_cmds=.so
    15032 postinstall_cmds=
    15033 postuninstall_cmds=
    15034 finish_cmds=
    15035 finish_eval=
    15036 shlibpath_var=
    15037 shlibpath_overrides_runpath=unknown
    15038 version_type=none
    15039 dynamic_linker="$host_os ld.so"
    15040 sys_lib_dlsearch_path_spec="/lib /usr/lib"
    15041 need_lib_prefix=unknown
    15042 hardcode_into_libs=no
    15043 
    15044 # when you set need_version to no, make sure it does not cause -set_version
    15045 # flags to be left without arguments
    15046 need_version=unknown
    15047 
    15048 
    15049 
    15050 case $host_os in
    15051 aix3*)
    15052   version_type=linux # correct to gnu/linux during the next big refactor
    15053   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
    15054   shlibpath_var=LIBPATH
    15055 
    15056   # AIX 3 has no versioning support, so we append a major version to the name.
    15057   soname_spec='$libname$release$shared_ext$major'
    15058   ;;
    15059 
    15060 aix[4-9]*)
    15061   version_type=linux # correct to gnu/linux during the next big refactor
    15062   need_lib_prefix=no
    15063   need_version=no
    15064   hardcode_into_libs=yes
    15065   if test ia64 = "$host_cpu"; then
    15066     # AIX 5 supports IA64
    15067     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
    15068     shlibpath_var=LD_LIBRARY_PATH
    15069   else
    15070     # With GCC up to 2.95.x, collect2 would create an import file
    15071     # for dependence libraries.  The import file would start with
    15072     # the line '#! .'.  This would cause the generated library to
    15073     # depend on '.', always an invalid library.  This was fixed in
    15074     # development snapshots of GCC prior to 3.0.
    15075     case $host_os in
    15076       aix4 | aix4.[01] | aix4.[01].*)
    15077       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
    15078            echo ' yes '
    15079            echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
    15080         :
    15081       else
    15082         can_build_shared=no
    15083       fi
    15084       ;;
    15085     esac
    15086     # Using Import Files as archive members, it is possible to support
    15087     # filename-based versioning of shared library archives on AIX. While
    15088     # this would work for both with and without runtime linking, it will
    15089     # prevent static linking of such archives. So we do filename-based
    15090     # shared library versioning with .so extension only, which is used
    15091     # when both runtime linking and shared linking is enabled.
    15092     # Unfortunately, runtime linking may impact performance, so we do
    15093     # not want this to be the default eventually. Also, we use the
    15094     # versioned .so libs for executables only if there is the -brtl
    15095     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
    15096     # To allow for filename-based versioning support, we need to create
    15097     # libNAME.so.V as an archive file, containing:
    15098     # *) an Import File, referring to the versioned filename of the
    15099     #    archive as well as the shared archive member, telling the
    15100     #    bitwidth (32 or 64) of that shared object, and providing the
    15101     #    list of exported symbols of that shared object, eventually
    15102     #    decorated with the 'weak' keyword
    15103     # *) the shared object with the F_LOADONLY flag set, to really avoid
    15104     #    it being seen by the linker.
    15105     # At run time we better use the real file rather than another symlink,
    15106     # but for link time we create the symlink libNAME.so -> libNAME.so.V
    15107 
    15108     case $with_aix_soname,$aix_use_runtimelinking in
    15109     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
    15110     # soname into executable. Probably we can add versioning support to
    15111     # collect2, so additional links can be useful in future.
    15112     aix,yes) # traditional libtool
    15113       dynamic_linker='AIX unversionable lib.so'
    15114       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
    15115       # instead of lib<name>.a to let people know that these are not
    15116       # typical AIX shared libraries.
    15117       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    15118       ;;
    15119     aix,no) # traditional AIX only
    15120       dynamic_linker='AIX lib.a(lib.so.V)'
    15121       # We preserve .a as extension for shared libraries through AIX4.2
    15122       # and later when we are not doing run time linking.
    15123       library_names_spec='$libname$release.a $libname.a'
    15124       soname_spec='$libname$release$shared_ext$major'
    15125       ;;
    15126     svr4,*) # full svr4 only
    15127       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
    15128       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
    15129       # We do not specify a path in Import Files, so LIBPATH fires.
    15130       shlibpath_overrides_runpath=yes
    15131       ;;
    15132     *,yes) # both, prefer svr4
    15133       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
    15134       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
    15135       # unpreferred sharedlib libNAME.a needs extra handling
    15136       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"'
    15137       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"'
    15138       # We do not specify a path in Import Files, so LIBPATH fires.
    15139       shlibpath_overrides_runpath=yes
    15140       ;;
    15141     *,no) # both, prefer aix
    15142       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
    15143       library_names_spec='$libname$release.a $libname.a'
    15144       soname_spec='$libname$release$shared_ext$major'
    15145       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
    15146       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)'
    15147       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"'
    15148       ;;
    15149     esac
    15150     shlibpath_var=LIBPATH
    15151   fi
    15152   ;;
    15153 
    15154 amigaos*)
    15155   case $host_cpu in
    15156   powerpc)
    15157     # Since July 2007 AmigaOS4 officially supports .so libraries.
    15158     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
    15159     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    15160     ;;
    15161   m68k)
    15162     library_names_spec='$libname.ixlibrary $libname.a'
    15163     # Create ${libname}_ixlibrary.a entries in /sys/libs.
    15164     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'
    15165     ;;
    15166   esac
    15167   ;;
    15168 
    15169 beos*)
    15170   library_names_spec='$libname$shared_ext'
    15171   dynamic_linker="$host_os ld.so"
    15172   shlibpath_var=LIBRARY_PATH
    15173   ;;
    15174 
    15175 bsdi[45]*)
    15176   version_type=linux # correct to gnu/linux during the next big refactor
    15177   need_version=no
    15178   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    15179   soname_spec='$libname$release$shared_ext$major'
    15180   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
    15181   shlibpath_var=LD_LIBRARY_PATH
    15182   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
    15183   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
    15184   # the default ld.so.conf also contains /usr/contrib/lib and
    15185   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
    15186   # libtool to hard-code these into programs
    15187   ;;
    15188 
    15189 cygwin* | mingw* | pw32* | cegcc*)
    15190   version_type=windows
    15191   shrext_cmds=.dll
    15192   need_version=no
    15193   need_lib_prefix=no
    15194 
    15195   case $GCC,$cc_basename in
    15196   yes,*)
    15197     # gcc
    15198     library_names_spec='$libname.dll.a'
    15199     # DLL is installed to $(libdir)/../bin by postinstall_cmds
    15200     postinstall_cmds='base_file=`basename \$file`~
    15201       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
    15202       dldir=$destdir/`dirname \$dlpath`~
    15203       test -d \$dldir || mkdir -p \$dldir~
    15204       $install_prog $dir/$dlname \$dldir/$dlname~
    15205       chmod a+x \$dldir/$dlname~
    15206       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
    15207         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
    15208       fi'
    15209     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
    15210       dlpath=$dir/\$dldll~
    15211        $RM \$dlpath'
    15212     shlibpath_overrides_runpath=yes
    15213 
    15214     case $host_os in
    15215     cygwin*)
    15216       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
    15217       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
    15218 
    15219       ;;
    15220     mingw* | cegcc*)
    15221       # MinGW DLLs use traditional 'lib' prefix
    15222       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
    15223       ;;
    15224     pw32*)
    15225       # pw32 DLLs use 'pw' prefix rather than 'lib'
    15226       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
    15227       ;;
    15228     esac
    15229     dynamic_linker='Win32 ld.exe'
    15230     ;;
    15231 
    15232   *,cl*)
    15233     # Native MSVC
    15234     libname_spec='$name'
    15235     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
    15236     library_names_spec='$libname.dll.lib'
    15237 
    15238     case $build_os in
    15239     mingw*)
    15240       sys_lib_search_path_spec=
    15241       lt_save_ifs=$IFS
    15242       IFS=';'
    15243       for lt_path in $LIB
    15244       do
    15245         IFS=$lt_save_ifs
    15246         # Let DOS variable expansion print the short 8.3 style file name.
    15247         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
    15248         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
    15249       done
    15250       IFS=$lt_save_ifs
    15251       # Convert to MSYS style.
    15252       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
    15253       ;;
    15254     cygwin*)
    15255       # Convert to unix form, then to dos form, then back to unix form
    15256       # but this time dos style (no spaces!) so that the unix form looks
    15257       # like /cygdrive/c/PROGRA~1:/cygdr...
    15258       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
    15259       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
    15260       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
    15261       ;;
    15262     *)
    15263       sys_lib_search_path_spec=$LIB
    15264       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
    15265         # It is most probably a Windows format PATH.
    15266         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
    15267       else
    15268         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
    15269       fi
    15270       # FIXME: find the short name or the path components, as spaces are
    15271       # common. (e.g. "Program Files" -> "PROGRA~1")
    15272       ;;
    15273     esac
    15274 
    15275     # DLL is installed to $(libdir)/../bin by postinstall_cmds
    15276     postinstall_cmds='base_file=`basename \$file`~
    15277       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
    15278       dldir=$destdir/`dirname \$dlpath`~
    15279       test -d \$dldir || mkdir -p \$dldir~
    15280       $install_prog $dir/$dlname \$dldir/$dlname'
    15281     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
    15282       dlpath=$dir/\$dldll~
    15283        $RM \$dlpath'
    15284     shlibpath_overrides_runpath=yes
    15285     dynamic_linker='Win32 link.exe'
    15286     ;;
    15287 
    15288   *)
    15289     # Assume MSVC wrapper
    15290     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
    15291     dynamic_linker='Win32 ld.exe'
    15292     ;;
    15293   esac
    15294   # FIXME: first we should search . and the directory the executable is in
    15295   shlibpath_var=PATH
    15296   ;;
    15297 
    15298 darwin* | rhapsody*)
    15299   dynamic_linker="$host_os dyld"
    15300   version_type=darwin
    15301   need_lib_prefix=no
    15302   need_version=no
    15303   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
    15304   soname_spec='$libname$release$major$shared_ext'
    15305   shlibpath_overrides_runpath=yes
    15306   shlibpath_var=DYLD_LIBRARY_PATH
    15307   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
    15308 
    15309   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
    15310   ;;
    15311 
    15312 dgux*)
    15313   version_type=linux # correct to gnu/linux during the next big refactor
    15314   need_lib_prefix=no
    15315   need_version=no
    15316   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    15317   soname_spec='$libname$release$shared_ext$major'
    15318   shlibpath_var=LD_LIBRARY_PATH
    15319   ;;
    15320 
    15321 freebsd* | dragonfly*)
    15322   # DragonFly does not have aout.  When/if they implement a new
    15323   # versioning mechanism, adjust this.
    15324   if test -x /usr/bin/objformat; then
    15325     objformat=`/usr/bin/objformat`
    15326   else
    15327     case $host_os in
    15328     freebsd[23].*) objformat=aout ;;
    15329     *) objformat=elf ;;
    15330     esac
    15331   fi
    15332   version_type=freebsd-$objformat
    15333   case $version_type in
    15334     freebsd-elf*)
    15335       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    15336       soname_spec='$libname$release$shared_ext$major'
    15337       need_version=no
    15338       need_lib_prefix=no
    15339       ;;
    15340     freebsd-*)
    15341       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    15342       need_version=yes
    15343       ;;
    15344   esac
    15345   shlibpath_var=LD_LIBRARY_PATH
    15346   case $host_os in
    15347   freebsd2.*)
    15348     shlibpath_overrides_runpath=yes
    15349     ;;
    15350   freebsd3.[01]* | freebsdelf3.[01]*)
    15351     shlibpath_overrides_runpath=yes
    15352     hardcode_into_libs=yes
    15353     ;;
    15354   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
    15355   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
    15356     shlibpath_overrides_runpath=no
    15357     hardcode_into_libs=yes
    15358     ;;
    15359   *) # from 4.6 on, and DragonFly
    15360     shlibpath_overrides_runpath=yes
    15361     hardcode_into_libs=yes
    15362     ;;
    15363   esac
    15364   ;;
    15365 
    15366 haiku*)
    15367   version_type=linux # correct to gnu/linux during the next big refactor
    15368   need_lib_prefix=no
    15369   need_version=no
    15370   dynamic_linker="$host_os runtime_loader"
    15371   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    15372   soname_spec='$libname$release$shared_ext$major'
    15373   shlibpath_var=LIBRARY_PATH
    15374   shlibpath_overrides_runpath=no
    15375   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
    15376   hardcode_into_libs=yes
    15377   ;;
    15378 
    15379 hpux9* | hpux10* | hpux11*)
    15380   # Give a soname corresponding to the major version so that dld.sl refuses to
    15381   # link against other versions.
    15382   version_type=sunos
    15383   need_lib_prefix=no
    15384   need_version=no
    15385   case $host_cpu in
    15386   ia64*)
    15387     shrext_cmds='.so'
    15388     hardcode_into_libs=yes
    15389     dynamic_linker="$host_os dld.so"
    15390     shlibpath_var=LD_LIBRARY_PATH
    15391     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
    15392     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    15393     soname_spec='$libname$release$shared_ext$major'
    15394     if test 32 = "$HPUX_IA64_MODE"; then
    15395       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
    15396       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
    15397     else
    15398       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
    15399       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
    15400     fi
    15401     ;;
    15402   hppa*64*)
    15403     shrext_cmds='.sl'
    15404     hardcode_into_libs=yes
    15405     dynamic_linker="$host_os dld.sl"
    15406     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
    15407     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
    15408     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    15409     soname_spec='$libname$release$shared_ext$major'
    15410     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
    15411     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    15412     ;;
    15413   *)
    15414     shrext_cmds='.sl'
    15415     dynamic_linker="$host_os dld.sl"
    15416     shlibpath_var=SHLIB_PATH
    15417     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
    15418     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    15419     soname_spec='$libname$release$shared_ext$major'
    15420     ;;
    15421   esac
    15422   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
    15423   postinstall_cmds='chmod 555 $lib'
    15424   # or fails outright, so override atomically:
    15425   install_override_mode=555
    15426   ;;
    15427 
    15428 interix[3-9]*)
    15429   version_type=linux # correct to gnu/linux during the next big refactor
    15430   need_lib_prefix=no
    15431   need_version=no
    15432   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    15433   soname_spec='$libname$release$shared_ext$major'
    15434   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
    15435   shlibpath_var=LD_LIBRARY_PATH
    15436   shlibpath_overrides_runpath=no
    15437   hardcode_into_libs=yes
    15438   ;;
    15439 
    15440 irix5* | irix6* | nonstopux*)
    15441   case $host_os in
    15442     nonstopux*) version_type=nonstopux ;;
    15443     *)
    15444         if test yes = "$lt_cv_prog_gnu_ld"; then
    15445                 version_type=linux # correct to gnu/linux during the next big refactor
    15446         else
    15447                 version_type=irix
    15448         fi ;;
    15449   esac
    15450   need_lib_prefix=no
    15451   need_version=no
    15452   soname_spec='$libname$release$shared_ext$major'
    15453   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
    15454   case $host_os in
    15455   irix5* | nonstopux*)
    15456     libsuff= shlibsuff=
    15457     ;;
    15458   *)
    15459     case $LD in # libtool.m4 will add one of these switches to LD
    15460     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
    15461       libsuff= shlibsuff= libmagic=32-bit;;
    15462     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
    15463       libsuff=32 shlibsuff=N32 libmagic=N32;;
    15464     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
    15465       libsuff=64 shlibsuff=64 libmagic=64-bit;;
    15466     *) libsuff= shlibsuff= libmagic=never-match;;
    15467     esac
    15468     ;;
    15469   esac
    15470   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
    15471   shlibpath_overrides_runpath=no
    15472   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
    15473   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
    15474   hardcode_into_libs=yes
    15475   ;;
    15476 
    15477 # No shared lib support for Linux oldld, aout, or coff.
    15478 linux*oldld* | linux*aout* | linux*coff*)
    15479   dynamic_linker=no
    15480   ;;
    15481 
    15482 linux*android*)
    15483   version_type=none # Android doesn't support versioned libraries.
    15484   need_lib_prefix=no
    15485   need_version=no
    15486   library_names_spec='$libname$release$shared_ext'
    15487   soname_spec='$libname$release$shared_ext'
    15488   finish_cmds=
    15489   shlibpath_var=LD_LIBRARY_PATH
    15490   shlibpath_overrides_runpath=yes
    15491 
    15492   # This implies no fast_install, which is unacceptable.
    15493   # Some rework will be needed to allow for fast_install
    15494   # before this can be enabled.
    15495   hardcode_into_libs=yes
    15496 
    15497   dynamic_linker='Android linker'
    15498   # Don't embed -rpath directories since the linker doesn't support them.
    15499   hardcode_libdir_flag_spec_CXX='-L$libdir'
    15500   ;;
    15501 
    15502 # This must be glibc/ELF.
    15503 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
    15504   version_type=linux # correct to gnu/linux during the next big refactor
    15505   need_lib_prefix=no
    15506   need_version=no
    15507   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    15508   soname_spec='$libname$release$shared_ext$major'
    15509   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
    15510   shlibpath_var=LD_LIBRARY_PATH
    15511   shlibpath_overrides_runpath=no
    15512 
    15513   # Some binutils ld are patched to set DT_RUNPATH
    15514   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
    15515   $as_echo_n "(cached) " >&6
    15516 else
    15517   lt_cv_shlibpath_overrides_runpath=no
    15518     save_LDFLAGS=$LDFLAGS
    15519     save_libdir=$libdir
    15520     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
    15521          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
    15522     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    15523 /* end confdefs.h.  */
    15524 
    15525 int
    15526 main ()
    15527 {
    15528 
    15529   ;
    15530   return 0;
    15531 }
    15532 _ACEOF
    15533 if ac_fn_cxx_try_link "$LINENO"; then :
    15534   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
    15535   lt_cv_shlibpath_overrides_runpath=yes
    15536 fi
    15537 fi
    15538 rm -f core conftest.err conftest.$ac_objext \
    15539     conftest$ac_exeext conftest.$ac_ext
    15540     LDFLAGS=$save_LDFLAGS
    15541     libdir=$save_libdir
    15542 
    15543 fi
    15544 
    15545   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
    15546 
    15547   # This implies no fast_install, which is unacceptable.
    15548   # Some rework will be needed to allow for fast_install
    15549   # before this can be enabled.
    15550   hardcode_into_libs=yes
    15551 
    15552   # Ideally, we could use ldconfig to report *all* directores which are
    15553   # searched for libraries, however this is still not possible.  Aside from not
    15554   # being certain /sbin/ldconfig is available, command
    15555   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
    15556   # even though it is searched at run-time.  Try to do the best guess by
    15557   # appending ld.so.conf contents (and includes) to the search path.
    15558   if test -f /etc/ld.so.conf; then
    15559     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' ' '`
    15560     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
    15561   fi
    15562 
    15563   # We used to test for /lib/ld.so.1 and disable shared libraries on
    15564   # powerpc, because MkLinux only supported shared libraries with the
    15565   # GNU dynamic linker.  Since this was broken with cross compilers,
    15566   # most powerpc-linux boxes support dynamic linking these days and
    15567   # people can always --disable-shared, the test was removed, and we
    15568   # assume the GNU/Linux dynamic linker is in use.
    15569   dynamic_linker='GNU/Linux ld.so'
    15570   ;;
    15571 
    15572 netbsdelf*-gnu)
    15573   version_type=linux
    15574   need_lib_prefix=no
    15575   need_version=no
    15576   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    15577   soname_spec='${libname}${release}${shared_ext}$major'
    15578   shlibpath_var=LD_LIBRARY_PATH
    15579   shlibpath_overrides_runpath=no
    15580   hardcode_into_libs=yes
    15581   dynamic_linker='NetBSD ld.elf_so'
    15582   ;;
    15583 
    15584 netbsd*)
    15585   version_type=sunos
    15586   need_lib_prefix=no
    15587   need_version=no
    15588   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
    15589     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    15590     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    15591     dynamic_linker='NetBSD (a.out) ld.so'
    15592   else
    15593     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    15594     soname_spec='$libname$release$shared_ext$major'
    15595     dynamic_linker='NetBSD ld.elf_so'
    15596   fi
    15597   shlibpath_var=LD_LIBRARY_PATH
    15598   shlibpath_overrides_runpath=yes
    15599   hardcode_into_libs=yes
    15600   ;;
    15601 
    15602 newsos6)
    15603   version_type=linux # correct to gnu/linux during the next big refactor
    15604   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    15605   shlibpath_var=LD_LIBRARY_PATH
    15606   shlibpath_overrides_runpath=yes
    15607   ;;
    15608 
    15609 *nto* | *qnx*)
    15610   version_type=qnx
    15611   need_lib_prefix=no
    15612   need_version=no
    15613   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    15614   soname_spec='$libname$release$shared_ext$major'
    15615   shlibpath_var=LD_LIBRARY_PATH
    15616   shlibpath_overrides_runpath=no
    15617   hardcode_into_libs=yes
    15618   dynamic_linker='ldqnx.so'
    15619   ;;
    15620 
    15621 openbsd* | bitrig*)
    15622   version_type=sunos
    15623   sys_lib_dlsearch_path_spec=/usr/lib
    15624   need_lib_prefix=no
    15625   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
    15626     need_version=no
    15627   else
    15628     need_version=yes
    15629   fi
    15630   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    15631   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    15632   shlibpath_var=LD_LIBRARY_PATH
    15633   shlibpath_overrides_runpath=yes
    15634   ;;
    15635 
    15636 os2*)
    15637   libname_spec='$name'
    15638   version_type=windows
    15639   shrext_cmds=.dll
    15640   need_version=no
    15641   need_lib_prefix=no
    15642   # OS/2 can only load a DLL with a base name of 8 characters or less.
    15643   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
    15644     v=$($ECHO $release$versuffix | tr -d .-);
    15645     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
    15646     $ECHO $n$v`$shared_ext'
    15647   library_names_spec='${libname}_dll.$libext'
    15648   dynamic_linker='OS/2 ld.exe'
    15649   shlibpath_var=BEGINLIBPATH
    15650   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
    15651   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    15652   postinstall_cmds='base_file=`basename \$file`~
    15653     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
    15654     dldir=$destdir/`dirname \$dlpath`~
    15655     test -d \$dldir || mkdir -p \$dldir~
    15656     $install_prog $dir/$dlname \$dldir/$dlname~
    15657     chmod a+x \$dldir/$dlname~
    15658     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
    15659       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
    15660     fi'
    15661   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
    15662     dlpath=$dir/\$dldll~
    15663     $RM \$dlpath'
    15664   ;;
    15665 
    15666 osf3* | osf4* | osf5*)
    15667   version_type=osf
    15668   need_lib_prefix=no
    15669   need_version=no
    15670   soname_spec='$libname$release$shared_ext$major'
    15671   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    15672   shlibpath_var=LD_LIBRARY_PATH
    15673   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
    15674   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    15675   ;;
    15676 
    15677 rdos*)
    15678   dynamic_linker=no
    15679   ;;
    15680 
    15681 solaris*)
    15682   version_type=linux # correct to gnu/linux during the next big refactor
    15683   need_lib_prefix=no
    15684   need_version=no
    15685   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    15686   soname_spec='$libname$release$shared_ext$major'
    15687   shlibpath_var=LD_LIBRARY_PATH
    15688   shlibpath_overrides_runpath=yes
    15689   hardcode_into_libs=yes
    15690   # ldd complains unless libraries are executable
    15691   postinstall_cmds='chmod +x $lib'
    15692   ;;
    15693 
    15694 sunos4*)
    15695   version_type=sunos
    15696   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    15697   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
    15698   shlibpath_var=LD_LIBRARY_PATH
    15699   shlibpath_overrides_runpath=yes
    15700   if test yes = "$with_gnu_ld"; then
    15701     need_lib_prefix=no
    15702   fi
    15703   need_version=yes
    15704   ;;
    15705 
    15706 sysv4 | sysv4.3*)
    15707   version_type=linux # correct to gnu/linux during the next big refactor
    15708   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    15709   soname_spec='$libname$release$shared_ext$major'
    15710   shlibpath_var=LD_LIBRARY_PATH
    15711   case $host_vendor in
    15712     sni)
    15713       shlibpath_overrides_runpath=no
    15714       need_lib_prefix=no
    15715       runpath_var=LD_RUN_PATH
    15716       ;;
    15717     siemens)
    15718       need_lib_prefix=no
    15719       ;;
    15720     motorola)
    15721       need_lib_prefix=no
    15722       need_version=no
    15723       shlibpath_overrides_runpath=no
    15724       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
    15725       ;;
    15726   esac
    15727   ;;
    15728 
    15729 sysv4*MP*)
    15730   if test -d /usr/nec; then
    15731     version_type=linux # correct to gnu/linux during the next big refactor
    15732     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
    15733     soname_spec='$libname$shared_ext.$major'
    15734     shlibpath_var=LD_LIBRARY_PATH
    15735   fi
    15736   ;;
    15737 
    15738 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
    15739   version_type=sco
    15740   need_lib_prefix=no
    15741   need_version=no
    15742   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
    15743   soname_spec='$libname$release$shared_ext$major'
    15744   shlibpath_var=LD_LIBRARY_PATH
    15745   shlibpath_overrides_runpath=yes
    15746   hardcode_into_libs=yes
    15747   if test yes = "$with_gnu_ld"; then
    15748     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
    15749   else
    15750     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
    15751     case $host_os in
    15752       sco3.2v5*)
    15753         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
    15754         ;;
    15755     esac
    15756   fi
    15757   sys_lib_dlsearch_path_spec='/usr/lib'
    15758   ;;
    15759 
    15760 tpf*)
    15761   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
    15762   version_type=linux # correct to gnu/linux during the next big refactor
    15763   need_lib_prefix=no
    15764   need_version=no
    15765   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    15766   shlibpath_var=LD_LIBRARY_PATH
    15767   shlibpath_overrides_runpath=no
    15768   hardcode_into_libs=yes
    15769   ;;
    15770 
    15771 uts4*)
    15772   version_type=linux # correct to gnu/linux during the next big refactor
    15773   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    15774   soname_spec='$libname$release$shared_ext$major'
    15775   shlibpath_var=LD_LIBRARY_PATH
    15776   ;;
    15777 
    15778 *)
    15779   dynamic_linker=no
    15780   ;;
    15781 esac
    15782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
    15783 $as_echo "$dynamic_linker" >&6; }
    15784 test no = "$dynamic_linker" && can_build_shared=no
    15785 
    15786 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
    15787 if test yes = "$GCC"; then
    15788   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
    15789 fi
    15790 
    15791 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
    15792   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
    15793 fi
    15794 
    15795 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
    15796   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
    15797 fi
    15798 
    15799 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
    15800 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
    15801 
    15802 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
    15803 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
    15804 
    15805 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
    15806 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
    15807 
    15808 
    15809 
    15810 
    15811 
    15812 
    15813 
    15814 
    15815 
    15816 
    15817 
    15818 
    15819 
    15820 
    15821 
    15822 
    15823 
    15824 
    15825 
    15826 
    15827 
    15828 
    15829 
    15830 
    15831 
    15832 
    15833 
    15834 
    15835 
    15836 
    15837 
    15838 
    15839 
    15840 
    15841 
    15842 
    15843 
    15844 
    15845 
    15846 
    15847     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
    15848 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
    15849 hardcode_action_CXX=
    15850 if test -n "$hardcode_libdir_flag_spec_CXX" ||
    15851    test -n "$runpath_var_CXX" ||
    15852    test yes = "$hardcode_automatic_CXX"; then
    15853 
    15854   # We can hardcode non-existent directories.
    15855   if test no != "$hardcode_direct_CXX" &&
    15856      # If the only mechanism to avoid hardcoding is shlibpath_var, we
    15857      # have to relink, otherwise we might link with an installed library
    15858      # when we should be linking with a yet-to-be-installed one
    15859      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
    15860      test no != "$hardcode_minus_L_CXX"; then
    15861     # Linking always hardcodes the temporary library directory.
    15862     hardcode_action_CXX=relink
    15863   else
    15864     # We can link without hardcoding, and we can hardcode nonexisting dirs.
    15865     hardcode_action_CXX=immediate
    15866   fi
    15867 else
    15868   # We cannot hardcode anything, or else we can only hardcode existing
    15869   # directories.
    15870   hardcode_action_CXX=unsupported
    15871 fi
    15872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
    15873 $as_echo "$hardcode_action_CXX" >&6; }
    15874 
    15875 if test relink = "$hardcode_action_CXX" ||
    15876    test yes = "$inherit_rpath_CXX"; then
    15877   # Fast installation is not supported
    15878   enable_fast_install=no
    15879 elif test yes = "$shlibpath_overrides_runpath" ||
    15880      test no = "$enable_shared"; then
    15881   # Fast installation is not necessary
    15882   enable_fast_install=needless
    15883 fi
    15884 
    15885 
    15886 
    15887 
    15888 
    15889 
    15890 
    15891   fi # test -n "$compiler"
    15892 
    15893   CC=$lt_save_CC
    15894   CFLAGS=$lt_save_CFLAGS
    15895   LDCXX=$LD
    15896   LD=$lt_save_LD
    15897   GCC=$lt_save_GCC
    15898   with_gnu_ld=$lt_save_with_gnu_ld
    15899   lt_cv_path_LDCXX=$lt_cv_path_LD
    15900   lt_cv_path_LD=$lt_save_path_LD
    15901   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
    15902   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
    15903 fi # test yes != "$_lt_caught_CXX_error"
    15904 
    15905 ac_ext=c
    15906 ac_cpp='$CPP $CPPFLAGS'
    15907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    15908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    15909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    15910 
    15911 
    15912 ac_ext=c
    15913 ac_cpp='$CPP $CPPFLAGS'
    15914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    15915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    15916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    15917 if test -n "$ac_tool_prefix"; then
    15918   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    15919 set dummy ${ac_tool_prefix}gcc; ac_word=$2
    15920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    15921 $as_echo_n "checking for $ac_word... " >&6; }
    15922 if ${ac_cv_prog_CC+:} false; then :
    15923   $as_echo_n "(cached) " >&6
    15924 else
    15925   if test -n "$CC"; then
    15926   ac_cv_prog_CC="$CC" # Let the user override the test.
    15927 else
    15928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    15929 for as_dir in $PATH
    15930 do
    15931   IFS=$as_save_IFS
    15932   test -z "$as_dir" && as_dir=.
    15933     for ac_exec_ext in '' $ac_executable_extensions; do
    15934   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    15935     ac_cv_prog_CC="${ac_tool_prefix}gcc"
    15936     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    15937     break 2
    15938   fi
    15939 done
    15940   done
    15941 IFS=$as_save_IFS
    15942 
    15943 fi
    15944 fi
    15945 CC=$ac_cv_prog_CC
    15946 if test -n "$CC"; then
    15947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    15948 $as_echo "$CC" >&6; }
    15949 else
    15950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    15951 $as_echo "no" >&6; }
    15952 fi
    15953 
    15954 
    15955 fi
    15956 if test -z "$ac_cv_prog_CC"; then
    15957   ac_ct_CC=$CC
    15958   # Extract the first word of "gcc", so it can be a program name with args.
    15959 set dummy gcc; ac_word=$2
    15960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    15961 $as_echo_n "checking for $ac_word... " >&6; }
    15962 if ${ac_cv_prog_ac_ct_CC+:} false; then :
    15963   $as_echo_n "(cached) " >&6
    15964 else
    15965   if test -n "$ac_ct_CC"; then
    15966   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    15967 else
    15968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    15969 for as_dir in $PATH
    15970 do
    15971   IFS=$as_save_IFS
    15972   test -z "$as_dir" && as_dir=.
    15973     for ac_exec_ext in '' $ac_executable_extensions; do
    15974   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    15975     ac_cv_prog_ac_ct_CC="gcc"
    15976     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    15977     break 2
    15978   fi
    15979 done
    15980   done
    15981 IFS=$as_save_IFS
    15982 
    15983 fi
    15984 fi
    15985 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    15986 if test -n "$ac_ct_CC"; then
    15987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    15988 $as_echo "$ac_ct_CC" >&6; }
    15989 else
    15990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    15991 $as_echo "no" >&6; }
    15992 fi
    15993 
    15994   if test "x$ac_ct_CC" = x; then
    15995     CC=""
    15996   else
    15997     case $cross_compiling:$ac_tool_warned in
    15998 yes:)
    15999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    16000 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    16001 ac_tool_warned=yes ;;
    16002 esac
    16003     CC=$ac_ct_CC
    16004   fi
    16005 else
    16006   CC="$ac_cv_prog_CC"
    16007 fi
    16008 
    16009 if test -z "$CC"; then
    16010           if test -n "$ac_tool_prefix"; then
    16011     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    16012 set dummy ${ac_tool_prefix}cc; ac_word=$2
    16013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    16014 $as_echo_n "checking for $ac_word... " >&6; }
    16015 if ${ac_cv_prog_CC+:} false; then :
    16016   $as_echo_n "(cached) " >&6
    16017 else
    16018   if test -n "$CC"; then
    16019   ac_cv_prog_CC="$CC" # Let the user override the test.
    16020 else
    16021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    16022 for as_dir in $PATH
    16023 do
    16024   IFS=$as_save_IFS
    16025   test -z "$as_dir" && as_dir=.
    16026     for ac_exec_ext in '' $ac_executable_extensions; do
    16027   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    16028     ac_cv_prog_CC="${ac_tool_prefix}cc"
    16029     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    16030     break 2
    16031   fi
    16032 done
    16033   done
    16034 IFS=$as_save_IFS
    16035 
    16036 fi
    16037 fi
    16038 CC=$ac_cv_prog_CC
    16039 if test -n "$CC"; then
    16040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    16041 $as_echo "$CC" >&6; }
    16042 else
    16043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    16044 $as_echo "no" >&6; }
    16045 fi
    16046 
    16047 
    16048   fi
    16049 fi
    16050 if test -z "$CC"; then
    16051   # Extract the first word of "cc", so it can be a program name with args.
    16052 set dummy cc; ac_word=$2
    16053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    16054 $as_echo_n "checking for $ac_word... " >&6; }
    16055 if ${ac_cv_prog_CC+:} false; then :
    16056   $as_echo_n "(cached) " >&6
    16057 else
    16058   if test -n "$CC"; then
    16059   ac_cv_prog_CC="$CC" # Let the user override the test.
    16060 else
    16061   ac_prog_rejected=no
    16062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    16063 for as_dir in $PATH
    16064 do
    16065   IFS=$as_save_IFS
    16066   test -z "$as_dir" && as_dir=.
    16067     for ac_exec_ext in '' $ac_executable_extensions; do
    16068   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    16069     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    16070        ac_prog_rejected=yes
    16071        continue
    16072      fi
    16073     ac_cv_prog_CC="cc"
    16074     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    16075     break 2
    16076   fi
    16077 done
    16078   done
    16079 IFS=$as_save_IFS
    16080 
    16081 if test $ac_prog_rejected = yes; then
    16082   # We found a bogon in the path, so make sure we never use it.
    16083   set dummy $ac_cv_prog_CC
    16084   shift
    16085   if test $# != 0; then
    16086     # We chose a different compiler from the bogus one.
    16087     # However, it has the same basename, so the bogon will be chosen
    16088     # first if we set CC to just the basename; use the full file name.
    16089     shift
    16090     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
    16091   fi
    16092 fi
    16093 fi
    16094 fi
    16095 CC=$ac_cv_prog_CC
    16096 if test -n "$CC"; then
    16097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    16098 $as_echo "$CC" >&6; }
    16099 else
    16100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    16101 $as_echo "no" >&6; }
    16102 fi
    16103 
    16104 
    16105 fi
    16106 if test -z "$CC"; then
    16107   if test -n "$ac_tool_prefix"; then
    16108   for ac_prog in cl.exe
    16109   do
    16110     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    16111 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    16112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    16113 $as_echo_n "checking for $ac_word... " >&6; }
    16114 if ${ac_cv_prog_CC+:} false; then :
    16115   $as_echo_n "(cached) " >&6
    16116 else
    16117   if test -n "$CC"; then
    16118   ac_cv_prog_CC="$CC" # Let the user override the test.
    16119 else
    16120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    16121 for as_dir in $PATH
    16122 do
    16123   IFS=$as_save_IFS
    16124   test -z "$as_dir" && as_dir=.
    16125     for ac_exec_ext in '' $ac_executable_extensions; do
    16126   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    16127     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    16128     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    16129     break 2
    16130   fi
    16131 done
    16132   done
    16133 IFS=$as_save_IFS
    16134 
    16135 fi
    16136 fi
    16137 CC=$ac_cv_prog_CC
    16138 if test -n "$CC"; then
    16139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    16140 $as_echo "$CC" >&6; }
    16141 else
    16142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    16143 $as_echo "no" >&6; }
    16144 fi
    16145 
    16146 
    16147     test -n "$CC" && break
    16148   done
    16149 fi
    16150 if test -z "$CC"; then
    16151   ac_ct_CC=$CC
    16152   for ac_prog in cl.exe
    16153 do
    16154   # Extract the first word of "$ac_prog", so it can be a program name with args.
    16155 set dummy $ac_prog; ac_word=$2
    16156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    16157 $as_echo_n "checking for $ac_word... " >&6; }
    16158 if ${ac_cv_prog_ac_ct_CC+:} false; then :
    16159   $as_echo_n "(cached) " >&6
    16160 else
    16161   if test -n "$ac_ct_CC"; then
    16162   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    16163 else
    16164 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    16165 for as_dir in $PATH
    16166 do
    16167   IFS=$as_save_IFS
    16168   test -z "$as_dir" && as_dir=.
    16169     for ac_exec_ext in '' $ac_executable_extensions; do
    16170   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    16171     ac_cv_prog_ac_ct_CC="$ac_prog"
    16172     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    16173     break 2
    16174   fi
    16175 done
    16176   done
    16177 IFS=$as_save_IFS
    16178 
    16179 fi
    16180 fi
    16181 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    16182 if test -n "$ac_ct_CC"; then
    16183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    16184 $as_echo "$ac_ct_CC" >&6; }
    16185 else
    16186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    16187 $as_echo "no" >&6; }
    16188 fi
    16189 
    16190 
    16191   test -n "$ac_ct_CC" && break
    16192 done
    16193 
    16194   if test "x$ac_ct_CC" = x; then
    16195     CC=""
    16196   else
    16197     case $cross_compiling:$ac_tool_warned in
    16198 yes:)
    16199 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    16200 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    16201 ac_tool_warned=yes ;;
    16202 esac
    16203     CC=$ac_ct_CC
    16204   fi
    16205 fi
    16206 
    16207 fi
    16208 
    16209 
    16210 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    16211 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    16212 as_fn_error $? "no acceptable C compiler found in \$PATH
    16213 See \`config.log' for more details" "$LINENO" 5; }
    16214 
    16215 # Provide some information about the compiler.
    16216 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
    16217 set X $ac_compile
    16218 ac_compiler=$2
    16219 for ac_option in --version -v -V -qversion; do
    16220   { { ac_try="$ac_compiler $ac_option >&5"
    16221 case "(($ac_try" in
    16222   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    16223   *) ac_try_echo=$ac_try;;
    16224 esac
    16225 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    16226 $as_echo "$ac_try_echo"; } >&5
    16227   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    16228   ac_status=$?
    16229   if test -s conftest.err; then
    16230     sed '10a\
    16231 ... rest of stderr output deleted ...
    16232          10q' conftest.err >conftest.er1
    16233     cat conftest.er1 >&5
    16234   fi
    16235   rm -f conftest.er1 conftest.err
    16236   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    16237   test $ac_status = 0; }
    16238 done
    16239 
    16240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
    16241 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    16242 if ${ac_cv_c_compiler_gnu+:} false; then :
    16243   $as_echo_n "(cached) " >&6
    16244 else
    16245   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    16246 /* end confdefs.h.  */
    16247 
    16248 int
    16249 main ()
    16250 {
    16251 #ifndef __GNUC__
    16252        choke me
    16253 #endif
    16254 
    16255   ;
    16256   return 0;
    16257 }
    16258 _ACEOF
    16259 if ac_fn_c_try_compile "$LINENO"; then :
    16260   ac_compiler_gnu=yes
    16261 else
    16262   ac_compiler_gnu=no
    16263 fi
    16264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    16265 ac_cv_c_compiler_gnu=$ac_compiler_gnu
    16266 
    16267 fi
    16268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
    16269 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
    16270 if test $ac_compiler_gnu = yes; then
    16271   GCC=yes
    16272 else
    16273   GCC=
    16274 fi
    16275 ac_test_CFLAGS=${CFLAGS+set}
    16276 ac_save_CFLAGS=$CFLAGS
    16277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
    16278 $as_echo_n "checking whether $CC accepts -g... " >&6; }
    16279 if ${ac_cv_prog_cc_g+:} false; then :
    16280   $as_echo_n "(cached) " >&6
    16281 else
    16282   ac_save_c_werror_flag=$ac_c_werror_flag
    16283    ac_c_werror_flag=yes
    16284    ac_cv_prog_cc_g=no
    16285    CFLAGS="-g"
    16286    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    16287 /* end confdefs.h.  */
    16288 
    16289 int
    16290 main ()
    16291 {
    16292 
    16293   ;
    16294   return 0;
    16295 }
    16296 _ACEOF
    16297 if ac_fn_c_try_compile "$LINENO"; then :
    16298   ac_cv_prog_cc_g=yes
    16299 else
    16300   CFLAGS=""
    16301       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    16302 /* end confdefs.h.  */
    16303 
    16304 int
    16305 main ()
    16306 {
    16307 
    16308   ;
    16309   return 0;
    16310 }
    16311 _ACEOF
    16312 if ac_fn_c_try_compile "$LINENO"; then :
    16313 
    16314 else
    16315   ac_c_werror_flag=$ac_save_c_werror_flag
    16316          CFLAGS="-g"
    16317          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    16318 /* end confdefs.h.  */
    16319 
    16320 int
    16321 main ()
    16322 {
    16323 
    16324   ;
    16325   return 0;
    16326 }
    16327 _ACEOF
    16328 if ac_fn_c_try_compile "$LINENO"; then :
    16329   ac_cv_prog_cc_g=yes
    16330 fi
    16331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    16332 fi
    16333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    16334 fi
    16335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    16336    ac_c_werror_flag=$ac_save_c_werror_flag
    16337 fi
    16338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
    16339 $as_echo "$ac_cv_prog_cc_g" >&6; }
    16340 if test "$ac_test_CFLAGS" = set; then
    16341   CFLAGS=$ac_save_CFLAGS
    16342 elif test $ac_cv_prog_cc_g = yes; then
    16343   if test "$GCC" = yes; then
    16344     CFLAGS="-g -O2"
    16345   else
    16346     CFLAGS="-g"
    16347   fi
    16348 else
    16349   if test "$GCC" = yes; then
    16350     CFLAGS="-O2"
    16351   else
    16352     CFLAGS=
    16353   fi
    16354 fi
    16355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
    16356 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    16357 if ${ac_cv_prog_cc_c89+:} false; then :
    16358   $as_echo_n "(cached) " >&6
    16359 else
    16360   ac_cv_prog_cc_c89=no
    16361 ac_save_CC=$CC
    16362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    16363 /* end confdefs.h.  */
    16364 #include <stdarg.h>
    16365 #include <stdio.h>
    16366 struct stat;
    16367 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
    16368 struct buf { int x; };
    16369 FILE * (*rcsopen) (struct buf *, struct stat *, int);
    16370 static char *e (p, i)
    16371      char **p;
    16372      int i;
    16373 {
    16374   return p[i];
    16375 }
    16376 static char *f (char * (*g) (char **, int), char **p, ...)
    16377 {
    16378   char *s;
    16379   va_list v;
    16380   va_start (v,p);
    16381   s = g (p, va_arg (v,int));
    16382   va_end (v);
    16383   return s;
    16384 }
    16385 
    16386 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
    16387    function prototypes and stuff, but not '\xHH' hex character constants.
    16388    These don't provoke an error unfortunately, instead are silently treated
    16389    as 'x'.  The following induces an error, until -std is added to get
    16390    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
    16391    array size at least.  It's necessary to write '\x00'==0 to get something
    16392    that's true only with -std.  */
    16393 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
    16394 
    16395 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
    16396    inside strings and character constants.  */
    16397 #define FOO(x) 'x'
    16398 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
    16399 
    16400 int test (int i, double x);
    16401 struct s1 {int (*f) (int a);};
    16402 struct s2 {int (*f) (double a);};
    16403 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
    16404 int argc;
    16405 char **argv;
    16406 int
    16407 main ()
    16408 {
    16409 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
    16410   ;
    16411   return 0;
    16412 }
    16413 _ACEOF
    16414 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
    16415         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
    16416 do
    16417   CC="$ac_save_CC $ac_arg"
    16418   if ac_fn_c_try_compile "$LINENO"; then :
    16419   ac_cv_prog_cc_c89=$ac_arg
    16420 fi
    16421 rm -f core conftest.err conftest.$ac_objext
    16422   test "x$ac_cv_prog_cc_c89" != "xno" && break
    16423 done
    16424 rm -f conftest.$ac_ext
    16425 CC=$ac_save_CC
    16426 
    16427 fi
    16428 # AC_CACHE_VAL
    16429 case "x$ac_cv_prog_cc_c89" in
    16430   x)
    16431     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
    16432 $as_echo "none needed" >&6; } ;;
    16433   xno)
    16434     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
    16435 $as_echo "unsupported" >&6; } ;;
    16436   *)
    16437     CC="$CC $ac_cv_prog_cc_c89"
    16438     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
    16439 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    16440 esac
    16441 if test "x$ac_cv_prog_cc_c89" != xno; then :
    16442 
    16443 fi
    16444 
    16445 ac_ext=c
    16446 ac_cpp='$CPP $CPPFLAGS'
    16447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    16448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    16449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    16450 
    16451 ac_ext=c
    16452 ac_cpp='$CPP $CPPFLAGS'
    16453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    16454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    16455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    16456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
    16457 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
    16458 if ${am_cv_prog_cc_c_o+:} false; then :
    16459   $as_echo_n "(cached) " >&6
    16460 else
    16461   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    16462 /* end confdefs.h.  */
    16463 
    16464 int
    16465 main ()
    16466 {
    16467 
    16468   ;
    16469   return 0;
    16470 }
    16471 _ACEOF
    16472   # Make sure it works both with $CC and with simple cc.
    16473   # Following AC_PROG_CC_C_O, we do the test twice because some
    16474   # compilers refuse to overwrite an existing .o file with -o,
    16475   # though they will create one.
    16476   am_cv_prog_cc_c_o=yes
    16477   for am_i in 1 2; do
    16478     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
    16479    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
    16480    ac_status=$?
    16481    echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16482    (exit $ac_status); } \
    16483          && test -f conftest2.$ac_objext; then
    16484       : OK
    16485     else
    16486       am_cv_prog_cc_c_o=no
    16487       break
    16488     fi
    16489   done
    16490   rm -f core conftest*
    16491   unset am_i
    16492 fi
    16493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
    16494 $as_echo "$am_cv_prog_cc_c_o" >&6; }
    16495 if test "$am_cv_prog_cc_c_o" != yes; then
    16496    # Losing compiler, so override with the script.
    16497    # FIXME: It is wrong to rewrite CC.
    16498    # But if we don't then we get into trouble of one sort or another.
    16499    # A longer-term fix would be to have automake use am__CC in this case,
    16500    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
    16501    CC="$am_aux_dir/compile $CC"
    16502 fi
    16503 ac_ext=c
    16504 ac_cpp='$CPP $CPPFLAGS'
    16505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    16506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    16507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    16508 
    16509 
    16510 depcc="$CC"   am_compiler_list=
    16511 
    16512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
    16513 $as_echo_n "checking dependency style of $depcc... " >&6; }
    16514 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
    16515   $as_echo_n "(cached) " >&6
    16516 else
    16517   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
    16518   # We make a subdir and do the tests there.  Otherwise we can end up
    16519   # making bogus files that we don't know about and never remove.  For
    16520   # instance it was reported that on HP-UX the gcc test will end up
    16521   # making a dummy file named 'D' -- because '-MD' means "put the output
    16522   # in D".
    16523   rm -rf conftest.dir
    16524   mkdir conftest.dir
    16525   # Copy depcomp to subdir because otherwise we won't find it if we're
    16526   # using a relative directory.
    16527   cp "$am_depcomp" conftest.dir
    16528   cd conftest.dir
    16529   # We will build objects and dependencies in a subdirectory because
    16530   # it helps to detect inapplicable dependency modes.  For instance
    16531   # both Tru64's cc and ICC support -MD to output dependencies as a
    16532   # side effect of compilation, but ICC will put the dependencies in
    16533   # the current directory while Tru64 will put them in the object
    16534   # directory.
    16535   mkdir sub
    16536 
    16537   am_cv_CC_dependencies_compiler_type=none
    16538   if test "$am_compiler_list" = ""; then
    16539      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
    16540   fi
    16541   am__universal=false
    16542   case " $depcc " in #(
    16543      *\ -arch\ *\ -arch\ *) am__universal=true ;;
    16544      esac
    16545 
    16546   for depmode in $am_compiler_list; do
    16547     # Setup a source with many dependencies, because some compilers
    16548     # like to wrap large dependency lists on column 80 (with \), and
    16549     # we should not choose a depcomp mode which is confused by this.
    16550     #
    16551     # We need to recreate these files for each test, as the compiler may
    16552     # overwrite some of them when testing with obscure command lines.
    16553     # This happens at least with the AIX C compiler.
    16554     : > sub/conftest.c
    16555     for i in 1 2 3 4 5 6; do
    16556       echo '#include "conftst'$i'.h"' >> sub/conftest.c
    16557       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
    16558       # Solaris 10 /bin/sh.
    16559       echo '/* dummy */' > sub/conftst$i.h
    16560     done
    16561     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
    16562 
    16563     # We check with '-c' and '-o' for the sake of the "dashmstdout"
    16564     # mode.  It turns out that the SunPro C++ compiler does not properly
    16565     # handle '-M -o', and we need to detect this.  Also, some Intel
    16566     # versions had trouble with output in subdirs.
    16567     am__obj=sub/conftest.${OBJEXT-o}
    16568     am__minus_obj="-o $am__obj"
    16569     case $depmode in
    16570     gcc)
    16571       # This depmode causes a compiler race in universal mode.
    16572       test "$am__universal" = false || continue
    16573       ;;
    16574     nosideeffect)
    16575       # After this tag, mechanisms are not by side-effect, so they'll
    16576       # only be used when explicitly requested.
    16577       if test "x$enable_dependency_tracking" = xyes; then
    16578         continue
    16579       else
    16580         break
    16581       fi
    16582       ;;
    16583     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
    16584       # This compiler won't grok '-c -o', but also, the minuso test has
    16585       # not run yet.  These depmodes are late enough in the game, and
    16586       # so weak that their functioning should not be impacted.
    16587       am__obj=conftest.${OBJEXT-o}
    16588       am__minus_obj=
    16589       ;;
    16590     none) break ;;
    16591     esac
    16592     if depmode=$depmode \
    16593        source=sub/conftest.c object=$am__obj \
    16594        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
    16595        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
    16596          >/dev/null 2>conftest.err &&
    16597        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
    16598        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
    16599        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
    16600        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
    16601       # icc doesn't choke on unknown options, it will just issue warnings
    16602       # or remarks (even with -Werror).  So we grep stderr for any message
    16603       # that says an option was ignored or not supported.
    16604       # When given -MP, icc 7.0 and 7.1 complain thusly:
    16605       #   icc: Command line warning: ignoring option '-M'; no argument required
    16606       # The diagnosis changed in icc 8.0:
    16607       #   icc: Command line remark: option '-MP' not supported
    16608       if (grep 'ignoring option' conftest.err ||
    16609           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
    16610         am_cv_CC_dependencies_compiler_type=$depmode
    16611         break
    16612       fi
    16613     fi
    16614   done
    16615 
    16616   cd ..
    16617   rm -rf conftest.dir
    16618 else
    16619   am_cv_CC_dependencies_compiler_type=none
    16620 fi
    16621 
    16622 fi
    16623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
    16624 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
    16625 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
    16626 
    16627  if
    16628   test "x$enable_dependency_tracking" != xno \
    16629   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
    16630   am__fastdepCC_TRUE=
    16631   am__fastdepCC_FALSE='#'
    16632 else
    16633   am__fastdepCC_TRUE='#'
    16634   am__fastdepCC_FALSE=
    16635 fi
    16636 
    16637 
    166384074# By default we simply use the C compiler to build assembly code.
    166394075
     
    168014237fi
    168024238
     4239if test -n "$ac_tool_prefix"; then
     4240  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
     4241set dummy ${ac_tool_prefix}ranlib; ac_word=$2
     4242{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4243$as_echo_n "checking for $ac_word... " >&6; }
     4244if ${ac_cv_prog_RANLIB+:} false; then :
     4245  $as_echo_n "(cached) " >&6
     4246else
     4247  if test -n "$RANLIB"; then
     4248  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
     4249else
     4250as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4251for as_dir in $PATH
     4252do
     4253  IFS=$as_save_IFS
     4254  test -z "$as_dir" && as_dir=.
     4255    for ac_exec_ext in '' $ac_executable_extensions; do
     4256  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     4257    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
     4258    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     4259    break 2
     4260  fi
     4261done
     4262  done
     4263IFS=$as_save_IFS
     4264
     4265fi
     4266fi
     4267RANLIB=$ac_cv_prog_RANLIB
     4268if test -n "$RANLIB"; then
     4269  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
     4270$as_echo "$RANLIB" >&6; }
     4271else
     4272  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4273$as_echo "no" >&6; }
     4274fi
     4275
     4276
     4277fi
     4278if test -z "$ac_cv_prog_RANLIB"; then
     4279  ac_ct_RANLIB=$RANLIB
     4280  # Extract the first word of "ranlib", so it can be a program name with args.
     4281set dummy ranlib; ac_word=$2
     4282{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4283$as_echo_n "checking for $ac_word... " >&6; }
     4284if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
     4285  $as_echo_n "(cached) " >&6
     4286else
     4287  if test -n "$ac_ct_RANLIB"; then
     4288  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
     4289else
     4290as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4291for as_dir in $PATH
     4292do
     4293  IFS=$as_save_IFS
     4294  test -z "$as_dir" && as_dir=.
     4295    for ac_exec_ext in '' $ac_executable_extensions; do
     4296  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     4297    ac_cv_prog_ac_ct_RANLIB="ranlib"
     4298    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     4299    break 2
     4300  fi
     4301done
     4302  done
     4303IFS=$as_save_IFS
     4304
     4305fi
     4306fi
     4307ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
     4308if test -n "$ac_ct_RANLIB"; then
     4309  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
     4310$as_echo "$ac_ct_RANLIB" >&6; }
     4311else
     4312  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4313$as_echo "no" >&6; }
     4314fi
     4315
     4316  if test "x$ac_ct_RANLIB" = x; then
     4317    RANLIB=":"
     4318  else
     4319    case $cross_compiling:$ac_tool_warned in
     4320yes:)
     4321{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     4322$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     4323ac_tool_warned=yes ;;
     4324esac
     4325    RANLIB=$ac_ct_RANLIB
     4326  fi
     4327else
     4328  RANLIB="$ac_cv_prog_RANLIB"
     4329fi
     4330
    168034331
    168044332ac_config_files="$ac_config_files Makefile src/Makefile prelude/Makefile"
     
    169744502Usually this means the macro was only invoked conditionally." "$LINENO" 5
    169754503fi
    16976 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
    16977   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
    16978 Usually this means the macro was only invoked conditionally." "$LINENO" 5
    16979 fi
    169804504if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
    169814505  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
     
    175545078AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
    175555079
    17556 
    17557 # The HP-UX ksh and POSIX shell print the target directory to stdout
    17558 # if CDPATH is set.
    17559 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    17560 
    17561 sed_quote_subst='$sed_quote_subst'
    17562 double_quote_subst='$double_quote_subst'
    17563 delay_variable_subst='$delay_variable_subst'
    17564 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
    17565 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
    17566 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
    17567 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
    17568 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
    17569 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
    17570 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
    17571 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
    17572 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
    17573 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
    17574 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
    17575 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
    17576 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
    17577 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
    17578 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
    17579 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
    17580 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
    17581 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
    17582 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
    17583 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
    17584 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
    17585 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
    17586 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
    17587 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
    17588 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
    17589 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
    17590 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
    17591 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
    17592 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
    17593 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
    17594 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
    17595 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
    17596 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
    17597 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
    17598 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
    17599 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
    17600 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
    17601 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
    17602 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
    17603 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
    17604 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
    17605 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
    17606 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
    17607 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
    17608 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
    17609 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
    17610 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
    17611 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
    17612 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
    17613 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
    17614 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
    17615 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
    17616 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
    17617 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
    17618 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
    17619 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
    17620 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
    17621 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
    17622 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
    17623 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
    17624 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
    17625 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
    17626 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
    17627 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
    17628 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
    17629 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
    17630 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
    17631 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
    17632 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
    17633 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
    17634 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
    17635 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
    17636 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
    17637 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
    17638 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
    17639 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
    17640 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
    17641 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
    17642 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
    17643 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
    17644 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
    17645 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
    17646 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
    17647 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
    17648 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
    17649 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
    17650 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
    17651 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
    17652 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
    17653 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
    17654 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
    17655 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
    17656 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
    17657 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
    17658 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
    17659 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
    17660 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
    17661 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
    17662 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
    17663 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
    17664 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
    17665 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
    17666 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
    17667 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
    17668 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
    17669 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
    17670 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
    17671 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
    17672 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
    17673 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
    17674 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
    17675 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
    17676 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
    17677 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
    17678 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
    17679 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
    17680 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
    17681 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
    17682 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
    17683 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
    17684 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
    17685 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
    17686 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
    17687 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
    17688 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
    17689 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
    17690 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
    17691 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
    17692 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
    17693 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
    17694 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
    17695 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
    17696 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
    17697 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
    17698 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
    17699 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
    17700 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
    17701 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
    17702 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
    17703 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
    17704 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
    17705 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
    17706 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
    17707 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
    17708 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
    17709 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
    17710 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
    17711 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
    17712 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
    17713 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
    17714 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
    17715 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
    17716 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
    17717 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
    17718 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
    17719 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
    17720 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
    17721 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
    17722 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
    17723 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
    17724 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
    17725 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
    17726 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
    17727 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
    17728 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
    17729 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
    17730 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
    17731 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
    17732 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
    17733 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
    17734 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
    17735 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
    17736 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
    17737 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
    17738 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
    17739 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
    17740 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
    17741 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
    17742 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
    17743 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
    17744 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
    17745 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
    17746 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
    17747 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
    17748 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
    17749 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
    17750 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
    17751 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
    17752 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
    17753 
    17754 LTCC='$LTCC'
    17755 LTCFLAGS='$LTCFLAGS'
    17756 compiler='$compiler_DEFAULT'
    17757 
    17758 # A function that is used when there is no print builtin or printf.
    17759 func_fallback_echo ()
    17760 {
    17761   eval 'cat <<_LTECHO_EOF
    17762 \$1
    17763 _LTECHO_EOF'
    17764 }
    17765 
    17766 # Quote evaled strings.
    17767 for var in SHELL \
    17768 ECHO \
    17769 PATH_SEPARATOR \
    17770 SED \
    17771 GREP \
    17772 EGREP \
    17773 FGREP \
    17774 LD \
    17775 NM \
    17776 LN_S \
    17777 lt_SP2NL \
    17778 lt_NL2SP \
    17779 reload_flag \
    17780 OBJDUMP \
    17781 deplibs_check_method \
    17782 file_magic_cmd \
    17783 file_magic_glob \
    17784 want_nocaseglob \
    17785 DLLTOOL \
    17786 sharedlib_from_linklib_cmd \
    17787 AR \
    17788 AR_FLAGS \
    17789 archiver_list_spec \
    17790 STRIP \
    17791 RANLIB \
    17792 CC \
    17793 CFLAGS \
    17794 compiler \
    17795 lt_cv_sys_global_symbol_pipe \
    17796 lt_cv_sys_global_symbol_to_cdecl \
    17797 lt_cv_sys_global_symbol_to_import \
    17798 lt_cv_sys_global_symbol_to_c_name_address \
    17799 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
    17800 lt_cv_nm_interface \
    17801 nm_file_list_spec \
    17802 lt_cv_truncate_bin \
    17803 lt_prog_compiler_no_builtin_flag \
    17804 lt_prog_compiler_pic \
    17805 lt_prog_compiler_wl \
    17806 lt_prog_compiler_static \
    17807 lt_cv_prog_compiler_c_o \
    17808 need_locks \
    17809 MANIFEST_TOOL \
    17810 DSYMUTIL \
    17811 NMEDIT \
    17812 LIPO \
    17813 OTOOL \
    17814 OTOOL64 \
    17815 shrext_cmds \
    17816 export_dynamic_flag_spec \
    17817 whole_archive_flag_spec \
    17818 compiler_needs_object \
    17819 with_gnu_ld \
    17820 allow_undefined_flag \
    17821 no_undefined_flag \
    17822 hardcode_libdir_flag_spec \
    17823 hardcode_libdir_separator \
    17824 exclude_expsyms \
    17825 include_expsyms \
    17826 file_list_spec \
    17827 variables_saved_for_relink \
    17828 libname_spec \
    17829 library_names_spec \
    17830 soname_spec \
    17831 install_override_mode \
    17832 finish_eval \
    17833 old_striplib \
    17834 striplib \
    17835 compiler_lib_search_dirs \
    17836 predep_objects \
    17837 postdep_objects \
    17838 predeps \
    17839 postdeps \
    17840 compiler_lib_search_path \
    17841 LD_CXX \
    17842 reload_flag_CXX \
    17843 compiler_CXX \
    17844 lt_prog_compiler_no_builtin_flag_CXX \
    17845 lt_prog_compiler_pic_CXX \
    17846 lt_prog_compiler_wl_CXX \
    17847 lt_prog_compiler_static_CXX \
    17848 lt_cv_prog_compiler_c_o_CXX \
    17849 export_dynamic_flag_spec_CXX \
    17850 whole_archive_flag_spec_CXX \
    17851 compiler_needs_object_CXX \
    17852 with_gnu_ld_CXX \
    17853 allow_undefined_flag_CXX \
    17854 no_undefined_flag_CXX \
    17855 hardcode_libdir_flag_spec_CXX \
    17856 hardcode_libdir_separator_CXX \
    17857 exclude_expsyms_CXX \
    17858 include_expsyms_CXX \
    17859 file_list_spec_CXX \
    17860 compiler_lib_search_dirs_CXX \
    17861 predep_objects_CXX \
    17862 postdep_objects_CXX \
    17863 predeps_CXX \
    17864 postdeps_CXX \
    17865 compiler_lib_search_path_CXX; do
    17866     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
    17867     *[\\\\\\\`\\"\\\$]*)
    17868       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
    17869       ;;
    17870     *)
    17871       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
    17872       ;;
    17873     esac
    17874 done
    17875 
    17876 # Double-quote double-evaled strings.
    17877 for var in reload_cmds \
    17878 old_postinstall_cmds \
    17879 old_postuninstall_cmds \
    17880 old_archive_cmds \
    17881 extract_expsyms_cmds \
    17882 old_archive_from_new_cmds \
    17883 old_archive_from_expsyms_cmds \
    17884 archive_cmds \
    17885 archive_expsym_cmds \
    17886 module_cmds \
    17887 module_expsym_cmds \
    17888 export_symbols_cmds \
    17889 prelink_cmds \
    17890 postlink_cmds \
    17891 postinstall_cmds \
    17892 postuninstall_cmds \
    17893 finish_cmds \
    17894 sys_lib_search_path_spec \
    17895 configure_time_dlsearch_path \
    17896 configure_time_lt_sys_library_path \
    17897 reload_cmds_CXX \
    17898 old_archive_cmds_CXX \
    17899 old_archive_from_new_cmds_CXX \
    17900 old_archive_from_expsyms_cmds_CXX \
    17901 archive_cmds_CXX \
    17902 archive_expsym_cmds_CXX \
    17903 module_cmds_CXX \
    17904 module_expsym_cmds_CXX \
    17905 export_symbols_cmds_CXX \
    17906 prelink_cmds_CXX \
    17907 postlink_cmds_CXX; do
    17908     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
    17909     *[\\\\\\\`\\"\\\$]*)
    17910       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
    17911       ;;
    17912     *)
    17913       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
    17914       ;;
    17915     esac
    17916 done
    17917 
    17918 ac_aux_dir='$ac_aux_dir'
    17919 
    17920 # See if we are running on zsh, and set the options that allow our
    17921 # commands through without removal of \ escapes INIT.
    17922 if test -n "\${ZSH_VERSION+set}"; then
    17923    setopt NO_GLOB_SUBST
    17924 fi
    17925 
    17926 
    17927     PACKAGE='$PACKAGE'
    17928     VERSION='$VERSION'
    17929     RM='$RM'
    17930     ofile='$ofile'
    17931 
    17932 
    17933 
    17934 
    17935 
    17936 
    179375080_ACEOF
    179385081
     
    179445087  case $ac_config_target in
    179455088    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
    17946     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
    179475089    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    179485090    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
     
    184705612}
    184715613 ;;
    18472     "libtool":C)
    18473 
    18474     # See if we are running on zsh, and set the options that allow our
    18475     # commands through without removal of \ escapes.
    18476     if test -n "${ZSH_VERSION+set}"; then
    18477       setopt NO_GLOB_SUBST
    18478     fi
    18479 
    18480     cfgfile=${ofile}T
    18481     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
    18482     $RM "$cfgfile"
    18483 
    18484     cat <<_LT_EOF >> "$cfgfile"
    18485 #! $SHELL
    18486 # Generated automatically by $as_me ($PACKAGE) $VERSION
    18487 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
    18488 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
    18489 
    18490 # Provide generalized library-building support services.
    18491 # Written by Gordon Matzigkeit, 1996
    18492 
    18493 # Copyright (C) 2014 Free Software Foundation, Inc.
    18494 # This is free software; see the source for copying conditions.  There is NO
    18495 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    18496 
    18497 # GNU Libtool is free software; you can redistribute it and/or modify
    18498 # it under the terms of the GNU General Public License as published by
    18499 # the Free Software Foundation; either version 2 of of the License, or
    18500 # (at your option) any later version.
    18501 #
    18502 # As a special exception to the GNU General Public License, if you
    18503 # distribute this file as part of a program or library that is built
    18504 # using GNU Libtool, you may include this file under the  same
    18505 # distribution terms that you use for the rest of that program.
    18506 #
    18507 # GNU Libtool is distributed in the hope that it will be useful, but
    18508 # WITHOUT ANY WARRANTY; without even the implied warranty of
    18509 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    18510 # GNU General Public License for more details.
    18511 #
    18512 # You should have received a copy of the GNU General Public License
    18513 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
    18514 
    18515 
    18516 # The names of the tagged configurations supported by this script.
    18517 available_tags='CXX '
    18518 
    18519 # Configured defaults for sys_lib_dlsearch_path munging.
    18520 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
    18521 
    18522 # ### BEGIN LIBTOOL CONFIG
    18523 
    18524 # Which release of libtool.m4 was used?
    18525 macro_version=$macro_version
    18526 macro_revision=$macro_revision
    18527 
    18528 # Whether or not to build shared libraries.
    18529 build_libtool_libs=$enable_shared
    18530 
    18531 # Whether or not to build static libraries.
    18532 build_old_libs=$enable_static
    18533 
    18534 # What type of objects to build.
    18535 pic_mode=$pic_mode
    18536 
    18537 # Whether or not to optimize for fast installation.
    18538 fast_install=$enable_fast_install
    18539 
    18540 # Shared archive member basename,for filename based shared library versioning on AIX.
    18541 shared_archive_member_spec=$shared_archive_member_spec
    18542 
    18543 # Shell to use when invoking shell scripts.
    18544 SHELL=$lt_SHELL
    18545 
    18546 # An echo program that protects backslashes.
    18547 ECHO=$lt_ECHO
    18548 
    18549 # The PATH separator for the build system.
    18550 PATH_SEPARATOR=$lt_PATH_SEPARATOR
    18551 
    18552 # The host system.
    18553 host_alias=$host_alias
    18554 host=$host
    18555 host_os=$host_os
    18556 
    18557 # The build system.
    18558 build_alias=$build_alias
    18559 build=$build
    18560 build_os=$build_os
    18561 
    18562 # A sed program that does not truncate output.
    18563 SED=$lt_SED
    18564 
    18565 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
    18566 Xsed="\$SED -e 1s/^X//"
    18567 
    18568 # A grep program that handles long lines.
    18569 GREP=$lt_GREP
    18570 
    18571 # An ERE matcher.
    18572 EGREP=$lt_EGREP
    18573 
    18574 # A literal string matcher.
    18575 FGREP=$lt_FGREP
    18576 
    18577 # A BSD- or MS-compatible name lister.
    18578 NM=$lt_NM
    18579 
    18580 # Whether we need soft or hard links.
    18581 LN_S=$lt_LN_S
    18582 
    18583 # What is the maximum length of a command?
    18584 max_cmd_len=$max_cmd_len
    18585 
    18586 # Object file suffix (normally "o").
    18587 objext=$ac_objext
    18588 
    18589 # Executable file suffix (normally "").
    18590 exeext=$exeext
    18591 
    18592 # whether the shell understands "unset".
    18593 lt_unset=$lt_unset
    18594 
    18595 # turn spaces into newlines.
    18596 SP2NL=$lt_lt_SP2NL
    18597 
    18598 # turn newlines into spaces.
    18599 NL2SP=$lt_lt_NL2SP
    18600 
    18601 # convert \$build file names to \$host format.
    18602 to_host_file_cmd=$lt_cv_to_host_file_cmd
    18603 
    18604 # convert \$build files to toolchain format.
    18605 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
    18606 
    18607 # An object symbol dumper.
    18608 OBJDUMP=$lt_OBJDUMP
    18609 
    18610 # Method to check whether dependent libraries are shared objects.
    18611 deplibs_check_method=$lt_deplibs_check_method
    18612 
    18613 # Command to use when deplibs_check_method = "file_magic".
    18614 file_magic_cmd=$lt_file_magic_cmd
    18615 
    18616 # How to find potential files when deplibs_check_method = "file_magic".
    18617 file_magic_glob=$lt_file_magic_glob
    18618 
    18619 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
    18620 want_nocaseglob=$lt_want_nocaseglob
    18621 
    18622 # DLL creation program.
    18623 DLLTOOL=$lt_DLLTOOL
    18624 
    18625 # Command to associate shared and link libraries.
    18626 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
    18627 
    18628 # The archiver.
    18629 AR=$lt_AR
    18630 
    18631 # Flags to create an archive.
    18632 AR_FLAGS=$lt_AR_FLAGS
    18633 
    18634 # How to feed a file listing to the archiver.
    18635 archiver_list_spec=$lt_archiver_list_spec
    18636 
    18637 # A symbol stripping program.
    18638 STRIP=$lt_STRIP
    18639 
    18640 # Commands used to install an old-style archive.
    18641 RANLIB=$lt_RANLIB
    18642 old_postinstall_cmds=$lt_old_postinstall_cmds
    18643 old_postuninstall_cmds=$lt_old_postuninstall_cmds
    18644 
    18645 # Whether to use a lock for old archive extraction.
    18646 lock_old_archive_extraction=$lock_old_archive_extraction
    18647 
    18648 # A C compiler.
    18649 LTCC=$lt_CC
    18650 
    18651 # LTCC compiler flags.
    18652 LTCFLAGS=$lt_CFLAGS
    18653 
    18654 # Take the output of nm and produce a listing of raw symbols and C names.
    18655 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
    18656 
    18657 # Transform the output of nm in a proper C declaration.
    18658 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
    18659 
    18660 # Transform the output of nm into a list of symbols to manually relocate.
    18661 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
    18662 
    18663 # Transform the output of nm in a C name address pair.
    18664 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
    18665 
    18666 # Transform the output of nm in a C name address pair when lib prefix is needed.
    18667 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
    18668 
    18669 # The name lister interface.
    18670 nm_interface=$lt_lt_cv_nm_interface
    18671 
    18672 # Specify filename containing input files for \$NM.
    18673 nm_file_list_spec=$lt_nm_file_list_spec
    18674 
    18675 # The root where to search for dependent libraries,and where our libraries should be installed.
    18676 lt_sysroot=$lt_sysroot
    18677 
    18678 # Command to truncate a binary pipe.
    18679 lt_truncate_bin=$lt_lt_cv_truncate_bin
    18680 
    18681 # The name of the directory that contains temporary libtool files.
    18682 objdir=$objdir
    18683 
    18684 # Used to examine libraries when file_magic_cmd begins with "file".
    18685 MAGIC_CMD=$MAGIC_CMD
    18686 
    18687 # Must we lock files when doing compilation?
    18688 need_locks=$lt_need_locks
    18689 
    18690 # Manifest tool.
    18691 MANIFEST_TOOL=$lt_MANIFEST_TOOL
    18692 
    18693 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
    18694 DSYMUTIL=$lt_DSYMUTIL
    18695 
    18696 # Tool to change global to local symbols on Mac OS X.
    18697 NMEDIT=$lt_NMEDIT
    18698 
    18699 # Tool to manipulate fat objects and archives on Mac OS X.
    18700 LIPO=$lt_LIPO
    18701 
    18702 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
    18703 OTOOL=$lt_OTOOL
    18704 
    18705 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
    18706 OTOOL64=$lt_OTOOL64
    18707 
    18708 # Old archive suffix (normally "a").
    18709 libext=$libext
    18710 
    18711 # Shared library suffix (normally ".so").
    18712 shrext_cmds=$lt_shrext_cmds
    18713 
    18714 # The commands to extract the exported symbol list from a shared archive.
    18715 extract_expsyms_cmds=$lt_extract_expsyms_cmds
    18716 
    18717 # Variables whose values should be saved in libtool wrapper scripts and
    18718 # restored at link time.
    18719 variables_saved_for_relink=$lt_variables_saved_for_relink
    18720 
    18721 # Do we need the "lib" prefix for modules?
    18722 need_lib_prefix=$need_lib_prefix
    18723 
    18724 # Do we need a version for libraries?
    18725 need_version=$need_version
    18726 
    18727 # Library versioning type.
    18728 version_type=$version_type
    18729 
    18730 # Shared library runtime path variable.
    18731 runpath_var=$runpath_var
    18732 
    18733 # Shared library path variable.
    18734 shlibpath_var=$shlibpath_var
    18735 
    18736 # Is shlibpath searched before the hard-coded library search path?
    18737 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
    18738 
    18739 # Format of library name prefix.
    18740 libname_spec=$lt_libname_spec
    18741 
    18742 # List of archive names.  First name is the real one, the rest are links.
    18743 # The last name is the one that the linker finds with -lNAME
    18744 library_names_spec=$lt_library_names_spec
    18745 
    18746 # The coded name of the library, if different from the real name.
    18747 soname_spec=$lt_soname_spec
    18748 
    18749 # Permission mode override for installation of shared libraries.
    18750 install_override_mode=$lt_install_override_mode
    18751 
    18752 # Command to use after installation of a shared archive.
    18753 postinstall_cmds=$lt_postinstall_cmds
    18754 
    18755 # Command to use after uninstallation of a shared archive.
    18756 postuninstall_cmds=$lt_postuninstall_cmds
    18757 
    18758 # Commands used to finish a libtool library installation in a directory.
    18759 finish_cmds=$lt_finish_cmds
    18760 
    18761 # As "finish_cmds", except a single script fragment to be evaled but
    18762 # not shown.
    18763 finish_eval=$lt_finish_eval
    18764 
    18765 # Whether we should hardcode library paths into libraries.
    18766 hardcode_into_libs=$hardcode_into_libs
    18767 
    18768 # Compile-time system search path for libraries.
    18769 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
    18770 
    18771 # Detected run-time system search path for libraries.
    18772 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
    18773 
    18774 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
    18775 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
    18776 
    18777 # Whether dlopen is supported.
    18778 dlopen_support=$enable_dlopen
    18779 
    18780 # Whether dlopen of programs is supported.
    18781 dlopen_self=$enable_dlopen_self
    18782 
    18783 # Whether dlopen of statically linked programs is supported.
    18784 dlopen_self_static=$enable_dlopen_self_static
    18785 
    18786 # Commands to strip libraries.
    18787 old_striplib=$lt_old_striplib
    18788 striplib=$lt_striplib
    18789 
    18790 
    18791 # The linker used to build libraries.
    18792 LD=$lt_LD
    18793 
    18794 # How to create reloadable object files.
    18795 reload_flag=$lt_reload_flag
    18796 reload_cmds=$lt_reload_cmds
    18797 
    18798 # Commands used to build an old-style archive.
    18799 old_archive_cmds=$lt_old_archive_cmds
    18800 
    18801 # A language specific compiler.
    18802 CC=$lt_compiler
    18803 
    18804 # Is the compiler the GNU compiler?
    18805 with_gcc=$GCC
    18806 
    18807 # Compiler flag to turn off builtin functions.
    18808 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
    18809 
    18810 # Additional compiler flags for building library objects.
    18811 pic_flag=$lt_lt_prog_compiler_pic
    18812 
    18813 # How to pass a linker flag through the compiler.
    18814 wl=$lt_lt_prog_compiler_wl
    18815 
    18816 # Compiler flag to prevent dynamic linking.
    18817 link_static_flag=$lt_lt_prog_compiler_static
    18818 
    18819 # Does compiler simultaneously support -c and -o options?
    18820 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
    18821 
    18822 # Whether or not to add -lc for building shared libraries.
    18823 build_libtool_need_lc=$archive_cmds_need_lc
    18824 
    18825 # Whether or not to disallow shared libs when runtime libs are static.
    18826 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
    18827 
    18828 # Compiler flag to allow reflexive dlopens.
    18829 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
    18830 
    18831 # Compiler flag to generate shared objects directly from archives.
    18832 whole_archive_flag_spec=$lt_whole_archive_flag_spec
    18833 
    18834 # Whether the compiler copes with passing no objects directly.
    18835 compiler_needs_object=$lt_compiler_needs_object
    18836 
    18837 # Create an old-style archive from a shared archive.
    18838 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
    18839 
    18840 # Create a temporary old-style archive to link instead of a shared archive.
    18841 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
    18842 
    18843 # Commands used to build a shared archive.
    18844 archive_cmds=$lt_archive_cmds
    18845 archive_expsym_cmds=$lt_archive_expsym_cmds
    18846 
    18847 # Commands used to build a loadable module if different from building
    18848 # a shared archive.
    18849 module_cmds=$lt_module_cmds
    18850 module_expsym_cmds=$lt_module_expsym_cmds
    18851 
    18852 # Whether we are building with GNU ld or not.
    18853 with_gnu_ld=$lt_with_gnu_ld
    18854 
    18855 # Flag that allows shared libraries with undefined symbols to be built.
    18856 allow_undefined_flag=$lt_allow_undefined_flag
    18857 
    18858 # Flag that enforces no undefined symbols.
    18859 no_undefined_flag=$lt_no_undefined_flag
    18860 
    18861 # Flag to hardcode \$libdir into a binary during linking.
    18862 # This must work even if \$libdir does not exist
    18863 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
    18864 
    18865 # Whether we need a single "-rpath" flag with a separated argument.
    18866 hardcode_libdir_separator=$lt_hardcode_libdir_separator
    18867 
    18868 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
    18869 # DIR into the resulting binary.
    18870 hardcode_direct=$hardcode_direct
    18871 
    18872 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
    18873 # DIR into the resulting binary and the resulting library dependency is
    18874 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
    18875 # library is relocated.
    18876 hardcode_direct_absolute=$hardcode_direct_absolute
    18877 
    18878 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
    18879 # into the resulting binary.
    18880 hardcode_minus_L=$hardcode_minus_L
    18881 
    18882 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
    18883 # into the resulting binary.
    18884 hardcode_shlibpath_var=$hardcode_shlibpath_var
    18885 
    18886 # Set to "yes" if building a shared library automatically hardcodes DIR
    18887 # into the library and all subsequent libraries and executables linked
    18888 # against it.
    18889 hardcode_automatic=$hardcode_automatic
    18890 
    18891 # Set to yes if linker adds runtime paths of dependent libraries
    18892 # to runtime path list.
    18893 inherit_rpath=$inherit_rpath
    18894 
    18895 # Whether libtool must link a program against all its dependency libraries.
    18896 link_all_deplibs=$link_all_deplibs
    18897 
    18898 # Set to "yes" if exported symbols are required.
    18899 always_export_symbols=$always_export_symbols
    18900 
    18901 # The commands to list exported symbols.
    18902 export_symbols_cmds=$lt_export_symbols_cmds
    18903 
    18904 # Symbols that should not be listed in the preloaded symbols.
    18905 exclude_expsyms=$lt_exclude_expsyms
    18906 
    18907 # Symbols that must always be exported.
    18908 include_expsyms=$lt_include_expsyms
    18909 
    18910 # Commands necessary for linking programs (against libraries) with templates.
    18911 prelink_cmds=$lt_prelink_cmds
    18912 
    18913 # Commands necessary for finishing linking programs.
    18914 postlink_cmds=$lt_postlink_cmds
    18915 
    18916 # Specify filename containing input files.
    18917 file_list_spec=$lt_file_list_spec
    18918 
    18919 # How to hardcode a shared library path into an executable.
    18920 hardcode_action=$hardcode_action
    18921 
    18922 # The directories searched by this compiler when creating a shared library.
    18923 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
    18924 
    18925 # Dependencies to place before and after the objects being linked to
    18926 # create a shared library.
    18927 predep_objects=$lt_predep_objects
    18928 postdep_objects=$lt_postdep_objects
    18929 predeps=$lt_predeps
    18930 postdeps=$lt_postdeps
    18931 
    18932 # The library search path used internally by the compiler when linking
    18933 # a shared library.
    18934 compiler_lib_search_path=$lt_compiler_lib_search_path
    18935 
    18936 # ### END LIBTOOL CONFIG
    18937 
    18938 _LT_EOF
    18939 
    18940     cat <<'_LT_EOF' >> "$cfgfile"
    18941 
    18942 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
    18943 
    18944 # func_munge_path_list VARIABLE PATH
    18945 # -----------------------------------
    18946 # VARIABLE is name of variable containing _space_ separated list of
    18947 # directories to be munged by the contents of PATH, which is string
    18948 # having a format:
    18949 # "DIR[:DIR]:"
    18950 #       string "DIR[ DIR]" will be prepended to VARIABLE
    18951 # ":DIR[:DIR]"
    18952 #       string "DIR[ DIR]" will be appended to VARIABLE
    18953 # "DIRP[:DIRP]::[DIRA:]DIRA"
    18954 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
    18955 #       "DIRA[ DIRA]" will be appended to VARIABLE
    18956 # "DIR[:DIR]"
    18957 #       VARIABLE will be replaced by "DIR[ DIR]"
    18958 func_munge_path_list ()
    18959 {
    18960     case x$2 in
    18961     x)
    18962         ;;
    18963     *:)
    18964         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
    18965         ;;
    18966     x:*)
    18967         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
    18968         ;;
    18969     *::*)
    18970         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
    18971         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
    18972         ;;
    18973     *)
    18974         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
    18975         ;;
    18976     esac
    18977 }
    18978 
    18979 
    18980 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
    18981 func_cc_basename ()
    18982 {
    18983     for cc_temp in $*""; do
    18984       case $cc_temp in
    18985         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
    18986         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
    18987         \-*) ;;
    18988         *) break;;
    18989       esac
    18990     done
    18991     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
    18992 }
    18993 
    18994 
    18995 # ### END FUNCTIONS SHARED WITH CONFIGURE
    18996 
    18997 _LT_EOF
    18998 
    18999   case $host_os in
    19000   aix3*)
    19001     cat <<\_LT_EOF >> "$cfgfile"
    19002 # AIX sometimes has problems with the GCC collect2 program.  For some
    19003 # reason, if we set the COLLECT_NAMES environment variable, the problems
    19004 # vanish in a puff of smoke.
    19005 if test set != "${COLLECT_NAMES+set}"; then
    19006   COLLECT_NAMES=
    19007   export COLLECT_NAMES
    19008 fi
    19009 _LT_EOF
    19010     ;;
    19011   esac
    19012 
    19013 
    19014 ltmain=$ac_aux_dir/ltmain.sh
    19015 
    19016 
    19017   # We use sed instead of cat because bash on DJGPP gets confused if
    19018   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
    19019   # text mode, it properly converts lines to CR/LF.  This bash problem
    19020   # is reportedly fixed, but why not run on old versions too?
    19021   sed '$q' "$ltmain" >> "$cfgfile" \
    19022      || (rm -f "$cfgfile"; exit 1)
    19023 
    19024    mv -f "$cfgfile" "$ofile" ||
    19025     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
    19026   chmod +x "$ofile"
    19027 
    19028 
    19029     cat <<_LT_EOF >> "$ofile"
    19030 
    19031 # ### BEGIN LIBTOOL TAG CONFIG: CXX
    19032 
    19033 # The linker used to build libraries.
    19034 LD=$lt_LD_CXX
    19035 
    19036 # How to create reloadable object files.
    19037 reload_flag=$lt_reload_flag_CXX
    19038 reload_cmds=$lt_reload_cmds_CXX
    19039 
    19040 # Commands used to build an old-style archive.
    19041 old_archive_cmds=$lt_old_archive_cmds_CXX
    19042 
    19043 # A language specific compiler.
    19044 CC=$lt_compiler_CXX
    19045 
    19046 # Is the compiler the GNU compiler?
    19047 with_gcc=$GCC_CXX
    19048 
    19049 # Compiler flag to turn off builtin functions.
    19050 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
    19051 
    19052 # Additional compiler flags for building library objects.
    19053 pic_flag=$lt_lt_prog_compiler_pic_CXX
    19054 
    19055 # How to pass a linker flag through the compiler.
    19056 wl=$lt_lt_prog_compiler_wl_CXX
    19057 
    19058 # Compiler flag to prevent dynamic linking.
    19059 link_static_flag=$lt_lt_prog_compiler_static_CXX
    19060 
    19061 # Does compiler simultaneously support -c and -o options?
    19062 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
    19063 
    19064 # Whether or not to add -lc for building shared libraries.
    19065 build_libtool_need_lc=$archive_cmds_need_lc_CXX
    19066 
    19067 # Whether or not to disallow shared libs when runtime libs are static.
    19068 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
    19069 
    19070 # Compiler flag to allow reflexive dlopens.
    19071 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
    19072 
    19073 # Compiler flag to generate shared objects directly from archives.
    19074 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
    19075 
    19076 # Whether the compiler copes with passing no objects directly.
    19077 compiler_needs_object=$lt_compiler_needs_object_CXX
    19078 
    19079 # Create an old-style archive from a shared archive.
    19080 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
    19081 
    19082 # Create a temporary old-style archive to link instead of a shared archive.
    19083 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
    19084 
    19085 # Commands used to build a shared archive.
    19086 archive_cmds=$lt_archive_cmds_CXX
    19087 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
    19088 
    19089 # Commands used to build a loadable module if different from building
    19090 # a shared archive.
    19091 module_cmds=$lt_module_cmds_CXX
    19092 module_expsym_cmds=$lt_module_expsym_cmds_CXX
    19093 
    19094 # Whether we are building with GNU ld or not.
    19095 with_gnu_ld=$lt_with_gnu_ld_CXX
    19096 
    19097 # Flag that allows shared libraries with undefined symbols to be built.
    19098 allow_undefined_flag=$lt_allow_undefined_flag_CXX
    19099 
    19100 # Flag that enforces no undefined symbols.
    19101 no_undefined_flag=$lt_no_undefined_flag_CXX
    19102 
    19103 # Flag to hardcode \$libdir into a binary during linking.
    19104 # This must work even if \$libdir does not exist
    19105 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
    19106 
    19107 # Whether we need a single "-rpath" flag with a separated argument.
    19108 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
    19109 
    19110 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
    19111 # DIR into the resulting binary.
    19112 hardcode_direct=$hardcode_direct_CXX
    19113 
    19114 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
    19115 # DIR into the resulting binary and the resulting library dependency is
    19116 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
    19117 # library is relocated.
    19118 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
    19119 
    19120 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
    19121 # into the resulting binary.
    19122 hardcode_minus_L=$hardcode_minus_L_CXX
    19123 
    19124 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
    19125 # into the resulting binary.
    19126 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
    19127 
    19128 # Set to "yes" if building a shared library automatically hardcodes DIR
    19129 # into the library and all subsequent libraries and executables linked
    19130 # against it.
    19131 hardcode_automatic=$hardcode_automatic_CXX
    19132 
    19133 # Set to yes if linker adds runtime paths of dependent libraries
    19134 # to runtime path list.
    19135 inherit_rpath=$inherit_rpath_CXX
    19136 
    19137 # Whether libtool must link a program against all its dependency libraries.
    19138 link_all_deplibs=$link_all_deplibs_CXX
    19139 
    19140 # Set to "yes" if exported symbols are required.
    19141 always_export_symbols=$always_export_symbols_CXX
    19142 
    19143 # The commands to list exported symbols.
    19144 export_symbols_cmds=$lt_export_symbols_cmds_CXX
    19145 
    19146 # Symbols that should not be listed in the preloaded symbols.
    19147 exclude_expsyms=$lt_exclude_expsyms_CXX
    19148 
    19149 # Symbols that must always be exported.
    19150 include_expsyms=$lt_include_expsyms_CXX
    19151 
    19152 # Commands necessary for linking programs (against libraries) with templates.
    19153 prelink_cmds=$lt_prelink_cmds_CXX
    19154 
    19155 # Commands necessary for finishing linking programs.
    19156 postlink_cmds=$lt_postlink_cmds_CXX
    19157 
    19158 # Specify filename containing input files.
    19159 file_list_spec=$lt_file_list_spec_CXX
    19160 
    19161 # How to hardcode a shared library path into an executable.
    19162 hardcode_action=$hardcode_action_CXX
    19163 
    19164 # The directories searched by this compiler when creating a shared library.
    19165 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
    19166 
    19167 # Dependencies to place before and after the objects being linked to
    19168 # create a shared library.
    19169 predep_objects=$lt_predep_objects_CXX
    19170 postdep_objects=$lt_postdep_objects_CXX
    19171 predeps=$lt_predeps_CXX
    19172 postdeps=$lt_postdeps_CXX
    19173 
    19174 # The library search path used internally by the compiler when linking
    19175 # a shared library.
    19176 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
    19177 
    19178 # ### END LIBTOOL TAG CONFIG: CXX
    19179 _LT_EOF
    19180 
    19181  ;;
    191825614
    191835615  esac
Note: See TracChangeset for help on using the changeset viewer.