Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/configure

    r2b3d6ff 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
     
    29272507: ${CFLAGS=""}
    29282508
    2929 # define this to override
    2930 AR_FLAGS="cr"
    2931 
    29322509# Allow program name tansformation
    29332510# will fill program_transform_name with appropriate sed regex
     
    29382515
    29392516
    2940 
    29412517CFACC=${DRIVER_DIR}cfa
    29422518CFACPP=${DRIVER_DIR}cfa-cpp
    2943 
    29442519
    29452520
     
    30732648
    30742649# Checks for programs.
    3075 case `pwd` in
    3076   *\ * | *\     *)
    3077     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
    3078 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
    3079 esac
    3080 
    3081 
    3082 
    3083 macro_version='2.4.6'
    3084 macro_revision='2.4.6'
    3085 
    3086 
    3087 
    3088 
    3089 
    3090 
    3091 
    3092 
    3093 
    3094 
    3095 
    3096 
    3097 
    3098 ltmain=$ac_aux_dir/ltmain.sh
    3099 
    3100 # Make sure we can run config.sub.
    3101 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
    3102   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
    3103 
    3104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
    3105 $as_echo_n "checking build system type... " >&6; }
    3106 if ${ac_cv_build+:} false; then :
    3107   $as_echo_n "(cached) " >&6
    3108 else
    3109   ac_build_alias=$build_alias
    3110 test "x$ac_build_alias" = x &&
    3111   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
    3112 test "x$ac_build_alias" = x &&
    3113   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
    3114 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
    3115   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
    3116 
    3117 fi
    3118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
    3119 $as_echo "$ac_cv_build" >&6; }
    3120 case $ac_cv_build in
    3121 *-*-*) ;;
    3122 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
    3123 esac
    3124 build=$ac_cv_build
    3125 ac_save_IFS=$IFS; IFS='-'
    3126 set x $ac_cv_build
    3127 shift
    3128 build_cpu=$1
    3129 build_vendor=$2
    3130 shift; shift
    3131 # Remember, the first character of IFS is used to create $*,
    3132 # except with old shells:
    3133 build_os=$*
    3134 IFS=$ac_save_IFS
    3135 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
    3136 
    3137 
    3138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
    3139 $as_echo_n "checking host system type... " >&6; }
    3140 if ${ac_cv_host+:} false; then :
    3141   $as_echo_n "(cached) " >&6
    3142 else
    3143   if test "x$host_alias" = x; then
    3144   ac_cv_host=$ac_cv_build
    3145 else
    3146   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
    3147     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
    3148 fi
    3149 
    3150 fi
    3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
    3152 $as_echo "$ac_cv_host" >&6; }
    3153 case $ac_cv_host in
    3154 *-*-*) ;;
    3155 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
    3156 esac
    3157 host=$ac_cv_host
    3158 ac_save_IFS=$IFS; IFS='-'
    3159 set x $ac_cv_host
    3160 shift
    3161 host_cpu=$1
    3162 host_vendor=$2
    3163 shift; shift
    3164 # Remember, the first character of IFS is used to create $*,
    3165 # except with old shells:
    3166 host_os=$*
    3167 IFS=$ac_save_IFS
    3168 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
    3169 
    3170 
    3171 # Backslashify metacharacters that are still active within
    3172 # double-quoted strings.
    3173 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
    3174 
    3175 # Same as above, but do not quote variable references.
    3176 double_quote_subst='s/\(["`\\]\)/\\\1/g'
    3177 
    3178 # Sed substitution to delay expansion of an escaped shell variable in a
    3179 # double_quote_subst'ed string.
    3180 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
    3181 
    3182 # Sed substitution to delay expansion of an escaped single quote.
    3183 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
    3184 
    3185 # Sed substitution to avoid accidental globbing in evaled expressions
    3186 no_glob_subst='s/\*/\\\*/g'
    3187 
    3188 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    3189 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
    3190 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
    3191 
    3192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
    3193 $as_echo_n "checking how to print strings... " >&6; }
    3194 # Test print first, because it will be a builtin if present.
    3195 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
    3196    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
    3197   ECHO='print -r --'
    3198 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
    3199   ECHO='printf %s\n'
    3200 else
    3201   # Use this function as a fallback that always works.
    3202   func_fallback_echo ()
    3203   {
    3204     eval 'cat <<_LTECHO_EOF
    3205 $1
    3206 _LTECHO_EOF'
    3207   }
    3208   ECHO='func_fallback_echo'
    3209 fi
    3210 
    3211 # func_echo_all arg...
    3212 # Invoke $ECHO with all args, space-separated.
    3213 func_echo_all ()
    3214 {
    3215     $ECHO ""
    3216 }
    3217 
    3218 case $ECHO in
    3219   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
    3220 $as_echo "printf" >&6; } ;;
    3221   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
    3222 $as_echo "print -r" >&6; } ;;
    3223   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
    3224 $as_echo "cat" >&6; } ;;
    3225 esac
    3226 
    3227 
    3228 
    3229 
    3230 
    3231 
    3232 
    3233 
    3234 
    3235 
    3236 
    3237 
    3238 
    3239 
    3240 DEPDIR="${am__leading_dot}deps"
    3241 
    3242 ac_config_commands="$ac_config_commands depfiles"
    3243 
    3244 
    3245 am_make=${MAKE-make}
    3246 cat > confinc << 'END'
    3247 am__doit:
    3248         @echo this is the am__doit target
    3249 .PHONY: am__doit
    3250 END
    3251 # If we don't find an include directive, just comment out the code.
    3252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
    3253 $as_echo_n "checking for style of include used by $am_make... " >&6; }
    3254 am__include="#"
    3255 am__quote=
    3256 _am_result=none
    3257 # First try GNU make style include.
    3258 echo "include confinc" > confmf
    3259 # Ignore all kinds of additional output from 'make'.
    3260 case `$am_make -s -f confmf 2> /dev/null` in #(
    3261 *the\ am__doit\ target*)
    3262   am__include=include
    3263   am__quote=
    3264   _am_result=GNU
    3265   ;;
    3266 esac
    3267 # Now try BSD make style include.
    3268 if test "$am__include" = "#"; then
    3269    echo '.include "confinc"' > confmf
    3270    case `$am_make -s -f confmf 2> /dev/null` in #(
    3271    *the\ am__doit\ target*)
    3272      am__include=.include
    3273      am__quote="\""
    3274      _am_result=BSD
    3275      ;;
    3276    esac
    3277 fi
    3278 
    3279 
    3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
    3281 $as_echo "$_am_result" >&6; }
    3282 rm -f confinc confmf
    3283 
    3284 # Check whether --enable-dependency-tracking was given.
    3285 if test "${enable_dependency_tracking+set}" = set; then :
    3286   enableval=$enable_dependency_tracking;
    3287 fi
    3288 
    3289 if test "x$enable_dependency_tracking" != xno; then
    3290   am_depcomp="$ac_aux_dir/depcomp"
    3291   AMDEPBACKSLASH='\'
    3292   am__nodep='_no'
    3293 fi
    3294  if test "x$enable_dependency_tracking" != xno; then
    3295   AMDEP_TRUE=
    3296   AMDEP_FALSE='#'
    3297 else
    3298   AMDEP_TRUE='#'
    3299   AMDEP_FALSE=
    3300 fi
    3301 
    3302 
    3303 ac_ext=c
    3304 ac_cpp='$CPP $CPPFLAGS'
    3305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    3306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    3307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3308 if test -n "$ac_tool_prefix"; then
    3309   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    3310 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
    33112664{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    33122665$as_echo_n "checking for $ac_word... " >&6; }
    3313 if ${ac_cv_prog_CC+:} false; then :
     2666if ${ac_cv_prog_CXX+:} false; then :
    33142667  $as_echo_n "(cached) " >&6
    33152668else
    3316   if test -n "$CC"; then
    3317   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.
    33182671else
    33192672as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    33242677    for ac_exec_ext in '' $ac_executable_extensions; do
    33252678  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3326     ac_cv_prog_CC="${ac_tool_prefix}gcc"
     2679    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    33272680    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    33282681    break 2
     
    33342687fi
    33352688fi
    3336 CC=$ac_cv_prog_CC
    3337 if test -n "$CC"; then
    3338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    3339 $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; }
    33402693else
    33412694  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     
    33442697
    33452698
    3346 fi
    3347 if test -z "$ac_cv_prog_CC"; then
    3348   ac_ct_CC=$CC
    3349   # Extract the first word of "gcc", so it can be a program name with args.
    3350 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
    33512708{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    33522709$as_echo_n "checking for $ac_word... " >&6; }
    3353 if ${ac_cv_prog_ac_ct_CC+:} false; then :
     2710if ${ac_cv_prog_ac_ct_CXX+:} false; then :
    33542711  $as_echo_n "(cached) " >&6
    33552712else
    3356   if test -n "$ac_ct_CC"; then
    3357   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.
    33582715else
    33592716as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    33642721    for ac_exec_ext in '' $ac_executable_extensions; do
    33652722  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3366     ac_cv_prog_ac_ct_CC="gcc"
     2723    ac_cv_prog_ac_ct_CXX="$ac_prog"
    33672724    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    33682725    break 2
     
    33742731fi
    33752732fi
    3376 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    3377 if test -n "$ac_ct_CC"; then
    3378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    3379 $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; }
    33802737else
    33812738  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     
    33832740fi
    33842741
    3385   if test "x$ac_ct_CC" = x; then
    3386     CC=""
     2742
     2743  test -n "$ac_ct_CXX" && break
     2744done
     2745
     2746  if test "x$ac_ct_CXX" = x; then
     2747    CXX="g++"
    33872748  else
    33882749    case $cross_compiling:$ac_tool_warned in
     
    33922753ac_tool_warned=yes ;;
    33932754esac
    3394     CC=$ac_ct_CC
     2755    CXX=$ac_ct_CXX
    33952756  fi
    3396 else
    3397   CC="$ac_cv_prog_CC"
    3398 fi
    3399 
    3400 if test -z "$CC"; then
    3401           if test -n "$ac_tool_prefix"; then
    3402     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    3403 set dummy ${ac_tool_prefix}cc; ac_word=$2
    3404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    3405 $as_echo_n "checking for $ac_word... " >&6; }
    3406 if ${ac_cv_prog_CC+:} false; then :
    3407   $as_echo_n "(cached) " >&6
    3408 else
    3409   if test -n "$CC"; then
    3410   ac_cv_prog_CC="$CC" # Let the user override the test.
    3411 else
    3412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3413 for as_dir in $PATH
    3414 do
    3415   IFS=$as_save_IFS
    3416   test -z "$as_dir" && as_dir=.
    3417     for ac_exec_ext in '' $ac_executable_extensions; do
    3418   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3419     ac_cv_prog_CC="${ac_tool_prefix}cc"
    3420     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    3421     break 2
     2757fi
     2758
    34222759  fi
    3423 done
    3424   done
    3425 IFS=$as_save_IFS
    3426 
    3427 fi
    3428 fi
    3429 CC=$ac_cv_prog_CC
    3430 if test -n "$CC"; then
    3431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    3432 $as_echo "$CC" >&6; }
    3433 else
    3434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3435 $as_echo "no" >&6; }
    3436 fi
    3437 
    3438 
    3439   fi
    3440 fi
    3441 if test -z "$CC"; then
    3442   # Extract the first word of "cc", so it can be a program name with args.
    3443 set dummy cc; ac_word=$2
    3444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    3445 $as_echo_n "checking for $ac_word... " >&6; }
    3446 if ${ac_cv_prog_CC+:} false; then :
    3447   $as_echo_n "(cached) " >&6
    3448 else
    3449   if test -n "$CC"; then
    3450   ac_cv_prog_CC="$CC" # Let the user override the test.
    3451 else
    3452   ac_prog_rejected=no
    3453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3454 for as_dir in $PATH
    3455 do
    3456   IFS=$as_save_IFS
    3457   test -z "$as_dir" && as_dir=.
    3458     for ac_exec_ext in '' $ac_executable_extensions; do
    3459   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3460     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    3461        ac_prog_rejected=yes
    3462        continue
    3463      fi
    3464     ac_cv_prog_CC="cc"
    3465     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    3466     break 2
    3467   fi
    3468 done
    3469   done
    3470 IFS=$as_save_IFS
    3471 
    3472 if test $ac_prog_rejected = yes; then
    3473   # We found a bogon in the path, so make sure we never use it.
    3474   set dummy $ac_cv_prog_CC
    3475   shift
    3476   if test $# != 0; then
    3477     # We chose a different compiler from the bogus one.
    3478     # However, it has the same basename, so the bogon will be chosen
    3479     # first if we set CC to just the basename; use the full file name.
    3480     shift
    3481     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
    3482   fi
    3483 fi
    3484 fi
    3485 fi
    3486 CC=$ac_cv_prog_CC
    3487 if test -n "$CC"; then
    3488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    3489 $as_echo "$CC" >&6; }
    3490 else
    3491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3492 $as_echo "no" >&6; }
    3493 fi
    3494 
    3495 
    3496 fi
    3497 if test -z "$CC"; then
    3498   if test -n "$ac_tool_prefix"; then
    3499   for ac_prog in cl.exe
    3500   do
    3501     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    3502 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    3503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    3504 $as_echo_n "checking for $ac_word... " >&6; }
    3505 if ${ac_cv_prog_CC+:} false; then :
    3506   $as_echo_n "(cached) " >&6
    3507 else
    3508   if test -n "$CC"; then
    3509   ac_cv_prog_CC="$CC" # Let the user override the test.
    3510 else
    3511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3512 for as_dir in $PATH
    3513 do
    3514   IFS=$as_save_IFS
    3515   test -z "$as_dir" && as_dir=.
    3516     for ac_exec_ext in '' $ac_executable_extensions; do
    3517   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3518     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    3519     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    3520     break 2
    3521   fi
    3522 done
    3523   done
    3524 IFS=$as_save_IFS
    3525 
    3526 fi
    3527 fi
    3528 CC=$ac_cv_prog_CC
    3529 if test -n "$CC"; then
    3530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    3531 $as_echo "$CC" >&6; }
    3532 else
    3533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3534 $as_echo "no" >&6; }
    3535 fi
    3536 
    3537 
    3538     test -n "$CC" && break
    3539   done
    3540 fi
    3541 if test -z "$CC"; then
    3542   ac_ct_CC=$CC
    3543   for ac_prog in cl.exe
    3544 do
    3545   # Extract the first word of "$ac_prog", so it can be a program name with args.
    3546 set dummy $ac_prog; ac_word=$2
    3547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    3548 $as_echo_n "checking for $ac_word... " >&6; }
    3549 if ${ac_cv_prog_ac_ct_CC+:} false; then :
    3550   $as_echo_n "(cached) " >&6
    3551 else
    3552   if test -n "$ac_ct_CC"; then
    3553   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    3554 else
    3555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    3556 for as_dir in $PATH
    3557 do
    3558   IFS=$as_save_IFS
    3559   test -z "$as_dir" && as_dir=.
    3560     for ac_exec_ext in '' $ac_executable_extensions; do
    3561   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    3562     ac_cv_prog_ac_ct_CC="$ac_prog"
    3563     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    3564     break 2
    3565   fi
    3566 done
    3567   done
    3568 IFS=$as_save_IFS
    3569 
    3570 fi
    3571 fi
    3572 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    3573 if test -n "$ac_ct_CC"; then
    3574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    3575 $as_echo "$ac_ct_CC" >&6; }
    3576 else
    3577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3578 $as_echo "no" >&6; }
    3579 fi
    3580 
    3581 
    3582   test -n "$ac_ct_CC" && break
    3583 done
    3584 
    3585   if test "x$ac_ct_CC" = x; then
    3586     CC=""
    3587   else
    3588     case $cross_compiling:$ac_tool_warned in
    3589 yes:)
    3590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    3591 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    3592 ac_tool_warned=yes ;;
    3593 esac
    3594     CC=$ac_ct_CC
    3595   fi
    3596 fi
    3597 
    3598 fi
    3599 
    3600 
    3601 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    3602 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3603 as_fn_error $? "no acceptable C compiler found in \$PATH
    3604 See \`config.log' for more details" "$LINENO" 5; }
    3605 
     2760fi
    36062761# Provide some information about the compiler.
    3607 $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
    36082763set X $ac_compile
    36092764ac_compiler=$2
     
    36452800# It will help us diagnose broken compilers, and finding out an intuition
    36462801# of exeext.
    3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
    3648 $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; }
    36492804ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    36502805
     
    37162871{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    37172872$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3718 as_fn_error 77 "C compiler cannot create executables
     2873as_fn_error 77 "C++ compiler cannot create executables
    37192874See \`config.log' for more details" "$LINENO" 5; }
    37202875else
     
    37222877$as_echo "yes" >&6; }
    37232878fi
    3724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
    3725 $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; }
    37262881{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
    37272882$as_echo "$ac_file" >&6; }
     
    38172972        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    38182973$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3819 as_fn_error $? "cannot run C compiled programs.
     2974as_fn_error $? "cannot run C++ compiled programs.
    38202975If you meant to cross compile, use \`--host'.
    38212976See \`config.log' for more details" "$LINENO" 5; }
     
    38793034OBJEXT=$ac_cv_objext
    38803035ac_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
    38813676{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
    38823677$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
     
    42774072
    42784073
    4279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
    4280 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
    4281 if ${ac_cv_path_SED+:} false; then :
    4282   $as_echo_n "(cached) " >&6
    4283 else
    4284             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
    4285      for ac_i in 1 2 3 4 5 6 7; do
    4286        ac_script="$ac_script$as_nl$ac_script"
    4287      done
    4288      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
    4289      { ac_script=; unset ac_script;}
    4290      if test -z "$SED"; then
    4291   ac_path_SED_found=false
    4292   # Loop through the user's path and test for each of PROGNAME-LIST
    4293   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4294 for as_dir in $PATH
    4295 do
    4296   IFS=$as_save_IFS
    4297   test -z "$as_dir" && as_dir=.
    4298     for ac_prog in sed gsed; do
    4299     for ac_exec_ext in '' $ac_executable_extensions; do
    4300       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
    4301       as_fn_executable_p "$ac_path_SED" || continue
    4302 # Check for GNU ac_path_SED and select it if it is found.
    4303   # Check for GNU $ac_path_SED
    4304 case `"$ac_path_SED" --version 2>&1` in
    4305 *GNU*)
    4306   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
    4307 *)
    4308   ac_count=0
    4309   $as_echo_n 0123456789 >"conftest.in"
    4310   while :
    4311   do
    4312     cat "conftest.in" "conftest.in" >"conftest.tmp"
    4313     mv "conftest.tmp" "conftest.in"
    4314     cp "conftest.in" "conftest.nl"
    4315     $as_echo '' >> "conftest.nl"
    4316     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
    4317     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4318     as_fn_arith $ac_count + 1 && ac_count=$as_val
    4319     if test $ac_count -gt ${ac_path_SED_max-0}; then
    4320       # Best one so far, save it but keep looking for a better one
    4321       ac_cv_path_SED="$ac_path_SED"
    4322       ac_path_SED_max=$ac_count
    4323     fi
    4324     # 10*(2^10) chars as input seems more than enough
    4325     test $ac_count -gt 10 && break
    4326   done
    4327   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
    4328 esac
    4329 
    4330       $ac_path_SED_found && break 3
    4331     done
    4332   done
    4333   done
    4334 IFS=$as_save_IFS
    4335   if test -z "$ac_cv_path_SED"; then
    4336     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
    4337   fi
    4338 else
    4339   ac_cv_path_SED=$SED
    4340 fi
    4341 
    4342 fi
    4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
    4344 $as_echo "$ac_cv_path_SED" >&6; }
    4345  SED="$ac_cv_path_SED"
    4346   rm -f conftest.sed
    4347 
    4348 test -z "$SED" && SED=sed
    4349 Xsed="$SED -e 1s/^X//"
    4350 
    4351 
    4352 
    4353 
    4354 
    4355 
    4356 
    4357 
    4358 
    4359 
    4360 
    4361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
    4362 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
    4363 if ${ac_cv_path_GREP+:} false; then :
    4364   $as_echo_n "(cached) " >&6
    4365 else
    4366   if test -z "$GREP"; then
    4367   ac_path_GREP_found=false
    4368   # Loop through the user's path and test for each of PROGNAME-LIST
    4369   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4370 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
    4371 do
    4372   IFS=$as_save_IFS
    4373   test -z "$as_dir" && as_dir=.
    4374     for ac_prog in grep ggrep; do
    4375     for ac_exec_ext in '' $ac_executable_extensions; do
    4376       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
    4377       as_fn_executable_p "$ac_path_GREP" || continue
    4378 # Check for GNU ac_path_GREP and select it if it is found.
    4379   # Check for GNU $ac_path_GREP
    4380 case `"$ac_path_GREP" --version 2>&1` in
    4381 *GNU*)
    4382   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
    4383 *)
    4384   ac_count=0
    4385   $as_echo_n 0123456789 >"conftest.in"
    4386   while :
    4387   do
    4388     cat "conftest.in" "conftest.in" >"conftest.tmp"
    4389     mv "conftest.tmp" "conftest.in"
    4390     cp "conftest.in" "conftest.nl"
    4391     $as_echo 'GREP' >> "conftest.nl"
    4392     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    4393     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4394     as_fn_arith $ac_count + 1 && ac_count=$as_val
    4395     if test $ac_count -gt ${ac_path_GREP_max-0}; then
    4396       # Best one so far, save it but keep looking for a better one
    4397       ac_cv_path_GREP="$ac_path_GREP"
    4398       ac_path_GREP_max=$ac_count
    4399     fi
    4400     # 10*(2^10) chars as input seems more than enough
    4401     test $ac_count -gt 10 && break
    4402   done
    4403   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
    4404 esac
    4405 
    4406       $ac_path_GREP_found && break 3
    4407     done
    4408   done
    4409   done
    4410 IFS=$as_save_IFS
    4411   if test -z "$ac_cv_path_GREP"; then
    4412     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    4413   fi
    4414 else
    4415   ac_cv_path_GREP=$GREP
    4416 fi
    4417 
    4418 fi
    4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
    4420 $as_echo "$ac_cv_path_GREP" >&6; }
    4421  GREP="$ac_cv_path_GREP"
    4422 
    4423 
    4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
    4425 $as_echo_n "checking for egrep... " >&6; }
    4426 if ${ac_cv_path_EGREP+:} false; then :
    4427   $as_echo_n "(cached) " >&6
    4428 else
    4429   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
    4430    then ac_cv_path_EGREP="$GREP -E"
    4431    else
    4432      if test -z "$EGREP"; then
    4433   ac_path_EGREP_found=false
    4434   # Loop through the user's path and test for each of PROGNAME-LIST
    4435   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4436 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
    4437 do
    4438   IFS=$as_save_IFS
    4439   test -z "$as_dir" && as_dir=.
    4440     for ac_prog in egrep; do
    4441     for ac_exec_ext in '' $ac_executable_extensions; do
    4442       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
    4443       as_fn_executable_p "$ac_path_EGREP" || continue
    4444 # Check for GNU ac_path_EGREP and select it if it is found.
    4445   # Check for GNU $ac_path_EGREP
    4446 case `"$ac_path_EGREP" --version 2>&1` in
    4447 *GNU*)
    4448   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
    4449 *)
    4450   ac_count=0
    4451   $as_echo_n 0123456789 >"conftest.in"
    4452   while :
    4453   do
    4454     cat "conftest.in" "conftest.in" >"conftest.tmp"
    4455     mv "conftest.tmp" "conftest.in"
    4456     cp "conftest.in" "conftest.nl"
    4457     $as_echo 'EGREP' >> "conftest.nl"
    4458     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    4459     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4460     as_fn_arith $ac_count + 1 && ac_count=$as_val
    4461     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
    4462       # Best one so far, save it but keep looking for a better one
    4463       ac_cv_path_EGREP="$ac_path_EGREP"
    4464       ac_path_EGREP_max=$ac_count
    4465     fi
    4466     # 10*(2^10) chars as input seems more than enough
    4467     test $ac_count -gt 10 && break
    4468   done
    4469   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
    4470 esac
    4471 
    4472       $ac_path_EGREP_found && break 3
    4473     done
    4474   done
    4475   done
    4476 IFS=$as_save_IFS
    4477   if test -z "$ac_cv_path_EGREP"; then
    4478     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    4479   fi
    4480 else
    4481   ac_cv_path_EGREP=$EGREP
    4482 fi
    4483 
    4484    fi
    4485 fi
    4486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
    4487 $as_echo "$ac_cv_path_EGREP" >&6; }
    4488  EGREP="$ac_cv_path_EGREP"
    4489 
    4490 
    4491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
    4492 $as_echo_n "checking for fgrep... " >&6; }
    4493 if ${ac_cv_path_FGREP+:} false; then :
    4494   $as_echo_n "(cached) " >&6
    4495 else
    4496   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
    4497    then ac_cv_path_FGREP="$GREP -F"
    4498    else
    4499      if test -z "$FGREP"; then
    4500   ac_path_FGREP_found=false
    4501   # Loop through the user's path and test for each of PROGNAME-LIST
    4502   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4503 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
    4504 do
    4505   IFS=$as_save_IFS
    4506   test -z "$as_dir" && as_dir=.
    4507     for ac_prog in fgrep; do
    4508     for ac_exec_ext in '' $ac_executable_extensions; do
    4509       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
    4510       as_fn_executable_p "$ac_path_FGREP" || continue
    4511 # Check for GNU ac_path_FGREP and select it if it is found.
    4512   # Check for GNU $ac_path_FGREP
    4513 case `"$ac_path_FGREP" --version 2>&1` in
    4514 *GNU*)
    4515   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
    4516 *)
    4517   ac_count=0
    4518   $as_echo_n 0123456789 >"conftest.in"
    4519   while :
    4520   do
    4521     cat "conftest.in" "conftest.in" >"conftest.tmp"
    4522     mv "conftest.tmp" "conftest.in"
    4523     cp "conftest.in" "conftest.nl"
    4524     $as_echo 'FGREP' >> "conftest.nl"
    4525     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
    4526     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    4527     as_fn_arith $ac_count + 1 && ac_count=$as_val
    4528     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
    4529       # Best one so far, save it but keep looking for a better one
    4530       ac_cv_path_FGREP="$ac_path_FGREP"
    4531       ac_path_FGREP_max=$ac_count
    4532     fi
    4533     # 10*(2^10) chars as input seems more than enough
    4534     test $ac_count -gt 10 && break
    4535   done
    4536   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
    4537 esac
    4538 
    4539       $ac_path_FGREP_found && break 3
    4540     done
    4541   done
    4542   done
    4543 IFS=$as_save_IFS
    4544   if test -z "$ac_cv_path_FGREP"; then
    4545     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    4546   fi
    4547 else
    4548   ac_cv_path_FGREP=$FGREP
    4549 fi
    4550 
    4551    fi
    4552 fi
    4553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
    4554 $as_echo "$ac_cv_path_FGREP" >&6; }
    4555  FGREP="$ac_cv_path_FGREP"
    4556 
    4557 
    4558 test -z "$GREP" && GREP=grep
    4559 
    4560 
    4561 
    4562 
    4563 
    4564 
    4565 
    4566 
    4567 
    4568 
    4569 
    4570 
    4571 
    4572 
    4573 
    4574 
    4575 
    4576 
    4577 
    4578 # Check whether --with-gnu-ld was given.
    4579 if test "${with_gnu_ld+set}" = set; then :
    4580   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
    4581 else
    4582   with_gnu_ld=no
    4583 fi
    4584 
    4585 ac_prog=ld
    4586 if test yes = "$GCC"; then
    4587   # Check if gcc -print-prog-name=ld gives a path.
    4588   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
    4589 $as_echo_n "checking for ld used by $CC... " >&6; }
    4590   case $host in
    4591   *-*-mingw*)
    4592     # gcc leaves a trailing carriage return, which upsets mingw
    4593     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
    4594   *)
    4595     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
    4596   esac
    4597   case $ac_prog in
    4598     # Accept absolute paths.
    4599     [\\/]* | ?:[\\/]*)
    4600       re_direlt='/[^/][^/]*/\.\./'
    4601       # Canonicalize the pathname of ld
    4602       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
    4603       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
    4604         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
    4605       done
    4606       test -z "$LD" && LD=$ac_prog
    4607       ;;
    4608   "")
    4609     # If it fails, then pretend we aren't using GCC.
    4610     ac_prog=ld
    4611     ;;
    4612   *)
    4613     # If it is relative, then search for the first ld in PATH.
    4614     with_gnu_ld=unknown
    4615     ;;
    4616   esac
    4617 elif test yes = "$with_gnu_ld"; then
    4618   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
    4619 $as_echo_n "checking for GNU ld... " >&6; }
    4620 else
    4621   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
    4622 $as_echo_n "checking for non-GNU ld... " >&6; }
    4623 fi
    4624 if ${lt_cv_path_LD+:} false; then :
    4625   $as_echo_n "(cached) " >&6
    4626 else
    4627   if test -z "$LD"; then
    4628   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
    4629   for ac_dir in $PATH; do
    4630     IFS=$lt_save_ifs
    4631     test -z "$ac_dir" && ac_dir=.
    4632     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
    4633       lt_cv_path_LD=$ac_dir/$ac_prog
    4634       # Check to see if the program is GNU ld.  I'd rather use --version,
    4635       # but apparently some variants of GNU ld only accept -v.
    4636       # Break only if it was the GNU/non-GNU ld that we prefer.
    4637       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
    4638       *GNU* | *'with BFD'*)
    4639         test no != "$with_gnu_ld" && break
    4640         ;;
    4641       *)
    4642         test yes != "$with_gnu_ld" && break
    4643         ;;
    4644       esac
    4645     fi
    4646   done
    4647   IFS=$lt_save_ifs
    4648 else
    4649   lt_cv_path_LD=$LD # Let the user override the test with a path.
    4650 fi
    4651 fi
    4652 
    4653 LD=$lt_cv_path_LD
    4654 if test -n "$LD"; then
    4655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
    4656 $as_echo "$LD" >&6; }
    4657 else
    4658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    4659 $as_echo "no" >&6; }
    4660 fi
    4661 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
    4662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
    4663 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
    4664 if ${lt_cv_prog_gnu_ld+:} false; then :
    4665   $as_echo_n "(cached) " >&6
    4666 else
    4667   # I'd rather use --version here, but apparently some GNU lds only accept -v.
    4668 case `$LD -v 2>&1 </dev/null` in
    4669 *GNU* | *'with BFD'*)
    4670   lt_cv_prog_gnu_ld=yes
    4671   ;;
    4672 *)
    4673   lt_cv_prog_gnu_ld=no
    4674   ;;
    4675 esac
    4676 fi
    4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
    4678 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
    4679 with_gnu_ld=$lt_cv_prog_gnu_ld
    4680 
    4681 
    4682 
    4683 
    4684 
    4685 
    4686 
    4687 
    4688 
    4689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
    4690 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
    4691 if ${lt_cv_path_NM+:} false; then :
    4692   $as_echo_n "(cached) " >&6
    4693 else
    4694   if test -n "$NM"; then
    4695   # Let the user override the test.
    4696   lt_cv_path_NM=$NM
    4697 else
    4698   lt_nm_to_check=${ac_tool_prefix}nm
    4699   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
    4700     lt_nm_to_check="$lt_nm_to_check nm"
    4701   fi
    4702   for lt_tmp_nm in $lt_nm_to_check; do
    4703     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
    4704     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
    4705       IFS=$lt_save_ifs
    4706       test -z "$ac_dir" && ac_dir=.
    4707       tmp_nm=$ac_dir/$lt_tmp_nm
    4708       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
    4709         # Check to see if the nm accepts a BSD-compat flag.
    4710         # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
    4711         #   nm: unknown option "B" ignored
    4712         # Tru64's nm complains that /dev/null is an invalid object file
    4713         # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
    4714         case $build_os in
    4715         mingw*) lt_bad_file=conftest.nm/nofile ;;
    4716         *) lt_bad_file=/dev/null ;;
    4717         esac
    4718         case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
    4719         *$lt_bad_file* | *'Invalid file or object type'*)
    4720           lt_cv_path_NM="$tmp_nm -B"
    4721           break 2
    4722           ;;
    4723         *)
    4724           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
    4725           */dev/null*)
    4726             lt_cv_path_NM="$tmp_nm -p"
    4727             break 2
    4728             ;;
    4729           *)
    4730             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
    4731             continue # so that we can try to find one that supports BSD flags
    4732             ;;
    4733           esac
    4734           ;;
    4735         esac
    4736       fi
    4737     done
    4738     IFS=$lt_save_ifs
    4739   done
    4740   : ${lt_cv_path_NM=no}
    4741 fi
    4742 fi
    4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
    4744 $as_echo "$lt_cv_path_NM" >&6; }
    4745 if test no != "$lt_cv_path_NM"; then
    4746   NM=$lt_cv_path_NM
    4747 else
    4748   # Didn't find any BSD compatible name lister, look for dumpbin.
    4749   if test -n "$DUMPBIN"; then :
    4750     # Let the user override the test.
    4751   else
    4752     if test -n "$ac_tool_prefix"; then
    4753   for ac_prog in dumpbin "link -dump"
    4754   do
    4755     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    4756 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    4757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    4758 $as_echo_n "checking for $ac_word... " >&6; }
    4759 if ${ac_cv_prog_DUMPBIN+:} false; then :
    4760   $as_echo_n "(cached) " >&6
    4761 else
    4762   if test -n "$DUMPBIN"; then
    4763   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
    4764 else
    4765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4766 for as_dir in $PATH
    4767 do
    4768   IFS=$as_save_IFS
    4769   test -z "$as_dir" && as_dir=.
    4770     for ac_exec_ext in '' $ac_executable_extensions; do
    4771   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    4772     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
    4773     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    4774     break 2
    4775   fi
    4776 done
    4777   done
    4778 IFS=$as_save_IFS
    4779 
    4780 fi
    4781 fi
    4782 DUMPBIN=$ac_cv_prog_DUMPBIN
    4783 if test -n "$DUMPBIN"; then
    4784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
    4785 $as_echo "$DUMPBIN" >&6; }
    4786 else
    4787   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    4788 $as_echo "no" >&6; }
    4789 fi
    4790 
    4791 
    4792     test -n "$DUMPBIN" && break
    4793   done
    4794 fi
    4795 if test -z "$DUMPBIN"; then
    4796   ac_ct_DUMPBIN=$DUMPBIN
    4797   for ac_prog in dumpbin "link -dump"
    4798 do
    4799   # Extract the first word of "$ac_prog", so it can be a program name with args.
    4800 set dummy $ac_prog; ac_word=$2
    4801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    4802 $as_echo_n "checking for $ac_word... " >&6; }
    4803 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
    4804   $as_echo_n "(cached) " >&6
    4805 else
    4806   if test -n "$ac_ct_DUMPBIN"; then
    4807   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
    4808 else
    4809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    4810 for as_dir in $PATH
    4811 do
    4812   IFS=$as_save_IFS
    4813   test -z "$as_dir" && as_dir=.
    4814     for ac_exec_ext in '' $ac_executable_extensions; do
    4815   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    4816     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
    4817     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    4818     break 2
    4819   fi
    4820 done
    4821   done
    4822 IFS=$as_save_IFS
    4823 
    4824 fi
    4825 fi
    4826 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
    4827 if test -n "$ac_ct_DUMPBIN"; then
    4828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
    4829 $as_echo "$ac_ct_DUMPBIN" >&6; }
    4830 else
    4831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    4832 $as_echo "no" >&6; }
    4833 fi
    4834 
    4835 
    4836   test -n "$ac_ct_DUMPBIN" && break
    4837 done
    4838 
    4839   if test "x$ac_ct_DUMPBIN" = x; then
    4840     DUMPBIN=":"
    4841   else
    4842     case $cross_compiling:$ac_tool_warned in
    4843 yes:)
    4844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    4845 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    4846 ac_tool_warned=yes ;;
    4847 esac
    4848     DUMPBIN=$ac_ct_DUMPBIN
    4849   fi
    4850 fi
    4851 
    4852     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
    4853     *COFF*)
    4854       DUMPBIN="$DUMPBIN -symbols -headers"
    4855       ;;
    4856     *)
    4857       DUMPBIN=:
    4858       ;;
    4859     esac
    4860   fi
    4861 
    4862   if test : != "$DUMPBIN"; then
    4863     NM=$DUMPBIN
    4864   fi
    4865 fi
    4866 test -z "$NM" && NM=nm
    4867 
    4868 
    4869 
    4870 
    4871 
    4872 
    4873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
    4874 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
    4875 if ${lt_cv_nm_interface+:} false; then :
    4876   $as_echo_n "(cached) " >&6
    4877 else
    4878   lt_cv_nm_interface="BSD nm"
    4879   echo "int some_variable = 0;" > conftest.$ac_ext
    4880   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
    4881   (eval "$ac_compile" 2>conftest.err)
    4882   cat conftest.err >&5
    4883   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
    4884   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
    4885   cat conftest.err >&5
    4886   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
    4887   cat conftest.out >&5
    4888   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
    4889     lt_cv_nm_interface="MS dumpbin"
    4890   fi
    4891   rm -f conftest*
    4892 fi
    4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
    4894 $as_echo "$lt_cv_nm_interface" >&6; }
    4895 
    4896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
    4897 $as_echo_n "checking whether ln -s works... " >&6; }
    4898 LN_S=$as_ln_s
    4899 if test "$LN_S" = "ln -s"; then
    4900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    4901 $as_echo "yes" >&6; }
    4902 else
    4903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
    4904 $as_echo "no, using $LN_S" >&6; }
    4905 fi
    4906 
    4907 # find the maximum length of command line arguments
    4908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
    4909 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
    4910 if ${lt_cv_sys_max_cmd_len+:} false; then :
    4911   $as_echo_n "(cached) " >&6
    4912 else
    4913     i=0
    4914   teststring=ABCD
    4915 
    4916   case $build_os in
    4917   msdosdjgpp*)
    4918     # On DJGPP, this test can blow up pretty badly due to problems in libc
    4919     # (any single argument exceeding 2000 bytes causes a buffer overrun
    4920     # during glob expansion).  Even if it were fixed, the result of this
    4921     # check would be larger than it should be.
    4922     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
    4923     ;;
    4924 
    4925   gnu*)
    4926     # Under GNU Hurd, this test is not required because there is
    4927     # no limit to the length of command line arguments.
    4928     # Libtool will interpret -1 as no limit whatsoever
    4929     lt_cv_sys_max_cmd_len=-1;
    4930     ;;
    4931 
    4932   cygwin* | mingw* | cegcc*)
    4933     # On Win9x/ME, this test blows up -- it succeeds, but takes
    4934     # about 5 minutes as the teststring grows exponentially.
    4935     # Worse, since 9x/ME are not pre-emptively multitasking,
    4936     # you end up with a "frozen" computer, even though with patience
    4937     # the test eventually succeeds (with a max line length of 256k).
    4938     # Instead, let's just punt: use the minimum linelength reported by
    4939     # all of the supported platforms: 8192 (on NT/2K/XP).
    4940     lt_cv_sys_max_cmd_len=8192;
    4941     ;;
    4942 
    4943   mint*)
    4944     # On MiNT this can take a long time and run out of memory.
    4945     lt_cv_sys_max_cmd_len=8192;
    4946     ;;
    4947 
    4948   amigaos*)
    4949     # On AmigaOS with pdksh, this test takes hours, literally.
    4950     # So we just punt and use a minimum line length of 8192.
    4951     lt_cv_sys_max_cmd_len=8192;
    4952     ;;
    4953 
    4954   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
    4955     # This has been around since 386BSD, at least.  Likely further.
    4956     if test -x /sbin/sysctl; then
    4957       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
    4958     elif test -x /usr/sbin/sysctl; then
    4959       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
    4960     else
    4961       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
    4962     fi
    4963     # And add a safety zone
    4964     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
    4965     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
    4966     ;;
    4967 
    4968   interix*)
    4969     # We know the value 262144 and hardcode it with a safety zone (like BSD)
    4970     lt_cv_sys_max_cmd_len=196608
    4971     ;;
    4972 
    4973   os2*)
    4974     # The test takes a long time on OS/2.
    4975     lt_cv_sys_max_cmd_len=8192
    4976     ;;
    4977 
    4978   osf*)
    4979     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
    4980     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
    4981     # nice to cause kernel panics so lets avoid the loop below.
    4982     # First set a reasonable default.
    4983     lt_cv_sys_max_cmd_len=16384
    4984     #
    4985     if test -x /sbin/sysconfig; then
    4986       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
    4987         *1*) lt_cv_sys_max_cmd_len=-1 ;;
    4988       esac
    4989     fi
    4990     ;;
    4991   sco3.2v5*)
    4992     lt_cv_sys_max_cmd_len=102400
    4993     ;;
    4994   sysv5* | sco5v6* | sysv4.2uw2*)
    4995     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
    4996     if test -n "$kargmax"; then
    4997       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
    4998     else
    4999       lt_cv_sys_max_cmd_len=32768
    5000     fi
    5001     ;;
    5002   *)
    5003     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
    5004     if test -n "$lt_cv_sys_max_cmd_len" && \
    5005        test undefined != "$lt_cv_sys_max_cmd_len"; then
    5006       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
    5007       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
    5008     else
    5009       # Make teststring a little bigger before we do anything with it.
    5010       # a 1K string should be a reasonable start.
    5011       for i in 1 2 3 4 5 6 7 8; do
    5012         teststring=$teststring$teststring
    5013       done
    5014       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
    5015       # If test is not a shell built-in, we'll probably end up computing a
    5016       # maximum length that is only half of the actual maximum length, but
    5017       # we can't tell.
    5018       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
    5019                  = "X$teststring$teststring"; } >/dev/null 2>&1 &&
    5020               test 17 != "$i" # 1/2 MB should be enough
    5021       do
    5022         i=`expr $i + 1`
    5023         teststring=$teststring$teststring
    5024       done
    5025       # Only check the string length outside the loop.
    5026       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
    5027       teststring=
    5028       # Add a significant safety factor because C++ compilers can tack on
    5029       # massive amounts of additional arguments before passing them to the
    5030       # linker.  It appears as though 1/2 is a usable value.
    5031       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
    5032     fi
    5033     ;;
    5034   esac
    5035 
    5036 fi
    5037 
    5038 if test -n "$lt_cv_sys_max_cmd_len"; then
    5039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
    5040 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
    5041 else
    5042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
    5043 $as_echo "none" >&6; }
    5044 fi
    5045 max_cmd_len=$lt_cv_sys_max_cmd_len
    5046 
    5047 
    5048 
    5049 
    5050 
    5051 
    5052 : ${CP="cp -f"}
    5053 : ${MV="mv -f"}
    5054 : ${RM="rm -f"}
    5055 
    5056 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    5057   lt_unset=unset
    5058 else
    5059   lt_unset=false
    5060 fi
    5061 
    5062 
    5063 
    5064 
    5065 
    5066 # test EBCDIC or ASCII
    5067 case `echo X|tr X '\101'` in
    5068  A) # ASCII based system
    5069     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
    5070   lt_SP2NL='tr \040 \012'
    5071   lt_NL2SP='tr \015\012 \040\040'
    5072   ;;
    5073  *) # EBCDIC based system
    5074   lt_SP2NL='tr \100 \n'
    5075   lt_NL2SP='tr \r\n \100\100'
    5076   ;;
    5077 esac
    5078 
    5079 
    5080 
    5081 
    5082 
    5083 
    5084 
    5085 
    5086 
    5087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
    5088 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
    5089 if ${lt_cv_to_host_file_cmd+:} false; then :
    5090   $as_echo_n "(cached) " >&6
    5091 else
    5092   case $host in
    5093   *-*-mingw* )
    5094     case $build in
    5095       *-*-mingw* ) # actually msys
    5096         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
    5097         ;;
    5098       *-*-cygwin* )
    5099         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
    5100         ;;
    5101       * ) # otherwise, assume *nix
    5102         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
    5103         ;;
    5104     esac
    5105     ;;
    5106   *-*-cygwin* )
    5107     case $build in
    5108       *-*-mingw* ) # actually msys
    5109         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
    5110         ;;
    5111       *-*-cygwin* )
    5112         lt_cv_to_host_file_cmd=func_convert_file_noop
    5113         ;;
    5114       * ) # otherwise, assume *nix
    5115         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
    5116         ;;
    5117     esac
    5118     ;;
    5119   * ) # unhandled hosts (and "normal" native builds)
    5120     lt_cv_to_host_file_cmd=func_convert_file_noop
    5121     ;;
    5122 esac
    5123 
    5124 fi
    5125 
    5126 to_host_file_cmd=$lt_cv_to_host_file_cmd
    5127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
    5128 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
    5129 
    5130 
    5131 
    5132 
    5133 
    5134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
    5135 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
    5136 if ${lt_cv_to_tool_file_cmd+:} false; then :
    5137   $as_echo_n "(cached) " >&6
    5138 else
    5139   #assume ordinary cross tools, or native build.
    5140 lt_cv_to_tool_file_cmd=func_convert_file_noop
    5141 case $host in
    5142   *-*-mingw* )
    5143     case $build in
    5144       *-*-mingw* ) # actually msys
    5145         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
    5146         ;;
    5147     esac
    5148     ;;
    5149 esac
    5150 
    5151 fi
    5152 
    5153 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
    5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
    5155 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
    5156 
    5157 
    5158 
    5159 
    5160 
    5161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
    5162 $as_echo_n "checking for $LD option to reload object files... " >&6; }
    5163 if ${lt_cv_ld_reload_flag+:} false; then :
    5164   $as_echo_n "(cached) " >&6
    5165 else
    5166   lt_cv_ld_reload_flag='-r'
    5167 fi
    5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
    5169 $as_echo "$lt_cv_ld_reload_flag" >&6; }
    5170 reload_flag=$lt_cv_ld_reload_flag
    5171 case $reload_flag in
    5172 "" | " "*) ;;
    5173 *) reload_flag=" $reload_flag" ;;
    5174 esac
    5175 reload_cmds='$LD$reload_flag -o $output$reload_objs'
    5176 case $host_os in
    5177   cygwin* | mingw* | pw32* | cegcc*)
    5178     if test yes != "$GCC"; then
    5179       reload_cmds=false
    5180     fi
    5181     ;;
    5182   darwin*)
    5183     if test yes = "$GCC"; then
    5184       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
    5185     else
    5186       reload_cmds='$LD$reload_flag -o $output$reload_objs'
    5187     fi
    5188     ;;
    5189 esac
    5190 
    5191 
    5192 
    5193 
    5194 
    5195 
    5196 
    5197 
    5198 
    5199 if test -n "$ac_tool_prefix"; then
    5200   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
    5201 set dummy ${ac_tool_prefix}objdump; ac_word=$2
    5202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    5203 $as_echo_n "checking for $ac_word... " >&6; }
    5204 if ${ac_cv_prog_OBJDUMP+:} false; then :
    5205   $as_echo_n "(cached) " >&6
    5206 else
    5207   if test -n "$OBJDUMP"; then
    5208   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
    5209 else
    5210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5211 for as_dir in $PATH
    5212 do
    5213   IFS=$as_save_IFS
    5214   test -z "$as_dir" && as_dir=.
    5215     for ac_exec_ext in '' $ac_executable_extensions; do
    5216   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5217     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
    5218     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    5219     break 2
    5220   fi
    5221 done
    5222   done
    5223 IFS=$as_save_IFS
    5224 
    5225 fi
    5226 fi
    5227 OBJDUMP=$ac_cv_prog_OBJDUMP
    5228 if test -n "$OBJDUMP"; then
    5229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
    5230 $as_echo "$OBJDUMP" >&6; }
    5231 else
    5232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    5233 $as_echo "no" >&6; }
    5234 fi
    5235 
    5236 
    5237 fi
    5238 if test -z "$ac_cv_prog_OBJDUMP"; then
    5239   ac_ct_OBJDUMP=$OBJDUMP
    5240   # Extract the first word of "objdump", so it can be a program name with args.
    5241 set dummy objdump; ac_word=$2
    5242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    5243 $as_echo_n "checking for $ac_word... " >&6; }
    5244 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
    5245   $as_echo_n "(cached) " >&6
    5246 else
    5247   if test -n "$ac_ct_OBJDUMP"; then
    5248   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
    5249 else
    5250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5251 for as_dir in $PATH
    5252 do
    5253   IFS=$as_save_IFS
    5254   test -z "$as_dir" && as_dir=.
    5255     for ac_exec_ext in '' $ac_executable_extensions; do
    5256   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5257     ac_cv_prog_ac_ct_OBJDUMP="objdump"
    5258     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    5259     break 2
    5260   fi
    5261 done
    5262   done
    5263 IFS=$as_save_IFS
    5264 
    5265 fi
    5266 fi
    5267 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
    5268 if test -n "$ac_ct_OBJDUMP"; then
    5269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
    5270 $as_echo "$ac_ct_OBJDUMP" >&6; }
    5271 else
    5272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    5273 $as_echo "no" >&6; }
    5274 fi
    5275 
    5276   if test "x$ac_ct_OBJDUMP" = x; then
    5277     OBJDUMP="false"
    5278   else
    5279     case $cross_compiling:$ac_tool_warned in
    5280 yes:)
    5281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    5282 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    5283 ac_tool_warned=yes ;;
    5284 esac
    5285     OBJDUMP=$ac_ct_OBJDUMP
    5286   fi
    5287 else
    5288   OBJDUMP="$ac_cv_prog_OBJDUMP"
    5289 fi
    5290 
    5291 test -z "$OBJDUMP" && OBJDUMP=objdump
    5292 
    5293 
    5294 
    5295 
    5296 
    5297 
    5298 
    5299 
    5300 
    5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
    5302 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
    5303 if ${lt_cv_deplibs_check_method+:} false; then :
    5304   $as_echo_n "(cached) " >&6
    5305 else
    5306   lt_cv_file_magic_cmd='$MAGIC_CMD'
    5307 lt_cv_file_magic_test_file=
    5308 lt_cv_deplibs_check_method='unknown'
    5309 # Need to set the preceding variable on all platforms that support
    5310 # interlibrary dependencies.
    5311 # 'none' -- dependencies not supported.
    5312 # 'unknown' -- same as none, but documents that we really don't know.
    5313 # 'pass_all' -- all dependencies passed with no checks.
    5314 # 'test_compile' -- check by making test program.
    5315 # 'file_magic [[regex]]' -- check by looking for files in library path
    5316 # that responds to the $file_magic_cmd with a given extended regex.
    5317 # If you have 'file' or equivalent on your system and you're not sure
    5318 # whether 'pass_all' will *always* work, you probably want this one.
    5319 
    5320 case $host_os in
    5321 aix[4-9]*)
    5322   lt_cv_deplibs_check_method=pass_all
    5323   ;;
    5324 
    5325 beos*)
    5326   lt_cv_deplibs_check_method=pass_all
    5327   ;;
    5328 
    5329 bsdi[45]*)
    5330   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
    5331   lt_cv_file_magic_cmd='/usr/bin/file -L'
    5332   lt_cv_file_magic_test_file=/shlib/libc.so
    5333   ;;
    5334 
    5335 cygwin*)
    5336   # func_win32_libid is a shell function defined in ltmain.sh
    5337   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
    5338   lt_cv_file_magic_cmd='func_win32_libid'
    5339   ;;
    5340 
    5341 mingw* | pw32*)
    5342   # Base MSYS/MinGW do not provide the 'file' command needed by
    5343   # func_win32_libid shell function, so use a weaker test based on 'objdump',
    5344   # unless we find 'file', for example because we are cross-compiling.
    5345   if ( file / ) >/dev/null 2>&1; then
    5346     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
    5347     lt_cv_file_magic_cmd='func_win32_libid'
    5348   else
    5349     # Keep this pattern in sync with the one in func_win32_libid.
    5350     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
    5351     lt_cv_file_magic_cmd='$OBJDUMP -f'
    5352   fi
    5353   ;;
    5354 
    5355 cegcc*)
    5356   # use the weaker test based on 'objdump'. See mingw*.
    5357   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
    5358   lt_cv_file_magic_cmd='$OBJDUMP -f'
    5359   ;;
    5360 
    5361 darwin* | rhapsody*)
    5362   lt_cv_deplibs_check_method=pass_all
    5363   ;;
    5364 
    5365 freebsd* | dragonfly*)
    5366   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
    5367     case $host_cpu in
    5368     i*86 )
    5369       # Not sure whether the presence of OpenBSD here was a mistake.
    5370       # Let's accept both of them until this is cleared up.
    5371       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
    5372       lt_cv_file_magic_cmd=/usr/bin/file
    5373       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
    5374       ;;
    5375     esac
    5376   else
    5377     lt_cv_deplibs_check_method=pass_all
    5378   fi
    5379   ;;
    5380 
    5381 haiku*)
    5382   lt_cv_deplibs_check_method=pass_all
    5383   ;;
    5384 
    5385 hpux10.20* | hpux11*)
    5386   lt_cv_file_magic_cmd=/usr/bin/file
    5387   case $host_cpu in
    5388   ia64*)
    5389     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
    5390     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
    5391     ;;
    5392   hppa*64*)
    5393     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]'
    5394     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
    5395     ;;
    5396   *)
    5397     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
    5398     lt_cv_file_magic_test_file=/usr/lib/libc.sl
    5399     ;;
    5400   esac
    5401   ;;
    5402 
    5403 interix[3-9]*)
    5404   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
    5405   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
    5406   ;;
    5407 
    5408 irix5* | irix6* | nonstopux*)
    5409   case $LD in
    5410   *-32|*"-32 ") libmagic=32-bit;;
    5411   *-n32|*"-n32 ") libmagic=N32;;
    5412   *-64|*"-64 ") libmagic=64-bit;;
    5413   *) libmagic=never-match;;
    5414   esac
    5415   lt_cv_deplibs_check_method=pass_all
    5416   ;;
    5417 
    5418 # This must be glibc/ELF.
    5419 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
    5420   lt_cv_deplibs_check_method=pass_all
    5421   ;;
    5422 
    5423 netbsd* | netbsdelf*-gnu)
    5424   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
    5425     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
    5426   else
    5427     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
    5428   fi
    5429   ;;
    5430 
    5431 newos6*)
    5432   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
    5433   lt_cv_file_magic_cmd=/usr/bin/file
    5434   lt_cv_file_magic_test_file=/usr/lib/libnls.so
    5435   ;;
    5436 
    5437 *nto* | *qnx*)
    5438   lt_cv_deplibs_check_method=pass_all
    5439   ;;
    5440 
    5441 openbsd* | bitrig*)
    5442   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
    5443     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
    5444   else
    5445     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
    5446   fi
    5447   ;;
    5448 
    5449 osf3* | osf4* | osf5*)
    5450   lt_cv_deplibs_check_method=pass_all
    5451   ;;
    5452 
    5453 rdos*)
    5454   lt_cv_deplibs_check_method=pass_all
    5455   ;;
    5456 
    5457 solaris*)
    5458   lt_cv_deplibs_check_method=pass_all
    5459   ;;
    5460 
    5461 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
    5462   lt_cv_deplibs_check_method=pass_all
    5463   ;;
    5464 
    5465 sysv4 | sysv4.3*)
    5466   case $host_vendor in
    5467   motorola)
    5468     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]'
    5469     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
    5470     ;;
    5471   ncr)
    5472     lt_cv_deplibs_check_method=pass_all
    5473     ;;
    5474   sequent)
    5475     lt_cv_file_magic_cmd='/bin/file'
    5476     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
    5477     ;;
    5478   sni)
    5479     lt_cv_file_magic_cmd='/bin/file'
    5480     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
    5481     lt_cv_file_magic_test_file=/lib/libc.so
    5482     ;;
    5483   siemens)
    5484     lt_cv_deplibs_check_method=pass_all
    5485     ;;
    5486   pc)
    5487     lt_cv_deplibs_check_method=pass_all
    5488     ;;
    5489   esac
    5490   ;;
    5491 
    5492 tpf*)
    5493   lt_cv_deplibs_check_method=pass_all
    5494   ;;
    5495 os2*)
    5496   lt_cv_deplibs_check_method=pass_all
    5497   ;;
    5498 esac
    5499 
    5500 fi
    5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
    5502 $as_echo "$lt_cv_deplibs_check_method" >&6; }
    5503 
    5504 file_magic_glob=
    5505 want_nocaseglob=no
    5506 if test "$build" = "$host"; then
    5507   case $host_os in
    5508   mingw* | pw32*)
    5509     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
    5510       want_nocaseglob=yes
    5511     else
    5512       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
    5513     fi
    5514     ;;
    5515   esac
    5516 fi
    5517 
    5518 file_magic_cmd=$lt_cv_file_magic_cmd
    5519 deplibs_check_method=$lt_cv_deplibs_check_method
    5520 test -z "$deplibs_check_method" && deplibs_check_method=unknown
    5521 
    5522 
    5523 
    5524 
    5525 
    5526 
    5527 
    5528 
    5529 
    5530 
    5531 
    5532 
    5533 
    5534 
    5535 
    5536 
    5537 
    5538 
    5539 
    5540 
    5541 
    5542 
    5543 if test -n "$ac_tool_prefix"; then
    5544   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
    5545 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
    5546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    5547 $as_echo_n "checking for $ac_word... " >&6; }
    5548 if ${ac_cv_prog_DLLTOOL+:} false; then :
    5549   $as_echo_n "(cached) " >&6
    5550 else
    5551   if test -n "$DLLTOOL"; then
    5552   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
    5553 else
    5554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5555 for as_dir in $PATH
    5556 do
    5557   IFS=$as_save_IFS
    5558   test -z "$as_dir" && as_dir=.
    5559     for ac_exec_ext in '' $ac_executable_extensions; do
    5560   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5561     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
    5562     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    5563     break 2
    5564   fi
    5565 done
    5566   done
    5567 IFS=$as_save_IFS
    5568 
    5569 fi
    5570 fi
    5571 DLLTOOL=$ac_cv_prog_DLLTOOL
    5572 if test -n "$DLLTOOL"; then
    5573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
    5574 $as_echo "$DLLTOOL" >&6; }
    5575 else
    5576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    5577 $as_echo "no" >&6; }
    5578 fi
    5579 
    5580 
    5581 fi
    5582 if test -z "$ac_cv_prog_DLLTOOL"; then
    5583   ac_ct_DLLTOOL=$DLLTOOL
    5584   # Extract the first word of "dlltool", so it can be a program name with args.
    5585 set dummy dlltool; ac_word=$2
    5586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    5587 $as_echo_n "checking for $ac_word... " >&6; }
    5588 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
    5589   $as_echo_n "(cached) " >&6
    5590 else
    5591   if test -n "$ac_ct_DLLTOOL"; then
    5592   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
    5593 else
    5594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5595 for as_dir in $PATH
    5596 do
    5597   IFS=$as_save_IFS
    5598   test -z "$as_dir" && as_dir=.
    5599     for ac_exec_ext in '' $ac_executable_extensions; do
    5600   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5601     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
    5602     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    5603     break 2
    5604   fi
    5605 done
    5606   done
    5607 IFS=$as_save_IFS
    5608 
    5609 fi
    5610 fi
    5611 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
    5612 if test -n "$ac_ct_DLLTOOL"; then
    5613   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
    5614 $as_echo "$ac_ct_DLLTOOL" >&6; }
    5615 else
    5616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    5617 $as_echo "no" >&6; }
    5618 fi
    5619 
    5620   if test "x$ac_ct_DLLTOOL" = x; then
    5621     DLLTOOL="false"
    5622   else
    5623     case $cross_compiling:$ac_tool_warned in
    5624 yes:)
    5625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    5626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    5627 ac_tool_warned=yes ;;
    5628 esac
    5629     DLLTOOL=$ac_ct_DLLTOOL
    5630   fi
    5631 else
    5632   DLLTOOL="$ac_cv_prog_DLLTOOL"
    5633 fi
    5634 
    5635 test -z "$DLLTOOL" && DLLTOOL=dlltool
    5636 
    5637 
    5638 
    5639 
    5640 
    5641 
    5642 
    5643 
    5644 
    5645 
    5646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
    5647 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
    5648 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
    5649   $as_echo_n "(cached) " >&6
    5650 else
    5651   lt_cv_sharedlib_from_linklib_cmd='unknown'
    5652 
    5653 case $host_os in
    5654 cygwin* | mingw* | pw32* | cegcc*)
    5655   # two different shell functions defined in ltmain.sh;
    5656   # decide which one to use based on capabilities of $DLLTOOL
    5657   case `$DLLTOOL --help 2>&1` in
    5658   *--identify-strict*)
    5659     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
    5660     ;;
    5661   *)
    5662     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
    5663     ;;
    5664   esac
    5665   ;;
    5666 *)
    5667   # fallback: assume linklib IS sharedlib
    5668   lt_cv_sharedlib_from_linklib_cmd=$ECHO
    5669   ;;
    5670 esac
    5671 
    5672 fi
    5673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
    5674 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
    5675 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
    5676 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
    5677 
    5678 
    5679 
    5680 
    5681 
    5682 
    5683 
    5684 
    5685 if test -n "$ac_tool_prefix"; then
    5686   for ac_prog in ar
    5687   do
    5688     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    5689 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    5690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    5691 $as_echo_n "checking for $ac_word... " >&6; }
    5692 if ${ac_cv_prog_AR+:} false; then :
    5693   $as_echo_n "(cached) " >&6
    5694 else
    5695   if test -n "$AR"; then
    5696   ac_cv_prog_AR="$AR" # Let the user override the test.
    5697 else
    5698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5699 for as_dir in $PATH
    5700 do
    5701   IFS=$as_save_IFS
    5702   test -z "$as_dir" && as_dir=.
    5703     for ac_exec_ext in '' $ac_executable_extensions; do
    5704   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5705     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
    5706     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    5707     break 2
    5708   fi
    5709 done
    5710   done
    5711 IFS=$as_save_IFS
    5712 
    5713 fi
    5714 fi
    5715 AR=$ac_cv_prog_AR
    5716 if test -n "$AR"; then
    5717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
    5718 $as_echo "$AR" >&6; }
    5719 else
    5720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    5721 $as_echo "no" >&6; }
    5722 fi
    5723 
    5724 
    5725     test -n "$AR" && break
    5726   done
    5727 fi
    5728 if test -z "$AR"; then
    5729   ac_ct_AR=$AR
    5730   for ac_prog in ar
    5731 do
    5732   # Extract the first word of "$ac_prog", so it can be a program name with args.
    5733 set dummy $ac_prog; ac_word=$2
    5734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    5735 $as_echo_n "checking for $ac_word... " >&6; }
    5736 if ${ac_cv_prog_ac_ct_AR+:} false; then :
    5737   $as_echo_n "(cached) " >&6
    5738 else
    5739   if test -n "$ac_ct_AR"; then
    5740   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
    5741 else
    5742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5743 for as_dir in $PATH
    5744 do
    5745   IFS=$as_save_IFS
    5746   test -z "$as_dir" && as_dir=.
    5747     for ac_exec_ext in '' $ac_executable_extensions; do
    5748   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5749     ac_cv_prog_ac_ct_AR="$ac_prog"
    5750     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    5751     break 2
    5752   fi
    5753 done
    5754   done
    5755 IFS=$as_save_IFS
    5756 
    5757 fi
    5758 fi
    5759 ac_ct_AR=$ac_cv_prog_ac_ct_AR
    5760 if test -n "$ac_ct_AR"; then
    5761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
    5762 $as_echo "$ac_ct_AR" >&6; }
    5763 else
    5764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    5765 $as_echo "no" >&6; }
    5766 fi
    5767 
    5768 
    5769   test -n "$ac_ct_AR" && break
    5770 done
    5771 
    5772   if test "x$ac_ct_AR" = x; then
    5773     AR="false"
    5774   else
    5775     case $cross_compiling:$ac_tool_warned in
    5776 yes:)
    5777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    5778 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    5779 ac_tool_warned=yes ;;
    5780 esac
    5781     AR=$ac_ct_AR
    5782   fi
    5783 fi
    5784 
    5785 : ${AR=ar}
    5786 : ${AR_FLAGS=cru}
    5787 
    5788 
    5789 
    5790 
    5791 
    5792 
    5793 
    5794 
    5795 
    5796 
    5797 
    5798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
    5799 $as_echo_n "checking for archiver @FILE support... " >&6; }
    5800 if ${lt_cv_ar_at_file+:} false; then :
    5801   $as_echo_n "(cached) " >&6
    5802 else
    5803   lt_cv_ar_at_file=no
    5804    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    5805 /* end confdefs.h.  */
    5806 
    5807 int
    5808 main ()
    5809 {
    5810 
    5811   ;
    5812   return 0;
    5813 }
    5814 _ACEOF
    5815 if ac_fn_c_try_compile "$LINENO"; then :
    5816   echo conftest.$ac_objext > conftest.lst
    5817       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
    5818       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
    5819   (eval $lt_ar_try) 2>&5
    5820   ac_status=$?
    5821   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    5822   test $ac_status = 0; }
    5823       if test 0 -eq "$ac_status"; then
    5824         # Ensure the archiver fails upon bogus file names.
    5825         rm -f conftest.$ac_objext libconftest.a
    5826         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
    5827   (eval $lt_ar_try) 2>&5
    5828   ac_status=$?
    5829   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    5830   test $ac_status = 0; }
    5831         if test 0 -ne "$ac_status"; then
    5832           lt_cv_ar_at_file=@
    5833         fi
    5834       fi
    5835       rm -f conftest.* libconftest.a
    5836 
    5837 fi
    5838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5839 
    5840 fi
    5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
    5842 $as_echo "$lt_cv_ar_at_file" >&6; }
    5843 
    5844 if test no = "$lt_cv_ar_at_file"; then
    5845   archiver_list_spec=
    5846 else
    5847   archiver_list_spec=$lt_cv_ar_at_file
    5848 fi
    5849 
    5850 
    5851 
    5852 
    5853 
    5854 
    5855 
    5856 if test -n "$ac_tool_prefix"; then
    5857   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
    5858 set dummy ${ac_tool_prefix}strip; ac_word=$2
    5859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    5860 $as_echo_n "checking for $ac_word... " >&6; }
    5861 if ${ac_cv_prog_STRIP+:} false; then :
    5862   $as_echo_n "(cached) " >&6
    5863 else
    5864   if test -n "$STRIP"; then
    5865   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
    5866 else
    5867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5868 for as_dir in $PATH
    5869 do
    5870   IFS=$as_save_IFS
    5871   test -z "$as_dir" && as_dir=.
    5872     for ac_exec_ext in '' $ac_executable_extensions; do
    5873   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5874     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
    5875     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    5876     break 2
    5877   fi
    5878 done
    5879   done
    5880 IFS=$as_save_IFS
    5881 
    5882 fi
    5883 fi
    5884 STRIP=$ac_cv_prog_STRIP
    5885 if test -n "$STRIP"; then
    5886   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
    5887 $as_echo "$STRIP" >&6; }
    5888 else
    5889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    5890 $as_echo "no" >&6; }
    5891 fi
    5892 
    5893 
    5894 fi
    5895 if test -z "$ac_cv_prog_STRIP"; then
    5896   ac_ct_STRIP=$STRIP
    5897   # Extract the first word of "strip", so it can be a program name with args.
    5898 set dummy strip; ac_word=$2
    5899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    5900 $as_echo_n "checking for $ac_word... " >&6; }
    5901 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
    5902   $as_echo_n "(cached) " >&6
    5903 else
    5904   if test -n "$ac_ct_STRIP"; then
    5905   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
    5906 else
    5907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5908 for as_dir in $PATH
    5909 do
    5910   IFS=$as_save_IFS
    5911   test -z "$as_dir" && as_dir=.
    5912     for ac_exec_ext in '' $ac_executable_extensions; do
    5913   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5914     ac_cv_prog_ac_ct_STRIP="strip"
    5915     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    5916     break 2
    5917   fi
    5918 done
    5919   done
    5920 IFS=$as_save_IFS
    5921 
    5922 fi
    5923 fi
    5924 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
    5925 if test -n "$ac_ct_STRIP"; then
    5926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
    5927 $as_echo "$ac_ct_STRIP" >&6; }
    5928 else
    5929   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    5930 $as_echo "no" >&6; }
    5931 fi
    5932 
    5933   if test "x$ac_ct_STRIP" = x; then
    5934     STRIP=":"
    5935   else
    5936     case $cross_compiling:$ac_tool_warned in
    5937 yes:)
    5938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    5939 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    5940 ac_tool_warned=yes ;;
    5941 esac
    5942     STRIP=$ac_ct_STRIP
    5943   fi
    5944 else
    5945   STRIP="$ac_cv_prog_STRIP"
    5946 fi
    5947 
    5948 test -z "$STRIP" && STRIP=:
    5949 
    5950 
    5951 
    5952 
    5953 
    5954 
    5955 if test -n "$ac_tool_prefix"; then
    5956   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    5957 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    5958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    5959 $as_echo_n "checking for $ac_word... " >&6; }
    5960 if ${ac_cv_prog_RANLIB+:} false; then :
    5961   $as_echo_n "(cached) " >&6
    5962 else
    5963   if test -n "$RANLIB"; then
    5964   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
    5965 else
    5966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    5967 for as_dir in $PATH
    5968 do
    5969   IFS=$as_save_IFS
    5970   test -z "$as_dir" && as_dir=.
    5971     for ac_exec_ext in '' $ac_executable_extensions; do
    5972   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    5973     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    5974     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    5975     break 2
    5976   fi
    5977 done
    5978   done
    5979 IFS=$as_save_IFS
    5980 
    5981 fi
    5982 fi
    5983 RANLIB=$ac_cv_prog_RANLIB
    5984 if test -n "$RANLIB"; then
    5985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
    5986 $as_echo "$RANLIB" >&6; }
    5987 else
    5988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    5989 $as_echo "no" >&6; }
    5990 fi
    5991 
    5992 
    5993 fi
    5994 if test -z "$ac_cv_prog_RANLIB"; then
    5995   ac_ct_RANLIB=$RANLIB
    5996   # Extract the first word of "ranlib", so it can be a program name with args.
    5997 set dummy ranlib; ac_word=$2
    5998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    5999 $as_echo_n "checking for $ac_word... " >&6; }
    6000 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
    6001   $as_echo_n "(cached) " >&6
    6002 else
    6003   if test -n "$ac_ct_RANLIB"; then
    6004   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
    6005 else
    6006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    6007 for as_dir in $PATH
    6008 do
    6009   IFS=$as_save_IFS
    6010   test -z "$as_dir" && as_dir=.
    6011     for ac_exec_ext in '' $ac_executable_extensions; do
    6012   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    6013     ac_cv_prog_ac_ct_RANLIB="ranlib"
    6014     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    6015     break 2
    6016   fi
    6017 done
    6018   done
    6019 IFS=$as_save_IFS
    6020 
    6021 fi
    6022 fi
    6023 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    6024 if test -n "$ac_ct_RANLIB"; then
    6025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
    6026 $as_echo "$ac_ct_RANLIB" >&6; }
    6027 else
    6028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    6029 $as_echo "no" >&6; }
    6030 fi
    6031 
    6032   if test "x$ac_ct_RANLIB" = x; then
    6033     RANLIB=":"
    6034   else
    6035     case $cross_compiling:$ac_tool_warned in
    6036 yes:)
    6037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    6038 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    6039 ac_tool_warned=yes ;;
    6040 esac
    6041     RANLIB=$ac_ct_RANLIB
    6042   fi
    6043 else
    6044   RANLIB="$ac_cv_prog_RANLIB"
    6045 fi
    6046 
    6047 test -z "$RANLIB" && RANLIB=:
    6048 
    6049 
    6050 
    6051 
    6052 
    6053 
    6054 # Determine commands to create old-style static archives.
    6055 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
    6056 old_postinstall_cmds='chmod 644 $oldlib'
    6057 old_postuninstall_cmds=
    6058 
    6059 if test -n "$RANLIB"; then
    6060   case $host_os in
    6061   bitrig* | openbsd*)
    6062     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
    6063     ;;
    6064   *)
    6065     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
    6066     ;;
    6067   esac
    6068   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
    6069 fi
    6070 
    6071 case $host_os in
    6072   darwin*)
    6073     lock_old_archive_extraction=yes ;;
    6074   *)
    6075     lock_old_archive_extraction=no ;;
    6076 esac
    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 
    6114 
    6115 
    6116 # If no C compiler was specified, use CC.
    6117 LTCC=${LTCC-"$CC"}
    6118 
    6119 # If no C compiler flags were specified, use CFLAGS.
    6120 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
    6121 
    6122 # Allow CC to be a program name with arguments.
    6123 compiler=$CC
    6124 
    6125 
    6126 # Check for command to grab the raw symbol name followed by C symbol from nm.
    6127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
    6128 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
    6129 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
    6130   $as_echo_n "(cached) " >&6
    6131 else
    6132 
    6133 # These are sane defaults that work on at least a few old systems.
    6134 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
    6135 
    6136 # Character class describing NM global symbol codes.
    6137 symcode='[BCDEGRST]'
    6138 
    6139 # Regexp to match symbols that can be accessed directly from C.
    6140 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
    6141 
    6142 # Define system-specific variables.
    6143 case $host_os in
    6144 aix*)
    6145   symcode='[BCDT]'
    6146   ;;
    6147 cygwin* | mingw* | pw32* | cegcc*)
    6148   symcode='[ABCDGISTW]'
    6149   ;;
    6150 hpux*)
    6151   if test ia64 = "$host_cpu"; then
    6152     symcode='[ABCDEGRST]'
    6153   fi
    6154   ;;
    6155 irix* | nonstopux*)
    6156   symcode='[BCDEGRST]'
    6157   ;;
    6158 osf*)
    6159   symcode='[BCDEGQRST]'
    6160   ;;
    6161 solaris*)
    6162   symcode='[BDRT]'
    6163   ;;
    6164 sco3.2v5*)
    6165   symcode='[DT]'
    6166   ;;
    6167 sysv4.2uw2*)
    6168   symcode='[DT]'
    6169   ;;
    6170 sysv5* | sco5v6* | unixware* | OpenUNIX*)
    6171   symcode='[ABDT]'
    6172   ;;
    6173 sysv4)
    6174   symcode='[DFNSTU]'
    6175   ;;
    6176 esac
    6177 
    6178 # If we're using GNU nm, then use its standard symbol codes.
    6179 case `$NM -V 2>&1` in
    6180 *GNU* | *'with BFD'*)
    6181   symcode='[ABCDGIRSTW]' ;;
    6182 esac
    6183 
    6184 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
    6185   # Gets list of data symbols to import.
    6186   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
    6187   # Adjust the below global symbol transforms to fixup imported variables.
    6188   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
    6189   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
    6190   lt_c_name_lib_hook="\
    6191   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
    6192   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
    6193 else
    6194   # Disable hooks by default.
    6195   lt_cv_sys_global_symbol_to_import=
    6196   lt_cdecl_hook=
    6197   lt_c_name_hook=
    6198   lt_c_name_lib_hook=
    6199 fi
    6200 
    6201 # Transform an extracted symbol line into a proper C declaration.
    6202 # Some systems (esp. on ia64) link data and code symbols differently,
    6203 # so use this general approach.
    6204 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
    6205 $lt_cdecl_hook\
    6206 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
    6207 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
    6208 
    6209 # Transform an extracted symbol line into symbol name and symbol address
    6210 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
    6211 $lt_c_name_hook\
    6212 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
    6213 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
    6214 
    6215 # Transform an extracted symbol line into symbol name with lib prefix and
    6216 # symbol address.
    6217 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
    6218 $lt_c_name_lib_hook\
    6219 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
    6220 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
    6221 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
    6222 
    6223 # Handle CRLF in mingw tool chain
    6224 opt_cr=
    6225 case $build_os in
    6226 mingw*)
    6227   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
    6228   ;;
    6229 esac
    6230 
    6231 # Try without a prefix underscore, then with it.
    6232 for ac_symprfx in "" "_"; do
    6233 
    6234   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
    6235   symxfrm="\\1 $ac_symprfx\\2 \\2"
    6236 
    6237   # Write the raw and C identifiers.
    6238   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
    6239     # Fake it for dumpbin and say T for any non-static function,
    6240     # D for any global variable and I for any imported variable.
    6241     # Also find C++ and __fastcall symbols from MSVC++,
    6242     # which start with @ or ?.
    6243     lt_cv_sys_global_symbol_pipe="$AWK '"\
    6244 "     {last_section=section; section=\$ 3};"\
    6245 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
    6246 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
    6247 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
    6248 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
    6249 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
    6250 "     \$ 0!~/External *\|/{next};"\
    6251 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
    6252 "     {if(hide[section]) next};"\
    6253 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
    6254 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
    6255 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
    6256 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
    6257 "     ' prfx=^$ac_symprfx"
    6258   else
    6259     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
    6260   fi
    6261   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
    6262 
    6263   # Check to see that the pipe works correctly.
    6264   pipe_works=no
    6265 
    6266   rm -f conftest*
    6267   cat > conftest.$ac_ext <<_LT_EOF
    6268 #ifdef __cplusplus
    6269 extern "C" {
    6270 #endif
    6271 char nm_test_var;
    6272 void nm_test_func(void);
    6273 void nm_test_func(void){}
    6274 #ifdef __cplusplus
    6275 }
    6276 #endif
    6277 int main(){nm_test_var='a';nm_test_func();return(0);}
    6278 _LT_EOF
    6279 
    6280   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
    6281   (eval $ac_compile) 2>&5
    6282   ac_status=$?
    6283   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    6284   test $ac_status = 0; }; then
    6285     # Now try to grab the symbols.
    6286     nlist=conftest.nm
    6287     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
    6288   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
    6289   ac_status=$?
    6290   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    6291   test $ac_status = 0; } && test -s "$nlist"; then
    6292       # Try sorting and uniquifying the output.
    6293       if sort "$nlist" | uniq > "$nlist"T; then
    6294         mv -f "$nlist"T "$nlist"
    6295       else
    6296         rm -f "$nlist"T
    6297       fi
    6298 
    6299       # Make sure that we snagged all the symbols we need.
    6300       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
    6301         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
    6302           cat <<_LT_EOF > conftest.$ac_ext
    6303 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
    6304 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
    6305 /* DATA imports from DLLs on WIN32 can't be const, because runtime
    6306    relocations are performed -- see ld's documentation on pseudo-relocs.  */
    6307 # define LT_DLSYM_CONST
    6308 #elif defined __osf__
    6309 /* This system does not cope well with relocations in const data.  */
    6310 # define LT_DLSYM_CONST
    6311 #else
    6312 # define LT_DLSYM_CONST const
    6313 #endif
    6314 
    6315 #ifdef __cplusplus
    6316 extern "C" {
    6317 #endif
    6318 
    6319 _LT_EOF
    6320           # Now generate the symbol file.
    6321           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
    6322 
    6323           cat <<_LT_EOF >> conftest.$ac_ext
    6324 
    6325 /* The mapping between symbol names and symbols.  */
    6326 LT_DLSYM_CONST struct {
    6327   const char *name;
    6328   void       *address;
    6329 }
    6330 lt__PROGRAM__LTX_preloaded_symbols[] =
    6331 {
    6332   { "@PROGRAM@", (void *) 0 },
    6333 _LT_EOF
    6334           $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
    6335           cat <<\_LT_EOF >> conftest.$ac_ext
    6336   {0, (void *) 0}
    6337 };
    6338 
    6339 /* This works around a problem in FreeBSD linker */
    6340 #ifdef FREEBSD_WORKAROUND
    6341 static const void *lt_preloaded_setup() {
    6342   return lt__PROGRAM__LTX_preloaded_symbols;
    6343 }
    6344 #endif
    6345 
    6346 #ifdef __cplusplus
    6347 }
    6348 #endif
    6349 _LT_EOF
    6350           # Now try linking the two files.
    6351           mv conftest.$ac_objext conftstm.$ac_objext
    6352           lt_globsym_save_LIBS=$LIBS
    6353           lt_globsym_save_CFLAGS=$CFLAGS
    6354           LIBS=conftstm.$ac_objext
    6355           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
    6356           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
    6357   (eval $ac_link) 2>&5
    6358   ac_status=$?
    6359   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    6360   test $ac_status = 0; } && test -s conftest$ac_exeext; then
    6361             pipe_works=yes
    6362           fi
    6363           LIBS=$lt_globsym_save_LIBS
    6364           CFLAGS=$lt_globsym_save_CFLAGS
    6365         else
    6366           echo "cannot find nm_test_func in $nlist" >&5
    6367         fi
    6368       else
    6369         echo "cannot find nm_test_var in $nlist" >&5
    6370       fi
    6371     else
    6372       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
    6373     fi
    6374   else
    6375     echo "$progname: failed program was:" >&5
    6376     cat conftest.$ac_ext >&5
    6377   fi
    6378   rm -rf conftest* conftst*
    6379 
    6380   # Do not use the global_symbol_pipe unless it works.
    6381   if test yes = "$pipe_works"; then
    6382     break
    6383   else
    6384     lt_cv_sys_global_symbol_pipe=
    6385   fi
    6386 done
    6387 
    6388 fi
    6389 
    6390 if test -z "$lt_cv_sys_global_symbol_pipe"; then
    6391   lt_cv_sys_global_symbol_to_cdecl=
    6392 fi
    6393 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
    6394   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
    6395 $as_echo "failed" >&6; }
    6396 else
    6397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
    6398 $as_echo "ok" >&6; }
    6399 fi
    6400 
    6401 # Response file support.
    6402 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
    6403   nm_file_list_spec='@'
    6404 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
    6405   nm_file_list_spec='@'
    6406 fi
    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 
    6442 
    6443 
    6444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
    6445 $as_echo_n "checking for sysroot... " >&6; }
    6446 
    6447 # Check whether --with-sysroot was given.
    6448 if test "${with_sysroot+set}" = set; then :
    6449   withval=$with_sysroot;
    6450 else
    6451   with_sysroot=no
    6452 fi
    6453 
    6454 
    6455 lt_sysroot=
    6456 case $with_sysroot in #(
    6457  yes)
    6458    if test yes = "$GCC"; then
    6459      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
    6460    fi
    6461    ;; #(
    6462  /*)
    6463    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
    6464    ;; #(
    6465  no|'')
    6466    ;; #(
    6467  *)
    6468    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
    6469 $as_echo "$with_sysroot" >&6; }
    6470    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
    6471    ;;
    6472 esac
    6473 
    6474  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
    6475 $as_echo "${lt_sysroot:-no}" >&6; }
    6476 
    6477 
    6478 
    6479 
    6480 
    6481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
    6482 $as_echo_n "checking for a working dd... " >&6; }
    6483 if ${ac_cv_path_lt_DD+:} false; then :
    6484   $as_echo_n "(cached) " >&6
    6485 else
    6486   printf 0123456789abcdef0123456789abcdef >conftest.i
    6487 cat conftest.i conftest.i >conftest2.i
    6488 : ${lt_DD:=$DD}
    6489 if test -z "$lt_DD"; then
    6490   ac_path_lt_DD_found=false
    6491   # Loop through the user's path and test for each of PROGNAME-LIST
    6492   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    6493 for as_dir in $PATH
    6494 do
    6495   IFS=$as_save_IFS
    6496   test -z "$as_dir" && as_dir=.
    6497     for ac_prog in dd; do
    6498     for ac_exec_ext in '' $ac_executable_extensions; do
    6499       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
    6500       as_fn_executable_p "$ac_path_lt_DD" || continue
    6501 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
    6502   cmp -s conftest.i conftest.out \
    6503   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
    6504 fi
    6505       $ac_path_lt_DD_found && break 3
    6506     done
    6507   done
    6508   done
    6509 IFS=$as_save_IFS
    6510   if test -z "$ac_cv_path_lt_DD"; then
    6511     :
    6512   fi
    6513 else
    6514   ac_cv_path_lt_DD=$lt_DD
    6515 fi
    6516 
    6517 rm -f conftest.i conftest2.i conftest.out
    6518 fi
    6519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
    6520 $as_echo "$ac_cv_path_lt_DD" >&6; }
    6521 
    6522 
    6523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
    6524 $as_echo_n "checking how to truncate binary pipes... " >&6; }
    6525 if ${lt_cv_truncate_bin+:} false; then :
    6526   $as_echo_n "(cached) " >&6
    6527 else
    6528   printf 0123456789abcdef0123456789abcdef >conftest.i
    6529 cat conftest.i conftest.i >conftest2.i
    6530 lt_cv_truncate_bin=
    6531 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
    6532   cmp -s conftest.i conftest.out \
    6533   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
    6534 fi
    6535 rm -f conftest.i conftest2.i conftest.out
    6536 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
    6537 fi
    6538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
    6539 $as_echo "$lt_cv_truncate_bin" >&6; }
    6540 
    6541 
    6542 
    6543 
    6544 
    6545 
    6546 
    6547 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
    6548 func_cc_basename ()
    6549 {
    6550     for cc_temp in $*""; do
    6551       case $cc_temp in
    6552         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
    6553         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
    6554         \-*) ;;
    6555         *) break;;
    6556       esac
    6557     done
    6558     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
    6559 }
    6560 
    6561 # Check whether --enable-libtool-lock was given.
    6562 if test "${enable_libtool_lock+set}" = set; then :
    6563   enableval=$enable_libtool_lock;
    6564 fi
    6565 
    6566 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
    6567 
    6568 # Some flags need to be propagated to the compiler or linker for good
    6569 # libtool support.
    6570 case $host in
    6571 ia64-*-hpux*)
    6572   # Find out what ABI is being produced by ac_compile, and set mode
    6573   # options accordingly.
    6574   echo 'int i;' > conftest.$ac_ext
    6575   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
    6576   (eval $ac_compile) 2>&5
    6577   ac_status=$?
    6578   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    6579   test $ac_status = 0; }; then
    6580     case `/usr/bin/file conftest.$ac_objext` in
    6581       *ELF-32*)
    6582         HPUX_IA64_MODE=32
    6583         ;;
    6584       *ELF-64*)
    6585         HPUX_IA64_MODE=64
    6586         ;;
    6587     esac
    6588   fi
    6589   rm -rf conftest*
    6590   ;;
    6591 *-*-irix6*)
    6592   # Find out what ABI is being produced by ac_compile, and set linker
    6593   # options accordingly.
    6594   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
    6595   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
    6596   (eval $ac_compile) 2>&5
    6597   ac_status=$?
    6598   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    6599   test $ac_status = 0; }; then
    6600     if test yes = "$lt_cv_prog_gnu_ld"; then
    6601       case `/usr/bin/file conftest.$ac_objext` in
    6602         *32-bit*)
    6603           LD="${LD-ld} -melf32bsmip"
    6604           ;;
    6605         *N32*)
    6606           LD="${LD-ld} -melf32bmipn32"
    6607           ;;
    6608         *64-bit*)
    6609           LD="${LD-ld} -melf64bmip"
    6610         ;;
    6611       esac
    6612     else
    6613       case `/usr/bin/file conftest.$ac_objext` in
    6614         *32-bit*)
    6615           LD="${LD-ld} -32"
    6616           ;;
    6617         *N32*)
    6618           LD="${LD-ld} -n32"
    6619           ;;
    6620         *64-bit*)
    6621           LD="${LD-ld} -64"
    6622           ;;
    6623       esac
    6624     fi
    6625   fi
    6626   rm -rf conftest*
    6627   ;;
    6628 
    6629 mips64*-*linux*)
    6630   # Find out what ABI is being produced by ac_compile, and set linker
    6631   # options accordingly.
    6632   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
    6633   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
    6634   (eval $ac_compile) 2>&5
    6635   ac_status=$?
    6636   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    6637   test $ac_status = 0; }; then
    6638     emul=elf
    6639     case `/usr/bin/file conftest.$ac_objext` in
    6640       *32-bit*)
    6641         emul="${emul}32"
    6642         ;;
    6643       *64-bit*)
    6644         emul="${emul}64"
    6645         ;;
    6646     esac
    6647     case `/usr/bin/file conftest.$ac_objext` in
    6648       *MSB*)
    6649         emul="${emul}btsmip"
    6650         ;;
    6651       *LSB*)
    6652         emul="${emul}ltsmip"
    6653         ;;
    6654     esac
    6655     case `/usr/bin/file conftest.$ac_objext` in
    6656       *N32*)
    6657         emul="${emul}n32"
    6658         ;;
    6659     esac
    6660     LD="${LD-ld} -m $emul"
    6661   fi
    6662   rm -rf conftest*
    6663   ;;
    6664 
    6665 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
    6666 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
    6667   # Find out what ABI is being produced by ac_compile, and set linker
    6668   # options accordingly.  Note that the listed cases only cover the
    6669   # situations where additional linker options are needed (such as when
    6670   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
    6671   # vice versa); the common cases where no linker options are needed do
    6672   # not appear in the list.
    6673   echo 'int i;' > conftest.$ac_ext
    6674   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
    6675   (eval $ac_compile) 2>&5
    6676   ac_status=$?
    6677   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    6678   test $ac_status = 0; }; then
    6679     case `/usr/bin/file conftest.o` in
    6680       *32-bit*)
    6681         case $host in
    6682           x86_64-*kfreebsd*-gnu)
    6683             LD="${LD-ld} -m elf_i386_fbsd"
    6684             ;;
    6685           x86_64-*linux*)
    6686             case `/usr/bin/file conftest.o` in
    6687               *x86-64*)
    6688                 LD="${LD-ld} -m elf32_x86_64"
    6689                 ;;
    6690               *)
    6691                 LD="${LD-ld} -m elf_i386"
    6692                 ;;
    6693             esac
    6694             ;;
    6695           powerpc64le-*linux*)
    6696             LD="${LD-ld} -m elf32lppclinux"
    6697             ;;
    6698           powerpc64-*linux*)
    6699             LD="${LD-ld} -m elf32ppclinux"
    6700             ;;
    6701           s390x-*linux*)
    6702             LD="${LD-ld} -m elf_s390"
    6703             ;;
    6704           sparc64-*linux*)
    6705             LD="${LD-ld} -m elf32_sparc"
    6706             ;;
    6707         esac
    6708         ;;
    6709       *64-bit*)
    6710         case $host in
    6711           x86_64-*kfreebsd*-gnu)
    6712             LD="${LD-ld} -m elf_x86_64_fbsd"
    6713             ;;
    6714           x86_64-*linux*)
    6715             LD="${LD-ld} -m elf_x86_64"
    6716             ;;
    6717           powerpcle-*linux*)
    6718             LD="${LD-ld} -m elf64lppc"
    6719             ;;
    6720           powerpc-*linux*)
    6721             LD="${LD-ld} -m elf64ppc"
    6722             ;;
    6723           s390*-*linux*|s390*-*tpf*)
    6724             LD="${LD-ld} -m elf64_s390"
    6725             ;;
    6726           sparc*-*linux*)
    6727             LD="${LD-ld} -m elf64_sparc"
    6728             ;;
    6729         esac
    6730         ;;
    6731     esac
    6732   fi
    6733   rm -rf conftest*
    6734   ;;
    6735 
    6736 *-*-sco3.2v5*)
    6737   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
    6738   SAVE_CFLAGS=$CFLAGS
    6739   CFLAGS="$CFLAGS -belf"
    6740   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
    6741 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
    6742 if ${lt_cv_cc_needs_belf+:} false; then :
    6743   $as_echo_n "(cached) " >&6
    6744 else
    6745   ac_ext=c
    6746 ac_cpp='$CPP $CPPFLAGS'
    6747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    6748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    6749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    6750 
    6751      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    6752 /* end confdefs.h.  */
    6753 
    6754 int
    6755 main ()
    6756 {
    6757 
    6758   ;
    6759   return 0;
    6760 }
    6761 _ACEOF
    6762 if ac_fn_c_try_link "$LINENO"; then :
    6763   lt_cv_cc_needs_belf=yes
    6764 else
    6765   lt_cv_cc_needs_belf=no
    6766 fi
    6767 rm -f core conftest.err conftest.$ac_objext \
    6768     conftest$ac_exeext conftest.$ac_ext
    6769      ac_ext=c
    6770 ac_cpp='$CPP $CPPFLAGS'
    6771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    6772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    6773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    6774 
    6775 fi
    6776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
    6777 $as_echo "$lt_cv_cc_needs_belf" >&6; }
    6778   if test yes != "$lt_cv_cc_needs_belf"; then
    6779     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
    6780     CFLAGS=$SAVE_CFLAGS
    6781   fi
    6782   ;;
    6783 *-*solaris*)
    6784   # Find out what ABI is being produced by ac_compile, and set linker
    6785   # options accordingly.
    6786   echo 'int i;' > conftest.$ac_ext
    6787   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
    6788   (eval $ac_compile) 2>&5
    6789   ac_status=$?
    6790   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    6791   test $ac_status = 0; }; then
    6792     case `/usr/bin/file conftest.o` in
    6793     *64-bit*)
    6794       case $lt_cv_prog_gnu_ld in
    6795       yes*)
    6796         case $host in
    6797         i?86-*-solaris*|x86_64-*-solaris*)
    6798           LD="${LD-ld} -m elf_x86_64"
    6799           ;;
    6800         sparc*-*-solaris*)
    6801           LD="${LD-ld} -m elf64_sparc"
    6802           ;;
    6803         esac
    6804         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
    6805         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
    6806           LD=${LD-ld}_sol2
    6807         fi
    6808         ;;
    6809       *)
    6810         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
    6811           LD="${LD-ld} -64"
    6812         fi
    6813         ;;
    6814       esac
    6815       ;;
    6816     esac
    6817   fi
    6818   rm -rf conftest*
    6819   ;;
    6820 esac
    6821 
    6822 need_locks=$enable_libtool_lock
    6823 
    6824 if test -n "$ac_tool_prefix"; then
    6825   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
    6826 set dummy ${ac_tool_prefix}mt; ac_word=$2
    6827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    6828 $as_echo_n "checking for $ac_word... " >&6; }
    6829 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
    6830   $as_echo_n "(cached) " >&6
    6831 else
    6832   if test -n "$MANIFEST_TOOL"; then
    6833   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
    6834 else
    6835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    6836 for as_dir in $PATH
    6837 do
    6838   IFS=$as_save_IFS
    6839   test -z "$as_dir" && as_dir=.
    6840     for ac_exec_ext in '' $ac_executable_extensions; do
    6841   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    6842     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
    6843     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    6844     break 2
    6845   fi
    6846 done
    6847   done
    6848 IFS=$as_save_IFS
    6849 
    6850 fi
    6851 fi
    6852 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
    6853 if test -n "$MANIFEST_TOOL"; then
    6854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
    6855 $as_echo "$MANIFEST_TOOL" >&6; }
    6856 else
    6857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    6858 $as_echo "no" >&6; }
    6859 fi
    6860 
    6861 
    6862 fi
    6863 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
    6864   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
    6865   # Extract the first word of "mt", so it can be a program name with args.
    6866 set dummy mt; ac_word=$2
    6867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    6868 $as_echo_n "checking for $ac_word... " >&6; }
    6869 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
    6870   $as_echo_n "(cached) " >&6
    6871 else
    6872   if test -n "$ac_ct_MANIFEST_TOOL"; then
    6873   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
    6874 else
    6875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    6876 for as_dir in $PATH
    6877 do
    6878   IFS=$as_save_IFS
    6879   test -z "$as_dir" && as_dir=.
    6880     for ac_exec_ext in '' $ac_executable_extensions; do
    6881   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    6882     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
    6883     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    6884     break 2
    6885   fi
    6886 done
    6887   done
    6888 IFS=$as_save_IFS
    6889 
    6890 fi
    6891 fi
    6892 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
    6893 if test -n "$ac_ct_MANIFEST_TOOL"; then
    6894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
    6895 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
    6896 else
    6897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    6898 $as_echo "no" >&6; }
    6899 fi
    6900 
    6901   if test "x$ac_ct_MANIFEST_TOOL" = x; then
    6902     MANIFEST_TOOL=":"
    6903   else
    6904     case $cross_compiling:$ac_tool_warned in
    6905 yes:)
    6906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    6907 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    6908 ac_tool_warned=yes ;;
    6909 esac
    6910     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
    6911   fi
    6912 else
    6913   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
    6914 fi
    6915 
    6916 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
    6917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
    6918 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
    6919 if ${lt_cv_path_mainfest_tool+:} false; then :
    6920   $as_echo_n "(cached) " >&6
    6921 else
    6922   lt_cv_path_mainfest_tool=no
    6923   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
    6924   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
    6925   cat conftest.err >&5
    6926   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
    6927     lt_cv_path_mainfest_tool=yes
    6928   fi
    6929   rm -f conftest*
    6930 fi
    6931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
    6932 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
    6933 if test yes != "$lt_cv_path_mainfest_tool"; then
    6934   MANIFEST_TOOL=:
    6935 fi
    6936 
    6937 
    6938 
    6939 
    6940 
    6941 
    6942   case $host_os in
    6943     rhapsody* | darwin*)
    6944     if test -n "$ac_tool_prefix"; then
    6945   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
    6946 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
    6947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    6948 $as_echo_n "checking for $ac_word... " >&6; }
    6949 if ${ac_cv_prog_DSYMUTIL+:} false; then :
    6950   $as_echo_n "(cached) " >&6
    6951 else
    6952   if test -n "$DSYMUTIL"; then
    6953   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
    6954 else
    6955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    6956 for as_dir in $PATH
    6957 do
    6958   IFS=$as_save_IFS
    6959   test -z "$as_dir" && as_dir=.
    6960     for ac_exec_ext in '' $ac_executable_extensions; do
    6961   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    6962     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
    6963     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    6964     break 2
    6965   fi
    6966 done
    6967   done
    6968 IFS=$as_save_IFS
    6969 
    6970 fi
    6971 fi
    6972 DSYMUTIL=$ac_cv_prog_DSYMUTIL
    6973 if test -n "$DSYMUTIL"; then
    6974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
    6975 $as_echo "$DSYMUTIL" >&6; }
    6976 else
    6977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    6978 $as_echo "no" >&6; }
    6979 fi
    6980 
    6981 
    6982 fi
    6983 if test -z "$ac_cv_prog_DSYMUTIL"; then
    6984   ac_ct_DSYMUTIL=$DSYMUTIL
    6985   # Extract the first word of "dsymutil", so it can be a program name with args.
    6986 set dummy dsymutil; ac_word=$2
    6987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    6988 $as_echo_n "checking for $ac_word... " >&6; }
    6989 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
    6990   $as_echo_n "(cached) " >&6
    6991 else
    6992   if test -n "$ac_ct_DSYMUTIL"; then
    6993   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
    6994 else
    6995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    6996 for as_dir in $PATH
    6997 do
    6998   IFS=$as_save_IFS
    6999   test -z "$as_dir" && as_dir=.
    7000     for ac_exec_ext in '' $ac_executable_extensions; do
    7001   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    7002     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
    7003     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    7004     break 2
    7005   fi
    7006 done
    7007   done
    7008 IFS=$as_save_IFS
    7009 
    7010 fi
    7011 fi
    7012 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
    7013 if test -n "$ac_ct_DSYMUTIL"; then
    7014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
    7015 $as_echo "$ac_ct_DSYMUTIL" >&6; }
    7016 else
    7017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    7018 $as_echo "no" >&6; }
    7019 fi
    7020 
    7021   if test "x$ac_ct_DSYMUTIL" = x; then
    7022     DSYMUTIL=":"
    7023   else
    7024     case $cross_compiling:$ac_tool_warned in
    7025 yes:)
    7026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    7027 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    7028 ac_tool_warned=yes ;;
    7029 esac
    7030     DSYMUTIL=$ac_ct_DSYMUTIL
    7031   fi
    7032 else
    7033   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
    7034 fi
    7035 
    7036     if test -n "$ac_tool_prefix"; then
    7037   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
    7038 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
    7039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    7040 $as_echo_n "checking for $ac_word... " >&6; }
    7041 if ${ac_cv_prog_NMEDIT+:} false; then :
    7042   $as_echo_n "(cached) " >&6
    7043 else
    7044   if test -n "$NMEDIT"; then
    7045   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
    7046 else
    7047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7048 for as_dir in $PATH
    7049 do
    7050   IFS=$as_save_IFS
    7051   test -z "$as_dir" && as_dir=.
    7052     for ac_exec_ext in '' $ac_executable_extensions; do
    7053   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    7054     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
    7055     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    7056     break 2
    7057   fi
    7058 done
    7059   done
    7060 IFS=$as_save_IFS
    7061 
    7062 fi
    7063 fi
    7064 NMEDIT=$ac_cv_prog_NMEDIT
    7065 if test -n "$NMEDIT"; then
    7066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
    7067 $as_echo "$NMEDIT" >&6; }
    7068 else
    7069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    7070 $as_echo "no" >&6; }
    7071 fi
    7072 
    7073 
    7074 fi
    7075 if test -z "$ac_cv_prog_NMEDIT"; then
    7076   ac_ct_NMEDIT=$NMEDIT
    7077   # Extract the first word of "nmedit", so it can be a program name with args.
    7078 set dummy nmedit; ac_word=$2
    7079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    7080 $as_echo_n "checking for $ac_word... " >&6; }
    7081 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
    7082   $as_echo_n "(cached) " >&6
    7083 else
    7084   if test -n "$ac_ct_NMEDIT"; then
    7085   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
    7086 else
    7087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7088 for as_dir in $PATH
    7089 do
    7090   IFS=$as_save_IFS
    7091   test -z "$as_dir" && as_dir=.
    7092     for ac_exec_ext in '' $ac_executable_extensions; do
    7093   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    7094     ac_cv_prog_ac_ct_NMEDIT="nmedit"
    7095     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    7096     break 2
    7097   fi
    7098 done
    7099   done
    7100 IFS=$as_save_IFS
    7101 
    7102 fi
    7103 fi
    7104 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
    7105 if test -n "$ac_ct_NMEDIT"; then
    7106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
    7107 $as_echo "$ac_ct_NMEDIT" >&6; }
    7108 else
    7109   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    7110 $as_echo "no" >&6; }
    7111 fi
    7112 
    7113   if test "x$ac_ct_NMEDIT" = x; then
    7114     NMEDIT=":"
    7115   else
    7116     case $cross_compiling:$ac_tool_warned in
    7117 yes:)
    7118 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    7119 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    7120 ac_tool_warned=yes ;;
    7121 esac
    7122     NMEDIT=$ac_ct_NMEDIT
    7123   fi
    7124 else
    7125   NMEDIT="$ac_cv_prog_NMEDIT"
    7126 fi
    7127 
    7128     if test -n "$ac_tool_prefix"; then
    7129   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
    7130 set dummy ${ac_tool_prefix}lipo; ac_word=$2
    7131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    7132 $as_echo_n "checking for $ac_word... " >&6; }
    7133 if ${ac_cv_prog_LIPO+:} false; then :
    7134   $as_echo_n "(cached) " >&6
    7135 else
    7136   if test -n "$LIPO"; then
    7137   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
    7138 else
    7139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7140 for as_dir in $PATH
    7141 do
    7142   IFS=$as_save_IFS
    7143   test -z "$as_dir" && as_dir=.
    7144     for ac_exec_ext in '' $ac_executable_extensions; do
    7145   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    7146     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
    7147     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    7148     break 2
    7149   fi
    7150 done
    7151   done
    7152 IFS=$as_save_IFS
    7153 
    7154 fi
    7155 fi
    7156 LIPO=$ac_cv_prog_LIPO
    7157 if test -n "$LIPO"; then
    7158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
    7159 $as_echo "$LIPO" >&6; }
    7160 else
    7161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    7162 $as_echo "no" >&6; }
    7163 fi
    7164 
    7165 
    7166 fi
    7167 if test -z "$ac_cv_prog_LIPO"; then
    7168   ac_ct_LIPO=$LIPO
    7169   # Extract the first word of "lipo", so it can be a program name with args.
    7170 set dummy lipo; ac_word=$2
    7171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    7172 $as_echo_n "checking for $ac_word... " >&6; }
    7173 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
    7174   $as_echo_n "(cached) " >&6
    7175 else
    7176   if test -n "$ac_ct_LIPO"; then
    7177   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
    7178 else
    7179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7180 for as_dir in $PATH
    7181 do
    7182   IFS=$as_save_IFS
    7183   test -z "$as_dir" && as_dir=.
    7184     for ac_exec_ext in '' $ac_executable_extensions; do
    7185   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    7186     ac_cv_prog_ac_ct_LIPO="lipo"
    7187     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    7188     break 2
    7189   fi
    7190 done
    7191   done
    7192 IFS=$as_save_IFS
    7193 
    7194 fi
    7195 fi
    7196 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
    7197 if test -n "$ac_ct_LIPO"; then
    7198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
    7199 $as_echo "$ac_ct_LIPO" >&6; }
    7200 else
    7201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    7202 $as_echo "no" >&6; }
    7203 fi
    7204 
    7205   if test "x$ac_ct_LIPO" = x; then
    7206     LIPO=":"
    7207   else
    7208     case $cross_compiling:$ac_tool_warned in
    7209 yes:)
    7210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    7211 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    7212 ac_tool_warned=yes ;;
    7213 esac
    7214     LIPO=$ac_ct_LIPO
    7215   fi
    7216 else
    7217   LIPO="$ac_cv_prog_LIPO"
    7218 fi
    7219 
    7220     if test -n "$ac_tool_prefix"; then
    7221   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
    7222 set dummy ${ac_tool_prefix}otool; ac_word=$2
    7223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    7224 $as_echo_n "checking for $ac_word... " >&6; }
    7225 if ${ac_cv_prog_OTOOL+:} false; then :
    7226   $as_echo_n "(cached) " >&6
    7227 else
    7228   if test -n "$OTOOL"; then
    7229   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
    7230 else
    7231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7232 for as_dir in $PATH
    7233 do
    7234   IFS=$as_save_IFS
    7235   test -z "$as_dir" && as_dir=.
    7236     for ac_exec_ext in '' $ac_executable_extensions; do
    7237   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    7238     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
    7239     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    7240     break 2
    7241   fi
    7242 done
    7243   done
    7244 IFS=$as_save_IFS
    7245 
    7246 fi
    7247 fi
    7248 OTOOL=$ac_cv_prog_OTOOL
    7249 if test -n "$OTOOL"; then
    7250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
    7251 $as_echo "$OTOOL" >&6; }
    7252 else
    7253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    7254 $as_echo "no" >&6; }
    7255 fi
    7256 
    7257 
    7258 fi
    7259 if test -z "$ac_cv_prog_OTOOL"; then
    7260   ac_ct_OTOOL=$OTOOL
    7261   # Extract the first word of "otool", so it can be a program name with args.
    7262 set dummy otool; ac_word=$2
    7263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    7264 $as_echo_n "checking for $ac_word... " >&6; }
    7265 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
    7266   $as_echo_n "(cached) " >&6
    7267 else
    7268   if test -n "$ac_ct_OTOOL"; then
    7269   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
    7270 else
    7271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7272 for as_dir in $PATH
    7273 do
    7274   IFS=$as_save_IFS
    7275   test -z "$as_dir" && as_dir=.
    7276     for ac_exec_ext in '' $ac_executable_extensions; do
    7277   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    7278     ac_cv_prog_ac_ct_OTOOL="otool"
    7279     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    7280     break 2
    7281   fi
    7282 done
    7283   done
    7284 IFS=$as_save_IFS
    7285 
    7286 fi
    7287 fi
    7288 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
    7289 if test -n "$ac_ct_OTOOL"; then
    7290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
    7291 $as_echo "$ac_ct_OTOOL" >&6; }
    7292 else
    7293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    7294 $as_echo "no" >&6; }
    7295 fi
    7296 
    7297   if test "x$ac_ct_OTOOL" = x; then
    7298     OTOOL=":"
    7299   else
    7300     case $cross_compiling:$ac_tool_warned in
    7301 yes:)
    7302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    7303 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    7304 ac_tool_warned=yes ;;
    7305 esac
    7306     OTOOL=$ac_ct_OTOOL
    7307   fi
    7308 else
    7309   OTOOL="$ac_cv_prog_OTOOL"
    7310 fi
    7311 
    7312     if test -n "$ac_tool_prefix"; then
    7313   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
    7314 set dummy ${ac_tool_prefix}otool64; ac_word=$2
    7315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    7316 $as_echo_n "checking for $ac_word... " >&6; }
    7317 if ${ac_cv_prog_OTOOL64+:} false; then :
    7318   $as_echo_n "(cached) " >&6
    7319 else
    7320   if test -n "$OTOOL64"; then
    7321   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
    7322 else
    7323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7324 for as_dir in $PATH
    7325 do
    7326   IFS=$as_save_IFS
    7327   test -z "$as_dir" && as_dir=.
    7328     for ac_exec_ext in '' $ac_executable_extensions; do
    7329   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    7330     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
    7331     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    7332     break 2
    7333   fi
    7334 done
    7335   done
    7336 IFS=$as_save_IFS
    7337 
    7338 fi
    7339 fi
    7340 OTOOL64=$ac_cv_prog_OTOOL64
    7341 if test -n "$OTOOL64"; then
    7342   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
    7343 $as_echo "$OTOOL64" >&6; }
    7344 else
    7345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    7346 $as_echo "no" >&6; }
    7347 fi
    7348 
    7349 
    7350 fi
    7351 if test -z "$ac_cv_prog_OTOOL64"; then
    7352   ac_ct_OTOOL64=$OTOOL64
    7353   # Extract the first word of "otool64", so it can be a program name with args.
    7354 set dummy otool64; ac_word=$2
    7355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    7356 $as_echo_n "checking for $ac_word... " >&6; }
    7357 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
    7358   $as_echo_n "(cached) " >&6
    7359 else
    7360   if test -n "$ac_ct_OTOOL64"; then
    7361   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
    7362 else
    7363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7364 for as_dir in $PATH
    7365 do
    7366   IFS=$as_save_IFS
    7367   test -z "$as_dir" && as_dir=.
    7368     for ac_exec_ext in '' $ac_executable_extensions; do
    7369   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    7370     ac_cv_prog_ac_ct_OTOOL64="otool64"
    7371     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    7372     break 2
    7373   fi
    7374 done
    7375   done
    7376 IFS=$as_save_IFS
    7377 
    7378 fi
    7379 fi
    7380 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
    7381 if test -n "$ac_ct_OTOOL64"; then
    7382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
    7383 $as_echo "$ac_ct_OTOOL64" >&6; }
    7384 else
    7385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    7386 $as_echo "no" >&6; }
    7387 fi
    7388 
    7389   if test "x$ac_ct_OTOOL64" = x; then
    7390     OTOOL64=":"
    7391   else
    7392     case $cross_compiling:$ac_tool_warned in
    7393 yes:)
    7394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    7395 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    7396 ac_tool_warned=yes ;;
    7397 esac
    7398     OTOOL64=$ac_ct_OTOOL64
    7399   fi
    7400 else
    7401   OTOOL64="$ac_cv_prog_OTOOL64"
    7402 fi
    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 
    7428 
    7429 
    7430     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
    7431 $as_echo_n "checking for -single_module linker flag... " >&6; }
    7432 if ${lt_cv_apple_cc_single_mod+:} false; then :
    7433   $as_echo_n "(cached) " >&6
    7434 else
    7435   lt_cv_apple_cc_single_mod=no
    7436       if test -z "$LT_MULTI_MODULE"; then
    7437         # By default we will add the -single_module flag. You can override
    7438         # by either setting the environment variable LT_MULTI_MODULE
    7439         # non-empty at configure time, or by adding -multi_module to the
    7440         # link flags.
    7441         rm -rf libconftest.dylib*
    7442         echo "int foo(void){return 1;}" > conftest.c
    7443         echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
    7444 -dynamiclib -Wl,-single_module conftest.c" >&5
    7445         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
    7446           -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
    7447         _lt_result=$?
    7448         # If there is a non-empty error log, and "single_module"
    7449         # appears in it, assume the flag caused a linker warning
    7450         if test -s conftest.err && $GREP single_module conftest.err; then
    7451           cat conftest.err >&5
    7452         # Otherwise, if the output was created with a 0 exit code from
    7453         # the compiler, it worked.
    7454         elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
    7455           lt_cv_apple_cc_single_mod=yes
    7456         else
    7457           cat conftest.err >&5
    7458         fi
    7459         rm -rf libconftest.dylib*
    7460         rm -f conftest.*
    7461       fi
    7462 fi
    7463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
    7464 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
    7465 
    7466     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
    7467 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
    7468 if ${lt_cv_ld_exported_symbols_list+:} false; then :
    7469   $as_echo_n "(cached) " >&6
    7470 else
    7471   lt_cv_ld_exported_symbols_list=no
    7472       save_LDFLAGS=$LDFLAGS
    7473       echo "_main" > conftest.sym
    7474       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
    7475       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    7476 /* end confdefs.h.  */
    7477 
    7478 int
    7479 main ()
    7480 {
    7481 
    7482   ;
    7483   return 0;
    7484 }
    7485 _ACEOF
    7486 if ac_fn_c_try_link "$LINENO"; then :
    7487   lt_cv_ld_exported_symbols_list=yes
    7488 else
    7489   lt_cv_ld_exported_symbols_list=no
    7490 fi
    7491 rm -f core conftest.err conftest.$ac_objext \
    7492     conftest$ac_exeext conftest.$ac_ext
    7493         LDFLAGS=$save_LDFLAGS
    7494 
    7495 fi
    7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
    7497 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
    7498 
    7499     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
    7500 $as_echo_n "checking for -force_load linker flag... " >&6; }
    7501 if ${lt_cv_ld_force_load+:} false; then :
    7502   $as_echo_n "(cached) " >&6
    7503 else
    7504   lt_cv_ld_force_load=no
    7505       cat > conftest.c << _LT_EOF
    7506 int forced_loaded() { return 2;}
    7507 _LT_EOF
    7508       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
    7509       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
    7510       echo "$AR cru libconftest.a conftest.o" >&5
    7511       $AR cru libconftest.a conftest.o 2>&5
    7512       echo "$RANLIB libconftest.a" >&5
    7513       $RANLIB libconftest.a 2>&5
    7514       cat > conftest.c << _LT_EOF
    7515 int main() { return 0;}
    7516 _LT_EOF
    7517       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
    7518       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
    7519       _lt_result=$?
    7520       if test -s conftest.err && $GREP force_load conftest.err; then
    7521         cat conftest.err >&5
    7522       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
    7523         lt_cv_ld_force_load=yes
    7524       else
    7525         cat conftest.err >&5
    7526       fi
    7527         rm -f conftest.err libconftest.a conftest conftest.c
    7528         rm -rf conftest.dSYM
    7529 
    7530 fi
    7531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
    7532 $as_echo "$lt_cv_ld_force_load" >&6; }
    7533     case $host_os in
    7534     rhapsody* | darwin1.[012])
    7535       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
    7536     darwin1.*)
    7537       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
    7538     darwin*) # darwin 5.x on
    7539       # if running on 10.5 or later, the deployment target defaults
    7540       # to the OS version, if on x86, and 10.4, the deployment
    7541       # target defaults to 10.4. Don't you love it?
    7542       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
    7543         10.0,*86*-darwin8*|10.0,*-darwin[91]*)
    7544           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
    7545         10.[012][,.]*)
    7546           _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
    7547         10.*)
    7548           _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
    7549       esac
    7550     ;;
    7551   esac
    7552     if test yes = "$lt_cv_apple_cc_single_mod"; then
    7553       _lt_dar_single_mod='$single_module'
    7554     fi
    7555     if test yes = "$lt_cv_ld_exported_symbols_list"; then
    7556       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
    7557     else
    7558       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
    7559     fi
    7560     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
    7561       _lt_dsymutil='~$DSYMUTIL $lib || :'
    7562     else
    7563       _lt_dsymutil=
    7564     fi
    7565     ;;
    7566   esac
    7567 
    7568 # func_munge_path_list VARIABLE PATH
    7569 # -----------------------------------
    7570 # VARIABLE is name of variable containing _space_ separated list of
    7571 # directories to be munged by the contents of PATH, which is string
    7572 # having a format:
    7573 # "DIR[:DIR]:"
    7574 #       string "DIR[ DIR]" will be prepended to VARIABLE
    7575 # ":DIR[:DIR]"
    7576 #       string "DIR[ DIR]" will be appended to VARIABLE
    7577 # "DIRP[:DIRP]::[DIRA:]DIRA"
    7578 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
    7579 #       "DIRA[ DIRA]" will be appended to VARIABLE
    7580 # "DIR[:DIR]"
    7581 #       VARIABLE will be replaced by "DIR[ DIR]"
    7582 func_munge_path_list ()
    7583 {
    7584     case x$2 in
    7585     x)
    7586         ;;
    7587     *:)
    7588         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
    7589         ;;
    7590     x:*)
    7591         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
    7592         ;;
    7593     *::*)
    7594         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
    7595         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
    7596         ;;
    7597     *)
    7598         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
    7599         ;;
    7600     esac
    7601 }
    7602 
    7603 ac_ext=c
    7604 ac_cpp='$CPP $CPPFLAGS'
    7605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    7606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    7607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    7608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
    7609 $as_echo_n "checking how to run the C preprocessor... " >&6; }
    7610 # On Suns, sometimes $CPP names a directory.
    7611 if test -n "$CPP" && test -d "$CPP"; then
    7612   CPP=
    7613 fi
    7614 if test -z "$CPP"; then
    7615   if ${ac_cv_prog_CPP+:} false; then :
    7616   $as_echo_n "(cached) " >&6
    7617 else
    7618       # Double quotes because CPP needs to be expanded
    7619     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
    7620     do
    7621       ac_preproc_ok=false
    7622 for ac_c_preproc_warn_flag in '' yes
    7623 do
    7624   # Use a header file that comes with gcc, so configuring glibc
    7625   # with a fresh cross-compiler works.
    7626   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    7627   # <limits.h> exists even on freestanding compilers.
    7628   # On the NeXT, cc -E runs the code through the compiler's parser,
    7629   # not just through cpp. "Syntax error" is here to catch this case.
    7630   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    7631 /* end confdefs.h.  */
    7632 #ifdef __STDC__
    7633 # include <limits.h>
    7634 #else
    7635 # include <assert.h>
    7636 #endif
    7637                      Syntax error
    7638 _ACEOF
    7639 if ac_fn_c_try_cpp "$LINENO"; then :
    7640 
    7641 else
    7642   # Broken: fails on valid input.
    7643 continue
    7644 fi
    7645 rm -f conftest.err conftest.i conftest.$ac_ext
    7646 
    7647   # OK, works on sane cases.  Now check whether nonexistent headers
    7648   # can be detected and how.
    7649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    7650 /* end confdefs.h.  */
    7651 #include <ac_nonexistent.h>
    7652 _ACEOF
    7653 if ac_fn_c_try_cpp "$LINENO"; then :
    7654   # Broken: success on invalid input.
    7655 continue
    7656 else
    7657   # Passes both tests.
    7658 ac_preproc_ok=:
    7659 break
    7660 fi
    7661 rm -f conftest.err conftest.i conftest.$ac_ext
    7662 
    7663 done
    7664 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    7665 rm -f conftest.i conftest.err conftest.$ac_ext
    7666 if $ac_preproc_ok; then :
    7667   break
    7668 fi
    7669 
    7670     done
    7671     ac_cv_prog_CPP=$CPP
    7672 
    7673 fi
    7674   CPP=$ac_cv_prog_CPP
    7675 else
    7676   ac_cv_prog_CPP=$CPP
    7677 fi
    7678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
    7679 $as_echo "$CPP" >&6; }
    7680 ac_preproc_ok=false
    7681 for ac_c_preproc_warn_flag in '' yes
    7682 do
    7683   # Use a header file that comes with gcc, so configuring glibc
    7684   # with a fresh cross-compiler works.
    7685   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    7686   # <limits.h> exists even on freestanding compilers.
    7687   # On the NeXT, cc -E runs the code through the compiler's parser,
    7688   # not just through cpp. "Syntax error" is here to catch this case.
    7689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    7690 /* end confdefs.h.  */
    7691 #ifdef __STDC__
    7692 # include <limits.h>
    7693 #else
    7694 # include <assert.h>
    7695 #endif
    7696                      Syntax error
    7697 _ACEOF
    7698 if ac_fn_c_try_cpp "$LINENO"; then :
    7699 
    7700 else
    7701   # Broken: fails on valid input.
    7702 continue
    7703 fi
    7704 rm -f conftest.err conftest.i conftest.$ac_ext
    7705 
    7706   # OK, works on sane cases.  Now check whether nonexistent headers
    7707   # can be detected and how.
    7708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    7709 /* end confdefs.h.  */
    7710 #include <ac_nonexistent.h>
    7711 _ACEOF
    7712 if ac_fn_c_try_cpp "$LINENO"; then :
    7713   # Broken: success on invalid input.
    7714 continue
    7715 else
    7716   # Passes both tests.
    7717 ac_preproc_ok=:
    7718 break
    7719 fi
    7720 rm -f conftest.err conftest.i conftest.$ac_ext
    7721 
    7722 done
    7723 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    7724 rm -f conftest.i conftest.err conftest.$ac_ext
    7725 if $ac_preproc_ok; then :
    7726 
    7727 else
    7728   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    7729 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    7730 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
    7731 See \`config.log' for more details" "$LINENO" 5; }
    7732 fi
    7733 
    7734 ac_ext=c
    7735 ac_cpp='$CPP $CPPFLAGS'
    7736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    7737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    7738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    7739 
    7740 
    7741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
    7742 $as_echo_n "checking for ANSI C header files... " >&6; }
    7743 if ${ac_cv_header_stdc+:} false; then :
    7744   $as_echo_n "(cached) " >&6
    7745 else
    7746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    7747 /* end confdefs.h.  */
    7748 #include <stdlib.h>
    7749 #include <stdarg.h>
    7750 #include <string.h>
    7751 #include <float.h>
    7752 
    7753 int
    7754 main ()
    7755 {
    7756 
    7757   ;
    7758   return 0;
    7759 }
    7760 _ACEOF
    7761 if ac_fn_c_try_compile "$LINENO"; then :
    7762   ac_cv_header_stdc=yes
    7763 else
    7764   ac_cv_header_stdc=no
    7765 fi
    7766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    7767 
    7768 if test $ac_cv_header_stdc = yes; then
    7769   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    7770   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    7771 /* end confdefs.h.  */
    7772 #include <string.h>
    7773 
    7774 _ACEOF
    7775 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    7776   $EGREP "memchr" >/dev/null 2>&1; then :
    7777 
    7778 else
    7779   ac_cv_header_stdc=no
    7780 fi
    7781 rm -f conftest*
    7782 
    7783 fi
    7784 
    7785 if test $ac_cv_header_stdc = yes; then
    7786   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    7787   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    7788 /* end confdefs.h.  */
    7789 #include <stdlib.h>
    7790 
    7791 _ACEOF
    7792 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    7793   $EGREP "free" >/dev/null 2>&1; then :
    7794 
    7795 else
    7796   ac_cv_header_stdc=no
    7797 fi
    7798 rm -f conftest*
    7799 
    7800 fi
    7801 
    7802 if test $ac_cv_header_stdc = yes; then
    7803   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    7804   if test "$cross_compiling" = yes; then :
    7805   :
    7806 else
    7807   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    7808 /* end confdefs.h.  */
    7809 #include <ctype.h>
    7810 #include <stdlib.h>
    7811 #if ((' ' & 0x0FF) == 0x020)
    7812 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
    7813 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
    7814 #else
    7815 # define ISLOWER(c) \
    7816                    (('a' <= (c) && (c) <= 'i') \
    7817                      || ('j' <= (c) && (c) <= 'r') \
    7818                      || ('s' <= (c) && (c) <= 'z'))
    7819 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
    7820 #endif
    7821 
    7822 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
    7823 int
    7824 main ()
    7825 {
    7826   int i;
    7827   for (i = 0; i < 256; i++)
    7828     if (XOR (islower (i), ISLOWER (i))
    7829         || toupper (i) != TOUPPER (i))
    7830       return 2;
    7831   return 0;
    7832 }
    7833 _ACEOF
    7834 if ac_fn_c_try_run "$LINENO"; then :
    7835 
    7836 else
    7837   ac_cv_header_stdc=no
    7838 fi
    7839 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
    7840   conftest.$ac_objext conftest.beam conftest.$ac_ext
    7841 fi
    7842 
    7843 fi
    7844 fi
    7845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
    7846 $as_echo "$ac_cv_header_stdc" >&6; }
    7847 if test $ac_cv_header_stdc = yes; then
    7848 
    7849 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
    7850 
    7851 fi
    7852 
    7853 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
    7854 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    7855                   inttypes.h stdint.h unistd.h
    7856 do :
    7857   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    7858 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
    7859 "
    7860 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
    7861   cat >>confdefs.h <<_ACEOF
    7862 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    7863 _ACEOF
    7864 
    7865 fi
    7866 
    7867 done
    7868 
    7869 
    7870 for ac_header in dlfcn.h
    7871 do :
    7872   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
    7873 "
    7874 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
    7875   cat >>confdefs.h <<_ACEOF
    7876 #define HAVE_DLFCN_H 1
    7877 _ACEOF
    7878 
    7879 fi
    7880 
    7881 done
    7882 
    7883 
    7884 
    7885 
    7886 
    7887 # Set options
    7888 
    7889 
    7890 
    7891         enable_dlopen=no
    7892 
    7893 
    7894   enable_win32_dll=no
    7895 
    7896 
    7897             # Check whether --enable-shared was given.
    7898 if test "${enable_shared+set}" = set; then :
    7899   enableval=$enable_shared; p=${PACKAGE-default}
    7900     case $enableval in
    7901     yes) enable_shared=yes ;;
    7902     no) enable_shared=no ;;
    7903     *)
    7904       enable_shared=no
    7905       # Look at the argument we got.  We use all the common list separators.
    7906       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
    7907       for pkg in $enableval; do
    7908         IFS=$lt_save_ifs
    7909         if test "X$pkg" = "X$p"; then
    7910           enable_shared=yes
    7911         fi
    7912       done
    7913       IFS=$lt_save_ifs
    7914       ;;
    7915     esac
    7916 else
    7917   enable_shared=yes
    7918 fi
    7919 
    7920 
    7921 
    7922 
    7923 
    7924 
    7925 
    7926 
    7927 
    7928   # Check whether --enable-static was given.
    7929 if test "${enable_static+set}" = set; then :
    7930   enableval=$enable_static; p=${PACKAGE-default}
    7931     case $enableval in
    7932     yes) enable_static=yes ;;
    7933     no) enable_static=no ;;
    7934     *)
    7935      enable_static=no
    7936       # Look at the argument we got.  We use all the common list separators.
    7937       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
    7938       for pkg in $enableval; do
    7939         IFS=$lt_save_ifs
    7940         if test "X$pkg" = "X$p"; then
    7941           enable_static=yes
    7942         fi
    7943       done
    7944       IFS=$lt_save_ifs
    7945       ;;
    7946     esac
    7947 else
    7948   enable_static=yes
    7949 fi
    7950 
    7951 
    7952 
    7953 
    7954 
    7955 
    7956 
    7957 
    7958 
    7959 
    7960 # Check whether --with-pic was given.
    7961 if test "${with_pic+set}" = set; then :
    7962   withval=$with_pic; lt_p=${PACKAGE-default}
    7963     case $withval in
    7964     yes|no) pic_mode=$withval ;;
    7965     *)
    7966       pic_mode=default
    7967       # Look at the argument we got.  We use all the common list separators.
    7968       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
    7969       for lt_pkg in $withval; do
    7970         IFS=$lt_save_ifs
    7971         if test "X$lt_pkg" = "X$lt_p"; then
    7972           pic_mode=yes
    7973         fi
    7974       done
    7975       IFS=$lt_save_ifs
    7976       ;;
    7977     esac
    7978 else
    7979   pic_mode=default
    7980 fi
    7981 
    7982 
    7983 
    7984 
    7985 
    7986 
    7987 
    7988 
    7989   # Check whether --enable-fast-install was given.
    7990 if test "${enable_fast_install+set}" = set; then :
    7991   enableval=$enable_fast_install; p=${PACKAGE-default}
    7992     case $enableval in
    7993     yes) enable_fast_install=yes ;;
    7994     no) enable_fast_install=no ;;
    7995     *)
    7996       enable_fast_install=no
    7997       # Look at the argument we got.  We use all the common list separators.
    7998       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
    7999       for pkg in $enableval; do
    8000         IFS=$lt_save_ifs
    8001         if test "X$pkg" = "X$p"; then
    8002           enable_fast_install=yes
    8003         fi
    8004       done
    8005       IFS=$lt_save_ifs
    8006       ;;
    8007     esac
    8008 else
    8009   enable_fast_install=yes
    8010 fi
    8011 
    8012 
    8013 
    8014 
    8015 
    8016 
    8017 
    8018 
    8019   shared_archive_member_spec=
    8020 case $host,$enable_shared in
    8021 power*-*-aix[5-9]*,yes)
    8022   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
    8023 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
    8024 
    8025 # Check whether --with-aix-soname was given.
    8026 if test "${with_aix_soname+set}" = set; then :
    8027   withval=$with_aix_soname; case $withval in
    8028     aix|svr4|both)
    8029       ;;
    8030     *)
    8031       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
    8032       ;;
    8033     esac
    8034     lt_cv_with_aix_soname=$with_aix_soname
    8035 else
    8036   if ${lt_cv_with_aix_soname+:} false; then :
    8037   $as_echo_n "(cached) " >&6
    8038 else
    8039   lt_cv_with_aix_soname=aix
    8040 fi
    8041 
    8042     with_aix_soname=$lt_cv_with_aix_soname
    8043 fi
    8044 
    8045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
    8046 $as_echo "$with_aix_soname" >&6; }
    8047   if test aix != "$with_aix_soname"; then
    8048     # For the AIX way of multilib, we name the shared archive member
    8049     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
    8050     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
    8051     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
    8052     # the AIX toolchain works better with OBJECT_MODE set (default 32).
    8053     if test 64 = "${OBJECT_MODE-32}"; then
    8054       shared_archive_member_spec=shr_64
    8055     else
    8056       shared_archive_member_spec=shr
    8057     fi
    8058   fi
    8059   ;;
    8060 *)
    8061   with_aix_soname=aix
    8062   ;;
    8063 esac
    8064 
    8065 
    8066 
    8067 
    8068 
    8069 
    8070 
    8071 
    8072 
    8073 
    8074 # This can be used to rebuild libtool when needed
    8075 LIBTOOL_DEPS=$ltmain
    8076 
    8077 # Always use our own libtool.
    8078 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
    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 
    8107 
    8108 
    8109 test -z "$LN_S" && LN_S="ln -s"
    8110 
    8111 
    8112 
    8113 
    8114 
    8115 
    8116 
    8117 
    8118 
    8119 
    8120 
    8121 
    8122 
    8123 
    8124 if test -n "${ZSH_VERSION+set}"; then
    8125    setopt NO_GLOB_SUBST
    8126 fi
    8127 
    8128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
    8129 $as_echo_n "checking for objdir... " >&6; }
    8130 if ${lt_cv_objdir+:} false; then :
    8131   $as_echo_n "(cached) " >&6
    8132 else
    8133   rm -f .libs 2>/dev/null
    8134 mkdir .libs 2>/dev/null
    8135 if test -d .libs; then
    8136   lt_cv_objdir=.libs
    8137 else
    8138   # MS-DOS does not allow filenames that begin with a dot.
    8139   lt_cv_objdir=_libs
    8140 fi
    8141 rmdir .libs 2>/dev/null
    8142 fi
    8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
    8144 $as_echo "$lt_cv_objdir" >&6; }
    8145 objdir=$lt_cv_objdir
    8146 
    8147 
    8148 
    8149 
    8150 
    8151 cat >>confdefs.h <<_ACEOF
    8152 #define LT_OBJDIR "$lt_cv_objdir/"
    8153 _ACEOF
    8154 
    8155 
    8156 
    8157 
    8158 case $host_os in
    8159 aix3*)
    8160   # AIX sometimes has problems with the GCC collect2 program.  For some
    8161   # reason, if we set the COLLECT_NAMES environment variable, the problems
    8162   # vanish in a puff of smoke.
    8163   if test set != "${COLLECT_NAMES+set}"; then
    8164     COLLECT_NAMES=
    8165     export COLLECT_NAMES
    8166   fi
    8167   ;;
    8168 esac
    8169 
    8170 # Global variables:
    8171 ofile=libtool
    8172 can_build_shared=yes
    8173 
    8174 # All known linkers require a '.a' archive for static linking (except MSVC,
    8175 # which needs '.lib').
    8176 libext=a
    8177 
    8178 with_gnu_ld=$lt_cv_prog_gnu_ld
    8179 
    8180 old_CC=$CC
    8181 old_CFLAGS=$CFLAGS
    8182 
    8183 # Set sane defaults for various variables
    8184 test -z "$CC" && CC=cc
    8185 test -z "$LTCC" && LTCC=$CC
    8186 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
    8187 test -z "$LD" && LD=ld
    8188 test -z "$ac_objext" && ac_objext=o
    8189 
    8190 func_cc_basename $compiler
    8191 cc_basename=$func_cc_basename_result
    8192 
    8193 
    8194 # Only perform the check for file, if the check method requires it
    8195 test -z "$MAGIC_CMD" && MAGIC_CMD=file
    8196 case $deplibs_check_method in
    8197 file_magic*)
    8198   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
    8199     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
    8200 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
    8201 if ${lt_cv_path_MAGIC_CMD+:} false; then :
    8202   $as_echo_n "(cached) " >&6
    8203 else
    8204   case $MAGIC_CMD in
    8205 [\\/*] |  ?:[\\/]*)
    8206   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
    8207   ;;
    8208 *)
    8209   lt_save_MAGIC_CMD=$MAGIC_CMD
    8210   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
    8211   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
    8212   for ac_dir in $ac_dummy; do
    8213     IFS=$lt_save_ifs
    8214     test -z "$ac_dir" && ac_dir=.
    8215     if test -f "$ac_dir/${ac_tool_prefix}file"; then
    8216       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
    8217       if test -n "$file_magic_test_file"; then
    8218         case $deplibs_check_method in
    8219         "file_magic "*)
    8220           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
    8221           MAGIC_CMD=$lt_cv_path_MAGIC_CMD
    8222           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
    8223             $EGREP "$file_magic_regex" > /dev/null; then
    8224             :
    8225           else
    8226             cat <<_LT_EOF 1>&2
    8227 
    8228 *** Warning: the command libtool uses to detect shared libraries,
    8229 *** $file_magic_cmd, produces output that libtool cannot recognize.
    8230 *** The result is that libtool may fail to recognize shared libraries
    8231 *** as such.  This will affect the creation of libtool libraries that
    8232 *** depend on shared libraries, but programs linked with such libtool
    8233 *** libraries will work regardless of this problem.  Nevertheless, you
    8234 *** may want to report the problem to your system manager and/or to
    8235 *** bug-libtool@gnu.org
    8236 
    8237 _LT_EOF
    8238           fi ;;
    8239         esac
    8240       fi
    8241       break
    8242     fi
    8243   done
    8244   IFS=$lt_save_ifs
    8245   MAGIC_CMD=$lt_save_MAGIC_CMD
    8246   ;;
    8247 esac
    8248 fi
    8249 
    8250 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
    8251 if test -n "$MAGIC_CMD"; then
    8252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
    8253 $as_echo "$MAGIC_CMD" >&6; }
    8254 else
    8255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8256 $as_echo "no" >&6; }
    8257 fi
    8258 
    8259 
    8260 
    8261 
    8262 
    8263 if test -z "$lt_cv_path_MAGIC_CMD"; then
    8264   if test -n "$ac_tool_prefix"; then
    8265     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
    8266 $as_echo_n "checking for file... " >&6; }
    8267 if ${lt_cv_path_MAGIC_CMD+:} false; then :
    8268   $as_echo_n "(cached) " >&6
    8269 else
    8270   case $MAGIC_CMD in
    8271 [\\/*] |  ?:[\\/]*)
    8272   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
    8273   ;;
    8274 *)
    8275   lt_save_MAGIC_CMD=$MAGIC_CMD
    8276   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
    8277   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
    8278   for ac_dir in $ac_dummy; do
    8279     IFS=$lt_save_ifs
    8280     test -z "$ac_dir" && ac_dir=.
    8281     if test -f "$ac_dir/file"; then
    8282       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
    8283       if test -n "$file_magic_test_file"; then
    8284         case $deplibs_check_method in
    8285         "file_magic "*)
    8286           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
    8287           MAGIC_CMD=$lt_cv_path_MAGIC_CMD
    8288           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
    8289             $EGREP "$file_magic_regex" > /dev/null; then
    8290             :
    8291           else
    8292             cat <<_LT_EOF 1>&2
    8293 
    8294 *** Warning: the command libtool uses to detect shared libraries,
    8295 *** $file_magic_cmd, produces output that libtool cannot recognize.
    8296 *** The result is that libtool may fail to recognize shared libraries
    8297 *** as such.  This will affect the creation of libtool libraries that
    8298 *** depend on shared libraries, but programs linked with such libtool
    8299 *** libraries will work regardless of this problem.  Nevertheless, you
    8300 *** may want to report the problem to your system manager and/or to
    8301 *** bug-libtool@gnu.org
    8302 
    8303 _LT_EOF
    8304           fi ;;
    8305         esac
    8306       fi
    8307       break
    8308     fi
    8309   done
    8310   IFS=$lt_save_ifs
    8311   MAGIC_CMD=$lt_save_MAGIC_CMD
    8312   ;;
    8313 esac
    8314 fi
    8315 
    8316 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
    8317 if test -n "$MAGIC_CMD"; then
    8318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
    8319 $as_echo "$MAGIC_CMD" >&6; }
    8320 else
    8321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    8322 $as_echo "no" >&6; }
    8323 fi
    8324 
    8325 
    8326   else
    8327     MAGIC_CMD=:
    8328   fi
    8329 fi
    8330 
    8331   fi
    8332   ;;
    8333 esac
    8334 
    8335 # Use C for the default configuration in the libtool script
    8336 
    8337 lt_save_CC=$CC
    8338 ac_ext=c
    8339 ac_cpp='$CPP $CPPFLAGS'
    8340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    8341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    8342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    8343 
    8344 
    8345 # Source file extension for C test sources.
    8346 ac_ext=c
    8347 
    8348 # Object file extension for compiled C test sources.
    8349 objext=o
    8350 objext=$objext
    8351 
    8352 # Code to be used in simple compile tests
    8353 lt_simple_compile_test_code="int some_variable = 0;"
    8354 
    8355 # Code to be used in simple link tests
    8356 lt_simple_link_test_code='int main(){return(0);}'
    8357 
    8358 
    8359 
    8360 
    8361 
    8362 
    8363 
    8364 # If no C compiler was specified, use CC.
    8365 LTCC=${LTCC-"$CC"}
    8366 
    8367 # If no C compiler flags were specified, use CFLAGS.
    8368 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
    8369 
    8370 # Allow CC to be a program name with arguments.
    8371 compiler=$CC
    8372 
    8373 # Save the default compiler, since it gets overwritten when the other
    8374 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
    8375 compiler_DEFAULT=$CC
    8376 
    8377 # save warnings/boilerplate of simple test code
    8378 ac_outfile=conftest.$ac_objext
    8379 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
    8380 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
    8381 _lt_compiler_boilerplate=`cat conftest.err`
    8382 $RM conftest*
    8383 
    8384 ac_outfile=conftest.$ac_objext
    8385 echo "$lt_simple_link_test_code" >conftest.$ac_ext
    8386 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
    8387 _lt_linker_boilerplate=`cat conftest.err`
    8388 $RM -r conftest*
    8389 
    8390 
    8391 ## CAVEAT EMPTOR:
    8392 ## There is no encapsulation within the following macros, do not change
    8393 ## the running order or otherwise move them around unless you know exactly
    8394 ## what you are doing...
    8395 if test -n "$compiler"; then
    8396 
    8397 lt_prog_compiler_no_builtin_flag=
    8398 
    8399 if test yes = "$GCC"; then
    8400   case $cc_basename in
    8401   nvcc*)
    8402     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
    8403   *)
    8404     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
    8405   esac
    8406 
    8407   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
    8408 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
    8409 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
    8410   $as_echo_n "(cached) " >&6
    8411 else
    8412   lt_cv_prog_compiler_rtti_exceptions=no
    8413    ac_outfile=conftest.$ac_objext
    8414    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    8415    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
    8416    # Insert the option either (1) after the last *FLAGS variable, or
    8417    # (2) before a word containing "conftest.", or (3) at the end.
    8418    # Note that $ac_compile itself does not contain backslashes and begins
    8419    # with a dollar sign (not a hyphen), so the echo should work correctly.
    8420    # The option is referenced via a variable to avoid confusing sed.
    8421    lt_compile=`echo "$ac_compile" | $SED \
    8422    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    8423    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    8424    -e 's:$: $lt_compiler_flag:'`
    8425    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
    8426    (eval "$lt_compile" 2>conftest.err)
    8427    ac_status=$?
    8428    cat conftest.err >&5
    8429    echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8430    if (exit $ac_status) && test -s "$ac_outfile"; then
    8431      # The compiler can only warn and ignore the option if not recognized
    8432      # So say no if there are warnings other than the usual output.
    8433      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
    8434      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
    8435      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
    8436        lt_cv_prog_compiler_rtti_exceptions=yes
    8437      fi
    8438    fi
    8439    $RM conftest*
    8440 
    8441 fi
    8442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
    8443 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
    8444 
    8445 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
    8446     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
    8447 else
    8448     :
    8449 fi
    8450 
    8451 fi
    8452 
    8453 
    8454 
    8455 
    8456 
    8457 
    8458   lt_prog_compiler_wl=
    8459 lt_prog_compiler_pic=
    8460 lt_prog_compiler_static=
    8461 
    8462 
    8463   if test yes = "$GCC"; then
    8464     lt_prog_compiler_wl='-Wl,'
    8465     lt_prog_compiler_static='-static'
    8466 
    8467     case $host_os in
    8468       aix*)
    8469       # All AIX code is PIC.
    8470       if test ia64 = "$host_cpu"; then
    8471         # AIX 5 now supports IA64 processor
    8472         lt_prog_compiler_static='-Bstatic'
    8473       fi
    8474       lt_prog_compiler_pic='-fPIC'
    8475       ;;
    8476 
    8477     amigaos*)
    8478       case $host_cpu in
    8479       powerpc)
    8480             # see comment about AmigaOS4 .so support
    8481             lt_prog_compiler_pic='-fPIC'
    8482         ;;
    8483       m68k)
    8484             # FIXME: we need at least 68020 code to build shared libraries, but
    8485             # adding the '-m68020' flag to GCC prevents building anything better,
    8486             # like '-m68040'.
    8487             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
    8488         ;;
    8489       esac
    8490       ;;
    8491 
    8492     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
    8493       # PIC is the default for these OSes.
    8494       ;;
    8495 
    8496     mingw* | cygwin* | pw32* | os2* | cegcc*)
    8497       # This hack is so that the source file can tell whether it is being
    8498       # built for inclusion in a dll (and should export symbols for example).
    8499       # Although the cygwin gcc ignores -fPIC, still need this for old-style
    8500       # (--disable-auto-import) libraries
    8501       lt_prog_compiler_pic='-DDLL_EXPORT'
    8502       case $host_os in
    8503       os2*)
    8504         lt_prog_compiler_static='$wl-static'
    8505         ;;
    8506       esac
    8507       ;;
    8508 
    8509     darwin* | rhapsody*)
    8510       # PIC is the default on this platform
    8511       # Common symbols not allowed in MH_DYLIB files
    8512       lt_prog_compiler_pic='-fno-common'
    8513       ;;
    8514 
    8515     haiku*)
    8516       # PIC is the default for Haiku.
    8517       # The "-static" flag exists, but is broken.
    8518       lt_prog_compiler_static=
    8519       ;;
    8520 
    8521     hpux*)
    8522       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
    8523       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
    8524       # sets the default TLS model and affects inlining.
    8525       case $host_cpu in
    8526       hppa*64*)
    8527         # +Z the default
    8528         ;;
    8529       *)
    8530         lt_prog_compiler_pic='-fPIC'
    8531         ;;
    8532       esac
    8533       ;;
    8534 
    8535     interix[3-9]*)
    8536       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
    8537       # Instead, we relocate shared libraries at runtime.
    8538       ;;
    8539 
    8540     msdosdjgpp*)
    8541       # Just because we use GCC doesn't mean we suddenly get shared libraries
    8542       # on systems that don't support them.
    8543       lt_prog_compiler_can_build_shared=no
    8544       enable_shared=no
    8545       ;;
    8546 
    8547     *nto* | *qnx*)
    8548       # QNX uses GNU C++, but need to define -shared option too, otherwise
    8549       # it will coredump.
    8550       lt_prog_compiler_pic='-fPIC -shared'
    8551       ;;
    8552 
    8553     sysv4*MP*)
    8554       if test -d /usr/nec; then
    8555         lt_prog_compiler_pic=-Kconform_pic
    8556       fi
    8557       ;;
    8558 
    8559     *)
    8560       lt_prog_compiler_pic='-fPIC'
    8561       ;;
    8562     esac
    8563 
    8564     case $cc_basename in
    8565     nvcc*) # Cuda Compiler Driver 2.2
    8566       lt_prog_compiler_wl='-Xlinker '
    8567       if test -n "$lt_prog_compiler_pic"; then
    8568         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
    8569       fi
    8570       ;;
    8571     esac
    8572   else
    8573     # PORTME Check for flag to pass linker flags through the system compiler.
    8574     case $host_os in
    8575     aix*)
    8576       lt_prog_compiler_wl='-Wl,'
    8577       if test ia64 = "$host_cpu"; then
    8578         # AIX 5 now supports IA64 processor
    8579         lt_prog_compiler_static='-Bstatic'
    8580       else
    8581         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
    8582       fi
    8583       ;;
    8584 
    8585     darwin* | rhapsody*)
    8586       # PIC is the default on this platform
    8587       # Common symbols not allowed in MH_DYLIB files
    8588       lt_prog_compiler_pic='-fno-common'
    8589       case $cc_basename in
    8590       nagfor*)
    8591         # NAG Fortran compiler
    8592         lt_prog_compiler_wl='-Wl,-Wl,,'
    8593         lt_prog_compiler_pic='-PIC'
    8594         lt_prog_compiler_static='-Bstatic'
    8595         ;;
    8596       esac
    8597       ;;
    8598 
    8599     mingw* | cygwin* | pw32* | os2* | cegcc*)
    8600       # This hack is so that the source file can tell whether it is being
    8601       # built for inclusion in a dll (and should export symbols for example).
    8602       lt_prog_compiler_pic='-DDLL_EXPORT'
    8603       case $host_os in
    8604       os2*)
    8605         lt_prog_compiler_static='$wl-static'
    8606         ;;
    8607       esac
    8608       ;;
    8609 
    8610     hpux9* | hpux10* | hpux11*)
    8611       lt_prog_compiler_wl='-Wl,'
    8612       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
    8613       # not for PA HP-UX.
    8614       case $host_cpu in
    8615       hppa*64*|ia64*)
    8616         # +Z the default
    8617         ;;
    8618       *)
    8619         lt_prog_compiler_pic='+Z'
    8620         ;;
    8621       esac
    8622       # Is there a better lt_prog_compiler_static that works with the bundled CC?
    8623       lt_prog_compiler_static='$wl-a ${wl}archive'
    8624       ;;
    8625 
    8626     irix5* | irix6* | nonstopux*)
    8627       lt_prog_compiler_wl='-Wl,'
    8628       # PIC (with -KPIC) is the default.
    8629       lt_prog_compiler_static='-non_shared'
    8630       ;;
    8631 
    8632     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
    8633       case $cc_basename in
    8634       # old Intel for x86_64, which still supported -KPIC.
    8635       ecc*)
    8636         lt_prog_compiler_wl='-Wl,'
    8637         lt_prog_compiler_pic='-KPIC'
    8638         lt_prog_compiler_static='-static'
    8639         ;;
    8640       # icc used to be incompatible with GCC.
    8641       # ICC 10 doesn't accept -KPIC any more.
    8642       icc* | ifort*)
    8643         lt_prog_compiler_wl='-Wl,'
    8644         lt_prog_compiler_pic='-fPIC'
    8645         lt_prog_compiler_static='-static'
    8646         ;;
    8647       # Lahey Fortran 8.1.
    8648       lf95*)
    8649         lt_prog_compiler_wl='-Wl,'
    8650         lt_prog_compiler_pic='--shared'
    8651         lt_prog_compiler_static='--static'
    8652         ;;
    8653       nagfor*)
    8654         # NAG Fortran compiler
    8655         lt_prog_compiler_wl='-Wl,-Wl,,'
    8656         lt_prog_compiler_pic='-PIC'
    8657         lt_prog_compiler_static='-Bstatic'
    8658         ;;
    8659       tcc*)
    8660         # Fabrice Bellard et al's Tiny C Compiler
    8661         lt_prog_compiler_wl='-Wl,'
    8662         lt_prog_compiler_pic='-fPIC'
    8663         lt_prog_compiler_static='-static'
    8664         ;;
    8665       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
    8666         # Portland Group compilers (*not* the Pentium gcc compiler,
    8667         # which looks to be a dead project)
    8668         lt_prog_compiler_wl='-Wl,'
    8669         lt_prog_compiler_pic='-fpic'
    8670         lt_prog_compiler_static='-Bstatic'
    8671         ;;
    8672       ccc*)
    8673         lt_prog_compiler_wl='-Wl,'
    8674         # All Alpha code is PIC.
    8675         lt_prog_compiler_static='-non_shared'
    8676         ;;
    8677       xl* | bgxl* | bgf* | mpixl*)
    8678         # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
    8679         lt_prog_compiler_wl='-Wl,'
    8680         lt_prog_compiler_pic='-qpic'
    8681         lt_prog_compiler_static='-qstaticlink'
    8682         ;;
    8683       *)
    8684         case `$CC -V 2>&1 | sed 5q` in
    8685         *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
    8686           # Sun Fortran 8.3 passes all unrecognized flags to the linker
    8687           lt_prog_compiler_pic='-KPIC'
    8688           lt_prog_compiler_static='-Bstatic'
    8689           lt_prog_compiler_wl=''
    8690           ;;
    8691         *Sun\ F* | *Sun*Fortran*)
    8692           lt_prog_compiler_pic='-KPIC'
    8693           lt_prog_compiler_static='-Bstatic'
    8694           lt_prog_compiler_wl='-Qoption ld '
    8695           ;;
    8696         *Sun\ C*)
    8697           # Sun C 5.9
    8698           lt_prog_compiler_pic='-KPIC'
    8699           lt_prog_compiler_static='-Bstatic'
    8700           lt_prog_compiler_wl='-Wl,'
    8701           ;;
    8702         *Intel*\ [CF]*Compiler*)
    8703           lt_prog_compiler_wl='-Wl,'
    8704           lt_prog_compiler_pic='-fPIC'
    8705           lt_prog_compiler_static='-static'
    8706           ;;
    8707         *Portland\ Group*)
    8708           lt_prog_compiler_wl='-Wl,'
    8709           lt_prog_compiler_pic='-fpic'
    8710           lt_prog_compiler_static='-Bstatic'
    8711           ;;
    8712         esac
    8713         ;;
    8714       esac
    8715       ;;
    8716 
    8717     newsos6)
    8718       lt_prog_compiler_pic='-KPIC'
    8719       lt_prog_compiler_static='-Bstatic'
    8720       ;;
    8721 
    8722     *nto* | *qnx*)
    8723       # QNX uses GNU C++, but need to define -shared option too, otherwise
    8724       # it will coredump.
    8725       lt_prog_compiler_pic='-fPIC -shared'
    8726       ;;
    8727 
    8728     osf3* | osf4* | osf5*)
    8729       lt_prog_compiler_wl='-Wl,'
    8730       # All OSF/1 code is PIC.
    8731       lt_prog_compiler_static='-non_shared'
    8732       ;;
    8733 
    8734     rdos*)
    8735       lt_prog_compiler_static='-non_shared'
    8736       ;;
    8737 
    8738     solaris*)
    8739       lt_prog_compiler_pic='-KPIC'
    8740       lt_prog_compiler_static='-Bstatic'
    8741       case $cc_basename in
    8742       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
    8743         lt_prog_compiler_wl='-Qoption ld ';;
    8744       *)
    8745         lt_prog_compiler_wl='-Wl,';;
    8746       esac
    8747       ;;
    8748 
    8749     sunos4*)
    8750       lt_prog_compiler_wl='-Qoption ld '
    8751       lt_prog_compiler_pic='-PIC'
    8752       lt_prog_compiler_static='-Bstatic'
    8753       ;;
    8754 
    8755     sysv4 | sysv4.2uw2* | sysv4.3*)
    8756       lt_prog_compiler_wl='-Wl,'
    8757       lt_prog_compiler_pic='-KPIC'
    8758       lt_prog_compiler_static='-Bstatic'
    8759       ;;
    8760 
    8761     sysv4*MP*)
    8762       if test -d /usr/nec; then
    8763         lt_prog_compiler_pic='-Kconform_pic'
    8764         lt_prog_compiler_static='-Bstatic'
    8765       fi
    8766       ;;
    8767 
    8768     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
    8769       lt_prog_compiler_wl='-Wl,'
    8770       lt_prog_compiler_pic='-KPIC'
    8771       lt_prog_compiler_static='-Bstatic'
    8772       ;;
    8773 
    8774     unicos*)
    8775       lt_prog_compiler_wl='-Wl,'
    8776       lt_prog_compiler_can_build_shared=no
    8777       ;;
    8778 
    8779     uts4*)
    8780       lt_prog_compiler_pic='-pic'
    8781       lt_prog_compiler_static='-Bstatic'
    8782       ;;
    8783 
    8784     *)
    8785       lt_prog_compiler_can_build_shared=no
    8786       ;;
    8787     esac
    8788   fi
    8789 
    8790 case $host_os in
    8791   # For platforms that do not support PIC, -DPIC is meaningless:
    8792   *djgpp*)
    8793     lt_prog_compiler_pic=
    8794     ;;
    8795   *)
    8796     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
    8797     ;;
    8798 esac
    8799 
    8800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
    8801 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
    8802 if ${lt_cv_prog_compiler_pic+:} false; then :
    8803   $as_echo_n "(cached) " >&6
    8804 else
    8805   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
    8806 fi
    8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
    8808 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
    8809 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
    8810 
    8811 #
    8812 # Check to make sure the PIC flag actually works.
    8813 #
    8814 if test -n "$lt_prog_compiler_pic"; then
    8815   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
    8816 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
    8817 if ${lt_cv_prog_compiler_pic_works+:} false; then :
    8818   $as_echo_n "(cached) " >&6
    8819 else
    8820   lt_cv_prog_compiler_pic_works=no
    8821    ac_outfile=conftest.$ac_objext
    8822    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    8823    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
    8824    # Insert the option either (1) after the last *FLAGS variable, or
    8825    # (2) before a word containing "conftest.", or (3) at the end.
    8826    # Note that $ac_compile itself does not contain backslashes and begins
    8827    # with a dollar sign (not a hyphen), so the echo should work correctly.
    8828    # The option is referenced via a variable to avoid confusing sed.
    8829    lt_compile=`echo "$ac_compile" | $SED \
    8830    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    8831    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    8832    -e 's:$: $lt_compiler_flag:'`
    8833    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
    8834    (eval "$lt_compile" 2>conftest.err)
    8835    ac_status=$?
    8836    cat conftest.err >&5
    8837    echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8838    if (exit $ac_status) && test -s "$ac_outfile"; then
    8839      # The compiler can only warn and ignore the option if not recognized
    8840      # So say no if there are warnings other than the usual output.
    8841      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
    8842      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
    8843      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
    8844        lt_cv_prog_compiler_pic_works=yes
    8845      fi
    8846    fi
    8847    $RM conftest*
    8848 
    8849 fi
    8850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
    8851 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
    8852 
    8853 if test yes = "$lt_cv_prog_compiler_pic_works"; then
    8854     case $lt_prog_compiler_pic in
    8855      "" | " "*) ;;
    8856      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
    8857      esac
    8858 else
    8859     lt_prog_compiler_pic=
    8860      lt_prog_compiler_can_build_shared=no
    8861 fi
    8862 
    8863 fi
    8864 
    8865 
    8866 
    8867 
    8868 
    8869 
    8870 
    8871 
    8872 
    8873 
    8874 
    8875 #
    8876 # Check to make sure the static flag actually works.
    8877 #
    8878 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
    8879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
    8880 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
    8881 if ${lt_cv_prog_compiler_static_works+:} false; then :
    8882   $as_echo_n "(cached) " >&6
    8883 else
    8884   lt_cv_prog_compiler_static_works=no
    8885    save_LDFLAGS=$LDFLAGS
    8886    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
    8887    echo "$lt_simple_link_test_code" > conftest.$ac_ext
    8888    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
    8889      # The linker can only warn and ignore the option if not recognized
    8890      # So say no if there are warnings
    8891      if test -s conftest.err; then
    8892        # Append any errors to the config.log.
    8893        cat conftest.err 1>&5
    8894        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
    8895        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
    8896        if diff conftest.exp conftest.er2 >/dev/null; then
    8897          lt_cv_prog_compiler_static_works=yes
    8898        fi
    8899      else
    8900        lt_cv_prog_compiler_static_works=yes
    8901      fi
    8902    fi
    8903    $RM -r conftest*
    8904    LDFLAGS=$save_LDFLAGS
    8905 
    8906 fi
    8907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
    8908 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
    8909 
    8910 if test yes = "$lt_cv_prog_compiler_static_works"; then
    8911     :
    8912 else
    8913     lt_prog_compiler_static=
    8914 fi
    8915 
    8916 
    8917 
    8918 
    8919 
    8920 
    8921 
    8922   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
    8923 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
    8924 if ${lt_cv_prog_compiler_c_o+:} false; then :
    8925   $as_echo_n "(cached) " >&6
    8926 else
    8927   lt_cv_prog_compiler_c_o=no
    8928    $RM -r conftest 2>/dev/null
    8929    mkdir conftest
    8930    cd conftest
    8931    mkdir out
    8932    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    8933 
    8934    lt_compiler_flag="-o out/conftest2.$ac_objext"
    8935    # Insert the option either (1) after the last *FLAGS variable, or
    8936    # (2) before a word containing "conftest.", or (3) at the end.
    8937    # Note that $ac_compile itself does not contain backslashes and begins
    8938    # with a dollar sign (not a hyphen), so the echo should work correctly.
    8939    lt_compile=`echo "$ac_compile" | $SED \
    8940    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    8941    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    8942    -e 's:$: $lt_compiler_flag:'`
    8943    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
    8944    (eval "$lt_compile" 2>out/conftest.err)
    8945    ac_status=$?
    8946    cat out/conftest.err >&5
    8947    echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8948    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    8949    then
    8950      # The compiler can only warn and ignore the option if not recognized
    8951      # So say no if there are warnings
    8952      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
    8953      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
    8954      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
    8955        lt_cv_prog_compiler_c_o=yes
    8956      fi
    8957    fi
    8958    chmod u+w . 2>&5
    8959    $RM conftest*
    8960    # SGI C++ compiler will create directory out/ii_files/ for
    8961    # template instantiation
    8962    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
    8963    $RM out/* && rmdir out
    8964    cd ..
    8965    $RM -r conftest
    8966    $RM conftest*
    8967 
    8968 fi
    8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
    8970 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
    8971 
    8972 
    8973 
    8974 
    8975 
    8976 
    8977   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
    8978 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
    8979 if ${lt_cv_prog_compiler_c_o+:} false; then :
    8980   $as_echo_n "(cached) " >&6
    8981 else
    8982   lt_cv_prog_compiler_c_o=no
    8983    $RM -r conftest 2>/dev/null
    8984    mkdir conftest
    8985    cd conftest
    8986    mkdir out
    8987    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    8988 
    8989    lt_compiler_flag="-o out/conftest2.$ac_objext"
    8990    # Insert the option either (1) after the last *FLAGS variable, or
    8991    # (2) before a word containing "conftest.", or (3) at the end.
    8992    # Note that $ac_compile itself does not contain backslashes and begins
    8993    # with a dollar sign (not a hyphen), so the echo should work correctly.
    8994    lt_compile=`echo "$ac_compile" | $SED \
    8995    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    8996    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    8997    -e 's:$: $lt_compiler_flag:'`
    8998    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
    8999    (eval "$lt_compile" 2>out/conftest.err)
    9000    ac_status=$?
    9001    cat out/conftest.err >&5
    9002    echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9003    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    9004    then
    9005      # The compiler can only warn and ignore the option if not recognized
    9006      # So say no if there are warnings
    9007      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
    9008      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
    9009      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
    9010        lt_cv_prog_compiler_c_o=yes
    9011      fi
    9012    fi
    9013    chmod u+w . 2>&5
    9014    $RM conftest*
    9015    # SGI C++ compiler will create directory out/ii_files/ for
    9016    # template instantiation
    9017    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
    9018    $RM out/* && rmdir out
    9019    cd ..
    9020    $RM -r conftest
    9021    $RM conftest*
    9022 
    9023 fi
    9024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
    9025 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
    9026 
    9027 
    9028 
    9029 
    9030 hard_links=nottested
    9031 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
    9032   # do not overwrite the value of need_locks provided by the user
    9033   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
    9034 $as_echo_n "checking if we can lock with hard links... " >&6; }
    9035   hard_links=yes
    9036   $RM conftest*
    9037   ln conftest.a conftest.b 2>/dev/null && hard_links=no
    9038   touch conftest.a
    9039   ln conftest.a conftest.b 2>&5 || hard_links=no
    9040   ln conftest.a conftest.b 2>/dev/null && hard_links=no
    9041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
    9042 $as_echo "$hard_links" >&6; }
    9043   if test no = "$hard_links"; then
    9044     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
    9045 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
    9046     need_locks=warn
    9047   fi
    9048 else
    9049   need_locks=no
    9050 fi
    9051 
    9052 
    9053 
    9054 
    9055 
    9056 
    9057   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
    9058 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
    9059 
    9060   runpath_var=
    9061   allow_undefined_flag=
    9062   always_export_symbols=no
    9063   archive_cmds=
    9064   archive_expsym_cmds=
    9065   compiler_needs_object=no
    9066   enable_shared_with_static_runtimes=no
    9067   export_dynamic_flag_spec=
    9068   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
    9069   hardcode_automatic=no
    9070   hardcode_direct=no
    9071   hardcode_direct_absolute=no
    9072   hardcode_libdir_flag_spec=
    9073   hardcode_libdir_separator=
    9074   hardcode_minus_L=no
    9075   hardcode_shlibpath_var=unsupported
    9076   inherit_rpath=no
    9077   link_all_deplibs=unknown
    9078   module_cmds=
    9079   module_expsym_cmds=
    9080   old_archive_from_new_cmds=
    9081   old_archive_from_expsyms_cmds=
    9082   thread_safe_flag_spec=
    9083   whole_archive_flag_spec=
    9084   # include_expsyms should be a list of space-separated symbols to be *always*
    9085   # included in the symbol list
    9086   include_expsyms=
    9087   # exclude_expsyms can be an extended regexp of symbols to exclude
    9088   # it will be wrapped by ' (' and ')$', so one must not match beginning or
    9089   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
    9090   # as well as any symbol that contains 'd'.
    9091   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
    9092   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
    9093   # platforms (ab)use it in PIC code, but their linkers get confused if
    9094   # the symbol is explicitly referenced.  Since portable code cannot
    9095   # rely on this symbol name, it's probably fine to never include it in
    9096   # preloaded symbol tables.
    9097   # Exclude shared library initialization/finalization symbols.
    9098   extract_expsyms_cmds=
    9099 
    9100   case $host_os in
    9101   cygwin* | mingw* | pw32* | cegcc*)
    9102     # FIXME: the MSVC++ port hasn't been tested in a loooong time
    9103     # When not using gcc, we currently assume that we are using
    9104     # Microsoft Visual C++.
    9105     if test yes != "$GCC"; then
    9106       with_gnu_ld=no
    9107     fi
    9108     ;;
    9109   interix*)
    9110     # we just hope/assume this is gcc and not c89 (= MSVC++)
    9111     with_gnu_ld=yes
    9112     ;;
    9113   openbsd* | bitrig*)
    9114     with_gnu_ld=no
    9115     ;;
    9116   linux* | k*bsd*-gnu | gnu*)
    9117     link_all_deplibs=no
    9118     ;;
    9119   esac
    9120 
    9121   ld_shlibs=yes
    9122 
    9123   # On some targets, GNU ld is compatible enough with the native linker
    9124   # that we're better off using the native interface for both.
    9125   lt_use_gnu_ld_interface=no
    9126   if test yes = "$with_gnu_ld"; then
    9127     case $host_os in
    9128       aix*)
    9129         # The AIX port of GNU ld has always aspired to compatibility
    9130         # with the native linker.  However, as the warning in the GNU ld
    9131         # block says, versions before 2.19.5* couldn't really create working
    9132         # shared libraries, regardless of the interface used.
    9133         case `$LD -v 2>&1` in
    9134           *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
    9135           *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
    9136           *\ \(GNU\ Binutils\)\ [3-9]*) ;;
    9137           *)
    9138             lt_use_gnu_ld_interface=yes
    9139             ;;
    9140         esac
    9141         ;;
    9142       *)
    9143         lt_use_gnu_ld_interface=yes
    9144         ;;
    9145     esac
    9146   fi
    9147 
    9148   if test yes = "$lt_use_gnu_ld_interface"; then
    9149     # If archive_cmds runs LD, not CC, wlarc should be empty
    9150     wlarc='$wl'
    9151 
    9152     # Set some defaults for GNU ld with shared library support. These
    9153     # are reset later if shared libraries are not supported. Putting them
    9154     # here allows them to be overridden if necessary.
    9155     runpath_var=LD_RUN_PATH
    9156     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
    9157     export_dynamic_flag_spec='$wl--export-dynamic'
    9158     # ancient GNU ld didn't support --whole-archive et. al.
    9159     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
    9160       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
    9161     else
    9162       whole_archive_flag_spec=
    9163     fi
    9164     supports_anon_versioning=no
    9165     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
    9166       *GNU\ gold*) supports_anon_versioning=yes ;;
    9167       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
    9168       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
    9169       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
    9170       *\ 2.11.*) ;; # other 2.11 versions
    9171       *) supports_anon_versioning=yes ;;
    9172     esac
    9173 
    9174     # See if GNU ld supports shared libraries.
    9175     case $host_os in
    9176     aix[3-9]*)
    9177       # On AIX/PPC, the GNU linker is very broken
    9178       if test ia64 != "$host_cpu"; then
    9179         ld_shlibs=no
    9180         cat <<_LT_EOF 1>&2
    9181 
    9182 *** Warning: the GNU linker, at least up to release 2.19, is reported
    9183 *** to be unable to reliably create shared libraries on AIX.
    9184 *** Therefore, libtool is disabling shared libraries support.  If you
    9185 *** really care for shared libraries, you may want to install binutils
    9186 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
    9187 *** You will then need to restart the configuration process.
    9188 
    9189 _LT_EOF
    9190       fi
    9191       ;;
    9192 
    9193     amigaos*)
    9194       case $host_cpu in
    9195       powerpc)
    9196             # see comment about AmigaOS4 .so support
    9197             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    9198             archive_expsym_cmds=''
    9199         ;;
    9200       m68k)
    9201             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)'
    9202             hardcode_libdir_flag_spec='-L$libdir'
    9203             hardcode_minus_L=yes
    9204         ;;
    9205       esac
    9206       ;;
    9207 
    9208     beos*)
    9209       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
    9210         allow_undefined_flag=unsupported
    9211         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
    9212         # support --undefined.  This deserves some investigation.  FIXME
    9213         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    9214       else
    9215         ld_shlibs=no
    9216       fi
    9217       ;;
    9218 
    9219     cygwin* | mingw* | pw32* | cegcc*)
    9220       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
    9221       # as there is no search path for DLLs.
    9222       hardcode_libdir_flag_spec='-L$libdir'
    9223       export_dynamic_flag_spec='$wl--export-all-symbols'
    9224       allow_undefined_flag=unsupported
    9225       always_export_symbols=no
    9226       enable_shared_with_static_runtimes=yes
    9227       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'
    9228       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
    9229 
    9230       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
    9231         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
    9232         # If the export-symbols file already is a .def file, use it as
    9233         # is; otherwise, prepend EXPORTS...
    9234         archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
    9235           cp $export_symbols $output_objdir/$soname.def;
    9236         else
    9237           echo EXPORTS > $output_objdir/$soname.def;
    9238           cat $export_symbols >> $output_objdir/$soname.def;
    9239         fi~
    9240         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
    9241       else
    9242         ld_shlibs=no
    9243       fi
    9244       ;;
    9245 
    9246     haiku*)
    9247       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    9248       link_all_deplibs=yes
    9249       ;;
    9250 
    9251     os2*)
    9252       hardcode_libdir_flag_spec='-L$libdir'
    9253       hardcode_minus_L=yes
    9254       allow_undefined_flag=unsupported
    9255       shrext_cmds=.dll
    9256       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
    9257         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
    9258         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
    9259         $ECHO EXPORTS >> $output_objdir/$libname.def~
    9260         emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
    9261         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
    9262         emximp -o $lib $output_objdir/$libname.def'
    9263       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
    9264         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
    9265         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
    9266         $ECHO EXPORTS >> $output_objdir/$libname.def~
    9267         prefix_cmds="$SED"~
    9268         if test EXPORTS = "`$SED 1q $export_symbols`"; then
    9269           prefix_cmds="$prefix_cmds -e 1d";
    9270         fi~
    9271         prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
    9272         cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
    9273         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
    9274         emximp -o $lib $output_objdir/$libname.def'
    9275       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
    9276       enable_shared_with_static_runtimes=yes
    9277       ;;
    9278 
    9279     interix[3-9]*)
    9280       hardcode_direct=no
    9281       hardcode_shlibpath_var=no
    9282       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
    9283       export_dynamic_flag_spec='$wl-E'
    9284       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
    9285       # Instead, shared libraries are loaded at an image base (0x10000000 by
    9286       # default) and relocated if they conflict, which is a slow very memory
    9287       # consuming and fragmenting process.  To avoid this, we pick a random,
    9288       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
    9289       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
    9290       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
    9291       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'
    9292       ;;
    9293 
    9294     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
    9295       tmp_diet=no
    9296       if test linux-dietlibc = "$host_os"; then
    9297         case $cc_basename in
    9298           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
    9299         esac
    9300       fi
    9301       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
    9302          && test no = "$tmp_diet"
    9303       then
    9304         tmp_addflag=' $pic_flag'
    9305         tmp_sharedflag='-shared'
    9306         case $cc_basename,$host_cpu in
    9307         pgcc*)                          # Portland Group C compiler
    9308           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'
    9309           tmp_addflag=' $pic_flag'
    9310           ;;
    9311         pgf77* | pgf90* | pgf95* | pgfortran*)
    9312                                         # Portland Group f77 and f90 compilers
    9313           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'
    9314           tmp_addflag=' $pic_flag -Mnomain' ;;
    9315         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
    9316           tmp_addflag=' -i_dynamic' ;;
    9317         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
    9318           tmp_addflag=' -i_dynamic -nofor_main' ;;
    9319         ifc* | ifort*)                  # Intel Fortran compiler
    9320           tmp_addflag=' -nofor_main' ;;
    9321         lf95*)                          # Lahey Fortran 8.1
    9322           whole_archive_flag_spec=
    9323           tmp_sharedflag='--shared' ;;
    9324         nagfor*)                        # NAGFOR 5.3
    9325           tmp_sharedflag='-Wl,-shared' ;;
    9326         xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
    9327           tmp_sharedflag='-qmkshrobj'
    9328           tmp_addflag= ;;
    9329         nvcc*)  # Cuda Compiler Driver 2.2
    9330           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'
    9331           compiler_needs_object=yes
    9332           ;;
    9333         esac
    9334         case `$CC -V 2>&1 | sed 5q` in
    9335         *Sun\ C*)                       # Sun C 5.9
    9336           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'
    9337           compiler_needs_object=yes
    9338           tmp_sharedflag='-G' ;;
    9339         *Sun\ F*)                       # Sun Fortran 8.3
    9340           tmp_sharedflag='-G' ;;
    9341         esac
    9342         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    9343 
    9344         if test yes = "$supports_anon_versioning"; then
    9345           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
    9346             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    9347             echo "local: *; };" >> $output_objdir/$libname.ver~
    9348             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
    9349         fi
    9350 
    9351         case $cc_basename in
    9352         tcc*)
    9353           export_dynamic_flag_spec='-rdynamic'
    9354           ;;
    9355         xlf* | bgf* | bgxlf* | mpixlf*)
    9356           # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
    9357           whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
    9358           hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
    9359           archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
    9360           if test yes = "$supports_anon_versioning"; then
    9361             archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
    9362               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    9363               echo "local: *; };" >> $output_objdir/$libname.ver~
    9364               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
    9365           fi
    9366           ;;
    9367         esac
    9368       else
    9369         ld_shlibs=no
    9370       fi
    9371       ;;
    9372 
    9373     netbsd* | netbsdelf*-gnu)
    9374       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
    9375         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
    9376         wlarc=
    9377       else
    9378         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    9379         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
    9380       fi
    9381       ;;
    9382 
    9383     solaris*)
    9384       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
    9385         ld_shlibs=no
    9386         cat <<_LT_EOF 1>&2
    9387 
    9388 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
    9389 *** create shared libraries on Solaris systems.  Therefore, libtool
    9390 *** is disabling shared libraries support.  We urge you to upgrade GNU
    9391 *** binutils to release 2.9.1 or newer.  Another option is to modify
    9392 *** your PATH or compiler configuration so that the native linker is
    9393 *** used, and then restart.
    9394 
    9395 _LT_EOF
    9396       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
    9397         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    9398         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
    9399       else
    9400         ld_shlibs=no
    9401       fi
    9402       ;;
    9403 
    9404     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
    9405       case `$LD -v 2>&1` in
    9406         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
    9407         ld_shlibs=no
    9408         cat <<_LT_EOF 1>&2
    9409 
    9410 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
    9411 *** reliably create shared libraries on SCO systems.  Therefore, libtool
    9412 *** is disabling shared libraries support.  We urge you to upgrade GNU
    9413 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
    9414 *** your PATH or compiler configuration so that the native linker is
    9415 *** used, and then restart.
    9416 
    9417 _LT_EOF
    9418         ;;
    9419         *)
    9420           # For security reasons, it is highly recommended that you always
    9421           # use absolute paths for naming shared libraries, and exclude the
    9422           # DT_RUNPATH tag from executables and libraries.  But doing so
    9423           # requires that you compile everything twice, which is a pain.
    9424           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
    9425             hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
    9426             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    9427             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
    9428           else
    9429             ld_shlibs=no
    9430           fi
    9431         ;;
    9432       esac
    9433       ;;
    9434 
    9435     sunos4*)
    9436       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
    9437       wlarc=
    9438       hardcode_direct=yes
    9439       hardcode_shlibpath_var=no
    9440       ;;
    9441 
    9442     *)
    9443       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
    9444         archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    9445         archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
    9446       else
    9447         ld_shlibs=no
    9448       fi
    9449       ;;
    9450     esac
    9451 
    9452     if test no = "$ld_shlibs"; then
    9453       runpath_var=
    9454       hardcode_libdir_flag_spec=
    9455       export_dynamic_flag_spec=
    9456       whole_archive_flag_spec=
    9457     fi
    9458   else
    9459     # PORTME fill in a description of your system's linker (not GNU ld)
    9460     case $host_os in
    9461     aix3*)
    9462       allow_undefined_flag=unsupported
    9463       always_export_symbols=yes
    9464       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'
    9465       # Note: this linker hardcodes the directories in LIBPATH if there
    9466       # are no directories specified by -L.
    9467       hardcode_minus_L=yes
    9468       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
    9469         # Neither direct hardcoding nor static linking is supported with a
    9470         # broken collect2.
    9471         hardcode_direct=unsupported
    9472       fi
    9473       ;;
    9474 
    9475     aix[4-9]*)
    9476       if test ia64 = "$host_cpu"; then
    9477         # On IA64, the linker does run time linking by default, so we don't
    9478         # have to do anything special.
    9479         aix_use_runtimelinking=no
    9480         exp_sym_flag='-Bexport'
    9481         no_entry_flag=
    9482       else
    9483         # If we're using GNU nm, then we don't want the "-C" option.
    9484         # -C means demangle to GNU nm, but means don't demangle to AIX nm.
    9485         # Without the "-l" option, or with the "-B" option, AIX nm treats
    9486         # weak defined symbols like other global defined symbols, whereas
    9487         # GNU nm marks them as "W".
    9488         # While the 'weak' keyword is ignored in the Export File, we need
    9489         # it in the Import File for the 'aix-soname' feature, so we have
    9490         # to replace the "-B" option with "-P" for AIX nm.
    9491         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
    9492           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'
    9493         else
    9494           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'
    9495         fi
    9496         aix_use_runtimelinking=no
    9497 
    9498         # Test if we are trying to use run time linking or normal
    9499         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
    9500         # have runtime linking enabled, and use it for executables.
    9501         # For shared libraries, we enable/disable runtime linking
    9502         # depending on the kind of the shared library created -
    9503         # when "with_aix_soname,aix_use_runtimelinking" is:
    9504         # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
    9505         # "aix,yes"  lib.so          shared, rtl:yes, for executables
    9506         #            lib.a           static archive
    9507         # "both,no"  lib.so.V(shr.o) shared, rtl:yes
    9508         #            lib.a(lib.so.V) shared, rtl:no,  for executables
    9509         # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
    9510         #            lib.a(lib.so.V) shared, rtl:no
    9511         # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
    9512         #            lib.a           static archive
    9513         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
    9514           for ld_flag in $LDFLAGS; do
    9515           if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
    9516             aix_use_runtimelinking=yes
    9517             break
    9518           fi
    9519           done
    9520           if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
    9521             # With aix-soname=svr4, we create the lib.so.V shared archives only,
    9522             # so we don't have lib.a shared libs to link our executables.
    9523             # We have to force runtime linking in this case.
    9524             aix_use_runtimelinking=yes
    9525             LDFLAGS="$LDFLAGS -Wl,-brtl"
    9526           fi
    9527           ;;
    9528         esac
    9529 
    9530         exp_sym_flag='-bexport'
    9531         no_entry_flag='-bnoentry'
    9532       fi
    9533 
    9534       # When large executables or shared objects are built, AIX ld can
    9535       # have problems creating the table of contents.  If linking a library
    9536       # or program results in "error TOC overflow" add -mminimal-toc to
    9537       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
    9538       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
    9539 
    9540       archive_cmds=''
    9541       hardcode_direct=yes
    9542       hardcode_direct_absolute=yes
    9543       hardcode_libdir_separator=':'
    9544       link_all_deplibs=yes
    9545       file_list_spec='$wl-f,'
    9546       case $with_aix_soname,$aix_use_runtimelinking in
    9547       aix,*) ;; # traditional, no import file
    9548       svr4,* | *,yes) # use import file
    9549         # The Import File defines what to hardcode.
    9550         hardcode_direct=no
    9551         hardcode_direct_absolute=no
    9552         ;;
    9553       esac
    9554 
    9555       if test yes = "$GCC"; then
    9556         case $host_os in aix4.[012]|aix4.[012].*)
    9557         # We only want to do this on AIX 4.2 and lower, the check
    9558         # below for broken collect2 doesn't work under 4.3+
    9559           collect2name=`$CC -print-prog-name=collect2`
    9560           if test -f "$collect2name" &&
    9561            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
    9562           then
    9563           # We have reworked collect2
    9564           :
    9565           else
    9566           # We have old collect2
    9567           hardcode_direct=unsupported
    9568           # It fails to find uninstalled libraries when the uninstalled
    9569           # path is not listed in the libpath.  Setting hardcode_minus_L
    9570           # to unsupported forces relinking
    9571           hardcode_minus_L=yes
    9572           hardcode_libdir_flag_spec='-L$libdir'
    9573           hardcode_libdir_separator=
    9574           fi
    9575           ;;
    9576         esac
    9577         shared_flag='-shared'
    9578         if test yes = "$aix_use_runtimelinking"; then
    9579           shared_flag="$shared_flag "'$wl-G'
    9580         fi
    9581         # Need to ensure runtime linking is disabled for the traditional
    9582         # shared library, or the linker may eventually find shared libraries
    9583         # /with/ Import File - we do not want to mix them.
    9584         shared_flag_aix='-shared'
    9585         shared_flag_svr4='-shared $wl-G'
    9586       else
    9587         # not using gcc
    9588         if test ia64 = "$host_cpu"; then
    9589         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
    9590         # chokes on -Wl,-G. The following line is correct:
    9591           shared_flag='-G'
    9592         else
    9593           if test yes = "$aix_use_runtimelinking"; then
    9594             shared_flag='$wl-G'
    9595           else
    9596             shared_flag='$wl-bM:SRE'
    9597           fi
    9598           shared_flag_aix='$wl-bM:SRE'
    9599           shared_flag_svr4='$wl-G'
    9600         fi
    9601       fi
    9602 
    9603       export_dynamic_flag_spec='$wl-bexpall'
    9604       # It seems that -bexpall does not export symbols beginning with
    9605       # underscore (_), so it is better to generate a list of symbols to export.
    9606       always_export_symbols=yes
    9607       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
    9608         # Warning - without using the other runtime loading flags (-brtl),
    9609         # -berok will link without error, but may produce a broken library.
    9610         allow_undefined_flag='-berok'
    9611         # Determine the default libpath from the value encoded in an
    9612         # empty executable.
    9613         if test set = "${lt_cv_aix_libpath+set}"; then
    9614   aix_libpath=$lt_cv_aix_libpath
    9615 else
    9616   if ${lt_cv_aix_libpath_+:} false; then :
    9617   $as_echo_n "(cached) " >&6
    9618 else
    9619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    9620 /* end confdefs.h.  */
    9621 
    9622 int
    9623 main ()
    9624 {
    9625 
    9626   ;
    9627   return 0;
    9628 }
    9629 _ACEOF
    9630 if ac_fn_c_try_link "$LINENO"; then :
    9631 
    9632   lt_aix_libpath_sed='
    9633       /Import File Strings/,/^$/ {
    9634           /^0/ {
    9635               s/^0  *\([^ ]*\) *$/\1/
    9636               p
    9637           }
    9638       }'
    9639   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
    9640   # Check for a 64-bit object if we didn't find anything.
    9641   if test -z "$lt_cv_aix_libpath_"; then
    9642     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
    9643   fi
    9644 fi
    9645 rm -f core conftest.err conftest.$ac_objext \
    9646     conftest$ac_exeext conftest.$ac_ext
    9647   if test -z "$lt_cv_aix_libpath_"; then
    9648     lt_cv_aix_libpath_=/usr/lib:/lib
    9649   fi
    9650 
    9651 fi
    9652 
    9653   aix_libpath=$lt_cv_aix_libpath_
    9654 fi
    9655 
    9656         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
    9657         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
    9658       else
    9659         if test ia64 = "$host_cpu"; then
    9660           hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
    9661           allow_undefined_flag="-z nodefs"
    9662           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"
    9663         else
    9664          # Determine the default libpath from the value encoded in an
    9665          # empty executable.
    9666          if test set = "${lt_cv_aix_libpath+set}"; then
    9667   aix_libpath=$lt_cv_aix_libpath
    9668 else
    9669   if ${lt_cv_aix_libpath_+:} false; then :
    9670   $as_echo_n "(cached) " >&6
    9671 else
    9672   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    9673 /* end confdefs.h.  */
    9674 
    9675 int
    9676 main ()
    9677 {
    9678 
    9679   ;
    9680   return 0;
    9681 }
    9682 _ACEOF
    9683 if ac_fn_c_try_link "$LINENO"; then :
    9684 
    9685   lt_aix_libpath_sed='
    9686       /Import File Strings/,/^$/ {
    9687           /^0/ {
    9688               s/^0  *\([^ ]*\) *$/\1/
    9689               p
    9690           }
    9691       }'
    9692   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
    9693   # Check for a 64-bit object if we didn't find anything.
    9694   if test -z "$lt_cv_aix_libpath_"; then
    9695     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
    9696   fi
    9697 fi
    9698 rm -f core conftest.err conftest.$ac_objext \
    9699     conftest$ac_exeext conftest.$ac_ext
    9700   if test -z "$lt_cv_aix_libpath_"; then
    9701     lt_cv_aix_libpath_=/usr/lib:/lib
    9702   fi
    9703 
    9704 fi
    9705 
    9706   aix_libpath=$lt_cv_aix_libpath_
    9707 fi
    9708 
    9709          hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
    9710           # Warning - without using the other run time loading flags,
    9711           # -berok will link without error, but may produce a broken library.
    9712           no_undefined_flag=' $wl-bernotok'
    9713           allow_undefined_flag=' $wl-berok'
    9714           if test yes = "$with_gnu_ld"; then
    9715             # We only use this code for GNU lds that support --whole-archive.
    9716             whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
    9717           else
    9718             # Exported symbols can be pulled into shared objects from archives
    9719             whole_archive_flag_spec='$convenience'
    9720           fi
    9721           archive_cmds_need_lc=yes
    9722           archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
    9723           # -brtl affects multiple linker settings, -berok does not and is overridden later
    9724           compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
    9725           if test svr4 != "$with_aix_soname"; then
    9726             # This is similar to how AIX traditionally builds its shared libraries.
    9727             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'
    9728           fi
    9729           if test aix != "$with_aix_soname"; then
    9730             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'
    9731           else
    9732             # used by -dlpreopen to get the symbols
    9733             archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
    9734           fi
    9735           archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
    9736         fi
    9737       fi
    9738       ;;
    9739 
    9740     amigaos*)
    9741       case $host_cpu in
    9742       powerpc)
    9743             # see comment about AmigaOS4 .so support
    9744             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    9745             archive_expsym_cmds=''
    9746         ;;
    9747       m68k)
    9748             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)'
    9749             hardcode_libdir_flag_spec='-L$libdir'
    9750             hardcode_minus_L=yes
    9751         ;;
    9752       esac
    9753       ;;
    9754 
    9755     bsdi[45]*)
    9756       export_dynamic_flag_spec=-rdynamic
    9757       ;;
    9758 
    9759     cygwin* | mingw* | pw32* | cegcc*)
    9760       # When not using gcc, we currently assume that we are using
    9761       # Microsoft Visual C++.
    9762       # hardcode_libdir_flag_spec is actually meaningless, as there is
    9763       # no search path for DLLs.
    9764       case $cc_basename in
    9765       cl*)
    9766         # Native MSVC
    9767         hardcode_libdir_flag_spec=' '
    9768         allow_undefined_flag=unsupported
    9769         always_export_symbols=yes
    9770         file_list_spec='@'
    9771         # Tell ltmain to make .lib files, not .a files.
    9772         libext=lib
    9773         # Tell ltmain to make .dll files, not .so files.
    9774         shrext_cmds=.dll
    9775         # FIXME: Setting linknames here is a bad hack.
    9776         archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
    9777         archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
    9778             cp "$export_symbols" "$output_objdir/$soname.def";
    9779             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
    9780           else
    9781             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
    9782           fi~
    9783           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
    9784           linknames='
    9785         # The linker will not automatically build a static lib if we build a DLL.
    9786         # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
    9787         enable_shared_with_static_runtimes=yes
    9788         exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
    9789         export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
    9790         # Don't use ranlib
    9791         old_postinstall_cmds='chmod 644 $oldlib'
    9792         postlink_cmds='lt_outputfile="@OUTPUT@"~
    9793           lt_tool_outputfile="@TOOL_OUTPUT@"~
    9794           case $lt_outputfile in
    9795             *.exe|*.EXE) ;;
    9796             *)
    9797               lt_outputfile=$lt_outputfile.exe
    9798               lt_tool_outputfile=$lt_tool_outputfile.exe
    9799               ;;
    9800           esac~
    9801           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
    9802             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
    9803             $RM "$lt_outputfile.manifest";
    9804           fi'
    9805         ;;
    9806       *)
    9807         # Assume MSVC wrapper
    9808         hardcode_libdir_flag_spec=' '
    9809         allow_undefined_flag=unsupported
    9810         # Tell ltmain to make .lib files, not .a files.
    9811         libext=lib
    9812         # Tell ltmain to make .dll files, not .so files.
    9813         shrext_cmds=.dll
    9814         # FIXME: Setting linknames here is a bad hack.
    9815         archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
    9816         # The linker will automatically build a .lib file if we build a DLL.
    9817         old_archive_from_new_cmds='true'
    9818         # FIXME: Should let the user specify the lib program.
    9819         old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
    9820         enable_shared_with_static_runtimes=yes
    9821         ;;
    9822       esac
    9823       ;;
    9824 
    9825     darwin* | rhapsody*)
    9826 
    9827 
    9828   archive_cmds_need_lc=no
    9829   hardcode_direct=no
    9830   hardcode_automatic=yes
    9831   hardcode_shlibpath_var=unsupported
    9832   if test yes = "$lt_cv_ld_force_load"; then
    9833     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\"`'
    9834 
    9835   else
    9836     whole_archive_flag_spec=''
    9837   fi
    9838   link_all_deplibs=yes
    9839   allow_undefined_flag=$_lt_dar_allow_undefined
    9840   case $cc_basename in
    9841      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
    9842      *) _lt_dar_can_shared=$GCC ;;
    9843   esac
    9844   if test yes = "$_lt_dar_can_shared"; then
    9845     output_verbose_link_cmd=func_echo_all
    9846     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
    9847     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
    9848     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"
    9849     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"
    9850 
    9851   else
    9852   ld_shlibs=no
    9853   fi
    9854 
    9855       ;;
    9856 
    9857     dgux*)
    9858       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    9859       hardcode_libdir_flag_spec='-L$libdir'
    9860       hardcode_shlibpath_var=no
    9861       ;;
    9862 
    9863     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
    9864     # support.  Future versions do this automatically, but an explicit c++rt0.o
    9865     # does not break anything, and helps significantly (at the cost of a little
    9866     # extra space).
    9867     freebsd2.2*)
    9868       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
    9869       hardcode_libdir_flag_spec='-R$libdir'
    9870       hardcode_direct=yes
    9871       hardcode_shlibpath_var=no
    9872       ;;
    9873 
    9874     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
    9875     freebsd2.*)
    9876       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
    9877       hardcode_direct=yes
    9878       hardcode_minus_L=yes
    9879       hardcode_shlibpath_var=no
    9880       ;;
    9881 
    9882     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
    9883     freebsd* | dragonfly*)
    9884       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    9885       hardcode_libdir_flag_spec='-R$libdir'
    9886       hardcode_direct=yes
    9887       hardcode_shlibpath_var=no
    9888       ;;
    9889 
    9890     hpux9*)
    9891       if test yes = "$GCC"; then
    9892         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'
    9893       else
    9894         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'
    9895       fi
    9896       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
    9897       hardcode_libdir_separator=:
    9898       hardcode_direct=yes
    9899 
    9900       # hardcode_minus_L: Not really in the search PATH,
    9901       # but as the default location of the library.
    9902       hardcode_minus_L=yes
    9903       export_dynamic_flag_spec='$wl-E'
    9904       ;;
    9905 
    9906     hpux10*)
    9907       if test yes,no = "$GCC,$with_gnu_ld"; then
    9908         archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
    9909       else
    9910         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
    9911       fi
    9912       if test no = "$with_gnu_ld"; then
    9913         hardcode_libdir_flag_spec='$wl+b $wl$libdir'
    9914         hardcode_libdir_separator=:
    9915         hardcode_direct=yes
    9916         hardcode_direct_absolute=yes
    9917         export_dynamic_flag_spec='$wl-E'
    9918         # hardcode_minus_L: Not really in the search PATH,
    9919         # but as the default location of the library.
    9920         hardcode_minus_L=yes
    9921       fi
    9922       ;;
    9923 
    9924     hpux11*)
    9925       if test yes,no = "$GCC,$with_gnu_ld"; then
    9926         case $host_cpu in
    9927         hppa*64*)
    9928           archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
    9929           ;;
    9930         ia64*)
    9931           archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
    9932           ;;
    9933         *)
    9934           archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
    9935           ;;
    9936         esac
    9937       else
    9938         case $host_cpu in
    9939         hppa*64*)
    9940           archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
    9941           ;;
    9942         ia64*)
    9943           archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
    9944           ;;
    9945         *)
    9946 
    9947           # Older versions of the 11.00 compiler do not understand -b yet
    9948           # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
    9949           { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
    9950 $as_echo_n "checking if $CC understands -b... " >&6; }
    9951 if ${lt_cv_prog_compiler__b+:} false; then :
    9952   $as_echo_n "(cached) " >&6
    9953 else
    9954   lt_cv_prog_compiler__b=no
    9955    save_LDFLAGS=$LDFLAGS
    9956    LDFLAGS="$LDFLAGS -b"
    9957    echo "$lt_simple_link_test_code" > conftest.$ac_ext
    9958    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
    9959      # The linker can only warn and ignore the option if not recognized
    9960      # So say no if there are warnings
    9961      if test -s conftest.err; then
    9962        # Append any errors to the config.log.
    9963        cat conftest.err 1>&5
    9964        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
    9965        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
    9966        if diff conftest.exp conftest.er2 >/dev/null; then
    9967          lt_cv_prog_compiler__b=yes
    9968        fi
    9969      else
    9970        lt_cv_prog_compiler__b=yes
    9971      fi
    9972    fi
    9973    $RM -r conftest*
    9974    LDFLAGS=$save_LDFLAGS
    9975 
    9976 fi
    9977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
    9978 $as_echo "$lt_cv_prog_compiler__b" >&6; }
    9979 
    9980 if test yes = "$lt_cv_prog_compiler__b"; then
    9981     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
    9982 else
    9983     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
    9984 fi
    9985 
    9986           ;;
    9987         esac
    9988       fi
    9989       if test no = "$with_gnu_ld"; then
    9990         hardcode_libdir_flag_spec='$wl+b $wl$libdir'
    9991         hardcode_libdir_separator=:
    9992 
    9993         case $host_cpu in
    9994         hppa*64*|ia64*)
    9995           hardcode_direct=no
    9996           hardcode_shlibpath_var=no
    9997           ;;
    9998         *)
    9999           hardcode_direct=yes
    10000           hardcode_direct_absolute=yes
    10001           export_dynamic_flag_spec='$wl-E'
    10002 
    10003           # hardcode_minus_L: Not really in the search PATH,
    10004           # but as the default location of the library.
    10005           hardcode_minus_L=yes
    10006           ;;
    10007         esac
    10008       fi
    10009       ;;
    10010 
    10011     irix5* | irix6* | nonstopux*)
    10012       if test yes = "$GCC"; then
    10013         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'
    10014         # Try to use the -exported_symbol ld option, if it does not
    10015         # work, assume that -exports_file does not work either and
    10016         # implicitly export all symbols.
    10017         # This should be the same for all languages, so no per-tag cache variable.
    10018         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
    10019 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
    10020 if ${lt_cv_irix_exported_symbol+:} false; then :
    10021   $as_echo_n "(cached) " >&6
    10022 else
    10023   save_LDFLAGS=$LDFLAGS
    10024            LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
    10025            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    10026 /* end confdefs.h.  */
    10027 int foo (void) { return 0; }
    10028 _ACEOF
    10029 if ac_fn_c_try_link "$LINENO"; then :
    10030   lt_cv_irix_exported_symbol=yes
    10031 else
    10032   lt_cv_irix_exported_symbol=no
    10033 fi
    10034 rm -f core conftest.err conftest.$ac_objext \
    10035     conftest$ac_exeext conftest.$ac_ext
    10036            LDFLAGS=$save_LDFLAGS
    10037 fi
    10038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
    10039 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
    10040         if test yes = "$lt_cv_irix_exported_symbol"; then
    10041           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'
    10042         fi
    10043         link_all_deplibs=no
    10044       else
    10045         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'
    10046         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'
    10047       fi
    10048       archive_cmds_need_lc='no'
    10049       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
    10050       hardcode_libdir_separator=:
    10051       inherit_rpath=yes
    10052       link_all_deplibs=yes
    10053       ;;
    10054 
    10055     linux*)
    10056       case $cc_basename in
    10057       tcc*)
    10058         # Fabrice Bellard et al's Tiny C Compiler
    10059         ld_shlibs=yes
    10060         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    10061         ;;
    10062       esac
    10063       ;;
    10064 
    10065     netbsd* | netbsdelf*-gnu)
    10066       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
    10067         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
    10068       else
    10069         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
    10070       fi
    10071       hardcode_libdir_flag_spec='-R$libdir'
    10072       hardcode_direct=yes
    10073       hardcode_shlibpath_var=no
    10074       ;;
    10075 
    10076     newsos6)
    10077       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    10078       hardcode_direct=yes
    10079       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
    10080       hardcode_libdir_separator=:
    10081       hardcode_shlibpath_var=no
    10082       ;;
    10083 
    10084     *nto* | *qnx*)
    10085       ;;
    10086 
    10087     openbsd* | bitrig*)
    10088       if test -f /usr/libexec/ld.so; then
    10089         hardcode_direct=yes
    10090         hardcode_shlibpath_var=no
    10091         hardcode_direct_absolute=yes
    10092         if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
    10093           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    10094           archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
    10095           hardcode_libdir_flag_spec='$wl-rpath,$libdir'
    10096           export_dynamic_flag_spec='$wl-E'
    10097         else
    10098           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
    10099           hardcode_libdir_flag_spec='$wl-rpath,$libdir'
    10100         fi
    10101       else
    10102         ld_shlibs=no
    10103       fi
    10104       ;;
    10105 
    10106     os2*)
    10107       hardcode_libdir_flag_spec='-L$libdir'
    10108       hardcode_minus_L=yes
    10109       allow_undefined_flag=unsupported
    10110       shrext_cmds=.dll
    10111       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
    10112         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
    10113         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
    10114         $ECHO EXPORTS >> $output_objdir/$libname.def~
    10115         emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
    10116         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
    10117         emximp -o $lib $output_objdir/$libname.def'
    10118       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
    10119         $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
    10120         $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
    10121         $ECHO EXPORTS >> $output_objdir/$libname.def~
    10122         prefix_cmds="$SED"~
    10123         if test EXPORTS = "`$SED 1q $export_symbols`"; then
    10124           prefix_cmds="$prefix_cmds -e 1d";
    10125         fi~
    10126         prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
    10127         cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
    10128         $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
    10129         emximp -o $lib $output_objdir/$libname.def'
    10130       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
    10131       enable_shared_with_static_runtimes=yes
    10132       ;;
    10133 
    10134     osf3*)
    10135       if test yes = "$GCC"; then
    10136         allow_undefined_flag=' $wl-expect_unresolved $wl\*'
    10137         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'
    10138       else
    10139         allow_undefined_flag=' -expect_unresolved \*'
    10140         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'
    10141       fi
    10142       archive_cmds_need_lc='no'
    10143       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
    10144       hardcode_libdir_separator=:
    10145       ;;
    10146 
    10147     osf4* | osf5*)      # as osf3* with the addition of -msym flag
    10148       if test yes = "$GCC"; then
    10149         allow_undefined_flag=' $wl-expect_unresolved $wl\*'
    10150         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'
    10151         hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
    10152       else
    10153         allow_undefined_flag=' -expect_unresolved \*'
    10154         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'
    10155         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~
    10156           $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'
    10157 
    10158         # Both c and cxx compiler support -rpath directly
    10159         hardcode_libdir_flag_spec='-rpath $libdir'
    10160       fi
    10161       archive_cmds_need_lc='no'
    10162       hardcode_libdir_separator=:
    10163       ;;
    10164 
    10165     solaris*)
    10166       no_undefined_flag=' -z defs'
    10167       if test yes = "$GCC"; then
    10168         wlarc='$wl'
    10169         archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
    10170         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    10171           $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'
    10172       else
    10173         case `$CC -V 2>&1` in
    10174         *"Compilers 5.0"*)
    10175           wlarc=''
    10176           archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
    10177           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    10178             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
    10179           ;;
    10180         *)
    10181           wlarc='$wl'
    10182           archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
    10183           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    10184             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
    10185           ;;
    10186         esac
    10187       fi
    10188       hardcode_libdir_flag_spec='-R$libdir'
    10189       hardcode_shlibpath_var=no
    10190       case $host_os in
    10191       solaris2.[0-5] | solaris2.[0-5].*) ;;
    10192       *)
    10193         # The compiler driver will combine and reorder linker options,
    10194         # but understands '-z linker_flag'.  GCC discards it without '$wl',
    10195         # but is careful enough not to reorder.
    10196         # Supported since Solaris 2.6 (maybe 2.5.1?)
    10197         if test yes = "$GCC"; then
    10198           whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
    10199         else
    10200           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
    10201         fi
    10202         ;;
    10203       esac
    10204       link_all_deplibs=yes
    10205       ;;
    10206 
    10207     sunos4*)
    10208       if test sequent = "$host_vendor"; then
    10209         # Use $CC to link under sequent, because it throws in some extra .o
    10210         # files that make .init and .fini sections work.
    10211         archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
    10212       else
    10213         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
    10214       fi
    10215       hardcode_libdir_flag_spec='-L$libdir'
    10216       hardcode_direct=yes
    10217       hardcode_minus_L=yes
    10218       hardcode_shlibpath_var=no
    10219       ;;
    10220 
    10221     sysv4)
    10222       case $host_vendor in
    10223         sni)
    10224           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    10225           hardcode_direct=yes # is this really true???
    10226         ;;
    10227         siemens)
    10228           ## LD is ld it makes a PLAMLIB
    10229           ## CC just makes a GrossModule.
    10230           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
    10231           reload_cmds='$CC -r -o $output$reload_objs'
    10232           hardcode_direct=no
    10233         ;;
    10234         motorola)
    10235           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    10236           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
    10237         ;;
    10238       esac
    10239       runpath_var='LD_RUN_PATH'
    10240       hardcode_shlibpath_var=no
    10241       ;;
    10242 
    10243     sysv4.3*)
    10244       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    10245       hardcode_shlibpath_var=no
    10246       export_dynamic_flag_spec='-Bexport'
    10247       ;;
    10248 
    10249     sysv4*MP*)
    10250       if test -d /usr/nec; then
    10251         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    10252         hardcode_shlibpath_var=no
    10253         runpath_var=LD_RUN_PATH
    10254         hardcode_runpath_var=yes
    10255         ld_shlibs=yes
    10256       fi
    10257       ;;
    10258 
    10259     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
    10260       no_undefined_flag='$wl-z,text'
    10261       archive_cmds_need_lc=no
    10262       hardcode_shlibpath_var=no
    10263       runpath_var='LD_RUN_PATH'
    10264 
    10265       if test yes = "$GCC"; then
    10266         archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    10267         archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    10268       else
    10269         archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    10270         archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    10271       fi
    10272       ;;
    10273 
    10274     sysv5* | sco3.2v5* | sco5v6*)
    10275       # Note: We CANNOT use -z defs as we might desire, because we do not
    10276       # link with -lc, and that would cause any symbols used from libc to
    10277       # always be unresolved, which means just about no library would
    10278       # ever link correctly.  If we're not using GNU ld we use -z text
    10279       # though, which does catch some bad symbols but isn't as heavy-handed
    10280       # as -z defs.
    10281       no_undefined_flag='$wl-z,text'
    10282       allow_undefined_flag='$wl-z,nodefs'
    10283       archive_cmds_need_lc=no
    10284       hardcode_shlibpath_var=no
    10285       hardcode_libdir_flag_spec='$wl-R,$libdir'
    10286       hardcode_libdir_separator=':'
    10287       link_all_deplibs=yes
    10288       export_dynamic_flag_spec='$wl-Bexport'
    10289       runpath_var='LD_RUN_PATH'
    10290 
    10291       if test yes = "$GCC"; then
    10292         archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    10293         archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    10294       else
    10295         archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    10296         archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    10297       fi
    10298       ;;
    10299 
    10300     uts4*)
    10301       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
    10302       hardcode_libdir_flag_spec='-L$libdir'
    10303       hardcode_shlibpath_var=no
    10304       ;;
    10305 
    10306     *)
    10307       ld_shlibs=no
    10308       ;;
    10309     esac
    10310 
    10311     if test sni = "$host_vendor"; then
    10312       case $host in
    10313       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
    10314         export_dynamic_flag_spec='$wl-Blargedynsym'
    10315         ;;
    10316       esac
    10317     fi
    10318   fi
    10319 
    10320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
    10321 $as_echo "$ld_shlibs" >&6; }
    10322 test no = "$ld_shlibs" && can_build_shared=no
    10323 
    10324 with_gnu_ld=$with_gnu_ld
    10325 
    10326 
    10327 
    10328 
    10329 
    10330 
    10331 
    10332 
    10333 
    10334 
    10335 
    10336 
    10337 
    10338 
    10339 
    10340 #
    10341 # Do we need to explicitly link libc?
    10342 #
    10343 case "x$archive_cmds_need_lc" in
    10344 x|xyes)
    10345   # Assume -lc should be added
    10346   archive_cmds_need_lc=yes
    10347 
    10348   if test yes,yes = "$GCC,$enable_shared"; then
    10349     case $archive_cmds in
    10350     *'~'*)
    10351       # FIXME: we may have to deal with multi-command sequences.
    10352       ;;
    10353     '$CC '*)
    10354       # Test whether the compiler implicitly links with -lc since on some
    10355       # systems, -lgcc has to come before -lc. If gcc already passes -lc
    10356       # to ld, don't add -lc before -lgcc.
    10357       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
    10358 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
    10359 if ${lt_cv_archive_cmds_need_lc+:} false; then :
    10360   $as_echo_n "(cached) " >&6
    10361 else
    10362   $RM conftest*
    10363         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    10364 
    10365         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
    10366   (eval $ac_compile) 2>&5
    10367   ac_status=$?
    10368   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    10369   test $ac_status = 0; } 2>conftest.err; then
    10370           soname=conftest
    10371           lib=conftest
    10372           libobjs=conftest.$ac_objext
    10373           deplibs=
    10374           wl=$lt_prog_compiler_wl
    10375           pic_flag=$lt_prog_compiler_pic
    10376           compiler_flags=-v
    10377           linker_flags=-v
    10378           verstring=
    10379           output_objdir=.
    10380           libname=conftest
    10381           lt_save_allow_undefined_flag=$allow_undefined_flag
    10382           allow_undefined_flag=
    10383           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
    10384   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
    10385   ac_status=$?
    10386   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    10387   test $ac_status = 0; }
    10388           then
    10389             lt_cv_archive_cmds_need_lc=no
    10390           else
    10391             lt_cv_archive_cmds_need_lc=yes
    10392           fi
    10393           allow_undefined_flag=$lt_save_allow_undefined_flag
    10394         else
    10395           cat conftest.err 1>&5
    10396         fi
    10397         $RM conftest*
    10398 
    10399 fi
    10400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
    10401 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
    10402       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
    10403       ;;
    10404     esac
    10405   fi
    10406   ;;
    10407 esac
    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 
    10558 
    10559 
    10560   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
    10561 $as_echo_n "checking dynamic linker characteristics... " >&6; }
    10562 
    10563 if test yes = "$GCC"; then
    10564   case $host_os in
    10565     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
    10566     *) lt_awk_arg='/^libraries:/' ;;
    10567   esac
    10568   case $host_os in
    10569     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
    10570     *) lt_sed_strip_eq='s|=/|/|g' ;;
    10571   esac
    10572   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
    10573   case $lt_search_path_spec in
    10574   *\;*)
    10575     # if the path contains ";" then we assume it to be the separator
    10576     # otherwise default to the standard path separator (i.e. ":") - it is
    10577     # assumed that no part of a normal pathname contains ";" but that should
    10578     # okay in the real world where ";" in dirpaths is itself problematic.
    10579     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
    10580     ;;
    10581   *)
    10582     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
    10583     ;;
    10584   esac
    10585   # Ok, now we have the path, separated by spaces, we can step through it
    10586   # and add multilib dir if necessary...
    10587   lt_tmp_lt_search_path_spec=
    10588   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
    10589   # ...but if some path component already ends with the multilib dir we assume
    10590   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
    10591   case "$lt_multi_os_dir; $lt_search_path_spec " in
    10592   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
    10593     lt_multi_os_dir=
    10594     ;;
    10595   esac
    10596   for lt_sys_path in $lt_search_path_spec; do
    10597     if test -d "$lt_sys_path$lt_multi_os_dir"; then
    10598       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
    10599     elif test -n "$lt_multi_os_dir"; then
    10600       test -d "$lt_sys_path" && \
    10601         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
    10602     fi
    10603   done
    10604   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
    10605 BEGIN {RS = " "; FS = "/|\n";} {
    10606   lt_foo = "";
    10607   lt_count = 0;
    10608   for (lt_i = NF; lt_i > 0; lt_i--) {
    10609     if ($lt_i != "" && $lt_i != ".") {
    10610       if ($lt_i == "..") {
    10611         lt_count++;
    10612       } else {
    10613         if (lt_count == 0) {
    10614           lt_foo = "/" $lt_i lt_foo;
    10615         } else {
    10616           lt_count--;
    10617         }
    10618       }
    10619     }
    10620   }
    10621   if (lt_foo != "") { lt_freq[lt_foo]++; }
    10622   if (lt_freq[lt_foo] == 1) { print lt_foo; }
    10623 }'`
    10624   # AWK program above erroneously prepends '/' to C:/dos/paths
    10625   # for these hosts.
    10626   case $host_os in
    10627     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
    10628       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
    10629   esac
    10630   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
    10631 else
    10632   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
    10633 fi
    10634 library_names_spec=
    10635 libname_spec='lib$name'
    10636 soname_spec=
    10637 shrext_cmds=.so
    10638 postinstall_cmds=
    10639 postuninstall_cmds=
    10640 finish_cmds=
    10641 finish_eval=
    10642 shlibpath_var=
    10643 shlibpath_overrides_runpath=unknown
    10644 version_type=none
    10645 dynamic_linker="$host_os ld.so"
    10646 sys_lib_dlsearch_path_spec="/lib /usr/lib"
    10647 need_lib_prefix=unknown
    10648 hardcode_into_libs=no
    10649 
    10650 # when you set need_version to no, make sure it does not cause -set_version
    10651 # flags to be left without arguments
    10652 need_version=unknown
    10653 
    10654 
    10655 
    10656 case $host_os in
    10657 aix3*)
    10658   version_type=linux # correct to gnu/linux during the next big refactor
    10659   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
    10660   shlibpath_var=LIBPATH
    10661 
    10662   # AIX 3 has no versioning support, so we append a major version to the name.
    10663   soname_spec='$libname$release$shared_ext$major'
    10664   ;;
    10665 
    10666 aix[4-9]*)
    10667   version_type=linux # correct to gnu/linux during the next big refactor
    10668   need_lib_prefix=no
    10669   need_version=no
    10670   hardcode_into_libs=yes
    10671   if test ia64 = "$host_cpu"; then
    10672     # AIX 5 supports IA64
    10673     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
    10674     shlibpath_var=LD_LIBRARY_PATH
    10675   else
    10676     # With GCC up to 2.95.x, collect2 would create an import file
    10677     # for dependence libraries.  The import file would start with
    10678     # the line '#! .'.  This would cause the generated library to
    10679     # depend on '.', always an invalid library.  This was fixed in
    10680     # development snapshots of GCC prior to 3.0.
    10681     case $host_os in
    10682       aix4 | aix4.[01] | aix4.[01].*)
    10683       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
    10684            echo ' yes '
    10685            echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
    10686         :
    10687       else
    10688         can_build_shared=no
    10689       fi
    10690       ;;
    10691     esac
    10692     # Using Import Files as archive members, it is possible to support
    10693     # filename-based versioning of shared library archives on AIX. While
    10694     # this would work for both with and without runtime linking, it will
    10695     # prevent static linking of such archives. So we do filename-based
    10696     # shared library versioning with .so extension only, which is used
    10697     # when both runtime linking and shared linking is enabled.
    10698     # Unfortunately, runtime linking may impact performance, so we do
    10699     # not want this to be the default eventually. Also, we use the
    10700     # versioned .so libs for executables only if there is the -brtl
    10701     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
    10702     # To allow for filename-based versioning support, we need to create
    10703     # libNAME.so.V as an archive file, containing:
    10704     # *) an Import File, referring to the versioned filename of the
    10705     #    archive as well as the shared archive member, telling the
    10706     #    bitwidth (32 or 64) of that shared object, and providing the
    10707     #    list of exported symbols of that shared object, eventually
    10708     #    decorated with the 'weak' keyword
    10709     # *) the shared object with the F_LOADONLY flag set, to really avoid
    10710     #    it being seen by the linker.
    10711     # At run time we better use the real file rather than another symlink,
    10712     # but for link time we create the symlink libNAME.so -> libNAME.so.V
    10713 
    10714     case $with_aix_soname,$aix_use_runtimelinking in
    10715     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
    10716     # soname into executable. Probably we can add versioning support to
    10717     # collect2, so additional links can be useful in future.
    10718     aix,yes) # traditional libtool
    10719       dynamic_linker='AIX unversionable lib.so'
    10720       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
    10721       # instead of lib<name>.a to let people know that these are not
    10722       # typical AIX shared libraries.
    10723       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    10724       ;;
    10725     aix,no) # traditional AIX only
    10726       dynamic_linker='AIX lib.a(lib.so.V)'
    10727       # We preserve .a as extension for shared libraries through AIX4.2
    10728       # and later when we are not doing run time linking.
    10729       library_names_spec='$libname$release.a $libname.a'
    10730       soname_spec='$libname$release$shared_ext$major'
    10731       ;;
    10732     svr4,*) # full svr4 only
    10733       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
    10734       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
    10735       # We do not specify a path in Import Files, so LIBPATH fires.
    10736       shlibpath_overrides_runpath=yes
    10737       ;;
    10738     *,yes) # both, prefer svr4
    10739       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
    10740       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
    10741       # unpreferred sharedlib libNAME.a needs extra handling
    10742       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"'
    10743       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"'
    10744       # We do not specify a path in Import Files, so LIBPATH fires.
    10745       shlibpath_overrides_runpath=yes
    10746       ;;
    10747     *,no) # both, prefer aix
    10748       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
    10749       library_names_spec='$libname$release.a $libname.a'
    10750       soname_spec='$libname$release$shared_ext$major'
    10751       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
    10752       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)'
    10753       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"'
    10754       ;;
    10755     esac
    10756     shlibpath_var=LIBPATH
    10757   fi
    10758   ;;
    10759 
    10760 amigaos*)
    10761   case $host_cpu in
    10762   powerpc)
    10763     # Since July 2007 AmigaOS4 officially supports .so libraries.
    10764     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
    10765     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    10766     ;;
    10767   m68k)
    10768     library_names_spec='$libname.ixlibrary $libname.a'
    10769     # Create ${libname}_ixlibrary.a entries in /sys/libs.
    10770     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'
    10771     ;;
    10772   esac
    10773   ;;
    10774 
    10775 beos*)
    10776   library_names_spec='$libname$shared_ext'
    10777   dynamic_linker="$host_os ld.so"
    10778   shlibpath_var=LIBRARY_PATH
    10779   ;;
    10780 
    10781 bsdi[45]*)
    10782   version_type=linux # correct to gnu/linux during the next big refactor
    10783   need_version=no
    10784   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    10785   soname_spec='$libname$release$shared_ext$major'
    10786   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
    10787   shlibpath_var=LD_LIBRARY_PATH
    10788   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
    10789   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
    10790   # the default ld.so.conf also contains /usr/contrib/lib and
    10791   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
    10792   # libtool to hard-code these into programs
    10793   ;;
    10794 
    10795 cygwin* | mingw* | pw32* | cegcc*)
    10796   version_type=windows
    10797   shrext_cmds=.dll
    10798   need_version=no
    10799   need_lib_prefix=no
    10800 
    10801   case $GCC,$cc_basename in
    10802   yes,*)
    10803     # gcc
    10804     library_names_spec='$libname.dll.a'
    10805     # DLL is installed to $(libdir)/../bin by postinstall_cmds
    10806     postinstall_cmds='base_file=`basename \$file`~
    10807       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
    10808       dldir=$destdir/`dirname \$dlpath`~
    10809       test -d \$dldir || mkdir -p \$dldir~
    10810       $install_prog $dir/$dlname \$dldir/$dlname~
    10811       chmod a+x \$dldir/$dlname~
    10812       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
    10813         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
    10814       fi'
    10815     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
    10816       dlpath=$dir/\$dldll~
    10817        $RM \$dlpath'
    10818     shlibpath_overrides_runpath=yes
    10819 
    10820     case $host_os in
    10821     cygwin*)
    10822       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
    10823       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
    10824 
    10825       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
    10826       ;;
    10827     mingw* | cegcc*)
    10828       # MinGW DLLs use traditional 'lib' prefix
    10829       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
    10830       ;;
    10831     pw32*)
    10832       # pw32 DLLs use 'pw' prefix rather than 'lib'
    10833       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
    10834       ;;
    10835     esac
    10836     dynamic_linker='Win32 ld.exe'
    10837     ;;
    10838 
    10839   *,cl*)
    10840     # Native MSVC
    10841     libname_spec='$name'
    10842     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
    10843     library_names_spec='$libname.dll.lib'
    10844 
    10845     case $build_os in
    10846     mingw*)
    10847       sys_lib_search_path_spec=
    10848       lt_save_ifs=$IFS
    10849       IFS=';'
    10850       for lt_path in $LIB
    10851       do
    10852         IFS=$lt_save_ifs
    10853         # Let DOS variable expansion print the short 8.3 style file name.
    10854         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
    10855         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
    10856       done
    10857       IFS=$lt_save_ifs
    10858       # Convert to MSYS style.
    10859       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
    10860       ;;
    10861     cygwin*)
    10862       # Convert to unix form, then to dos form, then back to unix form
    10863       # but this time dos style (no spaces!) so that the unix form looks
    10864       # like /cygdrive/c/PROGRA~1:/cygdr...
    10865       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
    10866       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
    10867       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
    10868       ;;
    10869     *)
    10870       sys_lib_search_path_spec=$LIB
    10871       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
    10872         # It is most probably a Windows format PATH.
    10873         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
    10874       else
    10875         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
    10876       fi
    10877       # FIXME: find the short name or the path components, as spaces are
    10878       # common. (e.g. "Program Files" -> "PROGRA~1")
    10879       ;;
    10880     esac
    10881 
    10882     # DLL is installed to $(libdir)/../bin by postinstall_cmds
    10883     postinstall_cmds='base_file=`basename \$file`~
    10884       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
    10885       dldir=$destdir/`dirname \$dlpath`~
    10886       test -d \$dldir || mkdir -p \$dldir~
    10887       $install_prog $dir/$dlname \$dldir/$dlname'
    10888     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
    10889       dlpath=$dir/\$dldll~
    10890        $RM \$dlpath'
    10891     shlibpath_overrides_runpath=yes
    10892     dynamic_linker='Win32 link.exe'
    10893     ;;
    10894 
    10895   *)
    10896     # Assume MSVC wrapper
    10897     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
    10898     dynamic_linker='Win32 ld.exe'
    10899     ;;
    10900   esac
    10901   # FIXME: first we should search . and the directory the executable is in
    10902   shlibpath_var=PATH
    10903   ;;
    10904 
    10905 darwin* | rhapsody*)
    10906   dynamic_linker="$host_os dyld"
    10907   version_type=darwin
    10908   need_lib_prefix=no
    10909   need_version=no
    10910   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
    10911   soname_spec='$libname$release$major$shared_ext'
    10912   shlibpath_overrides_runpath=yes
    10913   shlibpath_var=DYLD_LIBRARY_PATH
    10914   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
    10915 
    10916   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
    10917   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
    10918   ;;
    10919 
    10920 dgux*)
    10921   version_type=linux # correct to gnu/linux during the next big refactor
    10922   need_lib_prefix=no
    10923   need_version=no
    10924   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    10925   soname_spec='$libname$release$shared_ext$major'
    10926   shlibpath_var=LD_LIBRARY_PATH
    10927   ;;
    10928 
    10929 freebsd* | dragonfly*)
    10930   # DragonFly does not have aout.  When/if they implement a new
    10931   # versioning mechanism, adjust this.
    10932   if test -x /usr/bin/objformat; then
    10933     objformat=`/usr/bin/objformat`
    10934   else
    10935     case $host_os in
    10936     freebsd[23].*) objformat=aout ;;
    10937     *) objformat=elf ;;
    10938     esac
    10939   fi
    10940   version_type=freebsd-$objformat
    10941   case $version_type in
    10942     freebsd-elf*)
    10943       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    10944       soname_spec='$libname$release$shared_ext$major'
    10945       need_version=no
    10946       need_lib_prefix=no
    10947       ;;
    10948     freebsd-*)
    10949       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    10950       need_version=yes
    10951       ;;
    10952   esac
    10953   shlibpath_var=LD_LIBRARY_PATH
    10954   case $host_os in
    10955   freebsd2.*)
    10956     shlibpath_overrides_runpath=yes
    10957     ;;
    10958   freebsd3.[01]* | freebsdelf3.[01]*)
    10959     shlibpath_overrides_runpath=yes
    10960     hardcode_into_libs=yes
    10961     ;;
    10962   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
    10963   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
    10964     shlibpath_overrides_runpath=no
    10965     hardcode_into_libs=yes
    10966     ;;
    10967   *) # from 4.6 on, and DragonFly
    10968     shlibpath_overrides_runpath=yes
    10969     hardcode_into_libs=yes
    10970     ;;
    10971   esac
    10972   ;;
    10973 
    10974 haiku*)
    10975   version_type=linux # correct to gnu/linux during the next big refactor
    10976   need_lib_prefix=no
    10977   need_version=no
    10978   dynamic_linker="$host_os runtime_loader"
    10979   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    10980   soname_spec='$libname$release$shared_ext$major'
    10981   shlibpath_var=LIBRARY_PATH
    10982   shlibpath_overrides_runpath=no
    10983   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
    10984   hardcode_into_libs=yes
    10985   ;;
    10986 
    10987 hpux9* | hpux10* | hpux11*)
    10988   # Give a soname corresponding to the major version so that dld.sl refuses to
    10989   # link against other versions.
    10990   version_type=sunos
    10991   need_lib_prefix=no
    10992   need_version=no
    10993   case $host_cpu in
    10994   ia64*)
    10995     shrext_cmds='.so'
    10996     hardcode_into_libs=yes
    10997     dynamic_linker="$host_os dld.so"
    10998     shlibpath_var=LD_LIBRARY_PATH
    10999     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
    11000     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    11001     soname_spec='$libname$release$shared_ext$major'
    11002     if test 32 = "$HPUX_IA64_MODE"; then
    11003       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
    11004       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
    11005     else
    11006       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
    11007       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
    11008     fi
    11009     ;;
    11010   hppa*64*)
    11011     shrext_cmds='.sl'
    11012     hardcode_into_libs=yes
    11013     dynamic_linker="$host_os dld.sl"
    11014     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
    11015     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
    11016     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    11017     soname_spec='$libname$release$shared_ext$major'
    11018     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
    11019     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    11020     ;;
    11021   *)
    11022     shrext_cmds='.sl'
    11023     dynamic_linker="$host_os dld.sl"
    11024     shlibpath_var=SHLIB_PATH
    11025     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
    11026     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    11027     soname_spec='$libname$release$shared_ext$major'
    11028     ;;
    11029   esac
    11030   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
    11031   postinstall_cmds='chmod 555 $lib'
    11032   # or fails outright, so override atomically:
    11033   install_override_mode=555
    11034   ;;
    11035 
    11036 interix[3-9]*)
    11037   version_type=linux # correct to gnu/linux during the next big refactor
    11038   need_lib_prefix=no
    11039   need_version=no
    11040   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    11041   soname_spec='$libname$release$shared_ext$major'
    11042   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
    11043   shlibpath_var=LD_LIBRARY_PATH
    11044   shlibpath_overrides_runpath=no
    11045   hardcode_into_libs=yes
    11046   ;;
    11047 
    11048 irix5* | irix6* | nonstopux*)
    11049   case $host_os in
    11050     nonstopux*) version_type=nonstopux ;;
    11051     *)
    11052         if test yes = "$lt_cv_prog_gnu_ld"; then
    11053                 version_type=linux # correct to gnu/linux during the next big refactor
    11054         else
    11055                 version_type=irix
    11056         fi ;;
    11057   esac
    11058   need_lib_prefix=no
    11059   need_version=no
    11060   soname_spec='$libname$release$shared_ext$major'
    11061   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
    11062   case $host_os in
    11063   irix5* | nonstopux*)
    11064     libsuff= shlibsuff=
    11065     ;;
    11066   *)
    11067     case $LD in # libtool.m4 will add one of these switches to LD
    11068     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
    11069       libsuff= shlibsuff= libmagic=32-bit;;
    11070     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
    11071       libsuff=32 shlibsuff=N32 libmagic=N32;;
    11072     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
    11073       libsuff=64 shlibsuff=64 libmagic=64-bit;;
    11074     *) libsuff= shlibsuff= libmagic=never-match;;
    11075     esac
    11076     ;;
    11077   esac
    11078   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
    11079   shlibpath_overrides_runpath=no
    11080   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
    11081   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
    11082   hardcode_into_libs=yes
    11083   ;;
    11084 
    11085 # No shared lib support for Linux oldld, aout, or coff.
    11086 linux*oldld* | linux*aout* | linux*coff*)
    11087   dynamic_linker=no
    11088   ;;
    11089 
    11090 linux*android*)
    11091   version_type=none # Android doesn't support versioned libraries.
    11092   need_lib_prefix=no
    11093   need_version=no
    11094   library_names_spec='$libname$release$shared_ext'
    11095   soname_spec='$libname$release$shared_ext'
    11096   finish_cmds=
    11097   shlibpath_var=LD_LIBRARY_PATH
    11098   shlibpath_overrides_runpath=yes
    11099 
    11100   # This implies no fast_install, which is unacceptable.
    11101   # Some rework will be needed to allow for fast_install
    11102   # before this can be enabled.
    11103   hardcode_into_libs=yes
    11104 
    11105   dynamic_linker='Android linker'
    11106   # Don't embed -rpath directories since the linker doesn't support them.
    11107   hardcode_libdir_flag_spec='-L$libdir'
    11108   ;;
    11109 
    11110 # This must be glibc/ELF.
    11111 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
    11112   version_type=linux # correct to gnu/linux during the next big refactor
    11113   need_lib_prefix=no
    11114   need_version=no
    11115   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    11116   soname_spec='$libname$release$shared_ext$major'
    11117   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
    11118   shlibpath_var=LD_LIBRARY_PATH
    11119   shlibpath_overrides_runpath=no
    11120 
    11121   # Some binutils ld are patched to set DT_RUNPATH
    11122   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
    11123   $as_echo_n "(cached) " >&6
    11124 else
    11125   lt_cv_shlibpath_overrides_runpath=no
    11126     save_LDFLAGS=$LDFLAGS
    11127     save_libdir=$libdir
    11128     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
    11129          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
    11130     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    11131 /* end confdefs.h.  */
    11132 
    11133 int
    11134 main ()
    11135 {
    11136 
    11137   ;
    11138   return 0;
    11139 }
    11140 _ACEOF
    11141 if ac_fn_c_try_link "$LINENO"; then :
    11142   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
    11143   lt_cv_shlibpath_overrides_runpath=yes
    11144 fi
    11145 fi
    11146 rm -f core conftest.err conftest.$ac_objext \
    11147     conftest$ac_exeext conftest.$ac_ext
    11148     LDFLAGS=$save_LDFLAGS
    11149     libdir=$save_libdir
    11150 
    11151 fi
    11152 
    11153   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
    11154 
    11155   # This implies no fast_install, which is unacceptable.
    11156   # Some rework will be needed to allow for fast_install
    11157   # before this can be enabled.
    11158   hardcode_into_libs=yes
    11159 
    11160   # Ideally, we could use ldconfig to report *all* directores which are
    11161   # searched for libraries, however this is still not possible.  Aside from not
    11162   # being certain /sbin/ldconfig is available, command
    11163   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
    11164   # even though it is searched at run-time.  Try to do the best guess by
    11165   # appending ld.so.conf contents (and includes) to the search path.
    11166   if test -f /etc/ld.so.conf; then
    11167     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' ' '`
    11168     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
    11169   fi
    11170 
    11171   # We used to test for /lib/ld.so.1 and disable shared libraries on
    11172   # powerpc, because MkLinux only supported shared libraries with the
    11173   # GNU dynamic linker.  Since this was broken with cross compilers,
    11174   # most powerpc-linux boxes support dynamic linking these days and
    11175   # people can always --disable-shared, the test was removed, and we
    11176   # assume the GNU/Linux dynamic linker is in use.
    11177   dynamic_linker='GNU/Linux ld.so'
    11178   ;;
    11179 
    11180 netbsdelf*-gnu)
    11181   version_type=linux
    11182   need_lib_prefix=no
    11183   need_version=no
    11184   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    11185   soname_spec='${libname}${release}${shared_ext}$major'
    11186   shlibpath_var=LD_LIBRARY_PATH
    11187   shlibpath_overrides_runpath=no
    11188   hardcode_into_libs=yes
    11189   dynamic_linker='NetBSD ld.elf_so'
    11190   ;;
    11191 
    11192 netbsd*)
    11193   version_type=sunos
    11194   need_lib_prefix=no
    11195   need_version=no
    11196   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
    11197     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    11198     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    11199     dynamic_linker='NetBSD (a.out) ld.so'
    11200   else
    11201     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    11202     soname_spec='$libname$release$shared_ext$major'
    11203     dynamic_linker='NetBSD ld.elf_so'
    11204   fi
    11205   shlibpath_var=LD_LIBRARY_PATH
    11206   shlibpath_overrides_runpath=yes
    11207   hardcode_into_libs=yes
    11208   ;;
    11209 
    11210 newsos6)
    11211   version_type=linux # correct to gnu/linux during the next big refactor
    11212   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    11213   shlibpath_var=LD_LIBRARY_PATH
    11214   shlibpath_overrides_runpath=yes
    11215   ;;
    11216 
    11217 *nto* | *qnx*)
    11218   version_type=qnx
    11219   need_lib_prefix=no
    11220   need_version=no
    11221   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    11222   soname_spec='$libname$release$shared_ext$major'
    11223   shlibpath_var=LD_LIBRARY_PATH
    11224   shlibpath_overrides_runpath=no
    11225   hardcode_into_libs=yes
    11226   dynamic_linker='ldqnx.so'
    11227   ;;
    11228 
    11229 openbsd* | bitrig*)
    11230   version_type=sunos
    11231   sys_lib_dlsearch_path_spec=/usr/lib
    11232   need_lib_prefix=no
    11233   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
    11234     need_version=no
    11235   else
    11236     need_version=yes
    11237   fi
    11238   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    11239   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    11240   shlibpath_var=LD_LIBRARY_PATH
    11241   shlibpath_overrides_runpath=yes
    11242   ;;
    11243 
    11244 os2*)
    11245   libname_spec='$name'
    11246   version_type=windows
    11247   shrext_cmds=.dll
    11248   need_version=no
    11249   need_lib_prefix=no
    11250   # OS/2 can only load a DLL with a base name of 8 characters or less.
    11251   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
    11252     v=$($ECHO $release$versuffix | tr -d .-);
    11253     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
    11254     $ECHO $n$v`$shared_ext'
    11255   library_names_spec='${libname}_dll.$libext'
    11256   dynamic_linker='OS/2 ld.exe'
    11257   shlibpath_var=BEGINLIBPATH
    11258   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
    11259   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    11260   postinstall_cmds='base_file=`basename \$file`~
    11261     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
    11262     dldir=$destdir/`dirname \$dlpath`~
    11263     test -d \$dldir || mkdir -p \$dldir~
    11264     $install_prog $dir/$dlname \$dldir/$dlname~
    11265     chmod a+x \$dldir/$dlname~
    11266     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
    11267       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
    11268     fi'
    11269   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
    11270     dlpath=$dir/\$dldll~
    11271     $RM \$dlpath'
    11272   ;;
    11273 
    11274 osf3* | osf4* | osf5*)
    11275   version_type=osf
    11276   need_lib_prefix=no
    11277   need_version=no
    11278   soname_spec='$libname$release$shared_ext$major'
    11279   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    11280   shlibpath_var=LD_LIBRARY_PATH
    11281   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
    11282   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    11283   ;;
    11284 
    11285 rdos*)
    11286   dynamic_linker=no
    11287   ;;
    11288 
    11289 solaris*)
    11290   version_type=linux # correct to gnu/linux during the next big refactor
    11291   need_lib_prefix=no
    11292   need_version=no
    11293   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    11294   soname_spec='$libname$release$shared_ext$major'
    11295   shlibpath_var=LD_LIBRARY_PATH
    11296   shlibpath_overrides_runpath=yes
    11297   hardcode_into_libs=yes
    11298   # ldd complains unless libraries are executable
    11299   postinstall_cmds='chmod +x $lib'
    11300   ;;
    11301 
    11302 sunos4*)
    11303   version_type=sunos
    11304   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    11305   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
    11306   shlibpath_var=LD_LIBRARY_PATH
    11307   shlibpath_overrides_runpath=yes
    11308   if test yes = "$with_gnu_ld"; then
    11309     need_lib_prefix=no
    11310   fi
    11311   need_version=yes
    11312   ;;
    11313 
    11314 sysv4 | sysv4.3*)
    11315   version_type=linux # correct to gnu/linux during the next big refactor
    11316   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    11317   soname_spec='$libname$release$shared_ext$major'
    11318   shlibpath_var=LD_LIBRARY_PATH
    11319   case $host_vendor in
    11320     sni)
    11321       shlibpath_overrides_runpath=no
    11322       need_lib_prefix=no
    11323       runpath_var=LD_RUN_PATH
    11324       ;;
    11325     siemens)
    11326       need_lib_prefix=no
    11327       ;;
    11328     motorola)
    11329       need_lib_prefix=no
    11330       need_version=no
    11331       shlibpath_overrides_runpath=no
    11332       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
    11333       ;;
    11334   esac
    11335   ;;
    11336 
    11337 sysv4*MP*)
    11338   if test -d /usr/nec; then
    11339     version_type=linux # correct to gnu/linux during the next big refactor
    11340     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
    11341     soname_spec='$libname$shared_ext.$major'
    11342     shlibpath_var=LD_LIBRARY_PATH
    11343   fi
    11344   ;;
    11345 
    11346 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
    11347   version_type=sco
    11348   need_lib_prefix=no
    11349   need_version=no
    11350   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
    11351   soname_spec='$libname$release$shared_ext$major'
    11352   shlibpath_var=LD_LIBRARY_PATH
    11353   shlibpath_overrides_runpath=yes
    11354   hardcode_into_libs=yes
    11355   if test yes = "$with_gnu_ld"; then
    11356     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
    11357   else
    11358     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
    11359     case $host_os in
    11360       sco3.2v5*)
    11361         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
    11362         ;;
    11363     esac
    11364   fi
    11365   sys_lib_dlsearch_path_spec='/usr/lib'
    11366   ;;
    11367 
    11368 tpf*)
    11369   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
    11370   version_type=linux # correct to gnu/linux during the next big refactor
    11371   need_lib_prefix=no
    11372   need_version=no
    11373   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    11374   shlibpath_var=LD_LIBRARY_PATH
    11375   shlibpath_overrides_runpath=no
    11376   hardcode_into_libs=yes
    11377   ;;
    11378 
    11379 uts4*)
    11380   version_type=linux # correct to gnu/linux during the next big refactor
    11381   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    11382   soname_spec='$libname$release$shared_ext$major'
    11383   shlibpath_var=LD_LIBRARY_PATH
    11384   ;;
    11385 
    11386 *)
    11387   dynamic_linker=no
    11388   ;;
    11389 esac
    11390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
    11391 $as_echo "$dynamic_linker" >&6; }
    11392 test no = "$dynamic_linker" && can_build_shared=no
    11393 
    11394 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
    11395 if test yes = "$GCC"; then
    11396   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
    11397 fi
    11398 
    11399 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
    11400   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
    11401 fi
    11402 
    11403 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
    11404   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
    11405 fi
    11406 
    11407 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
    11408 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
    11409 
    11410 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
    11411 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
    11412 
    11413 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
    11414 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
    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 
    11510 
    11511 
    11512   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
    11513 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
    11514 hardcode_action=
    11515 if test -n "$hardcode_libdir_flag_spec" ||
    11516    test -n "$runpath_var" ||
    11517    test yes = "$hardcode_automatic"; then
    11518 
    11519   # We can hardcode non-existent directories.
    11520   if test no != "$hardcode_direct" &&
    11521      # If the only mechanism to avoid hardcoding is shlibpath_var, we
    11522      # have to relink, otherwise we might link with an installed library
    11523      # when we should be linking with a yet-to-be-installed one
    11524      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
    11525      test no != "$hardcode_minus_L"; then
    11526     # Linking always hardcodes the temporary library directory.
    11527     hardcode_action=relink
    11528   else
    11529     # We can link without hardcoding, and we can hardcode nonexisting dirs.
    11530     hardcode_action=immediate
    11531   fi
    11532 else
    11533   # We cannot hardcode anything, or else we can only hardcode existing
    11534   # directories.
    11535   hardcode_action=unsupported
    11536 fi
    11537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
    11538 $as_echo "$hardcode_action" >&6; }
    11539 
    11540 if test relink = "$hardcode_action" ||
    11541    test yes = "$inherit_rpath"; then
    11542   # Fast installation is not supported
    11543   enable_fast_install=no
    11544 elif test yes = "$shlibpath_overrides_runpath" ||
    11545      test no = "$enable_shared"; then
    11546   # Fast installation is not necessary
    11547   enable_fast_install=needless
    11548 fi
    11549 
    11550 
    11551 
    11552 
    11553 
    11554 
    11555   if test yes != "$enable_dlopen"; then
    11556   enable_dlopen=unknown
    11557   enable_dlopen_self=unknown
    11558   enable_dlopen_self_static=unknown
    11559 else
    11560   lt_cv_dlopen=no
    11561   lt_cv_dlopen_libs=
    11562 
    11563   case $host_os in
    11564   beos*)
    11565     lt_cv_dlopen=load_add_on
    11566     lt_cv_dlopen_libs=
    11567     lt_cv_dlopen_self=yes
    11568     ;;
    11569 
    11570   mingw* | pw32* | cegcc*)
    11571     lt_cv_dlopen=LoadLibrary
    11572     lt_cv_dlopen_libs=
    11573     ;;
    11574 
    11575   cygwin*)
    11576     lt_cv_dlopen=dlopen
    11577     lt_cv_dlopen_libs=
    11578     ;;
    11579 
    11580   darwin*)
    11581     # if libdl is installed we need to link against it
    11582     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
    11583 $as_echo_n "checking for dlopen in -ldl... " >&6; }
    11584 if ${ac_cv_lib_dl_dlopen+:} false; then :
    11585   $as_echo_n "(cached) " >&6
    11586 else
    11587   ac_check_lib_save_LIBS=$LIBS
    11588 LIBS="-ldl  $LIBS"
    11589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    11590 /* end confdefs.h.  */
    11591 
    11592 /* Override any GCC internal prototype to avoid an error.
    11593    Use char because int might match the return type of a GCC
    11594    builtin and then its argument prototype would still apply.  */
    11595 #ifdef __cplusplus
    11596 extern "C"
    11597 #endif
    11598 char dlopen ();
    11599 int
    11600 main ()
    11601 {
    11602 return dlopen ();
    11603   ;
    11604   return 0;
    11605 }
    11606 _ACEOF
    11607 if ac_fn_c_try_link "$LINENO"; then :
    11608   ac_cv_lib_dl_dlopen=yes
    11609 else
    11610   ac_cv_lib_dl_dlopen=no
    11611 fi
    11612 rm -f core conftest.err conftest.$ac_objext \
    11613     conftest$ac_exeext conftest.$ac_ext
    11614 LIBS=$ac_check_lib_save_LIBS
    11615 fi
    11616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
    11617 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
    11618 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
    11619   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
    11620 else
    11621 
    11622     lt_cv_dlopen=dyld
    11623     lt_cv_dlopen_libs=
    11624     lt_cv_dlopen_self=yes
    11625 
    11626 fi
    11627 
    11628     ;;
    11629 
    11630   tpf*)
    11631     # Don't try to run any link tests for TPF.  We know it's impossible
    11632     # because TPF is a cross-compiler, and we know how we open DSOs.
    11633     lt_cv_dlopen=dlopen
    11634     lt_cv_dlopen_libs=
    11635     lt_cv_dlopen_self=no
    11636     ;;
    11637 
    11638   *)
    11639     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
    11640 if test "x$ac_cv_func_shl_load" = xyes; then :
    11641   lt_cv_dlopen=shl_load
    11642 else
    11643   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
    11644 $as_echo_n "checking for shl_load in -ldld... " >&6; }
    11645 if ${ac_cv_lib_dld_shl_load+:} false; then :
    11646   $as_echo_n "(cached) " >&6
    11647 else
    11648   ac_check_lib_save_LIBS=$LIBS
    11649 LIBS="-ldld  $LIBS"
    11650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    11651 /* end confdefs.h.  */
    11652 
    11653 /* Override any GCC internal prototype to avoid an error.
    11654    Use char because int might match the return type of a GCC
    11655    builtin and then its argument prototype would still apply.  */
    11656 #ifdef __cplusplus
    11657 extern "C"
    11658 #endif
    11659 char shl_load ();
    11660 int
    11661 main ()
    11662 {
    11663 return shl_load ();
    11664   ;
    11665   return 0;
    11666 }
    11667 _ACEOF
    11668 if ac_fn_c_try_link "$LINENO"; then :
    11669   ac_cv_lib_dld_shl_load=yes
    11670 else
    11671   ac_cv_lib_dld_shl_load=no
    11672 fi
    11673 rm -f core conftest.err conftest.$ac_objext \
    11674     conftest$ac_exeext conftest.$ac_ext
    11675 LIBS=$ac_check_lib_save_LIBS
    11676 fi
    11677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
    11678 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    11679 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
    11680   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
    11681 else
    11682   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
    11683 if test "x$ac_cv_func_dlopen" = xyes; then :
    11684   lt_cv_dlopen=dlopen
    11685 else
    11686   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
    11687 $as_echo_n "checking for dlopen in -ldl... " >&6; }
    11688 if ${ac_cv_lib_dl_dlopen+:} false; then :
    11689   $as_echo_n "(cached) " >&6
    11690 else
    11691   ac_check_lib_save_LIBS=$LIBS
    11692 LIBS="-ldl  $LIBS"
    11693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    11694 /* end confdefs.h.  */
    11695 
    11696 /* Override any GCC internal prototype to avoid an error.
    11697    Use char because int might match the return type of a GCC
    11698    builtin and then its argument prototype would still apply.  */
    11699 #ifdef __cplusplus
    11700 extern "C"
    11701 #endif
    11702 char dlopen ();
    11703 int
    11704 main ()
    11705 {
    11706 return dlopen ();
    11707   ;
    11708   return 0;
    11709 }
    11710 _ACEOF
    11711 if ac_fn_c_try_link "$LINENO"; then :
    11712   ac_cv_lib_dl_dlopen=yes
    11713 else
    11714   ac_cv_lib_dl_dlopen=no
    11715 fi
    11716 rm -f core conftest.err conftest.$ac_objext \
    11717     conftest$ac_exeext conftest.$ac_ext
    11718 LIBS=$ac_check_lib_save_LIBS
    11719 fi
    11720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
    11721 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
    11722 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
    11723   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
    11724 else
    11725   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
    11726 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
    11727 if ${ac_cv_lib_svld_dlopen+:} false; then :
    11728   $as_echo_n "(cached) " >&6
    11729 else
    11730   ac_check_lib_save_LIBS=$LIBS
    11731 LIBS="-lsvld  $LIBS"
    11732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    11733 /* end confdefs.h.  */
    11734 
    11735 /* Override any GCC internal prototype to avoid an error.
    11736    Use char because int might match the return type of a GCC
    11737    builtin and then its argument prototype would still apply.  */
    11738 #ifdef __cplusplus
    11739 extern "C"
    11740 #endif
    11741 char dlopen ();
    11742 int
    11743 main ()
    11744 {
    11745 return dlopen ();
    11746   ;
    11747   return 0;
    11748 }
    11749 _ACEOF
    11750 if ac_fn_c_try_link "$LINENO"; then :
    11751   ac_cv_lib_svld_dlopen=yes
    11752 else
    11753   ac_cv_lib_svld_dlopen=no
    11754 fi
    11755 rm -f core conftest.err conftest.$ac_objext \
    11756     conftest$ac_exeext conftest.$ac_ext
    11757 LIBS=$ac_check_lib_save_LIBS
    11758 fi
    11759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
    11760 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
    11761 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
    11762   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
    11763 else
    11764   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
    11765 $as_echo_n "checking for dld_link in -ldld... " >&6; }
    11766 if ${ac_cv_lib_dld_dld_link+:} false; then :
    11767   $as_echo_n "(cached) " >&6
    11768 else
    11769   ac_check_lib_save_LIBS=$LIBS
    11770 LIBS="-ldld  $LIBS"
    11771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    11772 /* end confdefs.h.  */
    11773 
    11774 /* Override any GCC internal prototype to avoid an error.
    11775    Use char because int might match the return type of a GCC
    11776    builtin and then its argument prototype would still apply.  */
    11777 #ifdef __cplusplus
    11778 extern "C"
    11779 #endif
    11780 char dld_link ();
    11781 int
    11782 main ()
    11783 {
    11784 return dld_link ();
    11785   ;
    11786   return 0;
    11787 }
    11788 _ACEOF
    11789 if ac_fn_c_try_link "$LINENO"; then :
    11790   ac_cv_lib_dld_dld_link=yes
    11791 else
    11792   ac_cv_lib_dld_dld_link=no
    11793 fi
    11794 rm -f core conftest.err conftest.$ac_objext \
    11795     conftest$ac_exeext conftest.$ac_ext
    11796 LIBS=$ac_check_lib_save_LIBS
    11797 fi
    11798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
    11799 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
    11800 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
    11801   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
    11802 fi
    11803 
    11804 
    11805 fi
    11806 
    11807 
    11808 fi
    11809 
    11810 
    11811 fi
    11812 
    11813 
    11814 fi
    11815 
    11816 
    11817 fi
    11818 
    11819     ;;
    11820   esac
    11821 
    11822   if test no = "$lt_cv_dlopen"; then
    11823     enable_dlopen=no
    11824   else
    11825     enable_dlopen=yes
    11826   fi
    11827 
    11828   case $lt_cv_dlopen in
    11829   dlopen)
    11830     save_CPPFLAGS=$CPPFLAGS
    11831     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
    11832 
    11833     save_LDFLAGS=$LDFLAGS
    11834     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
    11835 
    11836     save_LIBS=$LIBS
    11837     LIBS="$lt_cv_dlopen_libs $LIBS"
    11838 
    11839     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
    11840 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
    11841 if ${lt_cv_dlopen_self+:} false; then :
    11842   $as_echo_n "(cached) " >&6
    11843 else
    11844           if test yes = "$cross_compiling"; then :
    11845   lt_cv_dlopen_self=cross
    11846 else
    11847   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    11848   lt_status=$lt_dlunknown
    11849   cat > conftest.$ac_ext <<_LT_EOF
    11850 #line $LINENO "configure"
    11851 #include "confdefs.h"
    11852 
    11853 #if HAVE_DLFCN_H
    11854 #include <dlfcn.h>
    11855 #endif
    11856 
    11857 #include <stdio.h>
    11858 
    11859 #ifdef RTLD_GLOBAL
    11860 #  define LT_DLGLOBAL           RTLD_GLOBAL
    11861 #else
    11862 #  ifdef DL_GLOBAL
    11863 #    define LT_DLGLOBAL         DL_GLOBAL
    11864 #  else
    11865 #    define LT_DLGLOBAL         0
    11866 #  endif
    11867 #endif
    11868 
    11869 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
    11870    find out it does not work in some platform. */
    11871 #ifndef LT_DLLAZY_OR_NOW
    11872 #  ifdef RTLD_LAZY
    11873 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
    11874 #  else
    11875 #    ifdef DL_LAZY
    11876 #      define LT_DLLAZY_OR_NOW          DL_LAZY
    11877 #    else
    11878 #      ifdef RTLD_NOW
    11879 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
    11880 #      else
    11881 #        ifdef DL_NOW
    11882 #          define LT_DLLAZY_OR_NOW      DL_NOW
    11883 #        else
    11884 #          define LT_DLLAZY_OR_NOW      0
    11885 #        endif
    11886 #      endif
    11887 #    endif
    11888 #  endif
    11889 #endif
    11890 
    11891 /* When -fvisibility=hidden is used, assume the code has been annotated
    11892    correspondingly for the symbols needed.  */
    11893 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
    11894 int fnord () __attribute__((visibility("default")));
    11895 #endif
    11896 
    11897 int fnord () { return 42; }
    11898 int main ()
    11899 {
    11900   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
    11901   int status = $lt_dlunknown;
    11902 
    11903   if (self)
    11904     {
    11905       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
    11906       else
    11907         {
    11908           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
    11909           else puts (dlerror ());
    11910         }
    11911       /* dlclose (self); */
    11912     }
    11913   else
    11914     puts (dlerror ());
    11915 
    11916   return status;
    11917 }
    11918 _LT_EOF
    11919   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
    11920   (eval $ac_link) 2>&5
    11921   ac_status=$?
    11922   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    11923   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
    11924     (./conftest; exit; ) >&5 2>/dev/null
    11925     lt_status=$?
    11926     case x$lt_status in
    11927       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
    11928       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
    11929       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
    11930     esac
    11931   else :
    11932     # compilation failed
    11933     lt_cv_dlopen_self=no
    11934   fi
    11935 fi
    11936 rm -fr conftest*
    11937 
    11938 
    11939 fi
    11940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
    11941 $as_echo "$lt_cv_dlopen_self" >&6; }
    11942 
    11943     if test yes = "$lt_cv_dlopen_self"; then
    11944       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
    11945       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
    11946 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
    11947 if ${lt_cv_dlopen_self_static+:} false; then :
    11948   $as_echo_n "(cached) " >&6
    11949 else
    11950           if test yes = "$cross_compiling"; then :
    11951   lt_cv_dlopen_self_static=cross
    11952 else
    11953   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
    11954   lt_status=$lt_dlunknown
    11955   cat > conftest.$ac_ext <<_LT_EOF
    11956 #line $LINENO "configure"
    11957 #include "confdefs.h"
    11958 
    11959 #if HAVE_DLFCN_H
    11960 #include <dlfcn.h>
    11961 #endif
    11962 
    11963 #include <stdio.h>
    11964 
    11965 #ifdef RTLD_GLOBAL
    11966 #  define LT_DLGLOBAL           RTLD_GLOBAL
    11967 #else
    11968 #  ifdef DL_GLOBAL
    11969 #    define LT_DLGLOBAL         DL_GLOBAL
    11970 #  else
    11971 #    define LT_DLGLOBAL         0
    11972 #  endif
    11973 #endif
    11974 
    11975 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
    11976    find out it does not work in some platform. */
    11977 #ifndef LT_DLLAZY_OR_NOW
    11978 #  ifdef RTLD_LAZY
    11979 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
    11980 #  else
    11981 #    ifdef DL_LAZY
    11982 #      define LT_DLLAZY_OR_NOW          DL_LAZY
    11983 #    else
    11984 #      ifdef RTLD_NOW
    11985 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
    11986 #      else
    11987 #        ifdef DL_NOW
    11988 #          define LT_DLLAZY_OR_NOW      DL_NOW
    11989 #        else
    11990 #          define LT_DLLAZY_OR_NOW      0
    11991 #        endif
    11992 #      endif
    11993 #    endif
    11994 #  endif
    11995 #endif
    11996 
    11997 /* When -fvisibility=hidden is used, assume the code has been annotated
    11998    correspondingly for the symbols needed.  */
    11999 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
    12000 int fnord () __attribute__((visibility("default")));
    12001 #endif
    12002 
    12003 int fnord () { return 42; }
    12004 int main ()
    12005 {
    12006   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
    12007   int status = $lt_dlunknown;
    12008 
    12009   if (self)
    12010     {
    12011       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
    12012       else
    12013         {
    12014           if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
    12015           else puts (dlerror ());
    12016         }
    12017       /* dlclose (self); */
    12018     }
    12019   else
    12020     puts (dlerror ());
    12021 
    12022   return status;
    12023 }
    12024 _LT_EOF
    12025   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
    12026   (eval $ac_link) 2>&5
    12027   ac_status=$?
    12028   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    12029   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
    12030     (./conftest; exit; ) >&5 2>/dev/null
    12031     lt_status=$?
    12032     case x$lt_status in
    12033       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
    12034       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
    12035       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
    12036     esac
    12037   else :
    12038     # compilation failed
    12039     lt_cv_dlopen_self_static=no
    12040   fi
    12041 fi
    12042 rm -fr conftest*
    12043 
    12044 
    12045 fi
    12046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
    12047 $as_echo "$lt_cv_dlopen_self_static" >&6; }
    12048     fi
    12049 
    12050     CPPFLAGS=$save_CPPFLAGS
    12051     LDFLAGS=$save_LDFLAGS
    12052     LIBS=$save_LIBS
    12053     ;;
    12054   esac
    12055 
    12056   case $lt_cv_dlopen_self in
    12057   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
    12058   *) enable_dlopen_self=unknown ;;
    12059   esac
    12060 
    12061   case $lt_cv_dlopen_self_static in
    12062   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
    12063   *) enable_dlopen_self_static=unknown ;;
    12064   esac
    12065 fi
    12066 
    12067 
    12068 
    12069 
    12070 
    12071 
    12072 
    12073 
    12074 
    12075 
    12076 
    12077 
    12078 
    12079 
    12080 
    12081 
    12082 
    12083 striplib=
    12084 old_striplib=
    12085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
    12086 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
    12087 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
    12088   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
    12089   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
    12090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    12091 $as_echo "yes" >&6; }
    12092 else
    12093 # FIXME - insert some real tests, host_os isn't really good enough
    12094   case $host_os in
    12095   darwin*)
    12096     if test -n "$STRIP"; then
    12097       striplib="$STRIP -x"
    12098       old_striplib="$STRIP -S"
    12099       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    12100 $as_echo "yes" >&6; }
    12101     else
    12102       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    12103 $as_echo "no" >&6; }
    12104     fi
    12105     ;;
    12106   *)
    12107     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    12108 $as_echo "no" >&6; }
    12109     ;;
    12110   esac
    12111 fi
    12112 
    12113 
    12114 
    12115 
    12116 
    12117 
    12118 
    12119 
    12120 
    12121 
    12122 
    12123 
    12124   # Report what library types will actually be built
    12125   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
    12126 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
    12127   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
    12128 $as_echo "$can_build_shared" >&6; }
    12129 
    12130   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
    12131 $as_echo_n "checking whether to build shared libraries... " >&6; }
    12132   test no = "$can_build_shared" && enable_shared=no
    12133 
    12134   # On AIX, shared libraries and static libraries use the same namespace, and
    12135   # are all built from PIC.
    12136   case $host_os in
    12137   aix3*)
    12138     test yes = "$enable_shared" && enable_static=no
    12139     if test -n "$RANLIB"; then
    12140       archive_cmds="$archive_cmds~\$RANLIB \$lib"
    12141       postinstall_cmds='$RANLIB $lib'
    12142     fi
    12143     ;;
    12144 
    12145   aix[4-9]*)
    12146     if test ia64 != "$host_cpu"; then
    12147       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
    12148       yes,aix,yes) ;;                   # shared object as lib.so file only
    12149       yes,svr4,*) ;;                    # shared object as lib.so archive member only
    12150       yes,*) enable_static=no ;;        # shared object in lib.a archive as well
    12151       esac
    12152     fi
    12153     ;;
    12154   esac
    12155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
    12156 $as_echo "$enable_shared" >&6; }
    12157 
    12158   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
    12159 $as_echo_n "checking whether to build static libraries... " >&6; }
    12160   # Make sure either enable_shared or enable_static is yes.
    12161   test yes = "$enable_shared" || enable_static=yes
    12162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
    12163 $as_echo "$enable_static" >&6; }
    12164 
    12165 
    12166 
    12167 
    12168 fi
    12169 ac_ext=c
    12170 ac_cpp='$CPP $CPPFLAGS'
    12171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    12172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    12173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    12174 
    12175 CC=$lt_save_CC
    12176 
    12177 
    12178 
    12179 
    12180 
    12181 
    12182 
    12183 
    12184 
    12185 
    12186 
    12187 
    12188 
    12189 
    12190 
    12191         ac_config_commands="$ac_config_commands libtool"
    12192 
    12193 
    12194 
    12195 
    12196 # Only expand once:
    12197 
    12198 
    12199 
    12200 ac_ext=cpp
    12201 ac_cpp='$CXXCPP $CPPFLAGS'
    12202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    12203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    12204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    12205 if test -z "$CXX"; then
    12206   if test -n "$CCC"; then
    12207     CXX=$CCC
    12208   else
    12209     if test -n "$ac_tool_prefix"; then
    12210   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
    12211   do
    12212     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    12213 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    12214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    12215 $as_echo_n "checking for $ac_word... " >&6; }
    12216 if ${ac_cv_prog_CXX+:} false; then :
    12217   $as_echo_n "(cached) " >&6
    12218 else
    12219   if test -n "$CXX"; then
    12220   ac_cv_prog_CXX="$CXX" # Let the user override the test.
    12221 else
    12222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    12223 for as_dir in $PATH
    12224 do
    12225   IFS=$as_save_IFS
    12226   test -z "$as_dir" && as_dir=.
    12227     for ac_exec_ext in '' $ac_executable_extensions; do
    12228   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    12229     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    12230     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    12231     break 2
    12232   fi
    12233 done
    12234   done
    12235 IFS=$as_save_IFS
    12236 
    12237 fi
    12238 fi
    12239 CXX=$ac_cv_prog_CXX
    12240 if test -n "$CXX"; then
    12241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
    12242 $as_echo "$CXX" >&6; }
    12243 else
    12244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    12245 $as_echo "no" >&6; }
    12246 fi
    12247 
    12248 
    12249     test -n "$CXX" && break
    12250   done
    12251 fi
    12252 if test -z "$CXX"; then
    12253   ac_ct_CXX=$CXX
    12254   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
    12255 do
    12256   # Extract the first word of "$ac_prog", so it can be a program name with args.
    12257 set dummy $ac_prog; ac_word=$2
    12258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    12259 $as_echo_n "checking for $ac_word... " >&6; }
    12260 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
    12261   $as_echo_n "(cached) " >&6
    12262 else
    12263   if test -n "$ac_ct_CXX"; then
    12264   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
    12265 else
    12266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    12267 for as_dir in $PATH
    12268 do
    12269   IFS=$as_save_IFS
    12270   test -z "$as_dir" && as_dir=.
    12271     for ac_exec_ext in '' $ac_executable_extensions; do
    12272   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    12273     ac_cv_prog_ac_ct_CXX="$ac_prog"
    12274     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    12275     break 2
    12276   fi
    12277 done
    12278   done
    12279 IFS=$as_save_IFS
    12280 
    12281 fi
    12282 fi
    12283 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    12284 if test -n "$ac_ct_CXX"; then
    12285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
    12286 $as_echo "$ac_ct_CXX" >&6; }
    12287 else
    12288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    12289 $as_echo "no" >&6; }
    12290 fi
    12291 
    12292 
    12293   test -n "$ac_ct_CXX" && break
    12294 done
    12295 
    12296   if test "x$ac_ct_CXX" = x; then
    12297     CXX="g++"
    12298   else
    12299     case $cross_compiling:$ac_tool_warned in
    12300 yes:)
    12301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    12302 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    12303 ac_tool_warned=yes ;;
    12304 esac
    12305     CXX=$ac_ct_CXX
    12306   fi
    12307 fi
    12308 
    12309   fi
    12310 fi
    12311 # Provide some information about the compiler.
    12312 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
    12313 set X $ac_compile
    12314 ac_compiler=$2
    12315 for ac_option in --version -v -V -qversion; do
    12316   { { ac_try="$ac_compiler $ac_option >&5"
    12317 case "(($ac_try" in
    12318   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    12319   *) ac_try_echo=$ac_try;;
    12320 esac
    12321 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    12322 $as_echo "$ac_try_echo"; } >&5
    12323   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    12324   ac_status=$?
    12325   if test -s conftest.err; then
    12326     sed '10a\
    12327 ... rest of stderr output deleted ...
    12328          10q' conftest.err >conftest.er1
    12329     cat conftest.er1 >&5
    12330   fi
    12331   rm -f conftest.er1 conftest.err
    12332   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    12333   test $ac_status = 0; }
    12334 done
    12335 
    12336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
    12337 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
    12338 if ${ac_cv_cxx_compiler_gnu+:} false; then :
    12339   $as_echo_n "(cached) " >&6
    12340 else
    12341   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    12342 /* end confdefs.h.  */
    12343 
    12344 int
    12345 main ()
    12346 {
    12347 #ifndef __GNUC__
    12348        choke me
    12349 #endif
    12350 
    12351   ;
    12352   return 0;
    12353 }
    12354 _ACEOF
    12355 if ac_fn_cxx_try_compile "$LINENO"; then :
    12356   ac_compiler_gnu=yes
    12357 else
    12358   ac_compiler_gnu=no
    12359 fi
    12360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    12361 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    12362 
    12363 fi
    12364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
    12365 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
    12366 if test $ac_compiler_gnu = yes; then
    12367   GXX=yes
    12368 else
    12369   GXX=
    12370 fi
    12371 ac_test_CXXFLAGS=${CXXFLAGS+set}
    12372 ac_save_CXXFLAGS=$CXXFLAGS
    12373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
    12374 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
    12375 if ${ac_cv_prog_cxx_g+:} false; then :
    12376   $as_echo_n "(cached) " >&6
    12377 else
    12378   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
    12379    ac_cxx_werror_flag=yes
    12380    ac_cv_prog_cxx_g=no
    12381    CXXFLAGS="-g"
    12382    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    12383 /* end confdefs.h.  */
    12384 
    12385 int
    12386 main ()
    12387 {
    12388 
    12389   ;
    12390   return 0;
    12391 }
    12392 _ACEOF
    12393 if ac_fn_cxx_try_compile "$LINENO"; then :
    12394   ac_cv_prog_cxx_g=yes
    12395 else
    12396   CXXFLAGS=""
    12397       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    12398 /* end confdefs.h.  */
    12399 
    12400 int
    12401 main ()
    12402 {
    12403 
    12404   ;
    12405   return 0;
    12406 }
    12407 _ACEOF
    12408 if ac_fn_cxx_try_compile "$LINENO"; then :
    12409 
    12410 else
    12411   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    12412          CXXFLAGS="-g"
    12413          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    12414 /* end confdefs.h.  */
    12415 
    12416 int
    12417 main ()
    12418 {
    12419 
    12420   ;
    12421   return 0;
    12422 }
    12423 _ACEOF
    12424 if ac_fn_cxx_try_compile "$LINENO"; then :
    12425   ac_cv_prog_cxx_g=yes
    12426 fi
    12427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    12428 fi
    12429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    12430 fi
    12431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    12432    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    12433 fi
    12434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
    12435 $as_echo "$ac_cv_prog_cxx_g" >&6; }
    12436 if test "$ac_test_CXXFLAGS" = set; then
    12437   CXXFLAGS=$ac_save_CXXFLAGS
    12438 elif test $ac_cv_prog_cxx_g = yes; then
    12439   if test "$GXX" = yes; then
    12440     CXXFLAGS="-g -O2"
    12441   else
    12442     CXXFLAGS="-g"
    12443   fi
    12444 else
    12445   if test "$GXX" = yes; then
    12446     CXXFLAGS="-O2"
    12447   else
    12448     CXXFLAGS=
    12449   fi
    12450 fi
    12451 ac_ext=c
    12452 ac_cpp='$CPP $CPPFLAGS'
    12453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    12454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    12455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    12456 
    12457 depcc="$CXX"  am_compiler_list=
    12458 
    12459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
    12460 $as_echo_n "checking dependency style of $depcc... " >&6; }
    12461 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
    12462   $as_echo_n "(cached) " >&6
    12463 else
    12464   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
    12465   # We make a subdir and do the tests there.  Otherwise we can end up
    12466   # making bogus files that we don't know about and never remove.  For
    12467   # instance it was reported that on HP-UX the gcc test will end up
    12468   # making a dummy file named 'D' -- because '-MD' means "put the output
    12469   # in D".
    12470   rm -rf conftest.dir
    12471   mkdir conftest.dir
    12472   # Copy depcomp to subdir because otherwise we won't find it if we're
    12473   # using a relative directory.
    12474   cp "$am_depcomp" conftest.dir
    12475   cd conftest.dir
    12476   # We will build objects and dependencies in a subdirectory because
    12477   # it helps to detect inapplicable dependency modes.  For instance
    12478   # both Tru64's cc and ICC support -MD to output dependencies as a
    12479   # side effect of compilation, but ICC will put the dependencies in
    12480   # the current directory while Tru64 will put them in the object
    12481   # directory.
    12482   mkdir sub
    12483 
    12484   am_cv_CXX_dependencies_compiler_type=none
    12485   if test "$am_compiler_list" = ""; then
    12486      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
    12487   fi
    12488   am__universal=false
    12489   case " $depcc " in #(
    12490      *\ -arch\ *\ -arch\ *) am__universal=true ;;
    12491      esac
    12492 
    12493   for depmode in $am_compiler_list; do
    12494     # Setup a source with many dependencies, because some compilers
    12495     # like to wrap large dependency lists on column 80 (with \), and
    12496     # we should not choose a depcomp mode which is confused by this.
    12497     #
    12498     # We need to recreate these files for each test, as the compiler may
    12499     # overwrite some of them when testing with obscure command lines.
    12500     # This happens at least with the AIX C compiler.
    12501     : > sub/conftest.c
    12502     for i in 1 2 3 4 5 6; do
    12503       echo '#include "conftst'$i'.h"' >> sub/conftest.c
    12504       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
    12505       # Solaris 10 /bin/sh.
    12506       echo '/* dummy */' > sub/conftst$i.h
    12507     done
    12508     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
    12509 
    12510     # We check with '-c' and '-o' for the sake of the "dashmstdout"
    12511     # mode.  It turns out that the SunPro C++ compiler does not properly
    12512     # handle '-M -o', and we need to detect this.  Also, some Intel
    12513     # versions had trouble with output in subdirs.
    12514     am__obj=sub/conftest.${OBJEXT-o}
    12515     am__minus_obj="-o $am__obj"
    12516     case $depmode in
    12517     gcc)
    12518       # This depmode causes a compiler race in universal mode.
    12519       test "$am__universal" = false || continue
    12520       ;;
    12521     nosideeffect)
    12522       # After this tag, mechanisms are not by side-effect, so they'll
    12523       # only be used when explicitly requested.
    12524       if test "x$enable_dependency_tracking" = xyes; then
    12525         continue
    12526       else
    12527         break
    12528       fi
    12529       ;;
    12530     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
    12531       # This compiler won't grok '-c -o', but also, the minuso test has
    12532       # not run yet.  These depmodes are late enough in the game, and
    12533       # so weak that their functioning should not be impacted.
    12534       am__obj=conftest.${OBJEXT-o}
    12535       am__minus_obj=
    12536       ;;
    12537     none) break ;;
    12538     esac
    12539     if depmode=$depmode \
    12540        source=sub/conftest.c object=$am__obj \
    12541        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
    12542        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
    12543          >/dev/null 2>conftest.err &&
    12544        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
    12545        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
    12546        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
    12547        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
    12548       # icc doesn't choke on unknown options, it will just issue warnings
    12549       # or remarks (even with -Werror).  So we grep stderr for any message
    12550       # that says an option was ignored or not supported.
    12551       # When given -MP, icc 7.0 and 7.1 complain thusly:
    12552       #   icc: Command line warning: ignoring option '-M'; no argument required
    12553       # The diagnosis changed in icc 8.0:
    12554       #   icc: Command line remark: option '-MP' not supported
    12555       if (grep 'ignoring option' conftest.err ||
    12556           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
    12557         am_cv_CXX_dependencies_compiler_type=$depmode
    12558         break
    12559       fi
    12560     fi
    12561   done
    12562 
    12563   cd ..
    12564   rm -rf conftest.dir
    12565 else
    12566   am_cv_CXX_dependencies_compiler_type=none
    12567 fi
    12568 
    12569 fi
    12570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
    12571 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
    12572 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
    12573 
    12574  if
    12575   test "x$enable_dependency_tracking" != xno \
    12576   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
    12577   am__fastdepCXX_TRUE=
    12578   am__fastdepCXX_FALSE='#'
    12579 else
    12580   am__fastdepCXX_TRUE='#'
    12581   am__fastdepCXX_FALSE=
    12582 fi
    12583 
    12584 
    12585 
    12586 
    12587 func_stripname_cnf ()
    12588 {
    12589   case $2 in
    12590   .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
    12591   *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
    12592   esac
    12593 } # func_stripname_cnf
    12594 
    12595       if test -n "$CXX" && ( test no != "$CXX" &&
    12596     ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
    12597     (test g++ != "$CXX"))); then
    12598   ac_ext=cpp
    12599 ac_cpp='$CXXCPP $CPPFLAGS'
    12600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    12601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    12602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    12603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
    12604 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
    12605 if test -z "$CXXCPP"; then
    12606   if ${ac_cv_prog_CXXCPP+:} false; then :
    12607   $as_echo_n "(cached) " >&6
    12608 else
    12609       # Double quotes because CXXCPP needs to be expanded
    12610     for CXXCPP in "$CXX -E" "/lib/cpp"
    12611     do
    12612       ac_preproc_ok=false
    12613 for ac_cxx_preproc_warn_flag in '' yes
    12614 do
    12615   # Use a header file that comes with gcc, so configuring glibc
    12616   # with a fresh cross-compiler works.
    12617   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    12618   # <limits.h> exists even on freestanding compilers.
    12619   # On the NeXT, cc -E runs the code through the compiler's parser,
    12620   # not just through cpp. "Syntax error" is here to catch this case.
    12621   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    12622 /* end confdefs.h.  */
    12623 #ifdef __STDC__
    12624 # include <limits.h>
    12625 #else
    12626 # include <assert.h>
    12627 #endif
    12628                      Syntax error
    12629 _ACEOF
    12630 if ac_fn_cxx_try_cpp "$LINENO"; then :
    12631 
    12632 else
    12633   # Broken: fails on valid input.
    12634 continue
    12635 fi
    12636 rm -f conftest.err conftest.i conftest.$ac_ext
    12637 
    12638   # OK, works on sane cases.  Now check whether nonexistent headers
    12639   # can be detected and how.
    12640   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    12641 /* end confdefs.h.  */
    12642 #include <ac_nonexistent.h>
    12643 _ACEOF
    12644 if ac_fn_cxx_try_cpp "$LINENO"; then :
    12645   # Broken: success on invalid input.
    12646 continue
    12647 else
    12648   # Passes both tests.
    12649 ac_preproc_ok=:
    12650 break
    12651 fi
    12652 rm -f conftest.err conftest.i conftest.$ac_ext
    12653 
    12654 done
    12655 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    12656 rm -f conftest.i conftest.err conftest.$ac_ext
    12657 if $ac_preproc_ok; then :
    12658   break
    12659 fi
    12660 
    12661     done
    12662     ac_cv_prog_CXXCPP=$CXXCPP
    12663 
    12664 fi
    12665   CXXCPP=$ac_cv_prog_CXXCPP
    12666 else
    12667   ac_cv_prog_CXXCPP=$CXXCPP
    12668 fi
    12669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
    12670 $as_echo "$CXXCPP" >&6; }
    12671 ac_preproc_ok=false
    12672 for ac_cxx_preproc_warn_flag in '' yes
    12673 do
    12674   # Use a header file that comes with gcc, so configuring glibc
    12675   # with a fresh cross-compiler works.
    12676   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    12677   # <limits.h> exists even on freestanding compilers.
    12678   # On the NeXT, cc -E runs the code through the compiler's parser,
    12679   # not just through cpp. "Syntax error" is here to catch this case.
    12680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    12681 /* end confdefs.h.  */
    12682 #ifdef __STDC__
    12683 # include <limits.h>
    12684 #else
    12685 # include <assert.h>
    12686 #endif
    12687                      Syntax error
    12688 _ACEOF
    12689 if ac_fn_cxx_try_cpp "$LINENO"; then :
    12690 
    12691 else
    12692   # Broken: fails on valid input.
    12693 continue
    12694 fi
    12695 rm -f conftest.err conftest.i conftest.$ac_ext
    12696 
    12697   # OK, works on sane cases.  Now check whether nonexistent headers
    12698   # can be detected and how.
    12699   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    12700 /* end confdefs.h.  */
    12701 #include <ac_nonexistent.h>
    12702 _ACEOF
    12703 if ac_fn_cxx_try_cpp "$LINENO"; then :
    12704   # Broken: success on invalid input.
    12705 continue
    12706 else
    12707   # Passes both tests.
    12708 ac_preproc_ok=:
    12709 break
    12710 fi
    12711 rm -f conftest.err conftest.i conftest.$ac_ext
    12712 
    12713 done
    12714 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    12715 rm -f conftest.i conftest.err conftest.$ac_ext
    12716 if $ac_preproc_ok; then :
    12717 
    12718 else
    12719   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    12720 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    12721 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
    12722 See \`config.log' for more details" "$LINENO" 5; }
    12723 fi
    12724 
    12725 ac_ext=c
    12726 ac_cpp='$CPP $CPPFLAGS'
    12727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    12728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    12729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    12730 
    12731 else
    12732   _lt_caught_CXX_error=yes
    12733 fi
    12734 
    12735 ac_ext=cpp
    12736 ac_cpp='$CXXCPP $CPPFLAGS'
    12737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    12738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    12739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    12740 
    12741 archive_cmds_need_lc_CXX=no
    12742 allow_undefined_flag_CXX=
    12743 always_export_symbols_CXX=no
    12744 archive_expsym_cmds_CXX=
    12745 compiler_needs_object_CXX=no
    12746 export_dynamic_flag_spec_CXX=
    12747 hardcode_direct_CXX=no
    12748 hardcode_direct_absolute_CXX=no
    12749 hardcode_libdir_flag_spec_CXX=
    12750 hardcode_libdir_separator_CXX=
    12751 hardcode_minus_L_CXX=no
    12752 hardcode_shlibpath_var_CXX=unsupported
    12753 hardcode_automatic_CXX=no
    12754 inherit_rpath_CXX=no
    12755 module_cmds_CXX=
    12756 module_expsym_cmds_CXX=
    12757 link_all_deplibs_CXX=unknown
    12758 old_archive_cmds_CXX=$old_archive_cmds
    12759 reload_flag_CXX=$reload_flag
    12760 reload_cmds_CXX=$reload_cmds
    12761 no_undefined_flag_CXX=
    12762 whole_archive_flag_spec_CXX=
    12763 enable_shared_with_static_runtimes_CXX=no
    12764 
    12765 # Source file extension for C++ test sources.
    12766 ac_ext=cpp
    12767 
    12768 # Object file extension for compiled C++ test sources.
    12769 objext=o
    12770 objext_CXX=$objext
    12771 
    12772 # No sense in running all these tests if we already determined that
    12773 # the CXX compiler isn't working.  Some variables (like enable_shared)
    12774 # are currently assumed to apply to all compilers on this platform,
    12775 # and will be corrupted by setting them based on a non-working compiler.
    12776 if test yes != "$_lt_caught_CXX_error"; then
    12777   # Code to be used in simple compile tests
    12778   lt_simple_compile_test_code="int some_variable = 0;"
    12779 
    12780   # Code to be used in simple link tests
    12781   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
    12782 
    12783   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
    12784 
    12785 
    12786 
    12787 
    12788 
    12789 
    12790 # If no C compiler was specified, use CC.
    12791 LTCC=${LTCC-"$CC"}
    12792 
    12793 # If no C compiler flags were specified, use CFLAGS.
    12794 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
    12795 
    12796 # Allow CC to be a program name with arguments.
    12797 compiler=$CC
    12798 
    12799 
    12800   # save warnings/boilerplate of simple test code
    12801   ac_outfile=conftest.$ac_objext
    12802 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
    12803 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
    12804 _lt_compiler_boilerplate=`cat conftest.err`
    12805 $RM conftest*
    12806 
    12807   ac_outfile=conftest.$ac_objext
    12808 echo "$lt_simple_link_test_code" >conftest.$ac_ext
    12809 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
    12810 _lt_linker_boilerplate=`cat conftest.err`
    12811 $RM -r conftest*
    12812 
    12813 
    12814   # Allow CC to be a program name with arguments.
    12815   lt_save_CC=$CC
    12816   lt_save_CFLAGS=$CFLAGS
    12817   lt_save_LD=$LD
    12818   lt_save_GCC=$GCC
    12819   GCC=$GXX
    12820   lt_save_with_gnu_ld=$with_gnu_ld
    12821   lt_save_path_LD=$lt_cv_path_LD
    12822   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
    12823     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
    12824   else
    12825     $as_unset lt_cv_prog_gnu_ld
    12826   fi
    12827   if test -n "${lt_cv_path_LDCXX+set}"; then
    12828     lt_cv_path_LD=$lt_cv_path_LDCXX
    12829   else
    12830     $as_unset lt_cv_path_LD
    12831   fi
    12832   test -z "${LDCXX+set}" || LD=$LDCXX
    12833   CC=${CXX-"c++"}
    12834   CFLAGS=$CXXFLAGS
    12835   compiler=$CC
    12836   compiler_CXX=$CC
    12837   func_cc_basename $compiler
    12838 cc_basename=$func_cc_basename_result
    12839 
    12840 
    12841   if test -n "$compiler"; then
    12842     # We don't want -fno-exception when compiling C++ code, so set the
    12843     # no_builtin_flag separately
    12844     if test yes = "$GXX"; then
    12845       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
    12846     else
    12847       lt_prog_compiler_no_builtin_flag_CXX=
    12848     fi
    12849 
    12850     if test yes = "$GXX"; then
    12851       # Set up default GNU C++ configuration
    12852 
    12853 
    12854 
    12855 # Check whether --with-gnu-ld was given.
    12856 if test "${with_gnu_ld+set}" = set; then :
    12857   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
    12858 else
    12859   with_gnu_ld=no
    12860 fi
    12861 
    12862 ac_prog=ld
    12863 if test yes = "$GCC"; then
    12864   # Check if gcc -print-prog-name=ld gives a path.
    12865   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
    12866 $as_echo_n "checking for ld used by $CC... " >&6; }
    12867   case $host in
    12868   *-*-mingw*)
    12869     # gcc leaves a trailing carriage return, which upsets mingw
    12870     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
    12871   *)
    12872     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
    12873   esac
    12874   case $ac_prog in
    12875     # Accept absolute paths.
    12876     [\\/]* | ?:[\\/]*)
    12877       re_direlt='/[^/][^/]*/\.\./'
    12878       # Canonicalize the pathname of ld
    12879       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
    12880       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
    12881         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
    12882       done
    12883       test -z "$LD" && LD=$ac_prog
    12884       ;;
    12885   "")
    12886     # If it fails, then pretend we aren't using GCC.
    12887     ac_prog=ld
    12888     ;;
    12889   *)
    12890     # If it is relative, then search for the first ld in PATH.
    12891     with_gnu_ld=unknown
    12892     ;;
    12893   esac
    12894 elif test yes = "$with_gnu_ld"; then
    12895   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
    12896 $as_echo_n "checking for GNU ld... " >&6; }
    12897 else
    12898   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
    12899 $as_echo_n "checking for non-GNU ld... " >&6; }
    12900 fi
    12901 if ${lt_cv_path_LD+:} false; then :
    12902   $as_echo_n "(cached) " >&6
    12903 else
    12904   if test -z "$LD"; then
    12905   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
    12906   for ac_dir in $PATH; do
    12907     IFS=$lt_save_ifs
    12908     test -z "$ac_dir" && ac_dir=.
    12909     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
    12910       lt_cv_path_LD=$ac_dir/$ac_prog
    12911       # Check to see if the program is GNU ld.  I'd rather use --version,
    12912       # but apparently some variants of GNU ld only accept -v.
    12913       # Break only if it was the GNU/non-GNU ld that we prefer.
    12914       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
    12915       *GNU* | *'with BFD'*)
    12916         test no != "$with_gnu_ld" && break
    12917         ;;
    12918       *)
    12919         test yes != "$with_gnu_ld" && break
    12920         ;;
    12921       esac
    12922     fi
    12923   done
    12924   IFS=$lt_save_ifs
    12925 else
    12926   lt_cv_path_LD=$LD # Let the user override the test with a path.
    12927 fi
    12928 fi
    12929 
    12930 LD=$lt_cv_path_LD
    12931 if test -n "$LD"; then
    12932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
    12933 $as_echo "$LD" >&6; }
    12934 else
    12935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    12936 $as_echo "no" >&6; }
    12937 fi
    12938 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
    12939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
    12940 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
    12941 if ${lt_cv_prog_gnu_ld+:} false; then :
    12942   $as_echo_n "(cached) " >&6
    12943 else
    12944   # I'd rather use --version here, but apparently some GNU lds only accept -v.
    12945 case `$LD -v 2>&1 </dev/null` in
    12946 *GNU* | *'with BFD'*)
    12947   lt_cv_prog_gnu_ld=yes
    12948   ;;
    12949 *)
    12950   lt_cv_prog_gnu_ld=no
    12951   ;;
    12952 esac
    12953 fi
    12954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
    12955 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
    12956 with_gnu_ld=$lt_cv_prog_gnu_ld
    12957 
    12958 
    12959 
    12960 
    12961 
    12962 
    12963 
    12964       # Check if GNU C++ uses GNU ld as the underlying linker, since the
    12965       # archiving commands below assume that GNU ld is being used.
    12966       if test yes = "$with_gnu_ld"; then
    12967         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
    12968         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'
    12969 
    12970         hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
    12971         export_dynamic_flag_spec_CXX='$wl--export-dynamic'
    12972 
    12973         # If archive_cmds runs LD, not CC, wlarc should be empty
    12974         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
    12975         #     investigate it a little bit more. (MM)
    12976         wlarc='$wl'
    12977 
    12978         # ancient GNU ld didn't support --whole-archive et. al.
    12979         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
    12980           $GREP 'no-whole-archive' > /dev/null; then
    12981           whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
    12982         else
    12983           whole_archive_flag_spec_CXX=
    12984         fi
    12985       else
    12986         with_gnu_ld=no
    12987         wlarc=
    12988 
    12989         # A generic and very simple default shared library creation
    12990         # command for GNU C++ for the case where it uses the native
    12991         # linker, instead of GNU ld.  If possible, this setting should
    12992         # overridden to take advantage of the native linker features on
    12993         # the platform it is being used on.
    12994         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
    12995       fi
    12996 
    12997       # Commands to make compiler produce verbose output that lists
    12998       # what "hidden" libraries, object files and flags are used when
    12999       # linking a shared library.
    13000       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
    13001 
    13002     else
    13003       GXX=no
    13004       with_gnu_ld=no
    13005       wlarc=
    13006     fi
    13007 
    13008     # PORTME: fill in a description of your system's C++ link characteristics
    13009     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
    13010 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
    13011     ld_shlibs_CXX=yes
    13012     case $host_os in
    13013       aix3*)
    13014         # FIXME: insert proper C++ library support
    13015         ld_shlibs_CXX=no
    13016         ;;
    13017       aix[4-9]*)
    13018         if test ia64 = "$host_cpu"; then
    13019           # On IA64, the linker does run time linking by default, so we don't
    13020           # have to do anything special.
    13021           aix_use_runtimelinking=no
    13022           exp_sym_flag='-Bexport'
    13023           no_entry_flag=
    13024         else
    13025           aix_use_runtimelinking=no
    13026 
    13027           # Test if we are trying to use run time linking or normal
    13028           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
    13029           # have runtime linking enabled, and use it for executables.
    13030           # For shared libraries, we enable/disable runtime linking
    13031           # depending on the kind of the shared library created -
    13032           # when "with_aix_soname,aix_use_runtimelinking" is:
    13033           # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
    13034           # "aix,yes"  lib.so          shared, rtl:yes, for executables
    13035           #            lib.a           static archive
    13036           # "both,no"  lib.so.V(shr.o) shared, rtl:yes
    13037           #            lib.a(lib.so.V) shared, rtl:no,  for executables
    13038           # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
    13039           #            lib.a(lib.so.V) shared, rtl:no
    13040           # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
    13041           #            lib.a           static archive
    13042           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
    13043             for ld_flag in $LDFLAGS; do
    13044               case $ld_flag in
    13045               *-brtl*)
    13046                 aix_use_runtimelinking=yes
    13047                 break
    13048                 ;;
    13049               esac
    13050             done
    13051             if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
    13052               # With aix-soname=svr4, we create the lib.so.V shared archives only,
    13053               # so we don't have lib.a shared libs to link our executables.
    13054               # We have to force runtime linking in this case.
    13055               aix_use_runtimelinking=yes
    13056               LDFLAGS="$LDFLAGS -Wl,-brtl"
    13057             fi
    13058             ;;
    13059           esac
    13060 
    13061           exp_sym_flag='-bexport'
    13062           no_entry_flag='-bnoentry'
    13063         fi
    13064 
    13065         # When large executables or shared objects are built, AIX ld can
    13066         # have problems creating the table of contents.  If linking a library
    13067         # or program results in "error TOC overflow" add -mminimal-toc to
    13068         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
    13069         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
    13070 
    13071         archive_cmds_CXX=''
    13072         hardcode_direct_CXX=yes
    13073         hardcode_direct_absolute_CXX=yes
    13074         hardcode_libdir_separator_CXX=':'
    13075         link_all_deplibs_CXX=yes
    13076         file_list_spec_CXX='$wl-f,'
    13077         case $with_aix_soname,$aix_use_runtimelinking in
    13078         aix,*) ;;       # no import file
    13079         svr4,* | *,yes) # use import file
    13080           # The Import File defines what to hardcode.
    13081           hardcode_direct_CXX=no
    13082           hardcode_direct_absolute_CXX=no
    13083           ;;
    13084         esac
    13085 
    13086         if test yes = "$GXX"; then
    13087           case $host_os in aix4.[012]|aix4.[012].*)
    13088           # We only want to do this on AIX 4.2 and lower, the check
    13089           # below for broken collect2 doesn't work under 4.3+
    13090           collect2name=`$CC -print-prog-name=collect2`
    13091           if test -f "$collect2name" &&
    13092              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
    13093           then
    13094             # We have reworked collect2
    13095             :
    13096           else
    13097             # We have old collect2
    13098             hardcode_direct_CXX=unsupported
    13099             # It fails to find uninstalled libraries when the uninstalled
    13100             # path is not listed in the libpath.  Setting hardcode_minus_L
    13101             # to unsupported forces relinking
    13102             hardcode_minus_L_CXX=yes
    13103             hardcode_libdir_flag_spec_CXX='-L$libdir'
    13104             hardcode_libdir_separator_CXX=
    13105           fi
    13106           esac
    13107           shared_flag='-shared'
    13108           if test yes = "$aix_use_runtimelinking"; then
    13109             shared_flag=$shared_flag' $wl-G'
    13110           fi
    13111           # Need to ensure runtime linking is disabled for the traditional
    13112           # shared library, or the linker may eventually find shared libraries
    13113           # /with/ Import File - we do not want to mix them.
    13114           shared_flag_aix='-shared'
    13115           shared_flag_svr4='-shared $wl-G'
    13116         else
    13117           # not using gcc
    13118           if test ia64 = "$host_cpu"; then
    13119           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
    13120           # chokes on -Wl,-G. The following line is correct:
    13121           shared_flag='-G'
    13122           else
    13123             if test yes = "$aix_use_runtimelinking"; then
    13124               shared_flag='$wl-G'
    13125             else
    13126               shared_flag='$wl-bM:SRE'
    13127             fi
    13128             shared_flag_aix='$wl-bM:SRE'
    13129             shared_flag_svr4='$wl-G'
    13130           fi
    13131         fi
    13132 
    13133         export_dynamic_flag_spec_CXX='$wl-bexpall'
    13134         # It seems that -bexpall does not export symbols beginning with
    13135         # underscore (_), so it is better to generate a list of symbols to
    13136         # export.
    13137         always_export_symbols_CXX=yes
    13138         if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
    13139           # Warning - without using the other runtime loading flags (-brtl),
    13140           # -berok will link without error, but may produce a broken library.
    13141           # The "-G" linker flag allows undefined symbols.
    13142           no_undefined_flag_CXX='-bernotok'
    13143           # Determine the default libpath from the value encoded in an empty
    13144           # executable.
    13145           if test set = "${lt_cv_aix_libpath+set}"; then
    13146   aix_libpath=$lt_cv_aix_libpath
    13147 else
    13148   if ${lt_cv_aix_libpath__CXX+:} false; then :
    13149   $as_echo_n "(cached) " >&6
    13150 else
    13151   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    13152 /* end confdefs.h.  */
    13153 
    13154 int
    13155 main ()
    13156 {
    13157 
    13158   ;
    13159   return 0;
    13160 }
    13161 _ACEOF
    13162 if ac_fn_cxx_try_link "$LINENO"; then :
    13163 
    13164   lt_aix_libpath_sed='
    13165       /Import File Strings/,/^$/ {
    13166           /^0/ {
    13167               s/^0  *\([^ ]*\) *$/\1/
    13168               p
    13169           }
    13170       }'
    13171   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
    13172   # Check for a 64-bit object if we didn't find anything.
    13173   if test -z "$lt_cv_aix_libpath__CXX"; then
    13174     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
    13175   fi
    13176 fi
    13177 rm -f core conftest.err conftest.$ac_objext \
    13178     conftest$ac_exeext conftest.$ac_ext
    13179   if test -z "$lt_cv_aix_libpath__CXX"; then
    13180     lt_cv_aix_libpath__CXX=/usr/lib:/lib
    13181   fi
    13182 
    13183 fi
    13184 
    13185   aix_libpath=$lt_cv_aix_libpath__CXX
    13186 fi
    13187 
    13188           hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
    13189 
    13190           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
    13191         else
    13192           if test ia64 = "$host_cpu"; then
    13193             hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
    13194             allow_undefined_flag_CXX="-z nodefs"
    13195             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"
    13196           else
    13197             # Determine the default libpath from the value encoded in an
    13198             # empty executable.
    13199             if test set = "${lt_cv_aix_libpath+set}"; then
    13200   aix_libpath=$lt_cv_aix_libpath
    13201 else
    13202   if ${lt_cv_aix_libpath__CXX+:} false; then :
    13203   $as_echo_n "(cached) " >&6
    13204 else
    13205   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    13206 /* end confdefs.h.  */
    13207 
    13208 int
    13209 main ()
    13210 {
    13211 
    13212   ;
    13213   return 0;
    13214 }
    13215 _ACEOF
    13216 if ac_fn_cxx_try_link "$LINENO"; then :
    13217 
    13218   lt_aix_libpath_sed='
    13219       /Import File Strings/,/^$/ {
    13220           /^0/ {
    13221               s/^0  *\([^ ]*\) *$/\1/
    13222               p
    13223           }
    13224       }'
    13225   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
    13226   # Check for a 64-bit object if we didn't find anything.
    13227   if test -z "$lt_cv_aix_libpath__CXX"; then
    13228     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
    13229   fi
    13230 fi
    13231 rm -f core conftest.err conftest.$ac_objext \
    13232     conftest$ac_exeext conftest.$ac_ext
    13233   if test -z "$lt_cv_aix_libpath__CXX"; then
    13234     lt_cv_aix_libpath__CXX=/usr/lib:/lib
    13235   fi
    13236 
    13237 fi
    13238 
    13239   aix_libpath=$lt_cv_aix_libpath__CXX
    13240 fi
    13241 
    13242             hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
    13243             # Warning - without using the other run time loading flags,
    13244             # -berok will link without error, but may produce a broken library.
    13245             no_undefined_flag_CXX=' $wl-bernotok'
    13246             allow_undefined_flag_CXX=' $wl-berok'
    13247             if test yes = "$with_gnu_ld"; then
    13248               # We only use this code for GNU lds that support --whole-archive.
    13249               whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
    13250             else
    13251               # Exported symbols can be pulled into shared objects from archives
    13252               whole_archive_flag_spec_CXX='$convenience'
    13253             fi
    13254             archive_cmds_need_lc_CXX=yes
    13255             archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
    13256             # -brtl affects multiple linker settings, -berok does not and is overridden later
    13257             compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
    13258             if test svr4 != "$with_aix_soname"; then
    13259               # This is similar to how AIX traditionally builds its shared
    13260               # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
    13261               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'
    13262             fi
    13263             if test aix != "$with_aix_soname"; then
    13264               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'
    13265             else
    13266               # used by -dlpreopen to get the symbols
    13267               archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
    13268             fi
    13269             archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
    13270           fi
    13271         fi
    13272         ;;
    13273 
    13274       beos*)
    13275         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
    13276           allow_undefined_flag_CXX=unsupported
    13277           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
    13278           # support --undefined.  This deserves some investigation.  FIXME
    13279           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    13280         else
    13281           ld_shlibs_CXX=no
    13282         fi
    13283         ;;
    13284 
    13285       chorus*)
    13286         case $cc_basename in
    13287           *)
    13288           # FIXME: insert proper C++ library support
    13289           ld_shlibs_CXX=no
    13290           ;;
    13291         esac
    13292         ;;
    13293 
    13294       cygwin* | mingw* | pw32* | cegcc*)
    13295         case $GXX,$cc_basename in
    13296         ,cl* | no,cl*)
    13297           # Native MSVC
    13298           # hardcode_libdir_flag_spec is actually meaningless, as there is
    13299           # no search path for DLLs.
    13300           hardcode_libdir_flag_spec_CXX=' '
    13301           allow_undefined_flag_CXX=unsupported
    13302           always_export_symbols_CXX=yes
    13303           file_list_spec_CXX='@'
    13304           # Tell ltmain to make .lib files, not .a files.
    13305           libext=lib
    13306           # Tell ltmain to make .dll files, not .so files.
    13307           shrext_cmds=.dll
    13308           # FIXME: Setting linknames here is a bad hack.
    13309           archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
    13310           archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[     ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
    13311               cp "$export_symbols" "$output_objdir/$soname.def";
    13312               echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
    13313             else
    13314               $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
    13315             fi~
    13316             $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
    13317             linknames='
    13318           # The linker will not automatically build a static lib if we build a DLL.
    13319           # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
    13320           enable_shared_with_static_runtimes_CXX=yes
    13321           # Don't use ranlib
    13322           old_postinstall_cmds_CXX='chmod 644 $oldlib'
    13323           postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
    13324             lt_tool_outputfile="@TOOL_OUTPUT@"~
    13325             case $lt_outputfile in
    13326               *.exe|*.EXE) ;;
    13327               *)
    13328                 lt_outputfile=$lt_outputfile.exe
    13329                 lt_tool_outputfile=$lt_tool_outputfile.exe
    13330                 ;;
    13331             esac~
    13332             func_to_tool_file "$lt_outputfile"~
    13333             if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
    13334               $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
    13335               $RM "$lt_outputfile.manifest";
    13336             fi'
    13337           ;;
    13338         *)
    13339           # g++
    13340           # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
    13341           # as there is no search path for DLLs.
    13342           hardcode_libdir_flag_spec_CXX='-L$libdir'
    13343           export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
    13344           allow_undefined_flag_CXX=unsupported
    13345           always_export_symbols_CXX=no
    13346           enable_shared_with_static_runtimes_CXX=yes
    13347 
    13348           if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
    13349             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'
    13350             # If the export-symbols file already is a .def file, use it as
    13351             # is; otherwise, prepend EXPORTS...
    13352             archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[   ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([     ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
    13353               cp $export_symbols $output_objdir/$soname.def;
    13354             else
    13355               echo EXPORTS > $output_objdir/$soname.def;
    13356               cat $export_symbols >> $output_objdir/$soname.def;
    13357             fi~
    13358             $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'
    13359           else
    13360             ld_shlibs_CXX=no
    13361           fi
    13362           ;;
    13363         esac
    13364         ;;
    13365       darwin* | rhapsody*)
    13366 
    13367 
    13368   archive_cmds_need_lc_CXX=no
    13369   hardcode_direct_CXX=no
    13370   hardcode_automatic_CXX=yes
    13371   hardcode_shlibpath_var_CXX=unsupported
    13372   if test yes = "$lt_cv_ld_force_load"; then
    13373     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\"`'
    13374 
    13375   else
    13376     whole_archive_flag_spec_CXX=''
    13377   fi
    13378   link_all_deplibs_CXX=yes
    13379   allow_undefined_flag_CXX=$_lt_dar_allow_undefined
    13380   case $cc_basename in
    13381      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
    13382      *) _lt_dar_can_shared=$GCC ;;
    13383   esac
    13384   if test yes = "$_lt_dar_can_shared"; then
    13385     output_verbose_link_cmd=func_echo_all
    13386     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"
    13387     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
    13388     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"
    13389     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"
    13390        if test yes != "$lt_cv_apple_cc_single_mod"; then
    13391       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"
    13392       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"
    13393     fi
    13394 
    13395   else
    13396   ld_shlibs_CXX=no
    13397   fi
    13398 
    13399         ;;
    13400 
    13401       os2*)
    13402         hardcode_libdir_flag_spec_CXX='-L$libdir'
    13403         hardcode_minus_L_CXX=yes
    13404         allow_undefined_flag_CXX=unsupported
    13405         shrext_cmds=.dll
    13406         archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
    13407           $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
    13408           $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
    13409           $ECHO EXPORTS >> $output_objdir/$libname.def~
    13410           emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
    13411           $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
    13412           emximp -o $lib $output_objdir/$libname.def'
    13413         archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
    13414           $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
    13415           $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
    13416           $ECHO EXPORTS >> $output_objdir/$libname.def~
    13417           prefix_cmds="$SED"~
    13418           if test EXPORTS = "`$SED 1q $export_symbols`"; then
    13419             prefix_cmds="$prefix_cmds -e 1d";
    13420           fi~
    13421           prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
    13422           cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
    13423           $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
    13424           emximp -o $lib $output_objdir/$libname.def'
    13425         old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
    13426         enable_shared_with_static_runtimes_CXX=yes
    13427         ;;
    13428 
    13429       dgux*)
    13430         case $cc_basename in
    13431           ec++*)
    13432             # FIXME: insert proper C++ library support
    13433             ld_shlibs_CXX=no
    13434             ;;
    13435           ghcx*)
    13436             # Green Hills C++ Compiler
    13437             # FIXME: insert proper C++ library support
    13438             ld_shlibs_CXX=no
    13439             ;;
    13440           *)
    13441             # FIXME: insert proper C++ library support
    13442             ld_shlibs_CXX=no
    13443             ;;
    13444         esac
    13445         ;;
    13446 
    13447       freebsd2.*)
    13448         # C++ shared libraries reported to be fairly broken before
    13449         # switch to ELF
    13450         ld_shlibs_CXX=no
    13451         ;;
    13452 
    13453       freebsd-elf*)
    13454         archive_cmds_need_lc_CXX=no
    13455         ;;
    13456 
    13457       freebsd* | dragonfly*)
    13458         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
    13459         # conventions
    13460         ld_shlibs_CXX=yes
    13461         ;;
    13462 
    13463       haiku*)
    13464         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    13465         link_all_deplibs_CXX=yes
    13466         ;;
    13467 
    13468       hpux9*)
    13469         hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
    13470         hardcode_libdir_separator_CXX=:
    13471         export_dynamic_flag_spec_CXX='$wl-E'
    13472         hardcode_direct_CXX=yes
    13473         hardcode_minus_L_CXX=yes # Not in the search PATH,
    13474                                              # but as the default
    13475                                              # location of the library.
    13476 
    13477         case $cc_basename in
    13478           CC*)
    13479             # FIXME: insert proper C++ library support
    13480             ld_shlibs_CXX=no
    13481             ;;
    13482           aCC*)
    13483             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'
    13484             # Commands to make compiler produce verbose output that lists
    13485             # what "hidden" libraries, object files and flags are used when
    13486             # linking a shared library.
    13487             #
    13488             # There doesn't appear to be a way to prevent this compiler from
    13489             # explicitly linking system object files so we need to strip them
    13490             # from the output so that they don't get included in the library
    13491             # dependencies.
    13492             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"'
    13493             ;;
    13494           *)
    13495             if test yes = "$GXX"; then
    13496               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'
    13497             else
    13498               # FIXME: insert proper C++ library support
    13499               ld_shlibs_CXX=no
    13500             fi
    13501             ;;
    13502         esac
    13503         ;;
    13504 
    13505       hpux10*|hpux11*)
    13506         if test no = "$with_gnu_ld"; then
    13507           hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
    13508           hardcode_libdir_separator_CXX=:
    13509 
    13510           case $host_cpu in
    13511             hppa*64*|ia64*)
    13512               ;;
    13513             *)
    13514               export_dynamic_flag_spec_CXX='$wl-E'
    13515               ;;
    13516           esac
    13517         fi
    13518         case $host_cpu in
    13519           hppa*64*|ia64*)
    13520             hardcode_direct_CXX=no
    13521             hardcode_shlibpath_var_CXX=no
    13522             ;;
    13523           *)
    13524             hardcode_direct_CXX=yes
    13525             hardcode_direct_absolute_CXX=yes
    13526             hardcode_minus_L_CXX=yes # Not in the search PATH,
    13527                                                  # but as the default
    13528                                                  # location of the library.
    13529             ;;
    13530         esac
    13531 
    13532         case $cc_basename in
    13533           CC*)
    13534             # FIXME: insert proper C++ library support
    13535             ld_shlibs_CXX=no
    13536             ;;
    13537           aCC*)
    13538             case $host_cpu in
    13539               hppa*64*)
    13540                 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    13541                 ;;
    13542               ia64*)
    13543                 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    13544                 ;;
    13545               *)
    13546                 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    13547                 ;;
    13548             esac
    13549             # Commands to make compiler produce verbose output that lists
    13550             # what "hidden" libraries, object files and flags are used when
    13551             # linking a shared library.
    13552             #
    13553             # There doesn't appear to be a way to prevent this compiler from
    13554             # explicitly linking system object files so we need to strip them
    13555             # from the output so that they don't get included in the library
    13556             # dependencies.
    13557             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"'
    13558             ;;
    13559           *)
    13560             if test yes = "$GXX"; then
    13561               if test no = "$with_gnu_ld"; then
    13562                 case $host_cpu in
    13563                   hppa*64*)
    13564                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    13565                     ;;
    13566                   ia64*)
    13567                     archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    13568                     ;;
    13569                   *)
    13570                     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'
    13571                     ;;
    13572                 esac
    13573               fi
    13574             else
    13575               # FIXME: insert proper C++ library support
    13576               ld_shlibs_CXX=no
    13577             fi
    13578             ;;
    13579         esac
    13580         ;;
    13581 
    13582       interix[3-9]*)
    13583         hardcode_direct_CXX=no
    13584         hardcode_shlibpath_var_CXX=no
    13585         hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
    13586         export_dynamic_flag_spec_CXX='$wl-E'
    13587         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
    13588         # Instead, shared libraries are loaded at an image base (0x10000000 by
    13589         # default) and relocated if they conflict, which is a slow very memory
    13590         # consuming and fragmenting process.  To avoid this, we pick a random,
    13591         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
    13592         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
    13593         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'
    13594         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'
    13595         ;;
    13596       irix5* | irix6*)
    13597         case $cc_basename in
    13598           CC*)
    13599             # SGI C++
    13600             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'
    13601 
    13602             # Archives containing C++ object files must be created using
    13603             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
    13604             # necessary to make sure instantiated templates are included
    13605             # in the archive.
    13606             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
    13607             ;;
    13608           *)
    13609             if test yes = "$GXX"; then
    13610               if test no = "$with_gnu_ld"; then
    13611                 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'
    13612               else
    13613                 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'
    13614               fi
    13615             fi
    13616             link_all_deplibs_CXX=yes
    13617             ;;
    13618         esac
    13619         hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
    13620         hardcode_libdir_separator_CXX=:
    13621         inherit_rpath_CXX=yes
    13622         ;;
    13623 
    13624       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
    13625         case $cc_basename in
    13626           KCC*)
    13627             # Kuck and Associates, Inc. (KAI) C++ Compiler
    13628 
    13629             # KCC will only create a shared library if the output file
    13630             # ends with ".so" (or ".sl" for HP-UX), so rename the library
    13631             # to its proper name (with version) after linking.
    13632             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'
    13633             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'
    13634             # Commands to make compiler produce verbose output that lists
    13635             # what "hidden" libraries, object files and flags are used when
    13636             # linking a shared library.
    13637             #
    13638             # There doesn't appear to be a way to prevent this compiler from
    13639             # explicitly linking system object files so we need to strip them
    13640             # from the output so that they don't get included in the library
    13641             # dependencies.
    13642             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"'
    13643 
    13644             hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
    13645             export_dynamic_flag_spec_CXX='$wl--export-dynamic'
    13646 
    13647             # Archives containing C++ object files must be created using
    13648             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
    13649             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
    13650             ;;
    13651           icpc* | ecpc* )
    13652             # Intel C++
    13653             with_gnu_ld=yes
    13654             # version 8.0 and above of icpc choke on multiply defined symbols
    13655             # if we add $predep_objects and $postdep_objects, however 7.1 and
    13656             # earlier do not add the objects themselves.
    13657             case `$CC -V 2>&1` in
    13658               *"Version 7."*)
    13659                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
    13660                 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'
    13661                 ;;
    13662               *)  # Version 8.0 or newer
    13663                 tmp_idyn=
    13664                 case $host_cpu in
    13665                   ia64*) tmp_idyn=' -i_dynamic';;
    13666                 esac
    13667                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    13668                 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'
    13669                 ;;
    13670             esac
    13671             archive_cmds_need_lc_CXX=no
    13672             hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
    13673             export_dynamic_flag_spec_CXX='$wl--export-dynamic'
    13674             whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
    13675             ;;
    13676           pgCC* | pgcpp*)
    13677             # Portland Group C++ compiler
    13678             case `$CC -V` in
    13679             *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
    13680               prelink_cmds_CXX='tpldir=Template.dir~
    13681                rm -rf $tpldir~
    13682                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
    13683                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
    13684               old_archive_cmds_CXX='tpldir=Template.dir~
    13685                 rm -rf $tpldir~
    13686                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
    13687                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
    13688                 $RANLIB $oldlib'
    13689               archive_cmds_CXX='tpldir=Template.dir~
    13690                 rm -rf $tpldir~
    13691                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
    13692                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
    13693               archive_expsym_cmds_CXX='tpldir=Template.dir~
    13694                 rm -rf $tpldir~
    13695                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
    13696                 $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'
    13697               ;;
    13698             *) # Version 6 and above use weak symbols
    13699               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
    13700               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'
    13701               ;;
    13702             esac
    13703 
    13704             hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
    13705             export_dynamic_flag_spec_CXX='$wl--export-dynamic'
    13706             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'
    13707             ;;
    13708           cxx*)
    13709             # Compaq C++
    13710             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
    13711             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'
    13712 
    13713             runpath_var=LD_RUN_PATH
    13714             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
    13715             hardcode_libdir_separator_CXX=:
    13716 
    13717             # Commands to make compiler produce verbose output that lists
    13718             # what "hidden" libraries, object files and flags are used when
    13719             # linking a shared library.
    13720             #
    13721             # There doesn't appear to be a way to prevent this compiler from
    13722             # explicitly linking system object files so we need to strip them
    13723             # from the output so that they don't get included in the library
    13724             # dependencies.
    13725             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'
    13726             ;;
    13727           xl* | mpixl* | bgxl*)
    13728             # IBM XL 8.0 on PPC, with GNU ld
    13729             hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
    13730             export_dynamic_flag_spec_CXX='$wl--export-dynamic'
    13731             archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
    13732             if test yes = "$supports_anon_versioning"; then
    13733               archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
    13734                 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
    13735                 echo "local: *; };" >> $output_objdir/$libname.ver~
    13736                 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
    13737             fi
    13738             ;;
    13739           *)
    13740             case `$CC -V 2>&1 | sed 5q` in
    13741             *Sun\ C*)
    13742               # Sun C++ 5.9
    13743               no_undefined_flag_CXX=' -zdefs'
    13744               archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    13745               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'
    13746               hardcode_libdir_flag_spec_CXX='-R$libdir'
    13747               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'
    13748               compiler_needs_object_CXX=yes
    13749 
    13750               # Not sure whether something based on
    13751               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
    13752               # would be better.
    13753               output_verbose_link_cmd='func_echo_all'
    13754 
    13755               # Archives containing C++ object files must be created using
    13756               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
    13757               # necessary to make sure instantiated templates are included
    13758               # in the archive.
    13759               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
    13760               ;;
    13761             esac
    13762             ;;
    13763         esac
    13764         ;;
    13765 
    13766       lynxos*)
    13767         # FIXME: insert proper C++ library support
    13768         ld_shlibs_CXX=no
    13769         ;;
    13770 
    13771       m88k*)
    13772         # FIXME: insert proper C++ library support
    13773         ld_shlibs_CXX=no
    13774         ;;
    13775 
    13776       mvs*)
    13777         case $cc_basename in
    13778           cxx*)
    13779             # FIXME: insert proper C++ library support
    13780             ld_shlibs_CXX=no
    13781             ;;
    13782           *)
    13783             # FIXME: insert proper C++ library support
    13784             ld_shlibs_CXX=no
    13785             ;;
    13786         esac
    13787         ;;
    13788 
    13789       netbsd*)
    13790         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
    13791           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
    13792           wlarc=
    13793           hardcode_libdir_flag_spec_CXX='-R$libdir'
    13794           hardcode_direct_CXX=yes
    13795           hardcode_shlibpath_var_CXX=no
    13796         fi
    13797         # Workaround some broken pre-1.5 toolchains
    13798         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
    13799         ;;
    13800 
    13801       *nto* | *qnx*)
    13802         ld_shlibs_CXX=yes
    13803         ;;
    13804 
    13805       openbsd* | bitrig*)
    13806         if test -f /usr/libexec/ld.so; then
    13807           hardcode_direct_CXX=yes
    13808           hardcode_shlibpath_var_CXX=no
    13809           hardcode_direct_absolute_CXX=yes
    13810           archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
    13811           hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
    13812           if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
    13813             archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
    13814             export_dynamic_flag_spec_CXX='$wl-E'
    13815             whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
    13816           fi
    13817           output_verbose_link_cmd=func_echo_all
    13818         else
    13819           ld_shlibs_CXX=no
    13820         fi
    13821         ;;
    13822 
    13823       osf3* | osf4* | osf5*)
    13824         case $cc_basename in
    13825           KCC*)
    13826             # Kuck and Associates, Inc. (KAI) C++ Compiler
    13827 
    13828             # KCC will only create a shared library if the output file
    13829             # ends with ".so" (or ".sl" for HP-UX), so rename the library
    13830             # to its proper name (with version) after linking.
    13831             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'
    13832 
    13833             hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
    13834             hardcode_libdir_separator_CXX=:
    13835 
    13836             # Archives containing C++ object files must be created using
    13837             # the KAI C++ compiler.
    13838             case $host in
    13839               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
    13840               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
    13841             esac
    13842             ;;
    13843           RCC*)
    13844             # Rational C++ 2.4.1
    13845             # FIXME: insert proper C++ library support
    13846             ld_shlibs_CXX=no
    13847             ;;
    13848           cxx*)
    13849             case $host in
    13850               osf3*)
    13851                 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
    13852                 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'
    13853                 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
    13854                 ;;
    13855               *)
    13856                 allow_undefined_flag_CXX=' -expect_unresolved \*'
    13857                 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'
    13858                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
    13859                   echo "-hidden">> $lib.exp~
    13860                   $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~
    13861                   $RM $lib.exp'
    13862                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
    13863                 ;;
    13864             esac
    13865 
    13866             hardcode_libdir_separator_CXX=:
    13867 
    13868             # Commands to make compiler produce verbose output that lists
    13869             # what "hidden" libraries, object files and flags are used when
    13870             # linking a shared library.
    13871             #
    13872             # There doesn't appear to be a way to prevent this compiler from
    13873             # explicitly linking system object files so we need to strip them
    13874             # from the output so that they don't get included in the library
    13875             # dependencies.
    13876             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"'
    13877             ;;
    13878           *)
    13879             if test yes,no = "$GXX,$with_gnu_ld"; then
    13880               allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
    13881               case $host in
    13882                 osf3*)
    13883                   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'
    13884                   ;;
    13885                 *)
    13886                   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'
    13887                   ;;
    13888               esac
    13889 
    13890               hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
    13891               hardcode_libdir_separator_CXX=:
    13892 
    13893               # Commands to make compiler produce verbose output that lists
    13894               # what "hidden" libraries, object files and flags are used when
    13895               # linking a shared library.
    13896               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
    13897 
    13898             else
    13899               # FIXME: insert proper C++ library support
    13900               ld_shlibs_CXX=no
    13901             fi
    13902             ;;
    13903         esac
    13904         ;;
    13905 
    13906       psos*)
    13907         # FIXME: insert proper C++ library support
    13908         ld_shlibs_CXX=no
    13909         ;;
    13910 
    13911       sunos4*)
    13912         case $cc_basename in
    13913           CC*)
    13914             # Sun C++ 4.x
    13915             # FIXME: insert proper C++ library support
    13916             ld_shlibs_CXX=no
    13917             ;;
    13918           lcc*)
    13919             # Lucid
    13920             # FIXME: insert proper C++ library support
    13921             ld_shlibs_CXX=no
    13922             ;;
    13923           *)
    13924             # FIXME: insert proper C++ library support
    13925             ld_shlibs_CXX=no
    13926             ;;
    13927         esac
    13928         ;;
    13929 
    13930       solaris*)
    13931         case $cc_basename in
    13932           CC* | sunCC*)
    13933             # Sun C++ 4.2, 5.x and Centerline C++
    13934             archive_cmds_need_lc_CXX=yes
    13935             no_undefined_flag_CXX=' -zdefs'
    13936             archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
    13937             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    13938               $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'
    13939 
    13940             hardcode_libdir_flag_spec_CXX='-R$libdir'
    13941             hardcode_shlibpath_var_CXX=no
    13942             case $host_os in
    13943               solaris2.[0-5] | solaris2.[0-5].*) ;;
    13944               *)
    13945                 # The compiler driver will combine and reorder linker options,
    13946                 # but understands '-z linker_flag'.
    13947                 # Supported since Solaris 2.6 (maybe 2.5.1?)
    13948                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
    13949                 ;;
    13950             esac
    13951             link_all_deplibs_CXX=yes
    13952 
    13953             output_verbose_link_cmd='func_echo_all'
    13954 
    13955             # Archives containing C++ object files must be created using
    13956             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
    13957             # necessary to make sure instantiated templates are included
    13958             # in the archive.
    13959             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
    13960             ;;
    13961           gcx*)
    13962             # Green Hills C++ Compiler
    13963             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
    13964 
    13965             # The C++ compiler must be used to create the archive.
    13966             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
    13967             ;;
    13968           *)
    13969             # GNU C++ compiler with Solaris linker
    13970             if test yes,no = "$GXX,$with_gnu_ld"; then
    13971               no_undefined_flag_CXX=' $wl-z ${wl}defs'
    13972               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
    13973                 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
    13974                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    13975                   $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'
    13976 
    13977                 # Commands to make compiler produce verbose output that lists
    13978                 # what "hidden" libraries, object files and flags are used when
    13979                 # linking a shared library.
    13980                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
    13981               else
    13982                 # g++ 2.7 appears to require '-G' NOT '-shared' on this
    13983                 # platform.
    13984                 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
    13985                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
    13986                   $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'
    13987 
    13988                 # Commands to make compiler produce verbose output that lists
    13989                 # what "hidden" libraries, object files and flags are used when
    13990                 # linking a shared library.
    13991                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
    13992               fi
    13993 
    13994               hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
    13995               case $host_os in
    13996                 solaris2.[0-5] | solaris2.[0-5].*) ;;
    13997                 *)
    13998                   whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
    13999                   ;;
    14000               esac
    14001             fi
    14002             ;;
    14003         esac
    14004         ;;
    14005 
    14006     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
    14007       no_undefined_flag_CXX='$wl-z,text'
    14008       archive_cmds_need_lc_CXX=no
    14009       hardcode_shlibpath_var_CXX=no
    14010       runpath_var='LD_RUN_PATH'
    14011 
    14012       case $cc_basename in
    14013         CC*)
    14014           archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    14015           archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    14016           ;;
    14017         *)
    14018           archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    14019           archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    14020           ;;
    14021       esac
    14022       ;;
    14023 
    14024       sysv5* | sco3.2v5* | sco5v6*)
    14025         # Note: We CANNOT use -z defs as we might desire, because we do not
    14026         # link with -lc, and that would cause any symbols used from libc to
    14027         # always be unresolved, which means just about no library would
    14028         # ever link correctly.  If we're not using GNU ld we use -z text
    14029         # though, which does catch some bad symbols but isn't as heavy-handed
    14030         # as -z defs.
    14031         no_undefined_flag_CXX='$wl-z,text'
    14032         allow_undefined_flag_CXX='$wl-z,nodefs'
    14033         archive_cmds_need_lc_CXX=no
    14034         hardcode_shlibpath_var_CXX=no
    14035         hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
    14036         hardcode_libdir_separator_CXX=':'
    14037         link_all_deplibs_CXX=yes
    14038         export_dynamic_flag_spec_CXX='$wl-Bexport'
    14039         runpath_var='LD_RUN_PATH'
    14040 
    14041         case $cc_basename in
    14042           CC*)
    14043             archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    14044             archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    14045             old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
    14046               '"$old_archive_cmds_CXX"
    14047             reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
    14048               '"$reload_cmds_CXX"
    14049             ;;
    14050           *)
    14051             archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    14052             archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
    14053             ;;
    14054         esac
    14055       ;;
    14056 
    14057       tandem*)
    14058         case $cc_basename in
    14059           NCC*)
    14060             # NonStop-UX NCC 3.20
    14061             # FIXME: insert proper C++ library support
    14062             ld_shlibs_CXX=no
    14063             ;;
    14064           *)
    14065             # FIXME: insert proper C++ library support
    14066             ld_shlibs_CXX=no
    14067             ;;
    14068         esac
    14069         ;;
    14070 
    14071       vxworks*)
    14072         # FIXME: insert proper C++ library support
    14073         ld_shlibs_CXX=no
    14074         ;;
    14075 
    14076       *)
    14077         # FIXME: insert proper C++ library support
    14078         ld_shlibs_CXX=no
    14079         ;;
    14080     esac
    14081 
    14082     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
    14083 $as_echo "$ld_shlibs_CXX" >&6; }
    14084     test no = "$ld_shlibs_CXX" && can_build_shared=no
    14085 
    14086     GCC_CXX=$GXX
    14087     LD_CXX=$LD
    14088 
    14089     ## CAVEAT EMPTOR:
    14090     ## There is no encapsulation within the following macros, do not change
    14091     ## the running order or otherwise move them around unless you know exactly
    14092     ## what you are doing...
    14093     # Dependencies to place before and after the object being linked:
    14094 predep_objects_CXX=
    14095 postdep_objects_CXX=
    14096 predeps_CXX=
    14097 postdeps_CXX=
    14098 compiler_lib_search_path_CXX=
    14099 
    14100 cat > conftest.$ac_ext <<_LT_EOF
    14101 class Foo
    14102 {
    14103 public:
    14104   Foo (void) { a = 0; }
    14105 private:
    14106   int a;
    14107 };
    14108 _LT_EOF
    14109 
    14110 
    14111 _lt_libdeps_save_CFLAGS=$CFLAGS
    14112 case "$CC $CFLAGS " in #(
    14113 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
    14114 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
    14115 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
    14116 esac
    14117 
    14118 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
    14119   (eval $ac_compile) 2>&5
    14120   ac_status=$?
    14121   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    14122   test $ac_status = 0; }; then
    14123   # Parse the compiler output and extract the necessary
    14124   # objects, libraries and library flags.
    14125 
    14126   # Sentinel used to keep track of whether or not we are before
    14127   # the conftest object file.
    14128   pre_test_object_deps_done=no
    14129 
    14130   for p in `eval "$output_verbose_link_cmd"`; do
    14131     case $prev$p in
    14132 
    14133     -L* | -R* | -l*)
    14134        # Some compilers place space between "-{L,R}" and the path.
    14135        # Remove the space.
    14136        if test x-L = "$p" ||
    14137           test x-R = "$p"; then
    14138          prev=$p
    14139          continue
    14140        fi
    14141 
    14142        # Expand the sysroot to ease extracting the directories later.
    14143        if test -z "$prev"; then
    14144          case $p in
    14145          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
    14146          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
    14147          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
    14148          esac
    14149        fi
    14150        case $p in
    14151        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
    14152        esac
    14153        if test no = "$pre_test_object_deps_done"; then
    14154          case $prev in
    14155          -L | -R)
    14156            # Internal compiler library paths should come after those
    14157            # provided the user.  The postdeps already come after the
    14158            # user supplied libs so there is no need to process them.
    14159            if test -z "$compiler_lib_search_path_CXX"; then
    14160              compiler_lib_search_path_CXX=$prev$p
    14161            else
    14162              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
    14163            fi
    14164            ;;
    14165          # The "-l" case would never come before the object being
    14166          # linked, so don't bother handling this case.
    14167          esac
    14168        else
    14169          if test -z "$postdeps_CXX"; then
    14170            postdeps_CXX=$prev$p
    14171          else
    14172            postdeps_CXX="${postdeps_CXX} $prev$p"
    14173          fi
    14174        fi
    14175        prev=
    14176        ;;
    14177 
    14178     *.lto.$objext) ;; # Ignore GCC LTO objects
    14179     *.$objext)
    14180        # This assumes that the test object file only shows up
    14181        # once in the compiler output.
    14182        if test "$p" = "conftest.$objext"; then
    14183          pre_test_object_deps_done=yes
    14184          continue
    14185        fi
    14186 
    14187        if test no = "$pre_test_object_deps_done"; then
    14188          if test -z "$predep_objects_CXX"; then
    14189            predep_objects_CXX=$p
    14190          else
    14191            predep_objects_CXX="$predep_objects_CXX $p"
    14192          fi
    14193        else
    14194          if test -z "$postdep_objects_CXX"; then
    14195            postdep_objects_CXX=$p
    14196          else
    14197            postdep_objects_CXX="$postdep_objects_CXX $p"
    14198          fi
    14199        fi
    14200        ;;
    14201 
    14202     *) ;; # Ignore the rest.
    14203 
    14204     esac
    14205   done
    14206 
    14207   # Clean up.
    14208   rm -f a.out a.exe
    14209 else
    14210   echo "libtool.m4: error: problem compiling CXX test program"
    14211 fi
    14212 
    14213 $RM -f confest.$objext
    14214 CFLAGS=$_lt_libdeps_save_CFLAGS
    14215 
    14216 # PORTME: override above test on systems where it is broken
    14217 case $host_os in
    14218 interix[3-9]*)
    14219   # Interix 3.5 installs completely hosed .la files for C++, so rather than
    14220   # hack all around it, let's just trust "g++" to DTRT.
    14221   predep_objects_CXX=
    14222   postdep_objects_CXX=
    14223   postdeps_CXX=
    14224   ;;
    14225 esac
    14226 
    14227 
    14228 case " $postdeps_CXX " in
    14229 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
    14230 esac
    14231  compiler_lib_search_dirs_CXX=
    14232 if test -n "${compiler_lib_search_path_CXX}"; then
    14233  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
    14234 fi
    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 
    14264 
    14265 
    14266     lt_prog_compiler_wl_CXX=
    14267 lt_prog_compiler_pic_CXX=
    14268 lt_prog_compiler_static_CXX=
    14269 
    14270 
    14271   # C++ specific cases for pic, static, wl, etc.
    14272   if test yes = "$GXX"; then
    14273     lt_prog_compiler_wl_CXX='-Wl,'
    14274     lt_prog_compiler_static_CXX='-static'
    14275 
    14276     case $host_os in
    14277     aix*)
    14278       # All AIX code is PIC.
    14279       if test ia64 = "$host_cpu"; then
    14280         # AIX 5 now supports IA64 processor
    14281         lt_prog_compiler_static_CXX='-Bstatic'
    14282       fi
    14283       lt_prog_compiler_pic_CXX='-fPIC'
    14284       ;;
    14285 
    14286     amigaos*)
    14287       case $host_cpu in
    14288       powerpc)
    14289             # see comment about AmigaOS4 .so support
    14290             lt_prog_compiler_pic_CXX='-fPIC'
    14291         ;;
    14292       m68k)
    14293             # FIXME: we need at least 68020 code to build shared libraries, but
    14294             # adding the '-m68020' flag to GCC prevents building anything better,
    14295             # like '-m68040'.
    14296             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
    14297         ;;
    14298       esac
    14299       ;;
    14300 
    14301     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
    14302       # PIC is the default for these OSes.
    14303       ;;
    14304     mingw* | cygwin* | os2* | pw32* | cegcc*)
    14305       # This hack is so that the source file can tell whether it is being
    14306       # built for inclusion in a dll (and should export symbols for example).
    14307       # Although the cygwin gcc ignores -fPIC, still need this for old-style
    14308       # (--disable-auto-import) libraries
    14309       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
    14310       case $host_os in
    14311       os2*)
    14312         lt_prog_compiler_static_CXX='$wl-static'
    14313         ;;
    14314       esac
    14315       ;;
    14316     darwin* | rhapsody*)
    14317       # PIC is the default on this platform
    14318       # Common symbols not allowed in MH_DYLIB files
    14319       lt_prog_compiler_pic_CXX='-fno-common'
    14320       ;;
    14321     *djgpp*)
    14322       # DJGPP does not support shared libraries at all
    14323       lt_prog_compiler_pic_CXX=
    14324       ;;
    14325     haiku*)
    14326       # PIC is the default for Haiku.
    14327       # The "-static" flag exists, but is broken.
    14328       lt_prog_compiler_static_CXX=
    14329       ;;
    14330     interix[3-9]*)
    14331       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
    14332       # Instead, we relocate shared libraries at runtime.
    14333       ;;
    14334     sysv4*MP*)
    14335       if test -d /usr/nec; then
    14336         lt_prog_compiler_pic_CXX=-Kconform_pic
    14337       fi
    14338       ;;
    14339     hpux*)
    14340       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
    14341       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
    14342       # sets the default TLS model and affects inlining.
    14343       case $host_cpu in
    14344       hppa*64*)
    14345         ;;
    14346       *)
    14347         lt_prog_compiler_pic_CXX='-fPIC'
    14348         ;;
    14349       esac
    14350       ;;
    14351     *qnx* | *nto*)
    14352       # QNX uses GNU C++, but need to define -shared option too, otherwise
    14353       # it will coredump.
    14354       lt_prog_compiler_pic_CXX='-fPIC -shared'
    14355       ;;
    14356     *)
    14357       lt_prog_compiler_pic_CXX='-fPIC'
    14358       ;;
    14359     esac
    14360   else
    14361     case $host_os in
    14362       aix[4-9]*)
    14363         # All AIX code is PIC.
    14364         if test ia64 = "$host_cpu"; then
    14365           # AIX 5 now supports IA64 processor
    14366           lt_prog_compiler_static_CXX='-Bstatic'
    14367         else
    14368           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
    14369         fi
    14370         ;;
    14371       chorus*)
    14372         case $cc_basename in
    14373         cxch68*)
    14374           # Green Hills C++ Compiler
    14375           # _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"
    14376           ;;
    14377         esac
    14378         ;;
    14379       mingw* | cygwin* | os2* | pw32* | cegcc*)
    14380         # This hack is so that the source file can tell whether it is being
    14381         # built for inclusion in a dll (and should export symbols for example).
    14382         lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
    14383         ;;
    14384       dgux*)
    14385         case $cc_basename in
    14386           ec++*)
    14387             lt_prog_compiler_pic_CXX='-KPIC'
    14388             ;;
    14389           ghcx*)
    14390             # Green Hills C++ Compiler
    14391             lt_prog_compiler_pic_CXX='-pic'
    14392             ;;
    14393           *)
    14394             ;;
    14395         esac
    14396         ;;
    14397       freebsd* | dragonfly*)
    14398         # FreeBSD uses GNU C++
    14399         ;;
    14400       hpux9* | hpux10* | hpux11*)
    14401         case $cc_basename in
    14402           CC*)
    14403             lt_prog_compiler_wl_CXX='-Wl,'
    14404             lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
    14405             if test ia64 != "$host_cpu"; then
    14406               lt_prog_compiler_pic_CXX='+Z'
    14407             fi
    14408             ;;
    14409           aCC*)
    14410             lt_prog_compiler_wl_CXX='-Wl,'
    14411             lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
    14412             case $host_cpu in
    14413             hppa*64*|ia64*)
    14414               # +Z the default
    14415               ;;
    14416             *)
    14417               lt_prog_compiler_pic_CXX='+Z'
    14418               ;;
    14419             esac
    14420             ;;
    14421           *)
    14422             ;;
    14423         esac
    14424         ;;
    14425       interix*)
    14426         # This is c89, which is MS Visual C++ (no shared libs)
    14427         # Anyone wants to do a port?
    14428         ;;
    14429       irix5* | irix6* | nonstopux*)
    14430         case $cc_basename in
    14431           CC*)
    14432             lt_prog_compiler_wl_CXX='-Wl,'
    14433             lt_prog_compiler_static_CXX='-non_shared'
    14434             # CC pic flag -KPIC is the default.
    14435             ;;
    14436           *)
    14437             ;;
    14438         esac
    14439         ;;
    14440       linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
    14441         case $cc_basename in
    14442           KCC*)
    14443             # KAI C++ Compiler
    14444             lt_prog_compiler_wl_CXX='--backend -Wl,'
    14445             lt_prog_compiler_pic_CXX='-fPIC'
    14446             ;;
    14447           ecpc* )
    14448             # old Intel C++ for x86_64, which still supported -KPIC.
    14449             lt_prog_compiler_wl_CXX='-Wl,'
    14450             lt_prog_compiler_pic_CXX='-KPIC'
    14451             lt_prog_compiler_static_CXX='-static'
    14452             ;;
    14453           icpc* )
    14454             # Intel C++, used to be incompatible with GCC.
    14455             # ICC 10 doesn't accept -KPIC any more.
    14456             lt_prog_compiler_wl_CXX='-Wl,'
    14457             lt_prog_compiler_pic_CXX='-fPIC'
    14458             lt_prog_compiler_static_CXX='-static'
    14459             ;;
    14460           pgCC* | pgcpp*)
    14461             # Portland Group C++ compiler
    14462             lt_prog_compiler_wl_CXX='-Wl,'
    14463             lt_prog_compiler_pic_CXX='-fpic'
    14464             lt_prog_compiler_static_CXX='-Bstatic'
    14465             ;;
    14466           cxx*)
    14467             # Compaq C++
    14468             # Make sure the PIC flag is empty.  It appears that all Alpha
    14469             # Linux and Compaq Tru64 Unix objects are PIC.
    14470             lt_prog_compiler_pic_CXX=
    14471             lt_prog_compiler_static_CXX='-non_shared'
    14472             ;;
    14473           xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
    14474             # IBM XL 8.0, 9.0 on PPC and BlueGene
    14475             lt_prog_compiler_wl_CXX='-Wl,'
    14476             lt_prog_compiler_pic_CXX='-qpic'
    14477             lt_prog_compiler_static_CXX='-qstaticlink'
    14478             ;;
    14479           *)
    14480             case `$CC -V 2>&1 | sed 5q` in
    14481             *Sun\ C*)
    14482               # Sun C++ 5.9
    14483               lt_prog_compiler_pic_CXX='-KPIC'
    14484               lt_prog_compiler_static_CXX='-Bstatic'
    14485               lt_prog_compiler_wl_CXX='-Qoption ld '
    14486               ;;
    14487             esac
    14488             ;;
    14489         esac
    14490         ;;
    14491       lynxos*)
    14492         ;;
    14493       m88k*)
    14494         ;;
    14495       mvs*)
    14496         case $cc_basename in
    14497           cxx*)
    14498             lt_prog_compiler_pic_CXX='-W c,exportall'
    14499             ;;
    14500           *)
    14501             ;;
    14502         esac
    14503         ;;
    14504       netbsd* | netbsdelf*-gnu)
    14505         ;;
    14506       *qnx* | *nto*)
    14507         # QNX uses GNU C++, but need to define -shared option too, otherwise
    14508         # it will coredump.
    14509         lt_prog_compiler_pic_CXX='-fPIC -shared'
    14510         ;;
    14511       osf3* | osf4* | osf5*)
    14512         case $cc_basename in
    14513           KCC*)
    14514             lt_prog_compiler_wl_CXX='--backend -Wl,'
    14515             ;;
    14516           RCC*)
    14517             # Rational C++ 2.4.1
    14518             lt_prog_compiler_pic_CXX='-pic'
    14519             ;;
    14520           cxx*)
    14521             # Digital/Compaq C++
    14522             lt_prog_compiler_wl_CXX='-Wl,'
    14523             # Make sure the PIC flag is empty.  It appears that all Alpha
    14524             # Linux and Compaq Tru64 Unix objects are PIC.
    14525             lt_prog_compiler_pic_CXX=
    14526             lt_prog_compiler_static_CXX='-non_shared'
    14527             ;;
    14528           *)
    14529             ;;
    14530         esac
    14531         ;;
    14532       psos*)
    14533         ;;
    14534       solaris*)
    14535         case $cc_basename in
    14536           CC* | sunCC*)
    14537             # Sun C++ 4.2, 5.x and Centerline C++
    14538             lt_prog_compiler_pic_CXX='-KPIC'
    14539             lt_prog_compiler_static_CXX='-Bstatic'
    14540             lt_prog_compiler_wl_CXX='-Qoption ld '
    14541             ;;
    14542           gcx*)
    14543             # Green Hills C++ Compiler
    14544             lt_prog_compiler_pic_CXX='-PIC'
    14545             ;;
    14546           *)
    14547             ;;
    14548         esac
    14549         ;;
    14550       sunos4*)
    14551         case $cc_basename in
    14552           CC*)
    14553             # Sun C++ 4.x
    14554             lt_prog_compiler_pic_CXX='-pic'
    14555             lt_prog_compiler_static_CXX='-Bstatic'
    14556             ;;
    14557           lcc*)
    14558             # Lucid
    14559             lt_prog_compiler_pic_CXX='-pic'
    14560             ;;
    14561           *)
    14562             ;;
    14563         esac
    14564         ;;
    14565       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
    14566         case $cc_basename in
    14567           CC*)
    14568             lt_prog_compiler_wl_CXX='-Wl,'
    14569             lt_prog_compiler_pic_CXX='-KPIC'
    14570             lt_prog_compiler_static_CXX='-Bstatic'
    14571             ;;
    14572         esac
    14573         ;;
    14574       tandem*)
    14575         case $cc_basename in
    14576           NCC*)
    14577             # NonStop-UX NCC 3.20
    14578             lt_prog_compiler_pic_CXX='-KPIC'
    14579             ;;
    14580           *)
    14581             ;;
    14582         esac
    14583         ;;
    14584       vxworks*)
    14585         ;;
    14586       *)
    14587         lt_prog_compiler_can_build_shared_CXX=no
    14588         ;;
    14589     esac
    14590   fi
    14591 
    14592 case $host_os in
    14593   # For platforms that do not support PIC, -DPIC is meaningless:
    14594   *djgpp*)
    14595     lt_prog_compiler_pic_CXX=
    14596     ;;
    14597   *)
    14598     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
    14599     ;;
    14600 esac
    14601 
    14602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
    14603 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
    14604 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
    14605   $as_echo_n "(cached) " >&6
    14606 else
    14607   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
    14608 fi
    14609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
    14610 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
    14611 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
    14612 
    14613 #
    14614 # Check to make sure the PIC flag actually works.
    14615 #
    14616 if test -n "$lt_prog_compiler_pic_CXX"; then
    14617   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
    14618 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
    14619 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
    14620   $as_echo_n "(cached) " >&6
    14621 else
    14622   lt_cv_prog_compiler_pic_works_CXX=no
    14623    ac_outfile=conftest.$ac_objext
    14624    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    14625    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
    14626    # Insert the option either (1) after the last *FLAGS variable, or
    14627    # (2) before a word containing "conftest.", or (3) at the end.
    14628    # Note that $ac_compile itself does not contain backslashes and begins
    14629    # with a dollar sign (not a hyphen), so the echo should work correctly.
    14630    # The option is referenced via a variable to avoid confusing sed.
    14631    lt_compile=`echo "$ac_compile" | $SED \
    14632    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    14633    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    14634    -e 's:$: $lt_compiler_flag:'`
    14635    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
    14636    (eval "$lt_compile" 2>conftest.err)
    14637    ac_status=$?
    14638    cat conftest.err >&5
    14639    echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14640    if (exit $ac_status) && test -s "$ac_outfile"; then
    14641      # The compiler can only warn and ignore the option if not recognized
    14642      # So say no if there are warnings other than the usual output.
    14643      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
    14644      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
    14645      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
    14646        lt_cv_prog_compiler_pic_works_CXX=yes
    14647      fi
    14648    fi
    14649    $RM conftest*
    14650 
    14651 fi
    14652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
    14653 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
    14654 
    14655 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
    14656     case $lt_prog_compiler_pic_CXX in
    14657      "" | " "*) ;;
    14658      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
    14659      esac
    14660 else
    14661     lt_prog_compiler_pic_CXX=
    14662      lt_prog_compiler_can_build_shared_CXX=no
    14663 fi
    14664 
    14665 fi
    14666 
    14667 
    14668 
    14669 
    14670 
    14671 #
    14672 # Check to make sure the static flag actually works.
    14673 #
    14674 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
    14675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
    14676 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
    14677 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
    14678   $as_echo_n "(cached) " >&6
    14679 else
    14680   lt_cv_prog_compiler_static_works_CXX=no
    14681    save_LDFLAGS=$LDFLAGS
    14682    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
    14683    echo "$lt_simple_link_test_code" > conftest.$ac_ext
    14684    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
    14685      # The linker can only warn and ignore the option if not recognized
    14686      # So say no if there are warnings
    14687      if test -s conftest.err; then
    14688        # Append any errors to the config.log.
    14689        cat conftest.err 1>&5
    14690        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
    14691        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
    14692        if diff conftest.exp conftest.er2 >/dev/null; then
    14693          lt_cv_prog_compiler_static_works_CXX=yes
    14694        fi
    14695      else
    14696        lt_cv_prog_compiler_static_works_CXX=yes
    14697      fi
    14698    fi
    14699    $RM -r conftest*
    14700    LDFLAGS=$save_LDFLAGS
    14701 
    14702 fi
    14703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
    14704 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
    14705 
    14706 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
    14707     :
    14708 else
    14709     lt_prog_compiler_static_CXX=
    14710 fi
    14711 
    14712 
    14713 
    14714 
    14715     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
    14716 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
    14717 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
    14718   $as_echo_n "(cached) " >&6
    14719 else
    14720   lt_cv_prog_compiler_c_o_CXX=no
    14721    $RM -r conftest 2>/dev/null
    14722    mkdir conftest
    14723    cd conftest
    14724    mkdir out
    14725    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    14726 
    14727    lt_compiler_flag="-o out/conftest2.$ac_objext"
    14728    # Insert the option either (1) after the last *FLAGS variable, or
    14729    # (2) before a word containing "conftest.", or (3) at the end.
    14730    # Note that $ac_compile itself does not contain backslashes and begins
    14731    # with a dollar sign (not a hyphen), so the echo should work correctly.
    14732    lt_compile=`echo "$ac_compile" | $SED \
    14733    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    14734    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    14735    -e 's:$: $lt_compiler_flag:'`
    14736    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
    14737    (eval "$lt_compile" 2>out/conftest.err)
    14738    ac_status=$?
    14739    cat out/conftest.err >&5
    14740    echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14741    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    14742    then
    14743      # The compiler can only warn and ignore the option if not recognized
    14744      # So say no if there are warnings
    14745      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
    14746      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
    14747      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
    14748        lt_cv_prog_compiler_c_o_CXX=yes
    14749      fi
    14750    fi
    14751    chmod u+w . 2>&5
    14752    $RM conftest*
    14753    # SGI C++ compiler will create directory out/ii_files/ for
    14754    # template instantiation
    14755    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
    14756    $RM out/* && rmdir out
    14757    cd ..
    14758    $RM -r conftest
    14759    $RM conftest*
    14760 
    14761 fi
    14762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
    14763 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
    14764 
    14765 
    14766 
    14767     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
    14768 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
    14769 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
    14770   $as_echo_n "(cached) " >&6
    14771 else
    14772   lt_cv_prog_compiler_c_o_CXX=no
    14773    $RM -r conftest 2>/dev/null
    14774    mkdir conftest
    14775    cd conftest
    14776    mkdir out
    14777    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    14778 
    14779    lt_compiler_flag="-o out/conftest2.$ac_objext"
    14780    # Insert the option either (1) after the last *FLAGS variable, or
    14781    # (2) before a word containing "conftest.", or (3) at the end.
    14782    # Note that $ac_compile itself does not contain backslashes and begins
    14783    # with a dollar sign (not a hyphen), so the echo should work correctly.
    14784    lt_compile=`echo "$ac_compile" | $SED \
    14785    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
    14786    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
    14787    -e 's:$: $lt_compiler_flag:'`
    14788    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
    14789    (eval "$lt_compile" 2>out/conftest.err)
    14790    ac_status=$?
    14791    cat out/conftest.err >&5
    14792    echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14793    if (exit $ac_status) && test -s out/conftest2.$ac_objext
    14794    then
    14795      # The compiler can only warn and ignore the option if not recognized
    14796      # So say no if there are warnings
    14797      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
    14798      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
    14799      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
    14800        lt_cv_prog_compiler_c_o_CXX=yes
    14801      fi
    14802    fi
    14803    chmod u+w . 2>&5
    14804    $RM conftest*
    14805    # SGI C++ compiler will create directory out/ii_files/ for
    14806    # template instantiation
    14807    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
    14808    $RM out/* && rmdir out
    14809    cd ..
    14810    $RM -r conftest
    14811    $RM conftest*
    14812 
    14813 fi
    14814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
    14815 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
    14816 
    14817 
    14818 
    14819 
    14820 hard_links=nottested
    14821 if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
    14822   # do not overwrite the value of need_locks provided by the user
    14823   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
    14824 $as_echo_n "checking if we can lock with hard links... " >&6; }
    14825   hard_links=yes
    14826   $RM conftest*
    14827   ln conftest.a conftest.b 2>/dev/null && hard_links=no
    14828   touch conftest.a
    14829   ln conftest.a conftest.b 2>&5 || hard_links=no
    14830   ln conftest.a conftest.b 2>/dev/null && hard_links=no
    14831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
    14832 $as_echo "$hard_links" >&6; }
    14833   if test no = "$hard_links"; then
    14834     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
    14835 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
    14836     need_locks=warn
    14837   fi
    14838 else
    14839   need_locks=no
    14840 fi
    14841 
    14842 
    14843 
    14844     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
    14845 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
    14846 
    14847   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
    14848   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
    14849   case $host_os in
    14850   aix[4-9]*)
    14851     # If we're using GNU nm, then we don't want the "-C" option.
    14852     # -C means demangle to GNU nm, but means don't demangle to AIX nm.
    14853     # Without the "-l" option, or with the "-B" option, AIX nm treats
    14854     # weak defined symbols like other global defined symbols, whereas
    14855     # GNU nm marks them as "W".
    14856     # While the 'weak' keyword is ignored in the Export File, we need
    14857     # it in the Import File for the 'aix-soname' feature, so we have
    14858     # to replace the "-B" option with "-P" for AIX nm.
    14859     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
    14860       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'
    14861     else
    14862       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'
    14863     fi
    14864     ;;
    14865   pw32*)
    14866     export_symbols_cmds_CXX=$ltdll_cmds
    14867     ;;
    14868   cygwin* | mingw* | cegcc*)
    14869     case $cc_basename in
    14870     cl*)
    14871       exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
    14872       ;;
    14873     *)
    14874       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'
    14875       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
    14876       ;;
    14877     esac
    14878     ;;
    14879   linux* | k*bsd*-gnu | gnu*)
    14880     link_all_deplibs_CXX=no
    14881     ;;
    14882   *)
    14883     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
    14884     ;;
    14885   esac
    14886 
    14887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
    14888 $as_echo "$ld_shlibs_CXX" >&6; }
    14889 test no = "$ld_shlibs_CXX" && can_build_shared=no
    14890 
    14891 with_gnu_ld_CXX=$with_gnu_ld
    14892 
    14893 
    14894 
    14895 
    14896 
    14897 
    14898 #
    14899 # Do we need to explicitly link libc?
    14900 #
    14901 case "x$archive_cmds_need_lc_CXX" in
    14902 x|xyes)
    14903   # Assume -lc should be added
    14904   archive_cmds_need_lc_CXX=yes
    14905 
    14906   if test yes,yes = "$GCC,$enable_shared"; then
    14907     case $archive_cmds_CXX in
    14908     *'~'*)
    14909       # FIXME: we may have to deal with multi-command sequences.
    14910       ;;
    14911     '$CC '*)
    14912       # Test whether the compiler implicitly links with -lc since on some
    14913       # systems, -lgcc has to come before -lc. If gcc already passes -lc
    14914       # to ld, don't add -lc before -lgcc.
    14915       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
    14916 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
    14917 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
    14918   $as_echo_n "(cached) " >&6
    14919 else
    14920   $RM conftest*
    14921         echo "$lt_simple_compile_test_code" > conftest.$ac_ext
    14922 
    14923         if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
    14924   (eval $ac_compile) 2>&5
    14925   ac_status=$?
    14926   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    14927   test $ac_status = 0; } 2>conftest.err; then
    14928           soname=conftest
    14929           lib=conftest
    14930           libobjs=conftest.$ac_objext
    14931           deplibs=
    14932           wl=$lt_prog_compiler_wl_CXX
    14933           pic_flag=$lt_prog_compiler_pic_CXX
    14934           compiler_flags=-v
    14935           linker_flags=-v
    14936           verstring=
    14937           output_objdir=.
    14938           libname=conftest
    14939           lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
    14940           allow_undefined_flag_CXX=
    14941           if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
    14942   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
    14943   ac_status=$?
    14944   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    14945   test $ac_status = 0; }
    14946           then
    14947             lt_cv_archive_cmds_need_lc_CXX=no
    14948           else
    14949             lt_cv_archive_cmds_need_lc_CXX=yes
    14950           fi
    14951           allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
    14952         else
    14953           cat conftest.err 1>&5
    14954         fi
    14955         $RM conftest*
    14956 
    14957 fi
    14958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
    14959 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
    14960       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
    14961       ;;
    14962     esac
    14963   fi
    14964   ;;
    14965 esac
    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 
    15026 
    15027 
    15028     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
    15029 $as_echo_n "checking dynamic linker characteristics... " >&6; }
    15030 
    15031 library_names_spec=
    15032 libname_spec='lib$name'
    15033 soname_spec=
    15034 shrext_cmds=.so
    15035 postinstall_cmds=
    15036 postuninstall_cmds=
    15037 finish_cmds=
    15038 finish_eval=
    15039 shlibpath_var=
    15040 shlibpath_overrides_runpath=unknown
    15041 version_type=none
    15042 dynamic_linker="$host_os ld.so"
    15043 sys_lib_dlsearch_path_spec="/lib /usr/lib"
    15044 need_lib_prefix=unknown
    15045 hardcode_into_libs=no
    15046 
    15047 # when you set need_version to no, make sure it does not cause -set_version
    15048 # flags to be left without arguments
    15049 need_version=unknown
    15050 
    15051 
    15052 
    15053 case $host_os in
    15054 aix3*)
    15055   version_type=linux # correct to gnu/linux during the next big refactor
    15056   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
    15057   shlibpath_var=LIBPATH
    15058 
    15059   # AIX 3 has no versioning support, so we append a major version to the name.
    15060   soname_spec='$libname$release$shared_ext$major'
    15061   ;;
    15062 
    15063 aix[4-9]*)
    15064   version_type=linux # correct to gnu/linux during the next big refactor
    15065   need_lib_prefix=no
    15066   need_version=no
    15067   hardcode_into_libs=yes
    15068   if test ia64 = "$host_cpu"; then
    15069     # AIX 5 supports IA64
    15070     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
    15071     shlibpath_var=LD_LIBRARY_PATH
    15072   else
    15073     # With GCC up to 2.95.x, collect2 would create an import file
    15074     # for dependence libraries.  The import file would start with
    15075     # the line '#! .'.  This would cause the generated library to
    15076     # depend on '.', always an invalid library.  This was fixed in
    15077     # development snapshots of GCC prior to 3.0.
    15078     case $host_os in
    15079       aix4 | aix4.[01] | aix4.[01].*)
    15080       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
    15081            echo ' yes '
    15082            echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
    15083         :
    15084       else
    15085         can_build_shared=no
    15086       fi
    15087       ;;
    15088     esac
    15089     # Using Import Files as archive members, it is possible to support
    15090     # filename-based versioning of shared library archives on AIX. While
    15091     # this would work for both with and without runtime linking, it will
    15092     # prevent static linking of such archives. So we do filename-based
    15093     # shared library versioning with .so extension only, which is used
    15094     # when both runtime linking and shared linking is enabled.
    15095     # Unfortunately, runtime linking may impact performance, so we do
    15096     # not want this to be the default eventually. Also, we use the
    15097     # versioned .so libs for executables only if there is the -brtl
    15098     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
    15099     # To allow for filename-based versioning support, we need to create
    15100     # libNAME.so.V as an archive file, containing:
    15101     # *) an Import File, referring to the versioned filename of the
    15102     #    archive as well as the shared archive member, telling the
    15103     #    bitwidth (32 or 64) of that shared object, and providing the
    15104     #    list of exported symbols of that shared object, eventually
    15105     #    decorated with the 'weak' keyword
    15106     # *) the shared object with the F_LOADONLY flag set, to really avoid
    15107     #    it being seen by the linker.
    15108     # At run time we better use the real file rather than another symlink,
    15109     # but for link time we create the symlink libNAME.so -> libNAME.so.V
    15110 
    15111     case $with_aix_soname,$aix_use_runtimelinking in
    15112     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
    15113     # soname into executable. Probably we can add versioning support to
    15114     # collect2, so additional links can be useful in future.
    15115     aix,yes) # traditional libtool
    15116       dynamic_linker='AIX unversionable lib.so'
    15117       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
    15118       # instead of lib<name>.a to let people know that these are not
    15119       # typical AIX shared libraries.
    15120       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    15121       ;;
    15122     aix,no) # traditional AIX only
    15123       dynamic_linker='AIX lib.a(lib.so.V)'
    15124       # We preserve .a as extension for shared libraries through AIX4.2
    15125       # and later when we are not doing run time linking.
    15126       library_names_spec='$libname$release.a $libname.a'
    15127       soname_spec='$libname$release$shared_ext$major'
    15128       ;;
    15129     svr4,*) # full svr4 only
    15130       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
    15131       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
    15132       # We do not specify a path in Import Files, so LIBPATH fires.
    15133       shlibpath_overrides_runpath=yes
    15134       ;;
    15135     *,yes) # both, prefer svr4
    15136       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
    15137       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
    15138       # unpreferred sharedlib libNAME.a needs extra handling
    15139       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"'
    15140       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"'
    15141       # We do not specify a path in Import Files, so LIBPATH fires.
    15142       shlibpath_overrides_runpath=yes
    15143       ;;
    15144     *,no) # both, prefer aix
    15145       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
    15146       library_names_spec='$libname$release.a $libname.a'
    15147       soname_spec='$libname$release$shared_ext$major'
    15148       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
    15149       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)'
    15150       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"'
    15151       ;;
    15152     esac
    15153     shlibpath_var=LIBPATH
    15154   fi
    15155   ;;
    15156 
    15157 amigaos*)
    15158   case $host_cpu in
    15159   powerpc)
    15160     # Since July 2007 AmigaOS4 officially supports .so libraries.
    15161     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
    15162     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    15163     ;;
    15164   m68k)
    15165     library_names_spec='$libname.ixlibrary $libname.a'
    15166     # Create ${libname}_ixlibrary.a entries in /sys/libs.
    15167     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'
    15168     ;;
    15169   esac
    15170   ;;
    15171 
    15172 beos*)
    15173   library_names_spec='$libname$shared_ext'
    15174   dynamic_linker="$host_os ld.so"
    15175   shlibpath_var=LIBRARY_PATH
    15176   ;;
    15177 
    15178 bsdi[45]*)
    15179   version_type=linux # correct to gnu/linux during the next big refactor
    15180   need_version=no
    15181   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    15182   soname_spec='$libname$release$shared_ext$major'
    15183   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
    15184   shlibpath_var=LD_LIBRARY_PATH
    15185   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
    15186   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
    15187   # the default ld.so.conf also contains /usr/contrib/lib and
    15188   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
    15189   # libtool to hard-code these into programs
    15190   ;;
    15191 
    15192 cygwin* | mingw* | pw32* | cegcc*)
    15193   version_type=windows
    15194   shrext_cmds=.dll
    15195   need_version=no
    15196   need_lib_prefix=no
    15197 
    15198   case $GCC,$cc_basename in
    15199   yes,*)
    15200     # gcc
    15201     library_names_spec='$libname.dll.a'
    15202     # DLL is installed to $(libdir)/../bin by postinstall_cmds
    15203     postinstall_cmds='base_file=`basename \$file`~
    15204       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
    15205       dldir=$destdir/`dirname \$dlpath`~
    15206       test -d \$dldir || mkdir -p \$dldir~
    15207       $install_prog $dir/$dlname \$dldir/$dlname~
    15208       chmod a+x \$dldir/$dlname~
    15209       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
    15210         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
    15211       fi'
    15212     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
    15213       dlpath=$dir/\$dldll~
    15214        $RM \$dlpath'
    15215     shlibpath_overrides_runpath=yes
    15216 
    15217     case $host_os in
    15218     cygwin*)
    15219       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
    15220       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
    15221 
    15222       ;;
    15223     mingw* | cegcc*)
    15224       # MinGW DLLs use traditional 'lib' prefix
    15225       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
    15226       ;;
    15227     pw32*)
    15228       # pw32 DLLs use 'pw' prefix rather than 'lib'
    15229       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
    15230       ;;
    15231     esac
    15232     dynamic_linker='Win32 ld.exe'
    15233     ;;
    15234 
    15235   *,cl*)
    15236     # Native MSVC
    15237     libname_spec='$name'
    15238     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
    15239     library_names_spec='$libname.dll.lib'
    15240 
    15241     case $build_os in
    15242     mingw*)
    15243       sys_lib_search_path_spec=
    15244       lt_save_ifs=$IFS
    15245       IFS=';'
    15246       for lt_path in $LIB
    15247       do
    15248         IFS=$lt_save_ifs
    15249         # Let DOS variable expansion print the short 8.3 style file name.
    15250         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
    15251         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
    15252       done
    15253       IFS=$lt_save_ifs
    15254       # Convert to MSYS style.
    15255       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
    15256       ;;
    15257     cygwin*)
    15258       # Convert to unix form, then to dos form, then back to unix form
    15259       # but this time dos style (no spaces!) so that the unix form looks
    15260       # like /cygdrive/c/PROGRA~1:/cygdr...
    15261       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
    15262       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
    15263       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
    15264       ;;
    15265     *)
    15266       sys_lib_search_path_spec=$LIB
    15267       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
    15268         # It is most probably a Windows format PATH.
    15269         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
    15270       else
    15271         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
    15272       fi
    15273       # FIXME: find the short name or the path components, as spaces are
    15274       # common. (e.g. "Program Files" -> "PROGRA~1")
    15275       ;;
    15276     esac
    15277 
    15278     # DLL is installed to $(libdir)/../bin by postinstall_cmds
    15279     postinstall_cmds='base_file=`basename \$file`~
    15280       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
    15281       dldir=$destdir/`dirname \$dlpath`~
    15282       test -d \$dldir || mkdir -p \$dldir~
    15283       $install_prog $dir/$dlname \$dldir/$dlname'
    15284     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
    15285       dlpath=$dir/\$dldll~
    15286        $RM \$dlpath'
    15287     shlibpath_overrides_runpath=yes
    15288     dynamic_linker='Win32 link.exe'
    15289     ;;
    15290 
    15291   *)
    15292     # Assume MSVC wrapper
    15293     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
    15294     dynamic_linker='Win32 ld.exe'
    15295     ;;
    15296   esac
    15297   # FIXME: first we should search . and the directory the executable is in
    15298   shlibpath_var=PATH
    15299   ;;
    15300 
    15301 darwin* | rhapsody*)
    15302   dynamic_linker="$host_os dyld"
    15303   version_type=darwin
    15304   need_lib_prefix=no
    15305   need_version=no
    15306   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
    15307   soname_spec='$libname$release$major$shared_ext'
    15308   shlibpath_overrides_runpath=yes
    15309   shlibpath_var=DYLD_LIBRARY_PATH
    15310   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
    15311 
    15312   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
    15313   ;;
    15314 
    15315 dgux*)
    15316   version_type=linux # correct to gnu/linux during the next big refactor
    15317   need_lib_prefix=no
    15318   need_version=no
    15319   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    15320   soname_spec='$libname$release$shared_ext$major'
    15321   shlibpath_var=LD_LIBRARY_PATH
    15322   ;;
    15323 
    15324 freebsd* | dragonfly*)
    15325   # DragonFly does not have aout.  When/if they implement a new
    15326   # versioning mechanism, adjust this.
    15327   if test -x /usr/bin/objformat; then
    15328     objformat=`/usr/bin/objformat`
    15329   else
    15330     case $host_os in
    15331     freebsd[23].*) objformat=aout ;;
    15332     *) objformat=elf ;;
    15333     esac
    15334   fi
    15335   version_type=freebsd-$objformat
    15336   case $version_type in
    15337     freebsd-elf*)
    15338       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    15339       soname_spec='$libname$release$shared_ext$major'
    15340       need_version=no
    15341       need_lib_prefix=no
    15342       ;;
    15343     freebsd-*)
    15344       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    15345       need_version=yes
    15346       ;;
    15347   esac
    15348   shlibpath_var=LD_LIBRARY_PATH
    15349   case $host_os in
    15350   freebsd2.*)
    15351     shlibpath_overrides_runpath=yes
    15352     ;;
    15353   freebsd3.[01]* | freebsdelf3.[01]*)
    15354     shlibpath_overrides_runpath=yes
    15355     hardcode_into_libs=yes
    15356     ;;
    15357   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
    15358   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
    15359     shlibpath_overrides_runpath=no
    15360     hardcode_into_libs=yes
    15361     ;;
    15362   *) # from 4.6 on, and DragonFly
    15363     shlibpath_overrides_runpath=yes
    15364     hardcode_into_libs=yes
    15365     ;;
    15366   esac
    15367   ;;
    15368 
    15369 haiku*)
    15370   version_type=linux # correct to gnu/linux during the next big refactor
    15371   need_lib_prefix=no
    15372   need_version=no
    15373   dynamic_linker="$host_os runtime_loader"
    15374   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    15375   soname_spec='$libname$release$shared_ext$major'
    15376   shlibpath_var=LIBRARY_PATH
    15377   shlibpath_overrides_runpath=no
    15378   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
    15379   hardcode_into_libs=yes
    15380   ;;
    15381 
    15382 hpux9* | hpux10* | hpux11*)
    15383   # Give a soname corresponding to the major version so that dld.sl refuses to
    15384   # link against other versions.
    15385   version_type=sunos
    15386   need_lib_prefix=no
    15387   need_version=no
    15388   case $host_cpu in
    15389   ia64*)
    15390     shrext_cmds='.so'
    15391     hardcode_into_libs=yes
    15392     dynamic_linker="$host_os dld.so"
    15393     shlibpath_var=LD_LIBRARY_PATH
    15394     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
    15395     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    15396     soname_spec='$libname$release$shared_ext$major'
    15397     if test 32 = "$HPUX_IA64_MODE"; then
    15398       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
    15399       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
    15400     else
    15401       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
    15402       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
    15403     fi
    15404     ;;
    15405   hppa*64*)
    15406     shrext_cmds='.sl'
    15407     hardcode_into_libs=yes
    15408     dynamic_linker="$host_os dld.sl"
    15409     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
    15410     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
    15411     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    15412     soname_spec='$libname$release$shared_ext$major'
    15413     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
    15414     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    15415     ;;
    15416   *)
    15417     shrext_cmds='.sl'
    15418     dynamic_linker="$host_os dld.sl"
    15419     shlibpath_var=SHLIB_PATH
    15420     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
    15421     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    15422     soname_spec='$libname$release$shared_ext$major'
    15423     ;;
    15424   esac
    15425   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
    15426   postinstall_cmds='chmod 555 $lib'
    15427   # or fails outright, so override atomically:
    15428   install_override_mode=555
    15429   ;;
    15430 
    15431 interix[3-9]*)
    15432   version_type=linux # correct to gnu/linux during the next big refactor
    15433   need_lib_prefix=no
    15434   need_version=no
    15435   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    15436   soname_spec='$libname$release$shared_ext$major'
    15437   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
    15438   shlibpath_var=LD_LIBRARY_PATH
    15439   shlibpath_overrides_runpath=no
    15440   hardcode_into_libs=yes
    15441   ;;
    15442 
    15443 irix5* | irix6* | nonstopux*)
    15444   case $host_os in
    15445     nonstopux*) version_type=nonstopux ;;
    15446     *)
    15447         if test yes = "$lt_cv_prog_gnu_ld"; then
    15448                 version_type=linux # correct to gnu/linux during the next big refactor
    15449         else
    15450                 version_type=irix
    15451         fi ;;
    15452   esac
    15453   need_lib_prefix=no
    15454   need_version=no
    15455   soname_spec='$libname$release$shared_ext$major'
    15456   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
    15457   case $host_os in
    15458   irix5* | nonstopux*)
    15459     libsuff= shlibsuff=
    15460     ;;
    15461   *)
    15462     case $LD in # libtool.m4 will add one of these switches to LD
    15463     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
    15464       libsuff= shlibsuff= libmagic=32-bit;;
    15465     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
    15466       libsuff=32 shlibsuff=N32 libmagic=N32;;
    15467     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
    15468       libsuff=64 shlibsuff=64 libmagic=64-bit;;
    15469     *) libsuff= shlibsuff= libmagic=never-match;;
    15470     esac
    15471     ;;
    15472   esac
    15473   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
    15474   shlibpath_overrides_runpath=no
    15475   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
    15476   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
    15477   hardcode_into_libs=yes
    15478   ;;
    15479 
    15480 # No shared lib support for Linux oldld, aout, or coff.
    15481 linux*oldld* | linux*aout* | linux*coff*)
    15482   dynamic_linker=no
    15483   ;;
    15484 
    15485 linux*android*)
    15486   version_type=none # Android doesn't support versioned libraries.
    15487   need_lib_prefix=no
    15488   need_version=no
    15489   library_names_spec='$libname$release$shared_ext'
    15490   soname_spec='$libname$release$shared_ext'
    15491   finish_cmds=
    15492   shlibpath_var=LD_LIBRARY_PATH
    15493   shlibpath_overrides_runpath=yes
    15494 
    15495   # This implies no fast_install, which is unacceptable.
    15496   # Some rework will be needed to allow for fast_install
    15497   # before this can be enabled.
    15498   hardcode_into_libs=yes
    15499 
    15500   dynamic_linker='Android linker'
    15501   # Don't embed -rpath directories since the linker doesn't support them.
    15502   hardcode_libdir_flag_spec_CXX='-L$libdir'
    15503   ;;
    15504 
    15505 # This must be glibc/ELF.
    15506 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
    15507   version_type=linux # correct to gnu/linux during the next big refactor
    15508   need_lib_prefix=no
    15509   need_version=no
    15510   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    15511   soname_spec='$libname$release$shared_ext$major'
    15512   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
    15513   shlibpath_var=LD_LIBRARY_PATH
    15514   shlibpath_overrides_runpath=no
    15515 
    15516   # Some binutils ld are patched to set DT_RUNPATH
    15517   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
    15518   $as_echo_n "(cached) " >&6
    15519 else
    15520   lt_cv_shlibpath_overrides_runpath=no
    15521     save_LDFLAGS=$LDFLAGS
    15522     save_libdir=$libdir
    15523     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
    15524          LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
    15525     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    15526 /* end confdefs.h.  */
    15527 
    15528 int
    15529 main ()
    15530 {
    15531 
    15532   ;
    15533   return 0;
    15534 }
    15535 _ACEOF
    15536 if ac_fn_cxx_try_link "$LINENO"; then :
    15537   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
    15538   lt_cv_shlibpath_overrides_runpath=yes
    15539 fi
    15540 fi
    15541 rm -f core conftest.err conftest.$ac_objext \
    15542     conftest$ac_exeext conftest.$ac_ext
    15543     LDFLAGS=$save_LDFLAGS
    15544     libdir=$save_libdir
    15545 
    15546 fi
    15547 
    15548   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
    15549 
    15550   # This implies no fast_install, which is unacceptable.
    15551   # Some rework will be needed to allow for fast_install
    15552   # before this can be enabled.
    15553   hardcode_into_libs=yes
    15554 
    15555   # Ideally, we could use ldconfig to report *all* directores which are
    15556   # searched for libraries, however this is still not possible.  Aside from not
    15557   # being certain /sbin/ldconfig is available, command
    15558   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
    15559   # even though it is searched at run-time.  Try to do the best guess by
    15560   # appending ld.so.conf contents (and includes) to the search path.
    15561   if test -f /etc/ld.so.conf; then
    15562     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' ' '`
    15563     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
    15564   fi
    15565 
    15566   # We used to test for /lib/ld.so.1 and disable shared libraries on
    15567   # powerpc, because MkLinux only supported shared libraries with the
    15568   # GNU dynamic linker.  Since this was broken with cross compilers,
    15569   # most powerpc-linux boxes support dynamic linking these days and
    15570   # people can always --disable-shared, the test was removed, and we
    15571   # assume the GNU/Linux dynamic linker is in use.
    15572   dynamic_linker='GNU/Linux ld.so'
    15573   ;;
    15574 
    15575 netbsdelf*-gnu)
    15576   version_type=linux
    15577   need_lib_prefix=no
    15578   need_version=no
    15579   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
    15580   soname_spec='${libname}${release}${shared_ext}$major'
    15581   shlibpath_var=LD_LIBRARY_PATH
    15582   shlibpath_overrides_runpath=no
    15583   hardcode_into_libs=yes
    15584   dynamic_linker='NetBSD ld.elf_so'
    15585   ;;
    15586 
    15587 netbsd*)
    15588   version_type=sunos
    15589   need_lib_prefix=no
    15590   need_version=no
    15591   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
    15592     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    15593     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    15594     dynamic_linker='NetBSD (a.out) ld.so'
    15595   else
    15596     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    15597     soname_spec='$libname$release$shared_ext$major'
    15598     dynamic_linker='NetBSD ld.elf_so'
    15599   fi
    15600   shlibpath_var=LD_LIBRARY_PATH
    15601   shlibpath_overrides_runpath=yes
    15602   hardcode_into_libs=yes
    15603   ;;
    15604 
    15605 newsos6)
    15606   version_type=linux # correct to gnu/linux during the next big refactor
    15607   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    15608   shlibpath_var=LD_LIBRARY_PATH
    15609   shlibpath_overrides_runpath=yes
    15610   ;;
    15611 
    15612 *nto* | *qnx*)
    15613   version_type=qnx
    15614   need_lib_prefix=no
    15615   need_version=no
    15616   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    15617   soname_spec='$libname$release$shared_ext$major'
    15618   shlibpath_var=LD_LIBRARY_PATH
    15619   shlibpath_overrides_runpath=no
    15620   hardcode_into_libs=yes
    15621   dynamic_linker='ldqnx.so'
    15622   ;;
    15623 
    15624 openbsd* | bitrig*)
    15625   version_type=sunos
    15626   sys_lib_dlsearch_path_spec=/usr/lib
    15627   need_lib_prefix=no
    15628   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
    15629     need_version=no
    15630   else
    15631     need_version=yes
    15632   fi
    15633   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    15634   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
    15635   shlibpath_var=LD_LIBRARY_PATH
    15636   shlibpath_overrides_runpath=yes
    15637   ;;
    15638 
    15639 os2*)
    15640   libname_spec='$name'
    15641   version_type=windows
    15642   shrext_cmds=.dll
    15643   need_version=no
    15644   need_lib_prefix=no
    15645   # OS/2 can only load a DLL with a base name of 8 characters or less.
    15646   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
    15647     v=$($ECHO $release$versuffix | tr -d .-);
    15648     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
    15649     $ECHO $n$v`$shared_ext'
    15650   library_names_spec='${libname}_dll.$libext'
    15651   dynamic_linker='OS/2 ld.exe'
    15652   shlibpath_var=BEGINLIBPATH
    15653   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
    15654   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    15655   postinstall_cmds='base_file=`basename \$file`~
    15656     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
    15657     dldir=$destdir/`dirname \$dlpath`~
    15658     test -d \$dldir || mkdir -p \$dldir~
    15659     $install_prog $dir/$dlname \$dldir/$dlname~
    15660     chmod a+x \$dldir/$dlname~
    15661     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
    15662       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
    15663     fi'
    15664   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
    15665     dlpath=$dir/\$dldll~
    15666     $RM \$dlpath'
    15667   ;;
    15668 
    15669 osf3* | osf4* | osf5*)
    15670   version_type=osf
    15671   need_lib_prefix=no
    15672   need_version=no
    15673   soname_spec='$libname$release$shared_ext$major'
    15674   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    15675   shlibpath_var=LD_LIBRARY_PATH
    15676   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
    15677   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
    15678   ;;
    15679 
    15680 rdos*)
    15681   dynamic_linker=no
    15682   ;;
    15683 
    15684 solaris*)
    15685   version_type=linux # correct to gnu/linux during the next big refactor
    15686   need_lib_prefix=no
    15687   need_version=no
    15688   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    15689   soname_spec='$libname$release$shared_ext$major'
    15690   shlibpath_var=LD_LIBRARY_PATH
    15691   shlibpath_overrides_runpath=yes
    15692   hardcode_into_libs=yes
    15693   # ldd complains unless libraries are executable
    15694   postinstall_cmds='chmod +x $lib'
    15695   ;;
    15696 
    15697 sunos4*)
    15698   version_type=sunos
    15699   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
    15700   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
    15701   shlibpath_var=LD_LIBRARY_PATH
    15702   shlibpath_overrides_runpath=yes
    15703   if test yes = "$with_gnu_ld"; then
    15704     need_lib_prefix=no
    15705   fi
    15706   need_version=yes
    15707   ;;
    15708 
    15709 sysv4 | sysv4.3*)
    15710   version_type=linux # correct to gnu/linux during the next big refactor
    15711   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    15712   soname_spec='$libname$release$shared_ext$major'
    15713   shlibpath_var=LD_LIBRARY_PATH
    15714   case $host_vendor in
    15715     sni)
    15716       shlibpath_overrides_runpath=no
    15717       need_lib_prefix=no
    15718       runpath_var=LD_RUN_PATH
    15719       ;;
    15720     siemens)
    15721       need_lib_prefix=no
    15722       ;;
    15723     motorola)
    15724       need_lib_prefix=no
    15725       need_version=no
    15726       shlibpath_overrides_runpath=no
    15727       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
    15728       ;;
    15729   esac
    15730   ;;
    15731 
    15732 sysv4*MP*)
    15733   if test -d /usr/nec; then
    15734     version_type=linux # correct to gnu/linux during the next big refactor
    15735     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
    15736     soname_spec='$libname$shared_ext.$major'
    15737     shlibpath_var=LD_LIBRARY_PATH
    15738   fi
    15739   ;;
    15740 
    15741 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
    15742   version_type=sco
    15743   need_lib_prefix=no
    15744   need_version=no
    15745   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
    15746   soname_spec='$libname$release$shared_ext$major'
    15747   shlibpath_var=LD_LIBRARY_PATH
    15748   shlibpath_overrides_runpath=yes
    15749   hardcode_into_libs=yes
    15750   if test yes = "$with_gnu_ld"; then
    15751     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
    15752   else
    15753     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
    15754     case $host_os in
    15755       sco3.2v5*)
    15756         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
    15757         ;;
    15758     esac
    15759   fi
    15760   sys_lib_dlsearch_path_spec='/usr/lib'
    15761   ;;
    15762 
    15763 tpf*)
    15764   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
    15765   version_type=linux # correct to gnu/linux during the next big refactor
    15766   need_lib_prefix=no
    15767   need_version=no
    15768   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    15769   shlibpath_var=LD_LIBRARY_PATH
    15770   shlibpath_overrides_runpath=no
    15771   hardcode_into_libs=yes
    15772   ;;
    15773 
    15774 uts4*)
    15775   version_type=linux # correct to gnu/linux during the next big refactor
    15776   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
    15777   soname_spec='$libname$release$shared_ext$major'
    15778   shlibpath_var=LD_LIBRARY_PATH
    15779   ;;
    15780 
    15781 *)
    15782   dynamic_linker=no
    15783   ;;
    15784 esac
    15785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
    15786 $as_echo "$dynamic_linker" >&6; }
    15787 test no = "$dynamic_linker" && can_build_shared=no
    15788 
    15789 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
    15790 if test yes = "$GCC"; then
    15791   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
    15792 fi
    15793 
    15794 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
    15795   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
    15796 fi
    15797 
    15798 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
    15799   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
    15800 fi
    15801 
    15802 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
    15803 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
    15804 
    15805 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
    15806 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
    15807 
    15808 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
    15809 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
    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 
    15848 
    15849 
    15850     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
    15851 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
    15852 hardcode_action_CXX=
    15853 if test -n "$hardcode_libdir_flag_spec_CXX" ||
    15854    test -n "$runpath_var_CXX" ||
    15855    test yes = "$hardcode_automatic_CXX"; then
    15856 
    15857   # We can hardcode non-existent directories.
    15858   if test no != "$hardcode_direct_CXX" &&
    15859      # If the only mechanism to avoid hardcoding is shlibpath_var, we
    15860      # have to relink, otherwise we might link with an installed library
    15861      # when we should be linking with a yet-to-be-installed one
    15862      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
    15863      test no != "$hardcode_minus_L_CXX"; then
    15864     # Linking always hardcodes the temporary library directory.
    15865     hardcode_action_CXX=relink
    15866   else
    15867     # We can link without hardcoding, and we can hardcode nonexisting dirs.
    15868     hardcode_action_CXX=immediate
    15869   fi
    15870 else
    15871   # We cannot hardcode anything, or else we can only hardcode existing
    15872   # directories.
    15873   hardcode_action_CXX=unsupported
    15874 fi
    15875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
    15876 $as_echo "$hardcode_action_CXX" >&6; }
    15877 
    15878 if test relink = "$hardcode_action_CXX" ||
    15879    test yes = "$inherit_rpath_CXX"; then
    15880   # Fast installation is not supported
    15881   enable_fast_install=no
    15882 elif test yes = "$shlibpath_overrides_runpath" ||
    15883      test no = "$enable_shared"; then
    15884   # Fast installation is not necessary
    15885   enable_fast_install=needless
    15886 fi
    15887 
    15888 
    15889 
    15890 
    15891 
    15892 
    15893 
    15894   fi # test -n "$compiler"
    15895 
    15896   CC=$lt_save_CC
    15897   CFLAGS=$lt_save_CFLAGS
    15898   LDCXX=$LD
    15899   LD=$lt_save_LD
    15900   GCC=$lt_save_GCC
    15901   with_gnu_ld=$lt_save_with_gnu_ld
    15902   lt_cv_path_LDCXX=$lt_cv_path_LD
    15903   lt_cv_path_LD=$lt_save_path_LD
    15904   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
    15905   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
    15906 fi # test yes != "$_lt_caught_CXX_error"
    15907 
    15908 ac_ext=c
    15909 ac_cpp='$CPP $CPPFLAGS'
    15910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    15911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    15912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    15913 
    15914 
    15915 ac_ext=c
    15916 ac_cpp='$CPP $CPPFLAGS'
    15917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    15918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    15919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    15920 if test -n "$ac_tool_prefix"; then
    15921   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    15922 set dummy ${ac_tool_prefix}gcc; ac_word=$2
    15923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    15924 $as_echo_n "checking for $ac_word... " >&6; }
    15925 if ${ac_cv_prog_CC+:} false; then :
    15926   $as_echo_n "(cached) " >&6
    15927 else
    15928   if test -n "$CC"; then
    15929   ac_cv_prog_CC="$CC" # Let the user override the test.
    15930 else
    15931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    15932 for as_dir in $PATH
    15933 do
    15934   IFS=$as_save_IFS
    15935   test -z "$as_dir" && as_dir=.
    15936     for ac_exec_ext in '' $ac_executable_extensions; do
    15937   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    15938     ac_cv_prog_CC="${ac_tool_prefix}gcc"
    15939     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    15940     break 2
    15941   fi
    15942 done
    15943   done
    15944 IFS=$as_save_IFS
    15945 
    15946 fi
    15947 fi
    15948 CC=$ac_cv_prog_CC
    15949 if test -n "$CC"; then
    15950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    15951 $as_echo "$CC" >&6; }
    15952 else
    15953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    15954 $as_echo "no" >&6; }
    15955 fi
    15956 
    15957 
    15958 fi
    15959 if test -z "$ac_cv_prog_CC"; then
    15960   ac_ct_CC=$CC
    15961   # Extract the first word of "gcc", so it can be a program name with args.
    15962 set dummy gcc; ac_word=$2
    15963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    15964 $as_echo_n "checking for $ac_word... " >&6; }
    15965 if ${ac_cv_prog_ac_ct_CC+:} false; then :
    15966   $as_echo_n "(cached) " >&6
    15967 else
    15968   if test -n "$ac_ct_CC"; then
    15969   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    15970 else
    15971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    15972 for as_dir in $PATH
    15973 do
    15974   IFS=$as_save_IFS
    15975   test -z "$as_dir" && as_dir=.
    15976     for ac_exec_ext in '' $ac_executable_extensions; do
    15977   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    15978     ac_cv_prog_ac_ct_CC="gcc"
    15979     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    15980     break 2
    15981   fi
    15982 done
    15983   done
    15984 IFS=$as_save_IFS
    15985 
    15986 fi
    15987 fi
    15988 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    15989 if test -n "$ac_ct_CC"; then
    15990   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    15991 $as_echo "$ac_ct_CC" >&6; }
    15992 else
    15993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    15994 $as_echo "no" >&6; }
    15995 fi
    15996 
    15997   if test "x$ac_ct_CC" = x; then
    15998     CC=""
    15999   else
    16000     case $cross_compiling:$ac_tool_warned in
    16001 yes:)
    16002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    16003 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    16004 ac_tool_warned=yes ;;
    16005 esac
    16006     CC=$ac_ct_CC
    16007   fi
    16008 else
    16009   CC="$ac_cv_prog_CC"
    16010 fi
    16011 
    16012 if test -z "$CC"; then
    16013           if test -n "$ac_tool_prefix"; then
    16014     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    16015 set dummy ${ac_tool_prefix}cc; ac_word=$2
    16016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    16017 $as_echo_n "checking for $ac_word... " >&6; }
    16018 if ${ac_cv_prog_CC+:} false; then :
    16019   $as_echo_n "(cached) " >&6
    16020 else
    16021   if test -n "$CC"; then
    16022   ac_cv_prog_CC="$CC" # Let the user override the test.
    16023 else
    16024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    16025 for as_dir in $PATH
    16026 do
    16027   IFS=$as_save_IFS
    16028   test -z "$as_dir" && as_dir=.
    16029     for ac_exec_ext in '' $ac_executable_extensions; do
    16030   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    16031     ac_cv_prog_CC="${ac_tool_prefix}cc"
    16032     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    16033     break 2
    16034   fi
    16035 done
    16036   done
    16037 IFS=$as_save_IFS
    16038 
    16039 fi
    16040 fi
    16041 CC=$ac_cv_prog_CC
    16042 if test -n "$CC"; then
    16043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    16044 $as_echo "$CC" >&6; }
    16045 else
    16046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    16047 $as_echo "no" >&6; }
    16048 fi
    16049 
    16050 
    16051   fi
    16052 fi
    16053 if test -z "$CC"; then
    16054   # Extract the first word of "cc", so it can be a program name with args.
    16055 set dummy cc; ac_word=$2
    16056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    16057 $as_echo_n "checking for $ac_word... " >&6; }
    16058 if ${ac_cv_prog_CC+:} false; then :
    16059   $as_echo_n "(cached) " >&6
    16060 else
    16061   if test -n "$CC"; then
    16062   ac_cv_prog_CC="$CC" # Let the user override the test.
    16063 else
    16064   ac_prog_rejected=no
    16065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    16066 for as_dir in $PATH
    16067 do
    16068   IFS=$as_save_IFS
    16069   test -z "$as_dir" && as_dir=.
    16070     for ac_exec_ext in '' $ac_executable_extensions; do
    16071   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    16072     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    16073        ac_prog_rejected=yes
    16074        continue
    16075      fi
    16076     ac_cv_prog_CC="cc"
    16077     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    16078     break 2
    16079   fi
    16080 done
    16081   done
    16082 IFS=$as_save_IFS
    16083 
    16084 if test $ac_prog_rejected = yes; then
    16085   # We found a bogon in the path, so make sure we never use it.
    16086   set dummy $ac_cv_prog_CC
    16087   shift
    16088   if test $# != 0; then
    16089     # We chose a different compiler from the bogus one.
    16090     # However, it has the same basename, so the bogon will be chosen
    16091     # first if we set CC to just the basename; use the full file name.
    16092     shift
    16093     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
    16094   fi
    16095 fi
    16096 fi
    16097 fi
    16098 CC=$ac_cv_prog_CC
    16099 if test -n "$CC"; then
    16100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    16101 $as_echo "$CC" >&6; }
    16102 else
    16103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    16104 $as_echo "no" >&6; }
    16105 fi
    16106 
    16107 
    16108 fi
    16109 if test -z "$CC"; then
    16110   if test -n "$ac_tool_prefix"; then
    16111   for ac_prog in cl.exe
    16112   do
    16113     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    16114 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    16115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    16116 $as_echo_n "checking for $ac_word... " >&6; }
    16117 if ${ac_cv_prog_CC+:} false; then :
    16118   $as_echo_n "(cached) " >&6
    16119 else
    16120   if test -n "$CC"; then
    16121   ac_cv_prog_CC="$CC" # Let the user override the test.
    16122 else
    16123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    16124 for as_dir in $PATH
    16125 do
    16126   IFS=$as_save_IFS
    16127   test -z "$as_dir" && as_dir=.
    16128     for ac_exec_ext in '' $ac_executable_extensions; do
    16129   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    16130     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    16131     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    16132     break 2
    16133   fi
    16134 done
    16135   done
    16136 IFS=$as_save_IFS
    16137 
    16138 fi
    16139 fi
    16140 CC=$ac_cv_prog_CC
    16141 if test -n "$CC"; then
    16142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    16143 $as_echo "$CC" >&6; }
    16144 else
    16145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    16146 $as_echo "no" >&6; }
    16147 fi
    16148 
    16149 
    16150     test -n "$CC" && break
    16151   done
    16152 fi
    16153 if test -z "$CC"; then
    16154   ac_ct_CC=$CC
    16155   for ac_prog in cl.exe
    16156 do
    16157   # Extract the first word of "$ac_prog", so it can be a program name with args.
    16158 set dummy $ac_prog; ac_word=$2
    16159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    16160 $as_echo_n "checking for $ac_word... " >&6; }
    16161 if ${ac_cv_prog_ac_ct_CC+:} false; then :
    16162   $as_echo_n "(cached) " >&6
    16163 else
    16164   if test -n "$ac_ct_CC"; then
    16165   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
    16166 else
    16167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    16168 for as_dir in $PATH
    16169 do
    16170   IFS=$as_save_IFS
    16171   test -z "$as_dir" && as_dir=.
    16172     for ac_exec_ext in '' $ac_executable_extensions; do
    16173   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    16174     ac_cv_prog_ac_ct_CC="$ac_prog"
    16175     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    16176     break 2
    16177   fi
    16178 done
    16179   done
    16180 IFS=$as_save_IFS
    16181 
    16182 fi
    16183 fi
    16184 ac_ct_CC=$ac_cv_prog_ac_ct_CC
    16185 if test -n "$ac_ct_CC"; then
    16186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    16187 $as_echo "$ac_ct_CC" >&6; }
    16188 else
    16189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    16190 $as_echo "no" >&6; }
    16191 fi
    16192 
    16193 
    16194   test -n "$ac_ct_CC" && break
    16195 done
    16196 
    16197   if test "x$ac_ct_CC" = x; then
    16198     CC=""
    16199   else
    16200     case $cross_compiling:$ac_tool_warned in
    16201 yes:)
    16202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    16203 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    16204 ac_tool_warned=yes ;;
    16205 esac
    16206     CC=$ac_ct_CC
    16207   fi
    16208 fi
    16209 
    16210 fi
    16211 
    16212 
    16213 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    16214 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    16215 as_fn_error $? "no acceptable C compiler found in \$PATH
    16216 See \`config.log' for more details" "$LINENO" 5; }
    16217 
    16218 # Provide some information about the compiler.
    16219 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
    16220 set X $ac_compile
    16221 ac_compiler=$2
    16222 for ac_option in --version -v -V -qversion; do
    16223   { { ac_try="$ac_compiler $ac_option >&5"
    16224 case "(($ac_try" in
    16225   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    16226   *) ac_try_echo=$ac_try;;
    16227 esac
    16228 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    16229 $as_echo "$ac_try_echo"; } >&5
    16230   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    16231   ac_status=$?
    16232   if test -s conftest.err; then
    16233     sed '10a\
    16234 ... rest of stderr output deleted ...
    16235          10q' conftest.err >conftest.er1
    16236     cat conftest.er1 >&5
    16237   fi
    16238   rm -f conftest.er1 conftest.err
    16239   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    16240   test $ac_status = 0; }
    16241 done
    16242 
    16243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
    16244 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    16245 if ${ac_cv_c_compiler_gnu+:} false; then :
    16246   $as_echo_n "(cached) " >&6
    16247 else
    16248   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    16249 /* end confdefs.h.  */
    16250 
    16251 int
    16252 main ()
    16253 {
    16254 #ifndef __GNUC__
    16255        choke me
    16256 #endif
    16257 
    16258   ;
    16259   return 0;
    16260 }
    16261 _ACEOF
    16262 if ac_fn_c_try_compile "$LINENO"; then :
    16263   ac_compiler_gnu=yes
    16264 else
    16265   ac_compiler_gnu=no
    16266 fi
    16267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    16268 ac_cv_c_compiler_gnu=$ac_compiler_gnu
    16269 
    16270 fi
    16271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
    16272 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
    16273 if test $ac_compiler_gnu = yes; then
    16274   GCC=yes
    16275 else
    16276   GCC=
    16277 fi
    16278 ac_test_CFLAGS=${CFLAGS+set}
    16279 ac_save_CFLAGS=$CFLAGS
    16280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
    16281 $as_echo_n "checking whether $CC accepts -g... " >&6; }
    16282 if ${ac_cv_prog_cc_g+:} false; then :
    16283   $as_echo_n "(cached) " >&6
    16284 else
    16285   ac_save_c_werror_flag=$ac_c_werror_flag
    16286    ac_c_werror_flag=yes
    16287    ac_cv_prog_cc_g=no
    16288    CFLAGS="-g"
    16289    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    16290 /* end confdefs.h.  */
    16291 
    16292 int
    16293 main ()
    16294 {
    16295 
    16296   ;
    16297   return 0;
    16298 }
    16299 _ACEOF
    16300 if ac_fn_c_try_compile "$LINENO"; then :
    16301   ac_cv_prog_cc_g=yes
    16302 else
    16303   CFLAGS=""
    16304       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    16305 /* end confdefs.h.  */
    16306 
    16307 int
    16308 main ()
    16309 {
    16310 
    16311   ;
    16312   return 0;
    16313 }
    16314 _ACEOF
    16315 if ac_fn_c_try_compile "$LINENO"; then :
    16316 
    16317 else
    16318   ac_c_werror_flag=$ac_save_c_werror_flag
    16319          CFLAGS="-g"
    16320          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    16321 /* end confdefs.h.  */
    16322 
    16323 int
    16324 main ()
    16325 {
    16326 
    16327   ;
    16328   return 0;
    16329 }
    16330 _ACEOF
    16331 if ac_fn_c_try_compile "$LINENO"; then :
    16332   ac_cv_prog_cc_g=yes
    16333 fi
    16334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    16335 fi
    16336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    16337 fi
    16338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    16339    ac_c_werror_flag=$ac_save_c_werror_flag
    16340 fi
    16341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
    16342 $as_echo "$ac_cv_prog_cc_g" >&6; }
    16343 if test "$ac_test_CFLAGS" = set; then
    16344   CFLAGS=$ac_save_CFLAGS
    16345 elif test $ac_cv_prog_cc_g = yes; then
    16346   if test "$GCC" = yes; then
    16347     CFLAGS="-g -O2"
    16348   else
    16349     CFLAGS="-g"
    16350   fi
    16351 else
    16352   if test "$GCC" = yes; then
    16353     CFLAGS="-O2"
    16354   else
    16355     CFLAGS=
    16356   fi
    16357 fi
    16358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
    16359 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    16360 if ${ac_cv_prog_cc_c89+:} false; then :
    16361   $as_echo_n "(cached) " >&6
    16362 else
    16363   ac_cv_prog_cc_c89=no
    16364 ac_save_CC=$CC
    16365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    16366 /* end confdefs.h.  */
    16367 #include <stdarg.h>
    16368 #include <stdio.h>
    16369 struct stat;
    16370 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
    16371 struct buf { int x; };
    16372 FILE * (*rcsopen) (struct buf *, struct stat *, int);
    16373 static char *e (p, i)
    16374      char **p;
    16375      int i;
    16376 {
    16377   return p[i];
    16378 }
    16379 static char *f (char * (*g) (char **, int), char **p, ...)
    16380 {
    16381   char *s;
    16382   va_list v;
    16383   va_start (v,p);
    16384   s = g (p, va_arg (v,int));
    16385   va_end (v);
    16386   return s;
    16387 }
    16388 
    16389 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
    16390    function prototypes and stuff, but not '\xHH' hex character constants.
    16391    These don't provoke an error unfortunately, instead are silently treated
    16392    as 'x'.  The following induces an error, until -std is added to get
    16393    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
    16394    array size at least.  It's necessary to write '\x00'==0 to get something
    16395    that's true only with -std.  */
    16396 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
    16397 
    16398 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
    16399    inside strings and character constants.  */
    16400 #define FOO(x) 'x'
    16401 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
    16402 
    16403 int test (int i, double x);
    16404 struct s1 {int (*f) (int a);};
    16405 struct s2 {int (*f) (double a);};
    16406 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
    16407 int argc;
    16408 char **argv;
    16409 int
    16410 main ()
    16411 {
    16412 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
    16413   ;
    16414   return 0;
    16415 }
    16416 _ACEOF
    16417 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
    16418         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
    16419 do
    16420   CC="$ac_save_CC $ac_arg"
    16421   if ac_fn_c_try_compile "$LINENO"; then :
    16422   ac_cv_prog_cc_c89=$ac_arg
    16423 fi
    16424 rm -f core conftest.err conftest.$ac_objext
    16425   test "x$ac_cv_prog_cc_c89" != "xno" && break
    16426 done
    16427 rm -f conftest.$ac_ext
    16428 CC=$ac_save_CC
    16429 
    16430 fi
    16431 # AC_CACHE_VAL
    16432 case "x$ac_cv_prog_cc_c89" in
    16433   x)
    16434     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
    16435 $as_echo "none needed" >&6; } ;;
    16436   xno)
    16437     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
    16438 $as_echo "unsupported" >&6; } ;;
    16439   *)
    16440     CC="$CC $ac_cv_prog_cc_c89"
    16441     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
    16442 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    16443 esac
    16444 if test "x$ac_cv_prog_cc_c89" != xno; then :
    16445 
    16446 fi
    16447 
    16448 ac_ext=c
    16449 ac_cpp='$CPP $CPPFLAGS'
    16450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    16451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    16452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    16453 
    16454 ac_ext=c
    16455 ac_cpp='$CPP $CPPFLAGS'
    16456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    16457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    16458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    16459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
    16460 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
    16461 if ${am_cv_prog_cc_c_o+:} false; then :
    16462   $as_echo_n "(cached) " >&6
    16463 else
    16464   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    16465 /* end confdefs.h.  */
    16466 
    16467 int
    16468 main ()
    16469 {
    16470 
    16471   ;
    16472   return 0;
    16473 }
    16474 _ACEOF
    16475   # Make sure it works both with $CC and with simple cc.
    16476   # Following AC_PROG_CC_C_O, we do the test twice because some
    16477   # compilers refuse to overwrite an existing .o file with -o,
    16478   # though they will create one.
    16479   am_cv_prog_cc_c_o=yes
    16480   for am_i in 1 2; do
    16481     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
    16482    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
    16483    ac_status=$?
    16484    echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16485    (exit $ac_status); } \
    16486          && test -f conftest2.$ac_objext; then
    16487       : OK
    16488     else
    16489       am_cv_prog_cc_c_o=no
    16490       break
    16491     fi
    16492   done
    16493   rm -f core conftest*
    16494   unset am_i
    16495 fi
    16496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
    16497 $as_echo "$am_cv_prog_cc_c_o" >&6; }
    16498 if test "$am_cv_prog_cc_c_o" != yes; then
    16499    # Losing compiler, so override with the script.
    16500    # FIXME: It is wrong to rewrite CC.
    16501    # But if we don't then we get into trouble of one sort or another.
    16502    # A longer-term fix would be to have automake use am__CC in this case,
    16503    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
    16504    CC="$am_aux_dir/compile $CC"
    16505 fi
    16506 ac_ext=c
    16507 ac_cpp='$CPP $CPPFLAGS'
    16508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
    16509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    16510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
    16511 
    16512 
    16513 depcc="$CC"   am_compiler_list=
    16514 
    16515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
    16516 $as_echo_n "checking dependency style of $depcc... " >&6; }
    16517 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
    16518   $as_echo_n "(cached) " >&6
    16519 else
    16520   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
    16521   # We make a subdir and do the tests there.  Otherwise we can end up
    16522   # making bogus files that we don't know about and never remove.  For
    16523   # instance it was reported that on HP-UX the gcc test will end up
    16524   # making a dummy file named 'D' -- because '-MD' means "put the output
    16525   # in D".
    16526   rm -rf conftest.dir
    16527   mkdir conftest.dir
    16528   # Copy depcomp to subdir because otherwise we won't find it if we're
    16529   # using a relative directory.
    16530   cp "$am_depcomp" conftest.dir
    16531   cd conftest.dir
    16532   # We will build objects and dependencies in a subdirectory because
    16533   # it helps to detect inapplicable dependency modes.  For instance
    16534   # both Tru64's cc and ICC support -MD to output dependencies as a
    16535   # side effect of compilation, but ICC will put the dependencies in
    16536   # the current directory while Tru64 will put them in the object
    16537   # directory.
    16538   mkdir sub
    16539 
    16540   am_cv_CC_dependencies_compiler_type=none
    16541   if test "$am_compiler_list" = ""; then
    16542      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
    16543   fi
    16544   am__universal=false
    16545   case " $depcc " in #(
    16546      *\ -arch\ *\ -arch\ *) am__universal=true ;;
    16547      esac
    16548 
    16549   for depmode in $am_compiler_list; do
    16550     # Setup a source with many dependencies, because some compilers
    16551     # like to wrap large dependency lists on column 80 (with \), and
    16552     # we should not choose a depcomp mode which is confused by this.
    16553     #
    16554     # We need to recreate these files for each test, as the compiler may
    16555     # overwrite some of them when testing with obscure command lines.
    16556     # This happens at least with the AIX C compiler.
    16557     : > sub/conftest.c
    16558     for i in 1 2 3 4 5 6; do
    16559       echo '#include "conftst'$i'.h"' >> sub/conftest.c
    16560       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
    16561       # Solaris 10 /bin/sh.
    16562       echo '/* dummy */' > sub/conftst$i.h
    16563     done
    16564     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
    16565 
    16566     # We check with '-c' and '-o' for the sake of the "dashmstdout"
    16567     # mode.  It turns out that the SunPro C++ compiler does not properly
    16568     # handle '-M -o', and we need to detect this.  Also, some Intel
    16569     # versions had trouble with output in subdirs.
    16570     am__obj=sub/conftest.${OBJEXT-o}
    16571     am__minus_obj="-o $am__obj"
    16572     case $depmode in
    16573     gcc)
    16574       # This depmode causes a compiler race in universal mode.
    16575       test "$am__universal" = false || continue
    16576       ;;
    16577     nosideeffect)
    16578       # After this tag, mechanisms are not by side-effect, so they'll
    16579       # only be used when explicitly requested.
    16580       if test "x$enable_dependency_tracking" = xyes; then
    16581         continue
    16582       else
    16583         break
    16584       fi
    16585       ;;
    16586     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
    16587       # This compiler won't grok '-c -o', but also, the minuso test has
    16588       # not run yet.  These depmodes are late enough in the game, and
    16589       # so weak that their functioning should not be impacted.
    16590       am__obj=conftest.${OBJEXT-o}
    16591       am__minus_obj=
    16592       ;;
    16593     none) break ;;
    16594     esac
    16595     if depmode=$depmode \
    16596        source=sub/conftest.c object=$am__obj \
    16597        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
    16598        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
    16599          >/dev/null 2>conftest.err &&
    16600        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
    16601        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
    16602        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
    16603        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
    16604       # icc doesn't choke on unknown options, it will just issue warnings
    16605       # or remarks (even with -Werror).  So we grep stderr for any message
    16606       # that says an option was ignored or not supported.
    16607       # When given -MP, icc 7.0 and 7.1 complain thusly:
    16608       #   icc: Command line warning: ignoring option '-M'; no argument required
    16609       # The diagnosis changed in icc 8.0:
    16610       #   icc: Command line remark: option '-MP' not supported
    16611       if (grep 'ignoring option' conftest.err ||
    16612           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
    16613         am_cv_CC_dependencies_compiler_type=$depmode
    16614         break
    16615       fi
    16616     fi
    16617   done
    16618 
    16619   cd ..
    16620   rm -rf conftest.dir
    16621 else
    16622   am_cv_CC_dependencies_compiler_type=none
    16623 fi
    16624 
    16625 fi
    16626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
    16627 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
    16628 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
    16629 
    16630  if
    16631   test "x$enable_dependency_tracking" != xno \
    16632   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
    16633   am__fastdepCC_TRUE=
    16634   am__fastdepCC_FALSE='#'
    16635 else
    16636   am__fastdepCC_TRUE='#'
    16637   am__fastdepCC_FALSE=
    16638 fi
    16639 
    16640 
    166414074# By default we simply use the C compiler to build assembly code.
    166424075
     
    168044237fi
    168054238
     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
    168064331
    168074332ac_config_files="$ac_config_files Makefile src/Makefile prelude/Makefile"
     
    169774502Usually this means the macro was only invoked conditionally." "$LINENO" 5
    169784503fi
    16979 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
    16980   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
    16981 Usually this means the macro was only invoked conditionally." "$LINENO" 5
    16982 fi
    169834504if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
    169844505  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
     
    175575078AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
    175585079
    17559 
    17560 # The HP-UX ksh and POSIX shell print the target directory to stdout
    17561 # if CDPATH is set.
    17562 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    17563 
    17564 sed_quote_subst='$sed_quote_subst'
    17565 double_quote_subst='$double_quote_subst'
    17566 delay_variable_subst='$delay_variable_subst'
    17567 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
    17568 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
    17569 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
    17570 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
    17571 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
    17572 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
    17573 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
    17574 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
    17575 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
    17576 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
    17577 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
    17578 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
    17579 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
    17580 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
    17581 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
    17582 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
    17583 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
    17584 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
    17585 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
    17586 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
    17587 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
    17588 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
    17589 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
    17590 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
    17591 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
    17592 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
    17593 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
    17594 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
    17595 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
    17596 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
    17597 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
    17598 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
    17599 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
    17600 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
    17601 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
    17602 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
    17603 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
    17604 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
    17605 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
    17606 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
    17607 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
    17608 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
    17609 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
    17610 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
    17611 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
    17612 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
    17613 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
    17614 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
    17615 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
    17616 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
    17617 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
    17618 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
    17619 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
    17620 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
    17621 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
    17622 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
    17623 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
    17624 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
    17625 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"`'
    17626 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
    17627 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
    17628 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
    17629 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
    17630 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
    17631 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
    17632 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
    17633 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
    17634 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
    17635 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
    17636 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
    17637 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
    17638 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
    17639 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
    17640 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
    17641 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
    17642 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
    17643 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
    17644 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
    17645 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
    17646 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
    17647 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
    17648 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
    17649 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
    17650 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
    17651 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
    17652 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
    17653 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
    17654 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
    17655 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
    17656 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
    17657 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
    17658 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
    17659 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
    17660 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
    17661 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
    17662 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
    17663 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
    17664 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
    17665 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
    17666 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
    17667 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
    17668 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
    17669 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
    17670 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
    17671 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
    17672 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
    17673 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
    17674 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
    17675 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
    17676 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
    17677 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
    17678 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
    17679 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
    17680 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
    17681 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
    17682 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
    17683 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
    17684 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
    17685 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
    17686 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
    17687 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
    17688 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
    17689 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
    17690 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
    17691 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
    17692 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
    17693 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
    17694 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
    17695 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
    17696 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
    17697 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
    17698 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
    17699 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
    17700 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
    17701 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
    17702 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
    17703 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
    17704 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
    17705 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
    17706 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
    17707 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
    17708 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
    17709 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
    17710 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
    17711 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
    17712 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
    17713 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
    17714 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
    17715 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
    17716 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
    17717 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
    17718 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
    17719 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
    17720 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
    17721 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
    17722 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
    17723 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
    17724 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
    17725 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
    17726 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
    17727 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
    17728 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
    17729 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
    17730 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
    17731 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
    17732 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
    17733 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
    17734 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
    17735 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
    17736 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
    17737 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
    17738 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
    17739 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
    17740 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
    17741 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
    17742 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
    17743 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
    17744 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
    17745 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
    17746 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
    17747 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
    17748 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
    17749 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
    17750 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
    17751 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
    17752 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
    17753 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
    17754 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
    17755 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
    17756 
    17757 LTCC='$LTCC'
    17758 LTCFLAGS='$LTCFLAGS'
    17759 compiler='$compiler_DEFAULT'
    17760 
    17761 # A function that is used when there is no print builtin or printf.
    17762 func_fallback_echo ()
    17763 {
    17764   eval 'cat <<_LTECHO_EOF
    17765 \$1
    17766 _LTECHO_EOF'
    17767 }
    17768 
    17769 # Quote evaled strings.
    17770 for var in SHELL \
    17771 ECHO \
    17772 PATH_SEPARATOR \
    17773 SED \
    17774 GREP \
    17775 EGREP \
    17776 FGREP \
    17777 LD \
    17778 NM \
    17779 LN_S \
    17780 lt_SP2NL \
    17781 lt_NL2SP \
    17782 reload_flag \
    17783 OBJDUMP \
    17784 deplibs_check_method \
    17785 file_magic_cmd \
    17786 file_magic_glob \
    17787 want_nocaseglob \
    17788 DLLTOOL \
    17789 sharedlib_from_linklib_cmd \
    17790 AR \
    17791 AR_FLAGS \
    17792 archiver_list_spec \
    17793 STRIP \
    17794 RANLIB \
    17795 CC \
    17796 CFLAGS \
    17797 compiler \
    17798 lt_cv_sys_global_symbol_pipe \
    17799 lt_cv_sys_global_symbol_to_cdecl \
    17800 lt_cv_sys_global_symbol_to_import \
    17801 lt_cv_sys_global_symbol_to_c_name_address \
    17802 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
    17803 lt_cv_nm_interface \
    17804 nm_file_list_spec \
    17805 lt_cv_truncate_bin \
    17806 lt_prog_compiler_no_builtin_flag \
    17807 lt_prog_compiler_pic \
    17808 lt_prog_compiler_wl \
    17809 lt_prog_compiler_static \
    17810 lt_cv_prog_compiler_c_o \
    17811 need_locks \
    17812 MANIFEST_TOOL \
    17813 DSYMUTIL \
    17814 NMEDIT \
    17815 LIPO \
    17816 OTOOL \
    17817 OTOOL64 \
    17818 shrext_cmds \
    17819 export_dynamic_flag_spec \
    17820 whole_archive_flag_spec \
    17821 compiler_needs_object \
    17822 with_gnu_ld \
    17823 allow_undefined_flag \
    17824 no_undefined_flag \
    17825 hardcode_libdir_flag_spec \
    17826 hardcode_libdir_separator \
    17827 exclude_expsyms \
    17828 include_expsyms \
    17829 file_list_spec \
    17830 variables_saved_for_relink \
    17831 libname_spec \
    17832 library_names_spec \
    17833 soname_spec \
    17834 install_override_mode \
    17835 finish_eval \
    17836 old_striplib \
    17837 striplib \
    17838 compiler_lib_search_dirs \
    17839 predep_objects \
    17840 postdep_objects \
    17841 predeps \
    17842 postdeps \
    17843 compiler_lib_search_path \
    17844 LD_CXX \
    17845 reload_flag_CXX \
    17846 compiler_CXX \
    17847 lt_prog_compiler_no_builtin_flag_CXX \
    17848 lt_prog_compiler_pic_CXX \
    17849 lt_prog_compiler_wl_CXX \
    17850 lt_prog_compiler_static_CXX \
    17851 lt_cv_prog_compiler_c_o_CXX \
    17852 export_dynamic_flag_spec_CXX \
    17853 whole_archive_flag_spec_CXX \
    17854 compiler_needs_object_CXX \
    17855 with_gnu_ld_CXX \
    17856 allow_undefined_flag_CXX \
    17857 no_undefined_flag_CXX \
    17858 hardcode_libdir_flag_spec_CXX \
    17859 hardcode_libdir_separator_CXX \
    17860 exclude_expsyms_CXX \
    17861 include_expsyms_CXX \
    17862 file_list_spec_CXX \
    17863 compiler_lib_search_dirs_CXX \
    17864 predep_objects_CXX \
    17865 postdep_objects_CXX \
    17866 predeps_CXX \
    17867 postdeps_CXX \
    17868 compiler_lib_search_path_CXX; do
    17869     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
    17870     *[\\\\\\\`\\"\\\$]*)
    17871       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
    17872       ;;
    17873     *)
    17874       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
    17875       ;;
    17876     esac
    17877 done
    17878 
    17879 # Double-quote double-evaled strings.
    17880 for var in reload_cmds \
    17881 old_postinstall_cmds \
    17882 old_postuninstall_cmds \
    17883 old_archive_cmds \
    17884 extract_expsyms_cmds \
    17885 old_archive_from_new_cmds \
    17886 old_archive_from_expsyms_cmds \
    17887 archive_cmds \
    17888 archive_expsym_cmds \
    17889 module_cmds \
    17890 module_expsym_cmds \
    17891 export_symbols_cmds \
    17892 prelink_cmds \
    17893 postlink_cmds \
    17894 postinstall_cmds \
    17895 postuninstall_cmds \
    17896 finish_cmds \
    17897 sys_lib_search_path_spec \
    17898 configure_time_dlsearch_path \
    17899 configure_time_lt_sys_library_path \
    17900 reload_cmds_CXX \
    17901 old_archive_cmds_CXX \
    17902 old_archive_from_new_cmds_CXX \
    17903 old_archive_from_expsyms_cmds_CXX \
    17904 archive_cmds_CXX \
    17905 archive_expsym_cmds_CXX \
    17906 module_cmds_CXX \
    17907 module_expsym_cmds_CXX \
    17908 export_symbols_cmds_CXX \
    17909 prelink_cmds_CXX \
    17910 postlink_cmds_CXX; do
    17911     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
    17912     *[\\\\\\\`\\"\\\$]*)
    17913       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
    17914       ;;
    17915     *)
    17916       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
    17917       ;;
    17918     esac
    17919 done
    17920 
    17921 ac_aux_dir='$ac_aux_dir'
    17922 
    17923 # See if we are running on zsh, and set the options that allow our
    17924 # commands through without removal of \ escapes INIT.
    17925 if test -n "\${ZSH_VERSION+set}"; then
    17926    setopt NO_GLOB_SUBST
    17927 fi
    17928 
    17929 
    17930     PACKAGE='$PACKAGE'
    17931     VERSION='$VERSION'
    17932     RM='$RM'
    17933     ofile='$ofile'
    17934 
    17935 
    17936 
    17937 
    17938 
    17939 
    179405080_ACEOF
    179415081
     
    179475087  case $ac_config_target in
    179485088    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
    17949     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
    179505089    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
    179515090    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
     
    184735612}
    184745613 ;;
    18475     "libtool":C)
    18476 
    18477     # See if we are running on zsh, and set the options that allow our
    18478     # commands through without removal of \ escapes.
    18479     if test -n "${ZSH_VERSION+set}"; then
    18480       setopt NO_GLOB_SUBST
    18481     fi
    18482 
    18483     cfgfile=${ofile}T
    18484     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
    18485     $RM "$cfgfile"
    18486 
    18487     cat <<_LT_EOF >> "$cfgfile"
    18488 #! $SHELL
    18489 # Generated automatically by $as_me ($PACKAGE) $VERSION
    18490 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
    18491 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
    18492 
    18493 # Provide generalized library-building support services.
    18494 # Written by Gordon Matzigkeit, 1996
    18495 
    18496 # Copyright (C) 2014 Free Software Foundation, Inc.
    18497 # This is free software; see the source for copying conditions.  There is NO
    18498 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    18499 
    18500 # GNU Libtool is free software; you can redistribute it and/or modify
    18501 # it under the terms of the GNU General Public License as published by
    18502 # the Free Software Foundation; either version 2 of of the License, or
    18503 # (at your option) any later version.
    18504 #
    18505 # As a special exception to the GNU General Public License, if you
    18506 # distribute this file as part of a program or library that is built
    18507 # using GNU Libtool, you may include this file under the  same
    18508 # distribution terms that you use for the rest of that program.
    18509 #
    18510 # GNU Libtool is distributed in the hope that it will be useful, but
    18511 # WITHOUT ANY WARRANTY; without even the implied warranty of
    18512 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    18513 # GNU General Public License for more details.
    18514 #
    18515 # You should have received a copy of the GNU General Public License
    18516 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
    18517 
    18518 
    18519 # The names of the tagged configurations supported by this script.
    18520 available_tags='CXX '
    18521 
    18522 # Configured defaults for sys_lib_dlsearch_path munging.
    18523 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
    18524 
    18525 # ### BEGIN LIBTOOL CONFIG
    18526 
    18527 # Which release of libtool.m4 was used?
    18528 macro_version=$macro_version
    18529 macro_revision=$macro_revision
    18530 
    18531 # Whether or not to build shared libraries.
    18532 build_libtool_libs=$enable_shared
    18533 
    18534 # Whether or not to build static libraries.
    18535 build_old_libs=$enable_static
    18536 
    18537 # What type of objects to build.
    18538 pic_mode=$pic_mode
    18539 
    18540 # Whether or not to optimize for fast installation.
    18541 fast_install=$enable_fast_install
    18542 
    18543 # Shared archive member basename,for filename based shared library versioning on AIX.
    18544 shared_archive_member_spec=$shared_archive_member_spec
    18545 
    18546 # Shell to use when invoking shell scripts.
    18547 SHELL=$lt_SHELL
    18548 
    18549 # An echo program that protects backslashes.
    18550 ECHO=$lt_ECHO
    18551 
    18552 # The PATH separator for the build system.
    18553 PATH_SEPARATOR=$lt_PATH_SEPARATOR
    18554 
    18555 # The host system.
    18556 host_alias=$host_alias
    18557 host=$host
    18558 host_os=$host_os
    18559 
    18560 # The build system.
    18561 build_alias=$build_alias
    18562 build=$build
    18563 build_os=$build_os
    18564 
    18565 # A sed program that does not truncate output.
    18566 SED=$lt_SED
    18567 
    18568 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
    18569 Xsed="\$SED -e 1s/^X//"
    18570 
    18571 # A grep program that handles long lines.
    18572 GREP=$lt_GREP
    18573 
    18574 # An ERE matcher.
    18575 EGREP=$lt_EGREP
    18576 
    18577 # A literal string matcher.
    18578 FGREP=$lt_FGREP
    18579 
    18580 # A BSD- or MS-compatible name lister.
    18581 NM=$lt_NM
    18582 
    18583 # Whether we need soft or hard links.
    18584 LN_S=$lt_LN_S
    18585 
    18586 # What is the maximum length of a command?
    18587 max_cmd_len=$max_cmd_len
    18588 
    18589 # Object file suffix (normally "o").
    18590 objext=$ac_objext
    18591 
    18592 # Executable file suffix (normally "").
    18593 exeext=$exeext
    18594 
    18595 # whether the shell understands "unset".
    18596 lt_unset=$lt_unset
    18597 
    18598 # turn spaces into newlines.
    18599 SP2NL=$lt_lt_SP2NL
    18600 
    18601 # turn newlines into spaces.
    18602 NL2SP=$lt_lt_NL2SP
    18603 
    18604 # convert \$build file names to \$host format.
    18605 to_host_file_cmd=$lt_cv_to_host_file_cmd
    18606 
    18607 # convert \$build files to toolchain format.
    18608 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
    18609 
    18610 # An object symbol dumper.
    18611 OBJDUMP=$lt_OBJDUMP
    18612 
    18613 # Method to check whether dependent libraries are shared objects.
    18614 deplibs_check_method=$lt_deplibs_check_method
    18615 
    18616 # Command to use when deplibs_check_method = "file_magic".
    18617 file_magic_cmd=$lt_file_magic_cmd
    18618 
    18619 # How to find potential files when deplibs_check_method = "file_magic".
    18620 file_magic_glob=$lt_file_magic_glob
    18621 
    18622 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
    18623 want_nocaseglob=$lt_want_nocaseglob
    18624 
    18625 # DLL creation program.
    18626 DLLTOOL=$lt_DLLTOOL
    18627 
    18628 # Command to associate shared and link libraries.
    18629 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
    18630 
    18631 # The archiver.
    18632 AR=$lt_AR
    18633 
    18634 # Flags to create an archive.
    18635 AR_FLAGS=$lt_AR_FLAGS
    18636 
    18637 # How to feed a file listing to the archiver.
    18638 archiver_list_spec=$lt_archiver_list_spec
    18639 
    18640 # A symbol stripping program.
    18641 STRIP=$lt_STRIP
    18642 
    18643 # Commands used to install an old-style archive.
    18644 RANLIB=$lt_RANLIB
    18645 old_postinstall_cmds=$lt_old_postinstall_cmds
    18646 old_postuninstall_cmds=$lt_old_postuninstall_cmds
    18647 
    18648 # Whether to use a lock for old archive extraction.
    18649 lock_old_archive_extraction=$lock_old_archive_extraction
    18650 
    18651 # A C compiler.
    18652 LTCC=$lt_CC
    18653 
    18654 # LTCC compiler flags.
    18655 LTCFLAGS=$lt_CFLAGS
    18656 
    18657 # Take the output of nm and produce a listing of raw symbols and C names.
    18658 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
    18659 
    18660 # Transform the output of nm in a proper C declaration.
    18661 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
    18662 
    18663 # Transform the output of nm into a list of symbols to manually relocate.
    18664 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
    18665 
    18666 # Transform the output of nm in a C name address pair.
    18667 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
    18668 
    18669 # Transform the output of nm in a C name address pair when lib prefix is needed.
    18670 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
    18671 
    18672 # The name lister interface.
    18673 nm_interface=$lt_lt_cv_nm_interface
    18674 
    18675 # Specify filename containing input files for \$NM.
    18676 nm_file_list_spec=$lt_nm_file_list_spec
    18677 
    18678 # The root where to search for dependent libraries,and where our libraries should be installed.
    18679 lt_sysroot=$lt_sysroot
    18680 
    18681 # Command to truncate a binary pipe.
    18682 lt_truncate_bin=$lt_lt_cv_truncate_bin
    18683 
    18684 # The name of the directory that contains temporary libtool files.
    18685 objdir=$objdir
    18686 
    18687 # Used to examine libraries when file_magic_cmd begins with "file".
    18688 MAGIC_CMD=$MAGIC_CMD
    18689 
    18690 # Must we lock files when doing compilation?
    18691 need_locks=$lt_need_locks
    18692 
    18693 # Manifest tool.
    18694 MANIFEST_TOOL=$lt_MANIFEST_TOOL
    18695 
    18696 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
    18697 DSYMUTIL=$lt_DSYMUTIL
    18698 
    18699 # Tool to change global to local symbols on Mac OS X.
    18700 NMEDIT=$lt_NMEDIT
    18701 
    18702 # Tool to manipulate fat objects and archives on Mac OS X.
    18703 LIPO=$lt_LIPO
    18704 
    18705 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
    18706 OTOOL=$lt_OTOOL
    18707 
    18708 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
    18709 OTOOL64=$lt_OTOOL64
    18710 
    18711 # Old archive suffix (normally "a").
    18712 libext=$libext
    18713 
    18714 # Shared library suffix (normally ".so").
    18715 shrext_cmds=$lt_shrext_cmds
    18716 
    18717 # The commands to extract the exported symbol list from a shared archive.
    18718 extract_expsyms_cmds=$lt_extract_expsyms_cmds
    18719 
    18720 # Variables whose values should be saved in libtool wrapper scripts and
    18721 # restored at link time.
    18722 variables_saved_for_relink=$lt_variables_saved_for_relink
    18723 
    18724 # Do we need the "lib" prefix for modules?
    18725 need_lib_prefix=$need_lib_prefix
    18726 
    18727 # Do we need a version for libraries?
    18728 need_version=$need_version
    18729 
    18730 # Library versioning type.
    18731 version_type=$version_type
    18732 
    18733 # Shared library runtime path variable.
    18734 runpath_var=$runpath_var
    18735 
    18736 # Shared library path variable.
    18737 shlibpath_var=$shlibpath_var
    18738 
    18739 # Is shlibpath searched before the hard-coded library search path?
    18740 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
    18741 
    18742 # Format of library name prefix.
    18743 libname_spec=$lt_libname_spec
    18744 
    18745 # List of archive names.  First name is the real one, the rest are links.
    18746 # The last name is the one that the linker finds with -lNAME
    18747 library_names_spec=$lt_library_names_spec
    18748 
    18749 # The coded name of the library, if different from the real name.
    18750 soname_spec=$lt_soname_spec
    18751 
    18752 # Permission mode override for installation of shared libraries.
    18753 install_override_mode=$lt_install_override_mode
    18754 
    18755 # Command to use after installation of a shared archive.
    18756 postinstall_cmds=$lt_postinstall_cmds
    18757 
    18758 # Command to use after uninstallation of a shared archive.
    18759 postuninstall_cmds=$lt_postuninstall_cmds
    18760 
    18761 # Commands used to finish a libtool library installation in a directory.
    18762 finish_cmds=$lt_finish_cmds
    18763 
    18764 # As "finish_cmds", except a single script fragment to be evaled but
    18765 # not shown.
    18766 finish_eval=$lt_finish_eval
    18767 
    18768 # Whether we should hardcode library paths into libraries.
    18769 hardcode_into_libs=$hardcode_into_libs
    18770 
    18771 # Compile-time system search path for libraries.
    18772 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
    18773 
    18774 # Detected run-time system search path for libraries.
    18775 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
    18776 
    18777 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
    18778 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
    18779 
    18780 # Whether dlopen is supported.
    18781 dlopen_support=$enable_dlopen
    18782 
    18783 # Whether dlopen of programs is supported.
    18784 dlopen_self=$enable_dlopen_self
    18785 
    18786 # Whether dlopen of statically linked programs is supported.
    18787 dlopen_self_static=$enable_dlopen_self_static
    18788 
    18789 # Commands to strip libraries.
    18790 old_striplib=$lt_old_striplib
    18791 striplib=$lt_striplib
    18792 
    18793 
    18794 # The linker used to build libraries.
    18795 LD=$lt_LD
    18796 
    18797 # How to create reloadable object files.
    18798 reload_flag=$lt_reload_flag
    18799 reload_cmds=$lt_reload_cmds
    18800 
    18801 # Commands used to build an old-style archive.
    18802 old_archive_cmds=$lt_old_archive_cmds
    18803 
    18804 # A language specific compiler.
    18805 CC=$lt_compiler
    18806 
    18807 # Is the compiler the GNU compiler?
    18808 with_gcc=$GCC
    18809 
    18810 # Compiler flag to turn off builtin functions.
    18811 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
    18812 
    18813 # Additional compiler flags for building library objects.
    18814 pic_flag=$lt_lt_prog_compiler_pic
    18815 
    18816 # How to pass a linker flag through the compiler.
    18817 wl=$lt_lt_prog_compiler_wl
    18818 
    18819 # Compiler flag to prevent dynamic linking.
    18820 link_static_flag=$lt_lt_prog_compiler_static
    18821 
    18822 # Does compiler simultaneously support -c and -o options?
    18823 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
    18824 
    18825 # Whether or not to add -lc for building shared libraries.
    18826 build_libtool_need_lc=$archive_cmds_need_lc
    18827 
    18828 # Whether or not to disallow shared libs when runtime libs are static.
    18829 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
    18830 
    18831 # Compiler flag to allow reflexive dlopens.
    18832 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
    18833 
    18834 # Compiler flag to generate shared objects directly from archives.
    18835 whole_archive_flag_spec=$lt_whole_archive_flag_spec
    18836 
    18837 # Whether the compiler copes with passing no objects directly.
    18838 compiler_needs_object=$lt_compiler_needs_object
    18839 
    18840 # Create an old-style archive from a shared archive.
    18841 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
    18842 
    18843 # Create a temporary old-style archive to link instead of a shared archive.
    18844 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
    18845 
    18846 # Commands used to build a shared archive.
    18847 archive_cmds=$lt_archive_cmds
    18848 archive_expsym_cmds=$lt_archive_expsym_cmds
    18849 
    18850 # Commands used to build a loadable module if different from building
    18851 # a shared archive.
    18852 module_cmds=$lt_module_cmds
    18853 module_expsym_cmds=$lt_module_expsym_cmds
    18854 
    18855 # Whether we are building with GNU ld or not.
    18856 with_gnu_ld=$lt_with_gnu_ld
    18857 
    18858 # Flag that allows shared libraries with undefined symbols to be built.
    18859 allow_undefined_flag=$lt_allow_undefined_flag
    18860 
    18861 # Flag that enforces no undefined symbols.
    18862 no_undefined_flag=$lt_no_undefined_flag
    18863 
    18864 # Flag to hardcode \$libdir into a binary during linking.
    18865 # This must work even if \$libdir does not exist
    18866 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
    18867 
    18868 # Whether we need a single "-rpath" flag with a separated argument.
    18869 hardcode_libdir_separator=$lt_hardcode_libdir_separator
    18870 
    18871 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
    18872 # DIR into the resulting binary.
    18873 hardcode_direct=$hardcode_direct
    18874 
    18875 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
    18876 # DIR into the resulting binary and the resulting library dependency is
    18877 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
    18878 # library is relocated.
    18879 hardcode_direct_absolute=$hardcode_direct_absolute
    18880 
    18881 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
    18882 # into the resulting binary.
    18883 hardcode_minus_L=$hardcode_minus_L
    18884 
    18885 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
    18886 # into the resulting binary.
    18887 hardcode_shlibpath_var=$hardcode_shlibpath_var
    18888 
    18889 # Set to "yes" if building a shared library automatically hardcodes DIR
    18890 # into the library and all subsequent libraries and executables linked
    18891 # against it.
    18892 hardcode_automatic=$hardcode_automatic
    18893 
    18894 # Set to yes if linker adds runtime paths of dependent libraries
    18895 # to runtime path list.
    18896 inherit_rpath=$inherit_rpath
    18897 
    18898 # Whether libtool must link a program against all its dependency libraries.
    18899 link_all_deplibs=$link_all_deplibs
    18900 
    18901 # Set to "yes" if exported symbols are required.
    18902 always_export_symbols=$always_export_symbols
    18903 
    18904 # The commands to list exported symbols.
    18905 export_symbols_cmds=$lt_export_symbols_cmds
    18906 
    18907 # Symbols that should not be listed in the preloaded symbols.
    18908 exclude_expsyms=$lt_exclude_expsyms
    18909 
    18910 # Symbols that must always be exported.
    18911 include_expsyms=$lt_include_expsyms
    18912 
    18913 # Commands necessary for linking programs (against libraries) with templates.
    18914 prelink_cmds=$lt_prelink_cmds
    18915 
    18916 # Commands necessary for finishing linking programs.
    18917 postlink_cmds=$lt_postlink_cmds
    18918 
    18919 # Specify filename containing input files.
    18920 file_list_spec=$lt_file_list_spec
    18921 
    18922 # How to hardcode a shared library path into an executable.
    18923 hardcode_action=$hardcode_action
    18924 
    18925 # The directories searched by this compiler when creating a shared library.
    18926 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
    18927 
    18928 # Dependencies to place before and after the objects being linked to
    18929 # create a shared library.
    18930 predep_objects=$lt_predep_objects
    18931 postdep_objects=$lt_postdep_objects
    18932 predeps=$lt_predeps
    18933 postdeps=$lt_postdeps
    18934 
    18935 # The library search path used internally by the compiler when linking
    18936 # a shared library.
    18937 compiler_lib_search_path=$lt_compiler_lib_search_path
    18938 
    18939 # ### END LIBTOOL CONFIG
    18940 
    18941 _LT_EOF
    18942 
    18943     cat <<'_LT_EOF' >> "$cfgfile"
    18944 
    18945 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
    18946 
    18947 # func_munge_path_list VARIABLE PATH
    18948 # -----------------------------------
    18949 # VARIABLE is name of variable containing _space_ separated list of
    18950 # directories to be munged by the contents of PATH, which is string
    18951 # having a format:
    18952 # "DIR[:DIR]:"
    18953 #       string "DIR[ DIR]" will be prepended to VARIABLE
    18954 # ":DIR[:DIR]"
    18955 #       string "DIR[ DIR]" will be appended to VARIABLE
    18956 # "DIRP[:DIRP]::[DIRA:]DIRA"
    18957 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
    18958 #       "DIRA[ DIRA]" will be appended to VARIABLE
    18959 # "DIR[:DIR]"
    18960 #       VARIABLE will be replaced by "DIR[ DIR]"
    18961 func_munge_path_list ()
    18962 {
    18963     case x$2 in
    18964     x)
    18965         ;;
    18966     *:)
    18967         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
    18968         ;;
    18969     x:*)
    18970         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
    18971         ;;
    18972     *::*)
    18973         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
    18974         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
    18975         ;;
    18976     *)
    18977         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
    18978         ;;
    18979     esac
    18980 }
    18981 
    18982 
    18983 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
    18984 func_cc_basename ()
    18985 {
    18986     for cc_temp in $*""; do
    18987       case $cc_temp in
    18988         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
    18989         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
    18990         \-*) ;;
    18991         *) break;;
    18992       esac
    18993     done
    18994     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
    18995 }
    18996 
    18997 
    18998 # ### END FUNCTIONS SHARED WITH CONFIGURE
    18999 
    19000 _LT_EOF
    19001 
    19002   case $host_os in
    19003   aix3*)
    19004     cat <<\_LT_EOF >> "$cfgfile"
    19005 # AIX sometimes has problems with the GCC collect2 program.  For some
    19006 # reason, if we set the COLLECT_NAMES environment variable, the problems
    19007 # vanish in a puff of smoke.
    19008 if test set != "${COLLECT_NAMES+set}"; then
    19009   COLLECT_NAMES=
    19010   export COLLECT_NAMES
    19011 fi
    19012 _LT_EOF
    19013     ;;
    19014   esac
    19015 
    19016 
    19017 ltmain=$ac_aux_dir/ltmain.sh
    19018 
    19019 
    19020   # We use sed instead of cat because bash on DJGPP gets confused if
    19021   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
    19022   # text mode, it properly converts lines to CR/LF.  This bash problem
    19023   # is reportedly fixed, but why not run on old versions too?
    19024   sed '$q' "$ltmain" >> "$cfgfile" \
    19025      || (rm -f "$cfgfile"; exit 1)
    19026 
    19027    mv -f "$cfgfile" "$ofile" ||
    19028     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
    19029   chmod +x "$ofile"
    19030 
    19031 
    19032     cat <<_LT_EOF >> "$ofile"
    19033 
    19034 # ### BEGIN LIBTOOL TAG CONFIG: CXX
    19035 
    19036 # The linker used to build libraries.
    19037 LD=$lt_LD_CXX
    19038 
    19039 # How to create reloadable object files.
    19040 reload_flag=$lt_reload_flag_CXX
    19041 reload_cmds=$lt_reload_cmds_CXX
    19042 
    19043 # Commands used to build an old-style archive.
    19044 old_archive_cmds=$lt_old_archive_cmds_CXX
    19045 
    19046 # A language specific compiler.
    19047 CC=$lt_compiler_CXX
    19048 
    19049 # Is the compiler the GNU compiler?
    19050 with_gcc=$GCC_CXX
    19051 
    19052 # Compiler flag to turn off builtin functions.
    19053 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
    19054 
    19055 # Additional compiler flags for building library objects.
    19056 pic_flag=$lt_lt_prog_compiler_pic_CXX
    19057 
    19058 # How to pass a linker flag through the compiler.
    19059 wl=$lt_lt_prog_compiler_wl_CXX
    19060 
    19061 # Compiler flag to prevent dynamic linking.
    19062 link_static_flag=$lt_lt_prog_compiler_static_CXX
    19063 
    19064 # Does compiler simultaneously support -c and -o options?
    19065 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
    19066 
    19067 # Whether or not to add -lc for building shared libraries.
    19068 build_libtool_need_lc=$archive_cmds_need_lc_CXX
    19069 
    19070 # Whether or not to disallow shared libs when runtime libs are static.
    19071 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
    19072 
    19073 # Compiler flag to allow reflexive dlopens.
    19074 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
    19075 
    19076 # Compiler flag to generate shared objects directly from archives.
    19077 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
    19078 
    19079 # Whether the compiler copes with passing no objects directly.
    19080 compiler_needs_object=$lt_compiler_needs_object_CXX
    19081 
    19082 # Create an old-style archive from a shared archive.
    19083 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
    19084 
    19085 # Create a temporary old-style archive to link instead of a shared archive.
    19086 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
    19087 
    19088 # Commands used to build a shared archive.
    19089 archive_cmds=$lt_archive_cmds_CXX
    19090 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
    19091 
    19092 # Commands used to build a loadable module if different from building
    19093 # a shared archive.
    19094 module_cmds=$lt_module_cmds_CXX
    19095 module_expsym_cmds=$lt_module_expsym_cmds_CXX
    19096 
    19097 # Whether we are building with GNU ld or not.
    19098 with_gnu_ld=$lt_with_gnu_ld_CXX
    19099 
    19100 # Flag that allows shared libraries with undefined symbols to be built.
    19101 allow_undefined_flag=$lt_allow_undefined_flag_CXX
    19102 
    19103 # Flag that enforces no undefined symbols.
    19104 no_undefined_flag=$lt_no_undefined_flag_CXX
    19105 
    19106 # Flag to hardcode \$libdir into a binary during linking.
    19107 # This must work even if \$libdir does not exist
    19108 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
    19109 
    19110 # Whether we need a single "-rpath" flag with a separated argument.
    19111 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
    19112 
    19113 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
    19114 # DIR into the resulting binary.
    19115 hardcode_direct=$hardcode_direct_CXX
    19116 
    19117 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
    19118 # DIR into the resulting binary and the resulting library dependency is
    19119 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
    19120 # library is relocated.
    19121 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
    19122 
    19123 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
    19124 # into the resulting binary.
    19125 hardcode_minus_L=$hardcode_minus_L_CXX
    19126 
    19127 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
    19128 # into the resulting binary.
    19129 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
    19130 
    19131 # Set to "yes" if building a shared library automatically hardcodes DIR
    19132 # into the library and all subsequent libraries and executables linked
    19133 # against it.
    19134 hardcode_automatic=$hardcode_automatic_CXX
    19135 
    19136 # Set to yes if linker adds runtime paths of dependent libraries
    19137 # to runtime path list.
    19138 inherit_rpath=$inherit_rpath_CXX
    19139 
    19140 # Whether libtool must link a program against all its dependency libraries.
    19141 link_all_deplibs=$link_all_deplibs_CXX
    19142 
    19143 # Set to "yes" if exported symbols are required.
    19144 always_export_symbols=$always_export_symbols_CXX
    19145 
    19146 # The commands to list exported symbols.
    19147 export_symbols_cmds=$lt_export_symbols_cmds_CXX
    19148 
    19149 # Symbols that should not be listed in the preloaded symbols.
    19150 exclude_expsyms=$lt_exclude_expsyms_CXX
    19151 
    19152 # Symbols that must always be exported.
    19153 include_expsyms=$lt_include_expsyms_CXX
    19154 
    19155 # Commands necessary for linking programs (against libraries) with templates.
    19156 prelink_cmds=$lt_prelink_cmds_CXX
    19157 
    19158 # Commands necessary for finishing linking programs.
    19159 postlink_cmds=$lt_postlink_cmds_CXX
    19160 
    19161 # Specify filename containing input files.
    19162 file_list_spec=$lt_file_list_spec_CXX
    19163 
    19164 # How to hardcode a shared library path into an executable.
    19165 hardcode_action=$hardcode_action_CXX
    19166 
    19167 # The directories searched by this compiler when creating a shared library.
    19168 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
    19169 
    19170 # Dependencies to place before and after the objects being linked to
    19171 # create a shared library.
    19172 predep_objects=$lt_predep_objects_CXX
    19173 postdep_objects=$lt_postdep_objects_CXX
    19174 predeps=$lt_predeps_CXX
    19175 postdeps=$lt_postdeps_CXX
    19176 
    19177 # The library search path used internally by the compiler when linking
    19178 # a shared library.
    19179 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
    19180 
    19181 # ### END LIBTOOL TAG CONFIG: CXX
    19182 _LT_EOF
    19183 
    19184  ;;
    191855614
    191865615  esac
Note: See TracChangeset for help on using the changeset viewer.